Changeset 31
- Timestamp:
- 08/09/07 02:38:23 (5 years ago)
- Location:
- trunk
- Files:
-
- 1 added
- 3 modified
-
Makefile.in (modified) (23 diffs)
-
configure (modified) (23 diffs)
-
configure.in (modified) (5 diffs)
-
install-sh (added)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Makefile.in
r27 r31 1 # Makefile.in generated by automake 1. 10from Makefile.am.1 # Makefile.in generated by automake 1.9.6 from Makefile.am. 2 2 # @configure_input@ 3 3 4 4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 5 # 2003, 2004, 2005 , 2006Free Software Foundation, Inc.5 # 2003, 2004, 2005 Free Software Foundation, Inc. 6 6 # This Makefile.in is free software; the Free Software Foundation 7 7 # gives unlimited permission to copy and/or distribute it, … … 16 16 17 17 18 srcdir = @srcdir@ 19 top_srcdir = @top_srcdir@ 18 20 VPATH = @srcdir@ 19 21 pkgdatadir = $(datadir)/@PACKAGE@ 20 22 pkglibdir = $(libdir)/@PACKAGE@ 21 23 pkgincludedir = $(includedir)/@PACKAGE@ 24 top_builddir = . 22 25 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd 26 INSTALL = @INSTALL@ 23 27 install_sh_DATA = $(install_sh) -c -m 644 24 28 install_sh_PROGRAM = $(install_sh) -c … … 36 40 bin_PROGRAMS = lifeglut$(EXEEXT) lifeconsole$(EXEEXT) \ 37 41 lifebench$(EXEEXT) 38 subdir = .39 42 DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \ 40 43 $(srcdir)/Makefile.in $(top_srcdir)/configure AUTHORS COPYING \ 41 44 ChangeLog INSTALL NEWS config.guess config.sub depcomp \ 42 45 install-sh missing 46 subdir = . 43 47 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 44 48 am__aclocal_m4_deps = $(top_srcdir)/configure.in … … 46 50 $(ACLOCAL_M4) 47 51 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ 48 configure.lineno config .status.lineno52 configure.lineno configure.status.lineno 49 53 mkinstalldirs = $(install_sh) -d 50 54 CONFIG_CLEAN_FILES = … … 75 79 lifeglut_OBJECTS = $(am_lifeglut_OBJECTS) 76 80 lifeglut_DEPENDENCIES = liblife.a 77 DEFAULT_INCLUDES = -I. @am__isrc@81 DEFAULT_INCLUDES = -I. -I$(srcdir) 78 82 depcomp = $(SHELL) $(top_srcdir)/depcomp 79 83 am__depfiles_maybe = depfiles … … 100 104 distcleancheck_listfiles = find . -type f -print 101 105 ACLOCAL = @ACLOCAL@ 106 AMDEP_FALSE = @AMDEP_FALSE@ 107 AMDEP_TRUE = @AMDEP_TRUE@ 102 108 AMTAR = @AMTAR@ 103 109 AUTOCONF = @AUTOCONF@ … … 116 122 ECHO_T = @ECHO_T@ 117 123 EXEEXT = @EXEEXT@ 118 INSTALL = @INSTALL@119 124 INSTALL_DATA = @INSTALL_DATA@ 120 125 INSTALL_PROGRAM = @INSTALL_PROGRAM@ … … 126 131 LTLIBOBJS = @LTLIBOBJS@ 127 132 MAKEINFO = @MAKEINFO@ 128 MKDIR_P = @MKDIR_P@129 133 OBJEXT = @OBJEXT@ 130 134 PACKAGE = @PACKAGE@ … … 140 144 STRIP = @STRIP@ 141 145 VERSION = @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@146 146 ac_ct_CC = @ac_ct_CC@ 147 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ 148 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ 147 149 am__include = @am__include@ 148 150 am__leading_dot = @am__leading_dot@ … … 156 158 build_os = @build_os@ 157 159 build_vendor = @build_vendor@ 158 builddir = @builddir@159 160 datadir = @datadir@ 160 161 datarootdir = @datarootdir@ … … 184 185 sbindir = @sbindir@ 185 186 sharedstatedir = @sharedstatedir@ 186 srcdir = @srcdir@187 187 sysconfdir = @sysconfdir@ 188 188 target_alias = @target_alias@ 189 top_builddir = @top_builddir@190 top_srcdir = @top_srcdir@191 189 lib_LIBRARIES = liblife.a 192 190 liblife_a_SOURCES = block.c helpers.c … … 236 234 install-libLIBRARIES: $(lib_LIBRARIES) 237 235 @$(NORMAL_INSTALL) 238 test -z "$(libdir)" || $( MKDIR_P) "$(DESTDIR)$(libdir)"236 test -z "$(libdir)" || $(mkdir_p) "$(DESTDIR)$(libdir)" 239 237 @list='$(lib_LIBRARIES)'; for p in $$list; do \ 240 238 if test -f $$p; then \ … … 269 267 install-binPROGRAMS: $(bin_PROGRAMS) 270 268 @$(NORMAL_INSTALL) 271 test -z "$(bindir)" || $( MKDIR_P) "$(DESTDIR)$(bindir)"269 test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)" 272 270 @list='$(bin_PROGRAMS)'; for p in $$list; do \ 273 271 p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ … … 292 290 lifebench$(EXEEXT): $(lifebench_OBJECTS) $(lifebench_DEPENDENCIES) 293 291 @rm -f lifebench$(EXEEXT) 294 $(LINK) $(lifebench_ OBJECTS) $(lifebench_LDADD) $(LIBS)292 $(LINK) $(lifebench_LDFLAGS) $(lifebench_OBJECTS) $(lifebench_LDADD) $(LIBS) 295 293 lifeconsole$(EXEEXT): $(lifeconsole_OBJECTS) $(lifeconsole_DEPENDENCIES) 296 294 @rm -f lifeconsole$(EXEEXT) 297 $(LINK) $(lifeconsole_ OBJECTS) $(lifeconsole_LDADD) $(LIBS)295 $(LINK) $(lifeconsole_LDFLAGS) $(lifeconsole_OBJECTS) $(lifeconsole_LDADD) $(LIBS) 298 296 lifeglut$(EXEEXT): $(lifeglut_OBJECTS) $(lifeglut_DEPENDENCIES) 299 297 @rm -f lifeglut$(EXEEXT) 300 $(LINK) $(lifeglut_ OBJECTS) $(lifeglut_LDADD) $(LIBS)298 $(LINK) $(lifeglut_LDFLAGS) $(lifeglut_OBJECTS) $(lifeglut_LDADD) $(LIBS) 301 299 302 300 mostlyclean-compile: … … 313 311 314 312 .c.o: 315 @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<316 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po313 @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 317 315 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ 318 316 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ … … 320 318 321 319 .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)/$*.Po320 @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 324 322 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ 325 323 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 326 324 @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` 325 uninstall-info-am: 327 326 328 327 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) … … 376 375 distdir: $(DISTFILES) 377 376 $(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; \ 391 385 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; \ 392 393 if test -d $$d/$$file; then \ 393 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \394 394 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ 395 395 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ … … 405 405 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ 406 406 ! -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 {} {} \; \ 408 408 || chmod -R a+r $(distdir) 409 409 dist-gzip: distdir … … 480 480 @(echo "$(distdir) archives ready for distribution: "; \ 481 481 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;}' 483 483 distuninstallcheck: 484 484 @cd $(distuninstallcheck_dir) \ … … 504 504 installdirs: 505 505 for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)"; do \ 506 test -z "$$dir" || $( MKDIR_P) "$$dir"; \506 test -z "$$dir" || $(mkdir_p) "$$dir"; \ 507 507 done 508 508 install: install-am … … 554 554 install-data-am: 555 555 556 install-dvi: install-dvi-am557 558 556 install-exec-am: install-binPROGRAMS install-libLIBRARIES 559 557 560 install-html: install-html-am561 562 558 install-info: install-info-am 563 559 564 560 install-man: 565 566 install-pdf: install-pdf-am567 568 install-ps: install-ps-am569 561 570 562 installcheck-am: … … 589 581 ps-am: 590 582 591 uninstall-am: uninstall-binPROGRAMS uninstall-libLIBRARIES 592 593 .MAKE: install-am install-strip 583 uninstall-am: uninstall-binPROGRAMS uninstall-info-am \ 584 uninstall-libLIBRARIES 594 585 595 586 .PHONY: CTAGS GTAGS all all-am am--refresh check check-am clean \ … … 599 590 distclean-tags distcleancheck distdir distuninstallcheck dvi \ 600 591 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 \ 606 595 installcheck-am installdirs maintainer-clean \ 607 596 maintainer-clean-generic mostlyclean mostlyclean-compile \ 608 597 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 610 600 611 601 # Tell versions [3.59,3.63) of GNU make to not export all variables. -
trunk/configure
r23 r31 618 618 INSTALL_SCRIPT 619 619 INSTALL_DATA 620 am__isrc621 620 CYGPATH_W 622 621 PACKAGE … … 637 636 am__tar 638 637 am__untar 639 build640 build_cpu641 build_vendor642 build_os643 host644 host_cpu645 host_vendor646 host_os647 638 RANLIB 648 639 CC … … 662 653 am__fastdepCC_TRUE 663 654 am__fastdepCC_FALSE 655 build 656 build_cpu 657 build_vendor 658 build_os 659 host 660 host_cpu 661 host_vendor 662 host_os 664 663 LIBOBJS 665 664 LTLIBOBJS' … … 1686 1685 1687 1686 1688 am__api_version='1.10' 1689 1687 am__api_version="1.9" 1690 1688 ac_aux_dir= 1691 1689 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do … … 1870 1868 fi 1871 1869 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" 1870 if 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 --' 1886 else 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)' 1902 1898 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' 1909 1900 fi 1910 1901 fi 1911 { echo "$as_me:$LINENO: result: $MKDIR_P" >&51912 echo "${ECHO_T}$MKDIR_P" >&6; }1913 1914 mkdir_p="$MKDIR_P"1915 case $mkdir_p in1916 [\\/$]* | ?:[\\/]*) ;;1917 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;1918 esac1919 1902 1920 1903 for ac_prog in gawk mawk nawk awk … … 1999 1982 rmdir .tst 2>/dev/null 2000 1983 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 1985 if 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 2008 1988 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} 2009 1989 { (exit 1); exit 1; }; } 2010 fi2011 1990 fi 2012 1991 … … 2051 2030 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2052 2031 2053 install_sh=${install_sh-" \$(SHELL)$am_aux_dir/install-sh"}2032 install_sh=${install_sh-"$am_aux_dir/install-sh"} 2054 2033 2055 2034 # Installed binaries are usually stripped using `strip' when the user … … 2155 2134 2156 2135 fi 2157 INSTALL_STRIP_PROGRAM="\$ (install_sh) -c -s"2136 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" 2158 2137 2159 2138 # We need awk for the "check" target. The system "awk" is bad on … … 2170 2149 2171 2150 2172 CFLAGS="-Wall -O3 "2151 CFLAGS="-Wall -O3 -msse2" 2173 2152 2174 2153 … … 2176 2155 if test "${enable_debug+set}" = set; then 2177 2156 enableval=$enable_debug; if test x$enableval = xyes; then 2178 CFLAGS="-Wall -ggdb -O2 "2157 CFLAGS="-Wall -ggdb -O2 -msse2" 2179 2158 fi 2180 2159 fi … … 2190 2169 2191 2170 fi 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" >&52197 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" >&52201 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }2202 if test "${ac_cv_build+set}" = set; then2203 echo $ECHO_N "(cached) $ECHO_C" >&62204 else2205 ac_build_alias=$build_alias2206 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" >&52210 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" >&52214 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}2215 { (exit 1); exit 1; }; }2216 2217 fi2218 { echo "$as_me:$LINENO: result: $ac_cv_build" >&52219 echo "${ECHO_T}$ac_cv_build" >&6; }2220 case $ac_cv_build in2221 *-*-*) ;;2222 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&52223 echo "$as_me: error: invalid value of canonical build" >&2;}2224 { (exit 1); exit 1; }; };;2225 esac2226 build=$ac_cv_build2227 ac_save_IFS=$IFS; IFS='-'2228 set x $ac_cv_build2229 shift2230 build_cpu=$12231 build_vendor=$22232 shift; shift2233 # Remember, the first character of IFS is used to create $*,2234 # except with old shells:2235 build_os=$*2236 IFS=$ac_save_IFS2237 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac2238 2239 2240 { echo "$as_me:$LINENO: checking host system type" >&52241 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }2242 if test "${ac_cv_host+set}" = set; then2243 echo $ECHO_N "(cached) $ECHO_C" >&62244 else2245 if test "x$host_alias" = x; then2246 ac_cv_host=$ac_cv_build2247 else2248 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" >&52250 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}2251 { (exit 1); exit 1; }; }2252 fi2253 2254 fi2255 { echo "$as_me:$LINENO: result: $ac_cv_host" >&52256 echo "${ECHO_T}$ac_cv_host" >&6; }2257 case $ac_cv_host in2258 *-*-*) ;;2259 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&52260 echo "$as_me: error: invalid value of canonical host" >&2;}2261 { (exit 1); exit 1; }; };;2262 esac2263 host=$ac_cv_host2264 ac_save_IFS=$IFS; IFS='-'2265 set x $ac_cv_host2266 shift2267 host_cpu=$12268 host_vendor=$22269 shift; shift2270 # Remember, the first character of IFS is used to create $*,2271 # except with old shells:2272 host_os=$*2273 IFS=$ac_save_IFS2274 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac2275 2276 2277 if test x"$useopengl" = xtrue; then2278 case $host_os in2279 darwin* )2280 echo Darwin2281 LDFLAGS="$LDFLAGS -framework OpenGL -framework GLUT"2282 ;;2283 *)2284 echo Not Darwin2285 LDFLAGS="$LDFLAGS -lgl -lglut"2286 ;;2287 esac2288 fi2289 2290 2171 2291 2172 … … 3357 3238 AMDEPBACKSLASH='\' 3358 3239 fi 3359 if test "x$enable_dependency_tracking" != xno; then 3240 3241 3242 if test "x$enable_dependency_tracking" != xno; then 3360 3243 AMDEP_TRUE= 3361 3244 AMDEP_FALSE='#' … … 3364 3247 AMDEP_FALSE= 3365 3248 fi 3249 3366 3250 3367 3251 … … 3434 3318 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ 3435 3319 >/dev/null 2>conftest.err && 3436 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&3437 3320 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3438 3321 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && … … 3464 3347 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 3465 3348 3466 if 3349 3350 3351 if 3467 3352 test "x$enable_dependency_tracking" != xno \ 3468 3353 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then … … 3472 3357 am__fastdepCC_TRUE='#' 3473 3358 am__fastdepCC_FALSE= 3359 fi 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 3367 echo "$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 3371 echo $ECHO_N "checking build system type... $ECHO_C" >&6; } 3372 if test "${ac_cv_build+set}" = set; then 3373 echo $ECHO_N "(cached) $ECHO_C" >&6 3374 else 3375 ac_build_alias=$build_alias 3376 test "x$ac_build_alias" = x && 3377 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 3378 test "x$ac_build_alias" = x && 3379 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 3380 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 3381 { (exit 1); exit 1; }; } 3382 ac_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 3384 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 3385 { (exit 1); exit 1; }; } 3386 3387 fi 3388 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5 3389 echo "${ECHO_T}$ac_cv_build" >&6; } 3390 case $ac_cv_build in 3391 *-*-*) ;; 3392 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 3393 echo "$as_me: error: invalid value of canonical build" >&2;} 3394 { (exit 1); exit 1; }; };; 3395 esac 3396 build=$ac_cv_build 3397 ac_save_IFS=$IFS; IFS='-' 3398 set x $ac_cv_build 3399 shift 3400 build_cpu=$1 3401 build_vendor=$2 3402 shift; shift 3403 # Remember, the first character of IFS is used to create $*, 3404 # except with old shells: 3405 build_os=$* 3406 IFS=$ac_save_IFS 3407 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 3408 3409 3410 { echo "$as_me:$LINENO: checking host system type" >&5 3411 echo $ECHO_N "checking host system type... $ECHO_C" >&6; } 3412 if test "${ac_cv_host+set}" = set; then 3413 echo $ECHO_N "(cached) $ECHO_C" >&6 3414 else 3415 if test "x$host_alias" = x; then 3416 ac_cv_host=$ac_cv_build 3417 else 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 3420 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} 3421 { (exit 1); exit 1; }; } 3422 fi 3423 3424 fi 3425 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5 3426 echo "${ECHO_T}$ac_cv_host" >&6; } 3427 case $ac_cv_host in 3428 *-*-*) ;; 3429 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 3430 echo "$as_me: error: invalid value of canonical host" >&2;} 3431 { (exit 1); exit 1; }; };; 3432 esac 3433 host=$ac_cv_host 3434 ac_save_IFS=$IFS; IFS='-' 3435 set x $ac_cv_host 3436 shift 3437 host_cpu=$1 3438 host_vendor=$2 3439 shift; shift 3440 # Remember, the first character of IFS is used to create $*, 3441 # except with old shells: 3442 host_os=$* 3443 IFS=$ac_save_IFS 3444 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 3445 3446 3447 if test x"$useopengl" = xtrue; then 3448 case $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 ;; 3457 esac 3474 3458 fi 3475 3459 … … 3983 3967 srcdir='$srcdir' 3984 3968 INSTALL='$INSTALL' 3985 MKDIR_P='$MKDIR_P'3986 3969 _ACEOF 3987 3970 … … 4180 4163 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim 4181 4164 INSTALL_DATA!$INSTALL_DATA$ac_delim 4182 am__isrc!$am__isrc$ac_delim4183 4165 CYGPATH_W!$CYGPATH_W$ac_delim 4184 4166 PACKAGE!$PACKAGE$ac_delim … … 4199 4181 am__tar!$am__tar$ac_delim 4200 4182 am__untar!$am__untar$ac_delim 4201 build!$build$ac_delim4202 build_cpu!$build_cpu$ac_delim4203 build_vendor!$build_vendor$ac_delim4204 build_os!$build_os$ac_delim4205 host!$host$ac_delim4206 host_cpu!$host_cpu$ac_delim4207 host_vendor!$host_vendor$ac_delim4208 host_os!$host_os$ac_delim4209 4183 RANLIB!$RANLIB$ac_delim 4210 4184 CC!$CC$ac_delim … … 4224 4198 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim 4225 4199 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim 4200 build!$build$ac_delim 4201 build_cpu!$build_cpu$ac_delim 4202 build_vendor!$build_vendor$ac_delim 4203 build_os!$build_os$ac_delim 4204 host!$host$ac_delim 4205 host_cpu!$host_cpu$ac_delim 4206 host_vendor!$host_vendor$ac_delim 4207 host_os!$host_os$ac_delim 4226 4208 LIBOBJS!$LIBOBJS$ac_delim 4227 4209 LTLIBOBJS!$LTLIBOBJS$ac_delim 4228 4210 _ACEOF 4229 4211 4230 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 8 6; then4212 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 85; then 4231 4213 break 4232 4214 elif $ac_last_try; then … … 4455 4437 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 4456 4438 esac 4457 ac_MKDIR_P=$MKDIR_P4458 case $MKDIR_P in4459 [\\/$]* | ?:[\\/]* ) ;;4460 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;4461 esac4462 4439 _ACEOF 4463 4440 … … 4513 4490 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 4514 4491 s&@INSTALL@&$ac_INSTALL&;t t 4515 s&@MKDIR_P@&$ac_MKDIR_P&;t t4516 4492 $ac_datarootdir_hack 4517 4493 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out … … 4548 4524 # Grep'ing the first line is not enough: some people post-process 4549 4525 # 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 4553 4528 dirpart=`$as_dirname -- "$mf" || 4554 4529 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ -
trunk/configure.in
r23 r31 4 4 AM_INIT_AUTOMAKE(lifeglut,0.1) 5 5 6 CFLAGS="-Wall -O3 "6 CFLAGS="-Wall -O3 -msse2" 7 7 8 8 … … 10 10 [ compiles with debugging info], 11 11 [if test x$enableval = xyes; then 12 CFLAGS="-Wall -ggdb -O2 "12 CFLAGS="-Wall -ggdb -O2 -msse2" 13 13 fi]) 14 14 … … 21 21 ) 22 22 23 AC_PROG_RANLIB 24 AC_PROG_CC 25 26 23 27 AC_CANONICAL_HOST 24 28 if test x"$useopengl" = xtrue; then … … 30 34 *) 31 35 echo Not Darwin 32 LDFLAGS="$LDFLAGS -l gl-lglut"36 LDFLAGS="$LDFLAGS -lGL -lglut" 33 37 ;; 34 38 esac … … 36 40 37 41 38 39 AC_PROG_RANLIB40 AC_PROG_CC41 42 42 43 if test x"$CC" = xicc; then
