aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1994-05-22 09:31:17 +0000
committerRichard M. Stallman1994-05-22 09:31:17 +0000
commitfa4a954e506423c1af0915bc950bb8edad271d42 (patch)
tree9949ff906eff0f47ed6465c79e1c7a3c1a4d019e
parenta144b9e93b95ca35757292105bd98642818606c5 (diff)
downloademacs-fa4a954e506423c1af0915bc950bb8edad271d42.tar.gz
emacs-fa4a954e506423c1af0915bc950bb8edad271d42.zip
(GCC_TEST_OPTIONS, NON_GCC_TEST_OPTIONS): New vars.
Use them to set up CC. (m68k-sun-sunos4.1.3): Set them.
-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
934 ## The Sun386 didn't get past 4.0. 934 ## The Sun386 didn't get past 4.0.
935 i386-*-sunos4 ) opsys=sunos4-0 ;; 935 i386-*-sunos4 ) opsys=sunos4-0 ;;
936 *-sunos4.0* ) opsys=sunos4-0 ;; 936 *-sunos4.0* ) opsys=sunos4-0 ;;
937 *-sunos4.1.3* ) opsys=sunos4-1-3 ;; 937 *-sunos4.1.3* ) opsys=sunos4-1-3
938 NON_GCC_TEST_OPTIONS=-Bstatic
939 GCC_TEST_OPTIONS=-static
940 ;;
938 *-sunos4shr* ) opsys=sunos4shr ;; 941 *-sunos4shr* ) opsys=sunos4shr ;;
939 *-sunos4* | *-sunos ) opsys=sunos4-1 ;; 942 *-sunos4* | *-sunos ) opsys=sunos4-1 ;;
940 *-sunos5.3* | *-solaris2.3* ) 943 *-sunos5.3* | *-solaris2.3* )
@@ -1125,6 +1128,16 @@ else
1125 CC="$NON_GNU_CC" 1128 CC="$NON_GNU_CC"
1126fi 1129fi
1127 1130
1131if [ x$GCC = x1 ] && [ "x$GCC_TEST_OPTIONS" != x ]
1132then
1133 CC="$CC $GCC_TEST_OPTIONS"
1134fi
1135
1136if [ x$GCC = x ] && [ "x$NON_GCC_TEST_OPTIONS" != x ]
1137then
1138 CC="$CC $NON_GCC_TEST_OPTIONS"
1139fi
1140
1128#### Some other nice autoconf tests. If you add a test here which 1141#### Some other nice autoconf tests. If you add a test here which
1129#### should make an entry in src/config.h, don't forget to add an 1142#### should make an entry in src/config.h, don't forget to add an
1130#### #undef clause to src/config.h.in for autoconf to modify. 1143#### #undef clause to src/config.h.in for autoconf to modify.