Mercurial > hg > xemacs-beta
comparison modules/postgresql/configure @ 1111:184461bc8de4
[xemacs-hg @ 2002-11-18 06:52:23 by ben]
warning fixes, etc.
* s/cygwin32.h:
-fvtable-thunks is obsolete in GCC 3 and generates warnings.
* s/mingw32.h:
* s/windowsnt.h:
Comment fixes.
* emodules.h:
Fix warnings from redefining symbols.
* eval.c:
Fix C++ errors -- no automatic casting between function pointers
and void *, function declarations inside of functions not allowed.
* event-Xt.c (emacs_Xt_enqueue_focus_event):
Warning fixes.
* fileio.c (Ffile_truename):
Warning fixes.
Use LOCAL_TO_WIN32_FILE_FORMAT rather than duplicating it.
* glyphs-x.c:
Fix style.
* intl-auto-encap-win32.c:
* intl-auto-encap-win32.h:
* intl-encap-win32.c:
* intl-encap-win32.c (qxeRegConnectRegistry):
* syswindows.h (RegConnectRegistry):
DdeCreateStringHandle needs to be manual due to new Cygwin bug.
* intl-win32.c:
wcslen/wcscmp don't seem to exist under G++ 3, Cygwin.
* lisp.h:
* lisp-union.h:
* lisp-disunion.h:
* process-unix.c (unix_send_process):
Ugh, C needs volatile and C++ must not have volatile. Remove
previous volatile hacks, which don't seem to be working any more.
* sheap.c (STATIC_HEAP_SLOP):
Try to get a working Cygwin build with old unexec.
* sheap.c (more_static_core):
No NL's in literals allowed.
* symbols.c (Fset):
Fix C++ errors.
* syswindows.h:
Fix Cygwin complaints now that some missing structs have been added.
aclocal.m4: Disable shared library modules under Cygwin for the moment,
since we need some more tricky coding done and I don't have the
time right now.
configure.in, configure.usage:
code-files.el, loadhist.el: Fix warnings.
package-get.el: Fix warnings.
NOTE: This was already fixed awhile ago, but reverted by Steve Y.
Please be careful.
postgresql/Makefile.in.in: Removed.
Move common stuff into modues/common/Makefile.common. (Also
add extraclean target and a couple of other fixes in that file.)
postgresql/configure.ac: Extract out common configure stuff into
modules/common/configure-{pre,post}.ac.
postgresql/postgresql.c: Fix warning.
ldap/Makefile.in.in: Removed.
Move common stuff into modues/common/Makefile.common. (Also
add extraclean target and a couple of other fixes in that file.)
ldap/configure.ac: Extract out common configure stuff into
modules/common/configure-{pre,post}.ac.
common/Makefile.common: Common stuff is here.
| author | ben |
|---|---|
| date | Mon, 18 Nov 2002 06:53:08 +0000 |
| parents | 25e260cb7994 |
| children | 56b64a055043 |
comparison
equal
deleted
inserted
replaced
| 1110:49065a0d2943 | 1111:184461bc8de4 |
|---|---|
| 1 #! /bin/sh | 1 #! /bin/sh |
| 2 # From configure.ac Revision: 1.0 . | 2 # From configure.ac Revision: 1.1 . |
| 3 # Guess values for system-dependent variables and create Makefiles. | 3 # Guess values for system-dependent variables and create Makefiles. |
| 4 # Generated by GNU Autoconf 2.53b for PostgreSQL module 1.0. | 4 # Generated by GNU Autoconf 2.53a for PostgreSQL module 1.0. |
| 5 # | 5 # |
| 6 # Report bugs to <xemacs-beta@xemacs.org>. | 6 # Report bugs to <xemacs-beta@xemacs.org>. |
| 7 # | 7 # |
| 8 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 | 8 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 |
| 9 # Free Software Foundation, Inc. | 9 # Free Software Foundation, Inc. |
| 279 | 279 |
| 280 # | 280 # |
| 281 # Initializations. | 281 # Initializations. |
| 282 # | 282 # |
| 283 ac_default_prefix=/usr/local | 283 ac_default_prefix=/usr/local |
| 284 ac_config_libobj_dir=. | |
| 285 cross_compiling=no | 284 cross_compiling=no |
| 286 subdirs= | 285 subdirs= |
| 287 MFLAGS= | 286 MFLAGS= |
| 288 MAKEFLAGS= | 287 MAKEFLAGS= |
| 289 SHELL=${CONFIG_SHELL-/bin/sh} | 288 SHELL=${CONFIG_SHELL-/bin/sh} |
| 336 #endif | 335 #endif |
| 337 #if HAVE_UNISTD_H | 336 #if HAVE_UNISTD_H |
| 338 # include <unistd.h> | 337 # include <unistd.h> |
| 339 #endif" | 338 #endif" |
| 340 | 339 |
| 341 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA ELLCC CPP EGREP postgresql_libs PROGNAME MOD_CC MODARCHDIR MAKE_DOCFILE MODCFLAGS INSTALLPATH MOD_INSTALL_PROGRAM OBJECT_TO_BUILD LIBOBJS LTLIBOBJS' | |
| 342 ac_subst_files='' | |
| 343 | 340 |
| 344 # Initialize some variables set by options. | 341 # Initialize some variables set by options. |
| 345 ac_init_help= | 342 ac_init_help= |
| 346 ac_init_version=false | 343 ac_init_version=false |
| 347 # The variables have the same names as the options, with | 344 # The variables have the same names as the options, with |
| 944 | 941 |
| 945 test -n "$ac_init_help" && exit 0 | 942 test -n "$ac_init_help" && exit 0 |
| 946 if $ac_init_version; then | 943 if $ac_init_version; then |
| 947 cat <<\_ACEOF | 944 cat <<\_ACEOF |
| 948 PostgreSQL module configure 1.0 | 945 PostgreSQL module configure 1.0 |
| 949 generated by GNU Autoconf 2.53b | 946 generated by GNU Autoconf 2.53a |
| 950 | 947 |
| 951 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 | 948 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 |
| 952 Free Software Foundation, Inc. | 949 Free Software Foundation, Inc. |
| 953 This configure script is free software; the Free Software Foundation | 950 This configure script is free software; the Free Software Foundation |
| 954 gives unlimited permission to copy, distribute and modify it. | 951 gives unlimited permission to copy, distribute and modify it. |
| 979 cat >&5 <<_ACEOF | 976 cat >&5 <<_ACEOF |
| 980 This file contains any messages produced by compilers while | 977 This file contains any messages produced by compilers while |
| 981 running configure, to aid debugging if configure makes a mistake. | 978 running configure, to aid debugging if configure makes a mistake. |
| 982 | 979 |
| 983 It was created by PostgreSQL module $as_me 1.0, which was | 980 It was created by PostgreSQL module $as_me 1.0, which was |
| 984 generated by GNU Autoconf 2.53b. Invocation command line was | 981 generated by GNU Autoconf 2.53a. Invocation command line was |
| 985 | 982 |
| 986 $ $0 $@ | 983 $ $0 $@ |
| 987 | 984 |
| 988 _ACEOF | 985 _ACEOF |
| 989 { | 986 { |
| 1062 # such as our DU 5.0 friend, will then `close' the trap. | 1059 # such as our DU 5.0 friend, will then `close' the trap. |
| 1063 trap 'exit_status=$? | 1060 trap 'exit_status=$? |
| 1064 # Save into config.log some information that might help in debugging. | 1061 # Save into config.log some information that might help in debugging. |
| 1065 { | 1062 { |
| 1066 echo | 1063 echo |
| 1067 | |
| 1068 cat <<\_ASBOX | 1064 cat <<\_ASBOX |
| 1069 ## ---------------- ## | 1065 ## ---------------- ## |
| 1070 ## Cache variables. ## | 1066 ## Cache variables. ## |
| 1071 ## ---------------- ## | 1067 ## ---------------- ## |
| 1072 _ASBOX | 1068 _ASBOX |
| 1085 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" | 1081 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
| 1086 ;; | 1082 ;; |
| 1087 esac; | 1083 esac; |
| 1088 } | 1084 } |
| 1089 echo | 1085 echo |
| 1090 | |
| 1091 cat <<\_ASBOX | |
| 1092 ## ----------------- ## | |
| 1093 ## Output variables. ## | |
| 1094 ## ----------------- ## | |
| 1095 _ASBOX | |
| 1096 echo | |
| 1097 for ac_var in $ac_subst_vars | |
| 1098 do | |
| 1099 eval ac_val=$`echo $ac_var` | |
| 1100 echo "$ac_var='"'"'$ac_val'"'"'" | |
| 1101 done | sort | |
| 1102 echo | |
| 1103 | |
| 1104 if test -n "$ac_subst_files"; then | |
| 1105 cat <<\_ASBOX | |
| 1106 ## ------------- ## | |
| 1107 ## Output files. ## | |
| 1108 ## ------------- ## | |
| 1109 _ASBOX | |
| 1110 echo | |
| 1111 for ac_var in $ac_subst_files | |
| 1112 do | |
| 1113 eval ac_val=$`echo $ac_var` | |
| 1114 echo "$ac_var='"'"'$ac_val'"'"'" | |
| 1115 done | sort | |
| 1116 echo | |
| 1117 fi | |
| 1118 | |
| 1119 if test -s confdefs.h; then | 1086 if test -s confdefs.h; then |
| 1120 cat <<\_ASBOX | 1087 cat <<\_ASBOX |
| 1121 ## ----------- ## | 1088 ## ----------- ## |
| 1122 ## confdefs.h. ## | 1089 ## confdefs.h. ## |
| 1123 ## ----------- ## | 1090 ## ----------- ## |
| 1124 _ASBOX | 1091 _ASBOX |
| 1125 echo | 1092 echo |
| 1126 sed "/^$/d" confdefs.h | sort | 1093 sed "/^$/d" confdefs.h |
| 1127 echo | 1094 echo |
| 1128 fi | 1095 fi |
| 1129 test "$ac_signal" != 0 && | 1096 test "$ac_signal" != 0 && |
| 1130 echo "$as_me: caught signal $ac_signal" | 1097 echo "$as_me: caught signal $ac_signal" |
| 1131 echo "$as_me: exit $exit_status" | 1098 echo "$as_me: exit $exit_status" |
| 1292 | 1259 |
| 1293 | 1260 |
| 1294 | 1261 |
| 1295 | 1262 |
| 1296 | 1263 |
| 1264 | |
| 1297 ac_ext=c | 1265 ac_ext=c |
| 1298 ac_cpp='$CPP $CPPFLAGS' | 1266 ac_cpp='$CPP $CPPFLAGS' |
| 1299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 1267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 1300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 1268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 1301 ac_compiler_gnu=$ac_cv_c_compiler_gnu | 1269 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 1629 | 1597 |
| 1630 cat >conftest.$ac_ext <<_ACEOF | 1598 cat >conftest.$ac_ext <<_ACEOF |
| 1631 #line $LINENO "configure" | 1599 #line $LINENO "configure" |
| 1632 #include "confdefs.h" | 1600 #include "confdefs.h" |
| 1633 | 1601 |
| 1602 #ifdef F77_DUMMY_MAIN | |
| 1603 # ifdef __cplusplus | |
| 1604 extern "C" | |
| 1605 # endif | |
| 1606 int F77_DUMMY_MAIN() { return 1; } | |
| 1607 #endif | |
| 1634 int | 1608 int |
| 1635 main () | 1609 main () |
| 1636 { | 1610 { |
| 1637 | 1611 |
| 1638 ; | 1612 ; |
| 1764 else | 1738 else |
| 1765 cat >conftest.$ac_ext <<_ACEOF | 1739 cat >conftest.$ac_ext <<_ACEOF |
| 1766 #line $LINENO "configure" | 1740 #line $LINENO "configure" |
| 1767 #include "confdefs.h" | 1741 #include "confdefs.h" |
| 1768 | 1742 |
| 1743 #ifdef F77_DUMMY_MAIN | |
| 1744 # ifdef __cplusplus | |
| 1745 extern "C" | |
| 1746 # endif | |
| 1747 int F77_DUMMY_MAIN() { return 1; } | |
| 1748 #endif | |
| 1769 int | 1749 int |
| 1770 main () | 1750 main () |
| 1771 { | 1751 { |
| 1772 | 1752 |
| 1773 ; | 1753 ; |
| 1808 else | 1788 else |
| 1809 cat >conftest.$ac_ext <<_ACEOF | 1789 cat >conftest.$ac_ext <<_ACEOF |
| 1810 #line $LINENO "configure" | 1790 #line $LINENO "configure" |
| 1811 #include "confdefs.h" | 1791 #include "confdefs.h" |
| 1812 | 1792 |
| 1793 #ifdef F77_DUMMY_MAIN | |
| 1794 # ifdef __cplusplus | |
| 1795 extern "C" | |
| 1796 # endif | |
| 1797 int F77_DUMMY_MAIN() { return 1; } | |
| 1798 #endif | |
| 1813 int | 1799 int |
| 1814 main () | 1800 main () |
| 1815 { | 1801 { |
| 1816 #ifndef __GNUC__ | 1802 #ifndef __GNUC__ |
| 1817 choke me | 1803 choke me |
| 1856 else | 1842 else |
| 1857 cat >conftest.$ac_ext <<_ACEOF | 1843 cat >conftest.$ac_ext <<_ACEOF |
| 1858 #line $LINENO "configure" | 1844 #line $LINENO "configure" |
| 1859 #include "confdefs.h" | 1845 #include "confdefs.h" |
| 1860 | 1846 |
| 1847 #ifdef F77_DUMMY_MAIN | |
| 1848 # ifdef __cplusplus | |
| 1849 extern "C" | |
| 1850 # endif | |
| 1851 int F77_DUMMY_MAIN() { return 1; } | |
| 1852 #endif | |
| 1861 int | 1853 int |
| 1862 main () | 1854 main () |
| 1863 { | 1855 { |
| 1864 | 1856 |
| 1865 ; | 1857 ; |
| 1939 struct s1 {int (*f) (int a);}; | 1931 struct s1 {int (*f) (int a);}; |
| 1940 struct s2 {int (*f) (double a);}; | 1932 struct s2 {int (*f) (double a);}; |
| 1941 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | 1933 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
| 1942 int argc; | 1934 int argc; |
| 1943 char **argv; | 1935 char **argv; |
| 1936 #ifdef F77_DUMMY_MAIN | |
| 1937 # ifdef __cplusplus | |
| 1938 extern "C" | |
| 1939 # endif | |
| 1940 int F77_DUMMY_MAIN() { return 1; } | |
| 1941 #endif | |
| 1944 int | 1942 int |
| 1945 main () | 1943 main () |
| 1946 { | 1944 { |
| 1947 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | 1945 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
| 1948 ; | 1946 ; |
| 2027 cat >conftest.$ac_ext <<_ACEOF | 2025 cat >conftest.$ac_ext <<_ACEOF |
| 2028 #line $LINENO "configure" | 2026 #line $LINENO "configure" |
| 2029 #include "confdefs.h" | 2027 #include "confdefs.h" |
| 2030 #include <stdlib.h> | 2028 #include <stdlib.h> |
| 2031 $ac_declaration | 2029 $ac_declaration |
| 2030 #ifdef F77_DUMMY_MAIN | |
| 2031 # ifdef __cplusplus | |
| 2032 extern "C" | |
| 2033 # endif | |
| 2034 int F77_DUMMY_MAIN() { return 1; } | |
| 2035 #endif | |
| 2032 int | 2036 int |
| 2033 main () | 2037 main () |
| 2034 { | 2038 { |
| 2035 exit (42); | 2039 exit (42); |
| 2036 ; | 2040 ; |
| 2058 rm -f conftest.$ac_objext conftest.$ac_ext | 2062 rm -f conftest.$ac_objext conftest.$ac_ext |
| 2059 cat >conftest.$ac_ext <<_ACEOF | 2063 cat >conftest.$ac_ext <<_ACEOF |
| 2060 #line $LINENO "configure" | 2064 #line $LINENO "configure" |
| 2061 #include "confdefs.h" | 2065 #include "confdefs.h" |
| 2062 $ac_declaration | 2066 $ac_declaration |
| 2067 #ifdef F77_DUMMY_MAIN | |
| 2068 # ifdef __cplusplus | |
| 2069 extern "C" | |
| 2070 # endif | |
| 2071 int F77_DUMMY_MAIN() { return 1; } | |
| 2072 #endif | |
| 2063 int | 2073 int |
| 2064 main () | 2074 main () |
| 2065 { | 2075 { |
| 2066 exit (42); | 2076 exit (42); |
| 2067 ; | 2077 ; |
| 2257 echo "$as_me: error: Cannot find ellcc" >&2;} | 2267 echo "$as_me: error: Cannot find ellcc" >&2;} |
| 2258 { (exit 1); exit 1; }; } | 2268 { (exit 1); exit 1; }; } |
| 2259 fi | 2269 fi |
| 2260 | 2270 |
| 2261 | 2271 |
| 2272 | |
| 2262 for header_dir in "" "pgsql/" "postgresql/"; do | 2273 for header_dir in "" "pgsql/" "postgresql/"; do |
| 2263 | 2274 |
| 2264 ac_ext=c | 2275 ac_ext=c |
| 2265 ac_cpp='$CPP $CPPFLAGS' | 2276 ac_cpp='$CPP $CPPFLAGS' |
| 2266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 2277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 2293 Syntax error | 2304 Syntax error |
| 2294 _ACEOF | 2305 _ACEOF |
| 2295 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 2306 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 2296 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 2307 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 2297 ac_status=$? | 2308 ac_status=$? |
| 2298 grep -v '^ *+' conftest.er1 >conftest.err | 2309 egrep -v '^ *\+' conftest.er1 >conftest.err |
| 2299 rm -f conftest.er1 | 2310 rm -f conftest.er1 |
| 2300 cat conftest.err >&5 | 2311 cat conftest.err >&5 |
| 2301 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 2312 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2302 (exit $ac_status); } >/dev/null; then | 2313 (exit $ac_status); } >/dev/null; then |
| 2303 if test -s conftest.err; then | 2314 if test -s conftest.err; then |
| 2326 #include <ac_nonexistent.h> | 2337 #include <ac_nonexistent.h> |
| 2327 _ACEOF | 2338 _ACEOF |
| 2328 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 2339 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 2329 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 2340 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 2330 ac_status=$? | 2341 ac_status=$? |
| 2331 grep -v '^ *+' conftest.er1 >conftest.err | 2342 egrep -v '^ *\+' conftest.er1 >conftest.err |
| 2332 rm -f conftest.er1 | 2343 rm -f conftest.er1 |
| 2333 cat conftest.err >&5 | 2344 cat conftest.err >&5 |
| 2334 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 2345 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2335 (exit $ac_status); } >/dev/null; then | 2346 (exit $ac_status); } >/dev/null; then |
| 2336 if test -s conftest.err; then | 2347 if test -s conftest.err; then |
| 2384 Syntax error | 2395 Syntax error |
| 2385 _ACEOF | 2396 _ACEOF |
| 2386 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 2397 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 2387 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 2398 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 2388 ac_status=$? | 2399 ac_status=$? |
| 2389 grep -v '^ *+' conftest.er1 >conftest.err | 2400 egrep -v '^ *\+' conftest.er1 >conftest.err |
| 2390 rm -f conftest.er1 | 2401 rm -f conftest.er1 |
| 2391 cat conftest.err >&5 | 2402 cat conftest.err >&5 |
| 2392 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 2403 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2393 (exit $ac_status); } >/dev/null; then | 2404 (exit $ac_status); } >/dev/null; then |
| 2394 if test -s conftest.err; then | 2405 if test -s conftest.err; then |
| 2417 #include <ac_nonexistent.h> | 2428 #include <ac_nonexistent.h> |
| 2418 _ACEOF | 2429 _ACEOF |
| 2419 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 2430 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 2420 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 2431 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 2421 ac_status=$? | 2432 ac_status=$? |
| 2422 grep -v '^ *+' conftest.er1 >conftest.err | 2433 egrep -v '^ *\+' conftest.er1 >conftest.err |
| 2423 rm -f conftest.er1 | 2434 rm -f conftest.er1 |
| 2424 cat conftest.err >&5 | 2435 cat conftest.err >&5 |
| 2425 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 2436 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2426 (exit $ac_status); } >/dev/null; then | 2437 (exit $ac_status); } >/dev/null; then |
| 2427 if test -s conftest.err; then | 2438 if test -s conftest.err; then |
| 2460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 2471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 2461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 2472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 2462 ac_compiler_gnu=$ac_cv_c_compiler_gnu | 2473 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 2463 | 2474 |
| 2464 | 2475 |
| 2465 echo "$as_me:$LINENO: checking for egrep" >&5 | |
| 2466 echo $ECHO_N "checking for egrep... $ECHO_C" >&6 | |
| 2467 if test "${ac_cv_prog_egrep+set}" = set; then | |
| 2468 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
| 2469 else | |
| 2470 if echo a | (grep -E '(a|b)') >/dev/null 2>&1 | |
| 2471 then ac_cv_prog_egrep='grep -E' | |
| 2472 else ac_cv_prog_egrep='egrep' | |
| 2473 fi | |
| 2474 fi | |
| 2475 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 | |
| 2476 echo "${ECHO_T}$ac_cv_prog_egrep" >&6 | |
| 2477 EGREP=$ac_cv_prog_egrep | |
| 2478 | |
| 2479 | |
| 2480 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 | 2476 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
| 2481 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 | 2477 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 |
| 2482 if test "${ac_cv_header_stdc+set}" = set; then | 2478 if test "${ac_cv_header_stdc+set}" = set; then |
| 2483 echo $ECHO_N "(cached) $ECHO_C" >&6 | 2479 echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2484 else | 2480 else |
| 2492 | 2488 |
| 2493 _ACEOF | 2489 _ACEOF |
| 2494 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 2490 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 2495 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 2491 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 2496 ac_status=$? | 2492 ac_status=$? |
| 2497 grep -v '^ *+' conftest.er1 >conftest.err | 2493 egrep -v '^ *\+' conftest.er1 >conftest.err |
| 2498 rm -f conftest.er1 | 2494 rm -f conftest.er1 |
| 2499 cat conftest.err >&5 | 2495 cat conftest.err >&5 |
| 2500 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 2496 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2501 (exit $ac_status); } >/dev/null; then | 2497 (exit $ac_status); } >/dev/null; then |
| 2502 if test -s conftest.err; then | 2498 if test -s conftest.err; then |
| 2523 #include "confdefs.h" | 2519 #include "confdefs.h" |
| 2524 #include <string.h> | 2520 #include <string.h> |
| 2525 | 2521 |
| 2526 _ACEOF | 2522 _ACEOF |
| 2527 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 2523 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 2528 $EGREP "memchr" >/dev/null 2>&1; then | 2524 egrep "memchr" >/dev/null 2>&1; then |
| 2529 : | 2525 : |
| 2530 else | 2526 else |
| 2531 ac_cv_header_stdc=no | 2527 ac_cv_header_stdc=no |
| 2532 fi | 2528 fi |
| 2533 rm -f conftest* | 2529 rm -f conftest* |
| 2541 #include "confdefs.h" | 2537 #include "confdefs.h" |
| 2542 #include <stdlib.h> | 2538 #include <stdlib.h> |
| 2543 | 2539 |
| 2544 _ACEOF | 2540 _ACEOF |
| 2545 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 2541 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 2546 $EGREP "free" >/dev/null 2>&1; then | 2542 egrep "free" >/dev/null 2>&1; then |
| 2547 : | 2543 : |
| 2548 else | 2544 else |
| 2549 ac_cv_header_stdc=no | 2545 ac_cv_header_stdc=no |
| 2550 fi | 2546 fi |
| 2551 rm -f conftest* | 2547 rm -f conftest* |
| 2600 echo "$as_me: failed program was:" >&5 | 2596 echo "$as_me: failed program was:" >&5 |
| 2601 cat conftest.$ac_ext >&5 | 2597 cat conftest.$ac_ext >&5 |
| 2602 ( exit $ac_status ) | 2598 ( exit $ac_status ) |
| 2603 ac_cv_header_stdc=no | 2599 ac_cv_header_stdc=no |
| 2604 fi | 2600 fi |
| 2605 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 2601 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| 2606 fi | 2602 fi |
| 2607 fi | 2603 fi |
| 2608 fi | 2604 fi |
| 2609 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 | 2605 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
| 2610 echo "${ECHO_T}$ac_cv_header_stdc" >&6 | 2606 echo "${ECHO_T}$ac_cv_header_stdc" >&6 |
| 2724 #include <${header_dir}libpq-fe.h> | 2720 #include <${header_dir}libpq-fe.h> |
| 2725 _ACEOF | 2721 _ACEOF |
| 2726 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 2722 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 2727 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 2723 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 2728 ac_status=$? | 2724 ac_status=$? |
| 2729 grep -v '^ *+' conftest.er1 >conftest.err | 2725 egrep -v '^ *\+' conftest.er1 >conftest.err |
| 2730 rm -f conftest.er1 | 2726 rm -f conftest.er1 |
| 2731 cat conftest.err >&5 | 2727 cat conftest.err >&5 |
| 2732 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 2728 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2733 (exit $ac_status); } >/dev/null; then | 2729 (exit $ac_status); } >/dev/null; then |
| 2734 if test -s conftest.err; then | 2730 if test -s conftest.err; then |
| 2809 extern "C" | 2805 extern "C" |
| 2810 #endif | 2806 #endif |
| 2811 /* We use char because int might match the return type of a gcc2 | 2807 /* We use char because int might match the return type of a gcc2 |
| 2812 builtin and then its argument prototype would still apply. */ | 2808 builtin and then its argument prototype would still apply. */ |
| 2813 char PQconnectdb (); | 2809 char PQconnectdb (); |
| 2810 #ifdef F77_DUMMY_MAIN | |
| 2811 # ifdef __cplusplus | |
| 2812 extern "C" | |
| 2813 # endif | |
| 2814 int F77_DUMMY_MAIN() { return 1; } | |
| 2815 #endif | |
| 2814 int | 2816 int |
| 2815 main () | 2817 main () |
| 2816 { | 2818 { |
| 2817 PQconnectdb (); | 2819 PQconnectdb (); |
| 2818 ; | 2820 ; |
| 2871 extern "C" | 2873 extern "C" |
| 2872 #endif | 2874 #endif |
| 2873 /* We use char because int might match the return type of a gcc2 | 2875 /* We use char because int might match the return type of a gcc2 |
| 2874 builtin and then its argument prototype would still apply. */ | 2876 builtin and then its argument prototype would still apply. */ |
| 2875 char PQconnectStart (); | 2877 char PQconnectStart (); |
| 2878 #ifdef F77_DUMMY_MAIN | |
| 2879 # ifdef __cplusplus | |
| 2880 extern "C" | |
| 2881 # endif | |
| 2882 int F77_DUMMY_MAIN() { return 1; } | |
| 2883 #endif | |
| 2876 int | 2884 int |
| 2877 main () | 2885 main () |
| 2878 { | 2886 { |
| 2879 PQconnectStart (); | 2887 PQconnectStart (); |
| 2880 ; | 2888 ; |
| 2912 _ACEOF | 2920 _ACEOF |
| 2913 | 2921 |
| 2914 fi | 2922 fi |
| 2915 | 2923 |
| 2916 postgresql_libs="$LIBS" | 2924 postgresql_libs="$LIBS" |
| 2925 | |
| 2917 | 2926 |
| 2918 | 2927 |
| 2919 # This part should appear unchanged in every module configure.ac | 2928 # This part should appear unchanged in every module configure.ac |
| 2920 PROGNAME="module" | 2929 PROGNAME="module" |
| 2921 | 2930 |
| 3041 ac_LF_and_DOT=`echo; echo .` | 3050 ac_LF_and_DOT=`echo; echo .` |
| 3042 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'` | 3051 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'` |
| 3043 rm -f confdef2opt.sed | 3052 rm -f confdef2opt.sed |
| 3044 | 3053 |
| 3045 | 3054 |
| 3046 ac_libobjs= | |
| 3047 ac_ltlibobjs= | |
| 3048 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue | |
| 3049 # 1. Remove the extension, and $U if already installed. | |
| 3050 ac_i=`echo "$ac_i" | | |
| 3051 sed 's/\$U\././;s/\.o$//;s/\.obj$//'` | |
| 3052 # 2. Add them. | |
| 3053 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" | |
| 3054 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' | |
| 3055 done | |
| 3056 LIBOBJS=$ac_libobjs | |
| 3057 | |
| 3058 LTLIBOBJS=$ac_ltlibobjs | |
| 3059 | |
| 3060 | |
| 3061 | 3055 |
| 3062 : ${CONFIG_STATUS=./config.status} | 3056 : ${CONFIG_STATUS=./config.status} |
| 3063 ac_clean_files_save=$ac_clean_files | 3057 ac_clean_files_save=$ac_clean_files |
| 3064 ac_clean_files="$ac_clean_files $CONFIG_STATUS" | 3058 ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
| 3065 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 | 3059 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 |
| 3331 _ASBOX | 3325 _ASBOX |
| 3332 } >&5 | 3326 } >&5 |
| 3333 cat >&5 <<_CSEOF | 3327 cat >&5 <<_CSEOF |
| 3334 | 3328 |
| 3335 This file was extended by PostgreSQL module $as_me 1.0, which was | 3329 This file was extended by PostgreSQL module $as_me 1.0, which was |
| 3336 generated by GNU Autoconf 2.53b. Invocation command line was | 3330 generated by GNU Autoconf 2.53a. Invocation command line was |
| 3337 | 3331 |
| 3338 CONFIG_FILES = $CONFIG_FILES | 3332 CONFIG_FILES = $CONFIG_FILES |
| 3339 CONFIG_HEADERS = $CONFIG_HEADERS | 3333 CONFIG_HEADERS = $CONFIG_HEADERS |
| 3340 CONFIG_LINKS = $CONFIG_LINKS | 3334 CONFIG_LINKS = $CONFIG_LINKS |
| 3341 CONFIG_COMMANDS = $CONFIG_COMMANDS | 3335 CONFIG_COMMANDS = $CONFIG_COMMANDS |
| 3385 _ACEOF | 3379 _ACEOF |
| 3386 | 3380 |
| 3387 cat >>$CONFIG_STATUS <<_ACEOF | 3381 cat >>$CONFIG_STATUS <<_ACEOF |
| 3388 ac_cs_version="\\ | 3382 ac_cs_version="\\ |
| 3389 PostgreSQL module config.status 1.0 | 3383 PostgreSQL module config.status 1.0 |
| 3390 configured by $0, generated by GNU Autoconf 2.53b, | 3384 configured by $0, generated by GNU Autoconf 2.53a, |
| 3391 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" | 3385 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" |
| 3392 | 3386 |
| 3393 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 | 3387 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 |
| 3394 Free Software Foundation, Inc. | 3388 Free Software Foundation, Inc. |
| 3395 This config.status script is free software; the Free Software Foundation | 3389 This config.status script is free software; the Free Software Foundation |
| 3568 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t | 3562 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t |
| 3569 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t | 3563 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t |
| 3570 s,@INSTALL_DATA@,$INSTALL_DATA,;t t | 3564 s,@INSTALL_DATA@,$INSTALL_DATA,;t t |
| 3571 s,@ELLCC@,$ELLCC,;t t | 3565 s,@ELLCC@,$ELLCC,;t t |
| 3572 s,@CPP@,$CPP,;t t | 3566 s,@CPP@,$CPP,;t t |
| 3573 s,@EGREP@,$EGREP,;t t | |
| 3574 s,@postgresql_libs@,$postgresql_libs,;t t | 3567 s,@postgresql_libs@,$postgresql_libs,;t t |
| 3575 s,@PROGNAME@,$PROGNAME,;t t | 3568 s,@PROGNAME@,$PROGNAME,;t t |
| 3576 s,@MOD_CC@,$MOD_CC,;t t | 3569 s,@MOD_CC@,$MOD_CC,;t t |
| 3577 s,@MODARCHDIR@,$MODARCHDIR,;t t | 3570 s,@MODARCHDIR@,$MODARCHDIR,;t t |
| 3578 s,@MAKE_DOCFILE@,$MAKE_DOCFILE,;t t | 3571 s,@MAKE_DOCFILE@,$MAKE_DOCFILE,;t t |
| 3579 s,@MODCFLAGS@,$MODCFLAGS,;t t | 3572 s,@MODCFLAGS@,$MODCFLAGS,;t t |
| 3580 s,@INSTALLPATH@,$INSTALLPATH,;t t | 3573 s,@INSTALLPATH@,$INSTALLPATH,;t t |
| 3581 s,@MOD_INSTALL_PROGRAM@,$MOD_INSTALL_PROGRAM,;t t | 3574 s,@MOD_INSTALL_PROGRAM@,$MOD_INSTALL_PROGRAM,;t t |
| 3582 s,@OBJECT_TO_BUILD@,$OBJECT_TO_BUILD,;t t | 3575 s,@OBJECT_TO_BUILD@,$OBJECT_TO_BUILD,;t t |
| 3583 s,@LIBOBJS@,$LIBOBJS,;t t | |
| 3584 s,@LTLIBOBJS@,$LTLIBOBJS,;t t | |
| 3585 CEOF | 3576 CEOF |
| 3586 | 3577 |
| 3587 _ACEOF | 3578 _ACEOF |
| 3588 | 3579 |
| 3589 cat >>$CONFIG_STATUS <<\_ACEOF | 3580 cat >>$CONFIG_STATUS <<\_ACEOF |
| 3812 # Use ||, not &&, to avoid exiting from the if with $? = 1, which | 3803 # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
| 3813 # would make configure fail if this is the last instruction. | 3804 # would make configure fail if this is the last instruction. |
| 3814 $ac_cs_success || { (exit 1); exit 1; } | 3805 $ac_cs_success || { (exit 1); exit 1; } |
| 3815 fi | 3806 fi |
| 3816 | 3807 |
| 3808 |
