diff options
| author | Peter Eisentraut <peter_e@gmx.net> | 2004-07-17 18:53:56 +0000 |
|---|---|---|
| committer | Peter Eisentraut <peter_e@gmx.net> | 2004-07-17 18:53:56 +0000 |
| commit | d0c1bbdcc61a4ac7cf005451af507ea8d0c64f54 (patch) | |
| tree | 28a341b2a031d9323bc9b18b1612e0cc540248c6 /config | |
| parent | 7f72fd8c47f40b9ebe139a2346a0c234e0703271 (diff) | |
| download | postgresql-d0c1bbdcc61a4ac7cf005451af507ea8d0c64f54.tar.gz | |
Rename AC_PROG_LD* macros to PGAC_PROG_LD*. This avoids clashes with the
macros provided by the real libtool, when other packages borrow some macros
from PostgreSQL, as in the case of the ODBC driver.
Diffstat (limited to 'config')
| -rw-r--r-- | config/libtool.m4 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/config/libtool.m4 b/config/libtool.m4 index 2373e5720d..f6e426dbdf 100644 --- a/config/libtool.m4 +++ b/config/libtool.m4 @@ -28,8 +28,8 @@ # ... bunch of stuff removed here ... -# AC_PROG_LD - find the path to the GNU or non-GNU linker -AC_DEFUN([AC_PROG_LD], +# PGAC_PROG_LD - find the path to the GNU or non-GNU linker +AC_DEFUN([PGAC_PROG_LD], [AC_ARG_WITH(gnu-ld, [ --with-gnu-ld assume the C compiler uses GNU ld [[default=no]]], test "$withval" = no || with_gnu_ld=yes, with_gnu_ld=no) @@ -102,10 +102,10 @@ else AC_MSG_RESULT(no) fi test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH]) -AC_PROG_LD_GNU +PGAC_PROG_LD_GNU ]) -AC_DEFUN([AC_PROG_LD_GNU], +AC_DEFUN([PGAC_PROG_LD_GNU], [AC_CACHE_CHECK([if the linker ($LD) is GNU ld], ac_cv_prog_gnu_ld, [# I'd rather use --version here, but apparently some GNU ld's only accept -v. if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then |
