2
2
# From configure.ac Revision: 4719 .
3
3
# Guess values for system-dependent variables and create Makefiles.
4
# Generated by GNU Autoconf 2.68 for pgadmin3 1.12.2.
4
# Generated by GNU Autoconf 2.68 for pgadmin3 1.14.0-beta1.
6
6
# Report bugs to <pgadmin-support@postgresql.org>.
563
563
# Identity of this package.
564
564
PACKAGE_NAME='pgadmin3'
565
565
PACKAGE_TARNAME='pgadmin3'
566
PACKAGE_VERSION='1.12.2'
567
PACKAGE_STRING='pgadmin3 1.12.2'
566
PACKAGE_VERSION='1.14.0-beta1'
567
PACKAGE_STRING='pgadmin3 1.14.0-beta1'
568
568
PACKAGE_BUGREPORT='pgadmin-support@postgresql.org'
1301
1303
# Omit some internal or obsolete options to make the list less imposing.
1302
1304
# This message is too long to be a string in the A/UX 3.1 sh.
1304
\`configure' configures pgadmin3 1.12.2 to adapt to many kinds of systems.
1306
\`configure' configures pgadmin3 1.14.0-beta1 to adapt to many kinds of systems.
1306
1308
Usage: $0 [OPTION]... [VAR=VALUE]...
1381
1383
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1382
1384
--disable-dependency-tracking speeds up one-time build
1383
1385
--enable-dependency-tracking do not reject slow dependency extractors
1384
--enable-precomp Use precompiled headers
1385
--enable-debug build a debug version of pgAdmin3
1386
--enable-static build a statically linked version of pgAdmin3
1387
--enable-appbundle Build a Mac OS X appbundle
1386
--enable-debug build a debug version of pgAdmin3
1387
--enable-static build a statically linked version of pgAdmin3
1388
--enable-appbundle Build a Mac OS X appbundle
1389
1390
Optional Packages:
1390
1391
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1391
1392
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1392
1393
--with-pgsql=DIR root directory for PostgreSQL installation
1393
--with-osxarch=<arch> specify the Mac OS X architecture to build (ppc, i386, x86_64)
1394
--with-wx-version=<version number> the wxWidgets version in major.minor format (default: 2.8)
1395
--with-wx=DIR root directory for wxWidgets installation
1396
--with-libxml2=DIR root directory for libxml2 installation
1397
--with-libxslt=DIR root directory for libxslt installation
1394
--with-arch-i386 include an i386 image in an OS X Universal build
1395
--with-arch-x86_64 include an x86_64 image in an OS X Universal build
1396
--with-arch-ppc include a PPC image in an OS X Universal build
1397
--with-arch-ppc64 include a PPC64 image in an OS X Universal build
1398
--with-wx-version=<version> the wxWidgets version in major.minor format (default: 2.8)
1399
--with-wx=DIR root directory for wxWidgets installation
1400
--with-libxml2=DIR root directory for libxml2 installation
1401
--with-libxslt=DIR root directory for libxslt installation
1399
1403
Some influential environment variables:
1400
1404
CC C compiler command
1474
1478
test -n "$ac_init_help" && exit $ac_status
1475
1479
if $ac_init_version; then
1477
pgadmin3 configure 1.12.2
1481
pgadmin3 configure 1.14.0-beta1
1478
1482
generated by GNU Autoconf 2.68
1480
1484
Copyright (C) 2010 Free Software Foundation, Inc.
1937
1941
This file contains any messages produced by compilers while
1938
1942
running configure, to aid debugging if configure makes a mistake.
1940
It was created by pgadmin3 $as_me 1.12.2, which was
1944
It was created by pgadmin3 $as_me 1.14.0-beta1, which was
1941
1945
generated by GNU Autoconf 2.68. Invocation command line was
4446
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use precompiled headers" >&5
4447
$as_echo_n "checking whether to use precompiled headers... " >&6; }
4449
# Check whether --enable-precomp was given.
4450
if test "${enable_precomp+set}" = set; then :
4451
enableval=$enable_precomp; USE_PRECOMP="$enableval"
4455
if test -z "$USE_PRECOMP"; then
4456
if test "X$GCC" = Xyes; then
4457
if gcc_version=`$CC -dumpversion` > /dev/null 2>&1; then
4458
major=`echo $gcc_version | cut -d. -f1`
4459
minor=`echo $gcc_version | sed "s/[-,a-z,A-Z].*//" | cut -d. -f2`
4460
if test -z "$major" || test -z "$minor"; then
4462
elif test "$major" -ge 4; then
4464
elif test "$major" -ge 3 && test "$minor" -ge 4; then
4476
if test "x$USE_PRECOMP" = "xyes"; then
4477
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4478
$as_echo "yes" >&6; }
4480
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4481
$as_echo "no" >&6; }
4485
4450
# Checks for header files.
5631
# Check for PQconninfoParse
5632
if test "$BUILD_STATIC" = "yes"
5634
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PQconninfoParse in libpq.a" >&5
5596
# Check for PQconninfoParse
5597
if test "$BUILD_STATIC" = "yes"
5599
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PQconninfoParse in libpq.a" >&5
5635
5600
$as_echo_n "checking for PQconninfoParse in libpq.a... " >&6; }
5636
if test "$(nm ${PG_LIB}/libpq.a | grep -c PQconninfoParse)" -gt 0
5638
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: present" >&5
5601
if test "$(nm ${PG_LIB}/libpq.a | grep -c PQconninfoParse)" -gt 0
5603
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: present" >&5
5639
5604
$as_echo "present" >&6; }
5640
HAVE_CONNINFO_PARSE="yes"
5642
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: not present" >&5
5605
HAVE_CONNINFO_PARSE="yes"
5607
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: not present" >&5
5643
5608
$as_echo "not present" >&6; }
5644
HAVE_CONNINFO_PARSE="no"
5609
HAVE_CONNINFO_PARSE="no"
5649
5614
ac_cpp='$CPP $CPPFLAGS'
5650
5615
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5651
5616
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5652
5617
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5654
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PQconninfoParse in -lpq" >&5
5619
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PQconninfoParse in -lpq" >&5
5655
5620
$as_echo_n "checking for PQconninfoParse in -lpq... " >&6; }
5656
5621
if ${ac_cv_lib_pq_PQconninfoParse+:} false; then :
5657
5622
$as_echo_n "(cached) " >&6
5884
5849
PG_INCLUDE=`${PG_CONFIG} --includedir`
5885
CPPFLAGS="$CPPFLAGS -I${PG_INCLUDE}"
5850
PG_PKGINCLUDE=`${PG_CONFIG} --pkgincludedir`
5851
CPPFLAGS="$CPPFLAGS -I${PG_INCLUDE} -I${PG_PKGINCLUDE}"
5887
5853
PG_VERSION=`${PG_CONFIG} --version`
5969
5935
CPPFLAGS="$CPPFLAGS -DHAVE_CONNINFO_PARSE"
5938
# Avoid linking with things we don't need. Really this is a hack
5939
# to prevent png2c linking with libpq with gcc on non-OSX OSs
5940
if test "$SUN_CC_COMPILER" != "yes"
5947
LDFLAGS="$LDFLAGS -Wl,-as-needed"
6057
# Check whether --with-osxarch was given.
6058
if test "${with_osxarch+set}" = set; then :
6059
withval=$with_osxarch;
6060
if test "$withval" = "ppc"
6062
OSX_ARCH="-arch ppc"
6063
elif test "$withval" = "i386"
6065
OSX_ARCH="-arch i386"
6066
elif test "$withval" = "x86_64"
6068
OSX_ARCH="-arch x86_64"
6070
as_fn_error $? "Invalid Max OS X architecture specified: $withval" "$LINENO" 5
6037
# Check whether --with-arch-i386 was given.
6038
if test "${with_arch_i386+set}" = set; then :
6039
withval=$with_arch_i386;
6040
if test "$withval" = "yes"
6042
OSX_ARCH="$OSX_ARCH -arch i386"
6049
# Check whether --with-arch-x86_64 was given.
6050
if test "${with_arch_x86_64+set}" = set; then :
6051
withval=$with_arch_x86_64;
6052
if test "$withval" = "yes"
6054
OSX_ARCH="$OSX_ARCH -arch x86_64"
6061
# Check whether --with-arch-ppc was given.
6062
if test "${with_arch_ppc+set}" = set; then :
6063
withval=$with_arch_ppc;
6064
if test "$withval" = "yes"
6066
OSX_ARCH="$OSX_ARCH -arch ppc"
6073
# Check whether --with-arch-ppc64 was given.
6074
if test "${with_arch_ppc64+set}" = set; then :
6075
withval=$with_arch_ppc64;
6076
if test "$withval" = "yes"
6078
OSX_ARCH="$OSX_ARCH -arch ppc64"
6107
6111
if test "$withval" != no
6109
6113
WX_HOME="$withval"
6110
if test ! -f "${WX_HOME}/bin/wx-config"
6112
as_fn_error $? "Could not find your wxWidgets installation in ${WX_HOME}" "$LINENO" 5
6114
if test ! -f "${WX_HOME}/bin/wx-config"
6116
as_fn_error $? "Could not find your wxWidgets installation in ${WX_HOME}" "$LINENO" 5
6116
6120
WX_CONFIG=${WX_HOME}/bin/wx-config
6217
6221
if test "$BUILD_DEBUG" = yes
6219
6223
WX_NEW_CPPFLAGS=`${WX_CONFIG} --cppflags --unicode=yes --debug=yes --version=${WX_VERSION} 2> /dev/null`
6220
CPPFLAGS="$CPPFLAGS $WX_NEW_CPPFLAGS -g -O0"
6224
CPPFLAGS="$CPPFLAGS $WX_NEW_CPPFLAGS"
6225
CFLAGS=`echo $CFLAGS | sed -e "s/-O2/-O0/g"`
6226
CXXFLAGS=`echo $CXXFLAGS | sed -e "s/-O2/-O0/g"`
6222
pgadmin3_LDADD=`${WX_CONFIG} ${WX_STATIC} --libs std,stc,ogl --unicode=yes --debug=yes --version=${WX_VERSION} 2> /dev/null`
6228
pgadmin3_LDADD=`${WX_CONFIG} ${WX_STATIC} --libs std,stc,aui --unicode=yes --debug=yes --version=${WX_VERSION} 2> /dev/null`
6223
6229
pgsTest_LDADD=`${WX_CONFIG} ${WX_STATIC} --libs base,core,xml --unicode=yes --debug=yes --version=${WX_VERSION} 2> /dev/null`
6224
6230
pgScript_LDADD=`${WX_CONFIG} ${WX_STATIC} --libs base,core,xml --unicode=yes --debug=yes --version=${WX_VERSION} 2> /dev/null`
6226
6232
WX_NEW_CPPFLAGS=`${WX_CONFIG} --cppflags --unicode=yes --debug=no --version=${WX_VERSION} 2> /dev/null`
6227
CPPFLAGS="$CPPFLAGS $WX_NEW_CPPFLAGS -O2 -DEMBED_XRC"
6233
CPPFLAGS="$CPPFLAGS $WX_NEW_CPPFLAGS -DEMBED_XRC"
6234
CFLAGS=`echo $CFLAGS | sed -e "s/-g //g"`
6235
CXXFLAGS=`echo $CXXFLAGS | sed -e "s/-g //g"`
6229
pgadmin3_LDADD=`${WX_CONFIG} ${WX_STATIC} --libs std,stc,ogl --unicode=yes --debug=no --version=${WX_VERSION} 2> /dev/null`
6237
pgadmin3_LDADD=`${WX_CONFIG} ${WX_STATIC} --libs std,stc,aui --unicode=yes --debug=no --version=${WX_VERSION} 2> /dev/null`
6230
6238
pgsTest_LDADD=`${WX_CONFIG} ${WX_STATIC} --libs base,core,xml --unicode=yes --debug=no --version=${WX_VERSION} 2> /dev/null`
6231
6239
pgScript_LDADD=`${WX_CONFIG} ${WX_STATIC} --libs base,core,xml --unicode=yes --debug=no --version=${WX_VERSION} 2> /dev/null`
6246
6254
case "${host}" in
6247
6255
*-apple-darwin*)
6257
# Use the default arch if none is specified.
6258
if test "$OSX_ARCH" = ""
6260
OSX_ARCH="-arch `uname -p`"
6249
6263
LDFLAGS="$LDFLAGS -headerpad_max_install_names"
6250
CPPFLAGS="$CPPFLAGS -no-cpp-precomp"
6252
if test "$OSX_ARCH" = ""
6254
MAC_PPC=`${WX_CONFIG} --libs | grep -c "arch ppc"`
6255
MAC_I386=`${WX_CONFIG} --libs | grep -c "arch i386"`
6256
MAC_X86_64=`${WX_CONFIG} --libs | grep -c "arch x86_64"`
6258
if test "$MAC_PPC" != "0"
6260
CPPFLAGS="$CPPFLAGS -arch ppc"
6262
if test "$MAC_I386" != "0"
6264
CPPFLAGS="$CPPFLAGS -arch i386"
6266
if test "$MAC_X86_64" != "0"
6268
CPPFLAGS="$CPPFLAGS -arch x86_64"
6271
CPPFLAGS="$CPPFLAGS $OSX_ARCH"
6273
# Strip any existing arch flags from LDFLAGS and add the desired ones
6274
pgadmin3_LDADD=`echo $pgadmin3_LDADD | sed -e "s/-arch ppc//g" -e "s/-arch i386//g" -e "s/-arch x86_64//g"`
6275
pgadmin3_LDADD="$pgadmin3_LDADD $OSX_ARCH"
6276
pgsTest_LDADD=`echo $pgsTest_LDADD | sed -e "s/-arch ppc//g" -e "s/-arch i386//g" -e "s/-arch x86_64//g"`
6277
pgsTest_LDADD="$pgsTest_LDADD $OSX_ARCH"
6278
pgScript_LDADD=`echo $pgScript_LDADD | sed -e "s/-arch ppc//g" -e "s/-arch i386//g" -e "s/-arch x86_64//g"`
6279
pgScript_LDADD="$pgScript_LDADD $OSX_ARCH"
6264
CPPFLAGS="$CPPFLAGS $OSX_ARCH"
6266
# Strip any existing arch flags from LDFLAGS and add the desired ones
6267
# This is required as wxWidgets 2.8 (but not 2.9) includes the arch flags
6268
# in it's --libs output.
6269
pgadmin3_LDADD=`echo $pgadmin3_LDADD | sed -e "s/-arch ppc//g" -e "s/-arch i386//g" -e "s/-arch x86_64//g" -e "s/-arch ppc64//g"`
6270
pgadmin3_LDADD="$pgadmin3_LDADD $OSX_ARCH"
6271
pgsTest_LDADD=`echo $pgsTest_LDADD | sed -e "s/-arch ppc//g" -e "s/-arch i386//g" -e "s/-arch x86_64//g" -e "s/-arch ppc64//g"`
6272
pgsTest_LDADD="$pgsTest_LDADD $OSX_ARCH"
6273
pgScript_LDADD=`echo $pgScript_LDADD | sed -e "s/-arch ppc//g" -e "s/-arch i386//g" -e "s/-arch x86_64//g" -e "s/-arch ppc64//g"`
6274
pgScript_LDADD="$pgScript_LDADD $OSX_ARCH"
6275
png2c_LDADD="$OSX_ARCH"
6283
6279
LDFLAGS="$LDFLAGS -lnsl"
6527
# CFLAGS/CXXFLAGS may well contain unwanted settings, so clear them.
6532
ac_config_files="$ac_config_files Makefile branding/Makefile i18n/Makefile pgadmin/Makefile pkg/Makefile pkg/debian/Makefile pkg/mac/Makefile pkg/mandrake/Makefile pkg/redhat/Makefile pkg/slackware/Makefile pkg/src/Makefile pkg/suse/Makefile pkg/win32/Makefile xtra/Makefile xtra/pgscript/Makefile xtra/pgscript/lib/Makefile xtra/pgscript/bin/Makefile xtra/pgscript/test/Makefile xtra/wx-build/Makefile"
6522
ac_config_files="$ac_config_files Makefile branding/Makefile i18n/Makefile plugins.d/Makefile pgadmin/Makefile pkg/Makefile pkg/debian/Makefile pkg/mac/Makefile pkg/mandrake/Makefile pkg/redhat/Makefile pkg/slackware/Makefile pkg/src/Makefile pkg/suse/Makefile pkg/win32/Makefile xtra/Makefile xtra/png2c/Makefile xtra/pgscript/Makefile xtra/pgscript/lib/Makefile xtra/pgscript/bin/Makefile xtra/pgscript/test/Makefile xtra/wx-build/Makefile"
6534
6524
cat >confcache <<\_ACEOF
6535
6525
# This file is a shell script that caches the results of configure
7093
7083
# report actual input values of CONFIG_FILES etc. instead of their
7094
7084
# values after options handling.
7096
This file was extended by pgadmin3 $as_me 1.12.2, which was
7086
This file was extended by pgadmin3 $as_me 1.14.0-beta1, which was
7097
7087
generated by GNU Autoconf 2.68. Invocation command line was
7099
7089
CONFIG_FILES = $CONFIG_FILES
7159
7149
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7160
7150
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
7161
7151
ac_cs_version="\\
7162
pgadmin3 config.status 1.12.2
7152
pgadmin3 config.status 1.14.0-beta1
7163
7153
configured by $0, generated by GNU Autoconf 2.68,
7164
7154
with options \\"\$ac_cs_config\\"
7293
7283
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
7294
7284
"branding/Makefile") CONFIG_FILES="$CONFIG_FILES branding/Makefile" ;;
7295
7285
"i18n/Makefile") CONFIG_FILES="$CONFIG_FILES i18n/Makefile" ;;
7286
"plugins.d/Makefile") CONFIG_FILES="$CONFIG_FILES plugins.d/Makefile" ;;
7296
7287
"pgadmin/Makefile") CONFIG_FILES="$CONFIG_FILES pgadmin/Makefile" ;;
7297
7288
"pkg/Makefile") CONFIG_FILES="$CONFIG_FILES pkg/Makefile" ;;
7298
7289
"pkg/debian/Makefile") CONFIG_FILES="$CONFIG_FILES pkg/debian/Makefile" ;;
7304
7295
"pkg/suse/Makefile") CONFIG_FILES="$CONFIG_FILES pkg/suse/Makefile" ;;
7305
7296
"pkg/win32/Makefile") CONFIG_FILES="$CONFIG_FILES pkg/win32/Makefile" ;;
7306
7297
"xtra/Makefile") CONFIG_FILES="$CONFIG_FILES xtra/Makefile" ;;
7298
"xtra/png2c/Makefile") CONFIG_FILES="$CONFIG_FILES xtra/png2c/Makefile" ;;
7307
7299
"xtra/pgscript/Makefile") CONFIG_FILES="$CONFIG_FILES xtra/pgscript/Makefile" ;;
7308
7300
"xtra/pgscript/lib/Makefile") CONFIG_FILES="$CONFIG_FILES xtra/pgscript/lib/Makefile" ;;
7309
7301
"xtra/pgscript/bin/Makefile") CONFIG_FILES="$CONFIG_FILES xtra/pgscript/bin/Makefile" ;;