1 --- autoconf-2.69/lib/autoconf/libs.m4.1 2018-01-28 01:48:59.278161726 +0000
2 +++ autoconf-2.69/lib/autoconf/libs.m4 2018-01-28 01:51:20.737704507 +0000
4 # It would also be nice to do this for all -L options, not just this one.
5 if test -n "$x_libraries"; then
6 X_LIBS="$X_LIBS -L$x_libraries"
7 - # For Solaris; some versions of Sun CC require a space after -R and
8 - # others require no space. Words are not sufficient . . . .
9 - AC_MSG_CHECKING([whether -R must be followed by a space])
10 - ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
11 - ac_xsave_[]_AC_LANG_ABBREV[]_werror_flag=$ac_[]_AC_LANG_ABBREV[]_werror_flag
12 - ac_[]_AC_LANG_ABBREV[]_werror_flag=yes
13 - AC_LINK_IFELSE([AC_LANG_PROGRAM()],
14 - [AC_MSG_RESULT([no])
15 - X_LIBS="$X_LIBS -R$x_libraries"],
16 - [LIBS="$ac_xsave_LIBS -R $x_libraries"
17 - AC_LINK_IFELSE([AC_LANG_PROGRAM()],
18 - [AC_MSG_RESULT([yes])
19 - X_LIBS="$X_LIBS -R $x_libraries"],
20 - [AC_MSG_RESULT([neither works])])])
21 - ac_[]_AC_LANG_ABBREV[]_werror_flag=$ac_xsave_[]_AC_LANG_ABBREV[]_werror_flag
25 # Check for system-dependent libraries X programs must link with.