diff options
author | Manoj Srivastava <srivasta@golden-gryphon.com> | 2006-02-25 11:25:45 -0800 |
---|---|---|
committer | Manoj Srivastava <srivasta@golden-gryphon.com> | 2006-02-25 11:25:45 -0800 |
commit | 174cabe1a0b3cc6b2a061106f74e9b1c04252eec (patch) | |
tree | 3fe25aa13e39b2553ee696816df57a3384dc682b /m4/lib-ld.m4 | |
parent | c2b22e08bd48278f2cf125f054c9f6286e345ff0 (diff) |
Imported Upstream version 2.5.33
Diffstat (limited to 'm4/lib-ld.m4')
-rw-r--r-- | m4/lib-ld.m4 | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/m4/lib-ld.m4 b/m4/lib-ld.m4 index ddb5732..11d0ce7 100644 --- a/m4/lib-ld.m4 +++ b/m4/lib-ld.m4 @@ -1,5 +1,5 @@ -# lib-ld.m4 serial 1 (gettext-0.11) -dnl Copyright (C) 1996-2002 Free Software Foundation, Inc. +# lib-ld.m4 serial 2 (gettext-0.12) +dnl Copyright (C) 1996-2003 Free Software Foundation, Inc. dnl This file is free software, distributed under the terms of the GNU dnl General Public License. As a special exception to the GNU General dnl Public License, this file may be distributed as part of a program @@ -29,6 +29,19 @@ AC_DEFUN([AC_LIB_PROG_LD], test "$withval" = no || with_gnu_ld=yes, with_gnu_ld=no) AC_REQUIRE([AC_PROG_CC])dnl AC_REQUIRE([AC_CANONICAL_HOST])dnl +# Prepare PATH_SEPARATOR. +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + echo "#! /bin/sh" >conf$$.sh + echo "exit 0" >>conf$$.sh + chmod +x conf$$.sh + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then + PATH_SEPARATOR=';' + else + PATH_SEPARATOR=: + fi + rm -f conf$$.sh +fi ac_prog=ld if test "$GCC" = yes; then # Check if gcc -print-prog-name=ld gives a path. |