ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/Unix/configure.in
(Generate patch)

Comparing BasiliskII/src/Unix/configure.in (file contents):
Revision 1.25 by cebix, 2000-10-08T18:41:34Z vs.
Revision 1.26 by cebix, 2000-10-09T17:05:16Z

# Line 112 | Line 112 | AC_CHECK_FUNCS(pthread_cancel)
112   dnl If POSIX.4 semaphores are not available, we emulate them with pthread mutexes.
113   SEMSRC=
114   AC_CHECK_FUNCS(sem_init, , [
115 <  if [ "x$HAVE_PTHREADS" = "xyes" ]; then
115 >  if test "x$HAVE_PTHREADS" = "xyes"; then
116      SEMSRC=posix_sem.cpp
117    fi
118   ])
# Line 510 | Line 510 | elif [[ "x$HAVE_GCC27" = "xyes" -a "x$HA
510      AC_MSG_RESULT($SPARC_TYPE)
511      case "$SPARC_TYPE" in
512      SPARC_V8)
513 <          ASM_OPTIMIZATIONS="SPARC V8 architecture"
513 >      ASM_OPTIMIZATIONS="SPARC V8 architecture"
514        DEFINES="$DEFINES -DSPARC_V8_ASSEMBLY" dnl -DOPTFLAGS"
515        CFLAGS="$CFLAGS -Wa,-Av8"
516        CXXFLAGS="$CXXFLAGS -Wa,-Av8"
517        ;;
518      SPARC_V9)
519 <          ASM_OPTIMIZATIONS="SPARC V9 architecture"
519 >      ASM_OPTIMIZATIONS="SPARC V9 architecture"
520        DEFINES="$DEFINES -DSPARC_V9_ASSEMBLY" dnl -DOPTFLAGS"
521        CFLAGS="$CFLAGS -Wa,-Av9"
522        CXXFLAGS="$CXXFLAGS -Wa,-Av9"
# Line 542 | Line 542 | fi
542  
543   dnl Remove the "-g" option if set for GCC.
544   if [[ "x$HAVE_GCC27" = "xyes" ]]; then
545 <        dnl gb-- Probably not the cleanest way to take
546 <        CFLAGS=`echo $CFLAGS | sed -e 's/ -g / /;s/^-g / /;s/ -g$/ /;s/^-g$//'`
547 <        CXXFLAGS=`echo $CXXFLAGS | sed -e 's/ -g / /;s/^-g / /;s/ -g$/ /;s/^-g$//'`
545 >  dnl gb-- Probably not the cleanest way to take
546 >  CFLAGS=`echo $CFLAGS | sed -e 's/ -g / /;s/^-g / /;s/ -g$/ /;s/^-g$//'`
547 >  CXXFLAGS=`echo $CXXFLAGS | sed -e 's/ -g / /;s/^-g / /;s/ -g$/ /;s/^-g$//'`
548   fi
549  
550   dnl Generate Makefile.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines