From: Pavel Roskin Date: Tue, 31 Oct 2000 04:47:23 +0000 (+0000) Subject: * acspecific.m4 (AC_PATH_XTRA): Use AC_LANG_PROGRAM() as the X-Git-Tag: autoconf-2.50~500 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a462c5c75e6240fdbddf0364368bff84b0075508;p=thirdparty%2Fautoconf.git * acspecific.m4 (AC_PATH_XTRA): Use AC_LANG_PROGRAM() as the argument to AC_LINK_IFELSE. --- diff --git a/ChangeLog b/ChangeLog index d740411bf..6a66a163c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2000-10-30 Pavel Roskin + + * acspecific.m4 (AC_PATH_XTRA): Use AC_LANG_PROGRAM() as the + argument to AC_LINK_IFELSE. + 2000-10-30 Pavel Roskin * m4sh.m4 (AS_EXIT): Use "false" for exit code 1, ":" for 0. diff --git a/acspecific.m4 b/acspecific.m4 index 31df2c020..b4d081f9f 100644 --- a/acspecific.m4 +++ b/acspecific.m4 @@ -1390,13 +1390,13 @@ dnl FIXME: banish uname from this macro! "SunOS 5"*) AC_MSG_CHECKING(whether -R must be followed by a space) ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries" - AC_LINK_IFELSE([], ac_R_nospace=yes, ac_R_nospace=no) + AC_LINK_IFELSE([AC_LANG_PROGRAM()], ac_R_nospace=yes, ac_R_nospace=no) if test $ac_R_nospace = yes; then AC_MSG_RESULT(no) X_LIBS="$X_LIBS -R$x_libraries" else LIBS="$ac_xsave_LIBS -R $x_libraries" - AC_LINK_IFELSE([], ac_R_space=yes, ac_R_space=no) + AC_LINK_IFELSE([AC_LANG_PROGRAM()], ac_R_space=yes, ac_R_space=no) if test $ac_R_space = yes; then AC_MSG_RESULT(yes) X_LIBS="$X_LIBS -R $x_libraries" diff --git a/lib/autoconf/specific.m4 b/lib/autoconf/specific.m4 index 31df2c020..b4d081f9f 100644 --- a/lib/autoconf/specific.m4 +++ b/lib/autoconf/specific.m4 @@ -1390,13 +1390,13 @@ dnl FIXME: banish uname from this macro! "SunOS 5"*) AC_MSG_CHECKING(whether -R must be followed by a space) ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries" - AC_LINK_IFELSE([], ac_R_nospace=yes, ac_R_nospace=no) + AC_LINK_IFELSE([AC_LANG_PROGRAM()], ac_R_nospace=yes, ac_R_nospace=no) if test $ac_R_nospace = yes; then AC_MSG_RESULT(no) X_LIBS="$X_LIBS -R$x_libraries" else LIBS="$ac_xsave_LIBS -R $x_libraries" - AC_LINK_IFELSE([], ac_R_space=yes, ac_R_space=no) + AC_LINK_IFELSE([AC_LANG_PROGRAM()], ac_R_space=yes, ac_R_space=no) if test $ac_R_space = yes; then AC_MSG_RESULT(yes) X_LIBS="$X_LIBS -R $x_libraries"