Lines 308-314
Link Here
|
308 |
-Wnested-externs -Winline -Wshadow" |
308 |
-Wnested-externs -Winline -Wshadow" |
309 |
|
309 |
|
310 |
if test "$GCC" = yes; then |
310 |
if test "$GCC" = yes; then |
311 |
CC=gcc ; AC_SUBST(CC) |
311 |
AC_SUBST(CC) |
312 |
### May need per-OS attention |
312 |
### May need per-OS attention |
313 |
### Example: -D_POSIX_SOURCE: needed on Linux but harms Solaris. |
313 |
### Example: -D_POSIX_SOURCE: needed on Linux but harms Solaris. |
314 |
case $OS in |
314 |
case $OS in |
Lines 318-327
Link Here
|
318 |
WARNINGS="$GCC_WARNINGS" |
318 |
WARNINGS="$GCC_WARNINGS" |
319 |
PIC="-fPIC" |
319 |
PIC="-fPIC" |
320 |
DYNTYPE=so |
320 |
DYNTYPE=so |
321 |
LD=gcc |
321 |
LD="$CC" |
322 |
LD_L="$CC -shared $LDFLAGS" |
322 |
LD_L="$CC -shared $LDFLAGS" |
323 |
RANLIB=: |
323 |
RANLIB=: |
324 |
STRIP=strip |
324 |
STRIP=${CHOST}-strip |
325 |
CC_STATIC="-Xlinker -export-dynamic" |
325 |
CC_STATIC="-Xlinker -export-dynamic" |
326 |
;; |
326 |
;; |
327 |
sunos) |
327 |
sunos) |