/[gxemul]/trunk/configure
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/configure

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 28 by dpavlin, Mon Oct 8 16:20:26 2007 UTC revision 30 by dpavlin, Mon Oct 8 16:20:40 2007 UTC
# Line 27  Line 27 
27  #  SUCH DAMAGE.  #  SUCH DAMAGE.
28  #  #
29  #  #
30  #  $Id: configure,v 1.226 2006/07/20 21:52:59 debug Exp $  #  $Id: configure,v 1.228 2006/07/25 21:49:14 debug Exp $
31  #  #
32  #  This is a minimal configure script, hardcoded for GXemul. This script  #  This is a minimal configure script, hardcoded for GXemul. This script
33  #  figures out which compiler flags will work, and creates Makefiles in  #  figures out which compiler flags will work, and creates Makefiles in
# Line 197  if [ z$ENABLEPPC = zYES ]; then Line 197  if [ z$ENABLEPPC = zYES ]; then
197  fi  fi
198  if [ z$ENABLESH = zYES ]; then  if [ z$ENABLESH = zYES ]; then
199          printf "#define ENABLE_SH\n" >> config.h          printf "#define ENABLE_SH\n" >> config.h
200          CPU_ARCHS="$CPU_ARCHS cpu_sh.o"          CPU_ARCHS="$CPU_ARCHS cpu_sh.o memory_sh.o"
201  fi  fi
202  if [ z$ENABLESPARC = zYES ]; then  if [ z$ENABLESPARC = zYES ]; then
203          printf "#define ENABLE_SPARC\n" >> config.h          printf "#define ENABLE_SPARC\n" >> config.h
# Line 684  fi Line 684  fi
684  rm -f _testprog _testprog.error _testprog.stdout  rm -f _testprog _testprog.error _testprog.stdout
685    
686    
687  #  -g  #  -g, for development builds
688  printf "checking whether -g can be used... "  if [ z"$UNSTABLE" = zYES ]; then
689  if [ z"$COMPAQCC" = zYES ]; then          printf "checking whether -g can be used... "
690          printf "skipping\n"          if [ z"$COMPAQCC" = zYES ]; then
691  else                  printf "skipping\n"
         $CC $CFLAGS -g _testprog.c -o _testprog > _testprog.stdout 2>&1  
         cat _testprog.stdout >> _testprog.error  
         if [ -x _testprog ]; then  
                 CFLAGS="-g $CFLAGS"  
                 printf "yes\n"  
692          else          else
693                    $CC $CFLAGS -g _testprog.c -o _testprog > _testprog.stdout 2>&1
694                    cat _testprog.stdout >> _testprog.error
695                    if [ -x _testprog ]; then
696                            CFLAGS="-g $CFLAGS"
697                            printf "yes\n"
698                    else
699                  printf "no\n"                  printf "no\n"
700                            fi
701          fi          fi
702            rm -f _testprog _testprog.error _testprog.stdout
703  fi  fi
 rm -f _testprog _testprog.error _testprog.stdout  
704    
705    
706  #  -lrt for nanosleep?  #  -lrt for nanosleep?

Legend:
Removed from v.28  
changed lines
  Added in v.30

  ViewVC Help
Powered by ViewVC 1.1.26