- Timestamp:
- Nov 23, 2004, 6:13:50 PM (20 years ago)
- Location:
- orxonox/branches/sound
- Files:
-
- 9 edited
- 22 copied
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/sound/Makefile.in
r2018 r2964 1 # Makefile.in generated by automake 1. 7.9from 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@ … … 36 34 PRE_UNINSTALL = : 37 35 POST_UNINSTALL = : 36 subdir = . 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 depcomp install-sh missing mkinstalldirs 41 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 42 am__aclocal_m4_deps = $(top_srcdir)/configure.ac 43 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ 44 $(ACLOCAL_M4) 45 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ 46 configure.lineno configure.status.lineno 47 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs 48 CONFIG_HEADER = config.h 49 CONFIG_CLEAN_FILES = 50 SOURCES = 51 DIST_SOURCES = 52 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ 53 html-recursive info-recursive install-data-recursive \ 54 install-exec-recursive install-info-recursive \ 55 install-recursive installcheck-recursive installdirs-recursive \ 56 pdf-recursive ps-recursive uninstall-info-recursive \ 57 uninstall-recursive 58 ETAGS = etags 59 CTAGS = ctags 60 DIST_SUBDIRS = $(SUBDIRS) 61 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) 62 distdir = $(PACKAGE)-$(VERSION) 63 top_distdir = $(distdir) 64 am__remove_distdir = \ 65 { test ! -d $(distdir) \ 66 || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \ 67 && rm -fr $(distdir); }; } 68 DIST_ARCHIVES = $(distdir).tar.gz 69 GZIP_ENV = --best 70 distuninstallcheck_listfiles = find . -type f -print 71 distcleancheck_listfiles = find . -type f -print 38 72 ACLOCAL = @ACLOCAL@ 39 73 AMDEP_FALSE = @AMDEP_FALSE@ … … 104 138 localstatedir = @localstatedir@ 105 139 mandir = @mandir@ 140 mkdir_p = @mkdir_p@ 106 141 oldincludedir = @oldincludedir@ 107 142 prefix = @prefix@ … … 112 147 target_alias = @target_alias@ 113 148 SUBDIRS = src console gui 114 subdir = .115 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4116 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs117 CONFIG_HEADER = config.h118 CONFIG_CLEAN_FILES =119 DIST_SOURCES =120 121 RECURSIVE_TARGETS = info-recursive dvi-recursive pdf-recursive \122 ps-recursive install-info-recursive uninstall-info-recursive \123 all-recursive install-data-recursive install-exec-recursive \124 installdirs-recursive install-recursive uninstall-recursive \125 check-recursive installcheck-recursive126 DIST_COMMON = README $(srcdir)/Makefile.in $(srcdir)/configure AUTHORS \127 COPYING ChangeLog INSTALL Makefile.am NEWS aclocal.m4 \128 config.h.in configure configure.ac depcomp install-sh missing \129 mkinstalldirs130 DIST_SUBDIRS = $(SUBDIRS)131 149 all: config.h 132 150 $(MAKE) $(AM_MAKEFLAGS) all-recursive 133 151 134 152 .SUFFIXES: 135 136 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ 137 configure.lineno 138 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.ac $(ACLOCAL_M4) 153 am--refresh: 154 @: 155 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) 156 @for dep in $?; do \ 157 case '$(am__configure_deps)' in \ 158 *$$dep*) \ 159 echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \ 160 cd $(srcdir) && $(AUTOMAKE) --gnu \ 161 && exit 0; \ 162 exit 1;; \ 163 esac; \ 164 done; \ 165 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \ 139 166 cd $(top_srcdir) && \ 140 167 $(AUTOMAKE) --gnu Makefile 141 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 142 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe) 143 144 $(top_builddir)/config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) 168 .PRECIOUS: Makefile 169 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 170 @case '$?' in \ 171 *config.status*) \ 172 echo ' $(SHELL) ./config.status'; \ 173 $(SHELL) ./config.status;; \ 174 *) \ 175 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ 176 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ 177 esac; 178 179 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) 145 180 $(SHELL) ./config.status --recheck 146 $(srcdir)/configure: $(srcdir)/configure.ac $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) 181 182 $(top_srcdir)/configure: $(am__configure_deps) 147 183 cd $(srcdir) && $(AUTOCONF) 148 149 $(ACLOCAL_M4): configure.ac 184 $(ACLOCAL_M4): $(am__aclocal_m4_deps) 150 185 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) 151 186 … … 159 194 @rm -f stamp-h1 160 195 cd $(top_builddir) && $(SHELL) ./config.status config.h 161 162 $(srcdir)/config.h.in: $(top_srcdir)/configure.ac $(ACLOCAL_M4) 196 $(srcdir)/config.h.in: $(am__configure_deps) 163 197 cd $(top_srcdir) && $(AUTOHEADER) 164 touch $(srcdir)/config.h.in 198 rm -f stamp-h1 199 touch $@ 165 200 166 201 distclean-hdr: … … 227 262 done 228 263 229 ETAGS = etags230 ETAGSFLAGS =231 232 CTAGS = ctags233 CTAGSFLAGS =234 235 tags: TAGS236 237 264 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) 238 265 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ … … 243 270 END { for (i in files) print i; }'`; \ 244 271 mkid -fID $$unique 272 tags: TAGS 245 273 246 274 TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ … … 248 276 tags=; \ 249 277 here=`pwd`; \ 250 if ( etags--etags-include --version) >/dev/null 2>&1; then \278 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ 251 279 include_option=--etags-include; \ 280 empty_fix=.; \ 252 281 else \ 253 282 include_option=--include; \ 283 empty_fix=; \ 254 284 fi; \ 255 285 list='$(SUBDIRS)'; for subdir in $$list; do \ 256 286 if test "$$subdir" = .; then :; else \ 257 test -f $$subdir/TAGS &&\287 test ! -f $$subdir/TAGS || \ 258 288 tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \ 259 289 fi; \ … … 265 295 $(AWK) ' { files[$$0] = 1; } \ 266 296 END { for (i in files) print i; }'`; \ 267 test -z "$(ETAGS_ARGS)$$tags$$unique" \ 268 || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ 269 $$tags $$unique 270 297 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ 298 test -n "$$unique" || unique=$$empty_fix; \ 299 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ 300 $$tags $$unique; \ 301 fi 271 302 ctags: CTAGS 272 303 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ … … 291 322 distclean-tags: 292 323 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags 293 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)294 295 top_distdir = .296 distdir = $(PACKAGE)-$(VERSION)297 298 am__remove_distdir = \299 { test ! -d $(distdir) \300 || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \301 && rm -fr $(distdir); }; }302 303 GZIP_ENV = --best304 distuninstallcheck_listfiles = find . -type f -print305 distcleancheck_listfiles = find . -type f -print306 324 307 325 distdir: $(DISTFILES) … … 319 337 if test "$$dir" != "$$file" && test "$$dir" != "."; then \ 320 338 dir="/$$dir"; \ 321 $(mk installdirs) "$(distdir)$$dir"; \339 $(mkdir_p) "$(distdir)$$dir"; \ 322 340 else \ 323 341 dir=''; \ … … 336 354 list='$(SUBDIRS)'; for subdir in $$list; do \ 337 355 if test "$$subdir" = .; then :; else \ 338 test -d $(distdir)/$$subdir\339 || mkdir $(distdir)/$$subdir\356 test -d "$(distdir)/$$subdir" \ 357 || mkdir "$(distdir)/$$subdir" \ 340 358 || exit 1; \ 341 359 (cd $$subdir && \ 342 360 $(MAKE) $(AM_MAKEFLAGS) \ 343 top_distdir=" $(top_distdir)" \344 distdir= ../$(distdir)/$$subdir\361 top_distdir="../$(top_distdir)" \ 362 distdir="../$(distdir)/$$subdir" \ 345 363 distdir) \ 346 364 || exit 1; \ … … 356 374 $(am__remove_distdir) 357 375 376 dist-bzip2: distdir 377 $(AMTAR) chof - $(distdir) | bzip2 -9 -c >$(distdir).tar.bz2 378 $(am__remove_distdir) 379 380 dist-tarZ: distdir 381 $(AMTAR) chof - $(distdir) | compress -c >$(distdir).tar.Z 382 $(am__remove_distdir) 383 384 dist-shar: distdir 385 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz 386 $(am__remove_distdir) 387 388 dist-zip: distdir 389 -rm -f $(distdir).zip 390 zip -rq $(distdir).zip $(distdir) 391 $(am__remove_distdir) 392 358 393 dist dist-all: distdir 359 394 $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz … … 364 399 # tarfile. 365 400 distcheck: dist 366 $(am__remove_distdir) 367 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf - 401 case '$(DIST_ARCHIVES)' in \ 402 *.tar.gz*) \ 403 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf - ;;\ 404 *.tar.bz2*) \ 405 bunzip2 -c $(distdir).tar.bz2 | $(AMTAR) xf - ;;\ 406 *.tar.Z*) \ 407 uncompress -c $(distdir).tar.Z | $(AMTAR) xf - ;;\ 408 *.shar.gz*) \ 409 GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\ 410 *.zip*) \ 411 unzip $(distdir).zip ;;\ 412 esac 368 413 chmod -R a-w $(distdir); chmod a+w $(distdir) 369 414 mkdir $(distdir)/_build … … 385 430 && chmod -R a-w "$$dc_install_base" \ 386 431 && ({ \ 387 (cd ../.. && $(mkinstalldirs)"$$dc_destdir") \432 (cd ../.. && umask 077 && mkdir "$$dc_destdir") \ 388 433 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ 389 434 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ … … 392 437 } || { rm -rf "$$dc_destdir"; exit 1; }) \ 393 438 && rm -rf "$$dc_destdir" \ 394 && $(MAKE) $(AM_MAKEFLAGS) dist -gzip\395 && rm - f $(distdir).tar.gz\439 && $(MAKE) $(AM_MAKEFLAGS) dist \ 440 && rm -rf $(DIST_ARCHIVES) \ 396 441 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck 397 442 $(am__remove_distdir) 398 @echo "$(distdir).tar.gz is ready for distribution" | \ 399 sed 'h;s/./=/g;p;x;p;x' 443 @(echo "$(distdir) archives ready for distribution: "; \ 444 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ 445 sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}' 400 446 distuninstallcheck: 401 447 @cd $(distuninstallcheck_dir) \ … … 421 467 installdirs: installdirs-recursive 422 468 installdirs-am: 423 424 469 install: install-recursive 425 470 install-exec: install-exec-recursive … … 459 504 dvi-am: 460 505 506 html: html-recursive 507 461 508 info: info-recursive 462 509 … … 495 542 uninstall-info: uninstall-info-recursive 496 543 497 .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am clean \ 498 clean-generic clean-recursive ctags ctags-recursive dist \ 499 dist-all dist-gzip distcheck distclean distclean-generic \ 500 distclean-hdr distclean-recursive distclean-tags distcleancheck \ 501 distdir distuninstallcheck dvi dvi-am dvi-recursive info \ 502 info-am info-recursive install install-am install-data \ 503 install-data-am install-data-recursive install-exec \ 504 install-exec-am install-exec-recursive install-info \ 505 install-info-am install-info-recursive install-man \ 506 install-recursive install-strip installcheck installcheck-am \ 507 installdirs installdirs-am installdirs-recursive \ 508 maintainer-clean maintainer-clean-generic \ 509 maintainer-clean-recursive mostlyclean mostlyclean-generic \ 510 mostlyclean-recursive pdf pdf-am pdf-recursive ps ps-am \ 511 ps-recursive tags tags-recursive uninstall uninstall-am \ 512 uninstall-info-am uninstall-info-recursive uninstall-recursive 544 .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \ 545 check-am clean clean-generic clean-recursive ctags \ 546 ctags-recursive dist dist-all dist-bzip2 dist-gzip dist-shar \ 547 dist-tarZ dist-zip distcheck distclean distclean-generic \ 548 distclean-hdr distclean-recursive distclean-tags \ 549 distcleancheck distdir distuninstallcheck dvi dvi-am html \ 550 html-am info info-am install install-am install-data \ 551 install-data-am install-exec install-exec-am install-info \ 552 install-info-am install-man install-strip installcheck \ 553 installcheck-am installdirs installdirs-am maintainer-clean \ 554 maintainer-clean-generic maintainer-clean-recursive \ 555 mostlyclean mostlyclean-generic mostlyclean-recursive pdf \ 556 pdf-am ps ps-am tags tags-recursive uninstall uninstall-am \ 557 uninstall-info-am 513 558 514 559 # Tell versions [3.59,3.63) of GNU make to not export all variables. -
orxonox/branches/sound/NEWS
r2017 r2964 1 Date: November 16, 2004 2 Topic: Importer 3 Body: There now exists a possibility to import .obj-files (alias wavefront format) into the Game. You can find some test models here: <A href="/files/models">models</a>. You can also test them with the included importer which is locates in trunk/importer. enjoy. 4 5 1 6 Date: June 22, 2004 2 7 Topic: Develop on Win32 - bg 3 Body: Now the moment you have all been waiting for has arrived. Orxonox can finally be compiled on Windows machines. We know that it is no good idea to do this, but since there are some people interessted in working with Windows, we will give you a chance: read <A href = " http://www.orxonox.ethz.ch/index.php?site=additional.sites/howto.dev.win/howto.dev.win.cc.php" >the manual </A>.8 Body: Now the moment you have all been waiting for has arrived. Orxonox can finally be compiled on Windows machines. We know that it is no good idea to do this, but since there are some people interessted in working with Windows, we will give you a chance: read <A href = "/index.php?site=additional.sites/howto.dev.win/howto.dev.win.cc.php" >the manual </A>. 4 9 5 10 Date: June 04, 2004 6 11 Topic: Orxonox Convention - pb 7 Body: Here you can find all the information you need, to join us at the <A href=" http://www.orxonox.ethz.ch/index.php?site=additional.sites/convention01/convention01.php"> Orxonox Convention </A>, that takes Place at Stuz June 9. 2004.12 Body: Here you can find all the information you need, to join us at the <A href="index.php?site=additional.sites/convention01/convention01.php"> Orxonox Convention </A>, that takes Place at Stuz June 9. 2004. 8 13 9 14 Date: June 04, 2004 10 15 Topic: Manual for Subversion@DataCore.ch 11 Body: A manual for <A href=" http://www.orxonox.ethz.ch/files/subversion/subversion.pdf"> Subversion at DataCore</A> is made. Now we need someone, to correct all the errors. Please someone Checkout the Source of this at http://orxonox.ethz.ch/repos/latex/subversion an do the repairs.16 Body: A manual for <A href="/files/subversion/subversion.pdf"> Subversion at DataCore</A> is made. Now we need someone, to correct all the errors. Please someone Checkout the Source of this at http://orxonox.ethz.ch/repos/latex/subversion an do the repairs. 12 17 13 18 Date: June 02, 2004 … … 17 22 Date: May 26, 2004 18 23 Topic: New ship models - bg 19 Body: Some new space models are now ready for download. You'll find them in the download section or try it <A href=" http://www.orxonox.ethz.ch/files/orx_pictures.tar.bz2">here</A>24 Body: Some new space models are now ready for download. You'll find them in the download section or try it <A href="/files/orx_pictures.tar.bz2">here</A> 20 25 -
orxonox/branches/sound/aclocal.m4
r1956 r2964 1 # generated automatically by aclocal 1. 7.9-*- 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' 69 else 70 CYGPATH_W=echo 71 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 115 ]) 116 ]) 117 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. 14 # -*- Autoconf -*- 15 # Copyright (C) 2002, 2003 Free Software Foundation, Inc. 16 # Generated from amversion.in; do not edit by hand. 140 17 141 18 # This program is free software; you can redistribute it and/or modify … … 157 34 # Automake X.Y traces this macro to ensure aclocal.m4 has been 158 35 # generated from the m4 files accompanying Automake X.Y. 159 AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.7"])36 AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.8"]) 160 37 161 38 # AM_SET_CURRENT_AUTOMAKE_VERSION … … 164 41 # This function is AC_REQUIREd by AC_INIT_AUTOMAKE. 165 42 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], 166 [AM_AUTOMAKE_VERSION([1.7.9])]) 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 ]) 43 [AM_AUTOMAKE_VERSION([1.8.5])]) 321 44 322 45 # AM_AUX_DIR_EXPAND 323 46 324 # Copyright 2001Free Software Foundation, Inc.47 # Copyright (C) 2001, 2003 Free Software Foundation, Inc. 325 48 326 49 # This program is free software; you can redistribute it and/or modify … … 377 100 # configured tree to be moved without reconfiguration. 378 101 379 # Rely on autoconf to set up CDPATH properly. 380 AC_PREREQ([2.50]) 381 382 AC_DEFUN([AM_AUX_DIR_EXPAND], [ 102 AC_DEFUN([AM_AUX_DIR_EXPAND], 103 [dnl Rely on autoconf to set up CDPATH properly. 104 AC_PREREQ([2.50])dnl 383 105 # expand $ac_aux_dir to an absolute path 384 106 am_aux_dir=`cd $ac_aux_dir && pwd` 385 107 ]) 386 108 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], :) 448 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=. 109 # AM_CONDITIONAL -*- Autoconf -*- 110 111 # Copyright (C) 1997, 2000, 2001, 2003 Free Software Foundation, Inc. 112 113 # This program is free software; you can redistribute it and/or modify 114 # it under the terms of the GNU General Public License as published by 115 # the Free Software Foundation; either version 2, or (at your option) 116 # any later version. 117 118 # This program is distributed in the hope that it will be useful, 119 # but WITHOUT ANY WARRANTY; without even the implied warranty of 120 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 121 # GNU General Public License for more details. 122 123 # You should have received a copy of the GNU General Public License 124 # along with this program; if not, write to the Free Software 125 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 126 # 02111-1307, USA. 127 128 # serial 6 129 130 # AM_CONDITIONAL(NAME, SHELL-CONDITION) 131 # ------------------------------------- 132 # Define a conditional. 133 AC_DEFUN([AM_CONDITIONAL], 134 [AC_PREREQ(2.52)dnl 135 ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], 136 [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl 137 AC_SUBST([$1_TRUE]) 138 AC_SUBST([$1_FALSE]) 139 if $2; then 140 $1_TRUE= 141 $1_FALSE='#' 479 142 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. 143 $1_TRUE='#' 144 $1_FALSE= 145 fi 146 AC_CONFIG_COMMANDS_PRE( 147 [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then 148 AC_MSG_ERROR([conditional "$1" was never defined. 149 Usually this means the macro was only invoked conditionally.]) 150 fi])]) 151 152 # serial 7 -*- Autoconf -*- 153 154 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004 155 # Free Software Foundation, Inc. 488 156 489 157 # This program is free software; you can redistribute it and/or modify … … 569 237 for i in 1 2 3 4 5 6; do 570 238 echo '#include "conftst'$i'.h"' >> sub/conftest.c 571 : > sub/conftst$i.h 239 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 240 # Solaris 8's {/usr,}/bin/sh. 241 touch sub/conftst$i.h 572 242 done 573 243 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf … … 597 267 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 598 268 # 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 269 # or remarks (even with -Werror). So we grep stderr for any message 270 # that says an option was ignored or not supported. 271 # When given -MP, icc 7.0 and 7.1 complain thusly: 272 # icc: Command line warning: ignoring option '-M'; no argument required 273 # The diagnosis changed in icc 8.0: 274 # icc: Command line remark: option '-MP' not supported 275 if (grep 'ignoring option' conftest.err || 276 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 602 277 am_cv_$1_dependencies_compiler_type=$depmode 603 278 break … … 633 308 AC_DEFUN([AM_DEP_TRACK], 634 309 [AC_ARG_ENABLE(dependency-tracking, 635 [ --disable-dependency-tracking Speeds up one-time builds636 --enable-dependency-tracking Do not reject slow dependency extractors])310 [ --disable-dependency-tracking speeds up one-time build 311 --enable-dependency-tracking do not reject slow dependency extractors]) 637 312 if test "x$enable_dependency_tracking" != xno; then 638 313 am_depcomp="$ac_aux_dir/depcomp" … … 645 320 # Generate code to set up dependency tracking. -*- Autoconf -*- 646 321 647 # Copyright 1999, 2000, 2001, 2002Free Software Foundation, Inc.322 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc. 648 323 649 324 # This program is free software; you can redistribute it and/or modify … … 684 359 # Extract the definition of DEP_FILES from the Makefile without 685 360 # running `make'. 686 DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`361 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 687 362 test -z "$DEPDIR" && continue 688 363 # When using ansi2knr, U may be empty or an underscore; expand it 689 U=`sed -n -e '/^U = / s///p' < "$mf"`364 U=`sed -n 's/^U = //p' < "$mf"` 690 365 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR" 691 366 # We invoke sed twice because it is the simplest approach to 692 367 # changing $(DEPDIR) to its actual value in the expansion. 693 for file in `sed -n -e'368 for file in `sed -n ' 694 369 /^DEP_FILES = .*\\\\$/ { 695 370 s/^DEP_FILES = // … … 726 401 [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) 727 402 ]) 403 404 # Do all the work for Automake. -*- Autoconf -*- 405 406 # This macro actually does too much some checks are only needed if 407 # your package does certain things. But this isn't really a big deal. 408 409 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 410 # Free Software Foundation, Inc. 411 412 # This program is free software; you can redistribute it and/or modify 413 # it under the terms of the GNU General Public License as published by 414 # the Free Software Foundation; either version 2, or (at your option) 415 # any later version. 416 417 # This program is distributed in the hope that it will be useful, 418 # but WITHOUT ANY WARRANTY; without even the implied warranty of 419 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 420 # GNU General Public License for more details. 421 422 # You should have received a copy of the GNU General Public License 423 # along with this program; if not, write to the Free Software 424 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 425 # 02111-1307, USA. 426 427 # serial 11 428 429 # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) 430 # AM_INIT_AUTOMAKE([OPTIONS]) 431 # ----------------------------------------------- 432 # The call with PACKAGE and VERSION arguments is the old style 433 # call (pre autoconf-2.50), which is being phased out. PACKAGE 434 # and VERSION should now be passed to AC_INIT and removed from 435 # the call to AM_INIT_AUTOMAKE. 436 # We support both call styles for the transition. After 437 # the next Automake release, Autoconf can make the AC_INIT 438 # arguments mandatory, and then we can depend on a new Autoconf 439 # release and drop the old call support. 440 AC_DEFUN([AM_INIT_AUTOMAKE], 441 [AC_PREREQ([2.58])dnl 442 dnl Autoconf wants to disallow AM_ names. We explicitly allow 443 dnl the ones we care about. 444 m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl 445 AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl 446 AC_REQUIRE([AC_PROG_INSTALL])dnl 447 # test to see if srcdir already configured 448 if test "`cd $srcdir && pwd`" != "`pwd`" && 449 test -f $srcdir/config.status; then 450 AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) 451 fi 452 453 # test whether we have cygpath 454 if test -z "$CYGPATH_W"; then 455 if (cygpath --version) >/dev/null 2>/dev/null; then 456 CYGPATH_W='cygpath -w' 457 else 458 CYGPATH_W=echo 459 fi 460 fi 461 AC_SUBST([CYGPATH_W]) 462 463 # Define the identity of the package. 464 dnl Distinguish between old-style and new-style calls. 465 m4_ifval([$2], 466 [m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl 467 AC_SUBST([PACKAGE], [$1])dnl 468 AC_SUBST([VERSION], [$2])], 469 [_AM_SET_OPTIONS([$1])dnl 470 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl 471 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl 472 473 _AM_IF_OPTION([no-define],, 474 [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) 475 AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl 476 477 # Some tools Automake needs. 478 AC_REQUIRE([AM_SANITY_CHECK])dnl 479 AC_REQUIRE([AC_ARG_PROGRAM])dnl 480 AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}) 481 AM_MISSING_PROG(AUTOCONF, autoconf) 482 AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}) 483 AM_MISSING_PROG(AUTOHEADER, autoheader) 484 AM_MISSING_PROG(MAKEINFO, makeinfo) 485 AM_MISSING_PROG(AMTAR, tar) 486 AM_PROG_INSTALL_SH 487 AM_PROG_INSTALL_STRIP 488 AC_REQUIRE([AM_PROG_MKDIR_P])dnl 489 # We need awk for the "check" target. The system "awk" is bad on 490 # some platforms. 491 AC_REQUIRE([AC_PROG_AWK])dnl 492 AC_REQUIRE([AC_PROG_MAKE_SET])dnl 493 AC_REQUIRE([AM_SET_LEADING_DOT])dnl 494 495 _AM_IF_OPTION([no-dependencies],, 496 [AC_PROVIDE_IFELSE([AC_PROG_CC], 497 [_AM_DEPENDENCIES(CC)], 498 [define([AC_PROG_CC], 499 defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl 500 AC_PROVIDE_IFELSE([AC_PROG_CXX], 501 [_AM_DEPENDENCIES(CXX)], 502 [define([AC_PROG_CXX], 503 defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl 504 ]) 505 ]) 506 507 508 # When config.status generates a header, we must update the stamp-h file. 509 # This file resides in the same directory as the config header 510 # that is generated. The stamp files are numbered to have different names. 511 512 # Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the 513 # loop where config.status creates the headers, so we can generate 514 # our stamp files there. 515 AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], 516 [# Compute $1's index in $config_headers. 517 _am_stamp_count=1 518 for _am_header in $config_headers :; do 519 case $_am_header in 520 $1 | $1:* ) 521 break ;; 522 * ) 523 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 524 esac 525 done 526 echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count]) 527 528 # AM_PROG_INSTALL_SH 529 # ------------------ 530 # Define $install_sh. 531 532 # Copyright (C) 2001, 2003 Free Software Foundation, Inc. 533 534 # This program is free software; you can redistribute it and/or modify 535 # it under the terms of the GNU General Public License as published by 536 # the Free Software Foundation; either version 2, or (at your option) 537 # any later version. 538 539 # This program is distributed in the hope that it will be useful, 540 # but WITHOUT ANY WARRANTY; without even the implied warranty of 541 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 542 # GNU General Public License for more details. 543 544 # You should have received a copy of the GNU General Public License 545 # along with this program; if not, write to the Free Software 546 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 547 # 02111-1307, USA. 548 549 AC_DEFUN([AM_PROG_INSTALL_SH], 550 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl 551 install_sh=${install_sh-"$am_aux_dir/install-sh"} 552 AC_SUBST(install_sh)]) 553 554 # -*- Autoconf -*- 555 # Copyright (C) 2003 Free Software Foundation, Inc. 556 557 # This program is free software; you can redistribute it and/or modify 558 # it under the terms of the GNU General Public License as published by 559 # the Free Software Foundation; either version 2, or (at your option) 560 # any later version. 561 562 # This program is distributed in the hope that it will be useful, 563 # but WITHOUT ANY WARRANTY; without even the implied warranty of 564 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 565 # GNU General Public License for more details. 566 567 # You should have received a copy of the GNU General Public License 568 # along with this program; if not, write to the Free Software 569 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 570 # 02111-1307, USA. 571 572 # serial 1 573 574 # Check whether the underlying file-system supports filenames 575 # with a leading dot. For instance MS-DOS doesn't. 576 AC_DEFUN([AM_SET_LEADING_DOT], 577 [rm -rf .tst 2>/dev/null 578 mkdir .tst 2>/dev/null 579 if test -d .tst; then 580 am__leading_dot=. 581 else 582 am__leading_dot=_ 583 fi 584 rmdir .tst 2>/dev/null 585 AC_SUBST([am__leading_dot])]) 728 586 729 587 # Check to see how 'make' treats includes. -*- Autoconf -*- … … 790 648 ]) 791 649 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='#' 650 # -*- Autoconf -*- 651 652 653 # Copyright (C) 1997, 1999, 2000, 2001, 2003 Free Software Foundation, Inc. 654 655 # This program is free software; you can redistribute it and/or modify 656 # it under the terms of the GNU General Public License as published by 657 # the Free Software Foundation; either version 2, or (at your option) 658 # any later version. 659 660 # This program is distributed in the hope that it will be useful, 661 # but WITHOUT ANY WARRANTY; without even the implied warranty of 662 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 663 # GNU General Public License for more details. 664 665 # You should have received a copy of the GNU General Public License 666 # along with this program; if not, write to the Free Software 667 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 668 # 02111-1307, USA. 669 670 # serial 3 671 672 # AM_MISSING_PROG(NAME, PROGRAM) 673 # ------------------------------ 674 AC_DEFUN([AM_MISSING_PROG], 675 [AC_REQUIRE([AM_MISSING_HAS_RUN]) 676 $1=${$1-"${am_missing_run}$2"} 677 AC_SUBST($1)]) 678 679 680 # AM_MISSING_HAS_RUN 681 # ------------------ 682 # Define MISSING if not defined so far and test if it supports --run. 683 # If it does, set am_missing_run to use it, otherwise, to nothing. 684 AC_DEFUN([AM_MISSING_HAS_RUN], 685 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl 686 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" 687 # Use eval to expand $SHELL 688 if eval "$MISSING --run true"; then 689 am_missing_run="$MISSING --run " 826 690 else 827 $1_TRUE='#' 828 $1_FALSE= 829 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 691 am_missing_run= 692 AC_MSG_WARN([`missing' script is too old or missing]) 693 fi 694 ]) 695 696 # AM_PROG_MKDIR_P 697 # --------------- 698 # Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise. 699 700 # Copyright (C) 2003, 2004 Free Software Foundation, Inc. 701 702 # This program is free software; you can redistribute it and/or modify 703 # it under the terms of the GNU General Public License as published by 704 # the Free Software Foundation; either version 2, or (at your option) 705 # any later version. 706 707 # This program is distributed in the hope that it will be useful, 708 # but WITHOUT ANY WARRANTY; without even the implied warranty of 709 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 710 # GNU General Public License for more details. 711 712 # You should have received a copy of the GNU General Public License 713 # along with this program; if not, write to the Free Software 714 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 715 # 02111-1307, USA. 716 717 # Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories 718 # created by `make install' are always world readable, even if the 719 # installer happens to have an overly restrictive umask (e.g. 077). 720 # This was a mistake. There are at least two reasons why we must not 721 # use `-m 0755': 722 # - it causes special bits like SGID to be ignored, 723 # - it may be too restrictive (some setups expect 775 directories). 724 # 725 # Do not use -m 0755 and let people choose whatever they expect by 726 # setting umask. 727 # 728 # We cannot accept any implementation of `mkdir' that recognizes `-p'. 729 # Some implementations (such as Solaris 8's) are not thread-safe: if a 730 # parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c' 731 # concurrently, both version can detect that a/ is missing, but only 732 # one can create it and the other will error out. Consequently we 733 # restrict ourselves to GNU make (using the --version option ensures 734 # this.) 735 AC_DEFUN([AM_PROG_MKDIR_P], 736 [if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then 737 # Keeping the `.' argument allows $(mkdir_p) to be used without 738 # argument. Indeed, we sometimes output rules like 739 # $(mkdir_p) $(somedir) 740 # where $(somedir) is conditionally defined. 741 # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more 742 # expensive solution, as it forces Make to start a sub-shell.) 743 mkdir_p='mkdir -p -- .' 744 else 745 # On NextStep and OpenStep, the `mkdir' command does not 746 # recognize any option. It will interpret all options as 747 # directories to create, and then abort because `.' already 748 # exists. 749 for d in ./-p ./--version; 750 do 751 test -d $d && rmdir $d 752 done 753 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. 754 if test -f "$ac_aux_dir/mkinstalldirs"; then 755 mkdir_p='$(mkinstalldirs)' 756 else 757 mkdir_p='$(install_sh) -d' 758 fi 759 fi 760 AC_SUBST([mkdir_p])]) 761 762 # Helper functions for option handling. -*- Autoconf -*- 763 764 # Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc. 765 766 # This program is free software; you can redistribute it and/or modify 767 # it under the terms of the GNU General Public License as published by 768 # the Free Software Foundation; either version 2, or (at your option) 769 # any later version. 770 771 # This program is distributed in the hope that it will be useful, 772 # but WITHOUT ANY WARRANTY; without even the implied warranty of 773 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 774 # GNU General Public License for more details. 775 776 # You should have received a copy of the GNU General Public License 777 # along with this program; if not, write to the Free Software 778 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 779 # 02111-1307, USA. 780 781 # serial 2 782 783 # _AM_MANGLE_OPTION(NAME) 784 # ----------------------- 785 AC_DEFUN([_AM_MANGLE_OPTION], 786 [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) 787 788 # _AM_SET_OPTION(NAME) 789 # ------------------------------ 790 # Set option NAME. Presently that only means defining a flag for this option. 791 AC_DEFUN([_AM_SET_OPTION], 792 [m4_define(_AM_MANGLE_OPTION([$1]), 1)]) 793 794 # _AM_SET_OPTIONS(OPTIONS) 795 # ---------------------------------- 796 # OPTIONS is a space-separated list of Automake options. 797 AC_DEFUN([_AM_SET_OPTIONS], 798 [AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) 799 800 # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) 801 # ------------------------------------------- 802 # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. 803 AC_DEFUN([_AM_IF_OPTION], 804 [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) 805 806 # 807 # Check to make sure that the build environment is sane. 808 # 809 810 # Copyright (C) 1996, 1997, 2000, 2001, 2003 Free Software Foundation, Inc. 811 812 # This program is free software; you can redistribute it and/or modify 813 # it under the terms of the GNU General Public License as published by 814 # the Free Software Foundation; either version 2, or (at your option) 815 # any later version. 816 817 # This program is distributed in the hope that it will be useful, 818 # but WITHOUT ANY WARRANTY; without even the implied warranty of 819 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 820 # GNU General Public License for more details. 821 822 # You should have received a copy of the GNU General Public License 823 # along with this program; if not, write to the Free Software 824 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 825 # 02111-1307, USA. 826 827 # serial 3 828 829 # AM_SANITY_CHECK 830 # --------------- 831 AC_DEFUN([AM_SANITY_CHECK], 832 [AC_MSG_CHECKING([whether build environment is sane]) 833 # Just in case 834 sleep 1 835 echo timestamp > conftest.file 836 # Do `set' in a subshell so we don't clobber the current shell's 837 # arguments. Must try -L first in case configure is actually a 838 # symlink; some systems play weird games with the mod time of symlinks 839 # (eg FreeBSD returns the mod time of the symlink's containing 840 # directory). 841 if ( 842 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` 843 if test "$[*]" = "X"; then 844 # -L didn't work. 845 set X `ls -t $srcdir/configure conftest.file` 846 fi 847 rm -f conftest.file 848 if test "$[*]" != "X $srcdir/configure conftest.file" \ 849 && test "$[*]" != "X conftest.file $srcdir/configure"; then 850 851 # If neither matched, then we have a broken ls. This can happen 852 # if, for instance, CONFIG_SHELL is bash and it inherits a 853 # broken ls alias from the environment. This has actually 854 # happened. Such a system could not be considered "sane". 855 AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken 856 alias in your environment]) 857 fi 858 859 test "$[2]" = conftest.file 860 ) 861 then 862 # Ok. 863 : 864 else 865 AC_MSG_ERROR([newly created file is older than distributed files! 866 Check your system clock]) 867 fi 868 AC_MSG_RESULT(yes)]) 869 870 # AM_PROG_INSTALL_STRIP 871 872 # Copyright (C) 2001, 2003 Free Software Foundation, Inc. 873 874 # This program is free software; you can redistribute it and/or modify 875 # it under the terms of the GNU General Public License as published by 876 # the Free Software Foundation; either version 2, or (at your option) 877 # any later version. 878 879 # This program is distributed in the hope that it will be useful, 880 # but WITHOUT ANY WARRANTY; without even the implied warranty of 881 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 882 # GNU General Public License for more details. 883 884 # You should have received a copy of the GNU General Public License 885 # along with this program; if not, write to the Free Software 886 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 887 # 02111-1307, USA. 888 889 # One issue with vendor `install' (even GNU) is that you can't 890 # specify the program used to strip binaries. This is especially 891 # annoying in cross-compiling environments, where the build's strip 892 # is unlikely to handle the host's binaries. 893 # Fortunately install-sh will honor a STRIPPROG variable, so we 894 # always use install-sh in `make install-strip', and initialize 895 # STRIPPROG with the value of the STRIP variable (set by the user). 896 AC_DEFUN([AM_PROG_INSTALL_STRIP], 897 [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl 898 # Installed binaries are usually stripped using `strip' when the user 899 # run `make install-strip'. However `strip' might not be the right 900 # tool to use in cross-compilation environments, therefore Automake 901 # will honor the `STRIP' environment variable to overrule this program. 902 dnl Don't test for $cross_compiling = yes, because it might be `maybe'. 903 if test "$cross_compiling" != no; then 904 AC_CHECK_TOOL([STRIP], [strip], :) 905 fi 906 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" 907 AC_SUBST([INSTALL_STRIP_PROGRAM])]) 908 -
orxonox/branches/sound/configure
r2854 r2964 312 312 #endif" 313 313 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 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 MSBITFIELDS 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 EGREPLIBOBJS 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 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 MSBITFIELDS LIBOBJS LTLIBOBJS' 315 315 ac_subst_files='' 316 316 … … 858 858 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 859 859 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 860 --disable-dependency-tracking Speeds up one-time builds861 --enable-dependency-tracking Do not reject slow dependency extractors860 --disable-dependency-tracking speeds up one-time build 861 --enable-dependency-tracking do not reject slow dependency extractors 862 862 863 863 Some influential environment variables: … … 1321 1321 1322 1322 1323 am__api_version="1. 7"1323 am__api_version="1.8" 1324 1324 ac_aux_dir= 1325 1325 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do … … 1484 1484 rm conftest.sed 1485 1485 1486 1487 1486 # expand $ac_aux_dir to an absolute path 1488 1487 am_aux_dir=`cd $ac_aux_dir && pwd` … … 1496 1495 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 1497 1496 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 1497 fi 1498 1499 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then 1500 # Keeping the `.' argument allows $(mkdir_p) to be used without 1501 # argument. Indeed, we sometimes output rules like 1502 # $(mkdir_p) $(somedir) 1503 # where $(somedir) is conditionally defined. 1504 # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more 1505 # expensive solution, as it forces Make to start a sub-shell.) 1506 mkdir_p='mkdir -p -- .' 1507 else 1508 # On NextStep and OpenStep, the `mkdir' command does not 1509 # recognize any option. It will interpret all options as 1510 # directories to create, and then abort because `.' already 1511 # exists. 1512 for d in ./-p ./--version; 1513 do 1514 test -d $d && rmdir $d 1515 done 1516 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. 1517 if test -f "$ac_aux_dir/mkinstalldirs"; then 1518 mkdir_p='$(mkinstalldirs)' 1519 else 1520 mkdir_p='$(install_sh) -d' 1521 fi 1498 1522 fi 1499 1523 … … 1576 1600 rmdir .tst 2>/dev/null 1577 1601 1578 1602 # test to see if srcdir already configured 1579 1603 if test "`cd $srcdir && pwd`" != "`pwd`" && 1580 1604 test -f $srcdir/config.status; then … … 1725 1749 1726 1750 ac_config_headers="$ac_config_headers config.h" 1727 1728 1729 echo "$as_me:$LINENO: checking for mingw" >&51730 echo $ECHO_N "checking for mingw... $ECHO_C" >&61731 case `uname` in1732 *MINGW*)1733 mingw="yes"1734 MSBITFIELDS="-mms-bitfields"1735 MWINDOWS="-mwindows"1736 ;;1737 *)1738 mingw="no"1739 ;;1740 esac1741 echo "$as_me:$LINENO: result: $mingw" >&51742 echo "${ECHO_T}$mingw" >&61743 1751 1744 1752 … … 2407 2415 for i in 1 2 3 4 5 6; do 2408 2416 echo '#include "conftst'$i'.h"' >> sub/conftest.c 2409 : > sub/conftst$i.h 2417 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 2418 # Solaris 8's {/usr,}/bin/sh. 2419 touch sub/conftst$i.h 2410 2420 done 2411 2421 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf … … 2435 2445 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 2436 2446 # icc doesn't choke on unknown options, it will just issue warnings 2437 # (even with -Werror). So we grep stderr for any message 2438 # that says an option was ignored. 2439 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else 2447 # or remarks (even with -Werror). So we grep stderr for any message 2448 # that says an option was ignored or not supported. 2449 # When given -MP, icc 7.0 and 7.1 complain thusly: 2450 # icc: Command line warning: ignoring option '-M'; no argument required 2451 # The diagnosis changed in icc 8.0: 2452 # icc: Command line remark: option '-MP' not supported 2453 if (grep 'ignoring option' conftest.err || 2454 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 2440 2455 am_cv_CXX_dependencies_compiler_type=$depmode 2441 2456 break … … 3238 3253 for i in 1 2 3 4 5 6; do 3239 3254 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3240 : > sub/conftst$i.h 3255 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 3256 # Solaris 8's {/usr,}/bin/sh. 3257 touch sub/conftst$i.h 3241 3258 done 3242 3259 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf … … 3266 3283 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3267 3284 # icc doesn't choke on unknown options, it will just issue warnings 3268 # (even with -Werror). So we grep stderr for any message 3269 # that says an option was ignored. 3270 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else 3285 # or remarks (even with -Werror). So we grep stderr for any message 3286 # that says an option was ignored or not supported. 3287 # When given -MP, icc 7.0 and 7.1 complain thusly: 3288 # icc: Command line warning: ignoring option '-M'; no argument required 3289 # The diagnosis changed in icc 8.0: 3290 # icc: Command line remark: option '-MP' not supported 3291 if (grep 'ignoring option' conftest.err || 3292 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3271 3293 am_cv_CC_dependencies_compiler_type=$depmode 3272 3294 break … … 3300 3322 3301 3323 3302 # Checks for libraries. 3303 3304 # cheking for libGL 3324 3325 3305 3326 3306 3327 ac_ext=c … … 3720 3741 fi 3721 3742 3722 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 3743 3744 ### CHECKING FOR SYSTEM ### 3745 3746 echo "$as_me:$LINENO: checking for System" >&5 3747 echo $ECHO_N "checking for System... $ECHO_C" >&6 3748 case `uname` in 3749 ### WINDOWS ### 3750 *MINGW*) 3751 echo "mingw-WINDOWS detected" 3752 3753 mingw="yes" 3754 MSBITFIELDS="-mms-bitfields" 3755 MWINDOWS="-mwindows" 3756 3757 # checking gl header 3758 #done before loop 3759 3760 # checking gl header 3761 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 3723 3762 3724 3763 … … 3946 3985 done 3947 3986 3948 3949 # checking for Unix GL 3950 echo "$as_me:$LINENO: checking for main in -lGL" >&5 3951 echo $ECHO_N "checking for main in -lGL... $ECHO_C" >&6 3952 if test "${ac_cv_lib_GL_main+set}" = set; then 3987 # checking for Windows openGl library 3988 echo "$as_me:$LINENO: checking for main in -lopengl32" >&5 3989 echo $ECHO_N "checking for main in -lopengl32... $ECHO_C" >&6 3990 if test "${ac_cv_lib_opengl32_main+set}" = set; then 3953 3991 echo $ECHO_N "(cached) $ECHO_C" >&6 3954 3992 else 3955 3993 ac_check_lib_save_LIBS=$LIBS 3956 LIBS="-l GL$LIBS"3994 LIBS="-lopengl32 $LIBS" 3957 3995 cat >conftest.$ac_ext <<_ACEOF 3958 3996 /* confdefs.h. */ … … 3993 4031 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3994 4032 (exit $ac_status); }; }; then 3995 ac_cv_lib_GL_main=yes3996 else3997 echo "$as_me: failed program was:" >&53998 sed 's/^/| /' conftest.$ac_ext >&53999 4000 ac_cv_lib_GL_main=no4001 fi4002 rm -f conftest.err conftest.$ac_objext \4003 conftest$ac_exeext conftest.$ac_ext4004 LIBS=$ac_check_lib_save_LIBS4005 fi4006 echo "$as_me:$LINENO: result: $ac_cv_lib_GL_main" >&54007 echo "${ECHO_T}$ac_cv_lib_GL_main" >&64008 if test $ac_cv_lib_GL_main = yes; then4009 FOUND_GL=yes4010 fi4011 4012 if test "$FOUND_GL" = "yes" ; then4013 LIBS="$LIBS -lGL"4014 # checking for Windows openGl library4015 else4016 echo "We did not find the Linux opengl Library. Checking for Windows Library"4017 echo "$as_me:$LINENO: checking for main in -lopengl32" >&54018 echo $ECHO_N "checking for main in -lopengl32... $ECHO_C" >&64019 if test "${ac_cv_lib_opengl32_main+set}" = set; then4020 echo $ECHO_N "(cached) $ECHO_C" >&64021 else4022 ac_check_lib_save_LIBS=$LIBS4023 LIBS="-lopengl32 $LIBS"4024 cat >conftest.$ac_ext <<_ACEOF4025 /* confdefs.h. */4026 _ACEOF4027 cat confdefs.h >>conftest.$ac_ext4028 cat >>conftest.$ac_ext <<_ACEOF4029 /* end confdefs.h. */4030 4031 4032 int4033 main ()4034 {4035 main ();4036 ;4037 return 0;4038 }4039 _ACEOF4040 rm -f conftest.$ac_objext conftest$ac_exeext4041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&54042 (eval $ac_link) 2>conftest.er14043 ac_status=$?4044 grep -v '^ *+' conftest.er1 >conftest.err4045 rm -f conftest.er14046 cat conftest.err >&54047 echo "$as_me:$LINENO: \$? = $ac_status" >&54048 (exit $ac_status); } &&4049 { ac_try='test -z "$ac_c_werror_flag"4050 || test ! -s conftest.err'4051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&54052 (eval $ac_try) 2>&54053 ac_status=$?4054 echo "$as_me:$LINENO: \$? = $ac_status" >&54055 (exit $ac_status); }; } &&4056 { ac_try='test -s conftest$ac_exeext'4057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&54058 (eval $ac_try) 2>&54059 ac_status=$?4060 echo "$as_me:$LINENO: \$? = $ac_status" >&54061 (exit $ac_status); }; }; then4062 4033 ac_cv_lib_opengl32_main=yes 4063 4034 else … … 4081 4052 if test "$FOUND_opengl32" = "yes" ; then 4082 4053 LIBS="$LIBS -lopengl32" 4083 4084 4054 else 4085 4055 echo "------------------" … … 4089 4059 exit -1 4090 4060 fi 4091 fi 4092 4093 # cheking for libGLU 4061 4062 # cheking for GLU-header 4094 4063 4095 4064 for ac_header in GL/glu.h … … 4247 4216 4248 4217 4249 echo "$as_me:$LINENO: checking for gluProject in -lGLU" >&5 4250 echo $ECHO_N "checking for gluProject in -lGLU... $ECHO_C" >&6 4251 if test "${ac_cv_lib_GLU_gluProject+set}" = set; then 4252 echo $ECHO_N "(cached) $ECHO_C" >&6 4253 else 4254 ac_check_lib_save_LIBS=$LIBS 4255 LIBS="-lGLU $LIBS" 4256 cat >conftest.$ac_ext <<_ACEOF 4257 /* confdefs.h. */ 4258 _ACEOF 4259 cat confdefs.h >>conftest.$ac_ext 4260 cat >>conftest.$ac_ext <<_ACEOF 4261 /* end confdefs.h. */ 4262 4263 /* Override any gcc2 internal prototype to avoid an error. */ 4264 #ifdef __cplusplus 4265 extern "C" 4266 #endif 4267 /* We use char because int might match the return type of a gcc2 4268 builtin and then its argument prototype would still apply. */ 4269 char gluProject (); 4270 int 4271 main () 4272 { 4273 gluProject (); 4274 ; 4275 return 0; 4276 } 4277 _ACEOF 4278 rm -f conftest.$ac_objext conftest$ac_exeext 4279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4280 (eval $ac_link) 2>conftest.er1 4281 ac_status=$? 4282 grep -v '^ *+' conftest.er1 >conftest.err 4283 rm -f conftest.er1 4284 cat conftest.err >&5 4285 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4286 (exit $ac_status); } && 4287 { ac_try='test -z "$ac_c_werror_flag" 4288 || test ! -s conftest.err' 4289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4290 (eval $ac_try) 2>&5 4291 ac_status=$? 4292 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4293 (exit $ac_status); }; } && 4294 { ac_try='test -s conftest$ac_exeext' 4295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4296 (eval $ac_try) 2>&5 4297 ac_status=$? 4298 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4299 (exit $ac_status); }; }; then 4300 ac_cv_lib_GLU_gluProject=yes 4301 else 4302 echo "$as_me: failed program was:" >&5 4303 sed 's/^/| /' conftest.$ac_ext >&5 4304 4305 ac_cv_lib_GLU_gluProject=no 4306 fi 4307 rm -f conftest.err conftest.$ac_objext \ 4308 conftest$ac_exeext conftest.$ac_ext 4309 LIBS=$ac_check_lib_save_LIBS 4310 fi 4311 echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluProject" >&5 4312 echo "${ECHO_T}$ac_cv_lib_GLU_gluProject" >&6 4313 if test $ac_cv_lib_GLU_gluProject = yes; then 4314 FOUND_GLU=yes 4315 fi 4316 4317 if test "$FOUND_GLU" = "yes" ; then 4318 LIBS="$LIBS -lGLU" 4319 # checking for Windows GLU32 library 4320 else 4321 echo "We did not find the Linux GLU Library. Checking for Windows Library" 4218 # checking for libGLU 4322 4219 echo "$as_me:$LINENO: checking for main in -lglu32" >&5 4323 4220 echo $ECHO_N "checking for main in -lglu32... $ECHO_C" >&6 … … 4384 4281 if test "$FOUND_glu32" = "yes" ; then 4385 4282 LIBS="$LIBS -lGLU32" 4386 4387 else 4283 else 4388 4284 echo "------------------" 4389 4285 echo "GLU library not found." … … 4392 4288 exit -1 4393 4289 fi 4394 fi 4395 4396 4397 for ac_header in SDL/SDL_mixer.h 4290 4291 4292 # checking for mingw32 4293 echo "$as_me:$LINENO: checking for main in -lmingw32" >&5 4294 echo $ECHO_N "checking for main in -lmingw32... $ECHO_C" >&6 4295 if test "${ac_cv_lib_mingw32_main+set}" = set; then 4296 echo $ECHO_N "(cached) $ECHO_C" >&6 4297 else 4298 ac_check_lib_save_LIBS=$LIBS 4299 LIBS="-lmingw32 $LIBS" 4300 cat >conftest.$ac_ext <<_ACEOF 4301 /* confdefs.h. */ 4302 _ACEOF 4303 cat confdefs.h >>conftest.$ac_ext 4304 cat >>conftest.$ac_ext <<_ACEOF 4305 /* end confdefs.h. */ 4306 4307 4308 int 4309 main () 4310 { 4311 main (); 4312 ; 4313 return 0; 4314 } 4315 _ACEOF 4316 rm -f conftest.$ac_objext conftest$ac_exeext 4317 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4318 (eval $ac_link) 2>conftest.er1 4319 ac_status=$? 4320 grep -v '^ *+' conftest.er1 >conftest.err 4321 rm -f conftest.er1 4322 cat conftest.err >&5 4323 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4324 (exit $ac_status); } && 4325 { ac_try='test -z "$ac_c_werror_flag" 4326 || test ! -s conftest.err' 4327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4328 (eval $ac_try) 2>&5 4329 ac_status=$? 4330 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4331 (exit $ac_status); }; } && 4332 { ac_try='test -s conftest$ac_exeext' 4333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4334 (eval $ac_try) 2>&5 4335 ac_status=$? 4336 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4337 (exit $ac_status); }; }; then 4338 ac_cv_lib_mingw32_main=yes 4339 else 4340 echo "$as_me: failed program was:" >&5 4341 sed 's/^/| /' conftest.$ac_ext >&5 4342 4343 ac_cv_lib_mingw32_main=no 4344 fi 4345 rm -f conftest.err conftest.$ac_objext \ 4346 conftest$ac_exeext conftest.$ac_ext 4347 LIBS=$ac_check_lib_save_LIBS 4348 fi 4349 echo "$as_me:$LINENO: result: $ac_cv_lib_mingw32_main" >&5 4350 echo "${ECHO_T}$ac_cv_lib_mingw32_main" >&6 4351 if test $ac_cv_lib_mingw32_main = yes; then 4352 FOUND_mingw32=yes 4353 fi 4354 4355 if test $FOUND_mingw32 = "yes"; then 4356 LIBS="$LIBS -lmingw32" 4357 fi 4358 # checking for SDL-headers 4359 4360 for ac_header in SDL/SDL.h 4398 4361 do 4399 4362 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` … … 4541 4504 4542 4505 else 4543 { { echo "$as_me:$LINENO: error: cannot find sdlmixerheaders" >&54544 echo "$as_me: error: cannot find sdlmixerheaders" >&2;}4506 { { echo "$as_me:$LINENO: error: cannot find SDL headers" >&5 4507 echo "$as_me: error: cannot find SDL headers" >&2;} 4545 4508 { (exit 1); exit 1; }; } 4546 4509 fi … … 4549 4512 4550 4513 4551 LIBS="$LIBS -lSDL_mixer" 4552 4553 # FIXME: Replace `main' with a function in `-lOSMesa': 4554 4555 echo "$as_me:$LINENO: checking for main in -lOSMesa" >&5 4556 echo $ECHO_N "checking for main in -lOSMesa... $ECHO_C" >&6 4557 if test "${ac_cv_lib_OSMesa_main+set}" = set; then 4514 #checking for libSDL 4515 echo "$as_me:$LINENO: checking for main in -lsdlmain" >&5 4516 echo $ECHO_N "checking for main in -lsdlmain... $ECHO_C" >&6 4517 if test "${ac_cv_lib_sdlmain_main+set}" = set; then 4558 4518 echo $ECHO_N "(cached) $ECHO_C" >&6 4559 4519 else 4560 4520 ac_check_lib_save_LIBS=$LIBS 4561 LIBS="-l OSMesa$LIBS"4521 LIBS="-lsdlmain $LIBS" 4562 4522 cat >conftest.$ac_ext <<_ACEOF 4563 4523 /* confdefs.h. */ … … 4598 4558 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4599 4559 (exit $ac_status); }; }; then 4600 ac_cv_lib_ OSMesa_main=yes4560 ac_cv_lib_sdlmain_main=yes 4601 4561 else 4602 4562 echo "$as_me: failed program was:" >&5 4603 4563 sed 's/^/| /' conftest.$ac_ext >&5 4604 4564 4605 ac_cv_lib_ OSMesa_main=no4565 ac_cv_lib_sdlmain_main=no 4606 4566 fi 4607 4567 rm -f conftest.err conftest.$ac_objext \ … … 4609 4569 LIBS=$ac_check_lib_save_LIBS 4610 4570 fi 4611 echo "$as_me:$LINENO: result: $ac_cv_lib_OSMesa_main" >&5 4612 echo "${ECHO_T}$ac_cv_lib_OSMesa_main" >&6 4613 if test $ac_cv_lib_OSMesa_main = yes; then 4614 cat >>confdefs.h <<_ACEOF 4615 #define HAVE_LIBOSMESA 1 4616 _ACEOF 4617 4618 LIBS="-lOSMesa $LIBS" 4619 4620 fi 4621 4622 # FIXME: Replace `main' with a function in `-lX11': 4623 4624 echo "$as_me:$LINENO: checking for main in -lX11" >&5 4625 echo $ECHO_N "checking for main in -lX11... $ECHO_C" >&6 4626 if test "${ac_cv_lib_X11_main+set}" = set; then 4571 echo "$as_me:$LINENO: result: $ac_cv_lib_sdlmain_main" >&5 4572 echo "${ECHO_T}$ac_cv_lib_sdlmain_main" >&6 4573 if test $ac_cv_lib_sdlmain_main = yes; then 4574 FOUND_sdlmain=yes 4575 fi 4576 4577 if test "$FOUND_sdlmain" = "yes" ; then 4578 LIBS="$LIBS -lsdlmain" 4579 else 4580 echo "------------------" 4581 echo "SDL library not found." 4582 echo "please install the SDL library, which can be found at http://www.libsdl.org" 4583 echo "------------------" 4584 exit 1 4585 fi 4586 echo "$as_me:$LINENO: checking for main in -lsdl" >&5 4587 echo $ECHO_N "checking for main in -lsdl... $ECHO_C" >&6 4588 if test "${ac_cv_lib_sdl_main+set}" = set; then 4627 4589 echo $ECHO_N "(cached) $ECHO_C" >&6 4628 4590 else 4629 4591 ac_check_lib_save_LIBS=$LIBS 4630 LIBS="-l X11$LIBS"4592 LIBS="-lsdl $LIBS" 4631 4593 cat >conftest.$ac_ext <<_ACEOF 4632 4594 /* confdefs.h. */ … … 4667 4629 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4668 4630 (exit $ac_status); }; }; then 4669 ac_cv_lib_ X11_main=yes4631 ac_cv_lib_sdl_main=yes 4670 4632 else 4671 4633 echo "$as_me: failed program was:" >&5 4672 4634 sed 's/^/| /' conftest.$ac_ext >&5 4673 4635 4674 ac_cv_lib_ X11_main=no4636 ac_cv_lib_sdl_main=no 4675 4637 fi 4676 4638 rm -f conftest.err conftest.$ac_objext \ … … 4678 4640 LIBS=$ac_check_lib_save_LIBS 4679 4641 fi 4680 echo "$as_me:$LINENO: result: $ac_cv_lib_X11_main" >&5 4681 echo "${ECHO_T}$ac_cv_lib_X11_main" >&6 4682 if test $ac_cv_lib_X11_main = yes; then 4683 cat >>confdefs.h <<_ACEOF 4684 #define HAVE_LIBX11 1 4685 _ACEOF 4686 4687 LIBS="-lX11 $LIBS" 4688 4689 fi 4690 4691 # FIXME: Replace `main' with a function in `-lXt': 4692 4693 echo "$as_me:$LINENO: checking for main in -lXt" >&5 4694 echo $ECHO_N "checking for main in -lXt... $ECHO_C" >&6 4695 if test "${ac_cv_lib_Xt_main+set}" = set; then 4696 echo $ECHO_N "(cached) $ECHO_C" >&6 4697 else 4698 ac_check_lib_save_LIBS=$LIBS 4699 LIBS="-lXt $LIBS" 4700 cat >conftest.$ac_ext <<_ACEOF 4701 /* confdefs.h. */ 4702 _ACEOF 4703 cat confdefs.h >>conftest.$ac_ext 4704 cat >>conftest.$ac_ext <<_ACEOF 4705 /* end confdefs.h. */ 4706 4707 4708 int 4709 main () 4710 { 4711 main (); 4712 ; 4713 return 0; 4714 } 4715 _ACEOF 4716 rm -f conftest.$ac_objext conftest$ac_exeext 4717 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4718 (eval $ac_link) 2>conftest.er1 4719 ac_status=$? 4720 grep -v '^ *+' conftest.er1 >conftest.err 4721 rm -f conftest.er1 4722 cat conftest.err >&5 4723 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4724 (exit $ac_status); } && 4725 { ac_try='test -z "$ac_c_werror_flag" 4726 || test ! -s conftest.err' 4727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4728 (eval $ac_try) 2>&5 4729 ac_status=$? 4730 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4731 (exit $ac_status); }; } && 4732 { ac_try='test -s conftest$ac_exeext' 4733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4734 (eval $ac_try) 2>&5 4735 ac_status=$? 4736 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4737 (exit $ac_status); }; }; then 4738 ac_cv_lib_Xt_main=yes 4739 else 4740 echo "$as_me: failed program was:" >&5 4741 sed 's/^/| /' conftest.$ac_ext >&5 4742 4743 ac_cv_lib_Xt_main=no 4744 fi 4745 rm -f conftest.err conftest.$ac_objext \ 4746 conftest$ac_exeext conftest.$ac_ext 4747 LIBS=$ac_check_lib_save_LIBS 4748 fi 4749 echo "$as_me:$LINENO: result: $ac_cv_lib_Xt_main" >&5 4750 echo "${ECHO_T}$ac_cv_lib_Xt_main" >&6 4751 if test $ac_cv_lib_Xt_main = yes; then 4752 cat >>confdefs.h <<_ACEOF 4753 #define HAVE_LIBXT 1 4754 _ACEOF 4755 4756 LIBS="-lXt $LIBS" 4757 4758 fi 4759 4760 4761 ## mingw CHECK 4762 if test $mingw = yes ; then 4763 echo "$as_me:$LINENO: checking for main in -lmingw32" >&5 4764 echo $ECHO_N "checking for main in -lmingw32... $ECHO_C" >&6 4765 if test "${ac_cv_lib_mingw32_main+set}" = set; then 4766 echo $ECHO_N "(cached) $ECHO_C" >&6 4767 else 4768 ac_check_lib_save_LIBS=$LIBS 4769 LIBS="-lmingw32 $LIBS" 4770 cat >conftest.$ac_ext <<_ACEOF 4771 /* confdefs.h. */ 4772 _ACEOF 4773 cat confdefs.h >>conftest.$ac_ext 4774 cat >>conftest.$ac_ext <<_ACEOF 4775 /* end confdefs.h. */ 4776 4777 4778 int 4779 main () 4780 { 4781 main (); 4782 ; 4783 return 0; 4784 } 4785 _ACEOF 4786 rm -f conftest.$ac_objext conftest$ac_exeext 4787 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4788 (eval $ac_link) 2>conftest.er1 4789 ac_status=$? 4790 grep -v '^ *+' conftest.er1 >conftest.err 4791 rm -f conftest.er1 4792 cat conftest.err >&5 4793 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4794 (exit $ac_status); } && 4795 { ac_try='test -z "$ac_c_werror_flag" 4796 || test ! -s conftest.err' 4797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4798 (eval $ac_try) 2>&5 4799 ac_status=$? 4800 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4801 (exit $ac_status); }; } && 4802 { ac_try='test -s conftest$ac_exeext' 4803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4804 (eval $ac_try) 2>&5 4805 ac_status=$? 4806 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4807 (exit $ac_status); }; }; then 4808 ac_cv_lib_mingw32_main=yes 4809 else 4810 echo "$as_me: failed program was:" >&5 4811 sed 's/^/| /' conftest.$ac_ext >&5 4812 4813 ac_cv_lib_mingw32_main=no 4814 fi 4815 rm -f conftest.err conftest.$ac_objext \ 4816 conftest$ac_exeext conftest.$ac_ext 4817 LIBS=$ac_check_lib_save_LIBS 4818 fi 4819 echo "$as_me:$LINENO: result: $ac_cv_lib_mingw32_main" >&5 4820 echo "${ECHO_T}$ac_cv_lib_mingw32_main" >&6 4821 if test $ac_cv_lib_mingw32_main = yes; then 4822 FOUND_mingw32=yes 4823 fi 4824 4825 if test $FOUND_mingw32 = "yes"; then 4826 LIBS="$LIBS -lmingw32" 4827 fi 4828 fi 4829 4830 ## SDL CHECK 4831 4832 #checking for SDL libs 4833 4834 for ac_header in SDL/SDL.h 4642 echo "$as_me:$LINENO: result: $ac_cv_lib_sdl_main" >&5 4643 echo "${ECHO_T}$ac_cv_lib_sdl_main" >&6 4644 if test $ac_cv_lib_sdl_main = yes; then 4645 FOUND_sdl=yes 4646 fi 4647 4648 if test "$FOUND_sdl" = "yes" ; then 4649 LIBS="$LIBS -lsdl" 4650 else 4651 echo "------------------" 4652 echo "SDL library not found." 4653 echo "please install the SDL library, which can be found at http://www.libsdl.org" 4654 echo "------------------" 4655 exit -1 4656 fi 4657 4658 # checking for SDL-Mixer-headers 4659 4660 for ac_header in SDL/SDL_mixer.h 4835 4661 do 4836 4662 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` … … 4985 4811 done 4986 4812 4987 if test $mingw = no ; then 4988 echo "$as_me:$LINENO: checking for main in -lSDL" >&5 4989 echo $ECHO_N "checking for main in -lSDL... $ECHO_C" >&6 4990 if test "${ac_cv_lib_SDL_main+set}" = set; then 4813 4814 #checking for libSDL_mixer 4815 echo "$as_me:$LINENO: checking for main in -lSDL_mixer" >&5 4816 echo $ECHO_N "checking for main in -lSDL_mixer... $ECHO_C" >&6 4817 if test "${ac_cv_lib_SDL_mixer_main+set}" = set; then 4991 4818 echo $ECHO_N "(cached) $ECHO_C" >&6 4992 4819 else 4993 4820 ac_check_lib_save_LIBS=$LIBS 4994 LIBS="-lSDL $LIBS"4821 LIBS="-lSDL_mixer $LIBS" 4995 4822 cat >conftest.$ac_ext <<_ACEOF 4996 4823 /* confdefs.h. */ … … 5031 4858 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5032 4859 (exit $ac_status); }; }; then 5033 ac_cv_lib_SDL_m ain=yes4860 ac_cv_lib_SDL_mixer_main=yes 5034 4861 else 5035 4862 echo "$as_me: failed program was:" >&5 5036 4863 sed 's/^/| /' conftest.$ac_ext >&5 5037 4864 5038 ac_cv_lib_SDL_m ain=no4865 ac_cv_lib_SDL_mixer_main=no 5039 4866 fi 5040 4867 rm -f conftest.err conftest.$ac_objext \ … … 5042 4869 LIBS=$ac_check_lib_save_LIBS 5043 4870 fi 5044 echo "$as_me:$LINENO: result: $ac_cv_lib_SDL_main" >&5 5045 echo "${ECHO_T}$ac_cv_lib_SDL_main" >&6 5046 if test $ac_cv_lib_SDL_main = yes; then 5047 FOUND_SDL=yes 5048 fi 5049 5050 if test "$FOUND_SDL" = "yes" ; then 5051 LIBS="$LIBS -lSDL" 5052 fi 5053 # checking for Windows sdl library 5054 else 5055 echo "$as_me:$LINENO: checking for main in -lsdlmain" >&5 5056 echo $ECHO_N "checking for main in -lsdlmain... $ECHO_C" >&6 5057 if test "${ac_cv_lib_sdlmain_main+set}" = set; then 5058 echo $ECHO_N "(cached) $ECHO_C" >&6 5059 else 5060 ac_check_lib_save_LIBS=$LIBS 5061 LIBS="-lsdlmain $LIBS" 5062 cat >conftest.$ac_ext <<_ACEOF 5063 /* confdefs.h. */ 5064 _ACEOF 5065 cat confdefs.h >>conftest.$ac_ext 5066 cat >>conftest.$ac_ext <<_ACEOF 5067 /* end confdefs.h. */ 5068 5069 5070 int 5071 main () 5072 { 5073 main (); 5074 ; 5075 return 0; 5076 } 5077 _ACEOF 5078 rm -f conftest.$ac_objext conftest$ac_exeext 5079 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5080 (eval $ac_link) 2>conftest.er1 5081 ac_status=$? 5082 grep -v '^ *+' conftest.er1 >conftest.err 5083 rm -f conftest.er1 5084 cat conftest.err >&5 5085 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5086 (exit $ac_status); } && 5087 { ac_try='test -z "$ac_c_werror_flag" 5088 || test ! -s conftest.err' 5089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5090 (eval $ac_try) 2>&5 5091 ac_status=$? 5092 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5093 (exit $ac_status); }; } && 5094 { ac_try='test -s conftest$ac_exeext' 5095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5096 (eval $ac_try) 2>&5 5097 ac_status=$? 5098 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5099 (exit $ac_status); }; }; then 5100 ac_cv_lib_sdlmain_main=yes 5101 else 5102 echo "$as_me: failed program was:" >&5 5103 sed 's/^/| /' conftest.$ac_ext >&5 5104 5105 ac_cv_lib_sdlmain_main=no 5106 fi 5107 rm -f conftest.err conftest.$ac_objext \ 5108 conftest$ac_exeext conftest.$ac_ext 5109 LIBS=$ac_check_lib_save_LIBS 5110 fi 5111 echo "$as_me:$LINENO: result: $ac_cv_lib_sdlmain_main" >&5 5112 echo "${ECHO_T}$ac_cv_lib_sdlmain_main" >&6 5113 if test $ac_cv_lib_sdlmain_main = yes; then 5114 FOUND_sdlmain=yes 5115 fi 5116 5117 if test "$FOUND_sdlmain" = "yes" ; then 5118 LIBS="$LIBS -lsdlmain" 4871 echo "$as_me:$LINENO: result: $ac_cv_lib_SDL_mixer_main" >&5 4872 echo "${ECHO_T}$ac_cv_lib_SDL_mixer_main" >&6 4873 if test $ac_cv_lib_SDL_mixer_main = yes; then 4874 FOUND_SDL_mixer=yes 4875 fi 4876 4877 if test "$FOUND_SDL_mixer" = "yes" ; then 4878 LIBS="$LIBS -lSDL_mixer" 4879 else 4880 echo "------------------" 4881 echo "SDL Mixer library not found." 4882 echo "please install the SDL Mixer library, which can be found at http://www.libsdl.org" 4883 echo "------------------" 4884 exit 1 5119 4885 fi 5120 echo "$as_me:$LINENO: checking for main in -lsdl" >&5 5121 echo $ECHO_N "checking for main in -lsdl... $ECHO_C" >&6 5122 if test "${ac_cv_lib_sdl_main+set}" = set; then 5123 echo $ECHO_N "(cached) $ECHO_C" >&6 5124 else 5125 ac_check_lib_save_LIBS=$LIBS 5126 LIBS="-lsdl $LIBS" 5127 cat >conftest.$ac_ext <<_ACEOF 5128 /* confdefs.h. */ 5129 _ACEOF 5130 cat confdefs.h >>conftest.$ac_ext 5131 cat >>conftest.$ac_ext <<_ACEOF 5132 /* end confdefs.h. */ 5133 5134 5135 int 5136 main () 5137 { 5138 main (); 5139 ; 5140 return 0; 5141 } 5142 _ACEOF 5143 rm -f conftest.$ac_objext conftest$ac_exeext 5144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5145 (eval $ac_link) 2>conftest.er1 5146 ac_status=$? 5147 grep -v '^ *+' conftest.er1 >conftest.err 5148 rm -f conftest.er1 5149 cat conftest.err >&5 5150 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5151 (exit $ac_status); } && 5152 { ac_try='test -z "$ac_c_werror_flag" 5153 || test ! -s conftest.err' 5154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5155 (eval $ac_try) 2>&5 5156 ac_status=$? 5157 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5158 (exit $ac_status); }; } && 5159 { ac_try='test -s conftest$ac_exeext' 5160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5161 (eval $ac_try) 2>&5 5162 ac_status=$? 5163 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5164 (exit $ac_status); }; }; then 5165 ac_cv_lib_sdl_main=yes 5166 else 5167 echo "$as_me: failed program was:" >&5 5168 sed 's/^/| /' conftest.$ac_ext >&5 5169 5170 ac_cv_lib_sdl_main=no 5171 fi 5172 rm -f conftest.err conftest.$ac_objext \ 5173 conftest$ac_exeext conftest.$ac_ext 5174 LIBS=$ac_check_lib_save_LIBS 5175 fi 5176 echo "$as_me:$LINENO: result: $ac_cv_lib_sdl_main" >&5 5177 echo "${ECHO_T}$ac_cv_lib_sdl_main" >&6 5178 if test $ac_cv_lib_sdl_main = yes; then 5179 FOUND_sdl=yes 5180 fi 5181 5182 if test "$FOUND_sdl" = "yes" ; then 5183 LIBS="$LIBS -lsdl" 5184 fi 5185 fi 5186 5187 #checking for pthread libs 5188 echo "$as_me:$LINENO: checking for main in -lpthread" >&5 5189 echo $ECHO_N "checking for main in -lpthread... $ECHO_C" >&6 5190 if test "${ac_cv_lib_pthread_main+set}" = set; then 5191 echo $ECHO_N "(cached) $ECHO_C" >&6 5192 else 5193 ac_check_lib_save_LIBS=$LIBS 5194 LIBS="-lpthread $LIBS" 5195 cat >conftest.$ac_ext <<_ACEOF 5196 /* confdefs.h. */ 5197 _ACEOF 5198 cat confdefs.h >>conftest.$ac_ext 5199 cat >>conftest.$ac_ext <<_ACEOF 5200 /* end confdefs.h. */ 5201 5202 5203 int 5204 main () 5205 { 5206 main (); 5207 ; 5208 return 0; 5209 } 5210 _ACEOF 5211 rm -f conftest.$ac_objext conftest$ac_exeext 5212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5213 (eval $ac_link) 2>conftest.er1 5214 ac_status=$? 5215 grep -v '^ *+' conftest.er1 >conftest.err 5216 rm -f conftest.er1 5217 cat conftest.err >&5 5218 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5219 (exit $ac_status); } && 5220 { ac_try='test -z "$ac_c_werror_flag" 5221 || test ! -s conftest.err' 5222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5223 (eval $ac_try) 2>&5 5224 ac_status=$? 5225 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5226 (exit $ac_status); }; } && 5227 { ac_try='test -s conftest$ac_exeext' 5228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5229 (eval $ac_try) 2>&5 5230 ac_status=$? 5231 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5232 (exit $ac_status); }; }; then 5233 ac_cv_lib_pthread_main=yes 5234 else 5235 echo "$as_me: failed program was:" >&5 5236 sed 's/^/| /' conftest.$ac_ext >&5 5237 5238 ac_cv_lib_pthread_main=no 5239 fi 5240 rm -f conftest.err conftest.$ac_objext \ 5241 conftest$ac_exeext conftest.$ac_ext 5242 LIBS=$ac_check_lib_save_LIBS 5243 fi 5244 echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_main" >&5 5245 echo "${ECHO_T}$ac_cv_lib_pthread_main" >&6 5246 if test $ac_cv_lib_pthread_main = yes; then 5247 FOUND_pthread=yes 5248 fi 5249 5250 if test "$FOUND_pthread" = "yes" ; then 5251 LIBS="$LIBS -lpthread" 5252 fi 5253 5254 5255 5256 5257 # FIXME: Replace `main' with a function in `-lm': 5258 5259 echo "$as_me:$LINENO: checking for main in -lm" >&5 5260 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6 5261 if test "${ac_cv_lib_m_main+set}" = set; then 5262 echo $ECHO_N "(cached) $ECHO_C" >&6 5263 else 5264 ac_check_lib_save_LIBS=$LIBS 5265 LIBS="-lm $LIBS" 5266 cat >conftest.$ac_ext <<_ACEOF 5267 /* confdefs.h. */ 5268 _ACEOF 5269 cat confdefs.h >>conftest.$ac_ext 5270 cat >>conftest.$ac_ext <<_ACEOF 5271 /* end confdefs.h. */ 5272 5273 5274 int 5275 main () 5276 { 5277 main (); 5278 ; 5279 return 0; 5280 } 5281 _ACEOF 5282 rm -f conftest.$ac_objext conftest$ac_exeext 5283 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5284 (eval $ac_link) 2>conftest.er1 5285 ac_status=$? 5286 grep -v '^ *+' conftest.er1 >conftest.err 5287 rm -f conftest.er1 5288 cat conftest.err >&5 5289 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5290 (exit $ac_status); } && 5291 { ac_try='test -z "$ac_c_werror_flag" 5292 || test ! -s conftest.err' 5293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5294 (eval $ac_try) 2>&5 5295 ac_status=$? 5296 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5297 (exit $ac_status); }; } && 5298 { ac_try='test -s conftest$ac_exeext' 5299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5300 (eval $ac_try) 2>&5 5301 ac_status=$? 5302 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5303 (exit $ac_status); }; }; then 5304 ac_cv_lib_m_main=yes 5305 else 5306 echo "$as_me: failed program was:" >&5 5307 sed 's/^/| /' conftest.$ac_ext >&5 5308 5309 ac_cv_lib_m_main=no 5310 fi 5311 rm -f conftest.err conftest.$ac_objext \ 5312 conftest$ac_exeext conftest.$ac_ext 5313 LIBS=$ac_check_lib_save_LIBS 5314 fi 5315 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5 5316 echo "${ECHO_T}$ac_cv_lib_m_main" >&6 5317 if test $ac_cv_lib_m_main = yes; then 5318 cat >>confdefs.h <<_ACEOF 5319 #define HAVE_LIBM 1 5320 _ACEOF 5321 5322 LIBS="-lm $LIBS" 5323 5324 fi 5325 5326 5327 LIBS="$LIBS `pkg-config --libs gtk+-2.0`" 5328 5329 5330 # Checks for header files. 5331 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 5332 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 5333 if test "${ac_cv_header_stdc+set}" = set; then 5334 echo $ECHO_N "(cached) $ECHO_C" >&6 5335 else 5336 cat >conftest.$ac_ext <<_ACEOF 5337 /* confdefs.h. */ 5338 _ACEOF 5339 cat confdefs.h >>conftest.$ac_ext 5340 cat >>conftest.$ac_ext <<_ACEOF 5341 /* end confdefs.h. */ 5342 #include <stdlib.h> 5343 #include <stdarg.h> 5344 #include <string.h> 5345 #include <float.h> 5346 5347 int 5348 main () 5349 { 5350 5351 ; 5352 return 0; 5353 } 5354 _ACEOF 5355 rm -f conftest.$ac_objext 5356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5357 (eval $ac_compile) 2>conftest.er1 5358 ac_status=$? 5359 grep -v '^ *+' conftest.er1 >conftest.err 5360 rm -f conftest.er1 5361 cat conftest.err >&5 5362 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5363 (exit $ac_status); } && 5364 { ac_try='test -z "$ac_c_werror_flag" 5365 || test ! -s conftest.err' 5366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5367 (eval $ac_try) 2>&5 5368 ac_status=$? 5369 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5370 (exit $ac_status); }; } && 5371 { ac_try='test -s conftest.$ac_objext' 5372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5373 (eval $ac_try) 2>&5 5374 ac_status=$? 5375 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5376 (exit $ac_status); }; }; then 5377 ac_cv_header_stdc=yes 5378 else 5379 echo "$as_me: failed program was:" >&5 5380 sed 's/^/| /' conftest.$ac_ext >&5 5381 5382 ac_cv_header_stdc=no 5383 fi 5384 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5385 5386 if test $ac_cv_header_stdc = yes; then 5387 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 5388 cat >conftest.$ac_ext <<_ACEOF 5389 /* confdefs.h. */ 5390 _ACEOF 5391 cat confdefs.h >>conftest.$ac_ext 5392 cat >>conftest.$ac_ext <<_ACEOF 5393 /* end confdefs.h. */ 5394 #include <string.h> 5395 5396 _ACEOF 5397 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5398 $EGREP "memchr" >/dev/null 2>&1; then 5399 : 5400 else 5401 ac_cv_header_stdc=no 5402 fi 5403 rm -f conftest* 5404 5405 fi 5406 5407 if test $ac_cv_header_stdc = yes; then 5408 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 5409 cat >conftest.$ac_ext <<_ACEOF 5410 /* confdefs.h. */ 5411 _ACEOF 5412 cat confdefs.h >>conftest.$ac_ext 5413 cat >>conftest.$ac_ext <<_ACEOF 5414 /* end confdefs.h. */ 5415 #include <stdlib.h> 5416 5417 _ACEOF 5418 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5419 $EGREP "free" >/dev/null 2>&1; then 5420 : 5421 else 5422 ac_cv_header_stdc=no 5423 fi 5424 rm -f conftest* 5425 5426 fi 5427 5428 if test $ac_cv_header_stdc = yes; then 5429 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 5430 if test "$cross_compiling" = yes; then 5431 : 5432 else 5433 cat >conftest.$ac_ext <<_ACEOF 5434 /* confdefs.h. */ 5435 _ACEOF 5436 cat confdefs.h >>conftest.$ac_ext 5437 cat >>conftest.$ac_ext <<_ACEOF 5438 /* end confdefs.h. */ 5439 #include <ctype.h> 5440 #if ((' ' & 0x0FF) == 0x020) 5441 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 5442 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 5443 #else 5444 # define ISLOWER(c) \ 5445 (('a' <= (c) && (c) <= 'i') \ 5446 || ('j' <= (c) && (c) <= 'r') \ 5447 || ('s' <= (c) && (c) <= 'z')) 5448 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 5449 #endif 5450 5451 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 5452 int 5453 main () 5454 { 5455 int i; 5456 for (i = 0; i < 256; i++) 5457 if (XOR (islower (i), ISLOWER (i)) 5458 || toupper (i) != TOUPPER (i)) 5459 exit(2); 5460 exit (0); 5461 } 5462 _ACEOF 5463 rm -f conftest$ac_exeext 5464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5465 (eval $ac_link) 2>&5 5466 ac_status=$? 5467 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5468 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 5469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5470 (eval $ac_try) 2>&5 5471 ac_status=$? 5472 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5473 (exit $ac_status); }; }; then 5474 : 5475 else 5476 echo "$as_me: program exited with status $ac_status" >&5 5477 echo "$as_me: failed program was:" >&5 5478 sed 's/^/| /' conftest.$ac_ext >&5 5479 5480 ( exit $ac_status ) 5481 ac_cv_header_stdc=no 5482 fi 5483 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 5484 fi 5485 fi 5486 fi 5487 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 5488 echo "${ECHO_T}$ac_cv_header_stdc" >&6 5489 if test $ac_cv_header_stdc = yes; then 5490 5491 cat >>confdefs.h <<\_ACEOF 5492 #define STDC_HEADERS 1 5493 _ACEOF 5494 5495 fi 5496 5497 5498 5499 for ac_header in stdlib.h string.h 4886 4887 4888 ;; 4889 4890 ### LINUX ### 4891 *Linux*) 4892 echo "Linux detected" 4893 4894 Linux="yes" 4895 4896 # checking gl header 4897 4898 for ac_header in GL/gl.h 5500 4899 do 5501 4900 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` … … 5642 5041 _ACEOF 5643 5042 5043 else 5044 { { echo "$as_me:$LINENO: error: cannot find opengl headers" >&5 5045 echo "$as_me: error: cannot find opengl headers" >&2;} 5046 { (exit 1); exit 1; }; } 5644 5047 fi 5645 5048 … … 5647 5050 5648 5051 5649 # Checks for typedefs, structures, and compiler characteristics.5650 echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&55651 echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&65652 if test "${ac_cv_ header_stdbool_h+set}" = set; then5052 # checking for Unix GL 5053 echo "$as_me:$LINENO: checking for main in -lGL" >&5 5054 echo $ECHO_N "checking for main in -lGL... $ECHO_C" >&6 5055 if test "${ac_cv_lib_GL_main+set}" = set; then 5653 5056 echo $ECHO_N "(cached) $ECHO_C" >&6 5654 5057 else 5655 cat >conftest.$ac_ext <<_ACEOF 5058 ac_check_lib_save_LIBS=$LIBS 5059 LIBS="-lGL $LIBS" 5060 cat >conftest.$ac_ext <<_ACEOF 5656 5061 /* confdefs.h. */ 5657 5062 _ACEOF … … 5660 5065 /* end confdefs.h. */ 5661 5066 5662 #include <stdbool.h>5663 #ifndef bool5664 # error bool is not defined5665 #endif5666 #ifndef false5667 # error false is not defined5668 #endif5669 #if false5670 # error false is not 05671 #endif5672 #ifndef true5673 # error true is not defined5674 #endif5675 #if true != 15676 # error true is not 15677 #endif5678 #ifndef __bool_true_false_are_defined5679 # error __bool_true_false_are_defined is not defined5680 #endif5681 5682 struct s { _Bool s: 1; _Bool t; } s;5683 5684 char a[true == 1 ? 1 : -1];5685 char b[false == 0 ? 1 : -1];5686 char c[__bool_true_false_are_defined == 1 ? 1 : -1];5687 char d[(bool) -0.5 == true ? 1 : -1];5688 bool e = &s;5689 char f[(_Bool) -0.0 == false ? 1 : -1];5690 char g[true];5691 char h[sizeof (_Bool)];5692 char i[sizeof s.t];5693 5067 5694 5068 int 5695 5069 main () 5696 5070 { 5697 return !a + !b + !c + !d + !e + !f + !g + !h + !i;5071 main (); 5698 5072 ; 5699 5073 return 0; 5700 5074 } 5701 5075 _ACEOF 5702 rm -f conftest.$ac_objext 5703 if { (eval echo "$as_me:$LINENO: \"$ac_ compile\"") >&55704 (eval $ac_ compile) 2>conftest.er15076 rm -f conftest.$ac_objext conftest$ac_exeext 5077 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5078 (eval $ac_link) 2>conftest.er1 5705 5079 ac_status=$? 5706 5080 grep -v '^ *+' conftest.er1 >conftest.err … … 5716 5090 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5717 5091 (exit $ac_status); }; } && 5718 { ac_try='test -s conftest .$ac_objext'5092 { ac_try='test -s conftest$ac_exeext' 5719 5093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5720 5094 (eval $ac_try) 2>&5 … … 5722 5096 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5723 5097 (exit $ac_status); }; }; then 5724 ac_cv_ header_stdbool_h=yes5098 ac_cv_lib_GL_main=yes 5725 5099 else 5726 5100 echo "$as_me: failed program was:" >&5 5727 5101 sed 's/^/| /' conftest.$ac_ext >&5 5728 5102 5729 ac_cv_header_stdbool_h=no 5730 fi 5731 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5732 fi 5733 echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5 5734 echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6 5735 echo "$as_me:$LINENO: checking for _Bool" >&5 5736 echo $ECHO_N "checking for _Bool... $ECHO_C" >&6 5737 if test "${ac_cv_type__Bool+set}" = set; then 5738 echo $ECHO_N "(cached) $ECHO_C" >&6 5739 else 5740 cat >conftest.$ac_ext <<_ACEOF 5741 /* confdefs.h. */ 5742 _ACEOF 5743 cat confdefs.h >>conftest.$ac_ext 5744 cat >>conftest.$ac_ext <<_ACEOF 5745 /* end confdefs.h. */ 5746 $ac_includes_default 5747 int 5748 main () 5749 { 5750 if ((_Bool *) 0) 5751 return 0; 5752 if (sizeof (_Bool)) 5753 return 0; 5754 ; 5755 return 0; 5756 } 5757 _ACEOF 5758 rm -f conftest.$ac_objext 5759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5760 (eval $ac_compile) 2>conftest.er1 5761 ac_status=$? 5762 grep -v '^ *+' conftest.er1 >conftest.err 5763 rm -f conftest.er1 5764 cat conftest.err >&5 5765 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5766 (exit $ac_status); } && 5767 { ac_try='test -z "$ac_c_werror_flag" 5768 || test ! -s conftest.err' 5769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5770 (eval $ac_try) 2>&5 5771 ac_status=$? 5772 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5773 (exit $ac_status); }; } && 5774 { ac_try='test -s conftest.$ac_objext' 5775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5776 (eval $ac_try) 2>&5 5777 ac_status=$? 5778 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5779 (exit $ac_status); }; }; then 5780 ac_cv_type__Bool=yes 5781 else 5782 echo "$as_me: failed program was:" >&5 5783 sed 's/^/| /' conftest.$ac_ext >&5 5784 5785 ac_cv_type__Bool=no 5786 fi 5787 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5788 fi 5789 echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5 5790 echo "${ECHO_T}$ac_cv_type__Bool" >&6 5791 if test $ac_cv_type__Bool = yes; then 5792 5793 cat >>confdefs.h <<_ACEOF 5794 #define HAVE__BOOL 1 5795 _ACEOF 5796 5797 5798 fi 5799 5800 if test $ac_cv_header_stdbool_h = yes; then 5801 5802 cat >>confdefs.h <<\_ACEOF 5803 #define HAVE_STDBOOL_H 1 5804 _ACEOF 5805 5806 fi 5807 5808 5809 # Checks for library functions. 5810 5811 for ac_header in stdlib.h 5103 ac_cv_lib_GL_main=no 5104 fi 5105 rm -f conftest.err conftest.$ac_objext \ 5106 conftest$ac_exeext conftest.$ac_ext 5107 LIBS=$ac_check_lib_save_LIBS 5108 fi 5109 echo "$as_me:$LINENO: result: $ac_cv_lib_GL_main" >&5 5110 echo "${ECHO_T}$ac_cv_lib_GL_main" >&6 5111 if test $ac_cv_lib_GL_main = yes; then 5112 FOUND_GL=yes 5113 fi 5114 5115 if test "$FOUND_GL" = "yes" ; then 5116 LIBS="$LIBS -lGL" 5117 else 5118 echo "------------------" 5119 echo "opengl not found." 5120 echo "please install the opengl package which can be found at http://www.opengl.org" 5121 echo "------------------" 5122 exit -1 5123 fi 5124 5125 # cheking for GLU-header 5126 5127 for ac_header in GL/glu.h 5812 5128 do 5813 5129 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` … … 5954 5270 _ACEOF 5955 5271 5272 else 5273 { { echo "$as_me:$LINENO: error: cannot find opengl headers" >&5 5274 echo "$as_me: error: cannot find opengl headers" >&2;} 5275 { (exit 1); exit 1; }; } 5276 fi 5277 5278 done 5279 5280 5281 echo "$as_me:$LINENO: checking for gluProject in -lGLU" >&5 5282 echo $ECHO_N "checking for gluProject in -lGLU... $ECHO_C" >&6 5283 if test "${ac_cv_lib_GLU_gluProject+set}" = set; then 5284 echo $ECHO_N "(cached) $ECHO_C" >&6 5285 else 5286 ac_check_lib_save_LIBS=$LIBS 5287 LIBS="-lGLU $LIBS" 5288 cat >conftest.$ac_ext <<_ACEOF 5289 /* confdefs.h. */ 5290 _ACEOF 5291 cat confdefs.h >>conftest.$ac_ext 5292 cat >>conftest.$ac_ext <<_ACEOF 5293 /* end confdefs.h. */ 5294 5295 /* Override any gcc2 internal prototype to avoid an error. */ 5296 #ifdef __cplusplus 5297 extern "C" 5298 #endif 5299 /* We use char because int might match the return type of a gcc2 5300 builtin and then its argument prototype would still apply. */ 5301 char gluProject (); 5302 int 5303 main () 5304 { 5305 gluProject (); 5306 ; 5307 return 0; 5308 } 5309 _ACEOF 5310 rm -f conftest.$ac_objext conftest$ac_exeext 5311 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5312 (eval $ac_link) 2>conftest.er1 5313 ac_status=$? 5314 grep -v '^ *+' conftest.er1 >conftest.err 5315 rm -f conftest.er1 5316 cat conftest.err >&5 5317 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5318 (exit $ac_status); } && 5319 { ac_try='test -z "$ac_c_werror_flag" 5320 || test ! -s conftest.err' 5321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5322 (eval $ac_try) 2>&5 5323 ac_status=$? 5324 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5325 (exit $ac_status); }; } && 5326 { ac_try='test -s conftest$ac_exeext' 5327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5328 (eval $ac_try) 2>&5 5329 ac_status=$? 5330 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5331 (exit $ac_status); }; }; then 5332 ac_cv_lib_GLU_gluProject=yes 5333 else 5334 echo "$as_me: failed program was:" >&5 5335 sed 's/^/| /' conftest.$ac_ext >&5 5336 5337 ac_cv_lib_GLU_gluProject=no 5338 fi 5339 rm -f conftest.err conftest.$ac_objext \ 5340 conftest$ac_exeext conftest.$ac_ext 5341 LIBS=$ac_check_lib_save_LIBS 5342 fi 5343 echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluProject" >&5 5344 echo "${ECHO_T}$ac_cv_lib_GLU_gluProject" >&6 5345 if test $ac_cv_lib_GLU_gluProject = yes; then 5346 FOUND_GLU=yes 5347 fi 5348 5349 if test "$FOUND_GLU" = "yes" ; then 5350 LIBS="$LIBS -lGLU" 5351 else 5352 echo "------------------" 5353 echo "GLU library not found." 5354 echo "please install the GLU library, that should come with openGL, which can be found at http://www.opengl.org" 5355 echo "------------------" 5356 exit -1 5357 fi 5358 5359 # checking for SDL-headers 5360 5361 for ac_header in SDL/SDL.h 5362 do 5363 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5364 if eval "test \"\${$as_ac_Header+set}\" = set"; then 5365 echo "$as_me:$LINENO: checking for $ac_header" >&5 5366 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 5367 if eval "test \"\${$as_ac_Header+set}\" = set"; then 5368 echo $ECHO_N "(cached) $ECHO_C" >&6 5369 fi 5370 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 5371 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 5372 else 5373 # Is the header compilable? 5374 echo "$as_me:$LINENO: checking $ac_header usability" >&5 5375 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 5376 cat >conftest.$ac_ext <<_ACEOF 5377 /* confdefs.h. */ 5378 _ACEOF 5379 cat confdefs.h >>conftest.$ac_ext 5380 cat >>conftest.$ac_ext <<_ACEOF 5381 /* end confdefs.h. */ 5382 $ac_includes_default 5383 #include <$ac_header> 5384 _ACEOF 5385 rm -f conftest.$ac_objext 5386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5387 (eval $ac_compile) 2>conftest.er1 5388 ac_status=$? 5389 grep -v '^ *+' conftest.er1 >conftest.err 5390 rm -f conftest.er1 5391 cat conftest.err >&5 5392 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5393 (exit $ac_status); } && 5394 { ac_try='test -z "$ac_c_werror_flag" 5395 || test ! -s conftest.err' 5396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5397 (eval $ac_try) 2>&5 5398 ac_status=$? 5399 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5400 (exit $ac_status); }; } && 5401 { ac_try='test -s conftest.$ac_objext' 5402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5403 (eval $ac_try) 2>&5 5404 ac_status=$? 5405 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5406 (exit $ac_status); }; }; then 5407 ac_header_compiler=yes 5408 else 5409 echo "$as_me: failed program was:" >&5 5410 sed 's/^/| /' conftest.$ac_ext >&5 5411 5412 ac_header_compiler=no 5413 fi 5414 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5415 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5416 echo "${ECHO_T}$ac_header_compiler" >&6 5417 5418 # Is the header present? 5419 echo "$as_me:$LINENO: checking $ac_header presence" >&5 5420 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 5421 cat >conftest.$ac_ext <<_ACEOF 5422 /* confdefs.h. */ 5423 _ACEOF 5424 cat confdefs.h >>conftest.$ac_ext 5425 cat >>conftest.$ac_ext <<_ACEOF 5426 /* end confdefs.h. */ 5427 #include <$ac_header> 5428 _ACEOF 5429 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 5430 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5431 ac_status=$? 5432 grep -v '^ *+' conftest.er1 >conftest.err 5433 rm -f conftest.er1 5434 cat conftest.err >&5 5435 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5436 (exit $ac_status); } >/dev/null; then 5437 if test -s conftest.err; then 5438 ac_cpp_err=$ac_c_preproc_warn_flag 5439 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 5440 else 5441 ac_cpp_err= 5442 fi 5443 else 5444 ac_cpp_err=yes 5445 fi 5446 if test -z "$ac_cpp_err"; then 5447 ac_header_preproc=yes 5448 else 5449 echo "$as_me: failed program was:" >&5 5450 sed 's/^/| /' conftest.$ac_ext >&5 5451 5452 ac_header_preproc=no 5453 fi 5454 rm -f conftest.err conftest.$ac_ext 5455 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5456 echo "${ECHO_T}$ac_header_preproc" >&6 5457 5458 # So? What about this header? 5459 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5460 yes:no: ) 5461 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5462 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 5463 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 5464 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5465 ac_header_preproc=yes 5466 ;; 5467 no:yes:* ) 5468 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5469 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5470 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5471 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5472 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5473 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5474 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5475 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5476 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5477 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5478 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5479 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5480 ( 5481 cat <<\_ASBOX 5482 ## ------------------------------------------- ## 5483 ## Report this to orxonox-dev@mail.datacore.ch ## 5484 ## ------------------------------------------- ## 5485 _ASBOX 5486 ) | 5487 sed "s/^/$as_me: WARNING: /" >&2 5488 ;; 5489 esac 5490 echo "$as_me:$LINENO: checking for $ac_header" >&5 5491 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 5492 if eval "test \"\${$as_ac_Header+set}\" = set"; then 5493 echo $ECHO_N "(cached) $ECHO_C" >&6 5494 else 5495 eval "$as_ac_Header=\$ac_header_preproc" 5496 fi 5497 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 5498 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 5499 5500 fi 5501 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5502 cat >>confdefs.h <<_ACEOF 5503 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 5504 _ACEOF 5505 5506 else 5507 { { echo "$as_me:$LINENO: error: cannot find SDL headers" >&5 5508 echo "$as_me: error: cannot find SDL headers" >&2;} 5509 { (exit 1); exit 1; }; } 5510 fi 5511 5512 done 5513 5514 5515 echo "$as_me:$LINENO: checking for main in -lSDL" >&5 5516 echo $ECHO_N "checking for main in -lSDL... $ECHO_C" >&6 5517 if test "${ac_cv_lib_SDL_main+set}" = set; then 5518 echo $ECHO_N "(cached) $ECHO_C" >&6 5519 else 5520 ac_check_lib_save_LIBS=$LIBS 5521 LIBS="-lSDL $LIBS" 5522 cat >conftest.$ac_ext <<_ACEOF 5523 /* confdefs.h. */ 5524 _ACEOF 5525 cat confdefs.h >>conftest.$ac_ext 5526 cat >>conftest.$ac_ext <<_ACEOF 5527 /* end confdefs.h. */ 5528 5529 5530 int 5531 main () 5532 { 5533 main (); 5534 ; 5535 return 0; 5536 } 5537 _ACEOF 5538 rm -f conftest.$ac_objext conftest$ac_exeext 5539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5540 (eval $ac_link) 2>conftest.er1 5541 ac_status=$? 5542 grep -v '^ *+' conftest.er1 >conftest.err 5543 rm -f conftest.er1 5544 cat conftest.err >&5 5545 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5546 (exit $ac_status); } && 5547 { ac_try='test -z "$ac_c_werror_flag" 5548 || test ! -s conftest.err' 5549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5550 (eval $ac_try) 2>&5 5551 ac_status=$? 5552 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5553 (exit $ac_status); }; } && 5554 { ac_try='test -s conftest$ac_exeext' 5555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5556 (eval $ac_try) 2>&5 5557 ac_status=$? 5558 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5559 (exit $ac_status); }; }; then 5560 ac_cv_lib_SDL_main=yes 5561 else 5562 echo "$as_me: failed program was:" >&5 5563 sed 's/^/| /' conftest.$ac_ext >&5 5564 5565 ac_cv_lib_SDL_main=no 5566 fi 5567 rm -f conftest.err conftest.$ac_objext \ 5568 conftest$ac_exeext conftest.$ac_ext 5569 LIBS=$ac_check_lib_save_LIBS 5570 fi 5571 echo "$as_me:$LINENO: result: $ac_cv_lib_SDL_main" >&5 5572 echo "${ECHO_T}$ac_cv_lib_SDL_main" >&6 5573 if test $ac_cv_lib_SDL_main = yes; then 5574 FOUND_SDL=yes 5575 fi 5576 5577 if test "$FOUND_SDL" = "yes" ; then 5578 LIBS="$LIBS -lSDL" 5579 else 5580 echo "------------------" 5581 echo "SDL library not found." 5582 echo "please install the SDL library, which can be found at http://www.libsdl.org" 5583 echo "------------------" 5584 exit -1 5585 fi 5586 5587 # checking for SDL-Mixer-headers 5588 5589 for ac_header in SDL/SDL_mixer.h 5590 do 5591 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5592 if eval "test \"\${$as_ac_Header+set}\" = set"; then 5593 echo "$as_me:$LINENO: checking for $ac_header" >&5 5594 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 5595 if eval "test \"\${$as_ac_Header+set}\" = set"; then 5596 echo $ECHO_N "(cached) $ECHO_C" >&6 5597 fi 5598 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 5599 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 5600 else 5601 # Is the header compilable? 5602 echo "$as_me:$LINENO: checking $ac_header usability" >&5 5603 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 5604 cat >conftest.$ac_ext <<_ACEOF 5605 /* confdefs.h. */ 5606 _ACEOF 5607 cat confdefs.h >>conftest.$ac_ext 5608 cat >>conftest.$ac_ext <<_ACEOF 5609 /* end confdefs.h. */ 5610 $ac_includes_default 5611 #include <$ac_header> 5612 _ACEOF 5613 rm -f conftest.$ac_objext 5614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5615 (eval $ac_compile) 2>conftest.er1 5616 ac_status=$? 5617 grep -v '^ *+' conftest.er1 >conftest.err 5618 rm -f conftest.er1 5619 cat conftest.err >&5 5620 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5621 (exit $ac_status); } && 5622 { ac_try='test -z "$ac_c_werror_flag" 5623 || test ! -s conftest.err' 5624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5625 (eval $ac_try) 2>&5 5626 ac_status=$? 5627 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5628 (exit $ac_status); }; } && 5629 { ac_try='test -s conftest.$ac_objext' 5630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5631 (eval $ac_try) 2>&5 5632 ac_status=$? 5633 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5634 (exit $ac_status); }; }; then 5635 ac_header_compiler=yes 5636 else 5637 echo "$as_me: failed program was:" >&5 5638 sed 's/^/| /' conftest.$ac_ext >&5 5639 5640 ac_header_compiler=no 5641 fi 5642 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5643 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5644 echo "${ECHO_T}$ac_header_compiler" >&6 5645 5646 # Is the header present? 5647 echo "$as_me:$LINENO: checking $ac_header presence" >&5 5648 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 5649 cat >conftest.$ac_ext <<_ACEOF 5650 /* confdefs.h. */ 5651 _ACEOF 5652 cat confdefs.h >>conftest.$ac_ext 5653 cat >>conftest.$ac_ext <<_ACEOF 5654 /* end confdefs.h. */ 5655 #include <$ac_header> 5656 _ACEOF 5657 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 5658 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5659 ac_status=$? 5660 grep -v '^ *+' conftest.er1 >conftest.err 5661 rm -f conftest.er1 5662 cat conftest.err >&5 5663 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5664 (exit $ac_status); } >/dev/null; then 5665 if test -s conftest.err; then 5666 ac_cpp_err=$ac_c_preproc_warn_flag 5667 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 5668 else 5669 ac_cpp_err= 5670 fi 5671 else 5672 ac_cpp_err=yes 5673 fi 5674 if test -z "$ac_cpp_err"; then 5675 ac_header_preproc=yes 5676 else 5677 echo "$as_me: failed program was:" >&5 5678 sed 's/^/| /' conftest.$ac_ext >&5 5679 5680 ac_header_preproc=no 5681 fi 5682 rm -f conftest.err conftest.$ac_ext 5683 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5684 echo "${ECHO_T}$ac_header_preproc" >&6 5685 5686 # So? What about this header? 5687 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5688 yes:no: ) 5689 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5690 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 5691 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 5692 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5693 ac_header_preproc=yes 5694 ;; 5695 no:yes:* ) 5696 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5697 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5698 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5699 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5700 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5701 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5702 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5703 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5704 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5705 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5706 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5707 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5708 ( 5709 cat <<\_ASBOX 5710 ## ------------------------------------------- ## 5711 ## Report this to orxonox-dev@mail.datacore.ch ## 5712 ## ------------------------------------------- ## 5713 _ASBOX 5714 ) | 5715 sed "s/^/$as_me: WARNING: /" >&2 5716 ;; 5717 esac 5718 echo "$as_me:$LINENO: checking for $ac_header" >&5 5719 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 5720 if eval "test \"\${$as_ac_Header+set}\" = set"; then 5721 echo $ECHO_N "(cached) $ECHO_C" >&6 5722 else 5723 eval "$as_ac_Header=\$ac_header_preproc" 5724 fi 5725 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 5726 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 5727 5728 fi 5729 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5730 cat >>confdefs.h <<_ACEOF 5731 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 5732 _ACEOF 5733 5734 else 5735 { { echo "$as_me:$LINENO: error: cannot find SDL headers" >&5 5736 echo "$as_me: error: cannot find SDL headers" >&2;} 5737 { (exit 1); exit 1; }; } 5738 fi 5739 5740 done 5741 5742 5743 5744 #checking for libSDL_mixer 5745 echo "$as_me:$LINENO: checking for main in -lSDL_mixer" >&5 5746 echo $ECHO_N "checking for main in -lSDL_mixer... $ECHO_C" >&6 5747 if test "${ac_cv_lib_SDL_mixer_main+set}" = set; then 5748 echo $ECHO_N "(cached) $ECHO_C" >&6 5749 else 5750 ac_check_lib_save_LIBS=$LIBS 5751 LIBS="-lSDL_mixer $LIBS" 5752 cat >conftest.$ac_ext <<_ACEOF 5753 /* confdefs.h. */ 5754 _ACEOF 5755 cat confdefs.h >>conftest.$ac_ext 5756 cat >>conftest.$ac_ext <<_ACEOF 5757 /* end confdefs.h. */ 5758 5759 5760 int 5761 main () 5762 { 5763 main (); 5764 ; 5765 return 0; 5766 } 5767 _ACEOF 5768 rm -f conftest.$ac_objext conftest$ac_exeext 5769 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5770 (eval $ac_link) 2>conftest.er1 5771 ac_status=$? 5772 grep -v '^ *+' conftest.er1 >conftest.err 5773 rm -f conftest.er1 5774 cat conftest.err >&5 5775 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5776 (exit $ac_status); } && 5777 { ac_try='test -z "$ac_c_werror_flag" 5778 || test ! -s conftest.err' 5779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5780 (eval $ac_try) 2>&5 5781 ac_status=$? 5782 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5783 (exit $ac_status); }; } && 5784 { ac_try='test -s conftest$ac_exeext' 5785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5786 (eval $ac_try) 2>&5 5787 ac_status=$? 5788 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5789 (exit $ac_status); }; }; then 5790 ac_cv_lib_SDL_mixer_main=yes 5791 else 5792 echo "$as_me: failed program was:" >&5 5793 sed 's/^/| /' conftest.$ac_ext >&5 5794 5795 ac_cv_lib_SDL_mixer_main=no 5796 fi 5797 rm -f conftest.err conftest.$ac_objext \ 5798 conftest$ac_exeext conftest.$ac_ext 5799 LIBS=$ac_check_lib_save_LIBS 5800 fi 5801 echo "$as_me:$LINENO: result: $ac_cv_lib_SDL_mixer_main" >&5 5802 echo "${ECHO_T}$ac_cv_lib_SDL_mixer_main" >&6 5803 if test $ac_cv_lib_SDL_mixer_main = yes; then 5804 FOUND_SDL_mixer=yes 5805 fi 5806 5807 if test "$FOUND_SDL_mixer" = "yes" ; then 5808 LIBS="$LIBS -lSDL_mixer" 5809 else 5810 echo "------------------" 5811 echo "SDL Mixer library not found." 5812 echo "please install the SDL Mixer library, which can be found at http://www.libsdl.org" 5813 echo "------------------" 5814 exit 1 5815 fi 5816 5817 ;; 5818 *) 5819 mingw="no" 5820 ;; 5821 esac 5822 echo "$as_me:$LINENO: result: $mingw" >&5 5823 echo "${ECHO_T}$mingw" >&6 5824 5825 5826 #### Checking for LIBraries. 5827 5828 # FIXME: Replace `main' with a function in `-lOSMesa': 5829 5830 echo "$as_me:$LINENO: checking for main in -lOSMesa" >&5 5831 echo $ECHO_N "checking for main in -lOSMesa... $ECHO_C" >&6 5832 if test "${ac_cv_lib_OSMesa_main+set}" = set; then 5833 echo $ECHO_N "(cached) $ECHO_C" >&6 5834 else 5835 ac_check_lib_save_LIBS=$LIBS 5836 LIBS="-lOSMesa $LIBS" 5837 cat >conftest.$ac_ext <<_ACEOF 5838 /* confdefs.h. */ 5839 _ACEOF 5840 cat confdefs.h >>conftest.$ac_ext 5841 cat >>conftest.$ac_ext <<_ACEOF 5842 /* end confdefs.h. */ 5843 5844 5845 int 5846 main () 5847 { 5848 main (); 5849 ; 5850 return 0; 5851 } 5852 _ACEOF 5853 rm -f conftest.$ac_objext conftest$ac_exeext 5854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5855 (eval $ac_link) 2>conftest.er1 5856 ac_status=$? 5857 grep -v '^ *+' conftest.er1 >conftest.err 5858 rm -f conftest.er1 5859 cat conftest.err >&5 5860 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5861 (exit $ac_status); } && 5862 { ac_try='test -z "$ac_c_werror_flag" 5863 || test ! -s conftest.err' 5864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5865 (eval $ac_try) 2>&5 5866 ac_status=$? 5867 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5868 (exit $ac_status); }; } && 5869 { ac_try='test -s conftest$ac_exeext' 5870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5871 (eval $ac_try) 2>&5 5872 ac_status=$? 5873 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5874 (exit $ac_status); }; }; then 5875 ac_cv_lib_OSMesa_main=yes 5876 else 5877 echo "$as_me: failed program was:" >&5 5878 sed 's/^/| /' conftest.$ac_ext >&5 5879 5880 ac_cv_lib_OSMesa_main=no 5881 fi 5882 rm -f conftest.err conftest.$ac_objext \ 5883 conftest$ac_exeext conftest.$ac_ext 5884 LIBS=$ac_check_lib_save_LIBS 5885 fi 5886 echo "$as_me:$LINENO: result: $ac_cv_lib_OSMesa_main" >&5 5887 echo "${ECHO_T}$ac_cv_lib_OSMesa_main" >&6 5888 if test $ac_cv_lib_OSMesa_main = yes; then 5889 cat >>confdefs.h <<_ACEOF 5890 #define HAVE_LIBOSMESA 1 5891 _ACEOF 5892 5893 LIBS="-lOSMesa $LIBS" 5894 5895 fi 5896 5897 # FIXME: Replace `main' with a function in `-lX11': 5898 5899 echo "$as_me:$LINENO: checking for main in -lX11" >&5 5900 echo $ECHO_N "checking for main in -lX11... $ECHO_C" >&6 5901 if test "${ac_cv_lib_X11_main+set}" = set; then 5902 echo $ECHO_N "(cached) $ECHO_C" >&6 5903 else 5904 ac_check_lib_save_LIBS=$LIBS 5905 LIBS="-lX11 $LIBS" 5906 cat >conftest.$ac_ext <<_ACEOF 5907 /* confdefs.h. */ 5908 _ACEOF 5909 cat confdefs.h >>conftest.$ac_ext 5910 cat >>conftest.$ac_ext <<_ACEOF 5911 /* end confdefs.h. */ 5912 5913 5914 int 5915 main () 5916 { 5917 main (); 5918 ; 5919 return 0; 5920 } 5921 _ACEOF 5922 rm -f conftest.$ac_objext conftest$ac_exeext 5923 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5924 (eval $ac_link) 2>conftest.er1 5925 ac_status=$? 5926 grep -v '^ *+' conftest.er1 >conftest.err 5927 rm -f conftest.er1 5928 cat conftest.err >&5 5929 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5930 (exit $ac_status); } && 5931 { ac_try='test -z "$ac_c_werror_flag" 5932 || test ! -s conftest.err' 5933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5934 (eval $ac_try) 2>&5 5935 ac_status=$? 5936 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5937 (exit $ac_status); }; } && 5938 { ac_try='test -s conftest$ac_exeext' 5939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5940 (eval $ac_try) 2>&5 5941 ac_status=$? 5942 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5943 (exit $ac_status); }; }; then 5944 ac_cv_lib_X11_main=yes 5945 else 5946 echo "$as_me: failed program was:" >&5 5947 sed 's/^/| /' conftest.$ac_ext >&5 5948 5949 ac_cv_lib_X11_main=no 5950 fi 5951 rm -f conftest.err conftest.$ac_objext \ 5952 conftest$ac_exeext conftest.$ac_ext 5953 LIBS=$ac_check_lib_save_LIBS 5954 fi 5955 echo "$as_me:$LINENO: result: $ac_cv_lib_X11_main" >&5 5956 echo "${ECHO_T}$ac_cv_lib_X11_main" >&6 5957 if test $ac_cv_lib_X11_main = yes; then 5958 cat >>confdefs.h <<_ACEOF 5959 #define HAVE_LIBX11 1 5960 _ACEOF 5961 5962 LIBS="-lX11 $LIBS" 5963 5964 fi 5965 5966 # FIXME: Replace `main' with a function in `-lXt': 5967 5968 echo "$as_me:$LINENO: checking for main in -lXt" >&5 5969 echo $ECHO_N "checking for main in -lXt... $ECHO_C" >&6 5970 if test "${ac_cv_lib_Xt_main+set}" = set; then 5971 echo $ECHO_N "(cached) $ECHO_C" >&6 5972 else 5973 ac_check_lib_save_LIBS=$LIBS 5974 LIBS="-lXt $LIBS" 5975 cat >conftest.$ac_ext <<_ACEOF 5976 /* confdefs.h. */ 5977 _ACEOF 5978 cat confdefs.h >>conftest.$ac_ext 5979 cat >>conftest.$ac_ext <<_ACEOF 5980 /* end confdefs.h. */ 5981 5982 5983 int 5984 main () 5985 { 5986 main (); 5987 ; 5988 return 0; 5989 } 5990 _ACEOF 5991 rm -f conftest.$ac_objext conftest$ac_exeext 5992 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5993 (eval $ac_link) 2>conftest.er1 5994 ac_status=$? 5995 grep -v '^ *+' conftest.er1 >conftest.err 5996 rm -f conftest.er1 5997 cat conftest.err >&5 5998 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5999 (exit $ac_status); } && 6000 { ac_try='test -z "$ac_c_werror_flag" 6001 || test ! -s conftest.err' 6002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6003 (eval $ac_try) 2>&5 6004 ac_status=$? 6005 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6006 (exit $ac_status); }; } && 6007 { ac_try='test -s conftest$ac_exeext' 6008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6009 (eval $ac_try) 2>&5 6010 ac_status=$? 6011 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6012 (exit $ac_status); }; }; then 6013 ac_cv_lib_Xt_main=yes 6014 else 6015 echo "$as_me: failed program was:" >&5 6016 sed 's/^/| /' conftest.$ac_ext >&5 6017 6018 ac_cv_lib_Xt_main=no 6019 fi 6020 rm -f conftest.err conftest.$ac_objext \ 6021 conftest$ac_exeext conftest.$ac_ext 6022 LIBS=$ac_check_lib_save_LIBS 6023 fi 6024 echo "$as_me:$LINENO: result: $ac_cv_lib_Xt_main" >&5 6025 echo "${ECHO_T}$ac_cv_lib_Xt_main" >&6 6026 if test $ac_cv_lib_Xt_main = yes; then 6027 cat >>confdefs.h <<_ACEOF 6028 #define HAVE_LIBXT 1 6029 _ACEOF 6030 6031 LIBS="-lXt $LIBS" 6032 6033 fi 6034 6035 6036 6037 #checking for pthread libs 6038 echo "$as_me:$LINENO: checking for main in -lpthread" >&5 6039 echo $ECHO_N "checking for main in -lpthread... $ECHO_C" >&6 6040 if test "${ac_cv_lib_pthread_main+set}" = set; then 6041 echo $ECHO_N "(cached) $ECHO_C" >&6 6042 else 6043 ac_check_lib_save_LIBS=$LIBS 6044 LIBS="-lpthread $LIBS" 6045 cat >conftest.$ac_ext <<_ACEOF 6046 /* confdefs.h. */ 6047 _ACEOF 6048 cat confdefs.h >>conftest.$ac_ext 6049 cat >>conftest.$ac_ext <<_ACEOF 6050 /* end confdefs.h. */ 6051 6052 6053 int 6054 main () 6055 { 6056 main (); 6057 ; 6058 return 0; 6059 } 6060 _ACEOF 6061 rm -f conftest.$ac_objext conftest$ac_exeext 6062 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6063 (eval $ac_link) 2>conftest.er1 6064 ac_status=$? 6065 grep -v '^ *+' conftest.er1 >conftest.err 6066 rm -f conftest.er1 6067 cat conftest.err >&5 6068 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6069 (exit $ac_status); } && 6070 { ac_try='test -z "$ac_c_werror_flag" 6071 || test ! -s conftest.err' 6072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6073 (eval $ac_try) 2>&5 6074 ac_status=$? 6075 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6076 (exit $ac_status); }; } && 6077 { ac_try='test -s conftest$ac_exeext' 6078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6079 (eval $ac_try) 2>&5 6080 ac_status=$? 6081 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6082 (exit $ac_status); }; }; then 6083 ac_cv_lib_pthread_main=yes 6084 else 6085 echo "$as_me: failed program was:" >&5 6086 sed 's/^/| /' conftest.$ac_ext >&5 6087 6088 ac_cv_lib_pthread_main=no 6089 fi 6090 rm -f conftest.err conftest.$ac_objext \ 6091 conftest$ac_exeext conftest.$ac_ext 6092 LIBS=$ac_check_lib_save_LIBS 6093 fi 6094 echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_main" >&5 6095 echo "${ECHO_T}$ac_cv_lib_pthread_main" >&6 6096 if test $ac_cv_lib_pthread_main = yes; then 6097 FOUND_pthread=yes 6098 fi 6099 6100 if test "$FOUND_pthread" = "yes" ; then 6101 LIBS="$LIBS -lpthread" 6102 fi 6103 6104 6105 6106 6107 # FIXME: Replace `main' with a function in `-lm': 6108 6109 echo "$as_me:$LINENO: checking for main in -lm" >&5 6110 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6 6111 if test "${ac_cv_lib_m_main+set}" = set; then 6112 echo $ECHO_N "(cached) $ECHO_C" >&6 6113 else 6114 ac_check_lib_save_LIBS=$LIBS 6115 LIBS="-lm $LIBS" 6116 cat >conftest.$ac_ext <<_ACEOF 6117 /* confdefs.h. */ 6118 _ACEOF 6119 cat confdefs.h >>conftest.$ac_ext 6120 cat >>conftest.$ac_ext <<_ACEOF 6121 /* end confdefs.h. */ 6122 6123 6124 int 6125 main () 6126 { 6127 main (); 6128 ; 6129 return 0; 6130 } 6131 _ACEOF 6132 rm -f conftest.$ac_objext conftest$ac_exeext 6133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6134 (eval $ac_link) 2>conftest.er1 6135 ac_status=$? 6136 grep -v '^ *+' conftest.er1 >conftest.err 6137 rm -f conftest.er1 6138 cat conftest.err >&5 6139 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6140 (exit $ac_status); } && 6141 { ac_try='test -z "$ac_c_werror_flag" 6142 || test ! -s conftest.err' 6143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6144 (eval $ac_try) 2>&5 6145 ac_status=$? 6146 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6147 (exit $ac_status); }; } && 6148 { ac_try='test -s conftest$ac_exeext' 6149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6150 (eval $ac_try) 2>&5 6151 ac_status=$? 6152 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6153 (exit $ac_status); }; }; then 6154 ac_cv_lib_m_main=yes 6155 else 6156 echo "$as_me: failed program was:" >&5 6157 sed 's/^/| /' conftest.$ac_ext >&5 6158 6159 ac_cv_lib_m_main=no 6160 fi 6161 rm -f conftest.err conftest.$ac_objext \ 6162 conftest$ac_exeext conftest.$ac_ext 6163 LIBS=$ac_check_lib_save_LIBS 6164 fi 6165 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5 6166 echo "${ECHO_T}$ac_cv_lib_m_main" >&6 6167 if test $ac_cv_lib_m_main = yes; then 6168 cat >>confdefs.h <<_ACEOF 6169 #define HAVE_LIBM 1 6170 _ACEOF 6171 6172 LIBS="-lm $LIBS" 6173 6174 fi 6175 6176 6177 LIBS="$LIBS `pkg-config --libs gtk+-2.0`" 6178 6179 6180 # Checks for header files. 6181 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 6182 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 6183 if test "${ac_cv_header_stdc+set}" = set; then 6184 echo $ECHO_N "(cached) $ECHO_C" >&6 6185 else 6186 cat >conftest.$ac_ext <<_ACEOF 6187 /* confdefs.h. */ 6188 _ACEOF 6189 cat confdefs.h >>conftest.$ac_ext 6190 cat >>conftest.$ac_ext <<_ACEOF 6191 /* end confdefs.h. */ 6192 #include <stdlib.h> 6193 #include <stdarg.h> 6194 #include <string.h> 6195 #include <float.h> 6196 6197 int 6198 main () 6199 { 6200 6201 ; 6202 return 0; 6203 } 6204 _ACEOF 6205 rm -f conftest.$ac_objext 6206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6207 (eval $ac_compile) 2>conftest.er1 6208 ac_status=$? 6209 grep -v '^ *+' conftest.er1 >conftest.err 6210 rm -f conftest.er1 6211 cat conftest.err >&5 6212 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6213 (exit $ac_status); } && 6214 { ac_try='test -z "$ac_c_werror_flag" 6215 || test ! -s conftest.err' 6216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6217 (eval $ac_try) 2>&5 6218 ac_status=$? 6219 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6220 (exit $ac_status); }; } && 6221 { ac_try='test -s conftest.$ac_objext' 6222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6223 (eval $ac_try) 2>&5 6224 ac_status=$? 6225 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6226 (exit $ac_status); }; }; then 6227 ac_cv_header_stdc=yes 6228 else 6229 echo "$as_me: failed program was:" >&5 6230 sed 's/^/| /' conftest.$ac_ext >&5 6231 6232 ac_cv_header_stdc=no 6233 fi 6234 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6235 6236 if test $ac_cv_header_stdc = yes; then 6237 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 6238 cat >conftest.$ac_ext <<_ACEOF 6239 /* confdefs.h. */ 6240 _ACEOF 6241 cat confdefs.h >>conftest.$ac_ext 6242 cat >>conftest.$ac_ext <<_ACEOF 6243 /* end confdefs.h. */ 6244 #include <string.h> 6245 6246 _ACEOF 6247 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 6248 $EGREP "memchr" >/dev/null 2>&1; then 6249 : 6250 else 6251 ac_cv_header_stdc=no 6252 fi 6253 rm -f conftest* 6254 6255 fi 6256 6257 if test $ac_cv_header_stdc = yes; then 6258 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 6259 cat >conftest.$ac_ext <<_ACEOF 6260 /* confdefs.h. */ 6261 _ACEOF 6262 cat confdefs.h >>conftest.$ac_ext 6263 cat >>conftest.$ac_ext <<_ACEOF 6264 /* end confdefs.h. */ 6265 #include <stdlib.h> 6266 6267 _ACEOF 6268 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 6269 $EGREP "free" >/dev/null 2>&1; then 6270 : 6271 else 6272 ac_cv_header_stdc=no 6273 fi 6274 rm -f conftest* 6275 6276 fi 6277 6278 if test $ac_cv_header_stdc = yes; then 6279 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 6280 if test "$cross_compiling" = yes; then 6281 : 6282 else 6283 cat >conftest.$ac_ext <<_ACEOF 6284 /* confdefs.h. */ 6285 _ACEOF 6286 cat confdefs.h >>conftest.$ac_ext 6287 cat >>conftest.$ac_ext <<_ACEOF 6288 /* end confdefs.h. */ 6289 #include <ctype.h> 6290 #if ((' ' & 0x0FF) == 0x020) 6291 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 6292 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 6293 #else 6294 # define ISLOWER(c) \ 6295 (('a' <= (c) && (c) <= 'i') \ 6296 || ('j' <= (c) && (c) <= 'r') \ 6297 || ('s' <= (c) && (c) <= 'z')) 6298 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 6299 #endif 6300 6301 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 6302 int 6303 main () 6304 { 6305 int i; 6306 for (i = 0; i < 256; i++) 6307 if (XOR (islower (i), ISLOWER (i)) 6308 || toupper (i) != TOUPPER (i)) 6309 exit(2); 6310 exit (0); 6311 } 6312 _ACEOF 6313 rm -f conftest$ac_exeext 6314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6315 (eval $ac_link) 2>&5 6316 ac_status=$? 6317 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6318 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 6319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6320 (eval $ac_try) 2>&5 6321 ac_status=$? 6322 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6323 (exit $ac_status); }; }; then 6324 : 6325 else 6326 echo "$as_me: program exited with status $ac_status" >&5 6327 echo "$as_me: failed program was:" >&5 6328 sed 's/^/| /' conftest.$ac_ext >&5 6329 6330 ( exit $ac_status ) 6331 ac_cv_header_stdc=no 6332 fi 6333 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 6334 fi 6335 fi 6336 fi 6337 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 6338 echo "${ECHO_T}$ac_cv_header_stdc" >&6 6339 if test $ac_cv_header_stdc = yes; then 6340 6341 cat >>confdefs.h <<\_ACEOF 6342 #define STDC_HEADERS 1 6343 _ACEOF 6344 6345 fi 6346 6347 6348 6349 for ac_header in stdlib.h string.h 6350 do 6351 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 6352 if eval "test \"\${$as_ac_Header+set}\" = set"; then 6353 echo "$as_me:$LINENO: checking for $ac_header" >&5 6354 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 6355 if eval "test \"\${$as_ac_Header+set}\" = set"; then 6356 echo $ECHO_N "(cached) $ECHO_C" >&6 6357 fi 6358 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 6359 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 6360 else 6361 # Is the header compilable? 6362 echo "$as_me:$LINENO: checking $ac_header usability" >&5 6363 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 6364 cat >conftest.$ac_ext <<_ACEOF 6365 /* confdefs.h. */ 6366 _ACEOF 6367 cat confdefs.h >>conftest.$ac_ext 6368 cat >>conftest.$ac_ext <<_ACEOF 6369 /* end confdefs.h. */ 6370 $ac_includes_default 6371 #include <$ac_header> 6372 _ACEOF 6373 rm -f conftest.$ac_objext 6374 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6375 (eval $ac_compile) 2>conftest.er1 6376 ac_status=$? 6377 grep -v '^ *+' conftest.er1 >conftest.err 6378 rm -f conftest.er1 6379 cat conftest.err >&5 6380 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6381 (exit $ac_status); } && 6382 { ac_try='test -z "$ac_c_werror_flag" 6383 || test ! -s conftest.err' 6384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6385 (eval $ac_try) 2>&5 6386 ac_status=$? 6387 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6388 (exit $ac_status); }; } && 6389 { ac_try='test -s conftest.$ac_objext' 6390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6391 (eval $ac_try) 2>&5 6392 ac_status=$? 6393 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6394 (exit $ac_status); }; }; then 6395 ac_header_compiler=yes 6396 else 6397 echo "$as_me: failed program was:" >&5 6398 sed 's/^/| /' conftest.$ac_ext >&5 6399 6400 ac_header_compiler=no 6401 fi 6402 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6403 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6404 echo "${ECHO_T}$ac_header_compiler" >&6 6405 6406 # Is the header present? 6407 echo "$as_me:$LINENO: checking $ac_header presence" >&5 6408 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 6409 cat >conftest.$ac_ext <<_ACEOF 6410 /* confdefs.h. */ 6411 _ACEOF 6412 cat confdefs.h >>conftest.$ac_ext 6413 cat >>conftest.$ac_ext <<_ACEOF 6414 /* end confdefs.h. */ 6415 #include <$ac_header> 6416 _ACEOF 6417 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 6418 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 6419 ac_status=$? 6420 grep -v '^ *+' conftest.er1 >conftest.err 6421 rm -f conftest.er1 6422 cat conftest.err >&5 6423 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6424 (exit $ac_status); } >/dev/null; then 6425 if test -s conftest.err; then 6426 ac_cpp_err=$ac_c_preproc_warn_flag 6427 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 6428 else 6429 ac_cpp_err= 6430 fi 6431 else 6432 ac_cpp_err=yes 6433 fi 6434 if test -z "$ac_cpp_err"; then 6435 ac_header_preproc=yes 6436 else 6437 echo "$as_me: failed program was:" >&5 6438 sed 's/^/| /' conftest.$ac_ext >&5 6439 6440 ac_header_preproc=no 6441 fi 6442 rm -f conftest.err conftest.$ac_ext 6443 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6444 echo "${ECHO_T}$ac_header_preproc" >&6 6445 6446 # So? What about this header? 6447 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 6448 yes:no: ) 6449 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6450 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6451 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6452 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6453 ac_header_preproc=yes 6454 ;; 6455 no:yes:* ) 6456 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6457 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6458 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6459 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6460 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6461 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6462 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6463 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6464 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6465 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6466 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6467 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6468 ( 6469 cat <<\_ASBOX 6470 ## ------------------------------------------- ## 6471 ## Report this to orxonox-dev@mail.datacore.ch ## 6472 ## ------------------------------------------- ## 6473 _ASBOX 6474 ) | 6475 sed "s/^/$as_me: WARNING: /" >&2 6476 ;; 6477 esac 6478 echo "$as_me:$LINENO: checking for $ac_header" >&5 6479 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 6480 if eval "test \"\${$as_ac_Header+set}\" = set"; then 6481 echo $ECHO_N "(cached) $ECHO_C" >&6 6482 else 6483 eval "$as_ac_Header=\$ac_header_preproc" 6484 fi 6485 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 6486 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 6487 6488 fi 6489 if test `eval echo '${'$as_ac_Header'}'` = yes; then 6490 cat >>confdefs.h <<_ACEOF 6491 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 6492 _ACEOF 6493 6494 fi 6495 6496 done 6497 6498 6499 # Checks for typedefs, structures, and compiler characteristics. 6500 echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5 6501 echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&6 6502 if test "${ac_cv_header_stdbool_h+set}" = set; then 6503 echo $ECHO_N "(cached) $ECHO_C" >&6 6504 else 6505 cat >conftest.$ac_ext <<_ACEOF 6506 /* confdefs.h. */ 6507 _ACEOF 6508 cat confdefs.h >>conftest.$ac_ext 6509 cat >>conftest.$ac_ext <<_ACEOF 6510 /* end confdefs.h. */ 6511 6512 #include <stdbool.h> 6513 #ifndef bool 6514 # error bool is not defined 6515 #endif 6516 #ifndef false 6517 # error false is not defined 6518 #endif 6519 #if false 6520 # error false is not 0 6521 #endif 6522 #ifndef true 6523 # error true is not defined 6524 #endif 6525 #if true != 1 6526 # error true is not 1 6527 #endif 6528 #ifndef __bool_true_false_are_defined 6529 # error __bool_true_false_are_defined is not defined 6530 #endif 6531 6532 struct s { _Bool s: 1; _Bool t; } s; 6533 6534 char a[true == 1 ? 1 : -1]; 6535 char b[false == 0 ? 1 : -1]; 6536 char c[__bool_true_false_are_defined == 1 ? 1 : -1]; 6537 char d[(bool) -0.5 == true ? 1 : -1]; 6538 bool e = &s; 6539 char f[(_Bool) -0.0 == false ? 1 : -1]; 6540 char g[true]; 6541 char h[sizeof (_Bool)]; 6542 char i[sizeof s.t]; 6543 6544 int 6545 main () 6546 { 6547 return !a + !b + !c + !d + !e + !f + !g + !h + !i; 6548 ; 6549 return 0; 6550 } 6551 _ACEOF 6552 rm -f conftest.$ac_objext 6553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6554 (eval $ac_compile) 2>conftest.er1 6555 ac_status=$? 6556 grep -v '^ *+' conftest.er1 >conftest.err 6557 rm -f conftest.er1 6558 cat conftest.err >&5 6559 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6560 (exit $ac_status); } && 6561 { ac_try='test -z "$ac_c_werror_flag" 6562 || test ! -s conftest.err' 6563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6564 (eval $ac_try) 2>&5 6565 ac_status=$? 6566 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6567 (exit $ac_status); }; } && 6568 { ac_try='test -s conftest.$ac_objext' 6569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6570 (eval $ac_try) 2>&5 6571 ac_status=$? 6572 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6573 (exit $ac_status); }; }; then 6574 ac_cv_header_stdbool_h=yes 6575 else 6576 echo "$as_me: failed program was:" >&5 6577 sed 's/^/| /' conftest.$ac_ext >&5 6578 6579 ac_cv_header_stdbool_h=no 6580 fi 6581 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6582 fi 6583 echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5 6584 echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6 6585 echo "$as_me:$LINENO: checking for _Bool" >&5 6586 echo $ECHO_N "checking for _Bool... $ECHO_C" >&6 6587 if test "${ac_cv_type__Bool+set}" = set; then 6588 echo $ECHO_N "(cached) $ECHO_C" >&6 6589 else 6590 cat >conftest.$ac_ext <<_ACEOF 6591 /* confdefs.h. */ 6592 _ACEOF 6593 cat confdefs.h >>conftest.$ac_ext 6594 cat >>conftest.$ac_ext <<_ACEOF 6595 /* end confdefs.h. */ 6596 $ac_includes_default 6597 int 6598 main () 6599 { 6600 if ((_Bool *) 0) 6601 return 0; 6602 if (sizeof (_Bool)) 6603 return 0; 6604 ; 6605 return 0; 6606 } 6607 _ACEOF 6608 rm -f conftest.$ac_objext 6609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6610 (eval $ac_compile) 2>conftest.er1 6611 ac_status=$? 6612 grep -v '^ *+' conftest.er1 >conftest.err 6613 rm -f conftest.er1 6614 cat conftest.err >&5 6615 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6616 (exit $ac_status); } && 6617 { ac_try='test -z "$ac_c_werror_flag" 6618 || test ! -s conftest.err' 6619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6620 (eval $ac_try) 2>&5 6621 ac_status=$? 6622 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6623 (exit $ac_status); }; } && 6624 { ac_try='test -s conftest.$ac_objext' 6625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6626 (eval $ac_try) 2>&5 6627 ac_status=$? 6628 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6629 (exit $ac_status); }; }; then 6630 ac_cv_type__Bool=yes 6631 else 6632 echo "$as_me: failed program was:" >&5 6633 sed 's/^/| /' conftest.$ac_ext >&5 6634 6635 ac_cv_type__Bool=no 6636 fi 6637 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6638 fi 6639 echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5 6640 echo "${ECHO_T}$ac_cv_type__Bool" >&6 6641 if test $ac_cv_type__Bool = yes; then 6642 6643 cat >>confdefs.h <<_ACEOF 6644 #define HAVE__BOOL 1 6645 _ACEOF 6646 6647 6648 fi 6649 6650 if test $ac_cv_header_stdbool_h = yes; then 6651 6652 cat >>confdefs.h <<\_ACEOF 6653 #define HAVE_STDBOOL_H 1 6654 _ACEOF 6655 6656 fi 6657 6658 6659 # Checks for library functions. 6660 6661 for ac_header in stdlib.h 6662 do 6663 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 6664 if eval "test \"\${$as_ac_Header+set}\" = set"; then 6665 echo "$as_me:$LINENO: checking for $ac_header" >&5 6666 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 6667 if eval "test \"\${$as_ac_Header+set}\" = set"; then 6668 echo $ECHO_N "(cached) $ECHO_C" >&6 6669 fi 6670 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 6671 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 6672 else 6673 # Is the header compilable? 6674 echo "$as_me:$LINENO: checking $ac_header usability" >&5 6675 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 6676 cat >conftest.$ac_ext <<_ACEOF 6677 /* confdefs.h. */ 6678 _ACEOF 6679 cat confdefs.h >>conftest.$ac_ext 6680 cat >>conftest.$ac_ext <<_ACEOF 6681 /* end confdefs.h. */ 6682 $ac_includes_default 6683 #include <$ac_header> 6684 _ACEOF 6685 rm -f conftest.$ac_objext 6686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6687 (eval $ac_compile) 2>conftest.er1 6688 ac_status=$? 6689 grep -v '^ *+' conftest.er1 >conftest.err 6690 rm -f conftest.er1 6691 cat conftest.err >&5 6692 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6693 (exit $ac_status); } && 6694 { ac_try='test -z "$ac_c_werror_flag" 6695 || test ! -s conftest.err' 6696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6697 (eval $ac_try) 2>&5 6698 ac_status=$? 6699 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6700 (exit $ac_status); }; } && 6701 { ac_try='test -s conftest.$ac_objext' 6702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6703 (eval $ac_try) 2>&5 6704 ac_status=$? 6705 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6706 (exit $ac_status); }; }; then 6707 ac_header_compiler=yes 6708 else 6709 echo "$as_me: failed program was:" >&5 6710 sed 's/^/| /' conftest.$ac_ext >&5 6711 6712 ac_header_compiler=no 6713 fi 6714 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6715 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6716 echo "${ECHO_T}$ac_header_compiler" >&6 6717 6718 # Is the header present? 6719 echo "$as_me:$LINENO: checking $ac_header presence" >&5 6720 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 6721 cat >conftest.$ac_ext <<_ACEOF 6722 /* confdefs.h. */ 6723 _ACEOF 6724 cat confdefs.h >>conftest.$ac_ext 6725 cat >>conftest.$ac_ext <<_ACEOF 6726 /* end confdefs.h. */ 6727 #include <$ac_header> 6728 _ACEOF 6729 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 6730 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 6731 ac_status=$? 6732 grep -v '^ *+' conftest.er1 >conftest.err 6733 rm -f conftest.er1 6734 cat conftest.err >&5 6735 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6736 (exit $ac_status); } >/dev/null; then 6737 if test -s conftest.err; then 6738 ac_cpp_err=$ac_c_preproc_warn_flag 6739 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 6740 else 6741 ac_cpp_err= 6742 fi 6743 else 6744 ac_cpp_err=yes 6745 fi 6746 if test -z "$ac_cpp_err"; then 6747 ac_header_preproc=yes 6748 else 6749 echo "$as_me: failed program was:" >&5 6750 sed 's/^/| /' conftest.$ac_ext >&5 6751 6752 ac_header_preproc=no 6753 fi 6754 rm -f conftest.err conftest.$ac_ext 6755 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6756 echo "${ECHO_T}$ac_header_preproc" >&6 6757 6758 # So? What about this header? 6759 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 6760 yes:no: ) 6761 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6762 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6763 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6764 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6765 ac_header_preproc=yes 6766 ;; 6767 no:yes:* ) 6768 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6769 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6770 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6771 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6772 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6773 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6774 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6775 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6776 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6777 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6778 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6779 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6780 ( 6781 cat <<\_ASBOX 6782 ## ------------------------------------------- ## 6783 ## Report this to orxonox-dev@mail.datacore.ch ## 6784 ## ------------------------------------------- ## 6785 _ASBOX 6786 ) | 6787 sed "s/^/$as_me: WARNING: /" >&2 6788 ;; 6789 esac 6790 echo "$as_me:$LINENO: checking for $ac_header" >&5 6791 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 6792 if eval "test \"\${$as_ac_Header+set}\" = set"; then 6793 echo $ECHO_N "(cached) $ECHO_C" >&6 6794 else 6795 eval "$as_ac_Header=\$ac_header_preproc" 6796 fi 6797 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 6798 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 6799 6800 fi 6801 if test `eval echo '${'$as_ac_Header'}'` = yes; then 6802 cat >>confdefs.h <<_ACEOF 6803 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 6804 _ACEOF 6805 5956 6806 fi 5957 6807 … … 6143 6993 6144 6994 6145 ac_config_files="$ac_config_files Makefile console/Makefile gui/Makefile src/Makefile"6995 ac_config_files="$ac_config_files Makefile console/Makefile gui/Makefile src/Makefile importer/Makefile" 6146 6996 6147 6997 cat >confcache <<\_ACEOF … … 6705 7555 "gui/Makefile" ) CONFIG_FILES="$CONFIG_FILES gui/Makefile" ;; 6706 7556 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 7557 "importer/Makefile" ) CONFIG_FILES="$CONFIG_FILES importer/Makefile" ;; 6707 7558 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 6708 7559 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; … … 6808 7659 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t 6809 7660 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t 7661 s,@mkdir_p@,$mkdir_p,;t t 6810 7662 s,@AWK@,$AWK,;t t 6811 7663 s,@SET_MAKE@,$SET_MAKE,;t t 6812 7664 s,@am__leading_dot@,$am__leading_dot,;t t 6813 s,@MSBITFIELDS@,$MSBITFIELDS,;t t6814 7665 s,@CXX@,$CXX,;t t 6815 7666 s,@CXXFLAGS@,$CXXFLAGS,;t t … … 6836 7687 s,@CPP@,$CPP,;t t 6837 7688 s,@EGREP@,$EGREP,;t t 7689 s,@MSBITFIELDS@,$MSBITFIELDS,;t t 6838 7690 s,@LIBOBJS@,$LIBOBJS,;t t 6839 7691 s,@LTLIBOBJS@,$LTLIBOBJS,;t t … … 7463 8315 # Extract the definition of DEP_FILES from the Makefile without 7464 8316 # running `make'. 7465 DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`8317 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 7466 8318 test -z "$DEPDIR" && continue 7467 8319 # When using ansi2knr, U may be empty or an underscore; expand it 7468 U=`sed -n -e '/^U = / s///p' < "$mf"`8320 U=`sed -n 's/^U = //p' < "$mf"` 7469 8321 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR" 7470 8322 # We invoke sed twice because it is the simplest approach to 7471 8323 # changing $(DEPDIR) to its actual value in the expansion. 7472 for file in `sed -n -e'8324 for file in `sed -n ' 7473 8325 /^DEP_FILES = .*\\\\$/ { 7474 8326 s/^DEP_FILES = // -
orxonox/branches/sound/configure.ac
r2854 r2964 9 9 AC_CONFIG_HEADER([config.h]) 10 10 11 AC_MSG_CHECKING([for mingw]) 11 12 # Checks for programs. 13 AC_PROG_CXX 14 AC_PROG_CC 15 16 17 18 AC_HEADER_STDC 19 20 ### CHECKING FOR SYSTEM ### 21 22 AC_MSG_CHECKING([for System]) 12 23 case `uname` in 24 ### WINDOWS ### 13 25 *MINGW*) 26 echo "mingw-WINDOWS detected" 27 14 28 mingw="yes" 15 29 MSBITFIELDS="-mms-bitfields" 16 30 MWINDOWS="-mwindows" 31 32 # checking gl header 33 #done before loop 34 35 # checking gl header 36 AC_CHECK_HEADERS(GL/gl.h ,, 37 [AC_MSG_ERROR([cannot find opengl headers]) ]) 38 # checking for Windows openGl library 39 AC_CHECK_LIB([opengl32], [main], FOUND_opengl32=yes, "gl/gl.h") 40 if test "$FOUND_opengl32" = "yes" ; then 41 LIBS="$LIBS -lopengl32" 42 else 43 echo "------------------" 44 echo "opengl not found." 45 echo "please install the opengl package which can be found at http://www.opengl.org" 46 echo "------------------" 47 exit -1 48 fi 49 50 # cheking for GLU-header 51 AC_CHECK_HEADERS(GL/glu.h ,, 52 [AC_MSG_ERROR([cannot find opengl headers]) ]) 53 54 # checking for libGLU 55 AC_CHECK_LIB([glu32], [main], FOUND_glu32=yes) 56 if test "$FOUND_glu32" = "yes" ; then 57 LIBS="$LIBS -lGLU32" 58 else 59 echo "------------------" 60 echo "GLU library not found." 61 echo "please install the GLU library, that should come with openGL, which can be found at http://www.opengl.org" 62 echo "------------------" 63 exit -1 64 fi 65 66 67 # checking for mingw32 68 AC_CHECK_LIB([mingw32], [main], FOUND_mingw32=yes) 69 if test $FOUND_mingw32 = "yes"; then 70 LIBS="$LIBS -lmingw32" 71 fi 72 # checking for SDL-headers 73 AC_CHECK_HEADERS(SDL/SDL.h ,, 74 [AC_MSG_ERROR([cannot find SDL headers]) ]) 75 76 #checking for libSDL 77 AC_CHECK_LIB([sdlmain], [main], FOUND_sdlmain=yes) 78 if test "$FOUND_sdlmain" = "yes" ; then 79 LIBS="$LIBS -lsdlmain" 80 else 81 echo "------------------" 82 echo "SDL library not found." 83 echo "please install the SDL library, which can be found at http://www.libsdl.org" 84 echo "------------------" 85 exit 1 86 fi 87 AC_CHECK_LIB([sdl], [main], FOUND_sdl=yes) 88 if test "$FOUND_sdl" = "yes" ; then 89 LIBS="$LIBS -lsdl" 90 else 91 echo "------------------" 92 echo "SDL library not found." 93 echo "please install the SDL library, which can be found at http://www.libsdl.org" 94 echo "------------------" 95 exit -1 96 fi 97 98 # checking for SDL-Mixer-headers 99 AC_CHECK_HEADERS(SDL/SDL_mixer.h ,, 100 [AC_MSG_ERROR([cannot find SDL headers]) ]) 101 102 #checking for libSDL_mixer 103 AC_CHECK_LIB([SDL_mixer], [main], FOUND_SDL_mixer=yes) 104 if test "$FOUND_SDL_mixer" = "yes" ; then 105 LIBS="$LIBS -lSDL_mixer" 106 else 107 echo "------------------" 108 echo "SDL Mixer library not found." 109 echo "please install the SDL Mixer library, which can be found at http://www.libsdl.org" 110 echo "------------------" 111 exit 1 112 fi 113 114 115 ;; 116 117 ### LINUX ### 118 *Linux*) 119 echo "Linux detected" 120 121 Linux="yes" 122 123 # checking gl header 124 AC_CHECK_HEADERS(GL/gl.h ,, 125 [AC_MSG_ERROR([cannot find opengl headers]) ]) 126 127 # checking for Unix GL 128 AC_CHECK_LIB([GL], [main], FOUND_GL=yes) 129 if test "$FOUND_GL" = "yes" ; then 130 LIBS="$LIBS -lGL" 131 else 132 echo "------------------" 133 echo "opengl not found." 134 echo "please install the opengl package which can be found at http://www.opengl.org" 135 echo "------------------" 136 exit -1 137 fi 138 139 # cheking for GLU-header 140 AC_CHECK_HEADERS(GL/glu.h ,, 141 [AC_MSG_ERROR([cannot find opengl headers]) ]) 142 143 AC_CHECK_LIB([GLU], [gluProject], FOUND_GLU=yes) 144 if test "$FOUND_GLU" = "yes" ; then 145 LIBS="$LIBS -lGLU" 146 else 147 echo "------------------" 148 echo "GLU library not found." 149 echo "please install the GLU library, that should come with openGL, which can be found at http://www.opengl.org" 150 echo "------------------" 151 exit -1 152 fi 153 154 # checking for SDL-headers 155 AC_CHECK_HEADERS(SDL/SDL.h ,, 156 [AC_MSG_ERROR([cannot find SDL headers]) ]) 157 158 AC_CHECK_LIB([SDL], [main], FOUND_SDL=yes) 159 if test "$FOUND_SDL" = "yes" ; then 160 LIBS="$LIBS -lSDL" 161 else 162 echo "------------------" 163 echo "SDL library not found." 164 echo "please install the SDL library, which can be found at http://www.libsdl.org" 165 echo "------------------" 166 exit -1 167 fi 168 169 # checking for SDL-Mixer-headers 170 AC_CHECK_HEADERS(SDL/SDL_mixer.h ,, 171 [AC_MSG_ERROR([cannot find SDL headers]) ]) 172 173 174 #checking for libSDL_mixer 175 AC_CHECK_LIB([SDL_mixer], [main], FOUND_SDL_mixer=yes) 176 if test "$FOUND_SDL_mixer" = "yes" ; then 177 LIBS="$LIBS -lSDL_mixer" 178 else 179 echo "------------------" 180 echo "SDL Mixer library not found." 181 echo "please install the SDL Mixer library, which can be found at http://www.libsdl.org" 182 echo "------------------" 183 exit 1 184 fi 185 17 186 ;; 18 187 *) … … 23 192 AC_SUBST(MSBITFIELDS) 24 193 25 26 # Checks for programs. 27 AC_PROG_CXX 28 AC_PROG_CC 29 30 # Checks for libraries. 31 32 # cheking for libGL 33 AC_CHECK_HEADERS(GL/gl.h ,, 34 [AC_MSG_ERROR([cannot find opengl headers]) ]) 35 36 # checking for Unix GL 37 AC_CHECK_LIB([GL], [main], FOUND_GL=yes) 38 if test "$FOUND_GL" = "yes" ; then 39 LIBS="$LIBS -lGL" 40 # checking for Windows openGl library 41 else 42 echo "We did not find the Linux opengl Library. Checking for Windows Library" 43 AC_CHECK_LIB([opengl32], [main], FOUND_opengl32=yes, "gl/gl.h") 44 if test "$FOUND_opengl32" = "yes" ; then 45 LIBS="$LIBS -lopengl32" 46 47 else 48 echo "------------------" 49 echo "opengl not found." 50 echo "please install the opengl package which can be found at http://www.opengl.org" 51 echo "------------------" 52 exit -1 53 fi 54 fi 55 56 # cheking for libGLU 57 AC_CHECK_HEADERS(GL/glu.h ,, 58 [AC_MSG_ERROR([cannot find opengl headers]) ]) 59 60 AC_CHECK_LIB([GLU], [gluProject], FOUND_GLU=yes) 61 if test "$FOUND_GLU" = "yes" ; then 62 LIBS="$LIBS -lGLU" 63 # checking for Windows GLU32 library 64 else 65 echo "We did not find the Linux GLU Library. Checking for Windows Library" 66 AC_CHECK_LIB([glu32], [main], FOUND_glu32=yes) 67 if test "$FOUND_glu32" = "yes" ; then 68 LIBS="$LIBS -lGLU32" 69 70 else 71 echo "------------------" 72 echo "GLU library not found." 73 echo "please install the GLU library, that should come with openGL, which can be found at http://www.opengl.org" 74 echo "------------------" 75 exit -1 76 fi 77 fi 78 79 AC_CHECK_HEADERS(SDL/SDL_mixer.h ,, 80 [AC_MSG_ERROR([cannot find sdlmixer headers]) ]) 81 82 LIBS="$LIBS -lSDL_mixer" 194 #### Checking for LIBraries. 83 195 84 196 # FIXME: Replace `main' with a function in `-lOSMesa': … … 89 201 AC_CHECK_LIB([Xt], [main]) 90 202 91 ## mingw CHECK92 if test $mingw = yes ; then93 AC_CHECK_LIB([mingw32], [main], FOUND_mingw32=yes)94 if test $FOUND_mingw32 = "yes"; then95 LIBS="$LIBS -lmingw32"96 fi97 fi98 99 ## SDL CHECK100 101 #checking for SDL libs102 AC_CHECK_HEADERS(SDL/SDL.h ,,103 [AC_MSG_ERROR([cannot find SDL headers]) ])104 if test $mingw = no ; then105 AC_CHECK_LIB([SDL], [main], FOUND_SDL=yes)106 if test "$FOUND_SDL" = "yes" ; then107 LIBS="$LIBS -lSDL"108 fi109 # checking for Windows sdl library110 else111 AC_CHECK_LIB([sdlmain], [main], FOUND_sdlmain=yes)112 if test "$FOUND_sdlmain" = "yes" ; then113 LIBS="$LIBS -lsdlmain"114 fi115 AC_CHECK_LIB([sdl], [main], FOUND_sdl=yes)116 if test "$FOUND_sdl" = "yes" ; then117 LIBS="$LIBS -lsdl"118 fi119 fi120 203 121 204 #checking for pthread libs … … 148 231 console/Makefile 149 232 gui/Makefile 150 src/Makefile]) 233 src/Makefile 234 importer/Makefile]) 151 235 AC_OUTPUT -
orxonox/branches/sound/console/Makefile.in
r2589 r2964 1 # Makefile.in generated by automake 1. 7.9from 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@ … … 36 38 PRE_UNINSTALL = : 37 39 POST_UNINSTALL = : 40 bin_PROGRAMS = console$(EXEEXT) 41 subdir = console 42 DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \ 43 $(srcdir)/Makefile.in 44 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 45 am__aclocal_m4_deps = $(top_srcdir)/configure.ac 46 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ 47 $(ACLOCAL_M4) 48 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs 49 CONFIG_HEADER = $(top_builddir)/config.h 50 CONFIG_CLEAN_FILES = 51 am__installdirs = "$(DESTDIR)$(bindir)" 52 binPROGRAMS_INSTALL = $(INSTALL_PROGRAM) 53 PROGRAMS = $(bin_PROGRAMS) 54 am_console_OBJECTS = orxonox_console.$(OBJEXT) \ 55 orxonox_console_entry.$(OBJEXT) orxonox_console_log.$(OBJEXT) 56 console_OBJECTS = $(am_console_OBJECTS) 57 console_LDADD = $(LDADD) 58 DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir) 59 depcomp = $(SHELL) $(top_srcdir)/depcomp 60 am__depfiles_maybe = depfiles 61 @AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/orxonox_console.Po \ 62 @AMDEP_TRUE@ ./$(DEPDIR)/orxonox_console_entry.Po \ 63 @AMDEP_TRUE@ ./$(DEPDIR)/orxonox_console_log.Po 64 CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ 65 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) 66 CXXLD = $(CXX) 67 CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \ 68 -o $@ 69 SOURCES = $(console_SOURCES) 70 DIST_SOURCES = $(console_SOURCES) 71 HEADERS = $(noinst_HEADERS) 72 ETAGS = etags 73 CTAGS = ctags 74 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) 38 75 ACLOCAL = @ACLOCAL@ 39 76 AMDEP_FALSE = @AMDEP_FALSE@ … … 104 141 localstatedir = @localstatedir@ 105 142 mandir = @mandir@ 143 mkdir_p = @mkdir_p@ 106 144 oldincludedir = @oldincludedir@ 107 145 prefix = @prefix@ … … 112 150 target_alias = @target_alias@ 113 151 AM_CXXFLAGS = `pkg-config --cflags gtk+-2.0` $(MSBITFIELDS) 114 115 #AM_LDFLAGS=`pkg-config --libs gtk+-2.0`116 bin_PROGRAMS = console117 152 console_SOURCES = orxonox_console.cc orxonox_console_entry.cc orxonox_console_log.cc 118 153 noinst_HEADERS = orxonox_console.h orxonox_console_entry.h orxonox_console_log.h 119 subdir = console120 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4121 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs122 CONFIG_HEADER = $(top_builddir)/config.h123 CONFIG_CLEAN_FILES =124 bin_PROGRAMS = console$(EXEEXT)125 PROGRAMS = $(bin_PROGRAMS)126 127 am_console_OBJECTS = orxonox_console.$(OBJEXT) \128 orxonox_console_entry.$(OBJEXT) orxonox_console_log.$(OBJEXT)129 console_OBJECTS = $(am_console_OBJECTS)130 console_LDADD = $(LDADD)131 console_DEPENDENCIES =132 console_LDFLAGS =133 134 DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)135 depcomp = $(SHELL) $(top_srcdir)/depcomp136 am__depfiles_maybe = depfiles137 @AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/orxonox_console.Po \138 @AMDEP_TRUE@ ./$(DEPDIR)/orxonox_console_entry.Po \139 @AMDEP_TRUE@ ./$(DEPDIR)/orxonox_console_log.Po140 CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \141 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)142 CXXLD = $(CXX)143 CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \144 -o $@145 DIST_SOURCES = $(console_SOURCES)146 HEADERS = $(noinst_HEADERS)147 148 DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.in Makefile.am149 SOURCES = $(console_SOURCES)150 151 154 all: all-am 152 155 153 156 .SUFFIXES: 154 157 .SUFFIXES: .cc .o .obj 155 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.ac $(ACLOCAL_M4) 158 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) 159 @for dep in $?; do \ 160 case '$(am__configure_deps)' in \ 161 *$$dep*) \ 162 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ 163 && exit 0; \ 164 exit 1;; \ 165 esac; \ 166 done; \ 167 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu console/Makefile'; \ 156 168 cd $(top_srcdir) && \ 157 169 $(AUTOMAKE) --gnu console/Makefile 158 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 159 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe) 160 binPROGRAMS_INSTALL = $(INSTALL_PROGRAM) 170 .PRECIOUS: Makefile 171 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 172 @case '$?' in \ 173 *config.status*) \ 174 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ 175 *) \ 176 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ 177 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ 178 esac; 179 180 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) 181 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 182 183 $(top_srcdir)/configure: $(am__configure_deps) 184 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 185 $(ACLOCAL_M4): $(am__aclocal_m4_deps) 186 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 161 187 install-binPROGRAMS: $(bin_PROGRAMS) 162 188 @$(NORMAL_INSTALL) 163 $(mkinstalldirs) $(DESTDIR)$(bindir)189 test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)" 164 190 @list='$(bin_PROGRAMS)'; for p in $$list; do \ 165 191 p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ … … 167 193 ; then \ 168 194 f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \ 169 echo " $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \170 $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f|| exit 1; \195 echo " $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \ 196 $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \ 171 197 else :; fi; \ 172 198 done … … 176 202 @list='$(bin_PROGRAMS)'; for p in $$list; do \ 177 203 f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \ 178 echo " rm -f $(DESTDIR)$(bindir)/$$f"; \179 rm -f $(DESTDIR)$(bindir)/$$f; \204 echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \ 205 rm -f "$(DESTDIR)$(bindir)/$$f"; \ 180 206 done 181 207 … … 187 213 188 214 mostlyclean-compile: 189 -rm -f *.$(OBJEXT) core *.core215 -rm -f *.$(OBJEXT) 190 216 191 217 distclean-compile: … … 197 223 198 224 .cc.o: 199 @am__fastdepCXX_TRUE@ if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \ 200 @am__fastdepCXX_TRUE@ -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \ 201 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \ 202 @am__fastdepCXX_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \ 203 @am__fastdepCXX_TRUE@ fi 225 @am__fastdepCXX_TRUE@ if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ 226 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi 204 227 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ 205 228 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ 206 229 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 207 @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<230 @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $< 208 231 209 232 .cc.obj: 210 @am__fastdepCXX_TRUE@ if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \ 211 @am__fastdepCXX_TRUE@ -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`; \ 212 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \ 213 @am__fastdepCXX_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \ 214 @am__fastdepCXX_TRUE@ fi 233 @am__fastdepCXX_TRUE@ if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \ 234 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi 215 235 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ 216 236 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ 217 237 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 218 @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ ` if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`238 @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` 219 239 uninstall-info-am: 220 221 ETAGS = etags222 ETAGSFLAGS =223 224 CTAGS = ctags225 CTAGSFLAGS =226 227 tags: TAGS228 240 229 241 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) … … 235 247 END { for (i in files) print i; }'`; \ 236 248 mkid -fID $$unique 249 tags: TAGS 237 250 238 251 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ … … 246 259 $(AWK) ' { files[$$0] = 1; } \ 247 260 END { for (i in files) print i; }'`; \ 248 test -z "$(ETAGS_ARGS)$$tags$$unique" \ 249 || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ 250 $$tags $$unique 251 261 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ 262 test -n "$$unique" || unique=$$empty_fix; \ 263 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ 264 $$tags $$unique; \ 265 fi 252 266 ctags: CTAGS 253 267 CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ … … 272 286 distclean-tags: 273 287 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags 274 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)275 276 top_distdir = ..277 distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)278 288 279 289 distdir: $(DISTFILES) … … 289 299 if test "$$dir" != "$$file" && test "$$dir" != "."; then \ 290 300 dir="/$$dir"; \ 291 $(mk installdirs) "$(distdir)$$dir"; \301 $(mkdir_p) "$(distdir)$$dir"; \ 292 302 else \ 293 303 dir=''; \ … … 307 317 check: check-am 308 318 all-am: Makefile $(PROGRAMS) $(HEADERS) 309 310 319 installdirs: 311 $(mkinstalldirs) $(DESTDIR)$(bindir) 320 for dir in "$(DESTDIR)$(bindir)"; do \ 321 test -z "$$dir" || $(mkdir_p) "$$dir"; \ 322 done 312 323 install: install-am 313 324 install-exec: install-exec-am … … 348 359 dvi-am: 349 360 361 html: html-am 362 350 363 info: info-am 351 364 … … 383 396 .PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \ 384 397 clean-generic ctags distclean distclean-compile \ 385 distclean-generic distclean-tags distdir dvi dvi-am info\386 info-am install install-am install-binPROGRAMS install-data\387 install-data -am install-exec install-exec-am install-info\388 install-info -am install-man install-strip installcheck\389 installcheck -am installdirs maintainer-clean \398 distclean-generic distclean-tags distdir dvi dvi-am html \ 399 html-am info info-am install install-am install-binPROGRAMS \ 400 install-data install-data-am install-exec install-exec-am \ 401 install-info install-info-am install-man install-strip \ 402 installcheck installcheck-am installdirs maintainer-clean \ 390 403 maintainer-clean-generic mostlyclean mostlyclean-compile \ 391 404 mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \ -
orxonox/branches/sound/gui/Makefile.in
r2613 r2964 1 # Makefile.in generated by automake 1. 7.9from 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@ … … 36 38 PRE_UNINSTALL = : 37 39 POST_UNINSTALL = : 40 bin_PROGRAMS = gui$(EXEEXT) 41 subdir = gui 42 DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \ 43 $(srcdir)/Makefile.in 44 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 45 am__aclocal_m4_deps = $(top_srcdir)/configure.ac 46 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ 47 $(ACLOCAL_M4) 48 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs 49 CONFIG_HEADER = $(top_builddir)/config.h 50 CONFIG_CLEAN_FILES = 51 am__installdirs = "$(DESTDIR)$(bindir)" 52 binPROGRAMS_INSTALL = $(INSTALL_PROGRAM) 53 PROGRAMS = $(bin_PROGRAMS) 54 am_gui_OBJECTS = orxonox_gui.$(OBJEXT) orxonox_gui_video.$(OBJEXT) \ 55 orxonox_gui_audio.$(OBJEXT) orxonox_gui_exec.$(OBJEXT) \ 56 orxonox_gui_flags.$(OBJEXT) orxonox_gui_banner.$(OBJEXT) \ 57 orxonox_gui_keys.$(OBJEXT) 58 gui_OBJECTS = $(am_gui_OBJECTS) 59 gui_LDADD = $(LDADD) 60 DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir) 61 depcomp = $(SHELL) $(top_srcdir)/depcomp 62 am__depfiles_maybe = depfiles 63 @AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/orxonox_gui.Po \ 64 @AMDEP_TRUE@ ./$(DEPDIR)/orxonox_gui_audio.Po \ 65 @AMDEP_TRUE@ ./$(DEPDIR)/orxonox_gui_banner.Po \ 66 @AMDEP_TRUE@ ./$(DEPDIR)/orxonox_gui_exec.Po \ 67 @AMDEP_TRUE@ ./$(DEPDIR)/orxonox_gui_flags.Po \ 68 @AMDEP_TRUE@ ./$(DEPDIR)/orxonox_gui_keys.Po \ 69 @AMDEP_TRUE@ ./$(DEPDIR)/orxonox_gui_video.Po 70 CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ 71 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) 72 CXXLD = $(CXX) 73 CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \ 74 -o $@ 75 SOURCES = $(gui_SOURCES) 76 DIST_SOURCES = $(gui_SOURCES) 77 HEADERS = $(noinst_HEADERS) 78 ETAGS = etags 79 CTAGS = ctags 80 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) 38 81 ACLOCAL = @ACLOCAL@ 39 82 AMDEP_FALSE = @AMDEP_FALSE@ … … 104 147 localstatedir = @localstatedir@ 105 148 mandir = @mandir@ 149 mkdir_p = @mkdir_p@ 106 150 oldincludedir = @oldincludedir@ 107 151 prefix = @prefix@ … … 112 156 target_alias = @target_alias@ 113 157 AM_CXXFLAGS = `pkg-config --cflags gtk+-2.0` $(MSBITFIELDS) 114 115 #AM_LDFLAGS=`pkg-config --libs gtk+-2.0`116 bin_PROGRAMS = gui117 158 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 118 119 159 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 120 160 … … 128 168 #TESTS=chk 129 169 EXTRA_DIST = rc banner.xpm 130 subdir = gui131 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4132 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs133 CONFIG_HEADER = $(top_builddir)/config.h134 CONFIG_CLEAN_FILES =135 bin_PROGRAMS = gui$(EXEEXT)136 PROGRAMS = $(bin_PROGRAMS)137 138 am_gui_OBJECTS = orxonox_gui.$(OBJEXT) orxonox_gui_video.$(OBJEXT) \139 orxonox_gui_audio.$(OBJEXT) orxonox_gui_exec.$(OBJEXT) \140 orxonox_gui_flags.$(OBJEXT) orxonox_gui_banner.$(OBJEXT) \141 orxonox_gui_keys.$(OBJEXT)142 gui_OBJECTS = $(am_gui_OBJECTS)143 gui_LDADD = $(LDADD)144 gui_DEPENDENCIES =145 gui_LDFLAGS =146 147 DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)148 depcomp = $(SHELL) $(top_srcdir)/depcomp149 am__depfiles_maybe = depfiles150 @AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/orxonox_gui.Po \151 @AMDEP_TRUE@ ./$(DEPDIR)/orxonox_gui_audio.Po \152 @AMDEP_TRUE@ ./$(DEPDIR)/orxonox_gui_banner.Po \153 @AMDEP_TRUE@ ./$(DEPDIR)/orxonox_gui_exec.Po \154 @AMDEP_TRUE@ ./$(DEPDIR)/orxonox_gui_flags.Po \155 @AMDEP_TRUE@ ./$(DEPDIR)/orxonox_gui_keys.Po \156 @AMDEP_TRUE@ ./$(DEPDIR)/orxonox_gui_video.Po157 CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \158 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)159 CXXLD = $(CXX)160 CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \161 -o $@162 DIST_SOURCES = $(gui_SOURCES)163 HEADERS = $(noinst_HEADERS)164 165 DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.in Makefile.am166 SOURCES = $(gui_SOURCES)167 168 170 all: all-am 169 171 170 172 .SUFFIXES: 171 173 .SUFFIXES: .cc .o .obj 172 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.ac $(ACLOCAL_M4) 174 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) 175 @for dep in $?; do \ 176 case '$(am__configure_deps)' in \ 177 *$$dep*) \ 178 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ 179 && exit 0; \ 180 exit 1;; \ 181 esac; \ 182 done; \ 183 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu gui/Makefile'; \ 173 184 cd $(top_srcdir) && \ 174 185 $(AUTOMAKE) --gnu gui/Makefile 175 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 176 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe) 177 binPROGRAMS_INSTALL = $(INSTALL_PROGRAM) 186 .PRECIOUS: Makefile 187 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 188 @case '$?' in \ 189 *config.status*) \ 190 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ 191 *) \ 192 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ 193 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ 194 esac; 195 196 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) 197 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 198 199 $(top_srcdir)/configure: $(am__configure_deps) 200 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 201 $(ACLOCAL_M4): $(am__aclocal_m4_deps) 202 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 178 203 install-binPROGRAMS: $(bin_PROGRAMS) 179 204 @$(NORMAL_INSTALL) 180 $(mkinstalldirs) $(DESTDIR)$(bindir)205 test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)" 181 206 @list='$(bin_PROGRAMS)'; for p in $$list; do \ 182 207 p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ … … 184 209 ; then \ 185 210 f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \ 186 echo " $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \187 $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f|| exit 1; \211 echo " $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \ 212 $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \ 188 213 else :; fi; \ 189 214 done … … 193 218 @list='$(bin_PROGRAMS)'; for p in $$list; do \ 194 219 f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \ 195 echo " rm -f $(DESTDIR)$(bindir)/$$f"; \196 rm -f $(DESTDIR)$(bindir)/$$f; \220 echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \ 221 rm -f "$(DESTDIR)$(bindir)/$$f"; \ 197 222 done 198 223 … … 204 229 205 230 mostlyclean-compile: 206 -rm -f *.$(OBJEXT) core *.core231 -rm -f *.$(OBJEXT) 207 232 208 233 distclean-compile: … … 218 243 219 244 .cc.o: 220 @am__fastdepCXX_TRUE@ if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \ 221 @am__fastdepCXX_TRUE@ -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \ 222 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \ 223 @am__fastdepCXX_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \ 224 @am__fastdepCXX_TRUE@ fi 245 @am__fastdepCXX_TRUE@ if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ 246 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi 225 247 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ 226 248 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ 227 249 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 228 @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<250 @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $< 229 251 230 252 .cc.obj: 231 @am__fastdepCXX_TRUE@ if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \ 232 @am__fastdepCXX_TRUE@ -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`; \ 233 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \ 234 @am__fastdepCXX_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \ 235 @am__fastdepCXX_TRUE@ fi 253 @am__fastdepCXX_TRUE@ if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \ 254 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi 236 255 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ 237 256 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ 238 257 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 239 @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ ` if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`258 @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` 240 259 uninstall-info-am: 241 242 ETAGS = etags243 ETAGSFLAGS =244 245 CTAGS = ctags246 CTAGSFLAGS =247 248 tags: TAGS249 260 250 261 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) … … 256 267 END { for (i in files) print i; }'`; \ 257 268 mkid -fID $$unique 269 tags: TAGS 258 270 259 271 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ … … 267 279 $(AWK) ' { files[$$0] = 1; } \ 268 280 END { for (i in files) print i; }'`; \ 269 test -z "$(ETAGS_ARGS)$$tags$$unique" \ 270 || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ 271 $$tags $$unique 272 281 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ 282 test -n "$$unique" || unique=$$empty_fix; \ 283 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ 284 $$tags $$unique; \ 285 fi 273 286 ctags: CTAGS 274 287 CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ … … 293 306 distclean-tags: 294 307 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags 295 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)296 297 top_distdir = ..298 distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)299 308 300 309 distdir: $(DISTFILES) … … 310 319 if test "$$dir" != "$$file" && test "$$dir" != "."; then \ 311 320 dir="/$$dir"; \ 312 $(mk installdirs) "$(distdir)$$dir"; \321 $(mkdir_p) "$(distdir)$$dir"; \ 313 322 else \ 314 323 dir=''; \ … … 328 337 check: check-am 329 338 all-am: Makefile $(PROGRAMS) $(HEADERS) 330 331 339 installdirs: 332 $(mkinstalldirs) $(DESTDIR)$(bindir) 340 for dir in "$(DESTDIR)$(bindir)"; do \ 341 test -z "$$dir" || $(mkdir_p) "$$dir"; \ 342 done 333 343 install: install-am 334 344 install-exec: install-exec-am … … 369 379 dvi-am: 370 380 381 html: html-am 382 371 383 info: info-am 372 384 … … 404 416 .PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \ 405 417 clean-generic ctags distclean distclean-compile \ 406 distclean-generic distclean-tags distdir dvi dvi-am info\407 info-am install install-am install-binPROGRAMS install-data\408 install-data -am install-exec install-exec-am install-info\409 install-info -am install-man install-strip installcheck\410 installcheck -am installdirs maintainer-clean \418 distclean-generic distclean-tags distdir dvi dvi-am html \ 419 html-am info info-am install install-am install-binPROGRAMS \ 420 install-data install-data-am install-exec install-exec-am \ 421 install-info install-info-am install-man install-strip \ 422 installcheck installcheck-am installdirs maintainer-clean \ 411 423 maintainer-clean-generic mostlyclean mostlyclean-compile \ 412 424 mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \ -
orxonox/branches/sound/src/Makefile
r2854 r2964 1 # Makefile.in generated by automake 1. 7.9from Makefile.am.1 # Makefile.in generated by automake 1.8.5 from Makefile.am. 2 2 # src/Makefile. Generated from Makefile.in by configure. 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, … … 15 15 16 16 17 18 SOURCES = $(orxonox_SOURCES) $(sound_SOURCES) 19 17 20 srcdir = . 18 21 top_srcdir = .. … … 22 25 pkgincludedir = $(includedir)/orxonox 23 26 top_builddir = .. 24 25 27 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd 26 INSTALL = / usr/bin/install -c28 INSTALL = /bin/install -c 27 29 install_sh_DATA = $(install_sh) -c -m 644 28 30 install_sh_PROGRAM = $(install_sh) -c … … 36 38 PRE_UNINSTALL = : 37 39 POST_UNINSTALL = : 38 ACLOCAL = ${SHELL} /root/orxonox/branches/sound/missing --run aclocal-1.7 40 bin_PROGRAMS = orxonox$(EXEEXT) sound$(EXEEXT) 41 subdir = src 42 DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \ 43 $(srcdir)/Makefile.in INSTALL 44 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 45 am__aclocal_m4_deps = $(top_srcdir)/configure.ac 46 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ 47 $(ACLOCAL_M4) 48 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs 49 CONFIG_HEADER = $(top_builddir)/config.h 50 CONFIG_CLEAN_FILES = 51 am__installdirs = "$(DESTDIR)$(bindir)" 52 binPROGRAMS_INSTALL = $(INSTALL_PROGRAM) 53 PROGRAMS = $(bin_PROGRAMS) 54 am_orxonox_OBJECTS = orxonox.$(OBJEXT) world.$(OBJEXT) \ 55 player.$(OBJEXT) data_tank.$(OBJEXT) world_entity.$(OBJEXT) \ 56 vector.$(OBJEXT) camera.$(OBJEXT) collision.$(OBJEXT) \ 57 command_node.$(OBJEXT) ini_parser.$(OBJEXT) keynames.$(OBJEXT) \ 58 track.$(OBJEXT) base_entity.$(OBJEXT) game_loader.$(OBJEXT) \ 59 campaign.$(OBJEXT) story_entity.$(OBJEXT) 60 orxonox_OBJECTS = $(am_orxonox_OBJECTS) 61 orxonox_LDADD = $(LDADD) 62 am_sound_OBJECTS = sound_test.$(OBJEXT) sound_control.$(OBJEXT) 63 sound_OBJECTS = $(am_sound_OBJECTS) 64 sound_LDADD = $(LDADD) 65 DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir) 66 depcomp = $(SHELL) $(top_srcdir)/depcomp 67 am__depfiles_maybe = depfiles 68 DEP_FILES = ./$(DEPDIR)/base_entity.Po \ 69 ./$(DEPDIR)/camera.Po ./$(DEPDIR)/campaign.Po \ 70 ./$(DEPDIR)/collision.Po \ 71 ./$(DEPDIR)/command_node.Po \ 72 ./$(DEPDIR)/data_tank.Po \ 73 ./$(DEPDIR)/game_loader.Po \ 74 ./$(DEPDIR)/ini_parser.Po ./$(DEPDIR)/keynames.Po \ 75 ./$(DEPDIR)/orxonox.Po ./$(DEPDIR)/player.Po \ 76 ./$(DEPDIR)/sound_control.Po \ 77 ./$(DEPDIR)/sound_test.Po \ 78 ./$(DEPDIR)/story_entity.Po ./$(DEPDIR)/track.Po \ 79 ./$(DEPDIR)/vector.Po ./$(DEPDIR)/world.Po \ 80 ./$(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) $(sound_SOURCES) 87 DIST_SOURCES = $(orxonox_SOURCES) $(sound_SOURCES) 88 HEADERS = $(noinst_HEADERS) 89 ETAGS = etags 90 CTAGS = ctags 91 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) 92 ACLOCAL = ${SHELL} /home/bensch/svn/orxonox/branches/sound/missing --run aclocal-1.8 39 93 AMDEP_FALSE = # 40 94 AMDEP_TRUE = 41 AMTAR = ${SHELL} / root/orxonox/branches/sound/missing --run tar42 AUTOCONF = ${SHELL} / root/orxonox/branches/sound/missing --run autoconf43 AUTOHEADER = ${SHELL} / root/orxonox/branches/sound/missing --run autoheader44 AUTOMAKE = ${SHELL} / root/orxonox/branches/sound/missing --run automake-1.795 AMTAR = ${SHELL} /home/bensch/svn/orxonox/branches/sound/missing --run tar 96 AUTOCONF = ${SHELL} /home/bensch/svn/orxonox/branches/sound/missing --run autoconf 97 AUTOHEADER = ${SHELL} /home/bensch/svn/orxonox/branches/sound/missing --run autoheader 98 AUTOMAKE = ${SHELL} /home/bensch/svn/orxonox/branches/sound/missing --run automake-1.8 45 99 AWK = gawk 46 100 CC = gcc … … 66 120 LDFLAGS = 67 121 LIBOBJS = 68 LIBS = -lm -lGL -lGLU -lSDL _mixer -lSDL-lpthread -Wl,--export-dynamic -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0122 LIBS = -lm -lGL -lGLU -lSDL -lSDL_mixer -lpthread -Wl,--export-dynamic -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 69 123 LTLIBOBJS = 70 MAKEINFO = ${SHELL} / root/orxonox/branches/sound/missing --run makeinfo124 MAKEINFO = ${SHELL} /home/bensch/svn/orxonox/branches/sound/missing --run makeinfo 71 125 MSBITFIELDS = 72 126 OBJEXT = o … … 83 137 VERSION = 0.1-pre-alpha 84 138 ac_ct_CC = gcc 85 ac_ct_CXX = g++139 ac_ct_CXX = 86 140 ac_ct_STRIP = 87 141 am__fastdepCC_FALSE = # … … 99 153 includedir = ${prefix}/include 100 154 infodir = ${prefix}/info 101 install_sh = / root/orxonox/branches/sound/install-sh155 install_sh = /home/bensch/svn/orxonox/branches/sound/install-sh 102 156 libdir = ${exec_prefix}/lib 103 157 libexecdir = ${exec_prefix}/libexec 104 158 localstatedir = ${prefix}/var 105 159 mandir = ${prefix}/man 160 mkdir_p = mkdir -p -- . 106 161 oldincludedir = /usr/include 107 162 prefix = /usr/local … … 113 168 AM_CXXFLAGS = "-I/usr/X11R6/include" 114 169 AM_LDFLAGS = "-L/usr/Mesa-6.0.1/lib -L/usr/X11R6/lib -lXt -lX11" $(MWINDOWS) 115 116 117 #"-O3 -pedantic -fPIC -ffast-math -I/usr/X11R6/include"118 bin_PROGRAMS = orxonox sound119 170 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 120 121 171 sound_SOURCES = sound_test.cc sound_control.cc 122 123 172 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 124 subdir = src125 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4126 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs127 CONFIG_HEADER = $(top_builddir)/config.h128 CONFIG_CLEAN_FILES =129 bin_PROGRAMS = orxonox$(EXEEXT) sound$(EXEEXT)130 PROGRAMS = $(bin_PROGRAMS)131 132 am_orxonox_OBJECTS = orxonox.$(OBJEXT) world.$(OBJEXT) player.$(OBJEXT) \133 data_tank.$(OBJEXT) world_entity.$(OBJEXT) vector.$(OBJEXT) \134 camera.$(OBJEXT) collision.$(OBJEXT) command_node.$(OBJEXT) \135 ini_parser.$(OBJEXT) keynames.$(OBJEXT) track.$(OBJEXT) \136 base_entity.$(OBJEXT) game_loader.$(OBJEXT) campaign.$(OBJEXT) \137 story_entity.$(OBJEXT)138 orxonox_OBJECTS = $(am_orxonox_OBJECTS)139 orxonox_LDADD = $(LDADD)140 orxonox_DEPENDENCIES =141 orxonox_LDFLAGS =142 am_sound_OBJECTS = sound_test.$(OBJEXT) sound_control.$(OBJEXT)143 sound_OBJECTS = $(am_sound_OBJECTS)144 sound_LDADD = $(LDADD)145 sound_DEPENDENCIES =146 sound_LDFLAGS =147 148 DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)149 depcomp = $(SHELL) $(top_srcdir)/depcomp150 am__depfiles_maybe = depfiles151 DEP_FILES = ./$(DEPDIR)/base_entity.Po ./$(DEPDIR)/camera.Po \152 ./$(DEPDIR)/campaign.Po ./$(DEPDIR)/collision.Po \153 ./$(DEPDIR)/command_node.Po \154 ./$(DEPDIR)/data_tank.Po ./$(DEPDIR)/game_loader.Po \155 ./$(DEPDIR)/ini_parser.Po ./$(DEPDIR)/keynames.Po \156 ./$(DEPDIR)/orxonox.Po ./$(DEPDIR)/player.Po \157 ./$(DEPDIR)/sound_control.Po \158 ./$(DEPDIR)/sound_test.Po \159 ./$(DEPDIR)/story_entity.Po ./$(DEPDIR)/track.Po \160 ./$(DEPDIR)/vector.Po ./$(DEPDIR)/world.Po \161 ./$(DEPDIR)/world_entity.Po162 CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \163 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)164 CXXLD = $(CXX)165 CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \166 -o $@167 DIST_SOURCES = $(orxonox_SOURCES) $(sound_SOURCES)168 HEADERS = $(noinst_HEADERS)169 170 DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.in INSTALL \171 Makefile.am172 SOURCES = $(orxonox_SOURCES) $(sound_SOURCES)173 174 173 all: all-am 175 174 176 175 .SUFFIXES: 177 176 .SUFFIXES: .cc .o .obj 178 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.ac $(ACLOCAL_M4) 177 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) 178 @for dep in $?; do \ 179 case '$(am__configure_deps)' in \ 180 *$$dep*) \ 181 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ 182 && exit 0; \ 183 exit 1;; \ 184 esac; \ 185 done; \ 186 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/Makefile'; \ 179 187 cd $(top_srcdir) && \ 180 188 $(AUTOMAKE) --gnu src/Makefile 181 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 182 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe) 183 binPROGRAMS_INSTALL = $(INSTALL_PROGRAM) 189 .PRECIOUS: Makefile 190 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 191 @case '$?' in \ 192 *config.status*) \ 193 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ 194 *) \ 195 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ 196 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ 197 esac; 198 199 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) 200 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 201 202 $(top_srcdir)/configure: $(am__configure_deps) 203 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 204 $(ACLOCAL_M4): $(am__aclocal_m4_deps) 205 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 184 206 install-binPROGRAMS: $(bin_PROGRAMS) 185 207 @$(NORMAL_INSTALL) 186 $(mkinstalldirs) $(DESTDIR)$(bindir)208 test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)" 187 209 @list='$(bin_PROGRAMS)'; for p in $$list; do \ 188 210 p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ … … 190 212 ; then \ 191 213 f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \ 192 echo " $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \193 $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f|| exit 1; \214 echo " $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \ 215 $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \ 194 216 else :; fi; \ 195 217 done … … 199 221 @list='$(bin_PROGRAMS)'; for p in $$list; do \ 200 222 f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \ 201 echo " rm -f $(DESTDIR)$(bindir)/$$f"; \202 rm -f $(DESTDIR)$(bindir)/$$f; \223 echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \ 224 rm -f "$(DESTDIR)$(bindir)/$$f"; \ 203 225 done 204 226 … … 213 235 214 236 mostlyclean-compile: 215 -rm -f *.$(OBJEXT) core *.core237 -rm -f *.$(OBJEXT) 216 238 217 239 distclean-compile: … … 238 260 239 261 .cc.o: 240 if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \ 241 -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \ 242 then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \ 243 else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \ 244 fi 262 if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ 263 then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi 245 264 # source='$<' object='$@' libtool=no \ 246 265 # depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' \ 247 266 # $(CXXDEPMODE) $(depcomp) \ 248 # $(CXXCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<267 # $(CXXCOMPILE) -c -o $@ $< 249 268 250 269 .cc.obj: 251 if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \ 252 -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`; \ 253 then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \ 254 else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \ 255 fi 270 if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \ 271 then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi 256 272 # source='$<' object='$@' libtool=no \ 257 273 # depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' \ 258 274 # $(CXXDEPMODE) $(depcomp) \ 259 # $(CXXCOMPILE) -c -o $@ ` if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`275 # $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` 260 276 uninstall-info-am: 261 262 ETAGS = etags263 ETAGSFLAGS =264 265 CTAGS = ctags266 CTAGSFLAGS =267 268 tags: TAGS269 277 270 278 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) … … 276 284 END { for (i in files) print i; }'`; \ 277 285 mkid -fID $$unique 286 tags: TAGS 278 287 279 288 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ … … 287 296 $(AWK) ' { files[$$0] = 1; } \ 288 297 END { for (i in files) print i; }'`; \ 289 test -z "$(ETAGS_ARGS)$$tags$$unique" \ 290 || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ 291 $$tags $$unique 292 298 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ 299 test -n "$$unique" || unique=$$empty_fix; \ 300 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ 301 $$tags $$unique; \ 302 fi 293 303 ctags: CTAGS 294 304 CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ … … 313 323 distclean-tags: 314 324 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags 315 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)316 317 top_distdir = ..318 distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)319 325 320 326 distdir: $(DISTFILES) … … 330 336 if test "$$dir" != "$$file" && test "$$dir" != "."; then \ 331 337 dir="/$$dir"; \ 332 $(mk installdirs) "$(distdir)$$dir"; \338 $(mkdir_p) "$(distdir)$$dir"; \ 333 339 else \ 334 340 dir=''; \ … … 348 354 check: check-am 349 355 all-am: Makefile $(PROGRAMS) $(HEADERS) 350 351 356 installdirs: 352 $(mkinstalldirs) $(DESTDIR)$(bindir) 357 for dir in "$(DESTDIR)$(bindir)"; do \ 358 test -z "$$dir" || $(mkdir_p) "$$dir"; \ 359 done 353 360 install: install-am 354 361 install-exec: install-exec-am … … 389 396 dvi-am: 390 397 398 html: html-am 399 391 400 info: info-am 392 401 … … 424 433 .PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \ 425 434 clean-generic ctags distclean distclean-compile \ 426 distclean-generic distclean-tags distdir dvi dvi-am info\427 info-am install install-am install-binPROGRAMS install-data\428 install-data -am install-exec install-exec-am install-info\429 install-info -am install-man install-strip installcheck\430 installcheck -am installdirs maintainer-clean \435 distclean-generic distclean-tags distdir dvi dvi-am html \ 436 html-am info info-am install install-am install-binPROGRAMS \ 437 install-data install-data-am install-exec install-exec-am \ 438 install-info install-info-am install-man install-strip \ 439 installcheck installcheck-am installdirs maintainer-clean \ 431 440 maintainer-clean-generic mostlyclean mostlyclean-compile \ 432 441 mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \ -
orxonox/branches/sound/src/Makefile.in
r2854 r2964 1 # Makefile.in generated by automake 1. 7.9from 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) $(sound_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@ … … 36 38 PRE_UNINSTALL = : 37 39 POST_UNINSTALL = : 40 bin_PROGRAMS = orxonox$(EXEEXT) sound$(EXEEXT) 41 subdir = src 42 DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \ 43 $(srcdir)/Makefile.in INSTALL 44 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 45 am__aclocal_m4_deps = $(top_srcdir)/configure.ac 46 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ 47 $(ACLOCAL_M4) 48 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs 49 CONFIG_HEADER = $(top_builddir)/config.h 50 CONFIG_CLEAN_FILES = 51 am__installdirs = "$(DESTDIR)$(bindir)" 52 binPROGRAMS_INSTALL = $(INSTALL_PROGRAM) 53 PROGRAMS = $(bin_PROGRAMS) 54 am_orxonox_OBJECTS = orxonox.$(OBJEXT) world.$(OBJEXT) \ 55 player.$(OBJEXT) data_tank.$(OBJEXT) world_entity.$(OBJEXT) \ 56 vector.$(OBJEXT) camera.$(OBJEXT) collision.$(OBJEXT) \ 57 command_node.$(OBJEXT) ini_parser.$(OBJEXT) keynames.$(OBJEXT) \ 58 track.$(OBJEXT) base_entity.$(OBJEXT) game_loader.$(OBJEXT) \ 59 campaign.$(OBJEXT) story_entity.$(OBJEXT) 60 orxonox_OBJECTS = $(am_orxonox_OBJECTS) 61 orxonox_LDADD = $(LDADD) 62 am_sound_OBJECTS = sound_test.$(OBJEXT) sound_control.$(OBJEXT) 63 sound_OBJECTS = $(am_sound_OBJECTS) 64 sound_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)/base_entity.Po \ 69 @AMDEP_TRUE@ ./$(DEPDIR)/camera.Po ./$(DEPDIR)/campaign.Po \ 70 @AMDEP_TRUE@ ./$(DEPDIR)/collision.Po \ 71 @AMDEP_TRUE@ ./$(DEPDIR)/command_node.Po \ 72 @AMDEP_TRUE@ ./$(DEPDIR)/data_tank.Po \ 73 @AMDEP_TRUE@ ./$(DEPDIR)/game_loader.Po \ 74 @AMDEP_TRUE@ ./$(DEPDIR)/ini_parser.Po ./$(DEPDIR)/keynames.Po \ 75 @AMDEP_TRUE@ ./$(DEPDIR)/orxonox.Po ./$(DEPDIR)/player.Po \ 76 @AMDEP_TRUE@ ./$(DEPDIR)/sound_control.Po \ 77 @AMDEP_TRUE@ ./$(DEPDIR)/sound_test.Po \ 78 @AMDEP_TRUE@ ./$(DEPDIR)/story_entity.Po ./$(DEPDIR)/track.Po \ 79 @AMDEP_TRUE@ ./$(DEPDIR)/vector.Po ./$(DEPDIR)/world.Po \ 80 @AMDEP_TRUE@ ./$(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) $(sound_SOURCES) 87 DIST_SOURCES = $(orxonox_SOURCES) $(sound_SOURCES) 88 HEADERS = $(noinst_HEADERS) 89 ETAGS = etags 90 CTAGS = ctags 91 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) 38 92 ACLOCAL = @ACLOCAL@ 39 93 AMDEP_FALSE = @AMDEP_FALSE@ … … 104 158 localstatedir = @localstatedir@ 105 159 mandir = @mandir@ 160 mkdir_p = @mkdir_p@ 106 161 oldincludedir = @oldincludedir@ 107 162 prefix = @prefix@ … … 113 168 AM_CXXFLAGS = "-I/usr/X11R6/include" 114 169 AM_LDFLAGS = "-L/usr/Mesa-6.0.1/lib -L/usr/X11R6/lib -lXt -lX11" $(MWINDOWS) 115 116 117 #"-O3 -pedantic -fPIC -ffast-math -I/usr/X11R6/include"118 bin_PROGRAMS = orxonox sound119 170 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 120 121 171 sound_SOURCES = sound_test.cc sound_control.cc 122 123 172 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 124 subdir = src125 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4126 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs127 CONFIG_HEADER = $(top_builddir)/config.h128 CONFIG_CLEAN_FILES =129 bin_PROGRAMS = orxonox$(EXEEXT) sound$(EXEEXT)130 PROGRAMS = $(bin_PROGRAMS)131 132 am_orxonox_OBJECTS = orxonox.$(OBJEXT) world.$(OBJEXT) player.$(OBJEXT) \133 data_tank.$(OBJEXT) world_entity.$(OBJEXT) vector.$(OBJEXT) \134 camera.$(OBJEXT) collision.$(OBJEXT) command_node.$(OBJEXT) \135 ini_parser.$(OBJEXT) keynames.$(OBJEXT) track.$(OBJEXT) \136 base_entity.$(OBJEXT) game_loader.$(OBJEXT) campaign.$(OBJEXT) \137 story_entity.$(OBJEXT)138 orxonox_OBJECTS = $(am_orxonox_OBJECTS)139 orxonox_LDADD = $(LDADD)140 orxonox_DEPENDENCIES =141 orxonox_LDFLAGS =142 am_sound_OBJECTS = sound_test.$(OBJEXT) sound_control.$(OBJEXT)143 sound_OBJECTS = $(am_sound_OBJECTS)144 sound_LDADD = $(LDADD)145 sound_DEPENDENCIES =146 sound_LDFLAGS =147 148 DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)149 depcomp = $(SHELL) $(top_srcdir)/depcomp150 am__depfiles_maybe = depfiles151 @AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/base_entity.Po ./$(DEPDIR)/camera.Po \152 @AMDEP_TRUE@ ./$(DEPDIR)/campaign.Po ./$(DEPDIR)/collision.Po \153 @AMDEP_TRUE@ ./$(DEPDIR)/command_node.Po \154 @AMDEP_TRUE@ ./$(DEPDIR)/data_tank.Po ./$(DEPDIR)/game_loader.Po \155 @AMDEP_TRUE@ ./$(DEPDIR)/ini_parser.Po ./$(DEPDIR)/keynames.Po \156 @AMDEP_TRUE@ ./$(DEPDIR)/orxonox.Po ./$(DEPDIR)/player.Po \157 @AMDEP_TRUE@ ./$(DEPDIR)/sound_control.Po \158 @AMDEP_TRUE@ ./$(DEPDIR)/sound_test.Po \159 @AMDEP_TRUE@ ./$(DEPDIR)/story_entity.Po ./$(DEPDIR)/track.Po \160 @AMDEP_TRUE@ ./$(DEPDIR)/vector.Po ./$(DEPDIR)/world.Po \161 @AMDEP_TRUE@ ./$(DEPDIR)/world_entity.Po162 CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \163 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)164 CXXLD = $(CXX)165 CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \166 -o $@167 DIST_SOURCES = $(orxonox_SOURCES) $(sound_SOURCES)168 HEADERS = $(noinst_HEADERS)169 170 DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.in INSTALL \171 Makefile.am172 SOURCES = $(orxonox_SOURCES) $(sound_SOURCES)173 174 173 all: all-am 175 174 176 175 .SUFFIXES: 177 176 .SUFFIXES: .cc .o .obj 178 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.ac $(ACLOCAL_M4) 177 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) 178 @for dep in $?; do \ 179 case '$(am__configure_deps)' in \ 180 *$$dep*) \ 181 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ 182 && exit 0; \ 183 exit 1;; \ 184 esac; \ 185 done; \ 186 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/Makefile'; \ 179 187 cd $(top_srcdir) && \ 180 188 $(AUTOMAKE) --gnu src/Makefile 181 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 182 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe) 183 binPROGRAMS_INSTALL = $(INSTALL_PROGRAM) 189 .PRECIOUS: Makefile 190 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 191 @case '$?' in \ 192 *config.status*) \ 193 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ 194 *) \ 195 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ 196 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ 197 esac; 198 199 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) 200 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 201 202 $(top_srcdir)/configure: $(am__configure_deps) 203 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 204 $(ACLOCAL_M4): $(am__aclocal_m4_deps) 205 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 184 206 install-binPROGRAMS: $(bin_PROGRAMS) 185 207 @$(NORMAL_INSTALL) 186 $(mkinstalldirs) $(DESTDIR)$(bindir)208 test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)" 187 209 @list='$(bin_PROGRAMS)'; for p in $$list; do \ 188 210 p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ … … 190 212 ; then \ 191 213 f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \ 192 echo " $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \193 $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f|| exit 1; \214 echo " $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \ 215 $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \ 194 216 else :; fi; \ 195 217 done … … 199 221 @list='$(bin_PROGRAMS)'; for p in $$list; do \ 200 222 f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \ 201 echo " rm -f $(DESTDIR)$(bindir)/$$f"; \202 rm -f $(DESTDIR)$(bindir)/$$f; \223 echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \ 224 rm -f "$(DESTDIR)$(bindir)/$$f"; \ 203 225 done 204 226 … … 213 235 214 236 mostlyclean-compile: 215 -rm -f *.$(OBJEXT) core *.core237 -rm -f *.$(OBJEXT) 216 238 217 239 distclean-compile: … … 238 260 239 261 .cc.o: 240 @am__fastdepCXX_TRUE@ if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \ 241 @am__fastdepCXX_TRUE@ -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \ 242 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \ 243 @am__fastdepCXX_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \ 244 @am__fastdepCXX_TRUE@ fi 262 @am__fastdepCXX_TRUE@ if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ 263 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi 245 264 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ 246 265 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ 247 266 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 248 @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<267 @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $< 249 268 250 269 .cc.obj: 251 @am__fastdepCXX_TRUE@ if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \ 252 @am__fastdepCXX_TRUE@ -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`; \ 253 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \ 254 @am__fastdepCXX_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \ 255 @am__fastdepCXX_TRUE@ fi 270 @am__fastdepCXX_TRUE@ if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \ 271 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi 256 272 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ 257 273 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ 258 274 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 259 @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ ` if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`275 @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` 260 276 uninstall-info-am: 261 262 ETAGS = etags263 ETAGSFLAGS =264 265 CTAGS = ctags266 CTAGSFLAGS =267 268 tags: TAGS269 277 270 278 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) … … 276 284 END { for (i in files) print i; }'`; \ 277 285 mkid -fID $$unique 286 tags: TAGS 278 287 279 288 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ … … 287 296 $(AWK) ' { files[$$0] = 1; } \ 288 297 END { for (i in files) print i; }'`; \ 289 test -z "$(ETAGS_ARGS)$$tags$$unique" \ 290 || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ 291 $$tags $$unique 292 298 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ 299 test -n "$$unique" || unique=$$empty_fix; \ 300 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ 301 $$tags $$unique; \ 302 fi 293 303 ctags: CTAGS 294 304 CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ … … 313 323 distclean-tags: 314 324 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags 315 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)316 317 top_distdir = ..318 distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)319 325 320 326 distdir: $(DISTFILES) … … 330 336 if test "$$dir" != "$$file" && test "$$dir" != "."; then \ 331 337 dir="/$$dir"; \ 332 $(mk installdirs) "$(distdir)$$dir"; \338 $(mkdir_p) "$(distdir)$$dir"; \ 333 339 else \ 334 340 dir=''; \ … … 348 354 check: check-am 349 355 all-am: Makefile $(PROGRAMS) $(HEADERS) 350 351 356 installdirs: 352 $(mkinstalldirs) $(DESTDIR)$(bindir) 357 for dir in "$(DESTDIR)$(bindir)"; do \ 358 test -z "$$dir" || $(mkdir_p) "$$dir"; \ 359 done 353 360 install: install-am 354 361 install-exec: install-exec-am … … 389 396 dvi-am: 390 397 398 html: html-am 399 391 400 info: info-am 392 401 … … 424 433 .PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \ 425 434 clean-generic ctags distclean distclean-compile \ 426 distclean-generic distclean-tags distdir dvi dvi-am info\427 info-am install install-am install-binPROGRAMS install-data\428 install-data -am install-exec install-exec-am install-info\429 install-info -am install-man install-strip installcheck\430 installcheck -am installdirs maintainer-clean \435 distclean-generic distclean-tags distdir dvi dvi-am html \ 436 html-am info info-am install install-am install-binPROGRAMS \ 437 install-data install-data-am install-exec install-exec-am \ 438 install-info install-info-am install-man install-strip \ 439 installcheck installcheck-am installdirs maintainer-clean \ 431 440 maintainer-clean-generic mostlyclean mostlyclean-compile \ 432 441 mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \
Note: See TracChangeset
for help on using the changeset viewer.