Changeset 31

Show
Ignore:
Timestamp:
08/09/07 02:38:23 (5 years ago)
Author:
mike
Message:

fixed makefile

Location:
trunk
Files:
1 added
3 modified

Legend:

Unmodified
Added
Removed
  • trunk/Makefile.in

    r27 r31  
    1 # Makefile.in generated by automake 1.10 from Makefile.am. 
     1# Makefile.in generated by automake 1.9.6 from Makefile.am. 
    22# @configure_input@ 
    33 
    44# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 
    5 # 2003, 2004, 2005, 2006  Free Software Foundation, Inc. 
     5# 2003, 2004, 2005  Free Software Foundation, Inc. 
    66# This Makefile.in is free software; the Free Software Foundation 
    77# gives unlimited permission to copy and/or distribute it, 
     
    1616 
    1717 
     18srcdir = @srcdir@ 
     19top_srcdir = @top_srcdir@ 
    1820VPATH = @srcdir@ 
    1921pkgdatadir = $(datadir)/@PACKAGE@ 
    2022pkglibdir = $(libdir)/@PACKAGE@ 
    2123pkgincludedir = $(includedir)/@PACKAGE@ 
     24top_builddir = . 
    2225am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd 
     26INSTALL = @INSTALL@ 
    2327install_sh_DATA = $(install_sh) -c -m 644 
    2428install_sh_PROGRAM = $(install_sh) -c 
     
    3640bin_PROGRAMS = lifeglut$(EXEEXT) lifeconsole$(EXEEXT) \ 
    3741    lifebench$(EXEEXT) 
    38 subdir = . 
    3942DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \ 
    4043    $(srcdir)/Makefile.in $(top_srcdir)/configure AUTHORS COPYING \ 
    4144    ChangeLog INSTALL NEWS config.guess config.sub depcomp \ 
    4245    install-sh missing 
     46subdir = . 
    4347ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 
    4448am__aclocal_m4_deps = $(top_srcdir)/configure.in 
     
    4650    $(ACLOCAL_M4) 
    4751am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ 
    48  configure.lineno config.status.lineno 
     52 configure.lineno configure.status.lineno 
    4953mkinstalldirs = $(install_sh) -d 
    5054CONFIG_CLEAN_FILES = 
     
    7579lifeglut_OBJECTS = $(am_lifeglut_OBJECTS) 
    7680lifeglut_DEPENDENCIES = liblife.a 
    77 DEFAULT_INCLUDES = -I.@am__isrc@ 
     81DEFAULT_INCLUDES = -I. -I$(srcdir) 
    7882depcomp = $(SHELL) $(top_srcdir)/depcomp 
    7983am__depfiles_maybe = depfiles 
     
    100104distcleancheck_listfiles = find . -type f -print 
    101105ACLOCAL = @ACLOCAL@ 
     106AMDEP_FALSE = @AMDEP_FALSE@ 
     107AMDEP_TRUE = @AMDEP_TRUE@ 
    102108AMTAR = @AMTAR@ 
    103109AUTOCONF = @AUTOCONF@ 
     
    116122ECHO_T = @ECHO_T@ 
    117123EXEEXT = @EXEEXT@ 
    118 INSTALL = @INSTALL@ 
    119124INSTALL_DATA = @INSTALL_DATA@ 
    120125INSTALL_PROGRAM = @INSTALL_PROGRAM@ 
     
    126131LTLIBOBJS = @LTLIBOBJS@ 
    127132MAKEINFO = @MAKEINFO@ 
    128 MKDIR_P = @MKDIR_P@ 
    129133OBJEXT = @OBJEXT@ 
    130134PACKAGE = @PACKAGE@ 
     
    140144STRIP = @STRIP@ 
    141145VERSION = @VERSION@ 
    142 abs_builddir = @abs_builddir@ 
    143 abs_srcdir = @abs_srcdir@ 
    144 abs_top_builddir = @abs_top_builddir@ 
    145 abs_top_srcdir = @abs_top_srcdir@ 
    146146ac_ct_CC = @ac_ct_CC@ 
     147am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ 
     148am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ 
    147149am__include = @am__include@ 
    148150am__leading_dot = @am__leading_dot@ 
     
    156158build_os = @build_os@ 
    157159build_vendor = @build_vendor@ 
    158 builddir = @builddir@ 
    159160datadir = @datadir@ 
    160161datarootdir = @datarootdir@ 
     
    184185sbindir = @sbindir@ 
    185186sharedstatedir = @sharedstatedir@ 
    186 srcdir = @srcdir@ 
    187187sysconfdir = @sysconfdir@ 
    188188target_alias = @target_alias@ 
    189 top_builddir = @top_builddir@ 
    190 top_srcdir = @top_srcdir@ 
    191189lib_LIBRARIES = liblife.a 
    192190liblife_a_SOURCES = block.c  helpers.c  
     
    236234install-libLIBRARIES: $(lib_LIBRARIES) 
    237235    @$(NORMAL_INSTALL) 
    238     test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)" 
     236    test -z "$(libdir)" || $(mkdir_p) "$(DESTDIR)$(libdir)" 
    239237    @list='$(lib_LIBRARIES)'; for p in $$list; do \ 
    240238      if test -f $$p; then \ 
     
    269267install-binPROGRAMS: $(bin_PROGRAMS) 
    270268    @$(NORMAL_INSTALL) 
    271     test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)" 
     269    test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)" 
    272270    @list='$(bin_PROGRAMS)'; for p in $$list; do \ 
    273271      p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ 
     
    292290lifebench$(EXEEXT): $(lifebench_OBJECTS) $(lifebench_DEPENDENCIES)  
    293291    @rm -f lifebench$(EXEEXT) 
    294     $(LINK) $(lifebench_OBJECTS) $(lifebench_LDADD) $(LIBS) 
     292    $(LINK) $(lifebench_LDFLAGS) $(lifebench_OBJECTS) $(lifebench_LDADD) $(LIBS) 
    295293lifeconsole$(EXEEXT): $(lifeconsole_OBJECTS) $(lifeconsole_DEPENDENCIES)  
    296294    @rm -f lifeconsole$(EXEEXT) 
    297     $(LINK) $(lifeconsole_OBJECTS) $(lifeconsole_LDADD) $(LIBS) 
     295    $(LINK) $(lifeconsole_LDFLAGS) $(lifeconsole_OBJECTS) $(lifeconsole_LDADD) $(LIBS) 
    298296lifeglut$(EXEEXT): $(lifeglut_OBJECTS) $(lifeglut_DEPENDENCIES)  
    299297    @rm -f lifeglut$(EXEEXT) 
    300     $(LINK) $(lifeglut_OBJECTS) $(lifeglut_LDADD) $(LIBS) 
     298    $(LINK) $(lifeglut_LDFLAGS) $(lifeglut_OBJECTS) $(lifeglut_LDADD) $(LIBS) 
    301299 
    302300mostlyclean-compile: 
     
    313311 
    314312.c.o: 
    315 @am__fastdepCC_TRUE@    $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< 
    316 @am__fastdepCC_TRUE@    mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po 
     313@am__fastdepCC_TRUE@    if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ 
     314@am__fastdepCC_TRUE@    then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi 
    317315@AMDEP_TRUE@@am__fastdepCC_FALSE@   source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ 
    318316@AMDEP_TRUE@@am__fastdepCC_FALSE@   DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 
     
    320318 
    321319.c.obj: 
    322 @am__fastdepCC_TRUE@    $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` 
    323 @am__fastdepCC_TRUE@    mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po 
     320@am__fastdepCC_TRUE@    if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \ 
     321@am__fastdepCC_TRUE@    then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi 
    324322@AMDEP_TRUE@@am__fastdepCC_FALSE@   source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ 
    325323@AMDEP_TRUE@@am__fastdepCC_FALSE@   DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 
    326324@am__fastdepCC_FALSE@   $(COMPILE) -c `$(CYGPATH_W) '$<'` 
     325uninstall-info-am: 
    327326 
    328327ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) 
     
    376375distdir: $(DISTFILES) 
    377376    $(am__remove_distdir) 
    378     test -d $(distdir) || mkdir $(distdir) 
    379     @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ 
    380     topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ 
    381     list='$(DISTFILES)'; \ 
    382       dist_files=`for file in $$list; do echo $$file; done | \ 
    383       sed -e "s|^$$srcdirstrip/||;t" \ 
    384           -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ 
    385     case $$dist_files in \ 
    386       */*) $(MKDIR_P) `echo "$$dist_files" | \ 
    387                sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ 
    388                sort -u` ;; \ 
    389     esac; \ 
    390     for file in $$dist_files; do \ 
     377    mkdir $(distdir) 
     378    @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ 
     379    topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ 
     380    list='$(DISTFILES)'; for file in $$list; do \ 
     381      case $$file in \ 
     382        $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ 
     383        $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ 
     384      esac; \ 
    391385      if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ 
     386      dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ 
     387      if test "$$dir" != "$$file" && test "$$dir" != "."; then \ 
     388        dir="/$$dir"; \ 
     389        $(mkdir_p) "$(distdir)$$dir"; \ 
     390      else \ 
     391        dir=''; \ 
     392      fi; \ 
    392393      if test -d $$d/$$file; then \ 
    393         dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ 
    394394        if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ 
    395395          cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ 
     
    405405      ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ 
    406406      ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ 
    407       ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ 
     407      ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \ 
    408408    || chmod -R a+r $(distdir) 
    409409dist-gzip: distdir 
     
    480480    @(echo "$(distdir) archives ready for distribution: "; \ 
    481481      list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ 
    482       sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' 
     482      sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}' 
    483483distuninstallcheck: 
    484484    @cd $(distuninstallcheck_dir) \ 
     
    504504installdirs: 
    505505    for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)"; do \ 
    506       test -z "$$dir" || $(MKDIR_P) "$$dir"; \ 
     506      test -z "$$dir" || $(mkdir_p) "$$dir"; \ 
    507507    done 
    508508install: install-am 
     
    554554install-data-am: 
    555555 
    556 install-dvi: install-dvi-am 
    557  
    558556install-exec-am: install-binPROGRAMS install-libLIBRARIES 
    559557 
    560 install-html: install-html-am 
    561  
    562558install-info: install-info-am 
    563559 
    564560install-man: 
    565  
    566 install-pdf: install-pdf-am 
    567  
    568 install-ps: install-ps-am 
    569561 
    570562installcheck-am: 
     
    589581ps-am: 
    590582 
    591 uninstall-am: uninstall-binPROGRAMS uninstall-libLIBRARIES 
    592  
    593 .MAKE: install-am install-strip 
     583uninstall-am: uninstall-binPROGRAMS uninstall-info-am \ 
     584    uninstall-libLIBRARIES 
    594585 
    595586.PHONY: CTAGS GTAGS all all-am am--refresh check check-am clean \ 
     
    599590    distclean-tags distcleancheck distdir distuninstallcheck dvi \ 
    600591    dvi-am html html-am info info-am install install-am \ 
    601     install-binPROGRAMS install-data install-data-am install-dvi \ 
    602     install-dvi-am install-exec install-exec-am install-html \ 
    603     install-html-am install-info install-info-am \ 
    604     install-libLIBRARIES install-man install-pdf install-pdf-am \ 
    605     install-ps install-ps-am install-strip installcheck \ 
     592    install-binPROGRAMS install-data install-data-am install-exec \ 
     593    install-exec-am install-info install-info-am \ 
     594    install-libLIBRARIES install-man install-strip installcheck \ 
    606595    installcheck-am installdirs maintainer-clean \ 
    607596    maintainer-clean-generic mostlyclean mostlyclean-compile \ 
    608597    mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \ 
    609     uninstall-am uninstall-binPROGRAMS uninstall-libLIBRARIES 
     598    uninstall-am uninstall-binPROGRAMS uninstall-info-am \ 
     599    uninstall-libLIBRARIES 
    610600 
    611601# Tell versions [3.59,3.63) of GNU make to not export all variables. 
  • trunk/configure

    r23 r31  
    618618INSTALL_SCRIPT 
    619619INSTALL_DATA 
    620 am__isrc 
    621620CYGPATH_W 
    622621PACKAGE 
     
    637636am__tar 
    638637am__untar 
    639 build 
    640 build_cpu 
    641 build_vendor 
    642 build_os 
    643 host 
    644 host_cpu 
    645 host_vendor 
    646 host_os 
    647638RANLIB 
    648639CC 
     
    662653am__fastdepCC_TRUE 
    663654am__fastdepCC_FALSE 
     655build 
     656build_cpu 
     657build_vendor 
     658build_os 
     659host 
     660host_cpu 
     661host_vendor 
     662host_os 
    664663LIBOBJS 
    665664LTLIBOBJS' 
     
    16861685 
    16871686 
    1688 am__api_version='1.10' 
    1689  
     1687am__api_version="1.9" 
    16901688ac_aux_dir= 
    16911689for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 
     
    18701868fi 
    18711869 
    1872 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5 
    1873 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; } 
    1874 if test -z "$MKDIR_P"; then 
    1875   if test "${ac_cv_path_mkdir+set}" = set; then 
    1876   echo $ECHO_N "(cached) $ECHO_C" >&6 
    1877 else 
    1878   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
    1879 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 
    1880 do 
    1881   IFS=$as_save_IFS 
    1882   test -z "$as_dir" && as_dir=. 
    1883   for ac_prog in mkdir gmkdir; do 
    1884      for ac_exec_ext in '' $ac_executable_extensions; do 
    1885        { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue 
    1886        case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 
    1887          'mkdir (GNU coreutils) '* | \ 
    1888          'mkdir (coreutils) '* | \ 
    1889          'mkdir (fileutils) '4.1*) 
    1890            ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 
    1891            break 3;; 
    1892        esac 
    1893      done 
    1894        done 
    1895 done 
    1896 IFS=$as_save_IFS 
    1897  
    1898 fi 
    1899  
    1900   if test "${ac_cv_path_mkdir+set}" = set; then 
    1901     MKDIR_P="$ac_cv_path_mkdir -p" 
     1870if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then 
     1871  # We used to keeping the `.' as first argument, in order to 
     1872  # allow $(mkdir_p) to be used without argument.  As in 
     1873  #   $(mkdir_p) $(somedir) 
     1874  # where $(somedir) is conditionally defined.  However this is wrong 
     1875  # for two reasons: 
     1876  #  1. if the package is installed by a user who cannot write `.' 
     1877  #     make install will fail, 
     1878  #  2. the above comment should most certainly read 
     1879  #     $(mkdir_p) $(DESTDIR)$(somedir) 
     1880  #     so it does not work when $(somedir) is undefined and 
     1881  #     $(DESTDIR) is not. 
     1882  #  To support the latter case, we have to write 
     1883  #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir), 
     1884  #  so the `.' trick is pointless. 
     1885  mkdir_p='mkdir -p --' 
     1886else 
     1887  # On NextStep and OpenStep, the `mkdir' command does not 
     1888  # recognize any option.  It will interpret all options as 
     1889  # directories to create, and then abort because `.' already 
     1890  # exists. 
     1891  for d in ./-p ./--version; 
     1892  do 
     1893    test -d $d && rmdir $d 
     1894  done 
     1895  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. 
     1896  if test -f "$ac_aux_dir/mkinstalldirs"; then 
     1897    mkdir_p='$(mkinstalldirs)' 
    19021898  else 
    1903     # As a last resort, use the slow shell script.  Don't cache a 
    1904     # value for MKDIR_P within a source directory, because that will 
    1905     # break other packages using the cache if that directory is 
    1906     # removed, or if the value is a relative name. 
    1907     test -d ./--version && rmdir ./--version 
    1908     MKDIR_P="$ac_install_sh -d" 
     1899    mkdir_p='$(install_sh) -d' 
    19091900  fi 
    19101901fi 
    1911 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5 
    1912 echo "${ECHO_T}$MKDIR_P" >&6; } 
    1913  
    1914 mkdir_p="$MKDIR_P" 
    1915 case $mkdir_p in 
    1916   [\\/$]* | ?:[\\/]*) ;; 
    1917   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 
    1918 esac 
    19191902 
    19201903for ac_prog in gawk mawk nawk awk 
     
    19991982rmdir .tst 2>/dev/null 
    20001983 
    2001 if test "`cd $srcdir && pwd`" != "`pwd`"; then 
    2002   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 
    2003   # is not polluted with repeated "-I." 
    2004   am__isrc=' -I$(srcdir)' 
    2005   # test to see if srcdir already configured 
    2006   if test -f $srcdir/config.status; then 
    2007     { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 
     1984# test to see if srcdir already configured 
     1985if test "`cd $srcdir && pwd`" != "`pwd`" && 
     1986   test -f $srcdir/config.status; then 
     1987  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 
    20081988echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} 
    20091989   { (exit 1); exit 1; }; } 
    2010   fi 
    20111990fi 
    20121991 
     
    20512030MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 
    20522031 
    2053 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"} 
     2032install_sh=${install_sh-"$am_aux_dir/install-sh"} 
    20542033 
    20552034# Installed binaries are usually stripped using `strip' when the user 
     
    21552134 
    21562135fi 
    2157 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 
     2136INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" 
    21582137 
    21592138# We need awk for the "check" target.  The system "awk" is bad on 
     
    21702149 
    21712150 
    2172 CFLAGS="-Wall -O3" 
     2151CFLAGS="-Wall -O3 -msse2" 
    21732152 
    21742153 
     
    21762155if test "${enable_debug+set}" = set; then 
    21772156  enableval=$enable_debug; if test x$enableval = xyes; then 
    2178     CFLAGS="-Wall -ggdb -O2" 
     2157    CFLAGS="-Wall -ggdb -O2 -msse2" 
    21792158fi 
    21802159fi 
     
    21902169 
    21912170fi 
    2192  
    2193  
    2194 # Make sure we can run config.sub. 
    2195 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 
    2196   { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 
    2197 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} 
    2198    { (exit 1); exit 1; }; } 
    2199  
    2200 { echo "$as_me:$LINENO: checking build system type" >&5 
    2201 echo $ECHO_N "checking build system type... $ECHO_C" >&6; } 
    2202 if test "${ac_cv_build+set}" = set; then 
    2203   echo $ECHO_N "(cached) $ECHO_C" >&6 
    2204 else 
    2205   ac_build_alias=$build_alias 
    2206 test "x$ac_build_alias" = x && 
    2207   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 
    2208 test "x$ac_build_alias" = x && 
    2209   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 
    2210 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 
    2211    { (exit 1); exit 1; }; } 
    2212 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 
    2213   { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 
    2214 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 
    2215    { (exit 1); exit 1; }; } 
    2216  
    2217 fi 
    2218 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5 
    2219 echo "${ECHO_T}$ac_cv_build" >&6; } 
    2220 case $ac_cv_build in 
    2221 *-*-*) ;; 
    2222 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 
    2223 echo "$as_me: error: invalid value of canonical build" >&2;} 
    2224    { (exit 1); exit 1; }; };; 
    2225 esac 
    2226 build=$ac_cv_build 
    2227 ac_save_IFS=$IFS; IFS='-' 
    2228 set x $ac_cv_build 
    2229 shift 
    2230 build_cpu=$1 
    2231 build_vendor=$2 
    2232 shift; shift 
    2233 # Remember, the first character of IFS is used to create $*, 
    2234 # except with old shells: 
    2235 build_os=$* 
    2236 IFS=$ac_save_IFS 
    2237 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 
    2238  
    2239  
    2240 { echo "$as_me:$LINENO: checking host system type" >&5 
    2241 echo $ECHO_N "checking host system type... $ECHO_C" >&6; } 
    2242 if test "${ac_cv_host+set}" = set; then 
    2243   echo $ECHO_N "(cached) $ECHO_C" >&6 
    2244 else 
    2245   if test "x$host_alias" = x; then 
    2246   ac_cv_host=$ac_cv_build 
    2247 else 
    2248   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 
    2249     { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 
    2250 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} 
    2251    { (exit 1); exit 1; }; } 
    2252 fi 
    2253  
    2254 fi 
    2255 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5 
    2256 echo "${ECHO_T}$ac_cv_host" >&6; } 
    2257 case $ac_cv_host in 
    2258 *-*-*) ;; 
    2259 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 
    2260 echo "$as_me: error: invalid value of canonical host" >&2;} 
    2261    { (exit 1); exit 1; }; };; 
    2262 esac 
    2263 host=$ac_cv_host 
    2264 ac_save_IFS=$IFS; IFS='-' 
    2265 set x $ac_cv_host 
    2266 shift 
    2267 host_cpu=$1 
    2268 host_vendor=$2 
    2269 shift; shift 
    2270 # Remember, the first character of IFS is used to create $*, 
    2271 # except with old shells: 
    2272 host_os=$* 
    2273 IFS=$ac_save_IFS 
    2274 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 
    2275  
    2276  
    2277 if test x"$useopengl" = xtrue; then 
    2278 case $host_os in 
    2279   darwin* ) 
    2280     echo Darwin 
    2281     LDFLAGS="$LDFLAGS -framework OpenGL -framework GLUT" 
    2282   ;; 
    2283   *) 
    2284     echo Not Darwin 
    2285     LDFLAGS="$LDFLAGS -lgl -lglut" 
    2286   ;; 
    2287 esac 
    2288 fi 
    2289  
    22902171 
    22912172 
     
    33573238  AMDEPBACKSLASH='\' 
    33583239fi 
    3359  if test "x$enable_dependency_tracking" != xno; then 
     3240 
     3241 
     3242if test "x$enable_dependency_tracking" != xno; then 
    33603243  AMDEP_TRUE= 
    33613244  AMDEP_FALSE='#' 
     
    33643247  AMDEP_FALSE= 
    33653248fi 
     3249 
    33663250 
    33673251 
     
    34343318       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ 
    34353319         >/dev/null 2>conftest.err && 
    3436        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 
    34373320       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 
    34383321       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && 
     
    34643347CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 
    34653348 
    3466  if 
     3349 
     3350 
     3351if 
    34673352  test "x$enable_dependency_tracking" != xno \ 
    34683353  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 
     
    34723357  am__fastdepCC_TRUE='#' 
    34733358  am__fastdepCC_FALSE= 
     3359fi 
     3360 
     3361 
     3362 
     3363 
     3364# Make sure we can run config.sub. 
     3365$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 
     3366  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 
     3367echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} 
     3368   { (exit 1); exit 1; }; } 
     3369 
     3370{ echo "$as_me:$LINENO: checking build system type" >&5 
     3371echo $ECHO_N "checking build system type... $ECHO_C" >&6; } 
     3372if test "${ac_cv_build+set}" = set; then 
     3373  echo $ECHO_N "(cached) $ECHO_C" >&6 
     3374else 
     3375  ac_build_alias=$build_alias 
     3376test "x$ac_build_alias" = x && 
     3377  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 
     3378test "x$ac_build_alias" = x && 
     3379  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 
     3380echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 
     3381   { (exit 1); exit 1; }; } 
     3382ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 
     3383  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 
     3384echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 
     3385   { (exit 1); exit 1; }; } 
     3386 
     3387fi 
     3388{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5 
     3389echo "${ECHO_T}$ac_cv_build" >&6; } 
     3390case $ac_cv_build in 
     3391*-*-*) ;; 
     3392*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 
     3393echo "$as_me: error: invalid value of canonical build" >&2;} 
     3394   { (exit 1); exit 1; }; };; 
     3395esac 
     3396build=$ac_cv_build 
     3397ac_save_IFS=$IFS; IFS='-' 
     3398set x $ac_cv_build 
     3399shift 
     3400build_cpu=$1 
     3401build_vendor=$2 
     3402shift; shift 
     3403# Remember, the first character of IFS is used to create $*, 
     3404# except with old shells: 
     3405build_os=$* 
     3406IFS=$ac_save_IFS 
     3407case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 
     3408 
     3409 
     3410{ echo "$as_me:$LINENO: checking host system type" >&5 
     3411echo $ECHO_N "checking host system type... $ECHO_C" >&6; } 
     3412if test "${ac_cv_host+set}" = set; then 
     3413  echo $ECHO_N "(cached) $ECHO_C" >&6 
     3414else 
     3415  if test "x$host_alias" = x; then 
     3416  ac_cv_host=$ac_cv_build 
     3417else 
     3418  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 
     3419    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 
     3420echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} 
     3421   { (exit 1); exit 1; }; } 
     3422fi 
     3423 
     3424fi 
     3425{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5 
     3426echo "${ECHO_T}$ac_cv_host" >&6; } 
     3427case $ac_cv_host in 
     3428*-*-*) ;; 
     3429*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 
     3430echo "$as_me: error: invalid value of canonical host" >&2;} 
     3431   { (exit 1); exit 1; }; };; 
     3432esac 
     3433host=$ac_cv_host 
     3434ac_save_IFS=$IFS; IFS='-' 
     3435set x $ac_cv_host 
     3436shift 
     3437host_cpu=$1 
     3438host_vendor=$2 
     3439shift; shift 
     3440# Remember, the first character of IFS is used to create $*, 
     3441# except with old shells: 
     3442host_os=$* 
     3443IFS=$ac_save_IFS 
     3444case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 
     3445 
     3446 
     3447if test x"$useopengl" = xtrue; then 
     3448case $host_os in 
     3449  darwin* ) 
     3450    echo Darwin 
     3451    LDFLAGS="$LDFLAGS -framework OpenGL -framework GLUT" 
     3452  ;; 
     3453  *) 
     3454    echo Not Darwin 
     3455    LDFLAGS="$LDFLAGS -lGL -lglut" 
     3456  ;; 
     3457esac 
    34743458fi 
    34753459 
     
    39833967srcdir='$srcdir' 
    39843968INSTALL='$INSTALL' 
    3985 MKDIR_P='$MKDIR_P' 
    39863969_ACEOF 
    39873970 
     
    41804163INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim 
    41814164INSTALL_DATA!$INSTALL_DATA$ac_delim 
    4182 am__isrc!$am__isrc$ac_delim 
    41834165CYGPATH_W!$CYGPATH_W$ac_delim 
    41844166PACKAGE!$PACKAGE$ac_delim 
     
    41994181am__tar!$am__tar$ac_delim 
    42004182am__untar!$am__untar$ac_delim 
    4201 build!$build$ac_delim 
    4202 build_cpu!$build_cpu$ac_delim 
    4203 build_vendor!$build_vendor$ac_delim 
    4204 build_os!$build_os$ac_delim 
    4205 host!$host$ac_delim 
    4206 host_cpu!$host_cpu$ac_delim 
    4207 host_vendor!$host_vendor$ac_delim 
    4208 host_os!$host_os$ac_delim 
    42094183RANLIB!$RANLIB$ac_delim 
    42104184CC!$CC$ac_delim 
     
    42244198am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim 
    42254199am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim 
     4200build!$build$ac_delim 
     4201build_cpu!$build_cpu$ac_delim 
     4202build_vendor!$build_vendor$ac_delim 
     4203build_os!$build_os$ac_delim 
     4204host!$host$ac_delim 
     4205host_cpu!$host_cpu$ac_delim 
     4206host_vendor!$host_vendor$ac_delim 
     4207host_os!$host_os$ac_delim 
    42264208LIBOBJS!$LIBOBJS$ac_delim 
    42274209LTLIBOBJS!$LTLIBOBJS$ac_delim 
    42284210_ACEOF 
    42294211 
    4230   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 86; then 
     4212  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 85; then 
    42314213    break 
    42324214  elif $ac_last_try; then 
     
    44554437  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 
    44564438  esac 
    4457   ac_MKDIR_P=$MKDIR_P 
    4458   case $MKDIR_P in 
    4459   [\\/$]* | ?:[\\/]* ) ;; 
    4460   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 
    4461   esac 
    44624439_ACEOF 
    44634440 
     
    45134490s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 
    45144491s&@INSTALL@&$ac_INSTALL&;t t 
    4515 s&@MKDIR_P@&$ac_MKDIR_P&;t t 
    45164492$ac_datarootdir_hack 
    45174493" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out 
     
    45484524  # Grep'ing the first line is not enough: some people post-process 
    45494525  # each Makefile.in and add a new line on top of each file to say so. 
    4550   # Grep'ing the whole file is not good either: AIX grep has a line 
    4551   # limit of 2048, but all sed's we know have understand at least 4000. 
    4552   if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then 
     4526  # So let's grep whole file. 
     4527  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then 
    45534528    dirpart=`$as_dirname -- "$mf" || 
    45544529$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 
  • trunk/configure.in

    r23 r31  
    44AM_INIT_AUTOMAKE(lifeglut,0.1) 
    55 
    6 CFLAGS="-Wall -O3" 
     6CFLAGS="-Wall -O3 -msse2" 
    77 
    88 
     
    1010[  compiles with debugging info], 
    1111[if test x$enableval = xyes; then 
    12     CFLAGS="-Wall -ggdb -O2" 
     12    CFLAGS="-Wall -ggdb -O2 -msse2" 
    1313fi]) 
    1414 
     
    2121) 
    2222 
     23AC_PROG_RANLIB 
     24AC_PROG_CC 
     25 
     26 
    2327AC_CANONICAL_HOST 
    2428if test x"$useopengl" = xtrue; then 
     
    3034  *) 
    3135    echo Not Darwin 
    32     LDFLAGS="$LDFLAGS -lgl -lglut" 
     36    LDFLAGS="$LDFLAGS -lGL -lglut" 
    3337  ;; 
    3438esac 
     
    3640 
    3741 
    38  
    39 AC_PROG_RANLIB 
    40 AC_PROG_CC 
    4142 
    4243if test x"$CC" = xicc; then