# HG changeset patch # User Richard M. Stallman # Date 840400229 0 # Node ID 9eb4a4ea23c671189697abe5e148fcfe85b742de # Parent 874f0cc6c4318f456a16a659435a88c552d16afb (NON_GCC_LINK_TEST_OPTIONS, GCC_LINK_TEST_OPTIONS): New variables that affect linking only. (alpha-dec-osf*): Use those instead of previous change. diff -r 874f0cc6c431 -r 9eb4a4ea23c6 configure.in --- a/configure.in Sun Aug 18 01:18:56 1996 +0000 +++ b/configure.in Sun Aug 18 20:30:29 1996 +0000 @@ -190,8 +190,8 @@ alpha-dec-osf* ) machine=alpha opsys=osf1 # This is needed to find X11R6.1 libraries for certain tests. - NON_GCC_TEST_OPTIONS=-Wl,-rpath,/usr/X11R6/lib - GCC_TEST_OPTIONS=-Wl,-rpath,/usr/X11R6/lib + NON_GCC_LINK_TEST_OPTIONS=-Wl,-rpath,/usr/X11R6/lib + GCC_LINK_TEST_OPTIONS=-Wl,-rpath,/usr/X11R6/lib ;; alpha-*-linux-gnu* ) @@ -975,6 +975,16 @@ CC="$CC $NON_GCC_TEST_OPTIONS" fi +if test x$GCC = xyes && test "x$GCC_LINK_TEST_OPTIONS" != x +then + ac_link="$ac_link $GCC_LINK_TEST_OPTIONS" +fi + +if test x$GCC = x && test "x$NON_GCC_LINK_TEST_OPTIONS" != x +then + ac_link="$ac_link $NON_GCC_LINK_TEST_OPTIONS" +fi + #### Some other nice autoconf tests. If you add a test here which #### should make an entry in src/config.h, don't forget to add an #### #undef clause to src/config.h.in for autoconf to modify.