diff options
author | Richard M. Stallman <rms@gnu.org> | 1996-08-18 20:30:29 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1996-08-18 20:30:29 +0000 |
commit | 0bb774ecd35953eda4b62f796f83da85c3fe669f (patch) | |
tree | 680cd04e0a6b5975b6cf7b3cf9a0c04121a41757 /configure.in | |
parent | fccc275163566b7d80272256959aa98c461a7459 (diff) | |
download | emacs-0bb774ecd35953eda4b62f796f83da85c3fe669f.tar.gz |
(NON_GCC_LINK_TEST_OPTIONS, GCC_LINK_TEST_OPTIONS):
New variables that affect linking only.
(alpha-dec-osf*): Use those instead of previous change.
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/configure.in b/configure.in index e107508fb2a..0f1545e125d 100644 --- a/configure.in +++ b/configure.in @@ -190,8 +190,8 @@ case "${canonical}" in 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 @@ then 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. |