summaryrefslogtreecommitdiff
path: root/configure1.in
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1994-05-22 09:31:17 +0000
committerRichard M. Stallman <rms@gnu.org>1994-05-22 09:31:17 +0000
commit3f7d0ec4012f182d8b8a25a626fe0c24293b1099 (patch)
tree5e4f8d76673277531be528875368ddf2eec67124 /configure1.in
parent303d59f239f04325a98fff0457af7a16055391a8 (diff)
downloademacs-3f7d0ec4012f182d8b8a25a626fe0c24293b1099.tar.gz
(GCC_TEST_OPTIONS, NON_GCC_TEST_OPTIONS): New vars.
Use them to set up CC. (m68k-sun-sunos4.1.3): Set them.
Diffstat (limited to 'configure1.in')
-rwxr-xr-xconfigure1.in15
1 files changed, 14 insertions, 1 deletions
diff --git a/configure1.in b/configure1.in
index b96e90a6d42..a9744e57113 100755
--- a/configure1.in
+++ b/configure1.in
@@ -934,7 +934,10 @@ case "${canonical}" in
## The Sun386 didn't get past 4.0.
i386-*-sunos4 ) opsys=sunos4-0 ;;
*-sunos4.0* ) opsys=sunos4-0 ;;
- *-sunos4.1.3* ) opsys=sunos4-1-3 ;;
+ *-sunos4.1.3* ) opsys=sunos4-1-3
+ NON_GCC_TEST_OPTIONS=-Bstatic
+ GCC_TEST_OPTIONS=-static
+ ;;
*-sunos4shr* ) opsys=sunos4shr ;;
*-sunos4* | *-sunos ) opsys=sunos4-1 ;;
*-sunos5.3* | *-solaris2.3* )
@@ -1125,6 +1128,16 @@ else
CC="$NON_GNU_CC"
fi
+if [ x$GCC = x1 ] && [ "x$GCC_TEST_OPTIONS" != x ]
+then
+ CC="$CC $GCC_TEST_OPTIONS"
+fi
+
+if [ x$GCC = x ] && [ "x$NON_GCC_TEST_OPTIONS" != x ]
+then
+ CC="$CC $NON_GCC_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.