Changeset 2993 in orxonox.OLD for orxonox/branches
- Timestamp:
- Nov 26, 2004, 1:57:22 PM (20 years ago)
- Location:
- orxonox/branches/osX
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/osX/Makefile.in
r2985 r2993 1 # Makefile.in generated by automake 1. 7.6from Makefile.am.1 # Makefile.in generated by automake 1.8.5 from Makefile.am. 2 2 # @configure_input@ 3 3 4 # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 20035 # Free Software Foundation, Inc.4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 5 # 2003, 2004 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, … … 14 14 15 15 @SET_MAKE@ 16 17 16 srcdir = @srcdir@ 18 17 top_srcdir = @top_srcdir@ … … 22 21 pkgincludedir = $(includedir)/@PACKAGE@ 23 22 top_builddir = . 24 25 23 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd 26 24 INSTALL = @INSTALL@ … … 37 35 POST_UNINSTALL = : 38 36 host_triplet = @host@ 37 DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \ 38 $(srcdir)/Makefile.in $(srcdir)/config.h.in \ 39 $(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL NEWS \ 40 TODO config.guess config.sub depcomp install-sh missing \ 41 mkinstalldirs 42 subdir = . 43 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 44 am__aclocal_m4_deps = $(top_srcdir)/configure.ac 45 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ 46 $(ACLOCAL_M4) 47 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ 48 configure.lineno configure.status.lineno 49 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs 50 CONFIG_HEADER = config.h 51 CONFIG_CLEAN_FILES = 52 SOURCES = 53 DIST_SOURCES = 54 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ 55 html-recursive info-recursive install-data-recursive \ 56 install-exec-recursive install-info-recursive \ 57 install-recursive installcheck-recursive installdirs-recursive \ 58 pdf-recursive ps-recursive uninstall-info-recursive \ 59 uninstall-recursive 60 ETAGS = etags 61 CTAGS = ctags 62 DIST_SUBDIRS = $(SUBDIRS) 63 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) 64 distdir = $(PACKAGE)-$(VERSION) 65 top_distdir = $(distdir) 66 am__remove_distdir = \ 67 { test ! -d $(distdir) \ 68 || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \ 69 && rm -fr $(distdir); }; } 70 DIST_ARCHIVES = $(distdir).tar.gz 71 GZIP_ENV = --best 72 distuninstallcheck_listfiles = find . -type f -print 73 distcleancheck_listfiles = find . -type f -print 39 74 ACLOCAL = @ACLOCAL@ 40 75 AMDEP_FALSE = @AMDEP_FALSE@ … … 121 156 localstatedir = @localstatedir@ 122 157 mandir = @mandir@ 158 mkdir_p = @mkdir_p@ 123 159 oldincludedir = @oldincludedir@ 124 160 prefix = @prefix@ … … 133 169 target_vendor = @target_vendor@ 134 170 SUBDIRS = src console gui importer 135 subdir = .136 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4137 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs138 CONFIG_HEADER = config.h139 CONFIG_CLEAN_FILES =140 DIST_SOURCES =141 142 RECURSIVE_TARGETS = info-recursive dvi-recursive pdf-recursive \143 ps-recursive install-info-recursive uninstall-info-recursive \144 all-recursive install-data-recursive install-exec-recursive \145 installdirs-recursive install-recursive uninstall-recursive \146 check-recursive installcheck-recursive147 DIST_COMMON = README AUTHORS COPYING ChangeLog INSTALL Makefile.am \148 Makefile.in NEWS TODO aclocal.m4 config.guess config.h.in \149 config.sub configure configure.ac depcomp install-sh missing \150 mkinstalldirs151 DIST_SUBDIRS = $(SUBDIRS)152 171 all: config.h 153 172 $(MAKE) $(AM_MAKEFLAGS) all-recursive 154 173 155 174 .SUFFIXES: 156 157 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ 158 configure.lineno 159 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.ac $(ACLOCAL_M4) 175 am--refresh: 176 @: 177 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) 178 @for dep in $?; do \ 179 case '$(am__configure_deps)' in \ 180 *$$dep*) \ 181 echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \ 182 cd $(srcdir) && $(AUTOMAKE) --gnu \ 183 && exit 0; \ 184 exit 1;; \ 185 esac; \ 186 done; \ 187 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \ 160 188 cd $(top_srcdir) && \ 161 189 $(AUTOMAKE) --gnu Makefile 162 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 163 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe) 164 165 $(top_builddir)/config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) 190 .PRECIOUS: Makefile 191 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 192 @case '$?' in \ 193 *config.status*) \ 194 echo ' $(SHELL) ./config.status'; \ 195 $(SHELL) ./config.status;; \ 196 *) \ 197 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ 198 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ 199 esac; 200 201 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) 166 202 $(SHELL) ./config.status --recheck 167 $(srcdir)/configure: $(srcdir)/configure.ac $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) 203 204 $(top_srcdir)/configure: $(am__configure_deps) 168 205 cd $(srcdir) && $(AUTOCONF) 169 170 $(ACLOCAL_M4): configure.ac 206 $(ACLOCAL_M4): $(am__aclocal_m4_deps) 171 207 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) 172 208 … … 180 216 @rm -f stamp-h1 181 217 cd $(top_builddir) && $(SHELL) ./config.status config.h 182 183 $(srcdir)/config.h.in: $(top_srcdir)/configure.ac $(ACLOCAL_M4) 218 $(srcdir)/config.h.in: $(am__configure_deps) 184 219 cd $(top_srcdir) && $(AUTOHEADER) 185 touch $(srcdir)/config.h.in 220 rm -f stamp-h1 221 touch $@ 186 222 187 223 distclean-hdr: … … 248 284 done 249 285 250 ETAGS = etags251 ETAGSFLAGS =252 253 CTAGS = ctags254 CTAGSFLAGS =255 256 tags: TAGS257 258 286 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) 259 287 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ … … 264 292 END { for (i in files) print i; }'`; \ 265 293 mkid -fID $$unique 294 tags: TAGS 266 295 267 296 TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ … … 269 298 tags=; \ 270 299 here=`pwd`; \ 271 if ( etags--etags-include --version) >/dev/null 2>&1; then \300 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ 272 301 include_option=--etags-include; \ 302 empty_fix=.; \ 273 303 else \ 274 304 include_option=--include; \ 305 empty_fix=; \ 275 306 fi; \ 276 307 list='$(SUBDIRS)'; for subdir in $$list; do \ 277 308 if test "$$subdir" = .; then :; else \ 278 test -f $$subdir/TAGS &&\309 test ! -f $$subdir/TAGS || \ 279 310 tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \ 280 311 fi; \ … … 286 317 $(AWK) ' { files[$$0] = 1; } \ 287 318 END { for (i in files) print i; }'`; \ 288 test -z "$(ETAGS_ARGS)$$tags$$unique" \ 289 || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ 290 $$tags $$unique 291 319 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ 320 test -n "$$unique" || unique=$$empty_fix; \ 321 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ 322 $$tags $$unique; \ 323 fi 292 324 ctags: CTAGS 293 325 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ … … 312 344 distclean-tags: 313 345 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags 314 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)315 316 top_distdir = .317 distdir = $(PACKAGE)-$(VERSION)318 319 am__remove_distdir = \320 { test ! -d $(distdir) \321 || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \322 && rm -fr $(distdir); }; }323 324 GZIP_ENV = --best325 distuninstallcheck_listfiles = find . -type f -print326 distcleancheck_listfiles = find . -type f -print327 346 328 347 distdir: $(DISTFILES) … … 340 359 if test "$$dir" != "$$file" && test "$$dir" != "."; then \ 341 360 dir="/$$dir"; \ 342 $(mk installdirs) "$(distdir)$$dir"; \361 $(mkdir_p) "$(distdir)$$dir"; \ 343 362 else \ 344 363 dir=''; \ … … 357 376 list='$(SUBDIRS)'; for subdir in $$list; do \ 358 377 if test "$$subdir" = .; then :; else \ 359 test -d $(distdir)/$$subdir\360 || mkdir $(distdir)/$$subdir\378 test -d "$(distdir)/$$subdir" \ 379 || mkdir "$(distdir)/$$subdir" \ 361 380 || exit 1; \ 362 381 (cd $$subdir && \ 363 382 $(MAKE) $(AM_MAKEFLAGS) \ 364 top_distdir=" $(top_distdir)" \365 distdir= ../$(distdir)/$$subdir\383 top_distdir="../$(top_distdir)" \ 384 distdir="../$(distdir)/$$subdir" \ 366 385 distdir) \ 367 386 || exit 1; \ … … 377 396 $(am__remove_distdir) 378 397 398 dist-bzip2: distdir 399 $(AMTAR) chof - $(distdir) | bzip2 -9 -c >$(distdir).tar.bz2 400 $(am__remove_distdir) 401 402 dist-tarZ: distdir 403 $(AMTAR) chof - $(distdir) | compress -c >$(distdir).tar.Z 404 $(am__remove_distdir) 405 406 dist-shar: distdir 407 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz 408 $(am__remove_distdir) 409 410 dist-zip: distdir 411 -rm -f $(distdir).zip 412 zip -rq $(distdir).zip $(distdir) 413 $(am__remove_distdir) 414 379 415 dist dist-all: distdir 380 416 $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz … … 385 421 # tarfile. 386 422 distcheck: dist 387 $(am__remove_distdir) 388 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf - 423 case '$(DIST_ARCHIVES)' in \ 424 *.tar.gz*) \ 425 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf - ;;\ 426 *.tar.bz2*) \ 427 bunzip2 -c $(distdir).tar.bz2 | $(AMTAR) xf - ;;\ 428 *.tar.Z*) \ 429 uncompress -c $(distdir).tar.Z | $(AMTAR) xf - ;;\ 430 *.shar.gz*) \ 431 GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\ 432 *.zip*) \ 433 unzip $(distdir).zip ;;\ 434 esac 389 435 chmod -R a-w $(distdir); chmod a+w $(distdir) 390 436 mkdir $(distdir)/_build … … 406 452 && chmod -R a-w "$$dc_install_base" \ 407 453 && ({ \ 408 (cd ../.. && $(mkinstalldirs)"$$dc_destdir") \454 (cd ../.. && umask 077 && mkdir "$$dc_destdir") \ 409 455 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ 410 456 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ … … 413 459 } || { rm -rf "$$dc_destdir"; exit 1; }) \ 414 460 && rm -rf "$$dc_destdir" \ 415 && $(MAKE) $(AM_MAKEFLAGS) dist -gzip\416 && rm - f $(distdir).tar.gz\461 && $(MAKE) $(AM_MAKEFLAGS) dist \ 462 && rm -rf $(DIST_ARCHIVES) \ 417 463 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck 418 464 $(am__remove_distdir) 419 @echo "$(distdir).tar.gz is ready for distribution" | \ 420 sed 'h;s/./=/g;p;x;p;x' 465 @(echo "$(distdir) archives ready for distribution: "; \ 466 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ 467 sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}' 421 468 distuninstallcheck: 422 469 @cd $(distuninstallcheck_dir) \ … … 442 489 installdirs: installdirs-recursive 443 490 installdirs-am: 444 445 491 install: install-recursive 446 492 install-exec: install-exec-recursive … … 454 500 install-strip: 455 501 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ 456 INSTALL_STRIP_FLAG=-s \502 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ 457 503 `test -z '$(STRIP)' || \ 458 504 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install … … 462 508 463 509 distclean-generic: 464 -rm -f Makefile$(CONFIG_CLEAN_FILES)510 -rm -f $(CONFIG_CLEAN_FILES) 465 511 466 512 maintainer-clean-generic: … … 473 519 distclean: distclean-recursive 474 520 -rm -f $(am__CONFIG_DISTCLEAN_FILES) 521 -rm -f Makefile 475 522 distclean-am: clean-am distclean-generic distclean-hdr distclean-tags 476 523 … … 478 525 479 526 dvi-am: 527 528 html: html-recursive 480 529 481 530 info: info-recursive … … 496 545 -rm -f $(am__CONFIG_DISTCLEAN_FILES) 497 546 -rm -rf $(top_srcdir)/autom4te.cache 547 -rm -f Makefile 498 548 maintainer-clean-am: distclean-am maintainer-clean-generic 499 549 … … 514 564 uninstall-info: uninstall-info-recursive 515 565 516 .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am clean \ 517 clean-generic clean-recursive ctags ctags-recursive dist \ 518 dist-all dist-gzip distcheck distclean distclean-generic \ 519 distclean-hdr distclean-recursive distclean-tags distcleancheck \ 520 distdir distuninstallcheck dvi dvi-am dvi-recursive info \ 521 info-am info-recursive install install-am install-data \ 522 install-data-am install-data-recursive install-exec \ 523 install-exec-am install-exec-recursive install-info \ 524 install-info-am install-info-recursive install-man \ 525 install-recursive install-strip installcheck installcheck-am \ 526 installdirs installdirs-am installdirs-recursive \ 527 maintainer-clean maintainer-clean-generic \ 528 maintainer-clean-recursive mostlyclean mostlyclean-generic \ 529 mostlyclean-recursive pdf pdf-am pdf-recursive ps ps-am \ 530 ps-recursive tags tags-recursive uninstall uninstall-am \ 531 uninstall-info-am uninstall-info-recursive uninstall-recursive 566 .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \ 567 check-am clean clean-generic clean-recursive ctags \ 568 ctags-recursive dist dist-all dist-bzip2 dist-gzip dist-shar \ 569 dist-tarZ dist-zip distcheck distclean distclean-generic \ 570 distclean-hdr distclean-recursive distclean-tags \ 571 distcleancheck distdir distuninstallcheck dvi dvi-am html \ 572 html-am info info-am install install-am install-data \ 573 install-data-am install-exec install-exec-am install-info \ 574 install-info-am install-man install-strip installcheck \ 575 installcheck-am installdirs installdirs-am maintainer-clean \ 576 maintainer-clean-generic maintainer-clean-recursive \ 577 mostlyclean mostlyclean-generic mostlyclean-recursive pdf \ 578 pdf-am ps ps-am tags tags-recursive uninstall uninstall-am \ 579 uninstall-info-am 532 580 533 581 # Tell versions [3.59,3.63) of GNU make to not export all variables. -
orxonox/branches/osX/aclocal.m4
r2985 r2993 1 # generated automatically by aclocal 1. 7.6-*- Autoconf -*-2 3 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002 1 # generated automatically by aclocal 1.8.5 -*- Autoconf -*- 2 3 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 4 4 # Free Software Foundation, Inc. 5 5 # This file is free software; the Free Software Foundation … … 12 12 # PARTICULAR PURPOSE. 13 13 14 # Do all the work for Automake. -*- Autoconf -*- 15 16 # This macro actually does too much some checks are only needed if 17 # your package does certain things. But this isn't really a big deal. 18 19 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 20 # Free Software Foundation, Inc. 21 22 # This program is free software; you can redistribute it and/or modify 23 # it under the terms of the GNU General Public License as published by 24 # the Free Software Foundation; either version 2, or (at your option) 25 # any later version. 26 27 # This program is distributed in the hope that it will be useful, 28 # but WITHOUT ANY WARRANTY; without even the implied warranty of 29 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 30 # GNU General Public License for more details. 31 32 # You should have received a copy of the GNU General Public License 33 # along with this program; if not, write to the Free Software 34 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 35 # 02111-1307, USA. 36 37 # serial 10 38 39 AC_PREREQ([2.54]) 40 41 # Autoconf 2.50 wants to disallow AM_ names. We explicitly allow 42 # the ones we care about. 43 m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl 44 45 # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) 46 # AM_INIT_AUTOMAKE([OPTIONS]) 47 # ----------------------------------------------- 48 # The call with PACKAGE and VERSION arguments is the old style 49 # call (pre autoconf-2.50), which is being phased out. PACKAGE 50 # and VERSION should now be passed to AC_INIT and removed from 51 # the call to AM_INIT_AUTOMAKE. 52 # We support both call styles for the transition. After 53 # the next Automake release, Autoconf can make the AC_INIT 54 # arguments mandatory, and then we can depend on a new Autoconf 55 # release and drop the old call support. 56 AC_DEFUN([AM_INIT_AUTOMAKE], 57 [AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl 58 AC_REQUIRE([AC_PROG_INSTALL])dnl 59 # test to see if srcdir already configured 60 if test "`cd $srcdir && pwd`" != "`pwd`" && 61 test -f $srcdir/config.status; then 62 AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) 63 fi 64 65 # test whether we have cygpath 66 if test -z "$CYGPATH_W"; then 67 if (cygpath --version) >/dev/null 2>/dev/null; then 68 CYGPATH_W='cygpath -w' 14 15 dnl PKG_CHECK_MODULES(GSTUFF, gtk+-2.0 >= 1.3 glib = 1.3.4, action-if, action-not) 16 dnl defines GSTUFF_LIBS, GSTUFF_CFLAGS, see pkg-config man page 17 dnl also defines GSTUFF_PKG_ERRORS on error 18 AC_DEFUN(PKG_CHECK_MODULES, [ 19 succeeded=no 20 21 if test -z "$PKG_CONFIG"; then 22 AC_PATH_PROG(PKG_CONFIG, pkg-config, no) 23 fi 24 25 if test "$PKG_CONFIG" = "no" ; then 26 echo "*** The pkg-config script could not be found. Make sure it is" 27 echo "*** in your path, or set the PKG_CONFIG environment variable" 28 echo "*** to the full path to pkg-config." 29 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config." 69 30 else 70 CYGPATH_W=echo 31 PKG_CONFIG_MIN_VERSION=0.9.0 32 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then 33 AC_MSG_CHECKING(for $2) 34 35 if $PKG_CONFIG --exists "$2" ; then 36 AC_MSG_RESULT(yes) 37 succeeded=yes 38 39 AC_MSG_CHECKING($1_CFLAGS) 40 $1_CFLAGS=`$PKG_CONFIG --cflags "$2"` 41 AC_MSG_RESULT($$1_CFLAGS) 42 43 AC_MSG_CHECKING($1_LIBS) 44 $1_LIBS=`$PKG_CONFIG --libs "$2"` 45 AC_MSG_RESULT($$1_LIBS) 46 else 47 $1_CFLAGS="" 48 $1_LIBS="" 49 ## If we have a custom action on failure, don't print errors, but 50 ## do set a variable so people can do so. 51 $1_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"` 52 ifelse([$4], ,echo $$1_PKG_ERRORS,) 53 fi 54 55 AC_SUBST($1_CFLAGS) 56 AC_SUBST($1_LIBS) 57 else 58 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer." 59 echo "*** See http://www.freedesktop.org/software/pkgconfig" 60 fi 71 61 fi 72 fi 73 AC_SUBST([CYGPATH_W]) 74 75 # Define the identity of the package. 76 dnl Distinguish between old-style and new-style calls. 77 m4_ifval([$2], 78 [m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl 79 AC_SUBST([PACKAGE], [$1])dnl 80 AC_SUBST([VERSION], [$2])], 81 [_AM_SET_OPTIONS([$1])dnl 82 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl 83 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl 84 85 _AM_IF_OPTION([no-define],, 86 [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) 87 AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl 88 89 # Some tools Automake needs. 90 AC_REQUIRE([AM_SANITY_CHECK])dnl 91 AC_REQUIRE([AC_ARG_PROGRAM])dnl 92 AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}) 93 AM_MISSING_PROG(AUTOCONF, autoconf) 94 AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}) 95 AM_MISSING_PROG(AUTOHEADER, autoheader) 96 AM_MISSING_PROG(MAKEINFO, makeinfo) 97 AM_MISSING_PROG(AMTAR, tar) 98 AM_PROG_INSTALL_SH 99 AM_PROG_INSTALL_STRIP 100 # We need awk for the "check" target. The system "awk" is bad on 101 # some platforms. 102 AC_REQUIRE([AC_PROG_AWK])dnl 103 AC_REQUIRE([AC_PROG_MAKE_SET])dnl 104 AC_REQUIRE([AM_SET_LEADING_DOT])dnl 105 106 _AM_IF_OPTION([no-dependencies],, 107 [AC_PROVIDE_IFELSE([AC_PROG_CC], 108 [_AM_DEPENDENCIES(CC)], 109 [define([AC_PROG_CC], 110 defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl 111 AC_PROVIDE_IFELSE([AC_PROG_CXX], 112 [_AM_DEPENDENCIES(CXX)], 113 [define([AC_PROG_CXX], 114 defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl 62 63 if test $succeeded = yes; then 64 ifelse([$3], , :, [$3]) 65 else 66 ifelse([$4], , AC_MSG_ERROR([Library requirements ($2) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.]), [$4]) 67 fi 115 68 ]) 69 70 71 72 # Configure paths for SDL 73 # Sam Lantinga 9/21/99 74 # stolen from Manish Singh 75 # stolen back from Frank Belew 76 # stolen from Manish Singh 77 # Shamelessly stolen from Owen Taylor 78 79 dnl AM_PATH_SDL([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]]) 80 dnl Test for SDL, and define SDL_CFLAGS and SDL_LIBS 81 dnl 82 AC_DEFUN([AM_PATH_SDL], 83 [dnl 84 dnl Get the cflags and libraries from the sdl-config script 85 dnl 86 AC_ARG_WITH(sdl-prefix,[ --with-sdl-prefix=PFX Prefix where SDL is installed (optional)], 87 sdl_prefix="$withval", sdl_prefix="") 88 AC_ARG_WITH(sdl-exec-prefix,[ --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)], 89 sdl_exec_prefix="$withval", sdl_exec_prefix="") 90 AC_ARG_ENABLE(sdltest, [ --disable-sdltest Do not try to compile and run a test SDL program], 91 , enable_sdltest=yes) 92 93 if test x$sdl_exec_prefix != x ; then 94 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix" 95 if test x${SDL_CONFIG+set} != xset ; then 96 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config 97 fi 98 fi 99 if test x$sdl_prefix != x ; then 100 sdl_args="$sdl_args --prefix=$sdl_prefix" 101 if test x${SDL_CONFIG+set} != xset ; then 102 SDL_CONFIG=$sdl_prefix/bin/sdl-config 103 fi 104 fi 105 106 AC_REQUIRE([AC_CANONICAL_TARGET]) 107 PATH="$prefix/bin:$prefix/usr/bin:$PATH" 108 AC_PATH_PROG(SDL_CONFIG, sdl-config, no, [$PATH]) 109 min_sdl_version=ifelse([$1], ,0.11.0,$1) 110 AC_MSG_CHECKING(for SDL - version >= $min_sdl_version) 111 no_sdl="" 112 if test "$SDL_CONFIG" = "no" ; then 113 no_sdl=yes 114 else 115 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags` 116 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs` 117 118 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \ 119 sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'` 120 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \ 121 sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'` 122 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \ 123 sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'` 124 if test "x$enable_sdltest" = "xyes" ; then 125 ac_save_CFLAGS="$CFLAGS" 126 ac_save_LIBS="$LIBS" 127 CFLAGS="$CFLAGS $SDL_CFLAGS" 128 LIBS="$LIBS $SDL_LIBS" 129 dnl 130 dnl Now check if the installed SDL is sufficiently new. (Also sanity 131 dnl checks the results of sdl-config to some extent 132 dnl 133 rm -f conf.sdltest 134 AC_TRY_RUN([ 135 #include <stdio.h> 136 #include <stdlib.h> 137 #include <string.h> 138 #include "SDL.h" 139 140 char* 141 my_strdup (char *str) 142 { 143 char *new_str; 144 145 if (str) 146 { 147 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char)); 148 strcpy (new_str, str); 149 } 150 else 151 new_str = NULL; 152 153 return new_str; 154 } 155 156 int main (int argc, char *argv[]) 157 { 158 int major, minor, micro; 159 char *tmp_version; 160 161 /* This hangs on some systems (?) 162 system ("touch conf.sdltest"); 163 */ 164 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); } 165 166 /* HP/UX 9 (%@#!) writes to sscanf strings */ 167 tmp_version = my_strdup("$min_sdl_version"); 168 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) { 169 printf("%s, bad version string\n", "$min_sdl_version"); 170 exit(1); 171 } 172 173 if (($sdl_major_version > major) || 174 (($sdl_major_version == major) && ($sdl_minor_version > minor)) || 175 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro))) 176 { 177 return 0; 178 } 179 else 180 { 181 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version); 182 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro); 183 printf("*** best to upgrade to the required version.\n"); 184 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n"); 185 printf("*** to point to the correct copy of sdl-config, and remove the file\n"); 186 printf("*** config.cache before re-running configure\n"); 187 return 1; 188 } 189 } 190 191 ],, no_sdl=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"]) 192 CFLAGS="$ac_save_CFLAGS" 193 LIBS="$ac_save_LIBS" 194 fi 195 fi 196 if test "x$no_sdl" = x ; then 197 AC_MSG_RESULT(yes) 198 ifelse([$2], , :, [$2]) 199 else 200 AC_MSG_RESULT(no) 201 if test "$SDL_CONFIG" = "no" ; then 202 echo "*** The sdl-config script installed by SDL could not be found" 203 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in" 204 echo "*** your path, or set the SDL_CONFIG environment variable to the" 205 echo "*** full path to sdl-config." 206 else 207 if test -f conf.sdltest ; then 208 : 209 else 210 echo "*** Could not run SDL test program, checking why..." 211 CFLAGS="$CFLAGS $SDL_CFLAGS" 212 LIBS="$LIBS $SDL_LIBS" 213 AC_TRY_LINK([ 214 #include <stdio.h> 215 #include "SDL.h" 216 217 int main(int argc, char *argv[]) 218 { return 0; } 219 #undef main 220 #define main K_and_R_C_main 221 ], [ return 0; ], 222 [ echo "*** The test program compiled, but did not run. This usually means" 223 echo "*** that the run-time linker is not finding SDL or finding the wrong" 224 echo "*** version of SDL. If it is not finding SDL, you'll need to set your" 225 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" 226 echo "*** to the installed location Also, make sure you have run ldconfig if that" 227 echo "*** is required on your system" 228 echo "***" 229 echo "*** If you have an old version installed, it is best to remove it, although" 230 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"], 231 [ echo "*** The test program failed to compile or link. See the file config.log for the" 232 echo "*** exact error that occured. This usually means SDL was incorrectly installed" 233 echo "*** or that you have moved SDL since it was installed. In the latter case, you" 234 echo "*** may want to edit the sdl-config script: $SDL_CONFIG" ]) 235 CFLAGS="$ac_save_CFLAGS" 236 LIBS="$ac_save_LIBS" 237 fi 238 fi 239 SDL_CFLAGS="" 240 SDL_LIBS="" 241 ifelse([$3], , :, [$3]) 242 fi 243 AC_SUBST(SDL_CFLAGS) 244 AC_SUBST(SDL_LIBS) 245 rm -f conf.sdltest 116 246 ]) 117 247 118 119 # When config.status generates a header, we must update the stamp-h file. 120 # This file resides in the same directory as the config header 121 # that is generated. The stamp files are numbered to have different names. 122 123 # Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the 124 # loop where config.status creates the headers, so we can generate 125 # our stamp files there. 126 AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], 127 [# Compute $1's index in $config_headers. 128 _am_stamp_count=1 129 for _am_header in $config_headers :; do 130 case $_am_header in 131 $1 | $1:* ) 132 break ;; 133 * ) 134 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 135 esac 136 done 137 echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count]) 138 139 # Copyright 2002 Free Software Foundation, Inc. 248 # -*- Autoconf -*- 249 # Copyright (C) 2002, 2003 Free Software Foundation, Inc. 250 # Generated from amversion.in; do not edit by hand. 140 251 141 252 # This program is free software; you can redistribute it and/or modify … … 157 268 # Automake X.Y traces this macro to ensure aclocal.m4 has been 158 269 # generated from the m4 files accompanying Automake X.Y. 159 AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.7"])270 AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.8"]) 160 271 161 272 # AM_SET_CURRENT_AUTOMAKE_VERSION … … 164 275 # This function is AC_REQUIREd by AC_INIT_AUTOMAKE. 165 276 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], 166 [AM_AUTOMAKE_VERSION([1.7.6])]) 167 168 # Helper functions for option handling. -*- Autoconf -*- 169 170 # Copyright 2001, 2002 Free Software Foundation, Inc. 171 172 # This program is free software; you can redistribute it and/or modify 173 # it under the terms of the GNU General Public License as published by 174 # the Free Software Foundation; either version 2, or (at your option) 175 # any later version. 176 177 # This program is distributed in the hope that it will be useful, 178 # but WITHOUT ANY WARRANTY; without even the implied warranty of 179 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 180 # GNU General Public License for more details. 181 182 # You should have received a copy of the GNU General Public License 183 # along with this program; if not, write to the Free Software 184 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 185 # 02111-1307, USA. 186 187 # serial 2 188 189 # _AM_MANGLE_OPTION(NAME) 190 # ----------------------- 191 AC_DEFUN([_AM_MANGLE_OPTION], 192 [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) 193 194 # _AM_SET_OPTION(NAME) 195 # ------------------------------ 196 # Set option NAME. Presently that only means defining a flag for this option. 197 AC_DEFUN([_AM_SET_OPTION], 198 [m4_define(_AM_MANGLE_OPTION([$1]), 1)]) 199 200 # _AM_SET_OPTIONS(OPTIONS) 201 # ---------------------------------- 202 # OPTIONS is a space-separated list of Automake options. 203 AC_DEFUN([_AM_SET_OPTIONS], 204 [AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) 205 206 # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) 207 # ------------------------------------------- 208 # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. 209 AC_DEFUN([_AM_IF_OPTION], 210 [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) 211 212 # 213 # Check to make sure that the build environment is sane. 214 # 215 216 # Copyright 1996, 1997, 2000, 2001 Free Software Foundation, Inc. 217 218 # This program is free software; you can redistribute it and/or modify 219 # it under the terms of the GNU General Public License as published by 220 # the Free Software Foundation; either version 2, or (at your option) 221 # any later version. 222 223 # This program is distributed in the hope that it will be useful, 224 # but WITHOUT ANY WARRANTY; without even the implied warranty of 225 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 226 # GNU General Public License for more details. 227 228 # You should have received a copy of the GNU General Public License 229 # along with this program; if not, write to the Free Software 230 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 231 # 02111-1307, USA. 232 233 # serial 3 234 235 # AM_SANITY_CHECK 236 # --------------- 237 AC_DEFUN([AM_SANITY_CHECK], 238 [AC_MSG_CHECKING([whether build environment is sane]) 239 # Just in case 240 sleep 1 241 echo timestamp > conftest.file 242 # Do `set' in a subshell so we don't clobber the current shell's 243 # arguments. Must try -L first in case configure is actually a 244 # symlink; some systems play weird games with the mod time of symlinks 245 # (eg FreeBSD returns the mod time of the symlink's containing 246 # directory). 247 if ( 248 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` 249 if test "$[*]" = "X"; then 250 # -L didn't work. 251 set X `ls -t $srcdir/configure conftest.file` 252 fi 253 rm -f conftest.file 254 if test "$[*]" != "X $srcdir/configure conftest.file" \ 255 && test "$[*]" != "X conftest.file $srcdir/configure"; then 256 257 # If neither matched, then we have a broken ls. This can happen 258 # if, for instance, CONFIG_SHELL is bash and it inherits a 259 # broken ls alias from the environment. This has actually 260 # happened. Such a system could not be considered "sane". 261 AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken 262 alias in your environment]) 263 fi 264 265 test "$[2]" = conftest.file 266 ) 267 then 268 # Ok. 269 : 270 else 271 AC_MSG_ERROR([newly created file is older than distributed files! 272 Check your system clock]) 273 fi 274 AC_MSG_RESULT(yes)]) 275 276 # -*- Autoconf -*- 277 278 279 # Copyright 1997, 1999, 2000, 2001 Free Software Foundation, Inc. 280 281 # This program is free software; you can redistribute it and/or modify 282 # it under the terms of the GNU General Public License as published by 283 # the Free Software Foundation; either version 2, or (at your option) 284 # any later version. 285 286 # This program is distributed in the hope that it will be useful, 287 # but WITHOUT ANY WARRANTY; without even the implied warranty of 288 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 289 # GNU General Public License for more details. 290 291 # You should have received a copy of the GNU General Public License 292 # along with this program; if not, write to the Free Software 293 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 294 # 02111-1307, USA. 295 296 # serial 3 297 298 # AM_MISSING_PROG(NAME, PROGRAM) 299 # ------------------------------ 300 AC_DEFUN([AM_MISSING_PROG], 301 [AC_REQUIRE([AM_MISSING_HAS_RUN]) 302 $1=${$1-"${am_missing_run}$2"} 303 AC_SUBST($1)]) 304 305 306 # AM_MISSING_HAS_RUN 307 # ------------------ 308 # Define MISSING if not defined so far and test if it supports --run. 309 # If it does, set am_missing_run to use it, otherwise, to nothing. 310 AC_DEFUN([AM_MISSING_HAS_RUN], 311 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl 312 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" 313 # Use eval to expand $SHELL 314 if eval "$MISSING --run true"; then 315 am_missing_run="$MISSING --run " 316 else 317 am_missing_run= 318 AC_MSG_WARN([`missing' script is too old or missing]) 319 fi 320 ]) 277 [AM_AUTOMAKE_VERSION([1.8.5])]) 321 278 322 279 # AM_AUX_DIR_EXPAND 323 280 324 # Copyright 2001Free Software Foundation, Inc.281 # Copyright (C) 2001, 2003 Free Software Foundation, Inc. 325 282 326 283 # This program is free software; you can redistribute it and/or modify … … 377 334 # configured tree to be moved without reconfiguration. 378 335 379 # Rely on autoconf to set up CDPATH properly. 380 AC_PREREQ([2.50]) 381 382 AC_DEFUN([AM_AUX_DIR_EXPAND], [ 336 AC_DEFUN([AM_AUX_DIR_EXPAND], 337 [dnl Rely on autoconf to set up CDPATH properly. 338 AC_PREREQ([2.50])dnl 383 339 # expand $ac_aux_dir to an absolute path 384 340 am_aux_dir=`cd $ac_aux_dir && pwd` 385 341 ]) 386 342 387 # AM_PROG_INSTALL_SH 388 # ------------------ 389 # Define $install_sh. 390 391 # Copyright 2001 Free Software Foundation, Inc. 392 393 # This program is free software; you can redistribute it and/or modify 394 # it under the terms of the GNU General Public License as published by 395 # the Free Software Foundation; either version 2, or (at your option) 396 # any later version. 397 398 # This program is distributed in the hope that it will be useful, 399 # but WITHOUT ANY WARRANTY; without even the implied warranty of 400 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 401 # GNU General Public License for more details. 402 403 # You should have received a copy of the GNU General Public License 404 # along with this program; if not, write to the Free Software 405 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 406 # 02111-1307, USA. 407 408 AC_DEFUN([AM_PROG_INSTALL_SH], 409 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl 410 install_sh=${install_sh-"$am_aux_dir/install-sh"} 411 AC_SUBST(install_sh)]) 412 413 # AM_PROG_INSTALL_STRIP 414 415 # Copyright 2001 Free Software Foundation, Inc. 416 417 # This program is free software; you can redistribute it and/or modify 418 # it under the terms of the GNU General Public License as published by 419 # the Free Software Foundation; either version 2, or (at your option) 420 # any later version. 421 422 # This program is distributed in the hope that it will be useful, 423 # but WITHOUT ANY WARRANTY; without even the implied warranty of 424 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 425 # GNU General Public License for more details. 426 427 # You should have received a copy of the GNU General Public License 428 # along with this program; if not, write to the Free Software 429 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 430 # 02111-1307, USA. 431 432 # One issue with vendor `install' (even GNU) is that you can't 433 # specify the program used to strip binaries. This is especially 434 # annoying in cross-compiling environments, where the build's strip 435 # is unlikely to handle the host's binaries. 436 # Fortunately install-sh will honor a STRIPPROG variable, so we 437 # always use install-sh in `make install-strip', and initialize 438 # STRIPPROG with the value of the STRIP variable (set by the user). 439 AC_DEFUN([AM_PROG_INSTALL_STRIP], 440 [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl 441 # Installed binaries are usually stripped using `strip' when the user 442 # run `make install-strip'. However `strip' might not be the right 443 # tool to use in cross-compilation environments, therefore Automake 444 # will honor the `STRIP' environment variable to overrule this program. 445 dnl Don't test for $cross_compiling = yes, because it might be `maybe'. 446 if test "$cross_compiling" != no; then 447 AC_CHECK_TOOL([STRIP], [strip], :) 343 # AM_CONDITIONAL -*- Autoconf -*- 344 345 # Copyright (C) 1997, 2000, 2001, 2003 Free Software Foundation, Inc. 346 347 # This program is free software; you can redistribute it and/or modify 348 # it under the terms of the GNU General Public License as published by 349 # the Free Software Foundation; either version 2, or (at your option) 350 # any later version. 351 352 # This program is distributed in the hope that it will be useful, 353 # but WITHOUT ANY WARRANTY; without even the implied warranty of 354 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 355 # GNU General Public License for more details. 356 357 # You should have received a copy of the GNU General Public License 358 # along with this program; if not, write to the Free Software 359 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 360 # 02111-1307, USA. 361 362 # serial 6 363 364 # AM_CONDITIONAL(NAME, SHELL-CONDITION) 365 # ------------------------------------- 366 # Define a conditional. 367 AC_DEFUN([AM_CONDITIONAL], 368 [AC_PREREQ(2.52)dnl 369 ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], 370 [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl 371 AC_SUBST([$1_TRUE]) 372 AC_SUBST([$1_FALSE]) 373 if $2; then 374 $1_TRUE= 375 $1_FALSE='#' 376 else 377 $1_TRUE='#' 378 $1_FALSE= 448 379 fi 449 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" 450 AC_SUBST([INSTALL_STRIP_PROGRAM])]) 451 452 # -*- Autoconf -*- 453 # Copyright (C) 2003 Free Software Foundation, Inc. 454 455 # This program is free software; you can redistribute it and/or modify 456 # it under the terms of the GNU General Public License as published by 457 # the Free Software Foundation; either version 2, or (at your option) 458 # any later version. 459 460 # This program is distributed in the hope that it will be useful, 461 # but WITHOUT ANY WARRANTY; without even the implied warranty of 462 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 463 # GNU General Public License for more details. 464 465 # You should have received a copy of the GNU General Public License 466 # along with this program; if not, write to the Free Software 467 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 468 # 02111-1307, USA. 469 470 # serial 1 471 472 # Check whether the underlying file-system supports filenames 473 # with a leading dot. For instance MS-DOS doesn't. 474 AC_DEFUN([AM_SET_LEADING_DOT], 475 [rm -rf .tst 2>/dev/null 476 mkdir .tst 2>/dev/null 477 if test -d .tst; then 478 am__leading_dot=. 479 else 480 am__leading_dot=_ 481 fi 482 rmdir .tst 2>/dev/null 483 AC_SUBST([am__leading_dot])]) 484 485 # serial 5 -*- Autoconf -*- 486 487 # Copyright (C) 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc. 380 AC_CONFIG_COMMANDS_PRE( 381 [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then 382 AC_MSG_ERROR([conditional "$1" was never defined. 383 Usually this means the macro was only invoked conditionally.]) 384 fi])]) 385 386 # serial 7 -*- Autoconf -*- 387 388 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004 389 # Free Software Foundation, Inc. 488 390 489 391 # This program is free software; you can redistribute it and/or modify … … 569 471 for i in 1 2 3 4 5 6; do 570 472 echo '#include "conftst'$i'.h"' >> sub/conftest.c 571 : > sub/conftst$i.h 473 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 474 # Solaris 8's {/usr,}/bin/sh. 475 touch sub/conftst$i.h 572 476 done 573 477 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf … … 597 501 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 598 502 # icc doesn't choke on unknown options, it will just issue warnings 599 # (even with -Werror). So we grep stderr for any message 600 # that says an option was ignored. 601 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else 503 # or remarks (even with -Werror). So we grep stderr for any message 504 # that says an option was ignored or not supported. 505 # When given -MP, icc 7.0 and 7.1 complain thusly: 506 # icc: Command line warning: ignoring option '-M'; no argument required 507 # The diagnosis changed in icc 8.0: 508 # icc: Command line remark: option '-MP' not supported 509 if (grep 'ignoring option' conftest.err || 510 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 602 511 am_cv_$1_dependencies_compiler_type=$depmode 603 512 break … … 633 542 AC_DEFUN([AM_DEP_TRACK], 634 543 [AC_ARG_ENABLE(dependency-tracking, 635 [ --disable-dependency-tracking Speeds up one-time builds636 --enable-dependency-tracking Do not reject slow dependency extractors])544 [ --disable-dependency-tracking speeds up one-time build 545 --enable-dependency-tracking do not reject slow dependency extractors]) 637 546 if test "x$enable_dependency_tracking" != xno; then 638 547 am_depcomp="$ac_aux_dir/depcomp" … … 645 554 # Generate code to set up dependency tracking. -*- Autoconf -*- 646 555 647 # Copyright 1999, 2000, 2001, 2002Free Software Foundation, Inc.556 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc. 648 557 649 558 # This program is free software; you can redistribute it and/or modify … … 684 593 # Extract the definition of DEP_FILES from the Makefile without 685 594 # running `make'. 686 DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`595 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 687 596 test -z "$DEPDIR" && continue 688 597 # When using ansi2knr, U may be empty or an underscore; expand it 689 U=`sed -n -e '/^U = / s///p' < "$mf"`598 U=`sed -n 's/^U = //p' < "$mf"` 690 599 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR" 691 600 # We invoke sed twice because it is the simplest approach to 692 601 # changing $(DEPDIR) to its actual value in the expansion. 693 for file in `sed -n -e'602 for file in `sed -n ' 694 603 /^DEP_FILES = .*\\\\$/ { 695 604 s/^DEP_FILES = // … … 726 635 [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) 727 636 ]) 637 638 # Do all the work for Automake. -*- Autoconf -*- 639 640 # This macro actually does too much some checks are only needed if 641 # your package does certain things. But this isn't really a big deal. 642 643 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 644 # Free Software Foundation, Inc. 645 646 # This program is free software; you can redistribute it and/or modify 647 # it under the terms of the GNU General Public License as published by 648 # the Free Software Foundation; either version 2, or (at your option) 649 # any later version. 650 651 # This program is distributed in the hope that it will be useful, 652 # but WITHOUT ANY WARRANTY; without even the implied warranty of 653 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 654 # GNU General Public License for more details. 655 656 # You should have received a copy of the GNU General Public License 657 # along with this program; if not, write to the Free Software 658 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 659 # 02111-1307, USA. 660 661 # serial 11 662 663 # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) 664 # AM_INIT_AUTOMAKE([OPTIONS]) 665 # ----------------------------------------------- 666 # The call with PACKAGE and VERSION arguments is the old style 667 # call (pre autoconf-2.50), which is being phased out. PACKAGE 668 # and VERSION should now be passed to AC_INIT and removed from 669 # the call to AM_INIT_AUTOMAKE. 670 # We support both call styles for the transition. After 671 # the next Automake release, Autoconf can make the AC_INIT 672 # arguments mandatory, and then we can depend on a new Autoconf 673 # release and drop the old call support. 674 AC_DEFUN([AM_INIT_AUTOMAKE], 675 [AC_PREREQ([2.58])dnl 676 dnl Autoconf wants to disallow AM_ names. We explicitly allow 677 dnl the ones we care about. 678 m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl 679 AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl 680 AC_REQUIRE([AC_PROG_INSTALL])dnl 681 # test to see if srcdir already configured 682 if test "`cd $srcdir && pwd`" != "`pwd`" && 683 test -f $srcdir/config.status; then 684 AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) 685 fi 686 687 # test whether we have cygpath 688 if test -z "$CYGPATH_W"; then 689 if (cygpath --version) >/dev/null 2>/dev/null; then 690 CYGPATH_W='cygpath -w' 691 else 692 CYGPATH_W=echo 693 fi 694 fi 695 AC_SUBST([CYGPATH_W]) 696 697 # Define the identity of the package. 698 dnl Distinguish between old-style and new-style calls. 699 m4_ifval([$2], 700 [m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl 701 AC_SUBST([PACKAGE], [$1])dnl 702 AC_SUBST([VERSION], [$2])], 703 [_AM_SET_OPTIONS([$1])dnl 704 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl 705 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl 706 707 _AM_IF_OPTION([no-define],, 708 [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) 709 AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl 710 711 # Some tools Automake needs. 712 AC_REQUIRE([AM_SANITY_CHECK])dnl 713 AC_REQUIRE([AC_ARG_PROGRAM])dnl 714 AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}) 715 AM_MISSING_PROG(AUTOCONF, autoconf) 716 AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}) 717 AM_MISSING_PROG(AUTOHEADER, autoheader) 718 AM_MISSING_PROG(MAKEINFO, makeinfo) 719 AM_MISSING_PROG(AMTAR, tar) 720 AM_PROG_INSTALL_SH 721 AM_PROG_INSTALL_STRIP 722 AC_REQUIRE([AM_PROG_MKDIR_P])dnl 723 # We need awk for the "check" target. The system "awk" is bad on 724 # some platforms. 725 AC_REQUIRE([AC_PROG_AWK])dnl 726 AC_REQUIRE([AC_PROG_MAKE_SET])dnl 727 AC_REQUIRE([AM_SET_LEADING_DOT])dnl 728 729 _AM_IF_OPTION([no-dependencies],, 730 [AC_PROVIDE_IFELSE([AC_PROG_CC], 731 [_AM_DEPENDENCIES(CC)], 732 [define([AC_PROG_CC], 733 defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl 734 AC_PROVIDE_IFELSE([AC_PROG_CXX], 735 [_AM_DEPENDENCIES(CXX)], 736 [define([AC_PROG_CXX], 737 defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl 738 ]) 739 ]) 740 741 742 # When config.status generates a header, we must update the stamp-h file. 743 # This file resides in the same directory as the config header 744 # that is generated. The stamp files are numbered to have different names. 745 746 # Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the 747 # loop where config.status creates the headers, so we can generate 748 # our stamp files there. 749 AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], 750 [# Compute $1's index in $config_headers. 751 _am_stamp_count=1 752 for _am_header in $config_headers :; do 753 case $_am_header in 754 $1 | $1:* ) 755 break ;; 756 * ) 757 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 758 esac 759 done 760 echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count]) 761 762 # AM_PROG_INSTALL_SH 763 # ------------------ 764 # Define $install_sh. 765 766 # Copyright (C) 2001, 2003 Free Software Foundation, Inc. 767 768 # This program is free software; you can redistribute it and/or modify 769 # it under the terms of the GNU General Public License as published by 770 # the Free Software Foundation; either version 2, or (at your option) 771 # any later version. 772 773 # This program is distributed in the hope that it will be useful, 774 # but WITHOUT ANY WARRANTY; without even the implied warranty of 775 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 776 # GNU General Public License for more details. 777 778 # You should have received a copy of the GNU General Public License 779 # along with this program; if not, write to the Free Software 780 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 781 # 02111-1307, USA. 782 783 AC_DEFUN([AM_PROG_INSTALL_SH], 784 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl 785 install_sh=${install_sh-"$am_aux_dir/install-sh"} 786 AC_SUBST(install_sh)]) 787 788 # -*- Autoconf -*- 789 # Copyright (C) 2003 Free Software Foundation, Inc. 790 791 # This program is free software; you can redistribute it and/or modify 792 # it under the terms of the GNU General Public License as published by 793 # the Free Software Foundation; either version 2, or (at your option) 794 # any later version. 795 796 # This program is distributed in the hope that it will be useful, 797 # but WITHOUT ANY WARRANTY; without even the implied warranty of 798 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 799 # GNU General Public License for more details. 800 801 # You should have received a copy of the GNU General Public License 802 # along with this program; if not, write to the Free Software 803 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 804 # 02111-1307, USA. 805 806 # serial 1 807 808 # Check whether the underlying file-system supports filenames 809 # with a leading dot. For instance MS-DOS doesn't. 810 AC_DEFUN([AM_SET_LEADING_DOT], 811 [rm -rf .tst 2>/dev/null 812 mkdir .tst 2>/dev/null 813 if test -d .tst; then 814 am__leading_dot=. 815 else 816 am__leading_dot=_ 817 fi 818 rmdir .tst 2>/dev/null 819 AC_SUBST([am__leading_dot])]) 728 820 729 821 # Check to see how 'make' treats includes. -*- Autoconf -*- … … 790 882 ]) 791 883 792 # AM_CONDITIONAL -*- Autoconf -*- 793 794 # Copyright 1997, 2000, 2001 Free Software Foundation, Inc. 795 796 # This program is free software; you can redistribute it and/or modify 797 # it under the terms of the GNU General Public License as published by 798 # the Free Software Foundation; either version 2, or (at your option) 799 # any later version. 800 801 # This program is distributed in the hope that it will be useful, 802 # but WITHOUT ANY WARRANTY; without even the implied warranty of 803 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 804 # GNU General Public License for more details. 805 806 # You should have received a copy of the GNU General Public License 807 # along with this program; if not, write to the Free Software 808 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 809 # 02111-1307, USA. 810 811 # serial 5 812 813 AC_PREREQ(2.52) 814 815 # AM_CONDITIONAL(NAME, SHELL-CONDITION) 816 # ------------------------------------- 817 # Define a conditional. 818 AC_DEFUN([AM_CONDITIONAL], 819 [ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], 820 [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl 821 AC_SUBST([$1_TRUE]) 822 AC_SUBST([$1_FALSE]) 823 if $2; then 824 $1_TRUE= 825 $1_FALSE='#' 884 # -*- Autoconf -*- 885 886 887 # Copyright (C) 1997, 1999, 2000, 2001, 2003 Free Software Foundation, Inc. 888 889 # This program is free software; you can redistribute it and/or modify 890 # it under the terms of the GNU General Public License as published by 891 # the Free Software Foundation; either version 2, or (at your option) 892 # any later version. 893 894 # This program is distributed in the hope that it will be useful, 895 # but WITHOUT ANY WARRANTY; without even the implied warranty of 896 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 897 # GNU General Public License for more details. 898 899 # You should have received a copy of the GNU General Public License 900 # along with this program; if not, write to the Free Software 901 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 902 # 02111-1307, USA. 903 904 # serial 3 905 906 # AM_MISSING_PROG(NAME, PROGRAM) 907 # ------------------------------ 908 AC_DEFUN([AM_MISSING_PROG], 909 [AC_REQUIRE([AM_MISSING_HAS_RUN]) 910 $1=${$1-"${am_missing_run}$2"} 911 AC_SUBST($1)]) 912 913 914 # AM_MISSING_HAS_RUN 915 # ------------------ 916 # Define MISSING if not defined so far and test if it supports --run. 917 # If it does, set am_missing_run to use it, otherwise, to nothing. 918 AC_DEFUN([AM_MISSING_HAS_RUN], 919 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl 920 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" 921 # Use eval to expand $SHELL 922 if eval "$MISSING --run true"; then 923 am_missing_run="$MISSING --run " 826 924 else 827 $1_TRUE='#'828 $1_FALSE=925 am_missing_run= 926 AC_MSG_WARN([`missing' script is too old or missing]) 829 927 fi 830 AC_CONFIG_COMMANDS_PRE( 831 [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then 832 AC_MSG_ERROR([conditional "$1" was never defined. 833 Usually this means the macro was only invoked conditionally.]) 834 fi])]) 835 836 # Configure paths for SDL 837 # Sam Lantinga 9/21/99 838 # stolen from Manish Singh 839 # stolen back from Frank Belew 840 # stolen from Manish Singh 841 # Shamelessly stolen from Owen Taylor 842 843 dnl AM_PATH_SDL([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]]) 844 dnl Test for SDL, and define SDL_CFLAGS and SDL_LIBS 845 dnl 846 AC_DEFUN([AM_PATH_SDL], 847 [dnl 848 dnl Get the cflags and libraries from the sdl-config script 849 dnl 850 AC_ARG_WITH(sdl-prefix,[ --with-sdl-prefix=PFX Prefix where SDL is installed (optional)], 851 sdl_prefix="$withval", sdl_prefix="") 852 AC_ARG_WITH(sdl-exec-prefix,[ --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)], 853 sdl_exec_prefix="$withval", sdl_exec_prefix="") 854 AC_ARG_ENABLE(sdltest, [ --disable-sdltest Do not try to compile and run a test SDL program], 855 , enable_sdltest=yes) 856 857 if test x$sdl_exec_prefix != x ; then 858 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix" 859 if test x${SDL_CONFIG+set} != xset ; then 860 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config 861 fi 928 ]) 929 930 # AM_PROG_MKDIR_P 931 # --------------- 932 # Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise. 933 934 # Copyright (C) 2003, 2004 Free Software Foundation, Inc. 935 936 # This program is free software; you can redistribute it and/or modify 937 # it under the terms of the GNU General Public License as published by 938 # the Free Software Foundation; either version 2, or (at your option) 939 # any later version. 940 941 # This program is distributed in the hope that it will be useful, 942 # but WITHOUT ANY WARRANTY; without even the implied warranty of 943 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 944 # GNU General Public License for more details. 945 946 # You should have received a copy of the GNU General Public License 947 # along with this program; if not, write to the Free Software 948 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 949 # 02111-1307, USA. 950 951 # Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories 952 # created by `make install' are always world readable, even if the 953 # installer happens to have an overly restrictive umask (e.g. 077). 954 # This was a mistake. There are at least two reasons why we must not 955 # use `-m 0755': 956 # - it causes special bits like SGID to be ignored, 957 # - it may be too restrictive (some setups expect 775 directories). 958 # 959 # Do not use -m 0755 and let people choose whatever they expect by 960 # setting umask. 961 # 962 # We cannot accept any implementation of `mkdir' that recognizes `-p'. 963 # Some implementations (such as Solaris 8's) are not thread-safe: if a 964 # parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c' 965 # concurrently, both version can detect that a/ is missing, but only 966 # one can create it and the other will error out. Consequently we 967 # restrict ourselves to GNU make (using the --version option ensures 968 # this.) 969 AC_DEFUN([AM_PROG_MKDIR_P], 970 [if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then 971 # Keeping the `.' argument allows $(mkdir_p) to be used without 972 # argument. Indeed, we sometimes output rules like 973 # $(mkdir_p) $(somedir) 974 # where $(somedir) is conditionally defined. 975 # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more 976 # expensive solution, as it forces Make to start a sub-shell.) 977 mkdir_p='mkdir -p -- .' 978 else 979 # On NextStep and OpenStep, the `mkdir' command does not 980 # recognize any option. It will interpret all options as 981 # directories to create, and then abort because `.' already 982 # exists. 983 for d in ./-p ./--version; 984 do 985 test -d $d && rmdir $d 986 done 987 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. 988 if test -f "$ac_aux_dir/mkinstalldirs"; then 989 mkdir_p='$(mkinstalldirs)' 990 else 991 mkdir_p='$(install_sh) -d' 862 992 fi 863 if test x$sdl_prefix != x ; then 864 sdl_args="$sdl_args --prefix=$sdl_prefix" 865 if test x${SDL_CONFIG+set} != xset ; then 866 SDL_CONFIG=$sdl_prefix/bin/sdl-config 867 fi 868 fi 869 870 AC_REQUIRE([AC_CANONICAL_TARGET]) 871 PATH="$prefix/bin:$prefix/usr/bin:$PATH" 872 AC_PATH_PROG(SDL_CONFIG, sdl-config, no, [$PATH]) 873 min_sdl_version=ifelse([$1], ,0.11.0,$1) 874 AC_MSG_CHECKING(for SDL - version >= $min_sdl_version) 875 no_sdl="" 876 if test "$SDL_CONFIG" = "no" ; then 877 no_sdl=yes 878 else 879 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags` 880 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs` 881 882 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \ 883 sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'` 884 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \ 885 sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'` 886 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \ 887 sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'` 888 if test "x$enable_sdltest" = "xyes" ; then 889 ac_save_CFLAGS="$CFLAGS" 890 ac_save_LIBS="$LIBS" 891 CFLAGS="$CFLAGS $SDL_CFLAGS" 892 LIBS="$LIBS $SDL_LIBS" 893 dnl 894 dnl Now check if the installed SDL is sufficiently new. (Also sanity 895 dnl checks the results of sdl-config to some extent 896 dnl 897 rm -f conf.sdltest 898 AC_TRY_RUN([ 899 #include <stdio.h> 900 #include <stdlib.h> 901 #include <string.h> 902 #include "SDL.h" 903 904 char* 905 my_strdup (char *str) 906 { 907 char *new_str; 908 909 if (str) 910 { 911 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char)); 912 strcpy (new_str, str); 913 } 914 else 915 new_str = NULL; 916 917 return new_str; 918 } 919 920 int main (int argc, char *argv[]) 921 { 922 int major, minor, micro; 923 char *tmp_version; 924 925 /* This hangs on some systems (?) 926 system ("touch conf.sdltest"); 927 */ 928 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); } 929 930 /* HP/UX 9 (%@#!) writes to sscanf strings */ 931 tmp_version = my_strdup("$min_sdl_version"); 932 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) { 933 printf("%s, bad version string\n", "$min_sdl_version"); 934 exit(1); 935 } 936 937 if (($sdl_major_version > major) || 938 (($sdl_major_version == major) && ($sdl_minor_version > minor)) || 939 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro))) 940 { 941 return 0; 942 } 943 else 944 { 945 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version); 946 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro); 947 printf("*** best to upgrade to the required version.\n"); 948 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n"); 949 printf("*** to point to the correct copy of sdl-config, and remove the file\n"); 950 printf("*** config.cache before re-running configure\n"); 951 return 1; 952 } 953 } 954 955 ],, no_sdl=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"]) 956 CFLAGS="$ac_save_CFLAGS" 957 LIBS="$ac_save_LIBS" 958 fi 959 fi 960 if test "x$no_sdl" = x ; then 961 AC_MSG_RESULT(yes) 962 ifelse([$2], , :, [$2]) 963 else 964 AC_MSG_RESULT(no) 965 if test "$SDL_CONFIG" = "no" ; then 966 echo "*** The sdl-config script installed by SDL could not be found" 967 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in" 968 echo "*** your path, or set the SDL_CONFIG environment variable to the" 969 echo "*** full path to sdl-config." 970 else 971 if test -f conf.sdltest ; then 972 : 973 else 974 echo "*** Could not run SDL test program, checking why..." 975 CFLAGS="$CFLAGS $SDL_CFLAGS" 976 LIBS="$LIBS $SDL_LIBS" 977 AC_TRY_LINK([ 978 #include <stdio.h> 979 #include "SDL.h" 980 981 int main(int argc, char *argv[]) 982 { return 0; } 983 #undef main 984 #define main K_and_R_C_main 985 ], [ return 0; ], 986 [ echo "*** The test program compiled, but did not run. This usually means" 987 echo "*** that the run-time linker is not finding SDL or finding the wrong" 988 echo "*** version of SDL. If it is not finding SDL, you'll need to set your" 989 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" 990 echo "*** to the installed location Also, make sure you have run ldconfig if that" 991 echo "*** is required on your system" 992 echo "***" 993 echo "*** If you have an old version installed, it is best to remove it, although" 994 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"], 995 [ echo "*** The test program failed to compile or link. See the file config.log for the" 996 echo "*** exact error that occured. This usually means SDL was incorrectly installed" 997 echo "*** or that you have moved SDL since it was installed. In the latter case, you" 998 echo "*** may want to edit the sdl-config script: $SDL_CONFIG" ]) 999 CFLAGS="$ac_save_CFLAGS" 1000 LIBS="$ac_save_LIBS" 1001 fi 1002 fi 1003 SDL_CFLAGS="" 1004 SDL_LIBS="" 1005 ifelse([$3], , :, [$3]) 1006 fi 1007 AC_SUBST(SDL_CFLAGS) 1008 AC_SUBST(SDL_LIBS) 1009 rm -f conf.sdltest 1010 ]) 1011 1012 1013 dnl PKG_CHECK_MODULES(GSTUFF, gtk+-2.0 >= 1.3 glib = 1.3.4, action-if, action-not) 1014 dnl defines GSTUFF_LIBS, GSTUFF_CFLAGS, see pkg-config man page 1015 dnl also defines GSTUFF_PKG_ERRORS on error 1016 AC_DEFUN(PKG_CHECK_MODULES, [ 1017 succeeded=no 1018 1019 if test -z "$PKG_CONFIG"; then 1020 AC_PATH_PROG(PKG_CONFIG, pkg-config, no) 1021 fi 1022 1023 if test "$PKG_CONFIG" = "no" ; then 1024 echo "*** The pkg-config script could not be found. Make sure it is" 1025 echo "*** in your path, or set the PKG_CONFIG environment variable" 1026 echo "*** to the full path to pkg-config." 1027 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config." 1028 else 1029 PKG_CONFIG_MIN_VERSION=0.9.0 1030 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then 1031 AC_MSG_CHECKING(for $2) 1032 1033 if $PKG_CONFIG --exists "$2" ; then 1034 AC_MSG_RESULT(yes) 1035 succeeded=yes 1036 1037 AC_MSG_CHECKING($1_CFLAGS) 1038 $1_CFLAGS=`$PKG_CONFIG --cflags "$2"` 1039 AC_MSG_RESULT($$1_CFLAGS) 1040 1041 AC_MSG_CHECKING($1_LIBS) 1042 $1_LIBS=`$PKG_CONFIG --libs "$2"` 1043 AC_MSG_RESULT($$1_LIBS) 1044 else 1045 $1_CFLAGS="" 1046 $1_LIBS="" 1047 ## If we have a custom action on failure, don't print errors, but 1048 ## do set a variable so people can do so. 1049 $1_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"` 1050 ifelse([$4], ,echo $$1_PKG_ERRORS,) 1051 fi 1052 1053 AC_SUBST($1_CFLAGS) 1054 AC_SUBST($1_LIBS) 1055 else 1056 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer." 1057 echo "*** See http://www.freedesktop.org/software/pkgconfig" 1058 fi 1059 fi 1060 1061 if test $succeeded = yes; then 1062 ifelse([$3], , :, [$3]) 1063 else 1064 ifelse([$4], , AC_MSG_ERROR([Library requirements ($2) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.]), [$4]) 1065 fi 1066 ]) 1067 1068 1069 993 fi 994 AC_SUBST([mkdir_p])]) 995 996 # Helper functions for option handling. -*- Autoconf -*- 997 998 # Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc. 999 1000 # This program is free software; you can redistribute it and/or modify 1001 # it under the terms of the GNU General Public License as published by 1002 # the Free Software Foundation; either version 2, or (at your option) 1003 # any later version. 1004 1005 # This program is distributed in the hope that it will be useful, 1006 # but WITHOUT ANY WARRANTY; without even the implied warranty of 1007 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 1008 # GNU General Public License for more details. 1009 1010 # You should have received a copy of the GNU General Public License 1011 # along with this program; if not, write to the Free Software 1012 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 1013 # 02111-1307, USA. 1014 1015 # serial 2 1016 1017 # _AM_MANGLE_OPTION(NAME) 1018 # ----------------------- 1019 AC_DEFUN([_AM_MANGLE_OPTION], 1020 [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) 1021 1022 # _AM_SET_OPTION(NAME) 1023 # ------------------------------ 1024 # Set option NAME. Presently that only means defining a flag for this option. 1025 AC_DEFUN([_AM_SET_OPTION], 1026 [m4_define(_AM_MANGLE_OPTION([$1]), 1)]) 1027 1028 # _AM_SET_OPTIONS(OPTIONS) 1029 # ---------------------------------- 1030 # OPTIONS is a space-separated list of Automake options. 1031 AC_DEFUN([_AM_SET_OPTIONS], 1032 [AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) 1033 1034 # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) 1035 # ------------------------------------------- 1036 # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. 1037 AC_DEFUN([_AM_IF_OPTION], 1038 [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) 1039 1040 # 1041 # Check to make sure that the build environment is sane. 1042 # 1043 1044 # Copyright (C) 1996, 1997, 2000, 2001, 2003 Free Software Foundation, Inc. 1045 1046 # This program is free software; you can redistribute it and/or modify 1047 # it under the terms of the GNU General Public License as published by 1048 # the Free Software Foundation; either version 2, or (at your option) 1049 # any later version. 1050 1051 # This program is distributed in the hope that it will be useful, 1052 # but WITHOUT ANY WARRANTY; without even the implied warranty of 1053 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 1054 # GNU General Public License for more details. 1055 1056 # You should have received a copy of the GNU General Public License 1057 # along with this program; if not, write to the Free Software 1058 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 1059 # 02111-1307, USA. 1060 1061 # serial 3 1062 1063 # AM_SANITY_CHECK 1064 # --------------- 1065 AC_DEFUN([AM_SANITY_CHECK], 1066 [AC_MSG_CHECKING([whether build environment is sane]) 1067 # Just in case 1068 sleep 1 1069 echo timestamp > conftest.file 1070 # Do `set' in a subshell so we don't clobber the current shell's 1071 # arguments. Must try -L first in case configure is actually a 1072 # symlink; some systems play weird games with the mod time of symlinks 1073 # (eg FreeBSD returns the mod time of the symlink's containing 1074 # directory). 1075 if ( 1076 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` 1077 if test "$[*]" = "X"; then 1078 # -L didn't work. 1079 set X `ls -t $srcdir/configure conftest.file` 1080 fi 1081 rm -f conftest.file 1082 if test "$[*]" != "X $srcdir/configure conftest.file" \ 1083 && test "$[*]" != "X conftest.file $srcdir/configure"; then 1084 1085 # If neither matched, then we have a broken ls. This can happen 1086 # if, for instance, CONFIG_SHELL is bash and it inherits a 1087 # broken ls alias from the environment. This has actually 1088 # happened. Such a system could not be considered "sane". 1089 AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken 1090 alias in your environment]) 1091 fi 1092 1093 test "$[2]" = conftest.file 1094 ) 1095 then 1096 # Ok. 1097 : 1098 else 1099 AC_MSG_ERROR([newly created file is older than distributed files! 1100 Check your system clock]) 1101 fi 1102 AC_MSG_RESULT(yes)]) 1103 1104 # AM_PROG_INSTALL_STRIP 1105 1106 # Copyright (C) 2001, 2003 Free Software Foundation, Inc. 1107 1108 # This program is free software; you can redistribute it and/or modify 1109 # it under the terms of the GNU General Public License as published by 1110 # the Free Software Foundation; either version 2, or (at your option) 1111 # any later version. 1112 1113 # This program is distributed in the hope that it will be useful, 1114 # but WITHOUT ANY WARRANTY; without even the implied warranty of 1115 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 1116 # GNU General Public License for more details. 1117 1118 # You should have received a copy of the GNU General Public License 1119 # along with this program; if not, write to the Free Software 1120 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 1121 # 02111-1307, USA. 1122 1123 # One issue with vendor `install' (even GNU) is that you can't 1124 # specify the program used to strip binaries. This is especially 1125 # annoying in cross-compiling environments, where the build's strip 1126 # is unlikely to handle the host's binaries. 1127 # Fortunately install-sh will honor a STRIPPROG variable, so we 1128 # always use install-sh in `make install-strip', and initialize 1129 # STRIPPROG with the value of the STRIP variable (set by the user). 1130 AC_DEFUN([AM_PROG_INSTALL_STRIP], 1131 [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl 1132 # Installed binaries are usually stripped using `strip' when the user 1133 # run `make install-strip'. However `strip' might not be the right 1134 # tool to use in cross-compilation environments, therefore Automake 1135 # will honor the `STRIP' environment variable to overrule this program. 1136 dnl Don't test for $cross_compiling = yes, because it might be `maybe'. 1137 if test "$cross_compiling" != no; then 1138 AC_CHECK_TOOL([STRIP], [strip], :) 1139 fi 1140 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" 1141 AC_SUBST([INSTALL_STRIP_PROGRAM])]) 1142 -
orxonox/branches/osX/configure
r2985 r2993 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.5 7for orxonox 0.1-pre-alpha.3 # Generated by GNU Autoconf 2.59 for orxonox 0.1-pre-alpha. 4 4 # 5 5 # Report bugs to <orxonox-dev@mail.datacore.ch>. 6 6 # 7 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 8 # Free Software Foundation, Inc. 7 # Copyright (C) 2003 Free Software Foundation, Inc. 9 8 # This configure script is free software; the Free Software Foundation 10 9 # gives unlimited permission to copy, distribute and modify it. … … 23 22 set -o posix 24 23 fi 24 DUALCASE=1; export DUALCASE # for MKS sh 25 25 26 26 # Support unset when possible. 27 if ( FOO=FOO; unset FOO) >/dev/null 2>&1; then27 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 28 28 as_unset=unset 29 29 else … … 44 44 LC_TELEPHONE LC_TIME 45 45 do 46 if (set +x; test - n"`(eval $as_var=C; export $as_var) 2>&1`"); then46 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 47 47 eval $as_var=C; export $as_var 48 48 else … … 221 221 as_mkdir_p=: 222 222 else 223 test -d ./-p && rmdir ./-p 223 224 as_mkdir_p=false 224 225 fi … … 227 228 228 229 # Sed expression to map a string onto a valid CPP name. 229 as_tr_cpp=" sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"230 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 230 231 231 232 # Sed expression to map a string onto a valid variable name. 232 as_tr_sh=" sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"233 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 233 234 234 235 … … 311 312 #endif" 312 313 313 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CC CFLAGS ac_ct_CC CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP SDL_CONFIG SDL_CFLAGS SDL_LIBS MSBITFIELDS PKG_CONFIG GTK2_CFLAGS GTK2_LIBS HAVE_GTK2_TRUE HAVE_GTK2_FALSE LIBOBJS LTLIBOBJS'314 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CC CFLAGS ac_ct_CC CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP SDL_CONFIG SDL_CFLAGS SDL_LIBS MSBITFIELDS PKG_CONFIG GTK2_CFLAGS GTK2_LIBS HAVE_GTK2_TRUE HAVE_GTK2_FALSE LIBOBJS LTLIBOBJS' 314 315 ac_subst_files='' 315 316 … … 670 671 # Be sure to have absolute paths. 671 672 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ 672 673 localstatedir libdir includedir oldincludedir infodir mandir 673 674 do 674 675 eval ac_val=$`echo $ac_var` … … 710 711 ac_confdir=`(dirname "$0") 2>/dev/null || 711 712 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 712 713 714 715 713 X"$0" : 'X\(//\)[^/]' \| \ 714 X"$0" : 'X\(//\)$' \| \ 715 X"$0" : 'X\(/\)' \| \ 716 . : '\(.\)' 2>/dev/null || 716 717 echo X"$0" | 717 718 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } … … 813 814 Installation directories: 814 815 --prefix=PREFIX install architecture-independent files in PREFIX 815 816 [$ac_default_prefix] 816 817 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 817 818 [PREFIX] 818 819 819 820 By default, \`make install' will install all the files in … … 862 863 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 863 864 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 864 --disable-dependency-tracking Speeds up one-time builds865 --enable-dependency-tracking Do not reject slow dependency extractors865 --disable-dependency-tracking speeds up one-time build 866 --enable-dependency-tracking do not reject slow dependency extractors 866 867 --disable-sdltest Do not try to compile and run a test SDL program 867 868 … … 920 921 ac_top_srcdir=$ac_top_builddir$srcdir ;; 921 922 esac 922 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be 923 # absolute. 924 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` 925 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` 926 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` 927 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` 923 924 # Do not use `cd foo && pwd` to compute absolute paths, because 925 # the directories may not exist. 926 case `pwd` in 927 .) ac_abs_builddir="$ac_dir";; 928 *) 929 case "$ac_dir" in 930 .) ac_abs_builddir=`pwd`;; 931 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 932 *) ac_abs_builddir=`pwd`/"$ac_dir";; 933 esac;; 934 esac 935 case $ac_abs_builddir in 936 .) ac_abs_top_builddir=${ac_top_builddir}.;; 937 *) 938 case ${ac_top_builddir}. in 939 .) ac_abs_top_builddir=$ac_abs_builddir;; 940 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 941 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 942 esac;; 943 esac 944 case $ac_abs_builddir in 945 .) ac_abs_srcdir=$ac_srcdir;; 946 *) 947 case $ac_srcdir in 948 .) ac_abs_srcdir=$ac_abs_builddir;; 949 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 950 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 951 esac;; 952 esac 953 case $ac_abs_builddir in 954 .) ac_abs_top_srcdir=$ac_top_srcdir;; 955 *) 956 case $ac_top_srcdir in 957 .) ac_abs_top_srcdir=$ac_abs_builddir;; 958 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 959 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 960 esac;; 961 esac 928 962 929 963 cd $ac_dir … … 936 970 $SHELL $ac_srcdir/configure --help=recursive 937 971 elif test -f $ac_srcdir/configure.ac || 938 972 test -f $ac_srcdir/configure.in; then 939 973 echo 940 974 $ac_configure --help … … 950 984 cat <<\_ACEOF 951 985 orxonox configure 0.1-pre-alpha 952 generated by GNU Autoconf 2.57 953 954 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 955 Free Software Foundation, Inc. 986 generated by GNU Autoconf 2.59 987 988 Copyright (C) 2003 Free Software Foundation, Inc. 956 989 This configure script is free software; the Free Software Foundation 957 990 gives unlimited permission to copy, distribute and modify it. … … 965 998 966 999 It was created by orxonox $as_me 0.1-pre-alpha, which was 967 generated by GNU Autoconf 2.5 7. Invocation command line was1000 generated by GNU Autoconf 2.59. Invocation command line was 968 1001 969 1002 $ $0 $@ … … 1042 1075 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 1043 1076 if test $ac_must_keep_next = true; then 1044 1077 ac_must_keep_next=false # Got value, back to normal. 1045 1078 else 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1079 case $ac_arg in 1080 *=* | --config-cache | -C | -disable-* | --disable-* \ 1081 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1082 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1083 | -with-* | --with-* | -without-* | --without-* | --x) 1084 case "$ac_configure_args0 " in 1085 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1086 esac 1087 ;; 1088 -* ) ac_must_keep_next=true ;; 1089 esac 1057 1090 fi 1058 1091 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" … … 1088 1121 *ac_space=\ *) 1089 1122 sed -n \ 1090 1091 1123 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 1124 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 1092 1125 ;; 1093 1126 *) 1094 1127 sed -n \ 1095 1128 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 1096 1129 ;; 1097 1130 esac; … … 1122 1155 do 1123 1156 eval ac_val=$`echo $ac_var` 1124 1157 echo "$ac_var='"'"'$ac_val'"'"'" 1125 1158 done | sort 1126 1159 echo … … 1141 1174 echo "$as_me: exit $exit_status" 1142 1175 } >&5 1143 rm -f core core.**.core &&1176 rm -f core *.core && 1144 1177 rm -rf conftest* confdefs* conf$$* $ac_clean_files && 1145 1178 exit $exit_status … … 1221 1254 ac_cache_corrupted=false 1222 1255 for ac_var in `(set) 2>&1 | 1223 1256 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do 1224 1257 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1225 1258 eval ac_new_set=\$ac_env_${ac_var}_set … … 1238 1271 *) 1239 1272 if test "x$ac_old_val" != "x$ac_new_val"; then 1240 1273 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1241 1274 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1242 1275 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1243 1276 echo "$as_me: former value: $ac_old_val" >&2;} 1244 1277 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1245 1278 echo "$as_me: current value: $ac_new_val" >&2;} 1246 1279 ac_cache_corrupted=: 1247 1280 fi;; 1248 1281 esac … … 1411 1444 1412 1445 1413 am__api_version="1. 7"1446 am__api_version="1.8" 1414 1447 # Find a good install program. We prefer a C program (faster), 1415 1448 # so one script is as good as another. But avoid the broken or … … 1423 1456 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 1424 1457 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 1458 # OS/2's system install, which has a completely different semantic 1425 1459 # ./install, which can be erroneously created by make from ./install.sh. 1426 1460 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 … … 1439 1473 ./ | .// | /cC/* | \ 1440 1474 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 1475 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 1441 1476 /usr/ucb/* ) ;; 1442 1477 *) … … 1446 1481 for ac_prog in ginstall scoinst install; do 1447 1482 for ac_exec_ext in '' $ac_executable_extensions; do 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1483 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 1484 if test $ac_prog = install && 1485 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1486 # AIX install. It has an incompatible calling convention. 1487 : 1488 elif test $ac_prog = install && 1489 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1490 # program-specific install script used by HP pwplus--don't use. 1491 : 1492 else 1493 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 1494 break 3 1495 fi 1496 fi 1462 1497 done 1463 1498 done … … 1547 1582 rm conftest.sed 1548 1583 1549 1550 1584 # expand $ac_aux_dir to an absolute path 1551 1585 am_aux_dir=`cd $ac_aux_dir && pwd` … … 1559 1593 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 1560 1594 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 1595 fi 1596 1597 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then 1598 # Keeping the `.' argument allows $(mkdir_p) to be used without 1599 # argument. Indeed, we sometimes output rules like 1600 # $(mkdir_p) $(somedir) 1601 # where $(somedir) is conditionally defined. 1602 # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more 1603 # expensive solution, as it forces Make to start a sub-shell.) 1604 mkdir_p='mkdir -p -- .' 1605 else 1606 # On NextStep and OpenStep, the `mkdir' command does not 1607 # recognize any option. It will interpret all options as 1608 # directories to create, and then abort because `.' already 1609 # exists. 1610 for d in ./-p ./--version; 1611 do 1612 test -d $d && rmdir $d 1613 done 1614 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. 1615 if test -f "$ac_aux_dir/mkinstalldirs"; then 1616 mkdir_p='$(mkinstalldirs)' 1617 else 1618 mkdir_p='$(install_sh) -d' 1619 fi 1561 1620 fi 1562 1621 … … 1603 1662 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 1604 1663 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 1605 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y, ./+-,__p_,'`1664 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` 1606 1665 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then 1607 1666 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 1639 1698 rmdir .tst 2>/dev/null 1640 1699 1641 1700 # test to see if srcdir already configured 1642 1701 if test "`cd $srcdir && pwd`" != "`pwd`" && 1643 1702 test -f $srcdir/config.status; then … … 1906 1965 1907 1966 cat >conftest.$ac_ext <<_ACEOF 1908 #line $LINENO "configure"1909 1967 /* confdefs.h. */ 1910 1968 _ACEOF … … 1926 1984 # It will help us diagnose broken compilers, and finding out an intuition 1927 1985 # of exeext. 1928 echo "$as_me:$LINENO: checking for C++ compiler default output " >&51929 echo $ECHO_N "checking for C++ compiler default output ... $ECHO_C" >&61986 echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5 1987 echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6 1930 1988 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 1931 1989 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 … … 1947 2005 case $ac_file in 1948 2006 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) 1949 2007 ;; 1950 2008 conftest.$ac_ext ) 1951 1952 2009 # This is the source file. 2010 ;; 1953 2011 [ab].out ) 1954 1955 1956 2012 # We found the default executable, but exeext='' is most 2013 # certainly right. 2014 break;; 1957 2015 *.* ) 1958 1959 1960 1961 1962 1963 2016 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2017 # FIXME: I believe we export ac_cv_exeext for Libtool, 2018 # but it would be cool to find out if it's true. Does anybody 2019 # maintain Libtool? --akim. 2020 export ac_cv_exeext 2021 break;; 1964 2022 * ) 1965 2023 break;; 1966 2024 esac 1967 2025 done … … 2037 2095 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; 2038 2096 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2039 2040 2097 export ac_cv_exeext 2098 break;; 2041 2099 * ) break;; 2042 2100 esac … … 2063 2121 else 2064 2122 cat >conftest.$ac_ext <<_ACEOF 2065 #line $LINENO "configure"2066 2123 /* confdefs.h. */ 2067 2124 _ACEOF … … 2114 2171 else 2115 2172 cat >conftest.$ac_ext <<_ACEOF 2116 #line $LINENO "configure"2117 2173 /* confdefs.h. */ 2118 2174 _ACEOF … … 2134 2190 rm -f conftest.$ac_objext 2135 2191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2136 (eval $ac_compile) 2>&5 2137 ac_status=$? 2192 (eval $ac_compile) 2>conftest.er1 2193 ac_status=$? 2194 grep -v '^ *+' conftest.er1 >conftest.err 2195 rm -f conftest.er1 2196 cat conftest.err >&5 2138 2197 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2139 2198 (exit $ac_status); } && 2140 { ac_try='test -s conftest.$ac_objext' 2199 { ac_try='test -z "$ac_cxx_werror_flag" 2200 || test ! -s conftest.err' 2141 2201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2142 2202 (eval $ac_try) 2>&5 2143 2203 ac_status=$? 2144 2204 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2205 (exit $ac_status); }; } && 2206 { ac_try='test -s conftest.$ac_objext' 2207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2208 (eval $ac_try) 2>&5 2209 ac_status=$? 2210 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2145 2211 (exit $ac_status); }; }; then 2146 2212 ac_compiler_gnu=yes … … 2151 2217 ac_compiler_gnu=no 2152 2218 fi 2153 rm -f conftest. $ac_objext conftest.$ac_ext2219 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2154 2220 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 2155 2221 … … 2167 2233 else 2168 2234 cat >conftest.$ac_ext <<_ACEOF 2169 #line $LINENO "configure"2170 2235 /* confdefs.h. */ 2171 2236 _ACEOF … … 2184 2249 rm -f conftest.$ac_objext 2185 2250 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2186 (eval $ac_compile) 2>&5 2187 ac_status=$? 2251 (eval $ac_compile) 2>conftest.er1 2252 ac_status=$? 2253 grep -v '^ *+' conftest.er1 >conftest.err 2254 rm -f conftest.er1 2255 cat conftest.err >&5 2188 2256 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2189 2257 (exit $ac_status); } && 2190 { ac_try='test -s conftest.$ac_objext' 2258 { ac_try='test -z "$ac_cxx_werror_flag" 2259 || test ! -s conftest.err' 2191 2260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2192 2261 (eval $ac_try) 2>&5 2193 2262 ac_status=$? 2194 2263 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2264 (exit $ac_status); }; } && 2265 { ac_try='test -s conftest.$ac_objext' 2266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2267 (eval $ac_try) 2>&5 2268 ac_status=$? 2269 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2195 2270 (exit $ac_status); }; }; then 2196 2271 ac_cv_prog_cxx_g=yes … … 2201 2276 ac_cv_prog_cxx_g=no 2202 2277 fi 2203 rm -f conftest. $ac_objext conftest.$ac_ext2278 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2204 2279 fi 2205 2280 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 … … 2221 2296 fi 2222 2297 for ac_declaration in \ 2223 ''\ 2224 '#include <stdlib.h>' \ 2298 '' \ 2225 2299 'extern "C" void std::exit (int) throw (); using std::exit;' \ 2226 2300 'extern "C" void std::exit (int); using std::exit;' \ … … 2230 2304 do 2231 2305 cat >conftest.$ac_ext <<_ACEOF 2232 #line $LINENO "configure"2233 2306 /* confdefs.h. */ 2234 2307 _ACEOF … … 2236 2309 cat >>conftest.$ac_ext <<_ACEOF 2237 2310 /* end confdefs.h. */ 2311 $ac_declaration 2238 2312 #include <stdlib.h> 2239 $ac_declaration2240 2313 int 2241 2314 main () … … 2248 2321 rm -f conftest.$ac_objext 2249 2322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2250 (eval $ac_compile) 2>&5 2251 ac_status=$? 2323 (eval $ac_compile) 2>conftest.er1 2324 ac_status=$? 2325 grep -v '^ *+' conftest.er1 >conftest.err 2326 rm -f conftest.er1 2327 cat conftest.err >&5 2252 2328 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2253 2329 (exit $ac_status); } && 2254 { ac_try='test -s conftest.$ac_objext' 2330 { ac_try='test -z "$ac_cxx_werror_flag" 2331 || test ! -s conftest.err' 2255 2332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2256 2333 (eval $ac_try) 2>&5 2257 2334 ac_status=$? 2258 2335 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2336 (exit $ac_status); }; } && 2337 { ac_try='test -s conftest.$ac_objext' 2338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2339 (eval $ac_try) 2>&5 2340 ac_status=$? 2341 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2259 2342 (exit $ac_status); }; }; then 2260 2343 : … … 2265 2348 continue 2266 2349 fi 2267 rm -f conftest. $ac_objext conftest.$ac_ext2350 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2268 2351 cat >conftest.$ac_ext <<_ACEOF 2269 #line $LINENO "configure"2270 2352 /* confdefs.h. */ 2271 2353 _ACEOF … … 2284 2366 rm -f conftest.$ac_objext 2285 2367 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2286 (eval $ac_compile) 2>&5 2287 ac_status=$? 2368 (eval $ac_compile) 2>conftest.er1 2369 ac_status=$? 2370 grep -v '^ *+' conftest.er1 >conftest.err 2371 rm -f conftest.er1 2372 cat conftest.err >&5 2288 2373 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2289 2374 (exit $ac_status); } && 2290 { ac_try='test -s conftest.$ac_objext' 2375 { ac_try='test -z "$ac_cxx_werror_flag" 2376 || test ! -s conftest.err' 2291 2377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2292 2378 (eval $ac_try) 2>&5 2293 2379 ac_status=$? 2294 2380 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2381 (exit $ac_status); }; } && 2382 { ac_try='test -s conftest.$ac_objext' 2383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2384 (eval $ac_try) 2>&5 2385 ac_status=$? 2386 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2295 2387 (exit $ac_status); }; }; then 2296 2388 break … … 2300 2392 2301 2393 fi 2302 rm -f conftest. $ac_objext conftest.$ac_ext2394 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2303 2395 done 2304 2396 rm -f conftest* … … 2421 2513 for i in 1 2 3 4 5 6; do 2422 2514 echo '#include "conftst'$i'.h"' >> sub/conftest.c 2423 : > sub/conftst$i.h 2515 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 2516 # Solaris 8's {/usr,}/bin/sh. 2517 touch sub/conftst$i.h 2424 2518 done 2425 2519 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf … … 2449 2543 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 2450 2544 # icc doesn't choke on unknown options, it will just issue warnings 2451 # (even with -Werror). So we grep stderr for any message 2452 # that says an option was ignored. 2453 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else 2545 # or remarks (even with -Werror). So we grep stderr for any message 2546 # that says an option was ignored or not supported. 2547 # When given -MP, icc 7.0 and 7.1 complain thusly: 2548 # icc: Command line warning: ignoring option '-M'; no argument required 2549 # The diagnosis changed in icc 8.0: 2550 # icc: Command line remark: option '-MP' not supported 2551 if (grep 'ignoring option' conftest.err || 2552 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 2454 2553 am_cv_CXX_dependencies_compiler_type=$depmode 2455 2554 break … … 2823 2922 else 2824 2923 cat >conftest.$ac_ext <<_ACEOF 2825 #line $LINENO "configure"2826 2924 /* confdefs.h. */ 2827 2925 _ACEOF … … 2843 2941 rm -f conftest.$ac_objext 2844 2942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2845 (eval $ac_compile) 2>&5 2846 ac_status=$? 2943 (eval $ac_compile) 2>conftest.er1 2944 ac_status=$? 2945 grep -v '^ *+' conftest.er1 >conftest.err 2946 rm -f conftest.er1 2947 cat conftest.err >&5 2847 2948 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2848 2949 (exit $ac_status); } && 2849 { ac_try='test -s conftest.$ac_objext' 2950 { ac_try='test -z "$ac_c_werror_flag" 2951 || test ! -s conftest.err' 2850 2952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2851 2953 (eval $ac_try) 2>&5 2852 2954 ac_status=$? 2853 2955 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2956 (exit $ac_status); }; } && 2957 { ac_try='test -s conftest.$ac_objext' 2958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2959 (eval $ac_try) 2>&5 2960 ac_status=$? 2961 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2854 2962 (exit $ac_status); }; }; then 2855 2963 ac_compiler_gnu=yes … … 2860 2968 ac_compiler_gnu=no 2861 2969 fi 2862 rm -f conftest. $ac_objext conftest.$ac_ext2970 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2863 2971 ac_cv_c_compiler_gnu=$ac_compiler_gnu 2864 2972 … … 2876 2984 else 2877 2985 cat >conftest.$ac_ext <<_ACEOF 2878 #line $LINENO "configure"2879 2986 /* confdefs.h. */ 2880 2987 _ACEOF … … 2893 3000 rm -f conftest.$ac_objext 2894 3001 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2895 (eval $ac_compile) 2>&5 2896 ac_status=$? 3002 (eval $ac_compile) 2>conftest.er1 3003 ac_status=$? 3004 grep -v '^ *+' conftest.er1 >conftest.err 3005 rm -f conftest.er1 3006 cat conftest.err >&5 2897 3007 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2898 3008 (exit $ac_status); } && 2899 { ac_try='test -s conftest.$ac_objext' 3009 { ac_try='test -z "$ac_c_werror_flag" 3010 || test ! -s conftest.err' 2900 3011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2901 3012 (eval $ac_try) 2>&5 2902 3013 ac_status=$? 2903 3014 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3015 (exit $ac_status); }; } && 3016 { ac_try='test -s conftest.$ac_objext' 3017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3018 (eval $ac_try) 2>&5 3019 ac_status=$? 3020 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2904 3021 (exit $ac_status); }; }; then 2905 3022 ac_cv_prog_cc_g=yes … … 2910 3027 ac_cv_prog_cc_g=no 2911 3028 fi 2912 rm -f conftest. $ac_objext conftest.$ac_ext3029 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2913 3030 fi 2914 3031 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 … … 2937 3054 ac_save_CC=$CC 2938 3055 cat >conftest.$ac_ext <<_ACEOF 2939 #line $LINENO "configure"2940 3056 /* confdefs.h. */ 2941 3057 _ACEOF … … 2965 3081 return s; 2966 3082 } 3083 3084 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3085 function prototypes and stuff, but not '\xHH' hex character constants. 3086 These don't provoke an error unfortunately, instead are silently treated 3087 as 'x'. The following induces an error, until -std1 is added to get 3088 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3089 array size at least. It's necessary to write '\x00'==0 to get something 3090 that's true only with -std1. */ 3091 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3092 2967 3093 int test (int i, double x); 2968 3094 struct s1 {int (*f) (int a);}; … … 2991 3117 rm -f conftest.$ac_objext 2992 3118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2993 (eval $ac_compile) 2>&5 2994 ac_status=$? 3119 (eval $ac_compile) 2>conftest.er1 3120 ac_status=$? 3121 grep -v '^ *+' conftest.er1 >conftest.err 3122 rm -f conftest.er1 3123 cat conftest.err >&5 2995 3124 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2996 3125 (exit $ac_status); } && 2997 { ac_try='test -s conftest.$ac_objext' 3126 { ac_try='test -z "$ac_c_werror_flag" 3127 || test ! -s conftest.err' 3128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3129 (eval $ac_try) 2>&5 3130 ac_status=$? 3131 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3132 (exit $ac_status); }; } && 3133 { ac_try='test -s conftest.$ac_objext' 2998 3134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2999 3135 (eval $ac_try) 2>&5 … … 3008 3144 3009 3145 fi 3010 rm -f conftest. $ac_objext3146 rm -f conftest.err conftest.$ac_objext 3011 3147 done 3012 3148 rm -f conftest.$ac_ext conftest.$ac_objext … … 3036 3172 rm -f conftest.$ac_objext 3037 3173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3038 (eval $ac_compile) 2>&5 3039 ac_status=$? 3174 (eval $ac_compile) 2>conftest.er1 3175 ac_status=$? 3176 grep -v '^ *+' conftest.er1 >conftest.err 3177 rm -f conftest.er1 3178 cat conftest.err >&5 3040 3179 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3041 3180 (exit $ac_status); } && 3042 { ac_try='test -s conftest.$ac_objext' 3181 { ac_try='test -z "$ac_c_werror_flag" 3182 || test ! -s conftest.err' 3043 3183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3044 3184 (eval $ac_try) 2>&5 3045 3185 ac_status=$? 3046 3186 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3187 (exit $ac_status); }; } && 3188 { ac_try='test -s conftest.$ac_objext' 3189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3190 (eval $ac_try) 2>&5 3191 ac_status=$? 3192 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3047 3193 (exit $ac_status); }; }; then 3048 3194 for ac_declaration in \ 3049 ''\ 3050 '#include <stdlib.h>' \ 3195 '' \ 3051 3196 'extern "C" void std::exit (int) throw (); using std::exit;' \ 3052 3197 'extern "C" void std::exit (int); using std::exit;' \ … … 3056 3201 do 3057 3202 cat >conftest.$ac_ext <<_ACEOF 3058 #line $LINENO "configure"3059 3203 /* confdefs.h. */ 3060 3204 _ACEOF … … 3062 3206 cat >>conftest.$ac_ext <<_ACEOF 3063 3207 /* end confdefs.h. */ 3208 $ac_declaration 3064 3209 #include <stdlib.h> 3065 $ac_declaration3066 3210 int 3067 3211 main () … … 3074 3218 rm -f conftest.$ac_objext 3075 3219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3076 (eval $ac_compile) 2>&5 3077 ac_status=$? 3220 (eval $ac_compile) 2>conftest.er1 3221 ac_status=$? 3222 grep -v '^ *+' conftest.er1 >conftest.err 3223 rm -f conftest.er1 3224 cat conftest.err >&5 3078 3225 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3079 3226 (exit $ac_status); } && 3080 { ac_try='test -s conftest.$ac_objext' 3227 { ac_try='test -z "$ac_c_werror_flag" 3228 || test ! -s conftest.err' 3081 3229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3082 3230 (eval $ac_try) 2>&5 3083 3231 ac_status=$? 3084 3232 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3233 (exit $ac_status); }; } && 3234 { ac_try='test -s conftest.$ac_objext' 3235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3236 (eval $ac_try) 2>&5 3237 ac_status=$? 3238 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3085 3239 (exit $ac_status); }; }; then 3086 3240 : … … 3091 3245 continue 3092 3246 fi 3093 rm -f conftest. $ac_objext conftest.$ac_ext3247 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3094 3248 cat >conftest.$ac_ext <<_ACEOF 3095 #line $LINENO "configure"3096 3249 /* confdefs.h. */ 3097 3250 _ACEOF … … 3110 3263 rm -f conftest.$ac_objext 3111 3264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3112 (eval $ac_compile) 2>&5 3113 ac_status=$? 3265 (eval $ac_compile) 2>conftest.er1 3266 ac_status=$? 3267 grep -v '^ *+' conftest.er1 >conftest.err 3268 rm -f conftest.er1 3269 cat conftest.err >&5 3114 3270 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3115 3271 (exit $ac_status); } && 3116 { ac_try='test -s conftest.$ac_objext' 3272 { ac_try='test -z "$ac_c_werror_flag" 3273 || test ! -s conftest.err' 3117 3274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3118 3275 (eval $ac_try) 2>&5 3119 3276 ac_status=$? 3120 3277 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3278 (exit $ac_status); }; } && 3279 { ac_try='test -s conftest.$ac_objext' 3280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3281 (eval $ac_try) 2>&5 3282 ac_status=$? 3283 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3121 3284 (exit $ac_status); }; }; then 3122 3285 break … … 3126 3289 3127 3290 fi 3128 rm -f conftest. $ac_objext conftest.$ac_ext3291 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3129 3292 done 3130 3293 rm -f conftest* … … 3140 3303 3141 3304 fi 3142 rm -f conftest. $ac_objext conftest.$ac_ext3305 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3143 3306 ac_ext=c 3144 3307 ac_cpp='$CPP $CPPFLAGS' … … 3188 3351 for i in 1 2 3 4 5 6; do 3189 3352 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3190 : > sub/conftst$i.h 3353 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 3354 # Solaris 8's {/usr,}/bin/sh. 3355 touch sub/conftst$i.h 3191 3356 done 3192 3357 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf … … 3216 3381 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3217 3382 # icc doesn't choke on unknown options, it will just issue warnings 3218 # (even with -Werror). So we grep stderr for any message 3219 # that says an option was ignored. 3220 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else 3383 # or remarks (even with -Werror). So we grep stderr for any message 3384 # that says an option was ignored or not supported. 3385 # When given -MP, icc 7.0 and 7.1 complain thusly: 3386 # icc: Command line warning: ignoring option '-M'; no argument required 3387 # The diagnosis changed in icc 8.0: 3388 # icc: Command line remark: option '-MP' not supported 3389 if (grep 'ignoring option' conftest.err || 3390 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3221 3391 am_cv_CC_dependencies_compiler_type=$depmode 3222 3392 break … … 3278 3448 # not just through cpp. "Syntax error" is here to catch this case. 3279 3449 cat >conftest.$ac_ext <<_ACEOF 3280 #line $LINENO "configure"3281 3450 /* confdefs.h. */ 3282 3451 _ACEOF … … 3289 3458 # include <assert.h> 3290 3459 #endif 3291 3460 Syntax error 3292 3461 _ACEOF 3293 3462 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 … … 3301 3470 if test -s conftest.err; then 3302 3471 ac_cpp_err=$ac_c_preproc_warn_flag 3472 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3303 3473 else 3304 3474 ac_cpp_err= … … 3321 3491 # can be detected and how. 3322 3492 cat >conftest.$ac_ext <<_ACEOF 3323 #line $LINENO "configure"3324 3493 /* confdefs.h. */ 3325 3494 _ACEOF … … 3339 3508 if test -s conftest.err; then 3340 3509 ac_cpp_err=$ac_c_preproc_warn_flag 3510 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3341 3511 else 3342 3512 ac_cpp_err= … … 3385 3555 # not just through cpp. "Syntax error" is here to catch this case. 3386 3556 cat >conftest.$ac_ext <<_ACEOF 3387 #line $LINENO "configure"3388 3557 /* confdefs.h. */ 3389 3558 _ACEOF … … 3396 3565 # include <assert.h> 3397 3566 #endif 3398 3567 Syntax error 3399 3568 _ACEOF 3400 3569 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 … … 3408 3577 if test -s conftest.err; then 3409 3578 ac_cpp_err=$ac_c_preproc_warn_flag 3579 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3410 3580 else 3411 3581 ac_cpp_err= … … 3428 3598 # can be detected and how. 3429 3599 cat >conftest.$ac_ext <<_ACEOF 3430 #line $LINENO "configure"3431 3600 /* confdefs.h. */ 3432 3601 _ACEOF … … 3446 3615 if test -s conftest.err; then 3447 3616 ac_cpp_err=$ac_c_preproc_warn_flag 3617 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3448 3618 else 3449 3619 ac_cpp_err= … … 3506 3676 else 3507 3677 cat >conftest.$ac_ext <<_ACEOF 3508 #line $LINENO "configure"3509 3678 /* confdefs.h. */ 3510 3679 _ACEOF … … 3527 3696 rm -f conftest.$ac_objext 3528 3697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3529 (eval $ac_compile) 2>&5 3530 ac_status=$? 3698 (eval $ac_compile) 2>conftest.er1 3699 ac_status=$? 3700 grep -v '^ *+' conftest.er1 >conftest.err 3701 rm -f conftest.er1 3702 cat conftest.err >&5 3531 3703 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3532 3704 (exit $ac_status); } && 3533 { ac_try='test -s conftest.$ac_objext' 3705 { ac_try='test -z "$ac_c_werror_flag" 3706 || test ! -s conftest.err' 3534 3707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3535 3708 (eval $ac_try) 2>&5 3536 3709 ac_status=$? 3537 3710 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3711 (exit $ac_status); }; } && 3712 { ac_try='test -s conftest.$ac_objext' 3713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3714 (eval $ac_try) 2>&5 3715 ac_status=$? 3716 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3538 3717 (exit $ac_status); }; }; then 3539 3718 ac_cv_header_stdc=yes … … 3544 3723 ac_cv_header_stdc=no 3545 3724 fi 3546 rm -f conftest. $ac_objext conftest.$ac_ext3725 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3547 3726 3548 3727 if test $ac_cv_header_stdc = yes; then 3549 3728 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 3550 3729 cat >conftest.$ac_ext <<_ACEOF 3551 #line $LINENO "configure"3552 3730 /* confdefs.h. */ 3553 3731 _ACEOF … … 3571 3749 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 3572 3750 cat >conftest.$ac_ext <<_ACEOF 3573 #line $LINENO "configure"3574 3751 /* confdefs.h. */ 3575 3752 _ACEOF … … 3596 3773 else 3597 3774 cat >conftest.$ac_ext <<_ACEOF 3598 #line $LINENO "configure"3599 3775 /* confdefs.h. */ 3600 3776 _ACEOF … … 3608 3784 #else 3609 3785 # define ISLOWER(c) \ 3610 3611 3612 3786 (('a' <= (c) && (c) <= 'i') \ 3787 || ('j' <= (c) && (c) <= 'r') \ 3788 || ('s' <= (c) && (c) <= 'z')) 3613 3789 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 3614 3790 #endif … … 3621 3797 for (i = 0; i < 256; i++) 3622 3798 if (XOR (islower (i), ISLOWER (i)) 3623 3799 || toupper (i) != TOUPPER (i)) 3624 3800 exit(2); 3625 3801 exit (0); … … 3646 3822 ac_cv_header_stdc=no 3647 3823 fi 3648 rm -f core core.**.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext3824 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 3649 3825 fi 3650 3826 fi … … 3690 3866 3691 3867 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 3692 3868 inttypes.h stdint.h unistd.h 3693 3869 do 3694 3870 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` … … 3699 3875 else 3700 3876 cat >conftest.$ac_ext <<_ACEOF 3701 #line $LINENO "configure"3702 3877 /* confdefs.h. */ 3703 3878 _ACEOF … … 3711 3886 rm -f conftest.$ac_objext 3712 3887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3713 (eval $ac_compile) 2>&5 3714 ac_status=$? 3888 (eval $ac_compile) 2>conftest.er1 3889 ac_status=$? 3890 grep -v '^ *+' conftest.er1 >conftest.err 3891 rm -f conftest.er1 3892 cat conftest.err >&5 3715 3893 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3716 3894 (exit $ac_status); } && 3717 { ac_try='test -s conftest.$ac_objext' 3895 { ac_try='test -z "$ac_c_werror_flag" 3896 || test ! -s conftest.err' 3718 3897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3719 3898 (eval $ac_try) 2>&5 3720 3899 ac_status=$? 3721 3900 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3901 (exit $ac_status); }; } && 3902 { ac_try='test -s conftest.$ac_objext' 3903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3904 (eval $ac_try) 2>&5 3905 ac_status=$? 3906 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3722 3907 (exit $ac_status); }; }; then 3723 3908 eval "$as_ac_Header=yes" … … 3728 3913 eval "$as_ac_Header=no" 3729 3914 fi 3730 rm -f conftest. $ac_objext conftest.$ac_ext3915 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3731 3916 fi 3732 3917 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 … … 3759 3944 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 3760 3945 cat >conftest.$ac_ext <<_ACEOF 3761 #line $LINENO "configure"3762 3946 /* confdefs.h. */ 3763 3947 _ACEOF … … 3770 3954 rm -f conftest.$ac_objext 3771 3955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3772 (eval $ac_compile) 2>&5 3773 ac_status=$? 3956 (eval $ac_compile) 2>conftest.er1 3957 ac_status=$? 3958 grep -v '^ *+' conftest.er1 >conftest.err 3959 rm -f conftest.er1 3960 cat conftest.err >&5 3774 3961 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3775 3962 (exit $ac_status); } && 3776 { ac_try='test -s conftest.$ac_objext' 3963 { ac_try='test -z "$ac_c_werror_flag" 3964 || test ! -s conftest.err' 3777 3965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3778 3966 (eval $ac_try) 2>&5 3779 3967 ac_status=$? 3780 3968 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3969 (exit $ac_status); }; } && 3970 { ac_try='test -s conftest.$ac_objext' 3971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3972 (eval $ac_try) 2>&5 3973 ac_status=$? 3974 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3781 3975 (exit $ac_status); }; }; then 3782 3976 ac_header_compiler=yes … … 3787 3981 ac_header_compiler=no 3788 3982 fi 3789 rm -f conftest. $ac_objext conftest.$ac_ext3983 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3790 3984 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 3791 3985 echo "${ECHO_T}$ac_header_compiler" >&6 … … 3795 3989 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 3796 3990 cat >conftest.$ac_ext <<_ACEOF 3797 #line $LINENO "configure"3798 3991 /* confdefs.h. */ 3799 3992 _ACEOF … … 3813 4006 if test -s conftest.err; then 3814 4007 ac_cpp_err=$ac_c_preproc_warn_flag 4008 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3815 4009 else 3816 4010 ac_cpp_err= … … 3832 4026 3833 4027 # So? What about this header? 3834 case $ac_header_compiler:$ac_header_preproc in3835 yes:no )4028 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 4029 yes:no: ) 3836 4030 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 3837 4031 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 4032 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 4033 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 4034 ac_header_preproc=yes 4035 ;; 4036 no:yes:* ) 4037 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 4038 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 4039 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 4040 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 4041 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 4042 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 4043 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 4044 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 3838 4045 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 3839 4046 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 4047 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 4048 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 3840 4049 ( 3841 4050 cat <<\_ASBOX 3842 ## ------------------------------------ ## 3843 ## Report this to bug-autoconf@gnu.org. ## 3844 ## ------------------------------------ ## 3845 _ASBOX 3846 ) | 3847 sed "s/^/$as_me: WARNING: /" >&2 3848 ;; 3849 no:yes ) 3850 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 3851 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 3852 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 3853 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 3854 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 3855 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 3856 ( 3857 cat <<\_ASBOX 3858 ## ------------------------------------ ## 3859 ## Report this to bug-autoconf@gnu.org. ## 3860 ## ------------------------------------ ## 4051 ## ------------------------------------------- ## 4052 ## Report this to orxonox-dev@mail.datacore.ch ## 4053 ## ------------------------------------------- ## 3861 4054 _ASBOX 3862 4055 ) | … … 3869 4062 echo $ECHO_N "(cached) $ECHO_C" >&6 3870 4063 else 3871 eval "$as_ac_Header= $ac_header_preproc"4064 eval "$as_ac_Header=\$ac_header_preproc" 3872 4065 fi 3873 4066 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 … … 3897 4090 LIBS="-lopengl32 $LIBS" 3898 4091 cat >conftest.$ac_ext <<_ACEOF 3899 #line $LINENO "configure"3900 4092 /* confdefs.h. */ 3901 4093 _ACEOF … … 3915 4107 rm -f conftest.$ac_objext conftest$ac_exeext 3916 4108 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3917 (eval $ac_link) 2>&5 3918 ac_status=$? 4109 (eval $ac_link) 2>conftest.er1 4110 ac_status=$? 4111 grep -v '^ *+' conftest.er1 >conftest.err 4112 rm -f conftest.er1 4113 cat conftest.err >&5 3919 4114 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3920 4115 (exit $ac_status); } && 3921 { ac_try='test -s conftest$ac_exeext' 4116 { ac_try='test -z "$ac_c_werror_flag" 4117 || test ! -s conftest.err' 3922 4118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3923 4119 (eval $ac_try) 2>&5 3924 4120 ac_status=$? 3925 4121 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4122 (exit $ac_status); }; } && 4123 { ac_try='test -s conftest$ac_exeext' 4124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4125 (eval $ac_try) 2>&5 4126 ac_status=$? 4127 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3926 4128 (exit $ac_status); }; }; then 3927 4129 ac_cv_lib_opengl32_main=yes … … 3932 4134 ac_cv_lib_opengl32_main=no 3933 4135 fi 3934 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 4136 rm -f conftest.err conftest.$ac_objext \ 4137 conftest$ac_exeext conftest.$ac_ext 3935 4138 LIBS=$ac_check_lib_save_LIBS 3936 4139 fi … … 3971 4174 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 3972 4175 cat >conftest.$ac_ext <<_ACEOF 3973 #line $LINENO "configure"3974 4176 /* confdefs.h. */ 3975 4177 _ACEOF … … 3982 4184 rm -f conftest.$ac_objext 3983 4185 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3984 (eval $ac_compile) 2>&5 3985 ac_status=$? 4186 (eval $ac_compile) 2>conftest.er1 4187 ac_status=$? 4188 grep -v '^ *+' conftest.er1 >conftest.err 4189 rm -f conftest.er1 4190 cat conftest.err >&5 3986 4191 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3987 4192 (exit $ac_status); } && 3988 { ac_try='test -s conftest.$ac_objext' 4193 { ac_try='test -z "$ac_c_werror_flag" 4194 || test ! -s conftest.err' 3989 4195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3990 4196 (eval $ac_try) 2>&5 3991 4197 ac_status=$? 3992 4198 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4199 (exit $ac_status); }; } && 4200 { ac_try='test -s conftest.$ac_objext' 4201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4202 (eval $ac_try) 2>&5 4203 ac_status=$? 4204 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3993 4205 (exit $ac_status); }; }; then 3994 4206 ac_header_compiler=yes … … 3999 4211 ac_header_compiler=no 4000 4212 fi 4001 rm -f conftest. $ac_objext conftest.$ac_ext4213 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4002 4214 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4003 4215 echo "${ECHO_T}$ac_header_compiler" >&6 … … 4007 4219 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 4008 4220 cat >conftest.$ac_ext <<_ACEOF 4009 #line $LINENO "configure"4010 4221 /* confdefs.h. */ 4011 4222 _ACEOF … … 4025 4236 if test -s conftest.err; then 4026 4237 ac_cpp_err=$ac_c_preproc_warn_flag 4238 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 4027 4239 else 4028 4240 ac_cpp_err= … … 4044 4256 4045 4257 # So? What about this header? 4046 case $ac_header_compiler:$ac_header_preproc in4047 yes:no )4258 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 4259 yes:no: ) 4048 4260 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 4049 4261 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 4262 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 4263 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 4264 ac_header_preproc=yes 4265 ;; 4266 no:yes:* ) 4267 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 4268 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 4269 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 4270 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 4271 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 4272 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 4273 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 4274 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 4050 4275 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 4051 4276 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 4277 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 4278 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 4052 4279 ( 4053 4280 cat <<\_ASBOX 4054 ## ------------------------------------ ## 4055 ## Report this to bug-autoconf@gnu.org. ## 4056 ## ------------------------------------ ## 4057 _ASBOX 4058 ) | 4059 sed "s/^/$as_me: WARNING: /" >&2 4060 ;; 4061 no:yes ) 4062 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 4063 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 4064 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 4065 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 4066 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 4067 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 4068 ( 4069 cat <<\_ASBOX 4070 ## ------------------------------------ ## 4071 ## Report this to bug-autoconf@gnu.org. ## 4072 ## ------------------------------------ ## 4281 ## ------------------------------------------- ## 4282 ## Report this to orxonox-dev@mail.datacore.ch ## 4283 ## ------------------------------------------- ## 4073 4284 _ASBOX 4074 4285 ) | … … 4081 4292 echo $ECHO_N "(cached) $ECHO_C" >&6 4082 4293 else 4083 eval "$as_ac_Header= $ac_header_preproc"4294 eval "$as_ac_Header=\$ac_header_preproc" 4084 4295 fi 4085 4296 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 … … 4110 4321 LIBS="-lglu32 $LIBS" 4111 4322 cat >conftest.$ac_ext <<_ACEOF 4112 #line $LINENO "configure"4113 4323 /* confdefs.h. */ 4114 4324 _ACEOF … … 4128 4338 rm -f conftest.$ac_objext conftest$ac_exeext 4129 4339 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4130 (eval $ac_link) 2>&5 4131 ac_status=$? 4340 (eval $ac_link) 2>conftest.er1 4341 ac_status=$? 4342 grep -v '^ *+' conftest.er1 >conftest.err 4343 rm -f conftest.er1 4344 cat conftest.err >&5 4132 4345 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4133 4346 (exit $ac_status); } && 4134 { ac_try='test -s conftest$ac_exeext' 4347 { ac_try='test -z "$ac_c_werror_flag" 4348 || test ! -s conftest.err' 4135 4349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4136 4350 (eval $ac_try) 2>&5 4137 4351 ac_status=$? 4138 4352 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4353 (exit $ac_status); }; } && 4354 { ac_try='test -s conftest$ac_exeext' 4355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4356 (eval $ac_try) 2>&5 4357 ac_status=$? 4358 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4139 4359 (exit $ac_status); }; }; then 4140 4360 ac_cv_lib_glu32_main=yes … … 4145 4365 ac_cv_lib_glu32_main=no 4146 4366 fi 4147 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 4367 rm -f conftest.err conftest.$ac_objext \ 4368 conftest$ac_exeext conftest.$ac_ext 4148 4369 LIBS=$ac_check_lib_save_LIBS 4149 4370 fi … … 4173 4394 LIBS="-lmingw32 $LIBS" 4174 4395 cat >conftest.$ac_ext <<_ACEOF 4175 #line $LINENO "configure"4176 4396 /* confdefs.h. */ 4177 4397 _ACEOF … … 4191 4411 rm -f conftest.$ac_objext conftest$ac_exeext 4192 4412 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4193 (eval $ac_link) 2>&5 4194 ac_status=$? 4413 (eval $ac_link) 2>conftest.er1 4414 ac_status=$? 4415 grep -v '^ *+' conftest.er1 >conftest.err 4416 rm -f conftest.er1 4417 cat conftest.err >&5 4195 4418 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4196 4419 (exit $ac_status); } && 4197 { ac_try='test -s conftest$ac_exeext' 4420 { ac_try='test -z "$ac_c_werror_flag" 4421 || test ! -s conftest.err' 4198 4422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4199 4423 (eval $ac_try) 2>&5 4200 4424 ac_status=$? 4201 4425 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4426 (exit $ac_status); }; } && 4427 { ac_try='test -s conftest$ac_exeext' 4428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4429 (eval $ac_try) 2>&5 4430 ac_status=$? 4431 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4202 4432 (exit $ac_status); }; }; then 4203 4433 ac_cv_lib_mingw32_main=yes … … 4208 4438 ac_cv_lib_mingw32_main=no 4209 4439 fi 4210 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 4440 rm -f conftest.err conftest.$ac_objext \ 4441 conftest$ac_exeext conftest.$ac_ext 4211 4442 LIBS=$ac_check_lib_save_LIBS 4212 4443 fi … … 4238 4469 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 4239 4470 cat >conftest.$ac_ext <<_ACEOF 4240 #line $LINENO "configure"4241 4471 /* confdefs.h. */ 4242 4472 _ACEOF … … 4249 4479 rm -f conftest.$ac_objext 4250 4480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4251 (eval $ac_compile) 2>&5 4252 ac_status=$? 4481 (eval $ac_compile) 2>conftest.er1 4482 ac_status=$? 4483 grep -v '^ *+' conftest.er1 >conftest.err 4484 rm -f conftest.er1 4485 cat conftest.err >&5 4253 4486 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4254 4487 (exit $ac_status); } && 4255 { ac_try='test -s conftest.$ac_objext' 4488 { ac_try='test -z "$ac_c_werror_flag" 4489 || test ! -s conftest.err' 4256 4490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4257 4491 (eval $ac_try) 2>&5 4258 4492 ac_status=$? 4259 4493 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4494 (exit $ac_status); }; } && 4495 { ac_try='test -s conftest.$ac_objext' 4496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4497 (eval $ac_try) 2>&5 4498 ac_status=$? 4499 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4260 4500 (exit $ac_status); }; }; then 4261 4501 ac_header_compiler=yes … … 4266 4506 ac_header_compiler=no 4267 4507 fi 4268 rm -f conftest. $ac_objext conftest.$ac_ext4508 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4269 4509 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4270 4510 echo "${ECHO_T}$ac_header_compiler" >&6 … … 4274 4514 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 4275 4515 cat >conftest.$ac_ext <<_ACEOF 4276 #line $LINENO "configure"4277 4516 /* confdefs.h. */ 4278 4517 _ACEOF … … 4292 4531 if test -s conftest.err; then 4293 4532 ac_cpp_err=$ac_c_preproc_warn_flag 4533 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 4294 4534 else 4295 4535 ac_cpp_err= … … 4311 4551 4312 4552 # So? What about this header? 4313 case $ac_header_compiler:$ac_header_preproc in4314 yes:no )4553 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 4554 yes:no: ) 4315 4555 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 4316 4556 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 4557 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 4558 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 4559 ac_header_preproc=yes 4560 ;; 4561 no:yes:* ) 4562 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 4563 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 4564 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 4565 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 4566 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 4567 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 4568 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 4569 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 4317 4570 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 4318 4571 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 4572 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 4573 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 4319 4574 ( 4320 4575 cat <<\_ASBOX 4321 ## ------------------------------------ ## 4322 ## Report this to bug-autoconf@gnu.org. ## 4323 ## ------------------------------------ ## 4324 _ASBOX 4325 ) | 4326 sed "s/^/$as_me: WARNING: /" >&2 4327 ;; 4328 no:yes ) 4329 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 4330 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 4331 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 4332 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 4333 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 4334 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 4335 ( 4336 cat <<\_ASBOX 4337 ## ------------------------------------ ## 4338 ## Report this to bug-autoconf@gnu.org. ## 4339 ## ------------------------------------ ## 4576 ## ------------------------------------------- ## 4577 ## Report this to orxonox-dev@mail.datacore.ch ## 4578 ## ------------------------------------------- ## 4340 4579 _ASBOX 4341 4580 ) | … … 4348 4587 echo $ECHO_N "(cached) $ECHO_C" >&6 4349 4588 else 4350 eval "$as_ac_Header= $ac_header_preproc"4589 eval "$as_ac_Header=\$ac_header_preproc" 4351 4590 fi 4352 4591 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 … … 4377 4616 LIBS="-lsdlmain $LIBS" 4378 4617 cat >conftest.$ac_ext <<_ACEOF 4379 #line $LINENO "configure"4380 4618 /* confdefs.h. */ 4381 4619 _ACEOF … … 4395 4633 rm -f conftest.$ac_objext conftest$ac_exeext 4396 4634 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4397 (eval $ac_link) 2>&5 4398 ac_status=$? 4635 (eval $ac_link) 2>conftest.er1 4636 ac_status=$? 4637 grep -v '^ *+' conftest.er1 >conftest.err 4638 rm -f conftest.er1 4639 cat conftest.err >&5 4399 4640 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4400 4641 (exit $ac_status); } && 4401 { ac_try='test -s conftest$ac_exeext' 4642 { ac_try='test -z "$ac_c_werror_flag" 4643 || test ! -s conftest.err' 4402 4644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4403 4645 (eval $ac_try) 2>&5 4404 4646 ac_status=$? 4405 4647 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4648 (exit $ac_status); }; } && 4649 { ac_try='test -s conftest$ac_exeext' 4650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4651 (eval $ac_try) 2>&5 4652 ac_status=$? 4653 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4406 4654 (exit $ac_status); }; }; then 4407 4655 ac_cv_lib_sdlmain_main=yes … … 4412 4660 ac_cv_lib_sdlmain_main=no 4413 4661 fi 4414 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 4662 rm -f conftest.err conftest.$ac_objext \ 4663 conftest$ac_exeext conftest.$ac_ext 4415 4664 LIBS=$ac_check_lib_save_LIBS 4416 4665 fi … … 4438 4687 LIBS="-lsdl $LIBS" 4439 4688 cat >conftest.$ac_ext <<_ACEOF 4440 #line $LINENO "configure"4441 4689 /* confdefs.h. */ 4442 4690 _ACEOF … … 4456 4704 rm -f conftest.$ac_objext conftest$ac_exeext 4457 4705 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4458 (eval $ac_link) 2>&5 4459 ac_status=$? 4706 (eval $ac_link) 2>conftest.er1 4707 ac_status=$? 4708 grep -v '^ *+' conftest.er1 >conftest.err 4709 rm -f conftest.er1 4710 cat conftest.err >&5 4460 4711 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4461 4712 (exit $ac_status); } && 4462 { ac_try='test -s conftest$ac_exeext' 4713 { ac_try='test -z "$ac_c_werror_flag" 4714 || test ! -s conftest.err' 4463 4715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4464 4716 (eval $ac_try) 2>&5 4465 4717 ac_status=$? 4466 4718 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4719 (exit $ac_status); }; } && 4720 { ac_try='test -s conftest$ac_exeext' 4721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4722 (eval $ac_try) 2>&5 4723 ac_status=$? 4724 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4467 4725 (exit $ac_status); }; }; then 4468 4726 ac_cv_lib_sdl_main=yes … … 4473 4731 ac_cv_lib_sdl_main=no 4474 4732 fi 4475 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 4733 rm -f conftest.err conftest.$ac_objext \ 4734 conftest$ac_exeext conftest.$ac_ext 4476 4735 LIBS=$ac_check_lib_save_LIBS 4477 4736 fi … … 4519 4778 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 4520 4779 cat >conftest.$ac_ext <<_ACEOF 4521 #line $LINENO "configure"4522 4780 /* confdefs.h. */ 4523 4781 _ACEOF … … 4530 4788 rm -f conftest.$ac_objext 4531 4789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4532 (eval $ac_compile) 2>&5 4533 ac_status=$? 4790 (eval $ac_compile) 2>conftest.er1 4791 ac_status=$? 4792 grep -v '^ *+' conftest.er1 >conftest.err 4793 rm -f conftest.er1 4794 cat conftest.err >&5 4534 4795 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4535 4796 (exit $ac_status); } && 4536 { ac_try='test -s conftest.$ac_objext' 4797 { ac_try='test -z "$ac_c_werror_flag" 4798 || test ! -s conftest.err' 4537 4799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4538 4800 (eval $ac_try) 2>&5 4539 4801 ac_status=$? 4540 4802 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4803 (exit $ac_status); }; } && 4804 { ac_try='test -s conftest.$ac_objext' 4805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4806 (eval $ac_try) 2>&5 4807 ac_status=$? 4808 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4541 4809 (exit $ac_status); }; }; then 4542 4810 ac_header_compiler=yes … … 4547 4815 ac_header_compiler=no 4548 4816 fi 4549 rm -f conftest. $ac_objext conftest.$ac_ext4817 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4550 4818 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4551 4819 echo "${ECHO_T}$ac_header_compiler" >&6 … … 4555 4823 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 4556 4824 cat >conftest.$ac_ext <<_ACEOF 4557 #line $LINENO "configure"4558 4825 /* confdefs.h. */ 4559 4826 _ACEOF … … 4573 4840 if test -s conftest.err; then 4574 4841 ac_cpp_err=$ac_c_preproc_warn_flag 4842 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 4575 4843 else 4576 4844 ac_cpp_err= … … 4592 4860 4593 4861 # So? What about this header? 4594 case $ac_header_compiler:$ac_header_preproc in4595 yes:no )4862 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 4863 yes:no: ) 4596 4864 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 4597 4865 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 4866 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 4867 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 4868 ac_header_preproc=yes 4869 ;; 4870 no:yes:* ) 4871 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 4872 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 4873 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 4874 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 4875 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 4876 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 4877 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 4878 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 4598 4879 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 4599 4880 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 4881 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 4882 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 4600 4883 ( 4601 4884 cat <<\_ASBOX 4602 ## ------------------------------------ ## 4603 ## Report this to bug-autoconf@gnu.org. ## 4604 ## ------------------------------------ ## 4605 _ASBOX 4606 ) | 4607 sed "s/^/$as_me: WARNING: /" >&2 4608 ;; 4609 no:yes ) 4610 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 4611 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 4612 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 4613 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 4614 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 4615 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 4616 ( 4617 cat <<\_ASBOX 4618 ## ------------------------------------ ## 4619 ## Report this to bug-autoconf@gnu.org. ## 4620 ## ------------------------------------ ## 4885 ## ------------------------------------------- ## 4886 ## Report this to orxonox-dev@mail.datacore.ch ## 4887 ## ------------------------------------------- ## 4621 4888 _ASBOX 4622 4889 ) | … … 4629 4896 echo $ECHO_N "(cached) $ECHO_C" >&6 4630 4897 else 4631 eval "$as_ac_Header= $ac_header_preproc"4898 eval "$as_ac_Header=\$ac_header_preproc" 4632 4899 fi 4633 4900 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 … … 4658 4925 LIBS="-lGL $LIBS" 4659 4926 cat >conftest.$ac_ext <<_ACEOF 4660 #line $LINENO "configure"4661 4927 /* confdefs.h. */ 4662 4928 _ACEOF … … 4676 4942 rm -f conftest.$ac_objext conftest$ac_exeext 4677 4943 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4678 (eval $ac_link) 2>&5 4679 ac_status=$? 4944 (eval $ac_link) 2>conftest.er1 4945 ac_status=$? 4946 grep -v '^ *+' conftest.er1 >conftest.err 4947 rm -f conftest.er1 4948 cat conftest.err >&5 4680 4949 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4681 4950 (exit $ac_status); } && 4682 { ac_try='test -s conftest$ac_exeext' 4951 { ac_try='test -z "$ac_c_werror_flag" 4952 || test ! -s conftest.err' 4683 4953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4684 4954 (eval $ac_try) 2>&5 4685 4955 ac_status=$? 4686 4956 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4957 (exit $ac_status); }; } && 4958 { ac_try='test -s conftest$ac_exeext' 4959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4960 (eval $ac_try) 2>&5 4961 ac_status=$? 4962 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4687 4963 (exit $ac_status); }; }; then 4688 4964 ac_cv_lib_GL_main=yes … … 4693 4969 ac_cv_lib_GL_main=no 4694 4970 fi 4695 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 4971 rm -f conftest.err conftest.$ac_objext \ 4972 conftest$ac_exeext conftest.$ac_ext 4696 4973 LIBS=$ac_check_lib_save_LIBS 4697 4974 fi … … 4730 5007 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 4731 5008 cat >conftest.$ac_ext <<_ACEOF 4732 #line $LINENO "configure"4733 5009 /* confdefs.h. */ 4734 5010 _ACEOF … … 4741 5017 rm -f conftest.$ac_objext 4742 5018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4743 (eval $ac_compile) 2>&5 4744 ac_status=$? 5019 (eval $ac_compile) 2>conftest.er1 5020 ac_status=$? 5021 grep -v '^ *+' conftest.er1 >conftest.err 5022 rm -f conftest.er1 5023 cat conftest.err >&5 4745 5024 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4746 5025 (exit $ac_status); } && 4747 { ac_try='test -s conftest.$ac_objext' 5026 { ac_try='test -z "$ac_c_werror_flag" 5027 || test ! -s conftest.err' 4748 5028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4749 5029 (eval $ac_try) 2>&5 4750 5030 ac_status=$? 4751 5031 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5032 (exit $ac_status); }; } && 5033 { ac_try='test -s conftest.$ac_objext' 5034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5035 (eval $ac_try) 2>&5 5036 ac_status=$? 5037 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4752 5038 (exit $ac_status); }; }; then 4753 5039 ac_header_compiler=yes … … 4758 5044 ac_header_compiler=no 4759 5045 fi 4760 rm -f conftest. $ac_objext conftest.$ac_ext5046 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4761 5047 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4762 5048 echo "${ECHO_T}$ac_header_compiler" >&6 … … 4766 5052 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 4767 5053 cat >conftest.$ac_ext <<_ACEOF 4768 #line $LINENO "configure"4769 5054 /* confdefs.h. */ 4770 5055 _ACEOF … … 4784 5069 if test -s conftest.err; then 4785 5070 ac_cpp_err=$ac_c_preproc_warn_flag 5071 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 4786 5072 else 4787 5073 ac_cpp_err= … … 4803 5089 4804 5090 # So? What about this header? 4805 case $ac_header_compiler:$ac_header_preproc in4806 yes:no )5091 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5092 yes:no: ) 4807 5093 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 4808 5094 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 5095 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 5096 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5097 ac_header_preproc=yes 5098 ;; 5099 no:yes:* ) 5100 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5101 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5102 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5103 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5104 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5105 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5106 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5107 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 4809 5108 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 4810 5109 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5110 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5111 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 4811 5112 ( 4812 5113 cat <<\_ASBOX 4813 ## ------------------------------------ ## 4814 ## Report this to bug-autoconf@gnu.org. ## 4815 ## ------------------------------------ ## 4816 _ASBOX 4817 ) | 4818 sed "s/^/$as_me: WARNING: /" >&2 4819 ;; 4820 no:yes ) 4821 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 4822 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 4823 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 4824 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 4825 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 4826 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 4827 ( 4828 cat <<\_ASBOX 4829 ## ------------------------------------ ## 4830 ## Report this to bug-autoconf@gnu.org. ## 4831 ## ------------------------------------ ## 5114 ## ------------------------------------------- ## 5115 ## Report this to orxonox-dev@mail.datacore.ch ## 5116 ## ------------------------------------------- ## 4832 5117 _ASBOX 4833 5118 ) | … … 4840 5125 echo $ECHO_N "(cached) $ECHO_C" >&6 4841 5126 else 4842 eval "$as_ac_Header= $ac_header_preproc"5127 eval "$as_ac_Header=\$ac_header_preproc" 4843 5128 fi 4844 5129 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 … … 4868 5153 LIBS="-lGLU $LIBS" 4869 5154 cat >conftest.$ac_ext <<_ACEOF 4870 #line $LINENO "configure"4871 5155 /* confdefs.h. */ 4872 5156 _ACEOF … … 4892 5176 rm -f conftest.$ac_objext conftest$ac_exeext 4893 5177 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4894 (eval $ac_link) 2>&5 4895 ac_status=$? 5178 (eval $ac_link) 2>conftest.er1 5179 ac_status=$? 5180 grep -v '^ *+' conftest.er1 >conftest.err 5181 rm -f conftest.er1 5182 cat conftest.err >&5 4896 5183 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4897 5184 (exit $ac_status); } && 4898 { ac_try='test -s conftest$ac_exeext' 5185 { ac_try='test -z "$ac_c_werror_flag" 5186 || test ! -s conftest.err' 4899 5187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4900 5188 (eval $ac_try) 2>&5 4901 5189 ac_status=$? 4902 5190 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5191 (exit $ac_status); }; } && 5192 { ac_try='test -s conftest$ac_exeext' 5193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5194 (eval $ac_try) 2>&5 5195 ac_status=$? 5196 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4903 5197 (exit $ac_status); }; }; then 4904 5198 ac_cv_lib_GLU_gluProject=yes … … 4909 5203 ac_cv_lib_GLU_gluProject=no 4910 5204 fi 4911 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 5205 rm -f conftest.err conftest.$ac_objext \ 5206 conftest$ac_exeext conftest.$ac_ext 4912 5207 LIBS=$ac_check_lib_save_LIBS 4913 5208 fi … … 5035 5330 else 5036 5331 cat >conftest.$ac_ext <<_ACEOF 5037 #line $LINENO "configure"5038 5332 /* confdefs.h. */ 5039 5333 _ACEOF … … 5120 5414 no_sdl=yes 5121 5415 fi 5122 rm -f core core.**.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext5416 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 5123 5417 fi 5124 5418 CFLAGS="$ac_save_CFLAGS" … … 5146 5440 LIBS="$LIBS $SDL_LIBS" 5147 5441 cat >conftest.$ac_ext <<_ACEOF 5148 #line $LINENO "configure"5149 5442 /* confdefs.h. */ 5150 5443 _ACEOF … … 5171 5464 rm -f conftest.$ac_objext conftest$ac_exeext 5172 5465 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5173 (eval $ac_link) 2>&5 5174 ac_status=$? 5466 (eval $ac_link) 2>conftest.er1 5467 ac_status=$? 5468 grep -v '^ *+' conftest.er1 >conftest.err 5469 rm -f conftest.er1 5470 cat conftest.err >&5 5175 5471 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5176 5472 (exit $ac_status); } && 5177 { ac_try='test -s conftest$ac_exeext' 5473 { ac_try='test -z "$ac_c_werror_flag" 5474 || test ! -s conftest.err' 5475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5476 (eval $ac_try) 2>&5 5477 ac_status=$? 5478 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5479 (exit $ac_status); }; } && 5480 { ac_try='test -s conftest$ac_exeext' 5178 5481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5179 5482 (eval $ac_try) 2>&5 … … 5199 5502 echo "*** may want to edit the sdl-config script: $SDL_CONFIG" 5200 5503 fi 5201 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 5504 rm -f conftest.err conftest.$ac_objext \ 5505 conftest$ac_exeext conftest.$ac_ext 5202 5506 CFLAGS="$ac_save_CFLAGS" 5203 5507 LIBS="$ac_save_LIBS" … … 5243 5547 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 5244 5548 cat >conftest.$ac_ext <<_ACEOF 5245 #line $LINENO "configure"5246 5549 /* confdefs.h. */ 5247 5550 _ACEOF … … 5254 5557 rm -f conftest.$ac_objext 5255 5558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5256 (eval $ac_compile) 2>&5 5257 ac_status=$? 5559 (eval $ac_compile) 2>conftest.er1 5560 ac_status=$? 5561 grep -v '^ *+' conftest.er1 >conftest.err 5562 rm -f conftest.er1 5563 cat conftest.err >&5 5258 5564 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5259 5565 (exit $ac_status); } && 5260 { ac_try='test -s conftest.$ac_objext' 5566 { ac_try='test -z "$ac_c_werror_flag" 5567 || test ! -s conftest.err' 5261 5568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5262 5569 (eval $ac_try) 2>&5 5263 5570 ac_status=$? 5264 5571 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5572 (exit $ac_status); }; } && 5573 { ac_try='test -s conftest.$ac_objext' 5574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5575 (eval $ac_try) 2>&5 5576 ac_status=$? 5577 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5265 5578 (exit $ac_status); }; }; then 5266 5579 ac_header_compiler=yes … … 5271 5584 ac_header_compiler=no 5272 5585 fi 5273 rm -f conftest. $ac_objext conftest.$ac_ext5586 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5274 5587 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5275 5588 echo "${ECHO_T}$ac_header_compiler" >&6 … … 5279 5592 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 5280 5593 cat >conftest.$ac_ext <<_ACEOF 5281 #line $LINENO "configure"5282 5594 /* confdefs.h. */ 5283 5595 _ACEOF … … 5297 5609 if test -s conftest.err; then 5298 5610 ac_cpp_err=$ac_c_preproc_warn_flag 5611 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 5299 5612 else 5300 5613 ac_cpp_err= … … 5316 5629 5317 5630 # So? What about this header? 5318 case $ac_header_compiler:$ac_header_preproc in5319 yes:no )5631 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5632 yes:no: ) 5320 5633 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5321 5634 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 5635 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 5636 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5637 ac_header_preproc=yes 5638 ;; 5639 no:yes:* ) 5640 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5641 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5642 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5643 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5644 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5645 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5646 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5647 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5322 5648 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5323 5649 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5650 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5651 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5324 5652 ( 5325 5653 cat <<\_ASBOX 5326 ## ------------------------------------ ## 5327 ## Report this to bug-autoconf@gnu.org. ## 5328 ## ------------------------------------ ## 5329 _ASBOX 5330 ) | 5331 sed "s/^/$as_me: WARNING: /" >&2 5332 ;; 5333 no:yes ) 5334 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5335 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5336 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5337 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5338 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5339 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5340 ( 5341 cat <<\_ASBOX 5342 ## ------------------------------------ ## 5343 ## Report this to bug-autoconf@gnu.org. ## 5344 ## ------------------------------------ ## 5654 ## ------------------------------------------- ## 5655 ## Report this to orxonox-dev@mail.datacore.ch ## 5656 ## ------------------------------------------- ## 5345 5657 _ASBOX 5346 5658 ) | … … 5353 5665 echo $ECHO_N "(cached) $ECHO_C" >&6 5354 5666 else 5355 eval "$as_ac_Header= $ac_header_preproc"5667 eval "$as_ac_Header=\$ac_header_preproc" 5356 5668 fi 5357 5669 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 … … 5390 5702 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 5391 5703 cat >conftest.$ac_ext <<_ACEOF 5392 #line $LINENO "configure"5393 5704 /* confdefs.h. */ 5394 5705 _ACEOF … … 5401 5712 rm -f conftest.$ac_objext 5402 5713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5403 (eval $ac_compile) 2>&5 5404 ac_status=$? 5714 (eval $ac_compile) 2>conftest.er1 5715 ac_status=$? 5716 grep -v '^ *+' conftest.er1 >conftest.err 5717 rm -f conftest.er1 5718 cat conftest.err >&5 5405 5719 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5406 5720 (exit $ac_status); } && 5407 { ac_try='test -s conftest.$ac_objext' 5721 { ac_try='test -z "$ac_c_werror_flag" 5722 || test ! -s conftest.err' 5408 5723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5409 5724 (eval $ac_try) 2>&5 5410 5725 ac_status=$? 5411 5726 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5727 (exit $ac_status); }; } && 5728 { ac_try='test -s conftest.$ac_objext' 5729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5730 (eval $ac_try) 2>&5 5731 ac_status=$? 5732 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5412 5733 (exit $ac_status); }; }; then 5413 5734 ac_header_compiler=yes … … 5418 5739 ac_header_compiler=no 5419 5740 fi 5420 rm -f conftest. $ac_objext conftest.$ac_ext5741 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5421 5742 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5422 5743 echo "${ECHO_T}$ac_header_compiler" >&6 … … 5426 5747 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 5427 5748 cat >conftest.$ac_ext <<_ACEOF 5428 #line $LINENO "configure"5429 5749 /* confdefs.h. */ 5430 5750 _ACEOF … … 5444 5764 if test -s conftest.err; then 5445 5765 ac_cpp_err=$ac_c_preproc_warn_flag 5766 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 5446 5767 else 5447 5768 ac_cpp_err= … … 5463 5784 5464 5785 # So? What about this header? 5465 case $ac_header_compiler:$ac_header_preproc in5466 yes:no )5786 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5787 yes:no: ) 5467 5788 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5468 5789 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 5790 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 5791 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5792 ac_header_preproc=yes 5793 ;; 5794 no:yes:* ) 5795 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5796 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5797 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5798 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5799 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5800 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5801 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5802 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5469 5803 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5470 5804 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5805 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5806 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5471 5807 ( 5472 5808 cat <<\_ASBOX 5473 ## ------------------------------------ ## 5474 ## Report this to bug-autoconf@gnu.org. ## 5475 ## ------------------------------------ ## 5476 _ASBOX 5477 ) | 5478 sed "s/^/$as_me: WARNING: /" >&2 5479 ;; 5480 no:yes ) 5481 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5482 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5483 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5484 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5485 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5486 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5487 ( 5488 cat <<\_ASBOX 5489 ## ------------------------------------ ## 5490 ## Report this to bug-autoconf@gnu.org. ## 5491 ## ------------------------------------ ## 5809 ## ------------------------------------------- ## 5810 ## Report this to orxonox-dev@mail.datacore.ch ## 5811 ## ------------------------------------------- ## 5492 5812 _ASBOX 5493 5813 ) | … … 5500 5820 echo $ECHO_N "(cached) $ECHO_C" >&6 5501 5821 else 5502 eval "$as_ac_Header= $ac_header_preproc"5822 eval "$as_ac_Header=\$ac_header_preproc" 5503 5823 fi 5504 5824 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 … … 5522 5842 LIBS="$LIBS -framework OpenGL" 5523 5843 5524 ## checking for SDL 5525 SDL_VERSION=1.2.7 5526 5527 # Check whether --with-sdl-prefix or --without-sdl-prefix was given. 5528 if test "${with_sdl_prefix+set}" = set; then 5529 withval="$with_sdl_prefix" 5530 sdl_prefix="$withval" 5531 else 5532 sdl_prefix="" 5533 fi; 5534 5535 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given. 5536 if test "${with_sdl_exec_prefix+set}" = set; then 5537 withval="$with_sdl_exec_prefix" 5538 sdl_exec_prefix="$withval" 5539 else 5540 sdl_exec_prefix="" 5541 fi; 5542 # Check whether --enable-sdltest or --disable-sdltest was given. 5543 if test "${enable_sdltest+set}" = set; then 5544 enableval="$enable_sdltest" 5545 5546 else 5547 enable_sdltest=yes 5548 fi; 5549 5550 if test x$sdl_exec_prefix != x ; then 5551 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix" 5552 if test x${SDL_CONFIG+set} != xset ; then 5553 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config 5554 fi 5555 fi 5556 if test x$sdl_prefix != x ; then 5557 sdl_args="$sdl_args --prefix=$sdl_prefix" 5558 if test x${SDL_CONFIG+set} != xset ; then 5559 SDL_CONFIG=$sdl_prefix/bin/sdl-config 5560 fi 5561 fi 5562 5563 5564 PATH="$prefix/bin:$prefix/usr/bin:$PATH" 5565 # Extract the first word of "sdl-config", so it can be a program name with args. 5566 set dummy sdl-config; ac_word=$2 5567 echo "$as_me:$LINENO: checking for $ac_word" >&5 5568 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 5569 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then 5844 # checking for SDL-headers 5845 5846 for ac_header in SDL/SDL.h 5847 do 5848 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5849 if eval "test \"\${$as_ac_Header+set}\" = set"; then 5850 echo "$as_me:$LINENO: checking for $ac_header" >&5 5851 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 5852 if eval "test \"\${$as_ac_Header+set}\" = set"; then 5570 5853 echo $ECHO_N "(cached) $ECHO_C" >&6 5571 else 5572 case $SDL_CONFIG in 5573 [\\/]* | ?:[\\/]*) 5574 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path. 5575 ;; 5576 *) 5577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5578 for as_dir in $PATH 5579 do 5580 IFS=$as_save_IFS 5581 test -z "$as_dir" && as_dir=. 5582 for ac_exec_ext in '' $ac_executable_extensions; do 5583 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5584 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext" 5585 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5586 break 2 5587 fi 5588 done 5589 done 5590 5591 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no" 5592 ;; 5593 esac 5594 fi 5595 SDL_CONFIG=$ac_cv_path_SDL_CONFIG 5596 5597 if test -n "$SDL_CONFIG"; then 5598 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5 5599 echo "${ECHO_T}$SDL_CONFIG" >&6 5600 else 5601 echo "$as_me:$LINENO: result: no" >&5 5602 echo "${ECHO_T}no" >&6 5603 fi 5604 5605 min_sdl_version=$SDL_VERSION 5606 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5 5607 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6 5608 no_sdl="" 5609 if test "$SDL_CONFIG" = "no" ; then 5610 no_sdl=yes 5611 else 5612 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags` 5613 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs` 5614 5615 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \ 5616 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'` 5617 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \ 5618 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'` 5619 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \ 5620 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'` 5621 if test "x$enable_sdltest" = "xyes" ; then 5622 ac_save_CFLAGS="$CFLAGS" 5623 ac_save_LIBS="$LIBS" 5624 CFLAGS="$CFLAGS $SDL_CFLAGS" 5625 LIBS="$LIBS $SDL_LIBS" 5626 rm -f conf.sdltest 5627 if test "$cross_compiling" = yes; then 5628 echo $ac_n "cross compiling; assumed OK... $ac_c" 5629 else 5630 cat >conftest.$ac_ext <<_ACEOF 5631 #line $LINENO "configure" 5854 fi 5855 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 5856 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 5857 else 5858 # Is the header compilable? 5859 echo "$as_me:$LINENO: checking $ac_header usability" >&5 5860 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 5861 cat >conftest.$ac_ext <<_ACEOF 5632 5862 /* confdefs.h. */ 5633 5863 _ACEOF … … 5635 5865 cat >>conftest.$ac_ext <<_ACEOF 5636 5866 /* end confdefs.h. */ 5637 5638 #include <stdio.h> 5639 #include <stdlib.h> 5640 #include <string.h> 5641 #include "SDL.h" 5642 5643 char* 5644 my_strdup (char *str) 5645 { 5646 char *new_str; 5647 5648 if (str) 5649 { 5650 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char)); 5651 strcpy (new_str, str); 5652 } 5653 else 5654 new_str = NULL; 5655 5656 return new_str; 5657 } 5658 5659 int main (int argc, char *argv[]) 5660 { 5661 int major, minor, micro; 5662 char *tmp_version; 5663 5664 /* This hangs on some systems (?) 5665 system ("touch conf.sdltest"); 5666 */ 5667 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); } 5668 5669 /* HP/UX 9 (%@#!) writes to sscanf strings */ 5670 tmp_version = my_strdup("$min_sdl_version"); 5671 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) { 5672 printf("%s, bad version string\n", "$min_sdl_version"); 5673 exit(1); 5674 } 5675 5676 if (($sdl_major_version > major) || 5677 (($sdl_major_version == major) && ($sdl_minor_version > minor)) || 5678 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro))) 5679 { 5680 return 0; 5681 } 5682 else 5683 { 5684 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version); 5685 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro); 5686 printf("*** best to upgrade to the required version.\n"); 5687 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n"); 5688 printf("*** to point to the correct copy of sdl-config, and remove the file\n"); 5689 printf("*** config.cache before re-running configure\n"); 5690 return 1; 5691 } 5692 } 5693 5694 5695 _ACEOF 5696 rm -f conftest$ac_exeext 5697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5698 (eval $ac_link) 2>&5 5699 ac_status=$? 5700 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5701 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 5867 $ac_includes_default 5868 #include <$ac_header> 5869 _ACEOF 5870 rm -f conftest.$ac_objext 5871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5872 (eval $ac_compile) 2>conftest.er1 5873 ac_status=$? 5874 grep -v '^ *+' conftest.er1 >conftest.err 5875 rm -f conftest.er1 5876 cat conftest.err >&5 5877 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5878 (exit $ac_status); } && 5879 { ac_try='test -z "$ac_c_werror_flag" 5880 || test ! -s conftest.err' 5702 5881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5703 5882 (eval $ac_try) 2>&5 5704 5883 ac_status=$? 5705 5884 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5885 (exit $ac_status); }; } && 5886 { ac_try='test -s conftest.$ac_objext' 5887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5888 (eval $ac_try) 2>&5 5889 ac_status=$? 5890 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5706 5891 (exit $ac_status); }; }; then 5707 : 5708 else 5709 echo "$as_me: program exited with status $ac_status" >&5 5710 echo "$as_me: failed program was:" >&5 5892 ac_header_compiler=yes 5893 else 5894 echo "$as_me: failed program was:" >&5 5711 5895 sed 's/^/| /' conftest.$ac_ext >&5 5712 5896 5713 ( exit $ac_status ) 5714 no_sdl=yes 5715 fi 5716 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 5717 fi 5718 CFLAGS="$ac_save_CFLAGS" 5719 LIBS="$ac_save_LIBS" 5720 fi 5721 fi 5722 if test "x$no_sdl" = x ; then 5723 echo "$as_me:$LINENO: result: yes" >&5 5724 echo "${ECHO_T}yes" >&6 5725 : 5726 else 5727 echo "$as_me:$LINENO: result: no" >&5 5728 echo "${ECHO_T}no" >&6 5729 if test "$SDL_CONFIG" = "no" ; then 5730 echo "*** The sdl-config script installed by SDL could not be found" 5731 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in" 5732 echo "*** your path, or set the SDL_CONFIG environment variable to the" 5733 echo "*** full path to sdl-config." 5734 else 5735 if test -f conf.sdltest ; then 5736 : 5737 else 5738 echo "*** Could not run SDL test program, checking why..." 5739 CFLAGS="$CFLAGS $SDL_CFLAGS" 5740 LIBS="$LIBS $SDL_LIBS" 5741 cat >conftest.$ac_ext <<_ACEOF 5742 #line $LINENO "configure" 5897 ac_header_compiler=no 5898 fi 5899 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5900 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5901 echo "${ECHO_T}$ac_header_compiler" >&6 5902 5903 # Is the header present? 5904 echo "$as_me:$LINENO: checking $ac_header presence" >&5 5905 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 5906 cat >conftest.$ac_ext <<_ACEOF 5743 5907 /* confdefs.h. */ 5744 5908 _ACEOF … … 5746 5910 cat >>conftest.$ac_ext <<_ACEOF 5747 5911 /* end confdefs.h. */ 5748 5749 #include <stdio.h> 5750 #include "SDL.h" 5751 5752 int main(int argc, char *argv[]) 5753 { return 0; } 5754 #undef main 5755 #define main K_and_R_C_main 5756 5757 int 5758 main () 5759 { 5760 return 0; 5761 ; 5762 return 0; 5763 } 5764 _ACEOF 5765 rm -f conftest.$ac_objext conftest$ac_exeext 5766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5767 (eval $ac_link) 2>&5 5768 ac_status=$? 5769 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5770 (exit $ac_status); } && 5771 { ac_try='test -s conftest$ac_exeext' 5772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5773 (eval $ac_try) 2>&5 5774 ac_status=$? 5775 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5776 (exit $ac_status); }; }; then 5777 echo "*** The test program compiled, but did not run. This usually means" 5778 echo "*** that the run-time linker is not finding SDL or finding the wrong" 5779 echo "*** version of SDL. If it is not finding SDL, you'll need to set your" 5780 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" 5781 echo "*** to the installed location Also, make sure you have run ldconfig if that" 5782 echo "*** is required on your system" 5783 echo "***" 5784 echo "*** If you have an old version installed, it is best to remove it, although" 5785 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" 5912 #include <$ac_header> 5913 _ACEOF 5914 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 5915 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5916 ac_status=$? 5917 grep -v '^ *+' conftest.er1 >conftest.err 5918 rm -f conftest.er1 5919 cat conftest.err >&5 5920 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5921 (exit $ac_status); } >/dev/null; then 5922 if test -s conftest.err; then 5923 ac_cpp_err=$ac_c_preproc_warn_flag 5924 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 5925 else 5926 ac_cpp_err= 5927 fi 5928 else 5929 ac_cpp_err=yes 5930 fi 5931 if test -z "$ac_cpp_err"; then 5932 ac_header_preproc=yes 5786 5933 else 5787 5934 echo "$as_me: failed program was:" >&5 5788 5935 sed 's/^/| /' conftest.$ac_ext >&5 5789 5936 5790 echo "*** The test program failed to compile or link. See the file config.log for the" 5791 echo "*** exact error that occured. This usually means SDL was incorrectly installed" 5792 echo "*** or that you have moved SDL since it was installed. In the latter case, you" 5793 echo "*** may want to edit the sdl-config script: $SDL_CONFIG" 5794 fi 5795 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 5796 CFLAGS="$ac_save_CFLAGS" 5797 LIBS="$ac_save_LIBS" 5798 fi 5799 fi 5800 SDL_CFLAGS="" 5801 SDL_LIBS="" 5802 { { echo "$as_me:$LINENO: error: *** SDL version $SDL_VERSION not found!" >&5 5803 echo "$as_me: error: *** SDL version $SDL_VERSION not found!" >&2;} 5937 ac_header_preproc=no 5938 fi 5939 rm -f conftest.err conftest.$ac_ext 5940 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5941 echo "${ECHO_T}$ac_header_preproc" >&6 5942 5943 # So? What about this header? 5944 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5945 yes:no: ) 5946 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5947 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 5948 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 5949 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5950 ac_header_preproc=yes 5951 ;; 5952 no:yes:* ) 5953 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5954 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5955 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5956 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5957 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5958 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5959 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5960 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5961 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5962 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5963 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5964 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5965 ( 5966 cat <<\_ASBOX 5967 ## ------------------------------------------- ## 5968 ## Report this to orxonox-dev@mail.datacore.ch ## 5969 ## ------------------------------------------- ## 5970 _ASBOX 5971 ) | 5972 sed "s/^/$as_me: WARNING: /" >&2 5973 ;; 5974 esac 5975 echo "$as_me:$LINENO: checking for $ac_header" >&5 5976 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 5977 if eval "test \"\${$as_ac_Header+set}\" = set"; then 5978 echo $ECHO_N "(cached) $ECHO_C" >&6 5979 else 5980 eval "$as_ac_Header=\$ac_header_preproc" 5981 fi 5982 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 5983 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 5984 5985 fi 5986 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5987 cat >>confdefs.h <<_ACEOF 5988 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 5989 _ACEOF 5990 5991 else 5992 { { echo "$as_me:$LINENO: error: cannot find SDL headers" >&5 5993 echo "$as_me: error: cannot find SDL headers" >&2;} 5804 5994 { (exit 1); exit 1; }; } 5805 5806 fi 5807 5808 5809 rm -f conf.sdltest 5810 5811 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS" 5812 LIBS="$LIBS $SDL_LIBS" 5995 fi 5996 5997 done 5998 5999 6000 ## checking for SDL 6001 # SDL_VERSION=1.2.7 6002 # AM_PATH_SDL($SDL_VERSION, 6003 # :, 6004 # AC_MSG_ERROR([*** SDL version $SDL_VERSION not found!]) 6005 # ) 6006 6007 SDL_CFLAGS=`sdl-config --cflags` 6008 SDL_LIBS=`sdl-config --libs` 6009 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS" 6010 LIBS="$LIBS $SDL_LIBS" 5813 6011 ;; 5814 6012 … … 5943 6141 LIBS="-lpthread $LIBS" 5944 6142 cat >conftest.$ac_ext <<_ACEOF 5945 #line $LINENO "configure"5946 6143 /* confdefs.h. */ 5947 6144 _ACEOF … … 5961 6158 rm -f conftest.$ac_objext conftest$ac_exeext 5962 6159 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5963 (eval $ac_link) 2>&5 5964 ac_status=$? 6160 (eval $ac_link) 2>conftest.er1 6161 ac_status=$? 6162 grep -v '^ *+' conftest.er1 >conftest.err 6163 rm -f conftest.er1 6164 cat conftest.err >&5 5965 6165 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5966 6166 (exit $ac_status); } && 5967 { ac_try='test -s conftest$ac_exeext' 6167 { ac_try='test -z "$ac_c_werror_flag" 6168 || test ! -s conftest.err' 5968 6169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5969 6170 (eval $ac_try) 2>&5 5970 6171 ac_status=$? 5971 6172 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6173 (exit $ac_status); }; } && 6174 { ac_try='test -s conftest$ac_exeext' 6175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6176 (eval $ac_try) 2>&5 6177 ac_status=$? 6178 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5972 6179 (exit $ac_status); }; }; then 5973 6180 ac_cv_lib_pthread_main=yes … … 5978 6185 ac_cv_lib_pthread_main=no 5979 6186 fi 5980 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6187 rm -f conftest.err conftest.$ac_objext \ 6188 conftest$ac_exeext conftest.$ac_ext 5981 6189 LIBS=$ac_check_lib_save_LIBS 5982 6190 fi … … 6002 6210 LIBS="-lm $LIBS" 6003 6211 cat >conftest.$ac_ext <<_ACEOF 6004 #line $LINENO "configure"6005 6212 /* confdefs.h. */ 6006 6213 _ACEOF … … 6020 6227 rm -f conftest.$ac_objext conftest$ac_exeext 6021 6228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6022 (eval $ac_link) 2>&5 6023 ac_status=$? 6229 (eval $ac_link) 2>conftest.er1 6230 ac_status=$? 6231 grep -v '^ *+' conftest.er1 >conftest.err 6232 rm -f conftest.er1 6233 cat conftest.err >&5 6024 6234 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6025 6235 (exit $ac_status); } && 6026 { ac_try='test -s conftest$ac_exeext' 6236 { ac_try='test -z "$ac_c_werror_flag" 6237 || test ! -s conftest.err' 6027 6238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6028 6239 (eval $ac_try) 2>&5 6029 6240 ac_status=$? 6030 6241 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6242 (exit $ac_status); }; } && 6243 { ac_try='test -s conftest$ac_exeext' 6244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6245 (eval $ac_try) 2>&5 6246 ac_status=$? 6247 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6031 6248 (exit $ac_status); }; }; then 6032 6249 ac_cv_lib_m_main=yes … … 6037 6254 ac_cv_lib_m_main=no 6038 6255 fi 6039 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6256 rm -f conftest.err conftest.$ac_objext \ 6257 conftest$ac_exeext conftest.$ac_ext 6040 6258 LIBS=$ac_check_lib_save_LIBS 6041 6259 fi … … 6060 6278 else 6061 6279 cat >conftest.$ac_ext <<_ACEOF 6062 #line $LINENO "configure"6063 6280 /* confdefs.h. */ 6064 6281 _ACEOF … … 6081 6298 rm -f conftest.$ac_objext 6082 6299 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6083 (eval $ac_compile) 2>&5 6084 ac_status=$? 6300 (eval $ac_compile) 2>conftest.er1 6301 ac_status=$? 6302 grep -v '^ *+' conftest.er1 >conftest.err 6303 rm -f conftest.er1 6304 cat conftest.err >&5 6085 6305 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6086 6306 (exit $ac_status); } && 6087 { ac_try='test -s conftest.$ac_objext' 6307 { ac_try='test -z "$ac_c_werror_flag" 6308 || test ! -s conftest.err' 6088 6309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6089 6310 (eval $ac_try) 2>&5 6090 6311 ac_status=$? 6091 6312 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6313 (exit $ac_status); }; } && 6314 { ac_try='test -s conftest.$ac_objext' 6315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6316 (eval $ac_try) 2>&5 6317 ac_status=$? 6318 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6092 6319 (exit $ac_status); }; }; then 6093 6320 ac_cv_header_stdc=yes … … 6098 6325 ac_cv_header_stdc=no 6099 6326 fi 6100 rm -f conftest. $ac_objext conftest.$ac_ext6327 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6101 6328 6102 6329 if test $ac_cv_header_stdc = yes; then 6103 6330 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 6104 6331 cat >conftest.$ac_ext <<_ACEOF 6105 #line $LINENO "configure"6106 6332 /* confdefs.h. */ 6107 6333 _ACEOF … … 6125 6351 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 6126 6352 cat >conftest.$ac_ext <<_ACEOF 6127 #line $LINENO "configure"6128 6353 /* confdefs.h. */ 6129 6354 _ACEOF … … 6150 6375 else 6151 6376 cat >conftest.$ac_ext <<_ACEOF 6152 #line $LINENO "configure"6153 6377 /* confdefs.h. */ 6154 6378 _ACEOF … … 6162 6386 #else 6163 6387 # define ISLOWER(c) \ 6164 6165 6166 6388 (('a' <= (c) && (c) <= 'i') \ 6389 || ('j' <= (c) && (c) <= 'r') \ 6390 || ('s' <= (c) && (c) <= 'z')) 6167 6391 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 6168 6392 #endif … … 6175 6399 for (i = 0; i < 256; i++) 6176 6400 if (XOR (islower (i), ISLOWER (i)) 6177 6401 || toupper (i) != TOUPPER (i)) 6178 6402 exit(2); 6179 6403 exit (0); … … 6200 6424 ac_cv_header_stdc=no 6201 6425 fi 6202 rm -f core core.**.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext6426 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 6203 6427 fi 6204 6428 fi … … 6232 6456 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 6233 6457 cat >conftest.$ac_ext <<_ACEOF 6234 #line $LINENO "configure"6235 6458 /* confdefs.h. */ 6236 6459 _ACEOF … … 6243 6466 rm -f conftest.$ac_objext 6244 6467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6245 (eval $ac_compile) 2>&5 6246 ac_status=$? 6468 (eval $ac_compile) 2>conftest.er1 6469 ac_status=$? 6470 grep -v '^ *+' conftest.er1 >conftest.err 6471 rm -f conftest.er1 6472 cat conftest.err >&5 6247 6473 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6248 6474 (exit $ac_status); } && 6249 { ac_try='test -s conftest.$ac_objext' 6475 { ac_try='test -z "$ac_c_werror_flag" 6476 || test ! -s conftest.err' 6250 6477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6251 6478 (eval $ac_try) 2>&5 6252 6479 ac_status=$? 6253 6480 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6481 (exit $ac_status); }; } && 6482 { ac_try='test -s conftest.$ac_objext' 6483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6484 (eval $ac_try) 2>&5 6485 ac_status=$? 6486 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6254 6487 (exit $ac_status); }; }; then 6255 6488 ac_header_compiler=yes … … 6260 6493 ac_header_compiler=no 6261 6494 fi 6262 rm -f conftest. $ac_objext conftest.$ac_ext6495 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6263 6496 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6264 6497 echo "${ECHO_T}$ac_header_compiler" >&6 … … 6268 6501 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 6269 6502 cat >conftest.$ac_ext <<_ACEOF 6270 #line $LINENO "configure"6271 6503 /* confdefs.h. */ 6272 6504 _ACEOF … … 6286 6518 if test -s conftest.err; then 6287 6519 ac_cpp_err=$ac_c_preproc_warn_flag 6520 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 6288 6521 else 6289 6522 ac_cpp_err= … … 6305 6538 6306 6539 # So? What about this header? 6307 case $ac_header_compiler:$ac_header_preproc in6308 yes:no )6540 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 6541 yes:no: ) 6309 6542 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6310 6543 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6544 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6545 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6546 ac_header_preproc=yes 6547 ;; 6548 no:yes:* ) 6549 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6550 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6551 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6552 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6553 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6554 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6555 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6556 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6311 6557 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6312 6558 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6559 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6560 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6313 6561 ( 6314 6562 cat <<\_ASBOX 6315 ## ------------------------------------ ## 6316 ## Report this to bug-autoconf@gnu.org. ## 6317 ## ------------------------------------ ## 6318 _ASBOX 6319 ) | 6320 sed "s/^/$as_me: WARNING: /" >&2 6321 ;; 6322 no:yes ) 6323 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6324 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6325 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6326 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6327 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6328 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6329 ( 6330 cat <<\_ASBOX 6331 ## ------------------------------------ ## 6332 ## Report this to bug-autoconf@gnu.org. ## 6333 ## ------------------------------------ ## 6563 ## ------------------------------------------- ## 6564 ## Report this to orxonox-dev@mail.datacore.ch ## 6565 ## ------------------------------------------- ## 6334 6566 _ASBOX 6335 6567 ) | … … 6342 6574 echo $ECHO_N "(cached) $ECHO_C" >&6 6343 6575 else 6344 eval "$as_ac_Header= $ac_header_preproc"6576 eval "$as_ac_Header=\$ac_header_preproc" 6345 6577 fi 6346 6578 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 … … 6365 6597 else 6366 6598 cat >conftest.$ac_ext <<_ACEOF 6367 #line $LINENO "configure"6368 6599 /* confdefs.h. */ 6369 6600 _ACEOF … … 6392 6623 #endif 6393 6624 6394 6395 6396 6397 6398 6399 6400 6401 6402 6403 6404 6625 struct s { _Bool s: 1; _Bool t; } s; 6626 6627 char a[true == 1 ? 1 : -1]; 6628 char b[false == 0 ? 1 : -1]; 6629 char c[__bool_true_false_are_defined == 1 ? 1 : -1]; 6630 char d[(bool) -0.5 == true ? 1 : -1]; 6631 bool e = &s; 6632 char f[(_Bool) -0.0 == false ? 1 : -1]; 6633 char g[true]; 6634 char h[sizeof (_Bool)]; 6635 char i[sizeof s.t]; 6405 6636 6406 6637 int … … 6414 6645 rm -f conftest.$ac_objext 6415 6646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6416 (eval $ac_compile) 2>&5 6417 ac_status=$? 6647 (eval $ac_compile) 2>conftest.er1 6648 ac_status=$? 6649 grep -v '^ *+' conftest.er1 >conftest.err 6650 rm -f conftest.er1 6651 cat conftest.err >&5 6418 6652 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6419 6653 (exit $ac_status); } && 6420 { ac_try='test -s conftest.$ac_objext' 6654 { ac_try='test -z "$ac_c_werror_flag" 6655 || test ! -s conftest.err' 6421 6656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6422 6657 (eval $ac_try) 2>&5 6423 6658 ac_status=$? 6424 6659 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6660 (exit $ac_status); }; } && 6661 { ac_try='test -s conftest.$ac_objext' 6662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6663 (eval $ac_try) 2>&5 6664 ac_status=$? 6665 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6425 6666 (exit $ac_status); }; }; then 6426 6667 ac_cv_header_stdbool_h=yes … … 6431 6672 ac_cv_header_stdbool_h=no 6432 6673 fi 6433 rm -f conftest. $ac_objext conftest.$ac_ext6674 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6434 6675 fi 6435 6676 echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5 … … 6441 6682 else 6442 6683 cat >conftest.$ac_ext <<_ACEOF 6443 #line $LINENO "configure"6444 6684 /* confdefs.h. */ 6445 6685 _ACEOF … … 6461 6701 rm -f conftest.$ac_objext 6462 6702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6463 (eval $ac_compile) 2>&5 6464 ac_status=$? 6703 (eval $ac_compile) 2>conftest.er1 6704 ac_status=$? 6705 grep -v '^ *+' conftest.er1 >conftest.err 6706 rm -f conftest.er1 6707 cat conftest.err >&5 6465 6708 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6466 6709 (exit $ac_status); } && 6467 { ac_try='test -s conftest.$ac_objext' 6710 { ac_try='test -z "$ac_c_werror_flag" 6711 || test ! -s conftest.err' 6468 6712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6469 6713 (eval $ac_try) 2>&5 6470 6714 ac_status=$? 6471 6715 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6716 (exit $ac_status); }; } && 6717 { ac_try='test -s conftest.$ac_objext' 6718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6719 (eval $ac_try) 2>&5 6720 ac_status=$? 6721 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6472 6722 (exit $ac_status); }; }; then 6473 6723 ac_cv_type__Bool=yes … … 6478 6728 ac_cv_type__Bool=no 6479 6729 fi 6480 rm -f conftest. $ac_objext conftest.$ac_ext6730 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6481 6731 fi 6482 6732 echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5 … … 6518 6768 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 6519 6769 cat >conftest.$ac_ext <<_ACEOF 6520 #line $LINENO "configure"6521 6770 /* confdefs.h. */ 6522 6771 _ACEOF … … 6529 6778 rm -f conftest.$ac_objext 6530 6779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6531 (eval $ac_compile) 2>&5 6532 ac_status=$? 6780 (eval $ac_compile) 2>conftest.er1 6781 ac_status=$? 6782 grep -v '^ *+' conftest.er1 >conftest.err 6783 rm -f conftest.er1 6784 cat conftest.err >&5 6533 6785 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6534 6786 (exit $ac_status); } && 6535 { ac_try='test -s conftest.$ac_objext' 6787 { ac_try='test -z "$ac_c_werror_flag" 6788 || test ! -s conftest.err' 6536 6789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6537 6790 (eval $ac_try) 2>&5 6538 6791 ac_status=$? 6539 6792 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6793 (exit $ac_status); }; } && 6794 { ac_try='test -s conftest.$ac_objext' 6795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6796 (eval $ac_try) 2>&5 6797 ac_status=$? 6798 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6540 6799 (exit $ac_status); }; }; then 6541 6800 ac_header_compiler=yes … … 6546 6805 ac_header_compiler=no 6547 6806 fi 6548 rm -f conftest. $ac_objext conftest.$ac_ext6807 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6549 6808 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6550 6809 echo "${ECHO_T}$ac_header_compiler" >&6 … … 6554 6813 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 6555 6814 cat >conftest.$ac_ext <<_ACEOF 6556 #line $LINENO "configure"6557 6815 /* confdefs.h. */ 6558 6816 _ACEOF … … 6572 6830 if test -s conftest.err; then 6573 6831 ac_cpp_err=$ac_c_preproc_warn_flag 6832 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 6574 6833 else 6575 6834 ac_cpp_err= … … 6591 6850 6592 6851 # So? What about this header? 6593 case $ac_header_compiler:$ac_header_preproc in6594 yes:no )6852 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 6853 yes:no: ) 6595 6854 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6596 6855 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6856 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6857 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6858 ac_header_preproc=yes 6859 ;; 6860 no:yes:* ) 6861 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6862 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6863 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6864 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6865 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6866 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6867 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6868 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6597 6869 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6598 6870 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6871 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6872 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6599 6873 ( 6600 6874 cat <<\_ASBOX 6601 ## ------------------------------------ ## 6602 ## Report this to bug-autoconf@gnu.org. ## 6603 ## ------------------------------------ ## 6604 _ASBOX 6605 ) | 6606 sed "s/^/$as_me: WARNING: /" >&2 6607 ;; 6608 no:yes ) 6609 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6610 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6611 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6612 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6613 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6614 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6615 ( 6616 cat <<\_ASBOX 6617 ## ------------------------------------ ## 6618 ## Report this to bug-autoconf@gnu.org. ## 6619 ## ------------------------------------ ## 6875 ## ------------------------------------------- ## 6876 ## Report this to orxonox-dev@mail.datacore.ch ## 6877 ## ------------------------------------------- ## 6620 6878 _ASBOX 6621 6879 ) | … … 6628 6886 echo $ECHO_N "(cached) $ECHO_C" >&6 6629 6887 else 6630 eval "$as_ac_Header= $ac_header_preproc"6888 eval "$as_ac_Header=\$ac_header_preproc" 6631 6889 fi 6632 6890 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 … … 6652 6910 else 6653 6911 cat >conftest.$ac_ext <<_ACEOF 6654 #line $LINENO "configure"6655 6912 /* confdefs.h. */ 6656 6913 _ACEOF … … 6692 6949 ac_cv_func_malloc_0_nonnull=no 6693 6950 fi 6694 rm -f core core.**.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext6951 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 6695 6952 fi 6696 6953 fi … … 6708 6965 _ACEOF 6709 6966 6710 LIBOBJS="$LIBOBJS malloc.$ac_objext" 6967 case $LIBOBJS in 6968 "malloc.$ac_objext" | \ 6969 *" malloc.$ac_objext" | \ 6970 "malloc.$ac_objext "* | \ 6971 *" malloc.$ac_objext "* ) ;; 6972 *) LIBOBJS="$LIBOBJS malloc.$ac_objext" ;; 6973 esac 6974 6711 6975 6712 6976 cat >>confdefs.h <<\_ACEOF … … 6729 6993 else 6730 6994 cat >conftest.$ac_ext <<_ACEOF 6731 #line $LINENO "configure"6732 6995 /* confdefs.h. */ 6733 6996 _ACEOF … … 6735 6998 cat >>conftest.$ac_ext <<_ACEOF 6736 6999 /* end confdefs.h. */ 7000 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 7001 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 7002 #define $ac_func innocuous_$ac_func 7003 6737 7004 /* System header to define __stub macros and hopefully few prototypes, 6738 7005 which can conflict with char $ac_func (); below. 6739 7006 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6740 7007 <limits.h> exists even on freestanding compilers. */ 7008 6741 7009 #ifdef __STDC__ 6742 7010 # include <limits.h> … … 6744 7012 # include <assert.h> 6745 7013 #endif 7014 7015 #undef $ac_func 7016 6746 7017 /* Override any gcc2 internal prototype to avoid an error. */ 6747 7018 #ifdef __cplusplus … … 6774 7045 rm -f conftest.$ac_objext conftest$ac_exeext 6775 7046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6776 (eval $ac_link) 2>&5 6777 ac_status=$? 7047 (eval $ac_link) 2>conftest.er1 7048 ac_status=$? 7049 grep -v '^ *+' conftest.er1 >conftest.err 7050 rm -f conftest.er1 7051 cat conftest.err >&5 6778 7052 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6779 7053 (exit $ac_status); } && 6780 { ac_try='test -s conftest$ac_exeext' 7054 { ac_try='test -z "$ac_c_werror_flag" 7055 || test ! -s conftest.err' 6781 7056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6782 7057 (eval $ac_try) 2>&5 6783 7058 ac_status=$? 6784 7059 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7060 (exit $ac_status); }; } && 7061 { ac_try='test -s conftest$ac_exeext' 7062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7063 (eval $ac_try) 2>&5 7064 ac_status=$? 7065 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6785 7066 (exit $ac_status); }; }; then 6786 7067 eval "$as_ac_var=yes" … … 6791 7072 eval "$as_ac_var=no" 6792 7073 fi 6793 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7074 rm -f conftest.err conftest.$ac_objext \ 7075 conftest$ac_exeext conftest.$ac_ext 6794 7076 fi 6795 7077 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 … … 6834 7116 # substitution turns \\\\ into \\, and sed turns \\ into \). 6835 7117 sed -n \ 6836 6837 7118 "s/'/'\\\\''/g; 7119 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 6838 7120 ;; 6839 7121 *) 6840 7122 # `set' quotes correctly as required by POSIX, so do not add quotes. 6841 7123 sed -n \ 6842 7124 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 6843 7125 ;; 6844 7126 esac; … … 6870 7152 # (actually we leave an empty line to preserve line numbers). 6871 7153 if test "x$srcdir" = x.; then 6872 ac_vpsub='/^[ ]*VPATH[]*=/{7154 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 6873 7155 s/:*\$(srcdir):*/:/; 6874 7156 s/:*\${srcdir}:*/:/; 6875 7157 s/:*@srcdir@:*/:/; 6876 s/^\([^=]*=[ 7158 s/^\([^=]*=[ ]*\):*/\1/; 6877 7159 s/:*$//; 6878 s/^[^=]*=[ 7160 s/^[^=]*=[ ]*$//; 6879 7161 }' 6880 7162 fi … … 6887 7169 # 1. Remove the extension, and $U if already installed. 6888 7170 ac_i=`echo "$ac_i" | 6889 7171 sed 's/\$U\././;s/\.o$//;s/\.obj$//'` 6890 7172 # 2. Add them. 6891 7173 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" … … 6959 7241 set -o posix 6960 7242 fi 7243 DUALCASE=1; export DUALCASE # for MKS sh 6961 7244 6962 7245 # Support unset when possible. 6963 if ( FOO=FOO; unset FOO) >/dev/null 2>&1; then7246 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 6964 7247 as_unset=unset 6965 7248 else … … 6980 7263 LC_TELEPHONE LC_TIME 6981 7264 do 6982 if (set +x; test - n"`(eval $as_var=C; export $as_var) 2>&1`"); then7265 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 6983 7266 eval $as_var=C; export $as_var 6984 7267 else … … 7159 7442 as_mkdir_p=: 7160 7443 else 7444 test -d ./-p && rmdir ./-p 7161 7445 as_mkdir_p=false 7162 7446 fi … … 7165 7449 7166 7450 # Sed expression to map a string onto a valid CPP name. 7167 as_tr_cpp=" sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"7451 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 7168 7452 7169 7453 # Sed expression to map a string onto a valid variable name. 7170 as_tr_sh=" sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"7454 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 7171 7455 7172 7456 … … 7195 7479 7196 7480 This file was extended by orxonox $as_me 0.1-pre-alpha, which was 7197 generated by GNU Autoconf 2.5 7. Invocation command line was7481 generated by GNU Autoconf 2.59. Invocation command line was 7198 7482 7199 7483 CONFIG_FILES = $CONFIG_FILES … … 7239 7523 --recheck update $as_me by reconfiguring in the same conditions 7240 7524 --file=FILE[:TEMPLATE] 7241 7525 instantiate the configuration file FILE 7242 7526 --header=FILE[:TEMPLATE] 7243 7527 instantiate the configuration header FILE 7244 7528 7245 7529 Configuration files: … … 7258 7542 ac_cs_version="\\ 7259 7543 orxonox config.status 0.1-pre-alpha 7260 configured by $0, generated by GNU Autoconf 2.5 7,7544 configured by $0, generated by GNU Autoconf 2.59, 7261 7545 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 7262 7546 7263 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 7264 Free Software Foundation, Inc. 7547 Copyright (C) 2003 Free Software Foundation, Inc. 7265 7548 This config.status script is free software; the Free Software Foundation 7266 7549 gives unlimited permission to copy, distribute and modify it." … … 7488 7771 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t 7489 7772 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t 7773 s,@mkdir_p@,$mkdir_p,;t t 7490 7774 s,@AWK@,$AWK,;t t 7491 7775 s,@SET_MAKE@,$SET_MAKE,;t t … … 7555 7839 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed 7556 7840 if test -z "$ac_sed_cmds"; then 7557 7841 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" 7558 7842 else 7559 7843 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" 7560 7844 fi 7561 7845 ac_sed_frag=`expr $ac_sed_frag + 1` … … 7575 7859 case $ac_file in 7576 7860 - | *:- | *:-:* ) # input from stdin 7577 7578 7579 7861 cat >$tmp/stdin 7862 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 7863 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 7580 7864 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 7581 7865 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 7582 7866 * ) ac_file_in=$ac_file.in ;; 7583 7867 esac … … 7586 7870 ac_dir=`(dirname "$ac_file") 2>/dev/null || 7587 7871 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7588 7589 7590 7591 7872 X"$ac_file" : 'X\(//\)[^/]' \| \ 7873 X"$ac_file" : 'X\(//\)$' \| \ 7874 X"$ac_file" : 'X\(/\)' \| \ 7875 . : '\(.\)' 2>/dev/null || 7592 7876 echo X"$ac_file" | 7593 7877 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } … … 7605 7889 as_dir=`(dirname "$as_dir") 2>/dev/null || 7606 7890 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7607 7608 7609 7610 7891 X"$as_dir" : 'X\(//\)[^/]' \| \ 7892 X"$as_dir" : 'X\(//\)$' \| \ 7893 X"$as_dir" : 'X\(/\)' \| \ 7894 . : '\(.\)' 2>/dev/null || 7611 7895 echo X"$as_dir" | 7612 7896 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } … … 7646 7930 ac_top_srcdir=$ac_top_builddir$srcdir ;; 7647 7931 esac 7648 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be 7649 # absolute. 7650 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` 7651 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` 7652 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` 7653 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` 7932 7933 # Do not use `cd foo && pwd` to compute absolute paths, because 7934 # the directories may not exist. 7935 case `pwd` in 7936 .) ac_abs_builddir="$ac_dir";; 7937 *) 7938 case "$ac_dir" in 7939 .) ac_abs_builddir=`pwd`;; 7940 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 7941 *) ac_abs_builddir=`pwd`/"$ac_dir";; 7942 esac;; 7943 esac 7944 case $ac_abs_builddir in 7945 .) ac_abs_top_builddir=${ac_top_builddir}.;; 7946 *) 7947 case ${ac_top_builddir}. in 7948 .) ac_abs_top_builddir=$ac_abs_builddir;; 7949 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 7950 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 7951 esac;; 7952 esac 7953 case $ac_abs_builddir in 7954 .) ac_abs_srcdir=$ac_srcdir;; 7955 *) 7956 case $ac_srcdir in 7957 .) ac_abs_srcdir=$ac_abs_builddir;; 7958 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 7959 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 7960 esac;; 7961 esac 7962 case $ac_abs_builddir in 7963 .) ac_abs_top_srcdir=$ac_top_srcdir;; 7964 *) 7965 case $ac_top_srcdir in 7966 .) ac_abs_top_srcdir=$ac_abs_builddir;; 7967 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 7968 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 7969 esac;; 7970 esac 7654 7971 7655 7972 … … 7673 7990 fi 7674 7991 configure_input=$configure_input"Generated from `echo $ac_file_in | 7675 7992 sed 's,.*/,,'` by configure." 7676 7993 7677 7994 # First look for the input files in the build tree, otherwise in the … … 7682 7999 -) echo $tmp/stdin ;; 7683 8000 [\\/$]*) 7684 7685 8001 # Absolute (can't be DOS-style, as IFS=:) 8002 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 7686 8003 echo "$as_me: error: cannot find input file: $f" >&2;} 7687 8004 { (exit 1); exit 1; }; } 7688 echo $f;;8005 echo "$f";; 7689 8006 *) # Relative 7690 7691 7692 echo $f 7693 7694 7695 echo $srcdir/$f 7696 7697 7698 8007 if test -f "$f"; then 8008 # Build tree 8009 echo "$f" 8010 elif test -f "$srcdir/$f"; then 8011 # Source tree 8012 echo "$srcdir/$f" 8013 else 8014 # /dev/null tree 8015 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 7699 8016 echo "$as_me: error: cannot find input file: $f" >&2;} 7700 8017 { (exit 1); exit 1; }; } 7701 8018 fi;; 7702 8019 esac 7703 8020 done` || { (exit 1); exit 1; } … … 7741 8058 # 7742 8059 # ac_d sets the value in "#define NAME VALUE" lines. 7743 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][]*\)'7744 ac_dB='[ 8060 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' 8061 ac_dB='[ ].*$,\1#\2' 7745 8062 ac_dC=' ' 7746 8063 ac_dD=',;t' 7747 8064 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". 7748 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][]*\)'8065 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' 7749 8066 ac_uB='$,\1#\2define\3' 7750 8067 ac_uC=' ' … … 7755 8072 case $ac_file in 7756 8073 - | *:- | *:-:* ) # input from stdin 7757 7758 7759 8074 cat >$tmp/stdin 8075 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 8076 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 7760 8077 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 7761 8078 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 7762 8079 * ) ac_file_in=$ac_file.in ;; 7763 8080 esac … … 7773 8090 -) echo $tmp/stdin ;; 7774 8091 [\\/$]*) 7775 7776 8092 # Absolute (can't be DOS-style, as IFS=:) 8093 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 7777 8094 echo "$as_me: error: cannot find input file: $f" >&2;} 7778 8095 { (exit 1); exit 1; }; } 7779 echo $f;; 8096 # Do quote $f, to prevent DOS paths from being IFS'd. 8097 echo "$f";; 7780 8098 *) # Relative 7781 7782 7783 echo $f 7784 7785 7786 echo $srcdir/$f 7787 7788 7789 8099 if test -f "$f"; then 8100 # Build tree 8101 echo "$f" 8102 elif test -f "$srcdir/$f"; then 8103 # Source tree 8104 echo "$srcdir/$f" 8105 else 8106 # /dev/null tree 8107 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 7790 8108 echo "$as_me: error: cannot find input file: $f" >&2;} 7791 8109 { (exit 1); exit 1; }; } 7792 8110 fi;; 7793 8111 esac 7794 8112 done` || { (exit 1); exit 1; } 7795 8113 # Remove the trailing spaces. 7796 sed 's/[ 8114 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in 7797 8115 7798 8116 _ACEOF … … 7817 8135 t clear 7818 8136 : clear 7819 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp8137 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp 7820 8138 t end 7821 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp8139 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp 7822 8140 : end 7823 8141 _ACEOF … … 7833 8151 # on some systems where configure will not decide to define it. 7834 8152 cat >>conftest.undefs <<\_ACEOF 7835 s,^[ ]*#[ ]*undef[ ][]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,8153 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, 7836 8154 _ACEOF 7837 8155 … … 7839 8157 # of here documents, and old seds have small limits too (100 cmds). 7840 8158 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS 7841 echo ' if grep "^[ ]*#[]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS8159 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS 7842 8160 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS 7843 8161 echo ' :' >>$CONFIG_STATUS … … 7848 8166 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS 7849 8167 # Speed up: don't consider the non `#define' lines. 7850 echo '/^[ ]*#[]*define/!b' >>$CONFIG_STATUS8168 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS 7851 8169 # Work around the forget-to-reset-the-flag bug. 7852 8170 echo 't clr' >>$CONFIG_STATUS … … 7875 8193 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS 7876 8194 # Speed up: don't consider the non `#undef' 7877 echo '/^[ ]*#[]*undef/!b' >>$CONFIG_STATUS8195 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS 7878 8196 # Work around the forget-to-reset-the-flag bug. 7879 8197 echo 't clr' >>$CONFIG_STATUS … … 7909 8227 ac_dir=`(dirname "$ac_file") 2>/dev/null || 7910 8228 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7911 7912 7913 7914 8229 X"$ac_file" : 'X\(//\)[^/]' \| \ 8230 X"$ac_file" : 'X\(//\)$' \| \ 8231 X"$ac_file" : 'X\(/\)' \| \ 8232 . : '\(.\)' 2>/dev/null || 7915 8233 echo X"$ac_file" | 7916 8234 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } … … 7928 8246 as_dir=`(dirname "$as_dir") 2>/dev/null || 7929 8247 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7930 7931 7932 7933 8248 X"$as_dir" : 'X\(//\)[^/]' \| \ 8249 X"$as_dir" : 'X\(//\)$' \| \ 8250 X"$as_dir" : 'X\(/\)' \| \ 8251 . : '\(.\)' 2>/dev/null || 7934 8252 echo X"$as_dir" | 7935 8253 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } … … 7963 8281 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null || 7964 8282 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7965 7966 7967 7968 8283 X$ac_file : 'X\(//\)[^/]' \| \ 8284 X$ac_file : 'X\(//\)$' \| \ 8285 X$ac_file : 'X\(/\)' \| \ 8286 . : '\(.\)' 2>/dev/null || 7969 8287 echo X$ac_file | 7970 8288 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } … … 7985 8303 ac_dir=`(dirname "$ac_dest") 2>/dev/null || 7986 8304 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7987 7988 7989 7990 8305 X"$ac_dest" : 'X\(//\)[^/]' \| \ 8306 X"$ac_dest" : 'X\(//\)$' \| \ 8307 X"$ac_dest" : 'X\(/\)' \| \ 8308 . : '\(.\)' 2>/dev/null || 7991 8309 echo X"$ac_dest" | 7992 8310 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } … … 7995 8313 /^X\(\/\).*/{ s//\1/; q; } 7996 8314 s/.*/./; q'` 8315 { if $as_mkdir_p; then 8316 mkdir -p "$ac_dir" 8317 else 8318 as_dir="$ac_dir" 8319 as_dirs= 8320 while test ! -d "$as_dir"; do 8321 as_dirs="$as_dir $as_dirs" 8322 as_dir=`(dirname "$as_dir") 2>/dev/null || 8323 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8324 X"$as_dir" : 'X\(//\)[^/]' \| \ 8325 X"$as_dir" : 'X\(//\)$' \| \ 8326 X"$as_dir" : 'X\(/\)' \| \ 8327 . : '\(.\)' 2>/dev/null || 8328 echo X"$as_dir" | 8329 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 8330 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 8331 /^X\(\/\/\)$/{ s//\1/; q; } 8332 /^X\(\/\).*/{ s//\1/; q; } 8333 s/.*/./; q'` 8334 done 8335 test ! -n "$as_dirs" || mkdir $as_dirs 8336 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 8337 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 8338 { (exit 1); exit 1; }; }; } 8339 7997 8340 ac_builddir=. 7998 8341 … … 8020 8363 ac_top_srcdir=$ac_top_builddir$srcdir ;; 8021 8364 esac 8022 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be 8023 # absolute. 8024 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` 8025 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` 8026 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` 8027 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` 8365 8366 # Do not use `cd foo && pwd` to compute absolute paths, because 8367 # the directories may not exist. 8368 case `pwd` in 8369 .) ac_abs_builddir="$ac_dir";; 8370 *) 8371 case "$ac_dir" in 8372 .) ac_abs_builddir=`pwd`;; 8373 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 8374 *) ac_abs_builddir=`pwd`/"$ac_dir";; 8375 esac;; 8376 esac 8377 case $ac_abs_builddir in 8378 .) ac_abs_top_builddir=${ac_top_builddir}.;; 8379 *) 8380 case ${ac_top_builddir}. in 8381 .) ac_abs_top_builddir=$ac_abs_builddir;; 8382 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 8383 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 8384 esac;; 8385 esac 8386 case $ac_abs_builddir in 8387 .) ac_abs_srcdir=$ac_srcdir;; 8388 *) 8389 case $ac_srcdir in 8390 .) ac_abs_srcdir=$ac_abs_builddir;; 8391 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 8392 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 8393 esac;; 8394 esac 8395 case $ac_abs_builddir in 8396 .) ac_abs_top_srcdir=$ac_top_srcdir;; 8397 *) 8398 case $ac_top_srcdir in 8399 .) ac_abs_top_srcdir=$ac_abs_builddir;; 8400 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 8401 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 8402 esac;; 8403 esac 8028 8404 8029 8405 … … 8043 8419 dirpart=`(dirname "$mf") 2>/dev/null || 8044 8420 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8045 8046 8047 8048 8421 X"$mf" : 'X\(//\)[^/]' \| \ 8422 X"$mf" : 'X\(//\)$' \| \ 8423 X"$mf" : 'X\(/\)' \| \ 8424 . : '\(.\)' 2>/dev/null || 8049 8425 echo X"$mf" | 8050 8426 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } … … 8059 8435 # Extract the definition of DEP_FILES from the Makefile without 8060 8436 # running `make'. 8061 DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`8437 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 8062 8438 test -z "$DEPDIR" && continue 8063 8439 # When using ansi2knr, U may be empty or an underscore; expand it 8064 U=`sed -n -e '/^U = / s///p' < "$mf"`8440 U=`sed -n 's/^U = //p' < "$mf"` 8065 8441 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR" 8066 8442 # We invoke sed twice because it is the simplest approach to 8067 8443 # changing $(DEPDIR) to its actual value in the expansion. 8068 for file in `sed -n -e'8444 for file in `sed -n ' 8069 8445 /^DEP_FILES = .*\\\\$/ { 8070 8446 s/^DEP_FILES = // … … 8082 8458 fdir=`(dirname "$file") 2>/dev/null || 8083 8459 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8084 8085 8086 8087 8460 X"$file" : 'X\(//\)[^/]' \| \ 8461 X"$file" : 'X\(//\)$' \| \ 8462 X"$file" : 'X\(/\)' \| \ 8463 . : '\(.\)' 2>/dev/null || 8088 8464 echo X"$file" | 8089 8465 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } … … 8101 8477 as_dir=`(dirname "$as_dir") 2>/dev/null || 8102 8478 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8103 8104 8105 8106 8479 X"$as_dir" : 'X\(//\)[^/]' \| \ 8480 X"$as_dir" : 'X\(//\)$' \| \ 8481 X"$as_dir" : 'X\(/\)' \| \ 8482 . : '\(.\)' 2>/dev/null || 8107 8483 echo X"$as_dir" | 8108 8484 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } -
orxonox/branches/osX/configure.ac
r2984 r2993 164 164 LIBS="$LIBS -framework OpenGL" 165 165 166 # checking for SDL-headers 167 AC_CHECK_HEADERS(SDL/SDL.h ,, 168 [AC_MSG_ERROR([cannot find SDL headers]) ]) 169 166 170 ## checking for SDL 167 SDL_VERSION=1.2.7 168 AM_PATH_SDL($SDL_VERSION, 169 :, 170 AC_MSG_ERROR([*** SDL version $SDL_VERSION not found!]) 171 ) 172 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS" 173 LIBS="$LIBS $SDL_LIBS" 171 # SDL_VERSION=1.2.7 172 # AM_PATH_SDL($SDL_VERSION, 173 # :, 174 # AC_MSG_ERROR([*** SDL version $SDL_VERSION not found!]) 175 # ) 176 177 SDL_CFLAGS=`sdl-config --cflags` 178 SDL_LIBS=`sdl-config --libs` 179 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS" 180 LIBS="$LIBS $SDL_LIBS" 174 181 ;; 175 182 -
orxonox/branches/osX/console/Makefile.in
r2985 r2993 1 # Makefile.in generated by automake 1. 7.6from Makefile.am.1 # Makefile.in generated by automake 1.8.5 from Makefile.am. 2 2 # @configure_input@ 3 3 4 # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 20035 # Free Software Foundation, Inc.4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 5 # 2003, 2004 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, … … 14 14 15 15 @SET_MAKE@ 16 17 18 SOURCES = $(console_SOURCES) 16 19 17 20 srcdir = @srcdir@ … … 22 25 pkgincludedir = $(includedir)/@PACKAGE@ 23 26 top_builddir = .. 24 25 27 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd 26 28 INSTALL = @INSTALL@ … … 37 39 POST_UNINSTALL = : 38 40 host_triplet = @host@ 41 bin_PROGRAMS = console$(EXEEXT) 42 subdir = console 43 DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \ 44 $(srcdir)/Makefile.in 45 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 46 am__aclocal_m4_deps = $(top_srcdir)/configure.ac 47 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ 48 $(ACLOCAL_M4) 49 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs 50 CONFIG_HEADER = $(top_builddir)/config.h 51 CONFIG_CLEAN_FILES = 52 am__installdirs = "$(DESTDIR)$(bindir)" 53 binPROGRAMS_INSTALL = $(INSTALL_PROGRAM) 54 PROGRAMS = $(bin_PROGRAMS) 55 am_console_OBJECTS = orxonox_console.$(OBJEXT) \ 56 orxonox_console_entry.$(OBJEXT) orxonox_console_log.$(OBJEXT) 57 console_OBJECTS = $(am_console_OBJECTS) 58 console_LDADD = $(LDADD) 59 DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir) 60 depcomp = $(SHELL) $(top_srcdir)/depcomp 61 am__depfiles_maybe = depfiles 62 @AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/orxonox_console.Po \ 63 @AMDEP_TRUE@ ./$(DEPDIR)/orxonox_console_entry.Po \ 64 @AMDEP_TRUE@ ./$(DEPDIR)/orxonox_console_log.Po 65 CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ 66 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) 67 CXXLD = $(CXX) 68 CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \ 69 -o $@ 70 SOURCES = $(console_SOURCES) 71 DIST_SOURCES = $(console_SOURCES) 72 HEADERS = $(noinst_HEADERS) 73 ETAGS = etags 74 CTAGS = ctags 75 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) 39 76 ACLOCAL = @ACLOCAL@ 40 77 AMDEP_FALSE = @AMDEP_FALSE@ … … 121 158 localstatedir = @localstatedir@ 122 159 mandir = @mandir@ 160 mkdir_p = @mkdir_p@ 123 161 oldincludedir = @oldincludedir@ 124 162 prefix = @prefix@ … … 134 172 AM_CXXFLAGS = $(GTK2_CFLAGS) $(MSBITFIELDS) 135 173 AM_LDFLAGS = $(GTK2_LIBS) 136 137 bin_PROGRAMS = console138 174 console_SOURCES = orxonox_console.cc orxonox_console_entry.cc orxonox_console_log.cc 139 175 noinst_HEADERS = orxonox_console.h orxonox_console_entry.h orxonox_console_log.h 140 subdir = console141 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4142 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs143 CONFIG_HEADER = $(top_builddir)/config.h144 CONFIG_CLEAN_FILES =145 bin_PROGRAMS = console$(EXEEXT)146 PROGRAMS = $(bin_PROGRAMS)147 148 am_console_OBJECTS = orxonox_console.$(OBJEXT) \149 orxonox_console_entry.$(OBJEXT) orxonox_console_log.$(OBJEXT)150 console_OBJECTS = $(am_console_OBJECTS)151 console_LDADD = $(LDADD)152 console_DEPENDENCIES =153 console_LDFLAGS =154 155 DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)156 depcomp = $(SHELL) $(top_srcdir)/depcomp157 am__depfiles_maybe = depfiles158 @AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/orxonox_console.Po \159 @AMDEP_TRUE@ ./$(DEPDIR)/orxonox_console_entry.Po \160 @AMDEP_TRUE@ ./$(DEPDIR)/orxonox_console_log.Po161 CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \162 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)163 CXXLD = $(CXX)164 CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \165 -o $@166 DIST_SOURCES = $(console_SOURCES)167 HEADERS = $(noinst_HEADERS)168 169 DIST_COMMON = $(noinst_HEADERS) Makefile.am Makefile.in170 SOURCES = $(console_SOURCES)171 172 176 all: all-am 173 177 174 178 .SUFFIXES: 175 179 .SUFFIXES: .cc .o .obj 176 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.ac $(ACLOCAL_M4) 180 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) 181 @for dep in $?; do \ 182 case '$(am__configure_deps)' in \ 183 *$$dep*) \ 184 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ 185 && exit 0; \ 186 exit 1;; \ 187 esac; \ 188 done; \ 189 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu console/Makefile'; \ 177 190 cd $(top_srcdir) && \ 178 191 $(AUTOMAKE) --gnu console/Makefile 179 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 180 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe) 181 binPROGRAMS_INSTALL = $(INSTALL_PROGRAM) 192 .PRECIOUS: Makefile 193 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 194 @case '$?' in \ 195 *config.status*) \ 196 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ 197 *) \ 198 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ 199 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ 200 esac; 201 202 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) 203 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 204 205 $(top_srcdir)/configure: $(am__configure_deps) 206 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 207 $(ACLOCAL_M4): $(am__aclocal_m4_deps) 208 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 182 209 install-binPROGRAMS: $(bin_PROGRAMS) 183 210 @$(NORMAL_INSTALL) 184 $(mkinstalldirs) $(DESTDIR)$(bindir)211 test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)" 185 212 @list='$(bin_PROGRAMS)'; for p in $$list; do \ 186 213 p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ … … 188 215 ; then \ 189 216 f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \ 190 echo " $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \191 $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f|| exit 1; \217 echo " $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \ 218 $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \ 192 219 else :; fi; \ 193 220 done … … 197 224 @list='$(bin_PROGRAMS)'; for p in $$list; do \ 198 225 f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \ 199 echo " rm -f $(DESTDIR)$(bindir)/$$f"; \200 rm -f $(DESTDIR)$(bindir)/$$f; \226 echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \ 227 rm -f "$(DESTDIR)$(bindir)/$$f"; \ 201 228 done 202 229 … … 208 235 209 236 mostlyclean-compile: 210 -rm -f *.$(OBJEXT) core *.core237 -rm -f *.$(OBJEXT) 211 238 212 239 distclean-compile: … … 217 244 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/orxonox_console_log.Po@am__quote@ 218 245 219 distclean-depend:220 -rm -rf ./$(DEPDIR)221 222 246 .cc.o: 223 @am__fastdepCXX_TRUE@ if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \ 224 @am__fastdepCXX_TRUE@ -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \ 225 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \ 226 @am__fastdepCXX_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \ 227 @am__fastdepCXX_TRUE@ fi 247 @am__fastdepCXX_TRUE@ if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ 248 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi 228 249 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ 229 250 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ 230 251 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 231 @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<252 @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $< 232 253 233 254 .cc.obj: 234 @am__fastdepCXX_TRUE@ if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \ 235 @am__fastdepCXX_TRUE@ -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`; \ 236 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \ 237 @am__fastdepCXX_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \ 238 @am__fastdepCXX_TRUE@ fi 255 @am__fastdepCXX_TRUE@ if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \ 256 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi 239 257 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ 240 258 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ 241 259 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 242 @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ ` if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`260 @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` 243 261 uninstall-info-am: 244 245 ETAGS = etags246 ETAGSFLAGS =247 248 CTAGS = ctags249 CTAGSFLAGS =250 251 tags: TAGS252 262 253 263 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) … … 259 269 END { for (i in files) print i; }'`; \ 260 270 mkid -fID $$unique 271 tags: TAGS 261 272 262 273 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ … … 270 281 $(AWK) ' { files[$$0] = 1; } \ 271 282 END { for (i in files) print i; }'`; \ 272 test -z "$(ETAGS_ARGS)$$tags$$unique" \ 273 || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ 274 $$tags $$unique 275 283 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ 284 test -n "$$unique" || unique=$$empty_fix; \ 285 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ 286 $$tags $$unique; \ 287 fi 276 288 ctags: CTAGS 277 289 CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ … … 296 308 distclean-tags: 297 309 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags 298 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)299 300 top_distdir = ..301 distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)302 310 303 311 distdir: $(DISTFILES) … … 313 321 if test "$$dir" != "$$file" && test "$$dir" != "."; then \ 314 322 dir="/$$dir"; \ 315 $(mk installdirs) "$(distdir)$$dir"; \323 $(mkdir_p) "$(distdir)$$dir"; \ 316 324 else \ 317 325 dir=''; \ … … 331 339 check: check-am 332 340 all-am: Makefile $(PROGRAMS) $(HEADERS) 333 334 341 installdirs: 335 $(mkinstalldirs) $(DESTDIR)$(bindir) 342 for dir in "$(DESTDIR)$(bindir)"; do \ 343 test -z "$$dir" || $(mkdir_p) "$$dir"; \ 344 done 336 345 install: install-am 337 346 install-exec: install-exec-am … … 345 354 install-strip: 346 355 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ 347 INSTALL_STRIP_FLAG=-s \356 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ 348 357 `test -z '$(STRIP)' || \ 349 358 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install … … 353 362 354 363 distclean-generic: 355 -rm -f Makefile$(CONFIG_CLEAN_FILES)364 -rm -f $(CONFIG_CLEAN_FILES) 356 365 357 366 maintainer-clean-generic: … … 363 372 364 373 distclean: distclean-am 365 366 distclean-am: clean-am distclean-compile distclean-depend \ 367 distclean-generic distclean-tags 374 -rm -rf ./$(DEPDIR) 375 -rm -f Makefile 376 distclean-am: clean-am distclean-compile distclean-generic \ 377 distclean-tags 368 378 369 379 dvi: dvi-am … … 371 381 dvi-am: 372 382 383 html: html-am 384 373 385 info: info-am 374 386 … … 386 398 387 399 maintainer-clean: maintainer-clean-am 388 400 -rm -rf ./$(DEPDIR) 401 -rm -f Makefile 389 402 maintainer-clean-am: distclean-am maintainer-clean-generic 390 403 … … 405 418 .PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \ 406 419 clean-generic ctags distclean distclean-compile \ 407 distclean- depend distclean-generic distclean-tags distdir dvi\408 dvi-am info info-am install install-am install-binPROGRAMS \420 distclean-generic distclean-tags distdir dvi dvi-am html \ 421 html-am info info-am install install-am install-binPROGRAMS \ 409 422 install-data install-data-am install-exec install-exec-am \ 410 423 install-info install-info-am install-man install-strip \ -
orxonox/branches/osX/gui/Makefile.in
r2985 r2993 1 # Makefile.in generated by automake 1. 7.6from Makefile.am.1 # Makefile.in generated by automake 1.8.5 from Makefile.am. 2 2 # @configure_input@ 3 3 4 # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 20035 # Free Software Foundation, Inc.4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 5 # 2003, 2004 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, … … 14 14 15 15 @SET_MAKE@ 16 17 18 SOURCES = $(gui_SOURCES) 16 19 17 20 srcdir = @srcdir@ … … 22 25 pkgincludedir = $(includedir)/@PACKAGE@ 23 26 top_builddir = .. 24 25 27 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd 26 28 INSTALL = @INSTALL@ … … 37 39 POST_UNINSTALL = : 38 40 host_triplet = @host@ 41 bin_PROGRAMS = gui$(EXEEXT) 42 subdir = gui 43 DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \ 44 $(srcdir)/Makefile.in 45 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 46 am__aclocal_m4_deps = $(top_srcdir)/configure.ac 47 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ 48 $(ACLOCAL_M4) 49 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs 50 CONFIG_HEADER = $(top_builddir)/config.h 51 CONFIG_CLEAN_FILES = 52 am__installdirs = "$(DESTDIR)$(bindir)" 53 binPROGRAMS_INSTALL = $(INSTALL_PROGRAM) 54 PROGRAMS = $(bin_PROGRAMS) 55 am_gui_OBJECTS = orxonox_gui.$(OBJEXT) orxonox_gui_video.$(OBJEXT) \ 56 orxonox_gui_audio.$(OBJEXT) orxonox_gui_exec.$(OBJEXT) \ 57 orxonox_gui_flags.$(OBJEXT) orxonox_gui_banner.$(OBJEXT) \ 58 orxonox_gui_keys.$(OBJEXT) 59 gui_OBJECTS = $(am_gui_OBJECTS) 60 gui_LDADD = $(LDADD) 61 DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir) 62 depcomp = $(SHELL) $(top_srcdir)/depcomp 63 am__depfiles_maybe = depfiles 64 @AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/orxonox_gui.Po \ 65 @AMDEP_TRUE@ ./$(DEPDIR)/orxonox_gui_audio.Po \ 66 @AMDEP_TRUE@ ./$(DEPDIR)/orxonox_gui_banner.Po \ 67 @AMDEP_TRUE@ ./$(DEPDIR)/orxonox_gui_exec.Po \ 68 @AMDEP_TRUE@ ./$(DEPDIR)/orxonox_gui_flags.Po \ 69 @AMDEP_TRUE@ ./$(DEPDIR)/orxonox_gui_keys.Po \ 70 @AMDEP_TRUE@ ./$(DEPDIR)/orxonox_gui_video.Po 71 CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ 72 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) 73 CXXLD = $(CXX) 74 CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \ 75 -o $@ 76 SOURCES = $(gui_SOURCES) 77 DIST_SOURCES = $(gui_SOURCES) 78 HEADERS = $(noinst_HEADERS) 79 ETAGS = etags 80 CTAGS = ctags 81 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) 39 82 ACLOCAL = @ACLOCAL@ 40 83 AMDEP_FALSE = @AMDEP_FALSE@ … … 121 164 localstatedir = @localstatedir@ 122 165 mandir = @mandir@ 166 mkdir_p = @mkdir_p@ 123 167 oldincludedir = @oldincludedir@ 124 168 prefix = @prefix@ … … 134 178 AM_CXXFLAGS = $(GTK2_CFLAGS) $(MSBITFIELDS) 135 179 AM_LDFLAGS = $(GTK2_LIBS) 136 137 bin_PROGRAMS = gui138 180 gui_SOURCES = orxonox_gui.cc orxonox_gui_video.cc orxonox_gui_audio.cc orxonox_gui_exec.cc orxonox_gui_flags.cc orxonox_gui_banner.cc orxonox_gui_keys.cc 139 140 181 noinst_HEADERS = orxonox_gui.h orxonox_gui_video.h orxonox_gui_audio.h orxonox_gui_exec.h orxonox_gui_flags.h orxonox_gui_banner.h orxonox_gui_keys.h 141 182 … … 149 190 #TESTS=chk 150 191 EXTRA_DIST = rc banner.xpm 151 subdir = gui152 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4153 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs154 CONFIG_HEADER = $(top_builddir)/config.h155 CONFIG_CLEAN_FILES =156 bin_PROGRAMS = gui$(EXEEXT)157 PROGRAMS = $(bin_PROGRAMS)158 159 am_gui_OBJECTS = orxonox_gui.$(OBJEXT) orxonox_gui_video.$(OBJEXT) \160 orxonox_gui_audio.$(OBJEXT) orxonox_gui_exec.$(OBJEXT) \161 orxonox_gui_flags.$(OBJEXT) orxonox_gui_banner.$(OBJEXT) \162 orxonox_gui_keys.$(OBJEXT)163 gui_OBJECTS = $(am_gui_OBJECTS)164 gui_LDADD = $(LDADD)165 gui_DEPENDENCIES =166 gui_LDFLAGS =167 168 DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)169 depcomp = $(SHELL) $(top_srcdir)/depcomp170 am__depfiles_maybe = depfiles171 @AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/orxonox_gui.Po \172 @AMDEP_TRUE@ ./$(DEPDIR)/orxonox_gui_audio.Po \173 @AMDEP_TRUE@ ./$(DEPDIR)/orxonox_gui_banner.Po \174 @AMDEP_TRUE@ ./$(DEPDIR)/orxonox_gui_exec.Po \175 @AMDEP_TRUE@ ./$(DEPDIR)/orxonox_gui_flags.Po \176 @AMDEP_TRUE@ ./$(DEPDIR)/orxonox_gui_keys.Po \177 @AMDEP_TRUE@ ./$(DEPDIR)/orxonox_gui_video.Po178 CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \179 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)180 CXXLD = $(CXX)181 CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \182 -o $@183 DIST_SOURCES = $(gui_SOURCES)184 HEADERS = $(noinst_HEADERS)185 186 DIST_COMMON = $(noinst_HEADERS) Makefile.am Makefile.in187 SOURCES = $(gui_SOURCES)188 189 192 all: all-am 190 193 191 194 .SUFFIXES: 192 195 .SUFFIXES: .cc .o .obj 193 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.ac $(ACLOCAL_M4) 196 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) 197 @for dep in $?; do \ 198 case '$(am__configure_deps)' in \ 199 *$$dep*) \ 200 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ 201 && exit 0; \ 202 exit 1;; \ 203 esac; \ 204 done; \ 205 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu gui/Makefile'; \ 194 206 cd $(top_srcdir) && \ 195 207 $(AUTOMAKE) --gnu gui/Makefile 196 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 197 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe) 198 binPROGRAMS_INSTALL = $(INSTALL_PROGRAM) 208 .PRECIOUS: Makefile 209 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 210 @case '$?' in \ 211 *config.status*) \ 212 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ 213 *) \ 214 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ 215 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ 216 esac; 217 218 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) 219 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 220 221 $(top_srcdir)/configure: $(am__configure_deps) 222 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 223 $(ACLOCAL_M4): $(am__aclocal_m4_deps) 224 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 199 225 install-binPROGRAMS: $(bin_PROGRAMS) 200 226 @$(NORMAL_INSTALL) 201 $(mkinstalldirs) $(DESTDIR)$(bindir)227 test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)" 202 228 @list='$(bin_PROGRAMS)'; for p in $$list; do \ 203 229 p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ … … 205 231 ; then \ 206 232 f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \ 207 echo " $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \208 $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f|| exit 1; \233 echo " $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \ 234 $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \ 209 235 else :; fi; \ 210 236 done … … 214 240 @list='$(bin_PROGRAMS)'; for p in $$list; do \ 215 241 f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \ 216 echo " rm -f $(DESTDIR)$(bindir)/$$f"; \217 rm -f $(DESTDIR)$(bindir)/$$f; \242 echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \ 243 rm -f "$(DESTDIR)$(bindir)/$$f"; \ 218 244 done 219 245 … … 225 251 226 252 mostlyclean-compile: 227 -rm -f *.$(OBJEXT) core *.core253 -rm -f *.$(OBJEXT) 228 254 229 255 distclean-compile: … … 238 264 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/orxonox_gui_video.Po@am__quote@ 239 265 240 distclean-depend:241 -rm -rf ./$(DEPDIR)242 243 266 .cc.o: 244 @am__fastdepCXX_TRUE@ if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \ 245 @am__fastdepCXX_TRUE@ -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \ 246 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \ 247 @am__fastdepCXX_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \ 248 @am__fastdepCXX_TRUE@ fi 267 @am__fastdepCXX_TRUE@ if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ 268 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi 249 269 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ 250 270 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ 251 271 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 252 @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<272 @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $< 253 273 254 274 .cc.obj: 255 @am__fastdepCXX_TRUE@ if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \ 256 @am__fastdepCXX_TRUE@ -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`; \ 257 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \ 258 @am__fastdepCXX_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \ 259 @am__fastdepCXX_TRUE@ fi 275 @am__fastdepCXX_TRUE@ if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \ 276 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi 260 277 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ 261 278 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ 262 279 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 263 @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ ` if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`280 @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` 264 281 uninstall-info-am: 265 266 ETAGS = etags267 ETAGSFLAGS =268 269 CTAGS = ctags270 CTAGSFLAGS =271 272 tags: TAGS273 282 274 283 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) … … 280 289 END { for (i in files) print i; }'`; \ 281 290 mkid -fID $$unique 291 tags: TAGS 282 292 283 293 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ … … 291 301 $(AWK) ' { files[$$0] = 1; } \ 292 302 END { for (i in files) print i; }'`; \ 293 test -z "$(ETAGS_ARGS)$$tags$$unique" \ 294 || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ 295 $$tags $$unique 296 303 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ 304 test -n "$$unique" || unique=$$empty_fix; \ 305 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ 306 $$tags $$unique; \ 307 fi 297 308 ctags: CTAGS 298 309 CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ … … 317 328 distclean-tags: 318 329 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags 319 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)320 321 top_distdir = ..322 distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)323 330 324 331 distdir: $(DISTFILES) … … 334 341 if test "$$dir" != "$$file" && test "$$dir" != "."; then \ 335 342 dir="/$$dir"; \ 336 $(mk installdirs) "$(distdir)$$dir"; \343 $(mkdir_p) "$(distdir)$$dir"; \ 337 344 else \ 338 345 dir=''; \ … … 352 359 check: check-am 353 360 all-am: Makefile $(PROGRAMS) $(HEADERS) 354 355 361 installdirs: 356 $(mkinstalldirs) $(DESTDIR)$(bindir) 362 for dir in "$(DESTDIR)$(bindir)"; do \ 363 test -z "$$dir" || $(mkdir_p) "$$dir"; \ 364 done 357 365 install: install-am 358 366 install-exec: install-exec-am … … 366 374 install-strip: 367 375 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ 368 INSTALL_STRIP_FLAG=-s \376 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ 369 377 `test -z '$(STRIP)' || \ 370 378 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install … … 374 382 375 383 distclean-generic: 376 -rm -f Makefile$(CONFIG_CLEAN_FILES)384 -rm -f $(CONFIG_CLEAN_FILES) 377 385 378 386 maintainer-clean-generic: … … 384 392 385 393 distclean: distclean-am 386 387 distclean-am: clean-am distclean-compile distclean-depend \ 388 distclean-generic distclean-tags 394 -rm -rf ./$(DEPDIR) 395 -rm -f Makefile 396 distclean-am: clean-am distclean-compile distclean-generic \ 397 distclean-tags 389 398 390 399 dvi: dvi-am … … 392 401 dvi-am: 393 402 403 html: html-am 404 394 405 info: info-am 395 406 … … 407 418 408 419 maintainer-clean: maintainer-clean-am 409 420 -rm -rf ./$(DEPDIR) 421 -rm -f Makefile 410 422 maintainer-clean-am: distclean-am maintainer-clean-generic 411 423 … … 426 438 .PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \ 427 439 clean-generic ctags distclean distclean-compile \ 428 distclean- depend distclean-generic distclean-tags distdir dvi\429 dvi-am info info-am install install-am install-binPROGRAMS \440 distclean-generic distclean-tags distdir dvi dvi-am html \ 441 html-am info info-am install install-am install-binPROGRAMS \ 430 442 install-data install-data-am install-exec install-exec-am \ 431 443 install-info install-info-am install-man install-strip \ -
orxonox/branches/osX/importer/Makefile.in
r2992 r2993 42 42 subdir = importer 43 43 DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \ 44 $(srcdir)/Makefile.in 44 $(srcdir)/Makefile.in TODO 45 45 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 46 46 am__aclocal_m4_deps = $(top_srcdir)/configure.ac -
orxonox/branches/osX/importer/framework.cc
r2992 r2993 1 1 #include "framework.h" 2 2 3 int verbose = 1;3 int verbose = 4; 4 4 5 5 void DrawGLScene() -
orxonox/branches/osX/src/Makefile.in
r2985 r2993 1 # Makefile.in generated by automake 1. 7.6from Makefile.am.1 # Makefile.in generated by automake 1.8.5 from Makefile.am. 2 2 # @configure_input@ 3 3 4 # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 20035 # Free Software Foundation, Inc.4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 5 # 2003, 2004 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, … … 14 14 15 15 @SET_MAKE@ 16 17 18 SOURCES = $(orxonox_SOURCES) 16 19 17 20 srcdir = @srcdir@ … … 22 25 pkgincludedir = $(includedir)/@PACKAGE@ 23 26 top_builddir = .. 24 25 27 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd 26 28 INSTALL = @INSTALL@ … … 37 39 POST_UNINSTALL = : 38 40 host_triplet = @host@ 41 bin_PROGRAMS = orxonox$(EXEEXT) 42 subdir = src 43 DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \ 44 $(srcdir)/Makefile.in INSTALL 45 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 46 am__aclocal_m4_deps = $(top_srcdir)/configure.ac 47 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ 48 $(ACLOCAL_M4) 49 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs 50 CONFIG_HEADER = $(top_builddir)/config.h 51 CONFIG_CLEAN_FILES = 52 am__installdirs = "$(DESTDIR)$(bindir)" 53 binPROGRAMS_INSTALL = $(INSTALL_PROGRAM) 54 PROGRAMS = $(bin_PROGRAMS) 55 am_orxonox_OBJECTS = orxonox.$(OBJEXT) world.$(OBJEXT) \ 56 player.$(OBJEXT) data_tank.$(OBJEXT) world_entity.$(OBJEXT) \ 57 vector.$(OBJEXT) camera.$(OBJEXT) collision.$(OBJEXT) \ 58 command_node.$(OBJEXT) ini_parser.$(OBJEXT) keynames.$(OBJEXT) \ 59 track.$(OBJEXT) base_entity.$(OBJEXT) game_loader.$(OBJEXT) \ 60 campaign.$(OBJEXT) story_entity.$(OBJEXT) object.$(OBJEXT) \ 61 environment.$(OBJEXT) array.$(OBJEXT) material.$(OBJEXT) \ 62 list.$(OBJEXT) 63 orxonox_OBJECTS = $(am_orxonox_OBJECTS) 64 orxonox_LDADD = $(LDADD) 65 DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir) 66 depcomp = $(SHELL) $(top_srcdir)/depcomp 67 am__depfiles_maybe = depfiles 68 @AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/array.Po \ 69 @AMDEP_TRUE@ ./$(DEPDIR)/base_entity.Po ./$(DEPDIR)/camera.Po \ 70 @AMDEP_TRUE@ ./$(DEPDIR)/campaign.Po ./$(DEPDIR)/collision.Po \ 71 @AMDEP_TRUE@ ./$(DEPDIR)/command_node.Po \ 72 @AMDEP_TRUE@ ./$(DEPDIR)/data_tank.Po \ 73 @AMDEP_TRUE@ ./$(DEPDIR)/environment.Po \ 74 @AMDEP_TRUE@ ./$(DEPDIR)/game_loader.Po \ 75 @AMDEP_TRUE@ ./$(DEPDIR)/ini_parser.Po ./$(DEPDIR)/keynames.Po \ 76 @AMDEP_TRUE@ ./$(DEPDIR)/list.Po ./$(DEPDIR)/material.Po \ 77 @AMDEP_TRUE@ ./$(DEPDIR)/object.Po ./$(DEPDIR)/orxonox.Po \ 78 @AMDEP_TRUE@ ./$(DEPDIR)/player.Po ./$(DEPDIR)/story_entity.Po \ 79 @AMDEP_TRUE@ ./$(DEPDIR)/track.Po ./$(DEPDIR)/vector.Po \ 80 @AMDEP_TRUE@ ./$(DEPDIR)/world.Po ./$(DEPDIR)/world_entity.Po 81 CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ 82 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) 83 CXXLD = $(CXX) 84 CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \ 85 -o $@ 86 SOURCES = $(orxonox_SOURCES) 87 DIST_SOURCES = $(orxonox_SOURCES) 88 HEADERS = $(noinst_HEADERS) 89 ETAGS = etags 90 CTAGS = ctags 91 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) 39 92 ACLOCAL = @ACLOCAL@ 40 93 AMDEP_FALSE = @AMDEP_FALSE@ … … 121 174 localstatedir = @localstatedir@ 122 175 mandir = @mandir@ 176 mkdir_p = @mkdir_p@ 123 177 oldincludedir = @oldincludedir@ 124 178 prefix = @prefix@ … … 134 188 AM_CXXFLAGS = "-I/usr/X11R6/include" 135 189 AM_LDFLAGS = "-L/usr/Mesa-6.0.1/lib -L/usr/X11R6/lib -lXt -lX11" $(MWINDOWS) 136 137 138 #"-O3 -pedantic -fPIC -ffast-math -I/usr/X11R6/include"139 bin_PROGRAMS = orxonox140 141 190 orxonox_SOURCES = orxonox.cc world.cc player.cc data_tank.cc world_entity.cc vector.cc camera.cc collision.cc command_node.cc ini_parser.cc keynames.cc track.cc base_entity.cc game_loader.cc campaign.cc story_entity.cc object.cc environment.cc array.cc material.cc list.cc 142 191 noinst_HEADERS = ability.h data_tank.h npc.h stdincl.h ai.h environment.h orxonox.h synchronisable.h base_entity.h error.h player.h track.h camera.h ini_parser.h power_up.h vector.h collision.h keynames.h proto_class.h world.h command_node.h list.h shoot_laser.h world_entity.h coordinates.h message_structures.h shoot_rocket.h object.h array.h material.h list_template.h 143 subdir = src144 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4145 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs146 CONFIG_HEADER = $(top_builddir)/config.h147 CONFIG_CLEAN_FILES =148 bin_PROGRAMS = orxonox$(EXEEXT)149 PROGRAMS = $(bin_PROGRAMS)150 151 am_orxonox_OBJECTS = orxonox.$(OBJEXT) world.$(OBJEXT) player.$(OBJEXT) \152 data_tank.$(OBJEXT) world_entity.$(OBJEXT) vector.$(OBJEXT) \153 camera.$(OBJEXT) collision.$(OBJEXT) command_node.$(OBJEXT) \154 ini_parser.$(OBJEXT) keynames.$(OBJEXT) track.$(OBJEXT) \155 base_entity.$(OBJEXT) game_loader.$(OBJEXT) campaign.$(OBJEXT) \156 story_entity.$(OBJEXT) object.$(OBJEXT) environment.$(OBJEXT) \157 array.$(OBJEXT) material.$(OBJEXT) list.$(OBJEXT)158 orxonox_OBJECTS = $(am_orxonox_OBJECTS)159 orxonox_LDADD = $(LDADD)160 orxonox_DEPENDENCIES =161 orxonox_LDFLAGS =162 163 DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)164 depcomp = $(SHELL) $(top_srcdir)/depcomp165 am__depfiles_maybe = depfiles166 @AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/array.Po ./$(DEPDIR)/base_entity.Po \167 @AMDEP_TRUE@ ./$(DEPDIR)/camera.Po ./$(DEPDIR)/campaign.Po \168 @AMDEP_TRUE@ ./$(DEPDIR)/collision.Po \169 @AMDEP_TRUE@ ./$(DEPDIR)/command_node.Po \170 @AMDEP_TRUE@ ./$(DEPDIR)/data_tank.Po ./$(DEPDIR)/environment.Po \171 @AMDEP_TRUE@ ./$(DEPDIR)/game_loader.Po \172 @AMDEP_TRUE@ ./$(DEPDIR)/ini_parser.Po ./$(DEPDIR)/keynames.Po \173 @AMDEP_TRUE@ ./$(DEPDIR)/list.Po ./$(DEPDIR)/material.Po \174 @AMDEP_TRUE@ ./$(DEPDIR)/object.Po ./$(DEPDIR)/orxonox.Po \175 @AMDEP_TRUE@ ./$(DEPDIR)/player.Po ./$(DEPDIR)/story_entity.Po \176 @AMDEP_TRUE@ ./$(DEPDIR)/track.Po ./$(DEPDIR)/vector.Po \177 @AMDEP_TRUE@ ./$(DEPDIR)/world.Po ./$(DEPDIR)/world_entity.Po178 CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \179 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)180 CXXLD = $(CXX)181 CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \182 -o $@183 DIST_SOURCES = $(orxonox_SOURCES)184 HEADERS = $(noinst_HEADERS)185 186 DIST_COMMON = $(noinst_HEADERS) INSTALL Makefile.am Makefile.in187 SOURCES = $(orxonox_SOURCES)188 189 192 all: all-am 190 193 191 194 .SUFFIXES: 192 195 .SUFFIXES: .cc .o .obj 193 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.ac $(ACLOCAL_M4) 196 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) 197 @for dep in $?; do \ 198 case '$(am__configure_deps)' in \ 199 *$$dep*) \ 200 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ 201 && exit 0; \ 202 exit 1;; \ 203 esac; \ 204 done; \ 205 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/Makefile'; \ 194 206 cd $(top_srcdir) && \ 195 207 $(AUTOMAKE) --gnu src/Makefile 196 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 197 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe) 198 binPROGRAMS_INSTALL = $(INSTALL_PROGRAM) 208 .PRECIOUS: Makefile 209 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 210 @case '$?' in \ 211 *config.status*) \ 212 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ 213 *) \ 214 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ 215 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ 216 esac; 217 218 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) 219 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 220 221 $(top_srcdir)/configure: $(am__configure_deps) 222 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 223 $(ACLOCAL_M4): $(am__aclocal_m4_deps) 224 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 199 225 install-binPROGRAMS: $(bin_PROGRAMS) 200 226 @$(NORMAL_INSTALL) 201 $(mkinstalldirs) $(DESTDIR)$(bindir)227 test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)" 202 228 @list='$(bin_PROGRAMS)'; for p in $$list; do \ 203 229 p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ … … 205 231 ; then \ 206 232 f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \ 207 echo " $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \208 $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f|| exit 1; \233 echo " $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \ 234 $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \ 209 235 else :; fi; \ 210 236 done … … 214 240 @list='$(bin_PROGRAMS)'; for p in $$list; do \ 215 241 f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \ 216 echo " rm -f $(DESTDIR)$(bindir)/$$f"; \217 rm -f $(DESTDIR)$(bindir)/$$f; \242 echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \ 243 rm -f "$(DESTDIR)$(bindir)/$$f"; \ 218 244 done 219 245 … … 225 251 226 252 mostlyclean-compile: 227 -rm -f *.$(OBJEXT) core *.core253 -rm -f *.$(OBJEXT) 228 254 229 255 distclean-compile: … … 252 278 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/world_entity.Po@am__quote@ 253 279 254 distclean-depend:255 -rm -rf ./$(DEPDIR)256 257 280 .cc.o: 258 @am__fastdepCXX_TRUE@ if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \ 259 @am__fastdepCXX_TRUE@ -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \ 260 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \ 261 @am__fastdepCXX_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \ 262 @am__fastdepCXX_TRUE@ fi 281 @am__fastdepCXX_TRUE@ if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ 282 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi 263 283 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ 264 284 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ 265 285 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 266 @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<286 @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $< 267 287 268 288 .cc.obj: 269 @am__fastdepCXX_TRUE@ if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \ 270 @am__fastdepCXX_TRUE@ -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`; \ 271 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \ 272 @am__fastdepCXX_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \ 273 @am__fastdepCXX_TRUE@ fi 289 @am__fastdepCXX_TRUE@ if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \ 290 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi 274 291 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ 275 292 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ 276 293 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 277 @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ ` if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`294 @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` 278 295 uninstall-info-am: 279 280 ETAGS = etags281 ETAGSFLAGS =282 283 CTAGS = ctags284 CTAGSFLAGS =285 286 tags: TAGS287 296 288 297 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) … … 294 303 END { for (i in files) print i; }'`; \ 295 304 mkid -fID $$unique 305 tags: TAGS 296 306 297 307 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ … … 305 315 $(AWK) ' { files[$$0] = 1; } \ 306 316 END { for (i in files) print i; }'`; \ 307 test -z "$(ETAGS_ARGS)$$tags$$unique" \ 308 || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ 309 $$tags $$unique 310 317 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ 318 test -n "$$unique" || unique=$$empty_fix; \ 319 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ 320 $$tags $$unique; \ 321 fi 311 322 ctags: CTAGS 312 323 CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ … … 331 342 distclean-tags: 332 343 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags 333 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)334 335 top_distdir = ..336 distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)337 344 338 345 distdir: $(DISTFILES) … … 348 355 if test "$$dir" != "$$file" && test "$$dir" != "."; then \ 349 356 dir="/$$dir"; \ 350 $(mk installdirs) "$(distdir)$$dir"; \357 $(mkdir_p) "$(distdir)$$dir"; \ 351 358 else \ 352 359 dir=''; \ … … 366 373 check: check-am 367 374 all-am: Makefile $(PROGRAMS) $(HEADERS) 368 369 375 installdirs: 370 $(mkinstalldirs) $(DESTDIR)$(bindir) 376 for dir in "$(DESTDIR)$(bindir)"; do \ 377 test -z "$$dir" || $(mkdir_p) "$$dir"; \ 378 done 371 379 install: install-am 372 380 install-exec: install-exec-am … … 380 388 install-strip: 381 389 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ 382 INSTALL_STRIP_FLAG=-s \390 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ 383 391 `test -z '$(STRIP)' || \ 384 392 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install … … 388 396 389 397 distclean-generic: 390 -rm -f Makefile$(CONFIG_CLEAN_FILES)398 -rm -f $(CONFIG_CLEAN_FILES) 391 399 392 400 maintainer-clean-generic: … … 398 406 399 407 distclean: distclean-am 400 401 distclean-am: clean-am distclean-compile distclean-depend \ 402 distclean-generic distclean-tags 408 -rm -rf ./$(DEPDIR) 409 -rm -f Makefile 410 distclean-am: clean-am distclean-compile distclean-generic \ 411 distclean-tags 403 412 404 413 dvi: dvi-am … … 406 415 dvi-am: 407 416 417 html: html-am 418 408 419 info: info-am 409 420 … … 421 432 422 433 maintainer-clean: maintainer-clean-am 423 434 -rm -rf ./$(DEPDIR) 435 -rm -f Makefile 424 436 maintainer-clean-am: distclean-am maintainer-clean-generic 425 437 … … 440 452 .PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \ 441 453 clean-generic ctags distclean distclean-compile \ 442 distclean- depend distclean-generic distclean-tags distdir dvi\443 dvi-am info info-am install install-am install-binPROGRAMS \454 distclean-generic distclean-tags distdir dvi dvi-am html \ 455 html-am info info-am install install-am install-binPROGRAMS \ 444 456 install-data install-data-am install-exec install-exec-am \ 445 457 install-info install-info-am install-man install-strip \
Note: See TracChangeset
for help on using the changeset viewer.