* acspecific.m4 (AC_PATH_XTRA): Use AC_LANG_PROGRAM() as the

argument to AC_LINK_IFELSE.
This commit is contained in:
Pavel Roskin 2000-10-31 04:47:23 +00:00
parent a24439a762
commit a462c5c75e
3 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2000-10-30 Pavel Roskin <proski@gnu.org>
* acspecific.m4 (AC_PATH_XTRA): Use AC_LANG_PROGRAM() as the
argument to AC_LINK_IFELSE.
2000-10-30 Pavel Roskin <proski@gnu.org>
* m4sh.m4 (AS_EXIT): Use "false" for exit code 1, ":" for 0.

View File

@ -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"

View File

@ -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"