*** pgsql/configure 2010/06/04 07:28:28 1.682 --- pgsql/configure 2010/07/05 18:54:36 1.683 *************** ld_R_works *** 704,709 **** --- 704,710 ---- with_gnu_ld LD LDFLAGS_SL + LDFLAGS_EX ELF_SYS EGREP GREP *************** LDFLAGS *** 856,861 **** --- 857,863 ---- LIBS CPPFLAGS CPP + LDFLAGS_EX LDFLAGS_SL DOCBOOKSTYLE' *************** Some influential environment variables: *** 1551,1557 **** CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I if you have headers in a nonstandard directory CPP C preprocessor ! LDFLAGS_SL linker flags for shared library linking DOCBOOKSTYLE location of DocBook stylesheets --- 1553,1560 ---- CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I if you have headers in a nonstandard directory CPP C preprocessor ! LDFLAGS_EX extra linker flags for linking executables only ! LDFLAGS_SL extra linker flags for linking shared libraries only DOCBOOKSTYLE location of DocBook stylesheets *************** LDFLAGS="$LDFLAGS $LIBDIRS" *** 5788,5793 **** --- 5791,5797 ---- + # Check whether --with-gnu-ld was given. if test "${with_gnu_ld+set}" = set; then withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes *************** fi *** 28826,28832 **** # If compiler will take -Wl,--as-needed (or various platform-specific # spellings thereof) then add that to LDFLAGS. This is much easier than # trying to filter LIBS to the minimum for each executable. - # (Note that shared library links won't use this switch, though.) # On (at least) some Red-Hat-derived systems, this switch breaks linking to # libreadline; therefore we postpone testing it until we know what library # dependencies readline has. The test code will try to link with $LIBS. --- 28830,28835 ----