mirror of
https://github.com/postgres/postgres.git
synced 2025-07-31 22:04:40 +03:00
Okay, libpq++ is moved to GBorg, and all traces of it have been removed
from the core repository ... I haven't *moved* the libpq++ files out of the tree, mainly as we want to keep them in place for past branches ... Peter, I think I've covered all the files I need, and re-ran autoconf to make sure the configure file is in place properly ...
This commit is contained in:
44
configure.in
44
configure.in
@ -1,5 +1,5 @@
|
||||
dnl Process this file with autoconf to produce a configure script.
|
||||
dnl $Header: /cvsroot/pgsql/configure.in,v 1.195 2002/08/20 17:54:43 petere Exp $
|
||||
dnl $Header: /cvsroot/pgsql/configure.in,v 1.196 2002/08/22 00:15:06 scrappy Exp $
|
||||
dnl
|
||||
dnl Developers, please strive to achieve this order:
|
||||
dnl
|
||||
@ -243,10 +243,6 @@ AC_SUBST(enable_debug)
|
||||
# variable.
|
||||
PGAC_ARG_REQ(with, CC, [], [CC=$with_CC])
|
||||
|
||||
# Set here so it can be over-ridden in the template file
|
||||
GCC_CXXFLAGS="-O2"
|
||||
VENDOR_CXXFLAGS=""
|
||||
|
||||
case $template in
|
||||
aix) pgac_cc_list="gcc xlc";;
|
||||
irix) pgac_cc_list="cc";; # no gcc
|
||||
@ -581,38 +577,6 @@ AC_SUBST(ELF_SYS)
|
||||
|
||||
|
||||
|
||||
#
|
||||
# Optionally build C++ code (i.e., libpq++)
|
||||
#
|
||||
AC_MSG_CHECKING([whether to build C++ modules])
|
||||
PGAC_ARG_OPTARG(with, CXX, [ --with-CXX build C++ modules (libpq++)],
|
||||
[],
|
||||
[CXX=$withval],
|
||||
[
|
||||
AC_MSG_RESULT(yes)
|
||||
|
||||
# If the user has specified CXXFLAGS in the environment, leave it
|
||||
# alone, else use a default.
|
||||
|
||||
AC_PROG_CXX
|
||||
if test "$ac_env_CXXFLAGS" != set; then
|
||||
if test "$GXX" = yes; then
|
||||
CXXFLAGS="$GCC_CXXFLAGS"
|
||||
else
|
||||
CXXFLAGS="$VENDOR_CXXFLAGS"
|
||||
fi
|
||||
fi
|
||||
if test "$enable_debug" = yes && test "$ac_cv_prog_cxx_g" = yes; then
|
||||
CXXFLAGS="$CXXFLAGS -g"
|
||||
fi
|
||||
AC_MSG_NOTICE([using CXXFLAGS=$CXXFLAGS])
|
||||
|
||||
AC_PROG_CXXCPP
|
||||
],
|
||||
[AC_MSG_RESULT(no)])
|
||||
AC_SUBST(with_CXX)
|
||||
AC_SUBST(GXX)
|
||||
|
||||
CPPFLAGS="$CPPFLAGS $INCLUDES"
|
||||
LDFLAGS="$LDFLAGS $LIBDIRS"
|
||||
|
||||
@ -1190,12 +1154,6 @@ if test "$enable_nls" = yes ; then
|
||||
PGAC_CHECK_GETTEXT
|
||||
fi
|
||||
|
||||
if test "$with_CXX" = yes; then
|
||||
PGAC_CLASS_STRING
|
||||
PGAC_CXX_NAMESPACE_STD
|
||||
fi
|
||||
|
||||
|
||||
# Check for Tcl configuration script tclConfig.sh
|
||||
if test "$with_tcl" = yes; then
|
||||
PGAC_PATH_TCLCONFIGSH([$with_tclconfig])
|
||||
|
Reference in New Issue
Block a user