# HG changeset patch # User Richard M. Stallman # Date 769599077 0 # Node ID db2138db6dab185bda546617acb876a4b0f389c3 # Parent 5fea412e421b7b55af7d8fac91987a0b6f2e4792 (GCC_TEST_OPTIONS, NON_GCC_TEST_OPTIONS): New vars. Use them to set up CC. (m68k-sun-sunos4.1.3): Set them. diff -r 5fea412e421b -r db2138db6dab configure1.in --- a/configure1.in Sun May 22 09:27:36 1994 +0000 +++ b/configure1.in Sun May 22 09:31:17 1994 +0000 @@ -934,7 +934,10 @@ ## 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 @@ 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.