Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 2993 in orxonox.OLD for orxonox/branches


Ignore:
Timestamp:
Nov 26, 2004, 1:57:22 PM (20 years ago)
Author:
bensch
Message:

orxonox/branches/osX: now it should compile on more systems

Location:
orxonox/branches/osX
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/osX/Makefile.in

    r2985 r2993  
    1 # Makefile.in generated by automake 1.7.6 from Makefile.am.
     1# Makefile.in generated by automake 1.8.5 from Makefile.am.
    22# @configure_input@
    33
    4 # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
    5 # Free Software Foundation, Inc.
     4# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
     5# 2003, 2004  Free Software Foundation, Inc.
    66# This Makefile.in is free software; the Free Software Foundation
    77# gives unlimited permission to copy and/or distribute it,
     
    1414
    1515@SET_MAKE@
    16 
    1716srcdir = @srcdir@
    1817top_srcdir = @top_srcdir@
     
    2221pkgincludedir = $(includedir)/@PACKAGE@
    2322top_builddir = .
    24 
    2523am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
    2624INSTALL = @INSTALL@
     
    3735POST_UNINSTALL = :
    3836host_triplet = @host@
     37DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
     38        $(srcdir)/Makefile.in $(srcdir)/config.h.in \
     39        $(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL NEWS \
     40        TODO config.guess config.sub depcomp install-sh missing \
     41        mkinstalldirs
     42subdir = .
     43ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
     44am__aclocal_m4_deps = $(top_srcdir)/configure.ac
     45am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
     46        $(ACLOCAL_M4)
     47am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
     48 configure.lineno configure.status.lineno
     49mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
     50CONFIG_HEADER = config.h
     51CONFIG_CLEAN_FILES =
     52SOURCES =
     53DIST_SOURCES =
     54RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
     55        html-recursive info-recursive install-data-recursive \
     56        install-exec-recursive install-info-recursive \
     57        install-recursive installcheck-recursive installdirs-recursive \
     58        pdf-recursive ps-recursive uninstall-info-recursive \
     59        uninstall-recursive
     60ETAGS = etags
     61CTAGS = ctags
     62DIST_SUBDIRS = $(SUBDIRS)
     63DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
     64distdir = $(PACKAGE)-$(VERSION)
     65top_distdir = $(distdir)
     66am__remove_distdir = \
     67  { test ! -d $(distdir) \
     68    || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
     69         && rm -fr $(distdir); }; }
     70DIST_ARCHIVES = $(distdir).tar.gz
     71GZIP_ENV = --best
     72distuninstallcheck_listfiles = find . -type f -print
     73distcleancheck_listfiles = find . -type f -print
    3974ACLOCAL = @ACLOCAL@
    4075AMDEP_FALSE = @AMDEP_FALSE@
     
    121156localstatedir = @localstatedir@
    122157mandir = @mandir@
     158mkdir_p = @mkdir_p@
    123159oldincludedir = @oldincludedir@
    124160prefix = @prefix@
     
    133169target_vendor = @target_vendor@
    134170SUBDIRS = src console gui importer
    135 subdir = .
    136 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
    137 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
    138 CONFIG_HEADER = config.h
    139 CONFIG_CLEAN_FILES =
    140 DIST_SOURCES =
    141 
    142 RECURSIVE_TARGETS = info-recursive dvi-recursive pdf-recursive \
    143         ps-recursive install-info-recursive uninstall-info-recursive \
    144         all-recursive install-data-recursive install-exec-recursive \
    145         installdirs-recursive install-recursive uninstall-recursive \
    146         check-recursive installcheck-recursive
    147 DIST_COMMON = README AUTHORS COPYING ChangeLog INSTALL Makefile.am \
    148         Makefile.in NEWS TODO aclocal.m4 config.guess config.h.in \
    149         config.sub configure configure.ac depcomp install-sh missing \
    150         mkinstalldirs
    151 DIST_SUBDIRS = $(SUBDIRS)
    152171all: config.h
    153172        $(MAKE) $(AM_MAKEFLAGS) all-recursive
    154173
    155174.SUFFIXES:
    156 
    157 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
    158  configure.lineno
    159 $(srcdir)/Makefile.in:  Makefile.am  $(top_srcdir)/configure.ac $(ACLOCAL_M4)
     175am--refresh:
     176        @:
     177$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
     178        @for dep in $?; do \
     179          case '$(am__configure_deps)' in \
     180            *$$dep*) \
     181              echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \
     182              cd $(srcdir) && $(AUTOMAKE) --gnu  \
     183                && exit 0; \
     184              exit 1;; \
     185          esac; \
     186        done; \
     187        echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  Makefile'; \
    160188        cd $(top_srcdir) && \
    161189          $(AUTOMAKE) --gnu  Makefile
    162 Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
    163         cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)
    164 
    165 $(top_builddir)/config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
     190.PRECIOUS: Makefile
     191Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     192        @case '$?' in \
     193          *config.status*) \
     194            echo ' $(SHELL) ./config.status'; \
     195            $(SHELL) ./config.status;; \
     196          *) \
     197            echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
     198            cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
     199        esac;
     200
     201$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
    166202        $(SHELL) ./config.status --recheck
    167 $(srcdir)/configure:  $(srcdir)/configure.ac $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
     203
     204$(top_srcdir)/configure:  $(am__configure_deps)
    168205        cd $(srcdir) && $(AUTOCONF)
    169 
    170 $(ACLOCAL_M4):  configure.ac
     206$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
    171207        cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
    172208
     
    180216        @rm -f stamp-h1
    181217        cd $(top_builddir) && $(SHELL) ./config.status config.h
    182 
    183 $(srcdir)/config.h.in:  $(top_srcdir)/configure.ac $(ACLOCAL_M4)
     218$(srcdir)/config.h.in:  $(am__configure_deps)
    184219        cd $(top_srcdir) && $(AUTOHEADER)
    185         touch $(srcdir)/config.h.in
     220        rm -f stamp-h1
     221        touch $@
    186222
    187223distclean-hdr:
     
    248284        done
    249285
    250 ETAGS = etags
    251 ETAGSFLAGS =
    252 
    253 CTAGS = ctags
    254 CTAGSFLAGS =
    255 
    256 tags: TAGS
    257 
    258286ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
    259287        list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
     
    264292               END { for (i in files) print i; }'`; \
    265293        mkid -fID $$unique
     294tags: TAGS
    266295
    267296TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
     
    269298        tags=; \
    270299        here=`pwd`; \
    271         if (etags --etags-include --version) >/dev/null 2>&1; then \
     300        if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
    272301          include_option=--etags-include; \
     302          empty_fix=.; \
    273303        else \
    274304          include_option=--include; \
     305          empty_fix=; \
    275306        fi; \
    276307        list='$(SUBDIRS)'; for subdir in $$list; do \
    277308          if test "$$subdir" = .; then :; else \
    278             test -f $$subdir/TAGS && \
     309            test ! -f $$subdir/TAGS || \
    279310              tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
    280311          fi; \
     
    286317          $(AWK) '    { files[$$0] = 1; } \
    287318               END { for (i in files) print i; }'`; \
    288         test -z "$(ETAGS_ARGS)$$tags$$unique" \
    289           || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
    290              $$tags $$unique
    291 
     319        if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
     320          test -n "$$unique" || unique=$$empty_fix; \
     321          $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
     322            $$tags $$unique; \
     323        fi
    292324ctags: CTAGS
    293325CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
     
    312344distclean-tags:
    313345        -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
    314 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
    315 
    316 top_distdir = .
    317 distdir = $(PACKAGE)-$(VERSION)
    318 
    319 am__remove_distdir = \
    320   { test ! -d $(distdir) \
    321     || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
    322          && rm -fr $(distdir); }; }
    323 
    324 GZIP_ENV = --best
    325 distuninstallcheck_listfiles = find . -type f -print
    326 distcleancheck_listfiles = find . -type f -print
    327346
    328347distdir: $(DISTFILES)
     
    340359          if test "$$dir" != "$$file" && test "$$dir" != "."; then \
    341360            dir="/$$dir"; \
    342             $(mkinstalldirs) "$(distdir)$$dir"; \
     361            $(mkdir_p) "$(distdir)$$dir"; \
    343362          else \
    344363            dir=''; \
     
    357376        list='$(SUBDIRS)'; for subdir in $$list; do \
    358377          if test "$$subdir" = .; then :; else \
    359             test -d $(distdir)/$$subdir \
    360             || mkdir $(distdir)/$$subdir \
     378            test -d "$(distdir)/$$subdir" \
     379            || mkdir "$(distdir)/$$subdir" \
    361380            || exit 1; \
    362381            (cd $$subdir && \
    363382              $(MAKE) $(AM_MAKEFLAGS) \
    364                 top_distdir="$(top_distdir)" \
    365                 distdir=../$(distdir)/$$subdir \
     383                top_distdir="../$(top_distdir)" \
     384                distdir="../$(distdir)/$$subdir" \
    366385                distdir) \
    367386              || exit 1; \
     
    377396        $(am__remove_distdir)
    378397
     398dist-bzip2: distdir
     399        $(AMTAR) chof - $(distdir) | bzip2 -9 -c >$(distdir).tar.bz2
     400        $(am__remove_distdir)
     401
     402dist-tarZ: distdir
     403        $(AMTAR) chof - $(distdir) | compress -c >$(distdir).tar.Z
     404        $(am__remove_distdir)
     405
     406dist-shar: distdir
     407        shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
     408        $(am__remove_distdir)
     409
     410dist-zip: distdir
     411        -rm -f $(distdir).zip
     412        zip -rq $(distdir).zip $(distdir)
     413        $(am__remove_distdir)
     414
    379415dist dist-all: distdir
    380416        $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
     
    385421# tarfile.
    386422distcheck: dist
    387         $(am__remove_distdir)
    388         GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf -
     423        case '$(DIST_ARCHIVES)' in \
     424        *.tar.gz*) \
     425          GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf - ;;\
     426        *.tar.bz2*) \
     427          bunzip2 -c $(distdir).tar.bz2 | $(AMTAR) xf - ;;\
     428        *.tar.Z*) \
     429          uncompress -c $(distdir).tar.Z | $(AMTAR) xf - ;;\
     430        *.shar.gz*) \
     431          GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
     432        *.zip*) \
     433          unzip $(distdir).zip ;;\
     434        esac
    389435        chmod -R a-w $(distdir); chmod a+w $(distdir)
    390436        mkdir $(distdir)/_build
     
    406452          && chmod -R a-w "$$dc_install_base" \
    407453          && ({ \
    408                (cd ../.. && $(mkinstalldirs) "$$dc_destdir") \
     454               (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
    409455               && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
    410456               && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
     
    413459              } || { rm -rf "$$dc_destdir"; exit 1; }) \
    414460          && rm -rf "$$dc_destdir" \
    415           && $(MAKE) $(AM_MAKEFLAGS) dist-gzip \
    416           && rm -f $(distdir).tar.gz \
     461          && $(MAKE) $(AM_MAKEFLAGS) dist \
     462          && rm -rf $(DIST_ARCHIVES) \
    417463          && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
    418464        $(am__remove_distdir)
    419         @echo "$(distdir).tar.gz is ready for distribution" | \
    420           sed 'h;s/./=/g;p;x;p;x'
     465        @(echo "$(distdir) archives ready for distribution: "; \
     466          list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
     467          sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}'
    421468distuninstallcheck:
    422469        @cd $(distuninstallcheck_dir) \
     
    442489installdirs: installdirs-recursive
    443490installdirs-am:
    444 
    445491install: install-recursive
    446492install-exec: install-exec-recursive
     
    454500install-strip:
    455501        $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
    456           INSTALL_STRIP_FLAG=-s \
     502          install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
    457503          `test -z '$(STRIP)' || \
    458504            echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
     
    462508
    463509distclean-generic:
    464         -rm -f Makefile $(CONFIG_CLEAN_FILES)
     510        -rm -f $(CONFIG_CLEAN_FILES)
    465511
    466512maintainer-clean-generic:
     
    473519distclean: distclean-recursive
    474520        -rm -f $(am__CONFIG_DISTCLEAN_FILES)
     521        -rm -f Makefile
    475522distclean-am: clean-am distclean-generic distclean-hdr distclean-tags
    476523
     
    478525
    479526dvi-am:
     527
     528html: html-recursive
    480529
    481530info: info-recursive
     
    496545        -rm -f $(am__CONFIG_DISTCLEAN_FILES)
    497546        -rm -rf $(top_srcdir)/autom4te.cache
     547        -rm -f Makefile
    498548maintainer-clean-am: distclean-am maintainer-clean-generic
    499549
     
    514564uninstall-info: uninstall-info-recursive
    515565
    516 .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am clean \
    517         clean-generic clean-recursive ctags ctags-recursive dist \
    518         dist-all dist-gzip distcheck distclean distclean-generic \
    519         distclean-hdr distclean-recursive distclean-tags distcleancheck \
    520         distdir distuninstallcheck dvi dvi-am dvi-recursive info \
    521         info-am info-recursive install install-am install-data \
    522         install-data-am install-data-recursive install-exec \
    523         install-exec-am install-exec-recursive install-info \
    524         install-info-am install-info-recursive install-man \
    525         install-recursive install-strip installcheck installcheck-am \
    526         installdirs installdirs-am installdirs-recursive \
    527         maintainer-clean maintainer-clean-generic \
    528         maintainer-clean-recursive mostlyclean mostlyclean-generic \
    529         mostlyclean-recursive pdf pdf-am pdf-recursive ps ps-am \
    530         ps-recursive tags tags-recursive uninstall uninstall-am \
    531         uninstall-info-am uninstall-info-recursive uninstall-recursive
     566.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \
     567        check-am clean clean-generic clean-recursive ctags \
     568        ctags-recursive dist dist-all dist-bzip2 dist-gzip dist-shar \
     569        dist-tarZ dist-zip distcheck distclean distclean-generic \
     570        distclean-hdr distclean-recursive distclean-tags \
     571        distcleancheck distdir distuninstallcheck dvi dvi-am html \
     572        html-am info info-am install install-am install-data \
     573        install-data-am install-exec install-exec-am install-info \
     574        install-info-am install-man install-strip installcheck \
     575        installcheck-am installdirs installdirs-am maintainer-clean \
     576        maintainer-clean-generic maintainer-clean-recursive \
     577        mostlyclean mostlyclean-generic mostlyclean-recursive pdf \
     578        pdf-am ps ps-am tags tags-recursive uninstall uninstall-am \
     579        uninstall-info-am
    532580
    533581# Tell versions [3.59,3.63) of GNU make to not export all variables.
  • orxonox/branches/osX/aclocal.m4

    r2985 r2993  
    1 # generated automatically by aclocal 1.7.6 -*- Autoconf -*-
    2 
    3 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002
     1# generated automatically by aclocal 1.8.5 -*- Autoconf -*-
     2
     3# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
    44# Free Software Foundation, Inc.
    55# This file is free software; the Free Software Foundation
     
    1212# PARTICULAR PURPOSE.
    1313
    14 # Do all the work for Automake.                            -*- Autoconf -*-
    15 
    16 # This macro actually does too much some checks are only needed if
    17 # your package does certain things.  But this isn't really a big deal.
    18 
    19 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
    20 # Free Software Foundation, Inc.
    21 
    22 # This program is free software; you can redistribute it and/or modify
    23 # it under the terms of the GNU General Public License as published by
    24 # the Free Software Foundation; either version 2, or (at your option)
    25 # any later version.
    26 
    27 # This program is distributed in the hope that it will be useful,
    28 # but WITHOUT ANY WARRANTY; without even the implied warranty of
    29 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    30 # GNU General Public License for more details.
    31 
    32 # You should have received a copy of the GNU General Public License
    33 # along with this program; if not, write to the Free Software
    34 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
    35 # 02111-1307, USA.
    36 
    37 # serial 10
    38 
    39 AC_PREREQ([2.54])
    40 
    41 # Autoconf 2.50 wants to disallow AM_ names.  We explicitly allow
    42 # the ones we care about.
    43 m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
    44 
    45 # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
    46 # AM_INIT_AUTOMAKE([OPTIONS])
    47 # -----------------------------------------------
    48 # The call with PACKAGE and VERSION arguments is the old style
    49 # call (pre autoconf-2.50), which is being phased out.  PACKAGE
    50 # and VERSION should now be passed to AC_INIT and removed from
    51 # the call to AM_INIT_AUTOMAKE.
    52 # We support both call styles for the transition.  After
    53 # the next Automake release, Autoconf can make the AC_INIT
    54 # arguments mandatory, and then we can depend on a new Autoconf
    55 # release and drop the old call support.
    56 AC_DEFUN([AM_INIT_AUTOMAKE],
    57 [AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
    58  AC_REQUIRE([AC_PROG_INSTALL])dnl
    59 # test to see if srcdir already configured
    60 if test "`cd $srcdir && pwd`" != "`pwd`" &&
    61    test -f $srcdir/config.status; then
    62   AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
    63 fi
    64 
    65 # test whether we have cygpath
    66 if test -z "$CYGPATH_W"; then
    67   if (cygpath --version) >/dev/null 2>/dev/null; then
    68     CYGPATH_W='cygpath -w'
     14
     15dnl PKG_CHECK_MODULES(GSTUFF, gtk+-2.0 >= 1.3 glib = 1.3.4, action-if, action-not)
     16dnl defines GSTUFF_LIBS, GSTUFF_CFLAGS, see pkg-config man page
     17dnl also defines GSTUFF_PKG_ERRORS on error
     18AC_DEFUN(PKG_CHECK_MODULES, [
     19  succeeded=no
     20
     21  if test -z "$PKG_CONFIG"; then
     22    AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
     23  fi
     24
     25  if test "$PKG_CONFIG" = "no" ; then
     26     echo "*** The pkg-config script could not be found. Make sure it is"
     27     echo "*** in your path, or set the PKG_CONFIG environment variable"
     28     echo "*** to the full path to pkg-config."
     29     echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
    6930  else
    70     CYGPATH_W=echo
     31     PKG_CONFIG_MIN_VERSION=0.9.0
     32     if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
     33        AC_MSG_CHECKING(for $2)
     34
     35        if $PKG_CONFIG --exists "$2" ; then
     36            AC_MSG_RESULT(yes)
     37            succeeded=yes
     38
     39            AC_MSG_CHECKING($1_CFLAGS)
     40            $1_CFLAGS=`$PKG_CONFIG --cflags "$2"`
     41            AC_MSG_RESULT($$1_CFLAGS)
     42
     43            AC_MSG_CHECKING($1_LIBS)
     44            $1_LIBS=`$PKG_CONFIG --libs "$2"`
     45            AC_MSG_RESULT($$1_LIBS)
     46        else
     47            $1_CFLAGS=""
     48            $1_LIBS=""
     49            ## If we have a custom action on failure, don't print errors, but
     50            ## do set a variable so people can do so.
     51            $1_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"`
     52            ifelse([$4], ,echo $$1_PKG_ERRORS,)
     53        fi
     54
     55        AC_SUBST($1_CFLAGS)
     56        AC_SUBST($1_LIBS)
     57     else
     58        echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
     59        echo "*** See http://www.freedesktop.org/software/pkgconfig"
     60     fi
    7161  fi
    72 fi
    73 AC_SUBST([CYGPATH_W])
    74 
    75 # Define the identity of the package.
    76 dnl Distinguish between old-style and new-style calls.
    77 m4_ifval([$2],
    78 [m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
    79  AC_SUBST([PACKAGE], [$1])dnl
    80  AC_SUBST([VERSION], [$2])],
    81 [_AM_SET_OPTIONS([$1])dnl
    82  AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
    83  AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
    84 
    85 _AM_IF_OPTION([no-define],,
    86 [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
    87  AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
    88 
    89 # Some tools Automake needs.
    90 AC_REQUIRE([AM_SANITY_CHECK])dnl
    91 AC_REQUIRE([AC_ARG_PROGRAM])dnl
    92 AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
    93 AM_MISSING_PROG(AUTOCONF, autoconf)
    94 AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
    95 AM_MISSING_PROG(AUTOHEADER, autoheader)
    96 AM_MISSING_PROG(MAKEINFO, makeinfo)
    97 AM_MISSING_PROG(AMTAR, tar)
    98 AM_PROG_INSTALL_SH
    99 AM_PROG_INSTALL_STRIP
    100 # We need awk for the "check" target.  The system "awk" is bad on
    101 # some platforms.
    102 AC_REQUIRE([AC_PROG_AWK])dnl
    103 AC_REQUIRE([AC_PROG_MAKE_SET])dnl
    104 AC_REQUIRE([AM_SET_LEADING_DOT])dnl
    105 
    106 _AM_IF_OPTION([no-dependencies],,
    107 [AC_PROVIDE_IFELSE([AC_PROG_CC],
    108                   [_AM_DEPENDENCIES(CC)],
    109                   [define([AC_PROG_CC],
    110                           defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
    111 AC_PROVIDE_IFELSE([AC_PROG_CXX],
    112                   [_AM_DEPENDENCIES(CXX)],
    113                   [define([AC_PROG_CXX],
    114                           defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
     62
     63  if test $succeeded = yes; then
     64     ifelse([$3], , :, [$3])
     65  else
     66     ifelse([$4], , AC_MSG_ERROR([Library requirements ($2) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.]), [$4])
     67  fi
    11568])
     69
     70
     71
     72# Configure paths for SDL
     73# Sam Lantinga 9/21/99
     74# stolen from Manish Singh
     75# stolen back from Frank Belew
     76# stolen from Manish Singh
     77# Shamelessly stolen from Owen Taylor
     78
     79dnl AM_PATH_SDL([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
     80dnl Test for SDL, and define SDL_CFLAGS and SDL_LIBS
     81dnl
     82AC_DEFUN([AM_PATH_SDL],
     83[dnl
     84dnl Get the cflags and libraries from the sdl-config script
     85dnl
     86AC_ARG_WITH(sdl-prefix,[  --with-sdl-prefix=PFX   Prefix where SDL is installed (optional)],
     87            sdl_prefix="$withval", sdl_prefix="")
     88AC_ARG_WITH(sdl-exec-prefix,[  --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)],
     89            sdl_exec_prefix="$withval", sdl_exec_prefix="")
     90AC_ARG_ENABLE(sdltest, [  --disable-sdltest       Do not try to compile and run a test SDL program],
     91                    , enable_sdltest=yes)
     92
     93  if test x$sdl_exec_prefix != x ; then
     94     sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
     95     if test x${SDL_CONFIG+set} != xset ; then
     96        SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
     97     fi
     98  fi
     99  if test x$sdl_prefix != x ; then
     100     sdl_args="$sdl_args --prefix=$sdl_prefix"
     101     if test x${SDL_CONFIG+set} != xset ; then
     102        SDL_CONFIG=$sdl_prefix/bin/sdl-config
     103     fi
     104  fi
     105
     106  AC_REQUIRE([AC_CANONICAL_TARGET])
     107  PATH="$prefix/bin:$prefix/usr/bin:$PATH"
     108  AC_PATH_PROG(SDL_CONFIG, sdl-config, no, [$PATH])
     109  min_sdl_version=ifelse([$1], ,0.11.0,$1)
     110  AC_MSG_CHECKING(for SDL - version >= $min_sdl_version)
     111  no_sdl=""
     112  if test "$SDL_CONFIG" = "no" ; then
     113    no_sdl=yes
     114  else
     115    SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
     116    SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
     117
     118    sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
     119           sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
     120    sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
     121           sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
     122    sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
     123           sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
     124    if test "x$enable_sdltest" = "xyes" ; then
     125      ac_save_CFLAGS="$CFLAGS"
     126      ac_save_LIBS="$LIBS"
     127      CFLAGS="$CFLAGS $SDL_CFLAGS"
     128      LIBS="$LIBS $SDL_LIBS"
     129dnl
     130dnl Now check if the installed SDL is sufficiently new. (Also sanity
     131dnl checks the results of sdl-config to some extent
     132dnl
     133      rm -f conf.sdltest
     134      AC_TRY_RUN([
     135#include <stdio.h>
     136#include <stdlib.h>
     137#include <string.h>
     138#include "SDL.h"
     139
     140char*
     141my_strdup (char *str)
     142{
     143  char *new_str;
     144 
     145  if (str)
     146    {
     147      new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
     148      strcpy (new_str, str);
     149    }
     150  else
     151    new_str = NULL;
     152 
     153  return new_str;
     154}
     155
     156int main (int argc, char *argv[])
     157{
     158  int major, minor, micro;
     159  char *tmp_version;
     160
     161  /* This hangs on some systems (?)
     162  system ("touch conf.sdltest");
     163  */
     164  { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
     165
     166  /* HP/UX 9 (%@#!) writes to sscanf strings */
     167  tmp_version = my_strdup("$min_sdl_version");
     168  if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
     169     printf("%s, bad version string\n", "$min_sdl_version");
     170     exit(1);
     171   }
     172
     173   if (($sdl_major_version > major) ||
     174      (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
     175      (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
     176    {
     177      return 0;
     178    }
     179  else
     180    {
     181      printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
     182      printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
     183      printf("*** best to upgrade to the required version.\n");
     184      printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
     185      printf("*** to point to the correct copy of sdl-config, and remove the file\n");
     186      printf("*** config.cache before re-running configure\n");
     187      return 1;
     188    }
     189}
     190
     191],, no_sdl=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
     192       CFLAGS="$ac_save_CFLAGS"
     193       LIBS="$ac_save_LIBS"
     194     fi
     195  fi
     196  if test "x$no_sdl" = x ; then
     197     AC_MSG_RESULT(yes)
     198     ifelse([$2], , :, [$2])     
     199  else
     200     AC_MSG_RESULT(no)
     201     if test "$SDL_CONFIG" = "no" ; then
     202       echo "*** The sdl-config script installed by SDL could not be found"
     203       echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
     204       echo "*** your path, or set the SDL_CONFIG environment variable to the"
     205       echo "*** full path to sdl-config."
     206     else
     207       if test -f conf.sdltest ; then
     208        :
     209       else
     210          echo "*** Could not run SDL test program, checking why..."
     211          CFLAGS="$CFLAGS $SDL_CFLAGS"
     212          LIBS="$LIBS $SDL_LIBS"
     213          AC_TRY_LINK([
     214#include <stdio.h>
     215#include "SDL.h"
     216
     217int main(int argc, char *argv[])
     218{ return 0; }
     219#undef  main
     220#define main K_and_R_C_main
     221],      [ return 0; ],
     222        [ echo "*** The test program compiled, but did not run. This usually means"
     223          echo "*** that the run-time linker is not finding SDL or finding the wrong"
     224          echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
     225          echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
     226          echo "*** to the installed location  Also, make sure you have run ldconfig if that"
     227          echo "*** is required on your system"
     228          echo "***"
     229          echo "*** If you have an old version installed, it is best to remove it, although"
     230          echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"],
     231        [ echo "*** The test program failed to compile or link. See the file config.log for the"
     232          echo "*** exact error that occured. This usually means SDL was incorrectly installed"
     233          echo "*** or that you have moved SDL since it was installed. In the latter case, you"
     234          echo "*** may want to edit the sdl-config script: $SDL_CONFIG" ])
     235          CFLAGS="$ac_save_CFLAGS"
     236          LIBS="$ac_save_LIBS"
     237       fi
     238     fi
     239     SDL_CFLAGS=""
     240     SDL_LIBS=""
     241     ifelse([$3], , :, [$3])
     242  fi
     243  AC_SUBST(SDL_CFLAGS)
     244  AC_SUBST(SDL_LIBS)
     245  rm -f conf.sdltest
    116246])
    117247
    118 
    119 # When config.status generates a header, we must update the stamp-h file.
    120 # This file resides in the same directory as the config header
    121 # that is generated.  The stamp files are numbered to have different names.
    122 
    123 # Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
    124 # loop where config.status creates the headers, so we can generate
    125 # our stamp files there.
    126 AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
    127 [# Compute $1's index in $config_headers.
    128 _am_stamp_count=1
    129 for _am_header in $config_headers :; do
    130   case $_am_header in
    131     $1 | $1:* )
    132       break ;;
    133     * )
    134       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
    135   esac
    136 done
    137 echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
    138 
    139 # Copyright 2002  Free Software Foundation, Inc.
     248#                                                        -*- Autoconf -*-
     249# Copyright (C) 2002, 2003  Free Software Foundation, Inc.
     250# Generated from amversion.in; do not edit by hand.
    140251
    141252# This program is free software; you can redistribute it and/or modify
     
    157268# Automake X.Y traces this macro to ensure aclocal.m4 has been
    158269# generated from the m4 files accompanying Automake X.Y.
    159 AC_DEFUN([AM_AUTOMAKE_VERSION],[am__api_version="1.7"])
     270AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.8"])
    160271
    161272# AM_SET_CURRENT_AUTOMAKE_VERSION
     
    164275# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
    165276AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
    166          [AM_AUTOMAKE_VERSION([1.7.6])])
    167 
    168 # Helper functions for option handling.                    -*- Autoconf -*-
    169 
    170 # Copyright 2001, 2002  Free Software Foundation, Inc.
    171 
    172 # This program is free software; you can redistribute it and/or modify
    173 # it under the terms of the GNU General Public License as published by
    174 # the Free Software Foundation; either version 2, or (at your option)
    175 # any later version.
    176 
    177 # This program is distributed in the hope that it will be useful,
    178 # but WITHOUT ANY WARRANTY; without even the implied warranty of
    179 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    180 # GNU General Public License for more details.
    181 
    182 # You should have received a copy of the GNU General Public License
    183 # along with this program; if not, write to the Free Software
    184 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
    185 # 02111-1307, USA.
    186 
    187 # serial 2
    188 
    189 # _AM_MANGLE_OPTION(NAME)
    190 # -----------------------
    191 AC_DEFUN([_AM_MANGLE_OPTION],
    192 [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
    193 
    194 # _AM_SET_OPTION(NAME)
    195 # ------------------------------
    196 # Set option NAME.  Presently that only means defining a flag for this option.
    197 AC_DEFUN([_AM_SET_OPTION],
    198 [m4_define(_AM_MANGLE_OPTION([$1]), 1)])
    199 
    200 # _AM_SET_OPTIONS(OPTIONS)
    201 # ----------------------------------
    202 # OPTIONS is a space-separated list of Automake options.
    203 AC_DEFUN([_AM_SET_OPTIONS],
    204 [AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
    205 
    206 # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
    207 # -------------------------------------------
    208 # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
    209 AC_DEFUN([_AM_IF_OPTION],
    210 [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
    211 
    212 #
    213 # Check to make sure that the build environment is sane.
    214 #
    215 
    216 # Copyright 1996, 1997, 2000, 2001 Free Software Foundation, Inc.
    217 
    218 # This program is free software; you can redistribute it and/or modify
    219 # it under the terms of the GNU General Public License as published by
    220 # the Free Software Foundation; either version 2, or (at your option)
    221 # any later version.
    222 
    223 # This program is distributed in the hope that it will be useful,
    224 # but WITHOUT ANY WARRANTY; without even the implied warranty of
    225 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    226 # GNU General Public License for more details.
    227 
    228 # You should have received a copy of the GNU General Public License
    229 # along with this program; if not, write to the Free Software
    230 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
    231 # 02111-1307, USA.
    232 
    233 # serial 3
    234 
    235 # AM_SANITY_CHECK
    236 # ---------------
    237 AC_DEFUN([AM_SANITY_CHECK],
    238 [AC_MSG_CHECKING([whether build environment is sane])
    239 # Just in case
    240 sleep 1
    241 echo timestamp > conftest.file
    242 # Do `set' in a subshell so we don't clobber the current shell's
    243 # arguments.  Must try -L first in case configure is actually a
    244 # symlink; some systems play weird games with the mod time of symlinks
    245 # (eg FreeBSD returns the mod time of the symlink's containing
    246 # directory).
    247 if (
    248    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
    249    if test "$[*]" = "X"; then
    250       # -L didn't work.
    251       set X `ls -t $srcdir/configure conftest.file`
    252    fi
    253    rm -f conftest.file
    254    if test "$[*]" != "X $srcdir/configure conftest.file" \
    255       && test "$[*]" != "X conftest.file $srcdir/configure"; then
    256 
    257       # If neither matched, then we have a broken ls.  This can happen
    258       # if, for instance, CONFIG_SHELL is bash and it inherits a
    259       # broken ls alias from the environment.  This has actually
    260       # happened.  Such a system could not be considered "sane".
    261       AC_MSG_ERROR([ls -t appears to fail.  Make sure there is not a broken
    262 alias in your environment])
    263    fi
    264 
    265    test "$[2]" = conftest.file
    266    )
    267 then
    268    # Ok.
    269    :
    270 else
    271    AC_MSG_ERROR([newly created file is older than distributed files!
    272 Check your system clock])
    273 fi
    274 AC_MSG_RESULT(yes)])
    275 
    276 #  -*- Autoconf -*-
    277 
    278 
    279 # Copyright 1997, 1999, 2000, 2001 Free Software Foundation, Inc.
    280 
    281 # This program is free software; you can redistribute it and/or modify
    282 # it under the terms of the GNU General Public License as published by
    283 # the Free Software Foundation; either version 2, or (at your option)
    284 # any later version.
    285 
    286 # This program is distributed in the hope that it will be useful,
    287 # but WITHOUT ANY WARRANTY; without even the implied warranty of
    288 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    289 # GNU General Public License for more details.
    290 
    291 # You should have received a copy of the GNU General Public License
    292 # along with this program; if not, write to the Free Software
    293 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
    294 # 02111-1307, USA.
    295 
    296 # serial 3
    297 
    298 # AM_MISSING_PROG(NAME, PROGRAM)
    299 # ------------------------------
    300 AC_DEFUN([AM_MISSING_PROG],
    301 [AC_REQUIRE([AM_MISSING_HAS_RUN])
    302 $1=${$1-"${am_missing_run}$2"}
    303 AC_SUBST($1)])
    304 
    305 
    306 # AM_MISSING_HAS_RUN
    307 # ------------------
    308 # Define MISSING if not defined so far and test if it supports --run.
    309 # If it does, set am_missing_run to use it, otherwise, to nothing.
    310 AC_DEFUN([AM_MISSING_HAS_RUN],
    311 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
    312 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
    313 # Use eval to expand $SHELL
    314 if eval "$MISSING --run true"; then
    315   am_missing_run="$MISSING --run "
    316 else
    317   am_missing_run=
    318   AC_MSG_WARN([`missing' script is too old or missing])
    319 fi
    320 ])
     277         [AM_AUTOMAKE_VERSION([1.8.5])])
    321278
    322279# AM_AUX_DIR_EXPAND
    323280
    324 # Copyright 2001 Free Software Foundation, Inc.
     281# Copyright (C) 2001, 2003 Free Software Foundation, Inc.
    325282
    326283# This program is free software; you can redistribute it and/or modify
     
    377334# configured tree to be moved without reconfiguration.
    378335
    379 # Rely on autoconf to set up CDPATH properly.
    380 AC_PREREQ([2.50])
    381 
    382 AC_DEFUN([AM_AUX_DIR_EXPAND], [
     336AC_DEFUN([AM_AUX_DIR_EXPAND],
     337[dnl Rely on autoconf to set up CDPATH properly.
     338AC_PREREQ([2.50])dnl
    383339# expand $ac_aux_dir to an absolute path
    384340am_aux_dir=`cd $ac_aux_dir && pwd`
    385341])
    386342
    387 # AM_PROG_INSTALL_SH
    388 # ------------------
    389 # Define $install_sh.
    390 
    391 # Copyright 2001 Free Software Foundation, Inc.
    392 
    393 # This program is free software; you can redistribute it and/or modify
    394 # it under the terms of the GNU General Public License as published by
    395 # the Free Software Foundation; either version 2, or (at your option)
    396 # any later version.
    397 
    398 # This program is distributed in the hope that it will be useful,
    399 # but WITHOUT ANY WARRANTY; without even the implied warranty of
    400 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    401 # GNU General Public License for more details.
    402 
    403 # You should have received a copy of the GNU General Public License
    404 # along with this program; if not, write to the Free Software
    405 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
    406 # 02111-1307, USA.
    407 
    408 AC_DEFUN([AM_PROG_INSTALL_SH],
    409 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
    410 install_sh=${install_sh-"$am_aux_dir/install-sh"}
    411 AC_SUBST(install_sh)])
    412 
    413 # AM_PROG_INSTALL_STRIP
    414 
    415 # Copyright 2001 Free Software Foundation, Inc.
    416 
    417 # This program is free software; you can redistribute it and/or modify
    418 # it under the terms of the GNU General Public License as published by
    419 # the Free Software Foundation; either version 2, or (at your option)
    420 # any later version.
    421 
    422 # This program is distributed in the hope that it will be useful,
    423 # but WITHOUT ANY WARRANTY; without even the implied warranty of
    424 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    425 # GNU General Public License for more details.
    426 
    427 # You should have received a copy of the GNU General Public License
    428 # along with this program; if not, write to the Free Software
    429 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
    430 # 02111-1307, USA.
    431 
    432 # One issue with vendor `install' (even GNU) is that you can't
    433 # specify the program used to strip binaries.  This is especially
    434 # annoying in cross-compiling environments, where the build's strip
    435 # is unlikely to handle the host's binaries.
    436 # Fortunately install-sh will honor a STRIPPROG variable, so we
    437 # always use install-sh in `make install-strip', and initialize
    438 # STRIPPROG with the value of the STRIP variable (set by the user).
    439 AC_DEFUN([AM_PROG_INSTALL_STRIP],
    440 [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
    441 # Installed binaries are usually stripped using `strip' when the user
    442 # run `make install-strip'.  However `strip' might not be the right
    443 # tool to use in cross-compilation environments, therefore Automake
    444 # will honor the `STRIP' environment variable to overrule this program.
    445 dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
    446 if test "$cross_compiling" != no; then
    447   AC_CHECK_TOOL([STRIP], [strip], :)
     343# AM_CONDITIONAL                                              -*- Autoconf -*-
     344
     345# Copyright (C) 1997, 2000, 2001, 2003 Free Software Foundation, Inc.
     346
     347# This program is free software; you can redistribute it and/or modify
     348# it under the terms of the GNU General Public License as published by
     349# the Free Software Foundation; either version 2, or (at your option)
     350# any later version.
     351
     352# This program is distributed in the hope that it will be useful,
     353# but WITHOUT ANY WARRANTY; without even the implied warranty of
     354# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     355# GNU General Public License for more details.
     356
     357# You should have received a copy of the GNU General Public License
     358# along with this program; if not, write to the Free Software
     359# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
     360# 02111-1307, USA.
     361
     362# serial 6
     363
     364# AM_CONDITIONAL(NAME, SHELL-CONDITION)
     365# -------------------------------------
     366# Define a conditional.
     367AC_DEFUN([AM_CONDITIONAL],
     368[AC_PREREQ(2.52)dnl
     369 ifelse([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])],
     370        [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
     371AC_SUBST([$1_TRUE])
     372AC_SUBST([$1_FALSE])
     373if $2; then
     374  $1_TRUE=
     375  $1_FALSE='#'
     376else
     377  $1_TRUE='#'
     378  $1_FALSE=
    448379fi
    449 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
    450 AC_SUBST([INSTALL_STRIP_PROGRAM])])
    451 
    452 #                                                          -*- Autoconf -*-
    453 # Copyright (C) 2003  Free Software Foundation, Inc.
    454 
    455 # This program is free software; you can redistribute it and/or modify
    456 # it under the terms of the GNU General Public License as published by
    457 # the Free Software Foundation; either version 2, or (at your option)
    458 # any later version.
    459 
    460 # This program is distributed in the hope that it will be useful,
    461 # but WITHOUT ANY WARRANTY; without even the implied warranty of
    462 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    463 # GNU General Public License for more details.
    464 
    465 # You should have received a copy of the GNU General Public License
    466 # along with this program; if not, write to the Free Software
    467 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
    468 # 02111-1307, USA.
    469 
    470 # serial 1
    471 
    472 # Check whether the underlying file-system supports filenames
    473 # with a leading dot.  For instance MS-DOS doesn't.
    474 AC_DEFUN([AM_SET_LEADING_DOT],
    475 [rm -rf .tst 2>/dev/null
    476 mkdir .tst 2>/dev/null
    477 if test -d .tst; then
    478   am__leading_dot=.
    479 else
    480   am__leading_dot=_
    481 fi
    482 rmdir .tst 2>/dev/null
    483 AC_SUBST([am__leading_dot])])
    484 
    485 # serial 5                                              -*- Autoconf -*-
    486 
    487 # Copyright (C) 1999, 2000, 2001, 2002, 2003  Free Software Foundation, Inc.
     380AC_CONFIG_COMMANDS_PRE(
     381[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
     382  AC_MSG_ERROR([conditional "$1" was never defined.
     383Usually this means the macro was only invoked conditionally.])
     384fi])])
     385
     386# serial 7                                              -*- Autoconf -*-
     387
     388# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004
     389# Free Software Foundation, Inc.
    488390
    489391# This program is free software; you can redistribute it and/or modify
     
    569471    for i in 1 2 3 4 5 6; do
    570472      echo '#include "conftst'$i'.h"' >> sub/conftest.c
    571       : > sub/conftst$i.h
     473      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
     474      # Solaris 8's {/usr,}/bin/sh.
     475      touch sub/conftst$i.h
    572476    done
    573477    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
     
    597501       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
    598502      # icc doesn't choke on unknown options, it will just issue warnings
    599       # (even with -Werror).  So we grep stderr for any message
    600       # that says an option was ignored.
    601       if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
     503      # or remarks (even with -Werror).  So we grep stderr for any message
     504      # that says an option was ignored or not supported.
     505      # When given -MP, icc 7.0 and 7.1 complain thusly:
     506      #   icc: Command line warning: ignoring option '-M'; no argument required
     507      # The diagnosis changed in icc 8.0:
     508      #   icc: Command line remark: option '-MP' not supported
     509      if (grep 'ignoring option' conftest.err ||
     510          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
    602511        am_cv_$1_dependencies_compiler_type=$depmode
    603512        break
     
    633542AC_DEFUN([AM_DEP_TRACK],
    634543[AC_ARG_ENABLE(dependency-tracking,
    635 [  --disable-dependency-tracking Speeds up one-time builds
    636   --enable-dependency-tracking  Do not reject slow dependency extractors])
     544[  --disable-dependency-tracking  speeds up one-time build
     545  --enable-dependency-tracking   do not reject slow dependency extractors])
    637546if test "x$enable_dependency_tracking" != xno; then
    638547  am_depcomp="$ac_aux_dir/depcomp"
     
    645554# Generate code to set up dependency tracking.   -*- Autoconf -*-
    646555
    647 # Copyright 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
     556# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
    648557
    649558# This program is free software; you can redistribute it and/or modify
     
    684593  # Extract the definition of DEP_FILES from the Makefile without
    685594  # running `make'.
    686   DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
     595  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
    687596  test -z "$DEPDIR" && continue
    688597  # When using ansi2knr, U may be empty or an underscore; expand it
    689   U=`sed -n -e '/^U = / s///p' < "$mf"`
     598  U=`sed -n 's/^U = //p' < "$mf"`
    690599  test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
    691600  # We invoke sed twice because it is the simplest approach to
    692601  # changing $(DEPDIR) to its actual value in the expansion.
    693   for file in `sed -n -e '
     602  for file in `sed -n '
    694603    /^DEP_FILES = .*\\\\$/ {
    695604      s/^DEP_FILES = //
     
    726635     [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
    727636])
     637
     638# Do all the work for Automake.                            -*- Autoconf -*-
     639
     640# This macro actually does too much some checks are only needed if
     641# your package does certain things.  But this isn't really a big deal.
     642
     643# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
     644# Free Software Foundation, Inc.
     645
     646# This program is free software; you can redistribute it and/or modify
     647# it under the terms of the GNU General Public License as published by
     648# the Free Software Foundation; either version 2, or (at your option)
     649# any later version.
     650
     651# This program is distributed in the hope that it will be useful,
     652# but WITHOUT ANY WARRANTY; without even the implied warranty of
     653# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     654# GNU General Public License for more details.
     655
     656# You should have received a copy of the GNU General Public License
     657# along with this program; if not, write to the Free Software
     658# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
     659# 02111-1307, USA.
     660
     661# serial 11
     662
     663# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
     664# AM_INIT_AUTOMAKE([OPTIONS])
     665# -----------------------------------------------
     666# The call with PACKAGE and VERSION arguments is the old style
     667# call (pre autoconf-2.50), which is being phased out.  PACKAGE
     668# and VERSION should now be passed to AC_INIT and removed from
     669# the call to AM_INIT_AUTOMAKE.
     670# We support both call styles for the transition.  After
     671# the next Automake release, Autoconf can make the AC_INIT
     672# arguments mandatory, and then we can depend on a new Autoconf
     673# release and drop the old call support.
     674AC_DEFUN([AM_INIT_AUTOMAKE],
     675[AC_PREREQ([2.58])dnl
     676dnl Autoconf wants to disallow AM_ names.  We explicitly allow
     677dnl the ones we care about.
     678m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
     679AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
     680AC_REQUIRE([AC_PROG_INSTALL])dnl
     681# test to see if srcdir already configured
     682if test "`cd $srcdir && pwd`" != "`pwd`" &&
     683   test -f $srcdir/config.status; then
     684  AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
     685fi
     686
     687# test whether we have cygpath
     688if test -z "$CYGPATH_W"; then
     689  if (cygpath --version) >/dev/null 2>/dev/null; then
     690    CYGPATH_W='cygpath -w'
     691  else
     692    CYGPATH_W=echo
     693  fi
     694fi
     695AC_SUBST([CYGPATH_W])
     696
     697# Define the identity of the package.
     698dnl Distinguish between old-style and new-style calls.
     699m4_ifval([$2],
     700[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
     701 AC_SUBST([PACKAGE], [$1])dnl
     702 AC_SUBST([VERSION], [$2])],
     703[_AM_SET_OPTIONS([$1])dnl
     704 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
     705 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
     706
     707_AM_IF_OPTION([no-define],,
     708[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
     709 AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
     710
     711# Some tools Automake needs.
     712AC_REQUIRE([AM_SANITY_CHECK])dnl
     713AC_REQUIRE([AC_ARG_PROGRAM])dnl
     714AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
     715AM_MISSING_PROG(AUTOCONF, autoconf)
     716AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
     717AM_MISSING_PROG(AUTOHEADER, autoheader)
     718AM_MISSING_PROG(MAKEINFO, makeinfo)
     719AM_MISSING_PROG(AMTAR, tar)
     720AM_PROG_INSTALL_SH
     721AM_PROG_INSTALL_STRIP
     722AC_REQUIRE([AM_PROG_MKDIR_P])dnl
     723# We need awk for the "check" target.  The system "awk" is bad on
     724# some platforms.
     725AC_REQUIRE([AC_PROG_AWK])dnl
     726AC_REQUIRE([AC_PROG_MAKE_SET])dnl
     727AC_REQUIRE([AM_SET_LEADING_DOT])dnl
     728
     729_AM_IF_OPTION([no-dependencies],,
     730[AC_PROVIDE_IFELSE([AC_PROG_CC],
     731                  [_AM_DEPENDENCIES(CC)],
     732                  [define([AC_PROG_CC],
     733                          defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
     734AC_PROVIDE_IFELSE([AC_PROG_CXX],
     735                  [_AM_DEPENDENCIES(CXX)],
     736                  [define([AC_PROG_CXX],
     737                          defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
     738])
     739])
     740
     741
     742# When config.status generates a header, we must update the stamp-h file.
     743# This file resides in the same directory as the config header
     744# that is generated.  The stamp files are numbered to have different names.
     745
     746# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
     747# loop where config.status creates the headers, so we can generate
     748# our stamp files there.
     749AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
     750[# Compute $1's index in $config_headers.
     751_am_stamp_count=1
     752for _am_header in $config_headers :; do
     753  case $_am_header in
     754    $1 | $1:* )
     755      break ;;
     756    * )
     757      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
     758  esac
     759done
     760echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
     761
     762# AM_PROG_INSTALL_SH
     763# ------------------
     764# Define $install_sh.
     765
     766# Copyright (C) 2001, 2003 Free Software Foundation, Inc.
     767
     768# This program is free software; you can redistribute it and/or modify
     769# it under the terms of the GNU General Public License as published by
     770# the Free Software Foundation; either version 2, or (at your option)
     771# any later version.
     772
     773# This program is distributed in the hope that it will be useful,
     774# but WITHOUT ANY WARRANTY; without even the implied warranty of
     775# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     776# GNU General Public License for more details.
     777
     778# You should have received a copy of the GNU General Public License
     779# along with this program; if not, write to the Free Software
     780# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
     781# 02111-1307, USA.
     782
     783AC_DEFUN([AM_PROG_INSTALL_SH],
     784[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
     785install_sh=${install_sh-"$am_aux_dir/install-sh"}
     786AC_SUBST(install_sh)])
     787
     788#                                                          -*- Autoconf -*-
     789# Copyright (C) 2003  Free Software Foundation, Inc.
     790
     791# This program is free software; you can redistribute it and/or modify
     792# it under the terms of the GNU General Public License as published by
     793# the Free Software Foundation; either version 2, or (at your option)
     794# any later version.
     795
     796# This program is distributed in the hope that it will be useful,
     797# but WITHOUT ANY WARRANTY; without even the implied warranty of
     798# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     799# GNU General Public License for more details.
     800
     801# You should have received a copy of the GNU General Public License
     802# along with this program; if not, write to the Free Software
     803# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
     804# 02111-1307, USA.
     805
     806# serial 1
     807
     808# Check whether the underlying file-system supports filenames
     809# with a leading dot.  For instance MS-DOS doesn't.
     810AC_DEFUN([AM_SET_LEADING_DOT],
     811[rm -rf .tst 2>/dev/null
     812mkdir .tst 2>/dev/null
     813if test -d .tst; then
     814  am__leading_dot=.
     815else
     816  am__leading_dot=_
     817fi
     818rmdir .tst 2>/dev/null
     819AC_SUBST([am__leading_dot])])
    728820
    729821# Check to see how 'make' treats includes.      -*- Autoconf -*-
     
    790882])
    791883
    792 # AM_CONDITIONAL                                              -*- Autoconf -*-
    793 
    794 # Copyright 1997, 2000, 2001 Free Software Foundation, Inc.
    795 
    796 # This program is free software; you can redistribute it and/or modify
    797 # it under the terms of the GNU General Public License as published by
    798 # the Free Software Foundation; either version 2, or (at your option)
    799 # any later version.
    800 
    801 # This program is distributed in the hope that it will be useful,
    802 # but WITHOUT ANY WARRANTY; without even the implied warranty of
    803 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    804 # GNU General Public License for more details.
    805 
    806 # You should have received a copy of the GNU General Public License
    807 # along with this program; if not, write to the Free Software
    808 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
    809 # 02111-1307, USA.
    810 
    811 # serial 5
    812 
    813 AC_PREREQ(2.52)
    814 
    815 # AM_CONDITIONAL(NAME, SHELL-CONDITION)
    816 # -------------------------------------
    817 # Define a conditional.
    818 AC_DEFUN([AM_CONDITIONAL],
    819 [ifelse([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])],
    820         [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
    821 AC_SUBST([$1_TRUE])
    822 AC_SUBST([$1_FALSE])
    823 if $2; then
    824   $1_TRUE=
    825   $1_FALSE='#'
     884#  -*- Autoconf -*-
     885
     886
     887# Copyright (C) 1997, 1999, 2000, 2001, 2003 Free Software Foundation, Inc.
     888
     889# This program is free software; you can redistribute it and/or modify
     890# it under the terms of the GNU General Public License as published by
     891# the Free Software Foundation; either version 2, or (at your option)
     892# any later version.
     893
     894# This program is distributed in the hope that it will be useful,
     895# but WITHOUT ANY WARRANTY; without even the implied warranty of
     896# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     897# GNU General Public License for more details.
     898
     899# You should have received a copy of the GNU General Public License
     900# along with this program; if not, write to the Free Software
     901# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
     902# 02111-1307, USA.
     903
     904# serial 3
     905
     906# AM_MISSING_PROG(NAME, PROGRAM)
     907# ------------------------------
     908AC_DEFUN([AM_MISSING_PROG],
     909[AC_REQUIRE([AM_MISSING_HAS_RUN])
     910$1=${$1-"${am_missing_run}$2"}
     911AC_SUBST($1)])
     912
     913
     914# AM_MISSING_HAS_RUN
     915# ------------------
     916# Define MISSING if not defined so far and test if it supports --run.
     917# If it does, set am_missing_run to use it, otherwise, to nothing.
     918AC_DEFUN([AM_MISSING_HAS_RUN],
     919[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
     920test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
     921# Use eval to expand $SHELL
     922if eval "$MISSING --run true"; then
     923  am_missing_run="$MISSING --run "
    826924else
    827   $1_TRUE='#'
    828   $1_FALSE=
     925  am_missing_run=
     926  AC_MSG_WARN([`missing' script is too old or missing])
    829927fi
    830 AC_CONFIG_COMMANDS_PRE(
    831 [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
    832   AC_MSG_ERROR([conditional "$1" was never defined.
    833 Usually this means the macro was only invoked conditionally.])
    834 fi])])
    835 
    836 # Configure paths for SDL
    837 # Sam Lantinga 9/21/99
    838 # stolen from Manish Singh
    839 # stolen back from Frank Belew
    840 # stolen from Manish Singh
    841 # Shamelessly stolen from Owen Taylor
    842 
    843 dnl AM_PATH_SDL([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
    844 dnl Test for SDL, and define SDL_CFLAGS and SDL_LIBS
    845 dnl
    846 AC_DEFUN([AM_PATH_SDL],
    847 [dnl
    848 dnl Get the cflags and libraries from the sdl-config script
    849 dnl
    850 AC_ARG_WITH(sdl-prefix,[  --with-sdl-prefix=PFX   Prefix where SDL is installed (optional)],
    851             sdl_prefix="$withval", sdl_prefix="")
    852 AC_ARG_WITH(sdl-exec-prefix,[  --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)],
    853             sdl_exec_prefix="$withval", sdl_exec_prefix="")
    854 AC_ARG_ENABLE(sdltest, [  --disable-sdltest       Do not try to compile and run a test SDL program],
    855                     , enable_sdltest=yes)
    856 
    857   if test x$sdl_exec_prefix != x ; then
    858      sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
    859      if test x${SDL_CONFIG+set} != xset ; then
    860         SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
    861      fi
     928])
     929
     930# AM_PROG_MKDIR_P
     931# ---------------
     932# Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise.
     933
     934# Copyright (C) 2003, 2004 Free Software Foundation, Inc.
     935
     936# This program is free software; you can redistribute it and/or modify
     937# it under the terms of the GNU General Public License as published by
     938# the Free Software Foundation; either version 2, or (at your option)
     939# any later version.
     940
     941# This program is distributed in the hope that it will be useful,
     942# but WITHOUT ANY WARRANTY; without even the implied warranty of
     943# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     944# GNU General Public License for more details.
     945
     946# You should have received a copy of the GNU General Public License
     947# along with this program; if not, write to the Free Software
     948# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
     949# 02111-1307, USA.
     950
     951# Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories
     952# created by `make install' are always world readable, even if the
     953# installer happens to have an overly restrictive umask (e.g. 077).
     954# This was a mistake.  There are at least two reasons why we must not
     955# use `-m 0755':
     956#   - it causes special bits like SGID to be ignored,
     957#   - it may be too restrictive (some setups expect 775 directories).
     958#
     959# Do not use -m 0755 and let people choose whatever they expect by
     960# setting umask.
     961#
     962# We cannot accept any implementation of `mkdir' that recognizes `-p'.
     963# Some implementations (such as Solaris 8's) are not thread-safe: if a
     964# parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c'
     965# concurrently, both version can detect that a/ is missing, but only
     966# one can create it and the other will error out.  Consequently we
     967# restrict ourselves to GNU make (using the --version option ensures
     968# this.)
     969AC_DEFUN([AM_PROG_MKDIR_P],
     970[if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
     971  # Keeping the `.' argument allows $(mkdir_p) to be used without
     972  # argument.  Indeed, we sometimes output rules like
     973  #   $(mkdir_p) $(somedir)
     974  # where $(somedir) is conditionally defined.
     975  # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more
     976  # expensive solution, as it forces Make to start a sub-shell.)
     977  mkdir_p='mkdir -p -- .'
     978else
     979  # On NextStep and OpenStep, the `mkdir' command does not
     980  # recognize any option.  It will interpret all options as
     981  # directories to create, and then abort because `.' already
     982  # exists.
     983  for d in ./-p ./--version;
     984  do
     985    test -d $d && rmdir $d
     986  done
     987  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
     988  if test -f "$ac_aux_dir/mkinstalldirs"; then
     989    mkdir_p='$(mkinstalldirs)'
     990  else
     991    mkdir_p='$(install_sh) -d'
    862992  fi
    863   if test x$sdl_prefix != x ; then
    864      sdl_args="$sdl_args --prefix=$sdl_prefix"
    865      if test x${SDL_CONFIG+set} != xset ; then
    866         SDL_CONFIG=$sdl_prefix/bin/sdl-config
    867      fi
    868   fi
    869 
    870   AC_REQUIRE([AC_CANONICAL_TARGET])
    871   PATH="$prefix/bin:$prefix/usr/bin:$PATH"
    872   AC_PATH_PROG(SDL_CONFIG, sdl-config, no, [$PATH])
    873   min_sdl_version=ifelse([$1], ,0.11.0,$1)
    874   AC_MSG_CHECKING(for SDL - version >= $min_sdl_version)
    875   no_sdl=""
    876   if test "$SDL_CONFIG" = "no" ; then
    877     no_sdl=yes
    878   else
    879     SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
    880     SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
    881 
    882     sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
    883            sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
    884     sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
    885            sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
    886     sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
    887            sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
    888     if test "x$enable_sdltest" = "xyes" ; then
    889       ac_save_CFLAGS="$CFLAGS"
    890       ac_save_LIBS="$LIBS"
    891       CFLAGS="$CFLAGS $SDL_CFLAGS"
    892       LIBS="$LIBS $SDL_LIBS"
    893 dnl
    894 dnl Now check if the installed SDL is sufficiently new. (Also sanity
    895 dnl checks the results of sdl-config to some extent
    896 dnl
    897       rm -f conf.sdltest
    898       AC_TRY_RUN([
    899 #include <stdio.h>
    900 #include <stdlib.h>
    901 #include <string.h>
    902 #include "SDL.h"
    903 
    904 char*
    905 my_strdup (char *str)
    906 {
    907   char *new_str;
    908  
    909   if (str)
    910     {
    911       new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
    912       strcpy (new_str, str);
    913     }
    914   else
    915     new_str = NULL;
    916  
    917   return new_str;
    918 }
    919 
    920 int main (int argc, char *argv[])
    921 {
    922   int major, minor, micro;
    923   char *tmp_version;
    924 
    925   /* This hangs on some systems (?)
    926   system ("touch conf.sdltest");
    927   */
    928   { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
    929 
    930   /* HP/UX 9 (%@#!) writes to sscanf strings */
    931   tmp_version = my_strdup("$min_sdl_version");
    932   if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
    933      printf("%s, bad version string\n", "$min_sdl_version");
    934      exit(1);
    935    }
    936 
    937    if (($sdl_major_version > major) ||
    938       (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
    939       (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
    940     {
    941       return 0;
    942     }
    943   else
    944     {
    945       printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
    946       printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
    947       printf("*** best to upgrade to the required version.\n");
    948       printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
    949       printf("*** to point to the correct copy of sdl-config, and remove the file\n");
    950       printf("*** config.cache before re-running configure\n");
    951       return 1;
    952     }
    953 }
    954 
    955 ],, no_sdl=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
    956        CFLAGS="$ac_save_CFLAGS"
    957        LIBS="$ac_save_LIBS"
    958      fi
    959   fi
    960   if test "x$no_sdl" = x ; then
    961      AC_MSG_RESULT(yes)
    962      ifelse([$2], , :, [$2])     
    963   else
    964      AC_MSG_RESULT(no)
    965      if test "$SDL_CONFIG" = "no" ; then
    966        echo "*** The sdl-config script installed by SDL could not be found"
    967        echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
    968        echo "*** your path, or set the SDL_CONFIG environment variable to the"
    969        echo "*** full path to sdl-config."
    970      else
    971        if test -f conf.sdltest ; then
    972         :
    973        else
    974           echo "*** Could not run SDL test program, checking why..."
    975           CFLAGS="$CFLAGS $SDL_CFLAGS"
    976           LIBS="$LIBS $SDL_LIBS"
    977           AC_TRY_LINK([
    978 #include <stdio.h>
    979 #include "SDL.h"
    980 
    981 int main(int argc, char *argv[])
    982 { return 0; }
    983 #undef  main
    984 #define main K_and_R_C_main
    985 ],      [ return 0; ],
    986         [ echo "*** The test program compiled, but did not run. This usually means"
    987           echo "*** that the run-time linker is not finding SDL or finding the wrong"
    988           echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
    989           echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
    990           echo "*** to the installed location  Also, make sure you have run ldconfig if that"
    991           echo "*** is required on your system"
    992           echo "***"
    993           echo "*** If you have an old version installed, it is best to remove it, although"
    994           echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"],
    995         [ echo "*** The test program failed to compile or link. See the file config.log for the"
    996           echo "*** exact error that occured. This usually means SDL was incorrectly installed"
    997           echo "*** or that you have moved SDL since it was installed. In the latter case, you"
    998           echo "*** may want to edit the sdl-config script: $SDL_CONFIG" ])
    999           CFLAGS="$ac_save_CFLAGS"
    1000           LIBS="$ac_save_LIBS"
    1001        fi
    1002      fi
    1003      SDL_CFLAGS=""
    1004      SDL_LIBS=""
    1005      ifelse([$3], , :, [$3])
    1006   fi
    1007   AC_SUBST(SDL_CFLAGS)
    1008   AC_SUBST(SDL_LIBS)
    1009   rm -f conf.sdltest
    1010 ])
    1011 
    1012 
    1013 dnl PKG_CHECK_MODULES(GSTUFF, gtk+-2.0 >= 1.3 glib = 1.3.4, action-if, action-not)
    1014 dnl defines GSTUFF_LIBS, GSTUFF_CFLAGS, see pkg-config man page
    1015 dnl also defines GSTUFF_PKG_ERRORS on error
    1016 AC_DEFUN(PKG_CHECK_MODULES, [
    1017   succeeded=no
    1018 
    1019   if test -z "$PKG_CONFIG"; then
    1020     AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
    1021   fi
    1022 
    1023   if test "$PKG_CONFIG" = "no" ; then
    1024      echo "*** The pkg-config script could not be found. Make sure it is"
    1025      echo "*** in your path, or set the PKG_CONFIG environment variable"
    1026      echo "*** to the full path to pkg-config."
    1027      echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
    1028   else
    1029      PKG_CONFIG_MIN_VERSION=0.9.0
    1030      if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
    1031         AC_MSG_CHECKING(for $2)
    1032 
    1033         if $PKG_CONFIG --exists "$2" ; then
    1034             AC_MSG_RESULT(yes)
    1035             succeeded=yes
    1036 
    1037             AC_MSG_CHECKING($1_CFLAGS)
    1038             $1_CFLAGS=`$PKG_CONFIG --cflags "$2"`
    1039             AC_MSG_RESULT($$1_CFLAGS)
    1040 
    1041             AC_MSG_CHECKING($1_LIBS)
    1042             $1_LIBS=`$PKG_CONFIG --libs "$2"`
    1043             AC_MSG_RESULT($$1_LIBS)
    1044         else
    1045             $1_CFLAGS=""
    1046             $1_LIBS=""
    1047             ## If we have a custom action on failure, don't print errors, but
    1048             ## do set a variable so people can do so.
    1049             $1_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"`
    1050             ifelse([$4], ,echo $$1_PKG_ERRORS,)
    1051         fi
    1052 
    1053         AC_SUBST($1_CFLAGS)
    1054         AC_SUBST($1_LIBS)
    1055      else
    1056         echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
    1057         echo "*** See http://www.freedesktop.org/software/pkgconfig"
    1058      fi
    1059   fi
    1060 
    1061   if test $succeeded = yes; then
    1062      ifelse([$3], , :, [$3])
    1063   else
    1064      ifelse([$4], , AC_MSG_ERROR([Library requirements ($2) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.]), [$4])
    1065   fi
    1066 ])
    1067 
    1068 
    1069 
     993fi
     994AC_SUBST([mkdir_p])])
     995
     996# Helper functions for option handling.                    -*- Autoconf -*-
     997
     998# Copyright (C) 2001, 2002, 2003  Free Software Foundation, Inc.
     999
     1000# This program is free software; you can redistribute it and/or modify
     1001# it under the terms of the GNU General Public License as published by
     1002# the Free Software Foundation; either version 2, or (at your option)
     1003# any later version.
     1004
     1005# This program is distributed in the hope that it will be useful,
     1006# but WITHOUT ANY WARRANTY; without even the implied warranty of
     1007# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     1008# GNU General Public License for more details.
     1009
     1010# You should have received a copy of the GNU General Public License
     1011# along with this program; if not, write to the Free Software
     1012# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
     1013# 02111-1307, USA.
     1014
     1015# serial 2
     1016
     1017# _AM_MANGLE_OPTION(NAME)
     1018# -----------------------
     1019AC_DEFUN([_AM_MANGLE_OPTION],
     1020[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
     1021
     1022# _AM_SET_OPTION(NAME)
     1023# ------------------------------
     1024# Set option NAME.  Presently that only means defining a flag for this option.
     1025AC_DEFUN([_AM_SET_OPTION],
     1026[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
     1027
     1028# _AM_SET_OPTIONS(OPTIONS)
     1029# ----------------------------------
     1030# OPTIONS is a space-separated list of Automake options.
     1031AC_DEFUN([_AM_SET_OPTIONS],
     1032[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
     1033
     1034# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
     1035# -------------------------------------------
     1036# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
     1037AC_DEFUN([_AM_IF_OPTION],
     1038[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
     1039
     1040#
     1041# Check to make sure that the build environment is sane.
     1042#
     1043
     1044# Copyright (C) 1996, 1997, 2000, 2001, 2003 Free Software Foundation, Inc.
     1045
     1046# This program is free software; you can redistribute it and/or modify
     1047# it under the terms of the GNU General Public License as published by
     1048# the Free Software Foundation; either version 2, or (at your option)
     1049# any later version.
     1050
     1051# This program is distributed in the hope that it will be useful,
     1052# but WITHOUT ANY WARRANTY; without even the implied warranty of
     1053# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     1054# GNU General Public License for more details.
     1055
     1056# You should have received a copy of the GNU General Public License
     1057# along with this program; if not, write to the Free Software
     1058# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
     1059# 02111-1307, USA.
     1060
     1061# serial 3
     1062
     1063# AM_SANITY_CHECK
     1064# ---------------
     1065AC_DEFUN([AM_SANITY_CHECK],
     1066[AC_MSG_CHECKING([whether build environment is sane])
     1067# Just in case
     1068sleep 1
     1069echo timestamp > conftest.file
     1070# Do `set' in a subshell so we don't clobber the current shell's
     1071# arguments.  Must try -L first in case configure is actually a
     1072# symlink; some systems play weird games with the mod time of symlinks
     1073# (eg FreeBSD returns the mod time of the symlink's containing
     1074# directory).
     1075if (
     1076   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
     1077   if test "$[*]" = "X"; then
     1078      # -L didn't work.
     1079      set X `ls -t $srcdir/configure conftest.file`
     1080   fi
     1081   rm -f conftest.file
     1082   if test "$[*]" != "X $srcdir/configure conftest.file" \
     1083      && test "$[*]" != "X conftest.file $srcdir/configure"; then
     1084
     1085      # If neither matched, then we have a broken ls.  This can happen
     1086      # if, for instance, CONFIG_SHELL is bash and it inherits a
     1087      # broken ls alias from the environment.  This has actually
     1088      # happened.  Such a system could not be considered "sane".
     1089      AC_MSG_ERROR([ls -t appears to fail.  Make sure there is not a broken
     1090alias in your environment])
     1091   fi
     1092
     1093   test "$[2]" = conftest.file
     1094   )
     1095then
     1096   # Ok.
     1097   :
     1098else
     1099   AC_MSG_ERROR([newly created file is older than distributed files!
     1100Check your system clock])
     1101fi
     1102AC_MSG_RESULT(yes)])
     1103
     1104# AM_PROG_INSTALL_STRIP
     1105
     1106# Copyright (C) 2001, 2003 Free Software Foundation, Inc.
     1107
     1108# This program is free software; you can redistribute it and/or modify
     1109# it under the terms of the GNU General Public License as published by
     1110# the Free Software Foundation; either version 2, or (at your option)
     1111# any later version.
     1112
     1113# This program is distributed in the hope that it will be useful,
     1114# but WITHOUT ANY WARRANTY; without even the implied warranty of
     1115# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     1116# GNU General Public License for more details.
     1117
     1118# You should have received a copy of the GNU General Public License
     1119# along with this program; if not, write to the Free Software
     1120# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
     1121# 02111-1307, USA.
     1122
     1123# One issue with vendor `install' (even GNU) is that you can't
     1124# specify the program used to strip binaries.  This is especially
     1125# annoying in cross-compiling environments, where the build's strip
     1126# is unlikely to handle the host's binaries.
     1127# Fortunately install-sh will honor a STRIPPROG variable, so we
     1128# always use install-sh in `make install-strip', and initialize
     1129# STRIPPROG with the value of the STRIP variable (set by the user).
     1130AC_DEFUN([AM_PROG_INSTALL_STRIP],
     1131[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
     1132# Installed binaries are usually stripped using `strip' when the user
     1133# run `make install-strip'.  However `strip' might not be the right
     1134# tool to use in cross-compilation environments, therefore Automake
     1135# will honor the `STRIP' environment variable to overrule this program.
     1136dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
     1137if test "$cross_compiling" != no; then
     1138  AC_CHECK_TOOL([STRIP], [strip], :)
     1139fi
     1140INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
     1141AC_SUBST([INSTALL_STRIP_PROGRAM])])
     1142
  • orxonox/branches/osX/configure

    r2985 r2993  
    11#! /bin/sh
    22# Guess values for system-dependent variables and create Makefiles.
    3 # Generated by GNU Autoconf 2.57 for orxonox 0.1-pre-alpha.
     3# Generated by GNU Autoconf 2.59 for orxonox 0.1-pre-alpha.
    44#
    55# Report bugs to <orxonox-dev@mail.datacore.ch>.
    66#
    7 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
    8 # Free Software Foundation, Inc.
     7# Copyright (C) 2003 Free Software Foundation, Inc.
    98# This configure script is free software; the Free Software Foundation
    109# gives unlimited permission to copy, distribute and modify it.
     
    2322  set -o posix
    2423fi
     24DUALCASE=1; export DUALCASE # for MKS sh
    2525
    2626# Support unset when possible.
    27 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
     27if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
    2828  as_unset=unset
    2929else
     
    4444  LC_TELEPHONE LC_TIME
    4545do
    46   if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
     46  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
    4747    eval $as_var=C; export $as_var
    4848  else
     
    221221  as_mkdir_p=:
    222222else
     223  test -d ./-p && rmdir ./-p
    223224  as_mkdir_p=false
    224225fi
     
    227228
    228229# Sed expression to map a string onto a valid CPP name.
    229 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
     230as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    230231
    231232# Sed expression to map a string onto a valid variable name.
    232 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
     233as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    233234
    234235
     
    311312#endif"
    312313
    313 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CC CFLAGS ac_ct_CC CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP SDL_CONFIG SDL_CFLAGS SDL_LIBS MSBITFIELDS PKG_CONFIG GTK2_CFLAGS GTK2_LIBS HAVE_GTK2_TRUE HAVE_GTK2_FALSE LIBOBJS LTLIBOBJS'
     314ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CC CFLAGS ac_ct_CC CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP SDL_CONFIG SDL_CFLAGS SDL_LIBS MSBITFIELDS PKG_CONFIG GTK2_CFLAGS GTK2_LIBS HAVE_GTK2_TRUE HAVE_GTK2_FALSE LIBOBJS LTLIBOBJS'
    314315ac_subst_files=''
    315316
     
    670671# Be sure to have absolute paths.
    671672for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
    672               localstatedir libdir includedir oldincludedir infodir mandir
     673              localstatedir libdir includedir oldincludedir infodir mandir
    673674do
    674675  eval ac_val=$`echo $ac_var`
     
    710711  ac_confdir=`(dirname "$0") 2>/dev/null ||
    711712$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    712         X"$0" : 'X\(//\)[^/]' \| \
    713         X"$0" : 'X\(//\)$' \| \
    714         X"$0" : 'X\(/\)' \| \
    715         .     : '\(.\)' 2>/dev/null ||
     713        X"$0" : 'X\(//\)[^/]' \| \
     714        X"$0" : 'X\(//\)$' \| \
     715        X"$0" : 'X\(/\)' \| \
     716        .     : '\(.\)' 2>/dev/null ||
    716717echo X"$0" |
    717718    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     
    813814Installation directories:
    814815  --prefix=PREFIX         install architecture-independent files in PREFIX
    815                           [$ac_default_prefix]
     816                          [$ac_default_prefix]
    816817  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
    817                           [PREFIX]
     818                          [PREFIX]
    818819
    819820By default, \`make install' will install all the files in
     
    862863  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
    863864  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
    864   --disable-dependency-tracking Speeds up one-time builds
    865   --enable-dependency-tracking  Do not reject slow dependency extractors
     865  --disable-dependency-tracking  speeds up one-time build
     866  --enable-dependency-tracking   do not reject slow dependency extractors
    866867  --disable-sdltest       Do not try to compile and run a test SDL program
    867868
     
    920921    ac_top_srcdir=$ac_top_builddir$srcdir ;;
    921922esac
    922 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
    923 # absolute.
    924 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
    925 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
    926 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
    927 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
     923
     924# Do not use `cd foo && pwd` to compute absolute paths, because
     925# the directories may not exist.
     926case `pwd` in
     927.) ac_abs_builddir="$ac_dir";;
     928*)
     929  case "$ac_dir" in
     930  .) ac_abs_builddir=`pwd`;;
     931  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
     932  *) ac_abs_builddir=`pwd`/"$ac_dir";;
     933  esac;;
     934esac
     935case $ac_abs_builddir in
     936.) ac_abs_top_builddir=${ac_top_builddir}.;;
     937*)
     938  case ${ac_top_builddir}. in
     939  .) ac_abs_top_builddir=$ac_abs_builddir;;
     940  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
     941  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
     942  esac;;
     943esac
     944case $ac_abs_builddir in
     945.) ac_abs_srcdir=$ac_srcdir;;
     946*)
     947  case $ac_srcdir in
     948  .) ac_abs_srcdir=$ac_abs_builddir;;
     949  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
     950  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
     951  esac;;
     952esac
     953case $ac_abs_builddir in
     954.) ac_abs_top_srcdir=$ac_top_srcdir;;
     955*)
     956  case $ac_top_srcdir in
     957  .) ac_abs_top_srcdir=$ac_abs_builddir;;
     958  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
     959  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
     960  esac;;
     961esac
    928962
    929963    cd $ac_dir
     
    936970      $SHELL $ac_srcdir/configure  --help=recursive
    937971    elif test -f $ac_srcdir/configure.ac ||
    938            test -f $ac_srcdir/configure.in; then
     972           test -f $ac_srcdir/configure.in; then
    939973      echo
    940974      $ac_configure --help
     
    950984  cat <<\_ACEOF
    951985orxonox configure 0.1-pre-alpha
    952 generated by GNU Autoconf 2.57
    953 
    954 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
    955 Free Software Foundation, Inc.
     986generated by GNU Autoconf 2.59
     987
     988Copyright (C) 2003 Free Software Foundation, Inc.
    956989This configure script is free software; the Free Software Foundation
    957990gives unlimited permission to copy, distribute and modify it.
     
    965998
    966999It was created by orxonox $as_me 0.1-pre-alpha, which was
    967 generated by GNU Autoconf 2.57.  Invocation command line was
     1000generated by GNU Autoconf 2.59.  Invocation command line was
    9681001
    9691002  $ $0 $@
     
    10421075      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
    10431076      if test $ac_must_keep_next = true; then
    1044         ac_must_keep_next=false # Got value, back to normal.
     1077        ac_must_keep_next=false # Got value, back to normal.
    10451078      else
    1046         case $ac_arg in
    1047           *=* | --config-cache | -C | -disable-* | --disable-* \
    1048           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
    1049           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
    1050           | -with-* | --with-* | -without-* | --without-* | --x)
    1051             case "$ac_configure_args0 " in
    1052               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
    1053             esac
    1054             ;;
    1055           -* ) ac_must_keep_next=true ;;
    1056         esac
     1079        case $ac_arg in
     1080          *=* | --config-cache | -C | -disable-* | --disable-* \
     1081          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
     1082          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
     1083          | -with-* | --with-* | -without-* | --without-* | --x)
     1084            case "$ac_configure_args0 " in
     1085              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
     1086            esac
     1087            ;;
     1088          -* ) ac_must_keep_next=true ;;
     1089        esac
    10571090      fi
    10581091      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
     
    10881121    *ac_space=\ *)
    10891122      sed -n \
    1090         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
    1091           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
     1123        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
     1124          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
    10921125      ;;
    10931126    *)
    10941127      sed -n \
    1095         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
     1128        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
    10961129      ;;
    10971130    esac;
     
    11221155      do
    11231156        eval ac_val=$`echo $ac_var`
    1124         echo "$ac_var='"'"'$ac_val'"'"'"
     1157        echo "$ac_var='"'"'$ac_val'"'"'"
    11251158      done | sort
    11261159      echo
     
    11411174    echo "$as_me: exit $exit_status"
    11421175  } >&5
    1143   rm -f core core.* *.core &&
     1176  rm -f core *.core &&
    11441177  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
    11451178    exit $exit_status
     
    12211254ac_cache_corrupted=false
    12221255for ac_var in `(set) 2>&1 |
    1223                sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
     1256               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
    12241257  eval ac_old_set=\$ac_cv_env_${ac_var}_set
    12251258  eval ac_new_set=\$ac_env_${ac_var}_set
     
    12381271    *)
    12391272      if test "x$ac_old_val" != "x$ac_new_val"; then
    1240         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
     1273        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
    12411274echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
    1242         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
     1275        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
    12431276echo "$as_me:   former value:  $ac_old_val" >&2;}
    1244         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
     1277        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
    12451278echo "$as_me:   current value: $ac_new_val" >&2;}
    1246         ac_cache_corrupted=:
     1279        ac_cache_corrupted=:
    12471280      fi;;
    12481281  esac
     
    14111444
    14121445
    1413 am__api_version="1.7"
     1446am__api_version="1.8"
    14141447# Find a good install program.  We prefer a C program (faster),
    14151448# so one script is as good as another.  But avoid the broken or
     
    14231456# AFS /usr/afsws/bin/install, which mishandles nonexistent args
    14241457# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
     1458# OS/2's system install, which has a completely different semantic
    14251459# ./install, which can be erroneously created by make from ./install.sh.
    14261460echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
     
    14391473  ./ | .// | /cC/* | \
    14401474  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
     1475  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
    14411476  /usr/ucb/* ) ;;
    14421477  *)
     
    14461481    for ac_prog in ginstall scoinst install; do
    14471482      for ac_exec_ext in '' $ac_executable_extensions; do
    1448         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
    1449           if test $ac_prog = install &&
    1450             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
    1451             # AIX install.  It has an incompatible calling convention.
    1452             :
    1453           elif test $ac_prog = install &&
    1454             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
    1455             # program-specific install script used by HP pwplus--don't use.
    1456             :
    1457           else
    1458             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
    1459             break 3
    1460           fi
    1461         fi
     1483        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
     1484          if test $ac_prog = install &&
     1485            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
     1486            # AIX install.  It has an incompatible calling convention.
     1487            :
     1488          elif test $ac_prog = install &&
     1489            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
     1490            # program-specific install script used by HP pwplus--don't use.
     1491            :
     1492          else
     1493            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
     1494            break 3
     1495          fi
     1496        fi
    14621497      done
    14631498    done
     
    15471582rm conftest.sed
    15481583
    1549 
    15501584# expand $ac_aux_dir to an absolute path
    15511585am_aux_dir=`cd $ac_aux_dir && pwd`
     
    15591593  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
    15601594echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
     1595fi
     1596
     1597if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
     1598  # Keeping the `.' argument allows $(mkdir_p) to be used without
     1599  # argument.  Indeed, we sometimes output rules like
     1600  #   $(mkdir_p) $(somedir)
     1601  # where $(somedir) is conditionally defined.
     1602  # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more
     1603  # expensive solution, as it forces Make to start a sub-shell.)
     1604  mkdir_p='mkdir -p -- .'
     1605else
     1606  # On NextStep and OpenStep, the `mkdir' command does not
     1607  # recognize any option.  It will interpret all options as
     1608  # directories to create, and then abort because `.' already
     1609  # exists.
     1610  for d in ./-p ./--version;
     1611  do
     1612    test -d $d && rmdir $d
     1613  done
     1614  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
     1615  if test -f "$ac_aux_dir/mkinstalldirs"; then
     1616    mkdir_p='$(mkinstalldirs)'
     1617  else
     1618    mkdir_p='$(install_sh) -d'
     1619  fi
    15611620fi
    15621621
     
    16031662echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
    16041663echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
    1605 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
     1664set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
    16061665if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
    16071666  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    16391698rmdir .tst 2>/dev/null
    16401699
    1641  # test to see if srcdir already configured
     1700# test to see if srcdir already configured
    16421701if test "`cd $srcdir && pwd`" != "`pwd`" &&
    16431702   test -f $srcdir/config.status; then
     
    19061965
    19071966cat >conftest.$ac_ext <<_ACEOF
    1908 #line $LINENO "configure"
    19091967/* confdefs.h.  */
    19101968_ACEOF
     
    19261984# It will help us diagnose broken compilers, and finding out an intuition
    19271985# of exeext.
    1928 echo "$as_me:$LINENO: checking for C++ compiler default output" >&5
    1929 echo $ECHO_N "checking for C++ compiler default output... $ECHO_C" >&6
     1986echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
     1987echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6
    19301988ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
    19311989if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
     
    19472005  case $ac_file in
    19482006    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
    1949         ;;
     2007        ;;
    19502008    conftest.$ac_ext )
    1951         # This is the source file.
    1952         ;;
     2009        # This is the source file.
     2010        ;;
    19532011    [ab].out )
    1954         # We found the default executable, but exeext='' is most
    1955         # certainly right.
    1956         break;;
     2012        # We found the default executable, but exeext='' is most
     2013        # certainly right.
     2014        break;;
    19572015    *.* )
    1958         ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
    1959         # FIXME: I believe we export ac_cv_exeext for Libtool,
    1960         # but it would be cool to find out if it's true.  Does anybody
    1961         # maintain Libtool? --akim.
    1962         export ac_cv_exeext
    1963         break;;
     2016        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
     2017        # FIXME: I believe we export ac_cv_exeext for Libtool,
     2018        # but it would be cool to find out if it's true.  Does anybody
     2019        # maintain Libtool? --akim.
     2020        export ac_cv_exeext
     2021        break;;
    19642022    * )
    1965         break;;
     2023        break;;
    19662024  esac
    19672025done
     
    20372095    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
    20382096    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
    2039           export ac_cv_exeext
    2040           break;;
     2097          export ac_cv_exeext
     2098          break;;
    20412099    * ) break;;
    20422100  esac
     
    20632121else
    20642122  cat >conftest.$ac_ext <<_ACEOF
    2065 #line $LINENO "configure"
    20662123/* confdefs.h.  */
    20672124_ACEOF
     
    21142171else
    21152172  cat >conftest.$ac_ext <<_ACEOF
    2116 #line $LINENO "configure"
    21172173/* confdefs.h.  */
    21182174_ACEOF
     
    21342190rm -f conftest.$ac_objext
    21352191if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2136   (eval $ac_compile) 2>&5
    2137   ac_status=$?
     2192  (eval $ac_compile) 2>conftest.er1
     2193  ac_status=$?
     2194  grep -v '^ *+' conftest.er1 >conftest.err
     2195  rm -f conftest.er1
     2196  cat conftest.err >&5
    21382197  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    21392198  (exit $ac_status); } &&
    2140          { ac_try='test -s conftest.$ac_objext'
     2199         { ac_try='test -z "$ac_cxx_werror_flag"
     2200                         || test ! -s conftest.err'
    21412201  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    21422202  (eval $ac_try) 2>&5
    21432203  ac_status=$?
    21442204  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2205  (exit $ac_status); }; } &&
     2206         { ac_try='test -s conftest.$ac_objext'
     2207  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2208  (eval $ac_try) 2>&5
     2209  ac_status=$?
     2210  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    21452211  (exit $ac_status); }; }; then
    21462212  ac_compiler_gnu=yes
     
    21512217ac_compiler_gnu=no
    21522218fi
    2153 rm -f conftest.$ac_objext conftest.$ac_ext
     2219rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    21542220ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
    21552221
     
    21672233else
    21682234  cat >conftest.$ac_ext <<_ACEOF
    2169 #line $LINENO "configure"
    21702235/* confdefs.h.  */
    21712236_ACEOF
     
    21842249rm -f conftest.$ac_objext
    21852250if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2186   (eval $ac_compile) 2>&5
    2187   ac_status=$?
     2251  (eval $ac_compile) 2>conftest.er1
     2252  ac_status=$?
     2253  grep -v '^ *+' conftest.er1 >conftest.err
     2254  rm -f conftest.er1
     2255  cat conftest.err >&5
    21882256  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    21892257  (exit $ac_status); } &&
    2190          { ac_try='test -s conftest.$ac_objext'
     2258         { ac_try='test -z "$ac_cxx_werror_flag"
     2259                         || test ! -s conftest.err'
    21912260  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    21922261  (eval $ac_try) 2>&5
    21932262  ac_status=$?
    21942263  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2264  (exit $ac_status); }; } &&
     2265         { ac_try='test -s conftest.$ac_objext'
     2266  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2267  (eval $ac_try) 2>&5
     2268  ac_status=$?
     2269  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    21952270  (exit $ac_status); }; }; then
    21962271  ac_cv_prog_cxx_g=yes
     
    22012276ac_cv_prog_cxx_g=no
    22022277fi
    2203 rm -f conftest.$ac_objext conftest.$ac_ext
     2278rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    22042279fi
    22052280echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
     
    22212296fi
    22222297for ac_declaration in \
    2223    ''\
    2224    '#include <stdlib.h>' \
     2298   '' \
    22252299   'extern "C" void std::exit (int) throw (); using std::exit;' \
    22262300   'extern "C" void std::exit (int); using std::exit;' \
     
    22302304do
    22312305  cat >conftest.$ac_ext <<_ACEOF
    2232 #line $LINENO "configure"
    22332306/* confdefs.h.  */
    22342307_ACEOF
     
    22362309cat >>conftest.$ac_ext <<_ACEOF
    22372310/* end confdefs.h.  */
     2311$ac_declaration
    22382312#include <stdlib.h>
    2239 $ac_declaration
    22402313int
    22412314main ()
     
    22482321rm -f conftest.$ac_objext
    22492322if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2250   (eval $ac_compile) 2>&5
    2251   ac_status=$?
     2323  (eval $ac_compile) 2>conftest.er1
     2324  ac_status=$?
     2325  grep -v '^ *+' conftest.er1 >conftest.err
     2326  rm -f conftest.er1
     2327  cat conftest.err >&5
    22522328  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    22532329  (exit $ac_status); } &&
    2254          { ac_try='test -s conftest.$ac_objext'
     2330         { ac_try='test -z "$ac_cxx_werror_flag"
     2331                         || test ! -s conftest.err'
    22552332  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    22562333  (eval $ac_try) 2>&5
    22572334  ac_status=$?
    22582335  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2336  (exit $ac_status); }; } &&
     2337         { ac_try='test -s conftest.$ac_objext'
     2338  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2339  (eval $ac_try) 2>&5
     2340  ac_status=$?
     2341  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    22592342  (exit $ac_status); }; }; then
    22602343  :
     
    22652348continue
    22662349fi
    2267 rm -f conftest.$ac_objext conftest.$ac_ext
     2350rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    22682351  cat >conftest.$ac_ext <<_ACEOF
    2269 #line $LINENO "configure"
    22702352/* confdefs.h.  */
    22712353_ACEOF
     
    22842366rm -f conftest.$ac_objext
    22852367if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2286   (eval $ac_compile) 2>&5
    2287   ac_status=$?
     2368  (eval $ac_compile) 2>conftest.er1
     2369  ac_status=$?
     2370  grep -v '^ *+' conftest.er1 >conftest.err
     2371  rm -f conftest.er1
     2372  cat conftest.err >&5
    22882373  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    22892374  (exit $ac_status); } &&
    2290          { ac_try='test -s conftest.$ac_objext'
     2375         { ac_try='test -z "$ac_cxx_werror_flag"
     2376                         || test ! -s conftest.err'
    22912377  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    22922378  (eval $ac_try) 2>&5
    22932379  ac_status=$?
    22942380  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2381  (exit $ac_status); }; } &&
     2382         { ac_try='test -s conftest.$ac_objext'
     2383  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2384  (eval $ac_try) 2>&5
     2385  ac_status=$?
     2386  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    22952387  (exit $ac_status); }; }; then
    22962388  break
     
    23002392
    23012393fi
    2302 rm -f conftest.$ac_objext conftest.$ac_ext
     2394rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    23032395done
    23042396rm -f conftest*
     
    24212513    for i in 1 2 3 4 5 6; do
    24222514      echo '#include "conftst'$i'.h"' >> sub/conftest.c
    2423       : > sub/conftst$i.h
     2515      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
     2516      # Solaris 8's {/usr,}/bin/sh.
     2517      touch sub/conftst$i.h
    24242518    done
    24252519    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
     
    24492543       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
    24502544      # icc doesn't choke on unknown options, it will just issue warnings
    2451       # (even with -Werror).  So we grep stderr for any message
    2452       # that says an option was ignored.
    2453       if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
     2545      # or remarks (even with -Werror).  So we grep stderr for any message
     2546      # that says an option was ignored or not supported.
     2547      # When given -MP, icc 7.0 and 7.1 complain thusly:
     2548      #   icc: Command line warning: ignoring option '-M'; no argument required
     2549      # The diagnosis changed in icc 8.0:
     2550      #   icc: Command line remark: option '-MP' not supported
     2551      if (grep 'ignoring option' conftest.err ||
     2552          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
    24542553        am_cv_CXX_dependencies_compiler_type=$depmode
    24552554        break
     
    28232922else
    28242923  cat >conftest.$ac_ext <<_ACEOF
    2825 #line $LINENO "configure"
    28262924/* confdefs.h.  */
    28272925_ACEOF
     
    28432941rm -f conftest.$ac_objext
    28442942if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2845   (eval $ac_compile) 2>&5
    2846   ac_status=$?
     2943  (eval $ac_compile) 2>conftest.er1
     2944  ac_status=$?
     2945  grep -v '^ *+' conftest.er1 >conftest.err
     2946  rm -f conftest.er1
     2947  cat conftest.err >&5
    28472948  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    28482949  (exit $ac_status); } &&
    2849          { ac_try='test -s conftest.$ac_objext'
     2950         { ac_try='test -z "$ac_c_werror_flag"
     2951                         || test ! -s conftest.err'
    28502952  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    28512953  (eval $ac_try) 2>&5
    28522954  ac_status=$?
    28532955  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2956  (exit $ac_status); }; } &&
     2957         { ac_try='test -s conftest.$ac_objext'
     2958  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2959  (eval $ac_try) 2>&5
     2960  ac_status=$?
     2961  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    28542962  (exit $ac_status); }; }; then
    28552963  ac_compiler_gnu=yes
     
    28602968ac_compiler_gnu=no
    28612969fi
    2862 rm -f conftest.$ac_objext conftest.$ac_ext
     2970rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    28632971ac_cv_c_compiler_gnu=$ac_compiler_gnu
    28642972
     
    28762984else
    28772985  cat >conftest.$ac_ext <<_ACEOF
    2878 #line $LINENO "configure"
    28792986/* confdefs.h.  */
    28802987_ACEOF
     
    28933000rm -f conftest.$ac_objext
    28943001if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2895   (eval $ac_compile) 2>&5
    2896   ac_status=$?
     3002  (eval $ac_compile) 2>conftest.er1
     3003  ac_status=$?
     3004  grep -v '^ *+' conftest.er1 >conftest.err
     3005  rm -f conftest.er1
     3006  cat conftest.err >&5
    28973007  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    28983008  (exit $ac_status); } &&
    2899          { ac_try='test -s conftest.$ac_objext'
     3009         { ac_try='test -z "$ac_c_werror_flag"
     3010                         || test ! -s conftest.err'
    29003011  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    29013012  (eval $ac_try) 2>&5
    29023013  ac_status=$?
    29033014  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3015  (exit $ac_status); }; } &&
     3016         { ac_try='test -s conftest.$ac_objext'
     3017  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3018  (eval $ac_try) 2>&5
     3019  ac_status=$?
     3020  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    29043021  (exit $ac_status); }; }; then
    29053022  ac_cv_prog_cc_g=yes
     
    29103027ac_cv_prog_cc_g=no
    29113028fi
    2912 rm -f conftest.$ac_objext conftest.$ac_ext
     3029rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    29133030fi
    29143031echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
     
    29373054ac_save_CC=$CC
    29383055cat >conftest.$ac_ext <<_ACEOF
    2939 #line $LINENO "configure"
    29403056/* confdefs.h.  */
    29413057_ACEOF
     
    29653081  return s;
    29663082}
     3083
     3084/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
     3085   function prototypes and stuff, but not '\xHH' hex character constants.
     3086   These don't provoke an error unfortunately, instead are silently treated
     3087   as 'x'.  The following induces an error, until -std1 is added to get
     3088   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
     3089   array size at least.  It's necessary to write '\x00'==0 to get something
     3090   that's true only with -std1.  */
     3091int osf4_cc_array ['\x00' == 0 ? 1 : -1];
     3092
    29673093int test (int i, double x);
    29683094struct s1 {int (*f) (int a);};
     
    29913117  rm -f conftest.$ac_objext
    29923118if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2993   (eval $ac_compile) 2>&5
    2994   ac_status=$?
     3119  (eval $ac_compile) 2>conftest.er1
     3120  ac_status=$?
     3121  grep -v '^ *+' conftest.er1 >conftest.err
     3122  rm -f conftest.er1
     3123  cat conftest.err >&5
    29953124  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    29963125  (exit $ac_status); } &&
    2997          { ac_try='test -s conftest.$ac_objext'
     3126         { ac_try='test -z "$ac_c_werror_flag"
     3127                         || test ! -s conftest.err'
     3128  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3129  (eval $ac_try) 2>&5
     3130  ac_status=$?
     3131  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3132  (exit $ac_status); }; } &&
     3133         { ac_try='test -s conftest.$ac_objext'
    29983134  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    29993135  (eval $ac_try) 2>&5
     
    30083144
    30093145fi
    3010 rm -f conftest.$ac_objext
     3146rm -f conftest.err conftest.$ac_objext
    30113147done
    30123148rm -f conftest.$ac_ext conftest.$ac_objext
     
    30363172rm -f conftest.$ac_objext
    30373173if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3038   (eval $ac_compile) 2>&5
    3039   ac_status=$?
     3174  (eval $ac_compile) 2>conftest.er1
     3175  ac_status=$?
     3176  grep -v '^ *+' conftest.er1 >conftest.err
     3177  rm -f conftest.er1
     3178  cat conftest.err >&5
    30403179  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    30413180  (exit $ac_status); } &&
    3042          { ac_try='test -s conftest.$ac_objext'
     3181         { ac_try='test -z "$ac_c_werror_flag"
     3182                         || test ! -s conftest.err'
    30433183  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    30443184  (eval $ac_try) 2>&5
    30453185  ac_status=$?
    30463186  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3187  (exit $ac_status); }; } &&
     3188         { ac_try='test -s conftest.$ac_objext'
     3189  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3190  (eval $ac_try) 2>&5
     3191  ac_status=$?
     3192  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    30473193  (exit $ac_status); }; }; then
    30483194  for ac_declaration in \
    3049    ''\
    3050    '#include <stdlib.h>' \
     3195   '' \
    30513196   'extern "C" void std::exit (int) throw (); using std::exit;' \
    30523197   'extern "C" void std::exit (int); using std::exit;' \
     
    30563201do
    30573202  cat >conftest.$ac_ext <<_ACEOF
    3058 #line $LINENO "configure"
    30593203/* confdefs.h.  */
    30603204_ACEOF
     
    30623206cat >>conftest.$ac_ext <<_ACEOF
    30633207/* end confdefs.h.  */
     3208$ac_declaration
    30643209#include <stdlib.h>
    3065 $ac_declaration
    30663210int
    30673211main ()
     
    30743218rm -f conftest.$ac_objext
    30753219if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3076   (eval $ac_compile) 2>&5
    3077   ac_status=$?
     3220  (eval $ac_compile) 2>conftest.er1
     3221  ac_status=$?
     3222  grep -v '^ *+' conftest.er1 >conftest.err
     3223  rm -f conftest.er1
     3224  cat conftest.err >&5
    30783225  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    30793226  (exit $ac_status); } &&
    3080          { ac_try='test -s conftest.$ac_objext'
     3227         { ac_try='test -z "$ac_c_werror_flag"
     3228                         || test ! -s conftest.err'
    30813229  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    30823230  (eval $ac_try) 2>&5
    30833231  ac_status=$?
    30843232  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3233  (exit $ac_status); }; } &&
     3234         { ac_try='test -s conftest.$ac_objext'
     3235  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3236  (eval $ac_try) 2>&5
     3237  ac_status=$?
     3238  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    30853239  (exit $ac_status); }; }; then
    30863240  :
     
    30913245continue
    30923246fi
    3093 rm -f conftest.$ac_objext conftest.$ac_ext
     3247rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    30943248  cat >conftest.$ac_ext <<_ACEOF
    3095 #line $LINENO "configure"
    30963249/* confdefs.h.  */
    30973250_ACEOF
     
    31103263rm -f conftest.$ac_objext
    31113264if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3112   (eval $ac_compile) 2>&5
    3113   ac_status=$?
     3265  (eval $ac_compile) 2>conftest.er1
     3266  ac_status=$?
     3267  grep -v '^ *+' conftest.er1 >conftest.err
     3268  rm -f conftest.er1
     3269  cat conftest.err >&5
    31143270  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    31153271  (exit $ac_status); } &&
    3116          { ac_try='test -s conftest.$ac_objext'
     3272         { ac_try='test -z "$ac_c_werror_flag"
     3273                         || test ! -s conftest.err'
    31173274  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    31183275  (eval $ac_try) 2>&5
    31193276  ac_status=$?
    31203277  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3278  (exit $ac_status); }; } &&
     3279         { ac_try='test -s conftest.$ac_objext'
     3280  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3281  (eval $ac_try) 2>&5
     3282  ac_status=$?
     3283  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    31213284  (exit $ac_status); }; }; then
    31223285  break
     
    31263289
    31273290fi
    3128 rm -f conftest.$ac_objext conftest.$ac_ext
     3291rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    31293292done
    31303293rm -f conftest*
     
    31403303
    31413304fi
    3142 rm -f conftest.$ac_objext conftest.$ac_ext
     3305rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    31433306ac_ext=c
    31443307ac_cpp='$CPP $CPPFLAGS'
     
    31883351    for i in 1 2 3 4 5 6; do
    31893352      echo '#include "conftst'$i'.h"' >> sub/conftest.c
    3190       : > sub/conftst$i.h
     3353      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
     3354      # Solaris 8's {/usr,}/bin/sh.
     3355      touch sub/conftst$i.h
    31913356    done
    31923357    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
     
    32163381       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
    32173382      # icc doesn't choke on unknown options, it will just issue warnings
    3218       # (even with -Werror).  So we grep stderr for any message
    3219       # that says an option was ignored.
    3220       if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
     3383      # or remarks (even with -Werror).  So we grep stderr for any message
     3384      # that says an option was ignored or not supported.
     3385      # When given -MP, icc 7.0 and 7.1 complain thusly:
     3386      #   icc: Command line warning: ignoring option '-M'; no argument required
     3387      # The diagnosis changed in icc 8.0:
     3388      #   icc: Command line remark: option '-MP' not supported
     3389      if (grep 'ignoring option' conftest.err ||
     3390          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
    32213391        am_cv_CC_dependencies_compiler_type=$depmode
    32223392        break
     
    32783448  # not just through cpp. "Syntax error" is here to catch this case.
    32793449  cat >conftest.$ac_ext <<_ACEOF
    3280 #line $LINENO "configure"
    32813450/* confdefs.h.  */
    32823451_ACEOF
     
    32893458# include <assert.h>
    32903459#endif
    3291                      Syntax error
     3460                     Syntax error
    32923461_ACEOF
    32933462if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     
    33013470  if test -s conftest.err; then
    33023471    ac_cpp_err=$ac_c_preproc_warn_flag
     3472    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    33033473  else
    33043474    ac_cpp_err=
     
    33213491  # can be detected and how.
    33223492  cat >conftest.$ac_ext <<_ACEOF
    3323 #line $LINENO "configure"
    33243493/* confdefs.h.  */
    33253494_ACEOF
     
    33393508  if test -s conftest.err; then
    33403509    ac_cpp_err=$ac_c_preproc_warn_flag
     3510    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    33413511  else
    33423512    ac_cpp_err=
     
    33853555  # not just through cpp. "Syntax error" is here to catch this case.
    33863556  cat >conftest.$ac_ext <<_ACEOF
    3387 #line $LINENO "configure"
    33883557/* confdefs.h.  */
    33893558_ACEOF
     
    33963565# include <assert.h>
    33973566#endif
    3398                      Syntax error
     3567                     Syntax error
    33993568_ACEOF
    34003569if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     
    34083577  if test -s conftest.err; then
    34093578    ac_cpp_err=$ac_c_preproc_warn_flag
     3579    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    34103580  else
    34113581    ac_cpp_err=
     
    34283598  # can be detected and how.
    34293599  cat >conftest.$ac_ext <<_ACEOF
    3430 #line $LINENO "configure"
    34313600/* confdefs.h.  */
    34323601_ACEOF
     
    34463615  if test -s conftest.err; then
    34473616    ac_cpp_err=$ac_c_preproc_warn_flag
     3617    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    34483618  else
    34493619    ac_cpp_err=
     
    35063676else
    35073677  cat >conftest.$ac_ext <<_ACEOF
    3508 #line $LINENO "configure"
    35093678/* confdefs.h.  */
    35103679_ACEOF
     
    35273696rm -f conftest.$ac_objext
    35283697if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3529   (eval $ac_compile) 2>&5
    3530   ac_status=$?
     3698  (eval $ac_compile) 2>conftest.er1
     3699  ac_status=$?
     3700  grep -v '^ *+' conftest.er1 >conftest.err
     3701  rm -f conftest.er1
     3702  cat conftest.err >&5
    35313703  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    35323704  (exit $ac_status); } &&
    3533          { ac_try='test -s conftest.$ac_objext'
     3705         { ac_try='test -z "$ac_c_werror_flag"
     3706                         || test ! -s conftest.err'
    35343707  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    35353708  (eval $ac_try) 2>&5
    35363709  ac_status=$?
    35373710  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3711  (exit $ac_status); }; } &&
     3712         { ac_try='test -s conftest.$ac_objext'
     3713  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3714  (eval $ac_try) 2>&5
     3715  ac_status=$?
     3716  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    35383717  (exit $ac_status); }; }; then
    35393718  ac_cv_header_stdc=yes
     
    35443723ac_cv_header_stdc=no
    35453724fi
    3546 rm -f conftest.$ac_objext conftest.$ac_ext
     3725rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    35473726
    35483727if test $ac_cv_header_stdc = yes; then
    35493728  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    35503729  cat >conftest.$ac_ext <<_ACEOF
    3551 #line $LINENO "configure"
    35523730/* confdefs.h.  */
    35533731_ACEOF
     
    35713749  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    35723750  cat >conftest.$ac_ext <<_ACEOF
    3573 #line $LINENO "configure"
    35743751/* confdefs.h.  */
    35753752_ACEOF
     
    35963773else
    35973774  cat >conftest.$ac_ext <<_ACEOF
    3598 #line $LINENO "configure"
    35993775/* confdefs.h.  */
    36003776_ACEOF
     
    36083784#else
    36093785# define ISLOWER(c) \
    3610                    (('a' <= (c) && (c) <= 'i') \
    3611                      || ('j' <= (c) && (c) <= 'r') \
    3612                      || ('s' <= (c) && (c) <= 'z'))
     3786                   (('a' <= (c) && (c) <= 'i') \
     3787                     || ('j' <= (c) && (c) <= 'r') \
     3788                     || ('s' <= (c) && (c) <= 'z'))
    36133789# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
    36143790#endif
     
    36213797  for (i = 0; i < 256; i++)
    36223798    if (XOR (islower (i), ISLOWER (i))
    3623         || toupper (i) != TOUPPER (i))
     3799        || toupper (i) != TOUPPER (i))
    36243800      exit(2);
    36253801  exit (0);
     
    36463822ac_cv_header_stdc=no
    36473823fi
    3648 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     3824rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    36493825fi
    36503826fi
     
    36903866
    36913867for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
    3692                   inttypes.h stdint.h unistd.h
     3868                  inttypes.h stdint.h unistd.h
    36933869do
    36943870as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
     
    36993875else
    37003876  cat >conftest.$ac_ext <<_ACEOF
    3701 #line $LINENO "configure"
    37023877/* confdefs.h.  */
    37033878_ACEOF
     
    37113886rm -f conftest.$ac_objext
    37123887if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3713   (eval $ac_compile) 2>&5
    3714   ac_status=$?
     3888  (eval $ac_compile) 2>conftest.er1
     3889  ac_status=$?
     3890  grep -v '^ *+' conftest.er1 >conftest.err
     3891  rm -f conftest.er1
     3892  cat conftest.err >&5
    37153893  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    37163894  (exit $ac_status); } &&
    3717          { ac_try='test -s conftest.$ac_objext'
     3895         { ac_try='test -z "$ac_c_werror_flag"
     3896                         || test ! -s conftest.err'
    37183897  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    37193898  (eval $ac_try) 2>&5
    37203899  ac_status=$?
    37213900  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3901  (exit $ac_status); }; } &&
     3902         { ac_try='test -s conftest.$ac_objext'
     3903  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3904  (eval $ac_try) 2>&5
     3905  ac_status=$?
     3906  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    37223907  (exit $ac_status); }; }; then
    37233908  eval "$as_ac_Header=yes"
     
    37283913eval "$as_ac_Header=no"
    37293914fi
    3730 rm -f conftest.$ac_objext conftest.$ac_ext
     3915rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    37313916fi
    37323917echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     
    37593944echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
    37603945cat >conftest.$ac_ext <<_ACEOF
    3761 #line $LINENO "configure"
    37623946/* confdefs.h.  */
    37633947_ACEOF
     
    37703954rm -f conftest.$ac_objext
    37713955if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3772   (eval $ac_compile) 2>&5
    3773   ac_status=$?
     3956  (eval $ac_compile) 2>conftest.er1
     3957  ac_status=$?
     3958  grep -v '^ *+' conftest.er1 >conftest.err
     3959  rm -f conftest.er1
     3960  cat conftest.err >&5
    37743961  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    37753962  (exit $ac_status); } &&
    3776          { ac_try='test -s conftest.$ac_objext'
     3963         { ac_try='test -z "$ac_c_werror_flag"
     3964                         || test ! -s conftest.err'
    37773965  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    37783966  (eval $ac_try) 2>&5
    37793967  ac_status=$?
    37803968  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3969  (exit $ac_status); }; } &&
     3970         { ac_try='test -s conftest.$ac_objext'
     3971  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3972  (eval $ac_try) 2>&5
     3973  ac_status=$?
     3974  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    37813975  (exit $ac_status); }; }; then
    37823976  ac_header_compiler=yes
     
    37873981ac_header_compiler=no
    37883982fi
    3789 rm -f conftest.$ac_objext conftest.$ac_ext
     3983rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    37903984echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    37913985echo "${ECHO_T}$ac_header_compiler" >&6
     
    37953989echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
    37963990cat >conftest.$ac_ext <<_ACEOF
    3797 #line $LINENO "configure"
    37983991/* confdefs.h.  */
    37993992_ACEOF
     
    38134006  if test -s conftest.err; then
    38144007    ac_cpp_err=$ac_c_preproc_warn_flag
     4008    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    38154009  else
    38164010    ac_cpp_err=
     
    38324026
    38334027# So?  What about this header?
    3834 case $ac_header_compiler:$ac_header_preproc in
    3835   yes:no )
     4028case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
     4029  yes:no: )
    38364030    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    38374031echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     4032    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
     4033echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
     4034    ac_header_preproc=yes
     4035    ;;
     4036  no:yes:* )
     4037    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     4038echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     4039    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
     4040echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
     4041    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
     4042echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
     4043    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
     4044echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    38384045    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    38394046echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     4047    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
     4048echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    38404049    (
    38414050      cat <<\_ASBOX
    3842 ## ------------------------------------ ##
    3843 ## Report this to bug-autoconf@gnu.org. ##
    3844 ## ------------------------------------ ##
    3845 _ASBOX
    3846     ) |
    3847       sed "s/^/$as_me: WARNING:     /" >&2
    3848     ;;
    3849   no:yes )
    3850     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    3851 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    3852     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
    3853 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
    3854     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    3855 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    3856     (
    3857       cat <<\_ASBOX
    3858 ## ------------------------------------ ##
    3859 ## Report this to bug-autoconf@gnu.org. ##
    3860 ## ------------------------------------ ##
     4051## ------------------------------------------- ##
     4052## Report this to orxonox-dev@mail.datacore.ch ##
     4053## ------------------------------------------- ##
    38614054_ASBOX
    38624055    ) |
     
    38694062  echo $ECHO_N "(cached) $ECHO_C" >&6
    38704063else
    3871   eval "$as_ac_Header=$ac_header_preproc"
     4064  eval "$as_ac_Header=\$ac_header_preproc"
    38724065fi
    38734066echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     
    38974090LIBS="-lopengl32  $LIBS"
    38984091cat >conftest.$ac_ext <<_ACEOF
    3899 #line $LINENO "configure"
    39004092/* confdefs.h.  */
    39014093_ACEOF
     
    39154107rm -f conftest.$ac_objext conftest$ac_exeext
    39164108if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    3917   (eval $ac_link) 2>&5
    3918   ac_status=$?
     4109  (eval $ac_link) 2>conftest.er1
     4110  ac_status=$?
     4111  grep -v '^ *+' conftest.er1 >conftest.err
     4112  rm -f conftest.er1
     4113  cat conftest.err >&5
    39194114  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    39204115  (exit $ac_status); } &&
    3921          { ac_try='test -s conftest$ac_exeext'
     4116         { ac_try='test -z "$ac_c_werror_flag"
     4117                         || test ! -s conftest.err'
    39224118  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    39234119  (eval $ac_try) 2>&5
    39244120  ac_status=$?
    39254121  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4122  (exit $ac_status); }; } &&
     4123         { ac_try='test -s conftest$ac_exeext'
     4124  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4125  (eval $ac_try) 2>&5
     4126  ac_status=$?
     4127  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    39264128  (exit $ac_status); }; }; then
    39274129  ac_cv_lib_opengl32_main=yes
     
    39324134ac_cv_lib_opengl32_main=no
    39334135fi
    3934 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
     4136rm -f conftest.err conftest.$ac_objext \
     4137      conftest$ac_exeext conftest.$ac_ext
    39354138LIBS=$ac_check_lib_save_LIBS
    39364139fi
     
    39714174echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
    39724175cat >conftest.$ac_ext <<_ACEOF
    3973 #line $LINENO "configure"
    39744176/* confdefs.h.  */
    39754177_ACEOF
     
    39824184rm -f conftest.$ac_objext
    39834185if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3984   (eval $ac_compile) 2>&5
    3985   ac_status=$?
     4186  (eval $ac_compile) 2>conftest.er1
     4187  ac_status=$?
     4188  grep -v '^ *+' conftest.er1 >conftest.err
     4189  rm -f conftest.er1
     4190  cat conftest.err >&5
    39864191  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    39874192  (exit $ac_status); } &&
    3988          { ac_try='test -s conftest.$ac_objext'
     4193         { ac_try='test -z "$ac_c_werror_flag"
     4194                         || test ! -s conftest.err'
    39894195  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    39904196  (eval $ac_try) 2>&5
    39914197  ac_status=$?
    39924198  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4199  (exit $ac_status); }; } &&
     4200         { ac_try='test -s conftest.$ac_objext'
     4201  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4202  (eval $ac_try) 2>&5
     4203  ac_status=$?
     4204  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    39934205  (exit $ac_status); }; }; then
    39944206  ac_header_compiler=yes
     
    39994211ac_header_compiler=no
    40004212fi
    4001 rm -f conftest.$ac_objext conftest.$ac_ext
     4213rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    40024214echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    40034215echo "${ECHO_T}$ac_header_compiler" >&6
     
    40074219echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
    40084220cat >conftest.$ac_ext <<_ACEOF
    4009 #line $LINENO "configure"
    40104221/* confdefs.h.  */
    40114222_ACEOF
     
    40254236  if test -s conftest.err; then
    40264237    ac_cpp_err=$ac_c_preproc_warn_flag
     4238    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    40274239  else
    40284240    ac_cpp_err=
     
    40444256
    40454257# So?  What about this header?
    4046 case $ac_header_compiler:$ac_header_preproc in
    4047   yes:no )
     4258case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
     4259  yes:no: )
    40484260    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    40494261echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     4262    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
     4263echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
     4264    ac_header_preproc=yes
     4265    ;;
     4266  no:yes:* )
     4267    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     4268echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     4269    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
     4270echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
     4271    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
     4272echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
     4273    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
     4274echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    40504275    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    40514276echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     4277    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
     4278echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    40524279    (
    40534280      cat <<\_ASBOX
    4054 ## ------------------------------------ ##
    4055 ## Report this to bug-autoconf@gnu.org. ##
    4056 ## ------------------------------------ ##
    4057 _ASBOX
    4058     ) |
    4059       sed "s/^/$as_me: WARNING:     /" >&2
    4060     ;;
    4061   no:yes )
    4062     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    4063 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    4064     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
    4065 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
    4066     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    4067 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    4068     (
    4069       cat <<\_ASBOX
    4070 ## ------------------------------------ ##
    4071 ## Report this to bug-autoconf@gnu.org. ##
    4072 ## ------------------------------------ ##
     4281## ------------------------------------------- ##
     4282## Report this to orxonox-dev@mail.datacore.ch ##
     4283## ------------------------------------------- ##
    40734284_ASBOX
    40744285    ) |
     
    40814292  echo $ECHO_N "(cached) $ECHO_C" >&6
    40824293else
    4083   eval "$as_ac_Header=$ac_header_preproc"
     4294  eval "$as_ac_Header=\$ac_header_preproc"
    40844295fi
    40854296echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     
    41104321LIBS="-lglu32  $LIBS"
    41114322cat >conftest.$ac_ext <<_ACEOF
    4112 #line $LINENO "configure"
    41134323/* confdefs.h.  */
    41144324_ACEOF
     
    41284338rm -f conftest.$ac_objext conftest$ac_exeext
    41294339if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    4130   (eval $ac_link) 2>&5
    4131   ac_status=$?
     4340  (eval $ac_link) 2>conftest.er1
     4341  ac_status=$?
     4342  grep -v '^ *+' conftest.er1 >conftest.err
     4343  rm -f conftest.er1
     4344  cat conftest.err >&5
    41324345  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    41334346  (exit $ac_status); } &&
    4134          { ac_try='test -s conftest$ac_exeext'
     4347         { ac_try='test -z "$ac_c_werror_flag"
     4348                         || test ! -s conftest.err'
    41354349  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    41364350  (eval $ac_try) 2>&5
    41374351  ac_status=$?
    41384352  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4353  (exit $ac_status); }; } &&
     4354         { ac_try='test -s conftest$ac_exeext'
     4355  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4356  (eval $ac_try) 2>&5
     4357  ac_status=$?
     4358  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    41394359  (exit $ac_status); }; }; then
    41404360  ac_cv_lib_glu32_main=yes
     
    41454365ac_cv_lib_glu32_main=no
    41464366fi
    4147 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
     4367rm -f conftest.err conftest.$ac_objext \
     4368      conftest$ac_exeext conftest.$ac_ext
    41484369LIBS=$ac_check_lib_save_LIBS
    41494370fi
     
    41734394LIBS="-lmingw32  $LIBS"
    41744395cat >conftest.$ac_ext <<_ACEOF
    4175 #line $LINENO "configure"
    41764396/* confdefs.h.  */
    41774397_ACEOF
     
    41914411rm -f conftest.$ac_objext conftest$ac_exeext
    41924412if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    4193   (eval $ac_link) 2>&5
    4194   ac_status=$?
     4413  (eval $ac_link) 2>conftest.er1
     4414  ac_status=$?
     4415  grep -v '^ *+' conftest.er1 >conftest.err
     4416  rm -f conftest.er1
     4417  cat conftest.err >&5
    41954418  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    41964419  (exit $ac_status); } &&
    4197          { ac_try='test -s conftest$ac_exeext'
     4420         { ac_try='test -z "$ac_c_werror_flag"
     4421                         || test ! -s conftest.err'
    41984422  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    41994423  (eval $ac_try) 2>&5
    42004424  ac_status=$?
    42014425  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4426  (exit $ac_status); }; } &&
     4427         { ac_try='test -s conftest$ac_exeext'
     4428  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4429  (eval $ac_try) 2>&5
     4430  ac_status=$?
     4431  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    42024432  (exit $ac_status); }; }; then
    42034433  ac_cv_lib_mingw32_main=yes
     
    42084438ac_cv_lib_mingw32_main=no
    42094439fi
    4210 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
     4440rm -f conftest.err conftest.$ac_objext \
     4441      conftest$ac_exeext conftest.$ac_ext
    42114442LIBS=$ac_check_lib_save_LIBS
    42124443fi
     
    42384469echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
    42394470cat >conftest.$ac_ext <<_ACEOF
    4240 #line $LINENO "configure"
    42414471/* confdefs.h.  */
    42424472_ACEOF
     
    42494479rm -f conftest.$ac_objext
    42504480if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4251   (eval $ac_compile) 2>&5
    4252   ac_status=$?
     4481  (eval $ac_compile) 2>conftest.er1
     4482  ac_status=$?
     4483  grep -v '^ *+' conftest.er1 >conftest.err
     4484  rm -f conftest.er1
     4485  cat conftest.err >&5
    42534486  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    42544487  (exit $ac_status); } &&
    4255          { ac_try='test -s conftest.$ac_objext'
     4488         { ac_try='test -z "$ac_c_werror_flag"
     4489                         || test ! -s conftest.err'
    42564490  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    42574491  (eval $ac_try) 2>&5
    42584492  ac_status=$?
    42594493  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4494  (exit $ac_status); }; } &&
     4495         { ac_try='test -s conftest.$ac_objext'
     4496  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4497  (eval $ac_try) 2>&5
     4498  ac_status=$?
     4499  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    42604500  (exit $ac_status); }; }; then
    42614501  ac_header_compiler=yes
     
    42664506ac_header_compiler=no
    42674507fi
    4268 rm -f conftest.$ac_objext conftest.$ac_ext
     4508rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    42694509echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    42704510echo "${ECHO_T}$ac_header_compiler" >&6
     
    42744514echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
    42754515cat >conftest.$ac_ext <<_ACEOF
    4276 #line $LINENO "configure"
    42774516/* confdefs.h.  */
    42784517_ACEOF
     
    42924531  if test -s conftest.err; then
    42934532    ac_cpp_err=$ac_c_preproc_warn_flag
     4533    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    42944534  else
    42954535    ac_cpp_err=
     
    43114551
    43124552# So?  What about this header?
    4313 case $ac_header_compiler:$ac_header_preproc in
    4314   yes:no )
     4553case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
     4554  yes:no: )
    43154555    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    43164556echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     4557    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
     4558echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
     4559    ac_header_preproc=yes
     4560    ;;
     4561  no:yes:* )
     4562    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     4563echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     4564    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
     4565echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
     4566    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
     4567echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
     4568    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
     4569echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    43174570    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    43184571echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     4572    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
     4573echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    43194574    (
    43204575      cat <<\_ASBOX
    4321 ## ------------------------------------ ##
    4322 ## Report this to bug-autoconf@gnu.org. ##
    4323 ## ------------------------------------ ##
    4324 _ASBOX
    4325     ) |
    4326       sed "s/^/$as_me: WARNING:     /" >&2
    4327     ;;
    4328   no:yes )
    4329     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    4330 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    4331     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
    4332 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
    4333     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    4334 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    4335     (
    4336       cat <<\_ASBOX
    4337 ## ------------------------------------ ##
    4338 ## Report this to bug-autoconf@gnu.org. ##
    4339 ## ------------------------------------ ##
     4576## ------------------------------------------- ##
     4577## Report this to orxonox-dev@mail.datacore.ch ##
     4578## ------------------------------------------- ##
    43404579_ASBOX
    43414580    ) |
     
    43484587  echo $ECHO_N "(cached) $ECHO_C" >&6
    43494588else
    4350   eval "$as_ac_Header=$ac_header_preproc"
     4589  eval "$as_ac_Header=\$ac_header_preproc"
    43514590fi
    43524591echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     
    43774616LIBS="-lsdlmain  $LIBS"
    43784617cat >conftest.$ac_ext <<_ACEOF
    4379 #line $LINENO "configure"
    43804618/* confdefs.h.  */
    43814619_ACEOF
     
    43954633rm -f conftest.$ac_objext conftest$ac_exeext
    43964634if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    4397   (eval $ac_link) 2>&5
    4398   ac_status=$?
     4635  (eval $ac_link) 2>conftest.er1
     4636  ac_status=$?
     4637  grep -v '^ *+' conftest.er1 >conftest.err
     4638  rm -f conftest.er1
     4639  cat conftest.err >&5
    43994640  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    44004641  (exit $ac_status); } &&
    4401          { ac_try='test -s conftest$ac_exeext'
     4642         { ac_try='test -z "$ac_c_werror_flag"
     4643                         || test ! -s conftest.err'
    44024644  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    44034645  (eval $ac_try) 2>&5
    44044646  ac_status=$?
    44054647  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4648  (exit $ac_status); }; } &&
     4649         { ac_try='test -s conftest$ac_exeext'
     4650  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4651  (eval $ac_try) 2>&5
     4652  ac_status=$?
     4653  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    44064654  (exit $ac_status); }; }; then
    44074655  ac_cv_lib_sdlmain_main=yes
     
    44124660ac_cv_lib_sdlmain_main=no
    44134661fi
    4414 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
     4662rm -f conftest.err conftest.$ac_objext \
     4663      conftest$ac_exeext conftest.$ac_ext
    44154664LIBS=$ac_check_lib_save_LIBS
    44164665fi
     
    44384687LIBS="-lsdl  $LIBS"
    44394688cat >conftest.$ac_ext <<_ACEOF
    4440 #line $LINENO "configure"
    44414689/* confdefs.h.  */
    44424690_ACEOF
     
    44564704rm -f conftest.$ac_objext conftest$ac_exeext
    44574705if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    4458   (eval $ac_link) 2>&5
    4459   ac_status=$?
     4706  (eval $ac_link) 2>conftest.er1
     4707  ac_status=$?
     4708  grep -v '^ *+' conftest.er1 >conftest.err
     4709  rm -f conftest.er1
     4710  cat conftest.err >&5
    44604711  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    44614712  (exit $ac_status); } &&
    4462          { ac_try='test -s conftest$ac_exeext'
     4713         { ac_try='test -z "$ac_c_werror_flag"
     4714                         || test ! -s conftest.err'
    44634715  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    44644716  (eval $ac_try) 2>&5
    44654717  ac_status=$?
    44664718  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4719  (exit $ac_status); }; } &&
     4720         { ac_try='test -s conftest$ac_exeext'
     4721  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4722  (eval $ac_try) 2>&5
     4723  ac_status=$?
     4724  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    44674725  (exit $ac_status); }; }; then
    44684726  ac_cv_lib_sdl_main=yes
     
    44734731ac_cv_lib_sdl_main=no
    44744732fi
    4475 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
     4733rm -f conftest.err conftest.$ac_objext \
     4734      conftest$ac_exeext conftest.$ac_ext
    44764735LIBS=$ac_check_lib_save_LIBS
    44774736fi
     
    45194778echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
    45204779cat >conftest.$ac_ext <<_ACEOF
    4521 #line $LINENO "configure"
    45224780/* confdefs.h.  */
    45234781_ACEOF
     
    45304788rm -f conftest.$ac_objext
    45314789if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4532   (eval $ac_compile) 2>&5
    4533   ac_status=$?
     4790  (eval $ac_compile) 2>conftest.er1
     4791  ac_status=$?
     4792  grep -v '^ *+' conftest.er1 >conftest.err
     4793  rm -f conftest.er1
     4794  cat conftest.err >&5
    45344795  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    45354796  (exit $ac_status); } &&
    4536          { ac_try='test -s conftest.$ac_objext'
     4797         { ac_try='test -z "$ac_c_werror_flag"
     4798                         || test ! -s conftest.err'
    45374799  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    45384800  (eval $ac_try) 2>&5
    45394801  ac_status=$?
    45404802  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4803  (exit $ac_status); }; } &&
     4804         { ac_try='test -s conftest.$ac_objext'
     4805  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4806  (eval $ac_try) 2>&5
     4807  ac_status=$?
     4808  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    45414809  (exit $ac_status); }; }; then
    45424810  ac_header_compiler=yes
     
    45474815ac_header_compiler=no
    45484816fi
    4549 rm -f conftest.$ac_objext conftest.$ac_ext
     4817rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    45504818echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    45514819echo "${ECHO_T}$ac_header_compiler" >&6
     
    45554823echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
    45564824cat >conftest.$ac_ext <<_ACEOF
    4557 #line $LINENO "configure"
    45584825/* confdefs.h.  */
    45594826_ACEOF
     
    45734840  if test -s conftest.err; then
    45744841    ac_cpp_err=$ac_c_preproc_warn_flag
     4842    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    45754843  else
    45764844    ac_cpp_err=
     
    45924860
    45934861# So?  What about this header?
    4594 case $ac_header_compiler:$ac_header_preproc in
    4595   yes:no )
     4862case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
     4863  yes:no: )
    45964864    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    45974865echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     4866    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
     4867echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
     4868    ac_header_preproc=yes
     4869    ;;
     4870  no:yes:* )
     4871    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     4872echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     4873    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
     4874echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
     4875    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
     4876echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
     4877    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
     4878echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    45984879    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    45994880echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     4881    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
     4882echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    46004883    (
    46014884      cat <<\_ASBOX
    4602 ## ------------------------------------ ##
    4603 ## Report this to bug-autoconf@gnu.org. ##
    4604 ## ------------------------------------ ##
    4605 _ASBOX
    4606     ) |
    4607       sed "s/^/$as_me: WARNING:     /" >&2
    4608     ;;
    4609   no:yes )
    4610     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    4611 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    4612     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
    4613 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
    4614     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    4615 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    4616     (
    4617       cat <<\_ASBOX
    4618 ## ------------------------------------ ##
    4619 ## Report this to bug-autoconf@gnu.org. ##
    4620 ## ------------------------------------ ##
     4885## ------------------------------------------- ##
     4886## Report this to orxonox-dev@mail.datacore.ch ##
     4887## ------------------------------------------- ##
    46214888_ASBOX
    46224889    ) |
     
    46294896  echo $ECHO_N "(cached) $ECHO_C" >&6
    46304897else
    4631   eval "$as_ac_Header=$ac_header_preproc"
     4898  eval "$as_ac_Header=\$ac_header_preproc"
    46324899fi
    46334900echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     
    46584925LIBS="-lGL  $LIBS"
    46594926cat >conftest.$ac_ext <<_ACEOF
    4660 #line $LINENO "configure"
    46614927/* confdefs.h.  */
    46624928_ACEOF
     
    46764942rm -f conftest.$ac_objext conftest$ac_exeext
    46774943if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    4678   (eval $ac_link) 2>&5
    4679   ac_status=$?
     4944  (eval $ac_link) 2>conftest.er1
     4945  ac_status=$?
     4946  grep -v '^ *+' conftest.er1 >conftest.err
     4947  rm -f conftest.er1
     4948  cat conftest.err >&5
    46804949  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    46814950  (exit $ac_status); } &&
    4682          { ac_try='test -s conftest$ac_exeext'
     4951         { ac_try='test -z "$ac_c_werror_flag"
     4952                         || test ! -s conftest.err'
    46834953  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    46844954  (eval $ac_try) 2>&5
    46854955  ac_status=$?
    46864956  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4957  (exit $ac_status); }; } &&
     4958         { ac_try='test -s conftest$ac_exeext'
     4959  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4960  (eval $ac_try) 2>&5
     4961  ac_status=$?
     4962  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    46874963  (exit $ac_status); }; }; then
    46884964  ac_cv_lib_GL_main=yes
     
    46934969ac_cv_lib_GL_main=no
    46944970fi
    4695 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
     4971rm -f conftest.err conftest.$ac_objext \
     4972      conftest$ac_exeext conftest.$ac_ext
    46964973LIBS=$ac_check_lib_save_LIBS
    46974974fi
     
    47305007echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
    47315008cat >conftest.$ac_ext <<_ACEOF
    4732 #line $LINENO "configure"
    47335009/* confdefs.h.  */
    47345010_ACEOF
     
    47415017rm -f conftest.$ac_objext
    47425018if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4743   (eval $ac_compile) 2>&5
    4744   ac_status=$?
     5019  (eval $ac_compile) 2>conftest.er1
     5020  ac_status=$?
     5021  grep -v '^ *+' conftest.er1 >conftest.err
     5022  rm -f conftest.er1
     5023  cat conftest.err >&5
    47455024  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    47465025  (exit $ac_status); } &&
    4747          { ac_try='test -s conftest.$ac_objext'
     5026         { ac_try='test -z "$ac_c_werror_flag"
     5027                         || test ! -s conftest.err'
    47485028  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    47495029  (eval $ac_try) 2>&5
    47505030  ac_status=$?
    47515031  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5032  (exit $ac_status); }; } &&
     5033         { ac_try='test -s conftest.$ac_objext'
     5034  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5035  (eval $ac_try) 2>&5
     5036  ac_status=$?
     5037  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    47525038  (exit $ac_status); }; }; then
    47535039  ac_header_compiler=yes
     
    47585044ac_header_compiler=no
    47595045fi
    4760 rm -f conftest.$ac_objext conftest.$ac_ext
     5046rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    47615047echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    47625048echo "${ECHO_T}$ac_header_compiler" >&6
     
    47665052echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
    47675053cat >conftest.$ac_ext <<_ACEOF
    4768 #line $LINENO "configure"
    47695054/* confdefs.h.  */
    47705055_ACEOF
     
    47845069  if test -s conftest.err; then
    47855070    ac_cpp_err=$ac_c_preproc_warn_flag
     5071    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    47865072  else
    47875073    ac_cpp_err=
     
    48035089
    48045090# So?  What about this header?
    4805 case $ac_header_compiler:$ac_header_preproc in
    4806   yes:no )
     5091case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
     5092  yes:no: )
    48075093    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    48085094echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     5095    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
     5096echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
     5097    ac_header_preproc=yes
     5098    ;;
     5099  no:yes:* )
     5100    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     5101echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     5102    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
     5103echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
     5104    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
     5105echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
     5106    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
     5107echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    48095108    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    48105109echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     5110    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
     5111echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    48115112    (
    48125113      cat <<\_ASBOX
    4813 ## ------------------------------------ ##
    4814 ## Report this to bug-autoconf@gnu.org. ##
    4815 ## ------------------------------------ ##
    4816 _ASBOX
    4817     ) |
    4818       sed "s/^/$as_me: WARNING:     /" >&2
    4819     ;;
    4820   no:yes )
    4821     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    4822 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    4823     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
    4824 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
    4825     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    4826 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    4827     (
    4828       cat <<\_ASBOX
    4829 ## ------------------------------------ ##
    4830 ## Report this to bug-autoconf@gnu.org. ##
    4831 ## ------------------------------------ ##
     5114## ------------------------------------------- ##
     5115## Report this to orxonox-dev@mail.datacore.ch ##
     5116## ------------------------------------------- ##
    48325117_ASBOX
    48335118    ) |
     
    48405125  echo $ECHO_N "(cached) $ECHO_C" >&6
    48415126else
    4842   eval "$as_ac_Header=$ac_header_preproc"
     5127  eval "$as_ac_Header=\$ac_header_preproc"
    48435128fi
    48445129echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     
    48685153LIBS="-lGLU  $LIBS"
    48695154cat >conftest.$ac_ext <<_ACEOF
    4870 #line $LINENO "configure"
    48715155/* confdefs.h.  */
    48725156_ACEOF
     
    48925176rm -f conftest.$ac_objext conftest$ac_exeext
    48935177if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    4894   (eval $ac_link) 2>&5
    4895   ac_status=$?
     5178  (eval $ac_link) 2>conftest.er1
     5179  ac_status=$?
     5180  grep -v '^ *+' conftest.er1 >conftest.err
     5181  rm -f conftest.er1
     5182  cat conftest.err >&5
    48965183  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    48975184  (exit $ac_status); } &&
    4898          { ac_try='test -s conftest$ac_exeext'
     5185         { ac_try='test -z "$ac_c_werror_flag"
     5186                         || test ! -s conftest.err'
    48995187  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    49005188  (eval $ac_try) 2>&5
    49015189  ac_status=$?
    49025190  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5191  (exit $ac_status); }; } &&
     5192         { ac_try='test -s conftest$ac_exeext'
     5193  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5194  (eval $ac_try) 2>&5
     5195  ac_status=$?
     5196  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    49035197  (exit $ac_status); }; }; then
    49045198  ac_cv_lib_GLU_gluProject=yes
     
    49095203ac_cv_lib_GLU_gluProject=no
    49105204fi
    4911 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
     5205rm -f conftest.err conftest.$ac_objext \
     5206      conftest$ac_exeext conftest.$ac_ext
    49125207LIBS=$ac_check_lib_save_LIBS
    49135208fi
     
    50355330else
    50365331  cat >conftest.$ac_ext <<_ACEOF
    5037 #line $LINENO "configure"
    50385332/* confdefs.h.  */
    50395333_ACEOF
     
    51205414no_sdl=yes
    51215415fi
    5122 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     5416rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    51235417fi
    51245418       CFLAGS="$ac_save_CFLAGS"
     
    51465440          LIBS="$LIBS $SDL_LIBS"
    51475441          cat >conftest.$ac_ext <<_ACEOF
    5148 #line $LINENO "configure"
    51495442/* confdefs.h.  */
    51505443_ACEOF
     
    51715464rm -f conftest.$ac_objext conftest$ac_exeext
    51725465if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    5173   (eval $ac_link) 2>&5
    5174   ac_status=$?
     5466  (eval $ac_link) 2>conftest.er1
     5467  ac_status=$?
     5468  grep -v '^ *+' conftest.er1 >conftest.err
     5469  rm -f conftest.er1
     5470  cat conftest.err >&5
    51755471  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    51765472  (exit $ac_status); } &&
    5177          { ac_try='test -s conftest$ac_exeext'
     5473         { ac_try='test -z "$ac_c_werror_flag"
     5474                         || test ! -s conftest.err'
     5475  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5476  (eval $ac_try) 2>&5
     5477  ac_status=$?
     5478  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5479  (exit $ac_status); }; } &&
     5480         { ac_try='test -s conftest$ac_exeext'
    51785481  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    51795482  (eval $ac_try) 2>&5
     
    51995502          echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
    52005503fi
    5201 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
     5504rm -f conftest.err conftest.$ac_objext \
     5505      conftest$ac_exeext conftest.$ac_ext
    52025506          CFLAGS="$ac_save_CFLAGS"
    52035507          LIBS="$ac_save_LIBS"
     
    52435547echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
    52445548cat >conftest.$ac_ext <<_ACEOF
    5245 #line $LINENO "configure"
    52465549/* confdefs.h.  */
    52475550_ACEOF
     
    52545557rm -f conftest.$ac_objext
    52555558if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    5256   (eval $ac_compile) 2>&5
    5257   ac_status=$?
     5559  (eval $ac_compile) 2>conftest.er1
     5560  ac_status=$?
     5561  grep -v '^ *+' conftest.er1 >conftest.err
     5562  rm -f conftest.er1
     5563  cat conftest.err >&5
    52585564  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    52595565  (exit $ac_status); } &&
    5260          { ac_try='test -s conftest.$ac_objext'
     5566         { ac_try='test -z "$ac_c_werror_flag"
     5567                         || test ! -s conftest.err'
    52615568  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    52625569  (eval $ac_try) 2>&5
    52635570  ac_status=$?
    52645571  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5572  (exit $ac_status); }; } &&
     5573         { ac_try='test -s conftest.$ac_objext'
     5574  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5575  (eval $ac_try) 2>&5
     5576  ac_status=$?
     5577  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    52655578  (exit $ac_status); }; }; then
    52665579  ac_header_compiler=yes
     
    52715584ac_header_compiler=no
    52725585fi
    5273 rm -f conftest.$ac_objext conftest.$ac_ext
     5586rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    52745587echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    52755588echo "${ECHO_T}$ac_header_compiler" >&6
     
    52795592echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
    52805593cat >conftest.$ac_ext <<_ACEOF
    5281 #line $LINENO "configure"
    52825594/* confdefs.h.  */
    52835595_ACEOF
     
    52975609  if test -s conftest.err; then
    52985610    ac_cpp_err=$ac_c_preproc_warn_flag
     5611    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    52995612  else
    53005613    ac_cpp_err=
     
    53165629
    53175630# So?  What about this header?
    5318 case $ac_header_compiler:$ac_header_preproc in
    5319   yes:no )
     5631case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
     5632  yes:no: )
    53205633    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    53215634echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     5635    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
     5636echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
     5637    ac_header_preproc=yes
     5638    ;;
     5639  no:yes:* )
     5640    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     5641echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     5642    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
     5643echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
     5644    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
     5645echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
     5646    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
     5647echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    53225648    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    53235649echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     5650    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
     5651echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    53245652    (
    53255653      cat <<\_ASBOX
    5326 ## ------------------------------------ ##
    5327 ## Report this to bug-autoconf@gnu.org. ##
    5328 ## ------------------------------------ ##
    5329 _ASBOX
    5330     ) |
    5331       sed "s/^/$as_me: WARNING:     /" >&2
    5332     ;;
    5333   no:yes )
    5334     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    5335 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    5336     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
    5337 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
    5338     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    5339 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    5340     (
    5341       cat <<\_ASBOX
    5342 ## ------------------------------------ ##
    5343 ## Report this to bug-autoconf@gnu.org. ##
    5344 ## ------------------------------------ ##
     5654## ------------------------------------------- ##
     5655## Report this to orxonox-dev@mail.datacore.ch ##
     5656## ------------------------------------------- ##
    53455657_ASBOX
    53465658    ) |
     
    53535665  echo $ECHO_N "(cached) $ECHO_C" >&6
    53545666else
    5355   eval "$as_ac_Header=$ac_header_preproc"
     5667  eval "$as_ac_Header=\$ac_header_preproc"
    53565668fi
    53575669echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     
    53905702echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
    53915703cat >conftest.$ac_ext <<_ACEOF
    5392 #line $LINENO "configure"
    53935704/* confdefs.h.  */
    53945705_ACEOF
     
    54015712rm -f conftest.$ac_objext
    54025713if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    5403   (eval $ac_compile) 2>&5
    5404   ac_status=$?
     5714  (eval $ac_compile) 2>conftest.er1
     5715  ac_status=$?
     5716  grep -v '^ *+' conftest.er1 >conftest.err
     5717  rm -f conftest.er1
     5718  cat conftest.err >&5
    54055719  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    54065720  (exit $ac_status); } &&
    5407          { ac_try='test -s conftest.$ac_objext'
     5721         { ac_try='test -z "$ac_c_werror_flag"
     5722                         || test ! -s conftest.err'
    54085723  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    54095724  (eval $ac_try) 2>&5
    54105725  ac_status=$?
    54115726  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5727  (exit $ac_status); }; } &&
     5728         { ac_try='test -s conftest.$ac_objext'
     5729  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5730  (eval $ac_try) 2>&5
     5731  ac_status=$?
     5732  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    54125733  (exit $ac_status); }; }; then
    54135734  ac_header_compiler=yes
     
    54185739ac_header_compiler=no
    54195740fi
    5420 rm -f conftest.$ac_objext conftest.$ac_ext
     5741rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    54215742echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    54225743echo "${ECHO_T}$ac_header_compiler" >&6
     
    54265747echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
    54275748cat >conftest.$ac_ext <<_ACEOF
    5428 #line $LINENO "configure"
    54295749/* confdefs.h.  */
    54305750_ACEOF
     
    54445764  if test -s conftest.err; then
    54455765    ac_cpp_err=$ac_c_preproc_warn_flag
     5766    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    54465767  else
    54475768    ac_cpp_err=
     
    54635784
    54645785# So?  What about this header?
    5465 case $ac_header_compiler:$ac_header_preproc in
    5466   yes:no )
     5786case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
     5787  yes:no: )
    54675788    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    54685789echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     5790    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
     5791echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
     5792    ac_header_preproc=yes
     5793    ;;
     5794  no:yes:* )
     5795    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     5796echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     5797    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
     5798echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
     5799    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
     5800echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
     5801    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
     5802echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    54695803    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    54705804echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     5805    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
     5806echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    54715807    (
    54725808      cat <<\_ASBOX
    5473 ## ------------------------------------ ##
    5474 ## Report this to bug-autoconf@gnu.org. ##
    5475 ## ------------------------------------ ##
    5476 _ASBOX
    5477     ) |
    5478       sed "s/^/$as_me: WARNING:     /" >&2
    5479     ;;
    5480   no:yes )
    5481     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    5482 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    5483     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
    5484 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
    5485     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    5486 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    5487     (
    5488       cat <<\_ASBOX
    5489 ## ------------------------------------ ##
    5490 ## Report this to bug-autoconf@gnu.org. ##
    5491 ## ------------------------------------ ##
     5809## ------------------------------------------- ##
     5810## Report this to orxonox-dev@mail.datacore.ch ##
     5811## ------------------------------------------- ##
    54925812_ASBOX
    54935813    ) |
     
    55005820  echo $ECHO_N "(cached) $ECHO_C" >&6
    55015821else
    5502   eval "$as_ac_Header=$ac_header_preproc"
     5822  eval "$as_ac_Header=\$ac_header_preproc"
    55035823fi
    55045824echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     
    55225842   LIBS="$LIBS -framework OpenGL"
    55235843
    5524 ## checking for SDL
    5525     SDL_VERSION=1.2.7
    5526 
    5527 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
    5528 if test "${with_sdl_prefix+set}" = set; then
    5529   withval="$with_sdl_prefix"
    5530   sdl_prefix="$withval"
    5531 else
    5532   sdl_prefix=""
    5533 fi;
    5534 
    5535 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
    5536 if test "${with_sdl_exec_prefix+set}" = set; then
    5537   withval="$with_sdl_exec_prefix"
    5538   sdl_exec_prefix="$withval"
    5539 else
    5540   sdl_exec_prefix=""
    5541 fi;
    5542 # Check whether --enable-sdltest or --disable-sdltest was given.
    5543 if test "${enable_sdltest+set}" = set; then
    5544   enableval="$enable_sdltest"
    5545 
    5546 else
    5547   enable_sdltest=yes
    5548 fi;
    5549 
    5550   if test x$sdl_exec_prefix != x ; then
    5551      sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
    5552      if test x${SDL_CONFIG+set} != xset ; then
    5553         SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
    5554      fi
    5555   fi
    5556   if test x$sdl_prefix != x ; then
    5557      sdl_args="$sdl_args --prefix=$sdl_prefix"
    5558      if test x${SDL_CONFIG+set} != xset ; then
    5559         SDL_CONFIG=$sdl_prefix/bin/sdl-config
    5560      fi
    5561   fi
    5562 
    5563 
    5564   PATH="$prefix/bin:$prefix/usr/bin:$PATH"
    5565   # Extract the first word of "sdl-config", so it can be a program name with args.
    5566 set dummy sdl-config; ac_word=$2
    5567 echo "$as_me:$LINENO: checking for $ac_word" >&5
    5568 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    5569 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
     5844# checking for SDL-headers
     5845
     5846for ac_header in SDL/SDL.h
     5847do
     5848as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
     5849if eval "test \"\${$as_ac_Header+set}\" = set"; then
     5850  echo "$as_me:$LINENO: checking for $ac_header" >&5
     5851echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     5852if eval "test \"\${$as_ac_Header+set}\" = set"; then
    55705853  echo $ECHO_N "(cached) $ECHO_C" >&6
    5571 else
    5572   case $SDL_CONFIG in
    5573   [\\/]* | ?:[\\/]*)
    5574   ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
    5575   ;;
    5576   *)
    5577   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    5578 for as_dir in $PATH
    5579 do
    5580   IFS=$as_save_IFS
    5581   test -z "$as_dir" && as_dir=.
    5582   for ac_exec_ext in '' $ac_executable_extensions; do
    5583   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    5584     ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
    5585     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    5586     break 2
    5587   fi
    5588 done
    5589 done
    5590 
    5591   test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
    5592   ;;
    5593 esac
    5594 fi
    5595 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
    5596 
    5597 if test -n "$SDL_CONFIG"; then
    5598   echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
    5599 echo "${ECHO_T}$SDL_CONFIG" >&6
    5600 else
    5601   echo "$as_me:$LINENO: result: no" >&5
    5602 echo "${ECHO_T}no" >&6
    5603 fi
    5604 
    5605   min_sdl_version=$SDL_VERSION
    5606   echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
    5607 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
    5608   no_sdl=""
    5609   if test "$SDL_CONFIG" = "no" ; then
    5610     no_sdl=yes
    5611   else
    5612     SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
    5613     SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
    5614 
    5615     sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
    5616            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
    5617     sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
    5618            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
    5619     sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
    5620            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
    5621     if test "x$enable_sdltest" = "xyes" ; then
    5622       ac_save_CFLAGS="$CFLAGS"
    5623       ac_save_LIBS="$LIBS"
    5624       CFLAGS="$CFLAGS $SDL_CFLAGS"
    5625       LIBS="$LIBS $SDL_LIBS"
    5626       rm -f conf.sdltest
    5627       if test "$cross_compiling" = yes; then
    5628   echo $ac_n "cross compiling; assumed OK... $ac_c"
    5629 else
    5630   cat >conftest.$ac_ext <<_ACEOF
    5631 #line $LINENO "configure"
     5854fi
     5855echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     5856echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     5857else
     5858  # Is the header compilable?
     5859echo "$as_me:$LINENO: checking $ac_header usability" >&5
     5860echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
     5861cat >conftest.$ac_ext <<_ACEOF
    56325862/* confdefs.h.  */
    56335863_ACEOF
     
    56355865cat >>conftest.$ac_ext <<_ACEOF
    56365866/* end confdefs.h.  */
    5637 
    5638 #include <stdio.h>
    5639 #include <stdlib.h>
    5640 #include <string.h>
    5641 #include "SDL.h"
    5642 
    5643 char*
    5644 my_strdup (char *str)
    5645 {
    5646   char *new_str;
    5647 
    5648   if (str)
    5649     {
    5650       new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
    5651       strcpy (new_str, str);
    5652     }
    5653   else
    5654     new_str = NULL;
    5655 
    5656   return new_str;
    5657 }
    5658 
    5659 int main (int argc, char *argv[])
    5660 {
    5661   int major, minor, micro;
    5662   char *tmp_version;
    5663 
    5664   /* This hangs on some systems (?)
    5665   system ("touch conf.sdltest");
    5666   */
    5667   { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
    5668 
    5669   /* HP/UX 9 (%@#!) writes to sscanf strings */
    5670   tmp_version = my_strdup("$min_sdl_version");
    5671   if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
    5672      printf("%s, bad version string\n", "$min_sdl_version");
    5673      exit(1);
    5674    }
    5675 
    5676    if (($sdl_major_version > major) ||
    5677       (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
    5678       (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
    5679     {
    5680       return 0;
    5681     }
    5682   else
    5683     {
    5684       printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
    5685       printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
    5686       printf("*** best to upgrade to the required version.\n");
    5687       printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
    5688       printf("*** to point to the correct copy of sdl-config, and remove the file\n");
    5689       printf("*** config.cache before re-running configure\n");
    5690       return 1;
    5691     }
    5692 }
    5693 
    5694 
    5695 _ACEOF
    5696 rm -f conftest$ac_exeext
    5697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    5698   (eval $ac_link) 2>&5
    5699   ac_status=$?
    5700   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5701   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
     5867$ac_includes_default
     5868#include <$ac_header>
     5869_ACEOF
     5870rm -f conftest.$ac_objext
     5871if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     5872  (eval $ac_compile) 2>conftest.er1
     5873  ac_status=$?
     5874  grep -v '^ *+' conftest.er1 >conftest.err
     5875  rm -f conftest.er1
     5876  cat conftest.err >&5
     5877  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5878  (exit $ac_status); } &&
     5879         { ac_try='test -z "$ac_c_werror_flag"
     5880                         || test ! -s conftest.err'
    57025881  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    57035882  (eval $ac_try) 2>&5
    57045883  ac_status=$?
    57055884  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5885  (exit $ac_status); }; } &&
     5886         { ac_try='test -s conftest.$ac_objext'
     5887  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5888  (eval $ac_try) 2>&5
     5889  ac_status=$?
     5890  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    57065891  (exit $ac_status); }; }; then
    5707   :
    5708 else
    5709   echo "$as_me: program exited with status $ac_status" >&5
    5710 echo "$as_me: failed program was:" >&5
     5892  ac_header_compiler=yes
     5893else
     5894  echo "$as_me: failed program was:" >&5
    57115895sed 's/^/| /' conftest.$ac_ext >&5
    57125896
    5713 ( exit $ac_status )
    5714 no_sdl=yes
    5715 fi
    5716 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    5717 fi
    5718        CFLAGS="$ac_save_CFLAGS"
    5719        LIBS="$ac_save_LIBS"
    5720      fi
    5721   fi
    5722   if test "x$no_sdl" = x ; then
    5723      echo "$as_me:$LINENO: result: yes" >&5
    5724 echo "${ECHO_T}yes" >&6
    5725      :
    5726   else
    5727      echo "$as_me:$LINENO: result: no" >&5
    5728 echo "${ECHO_T}no" >&6
    5729      if test "$SDL_CONFIG" = "no" ; then
    5730        echo "*** The sdl-config script installed by SDL could not be found"
    5731        echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
    5732        echo "*** your path, or set the SDL_CONFIG environment variable to the"
    5733        echo "*** full path to sdl-config."
    5734      else
    5735        if test -f conf.sdltest ; then
    5736         :
    5737        else
    5738           echo "*** Could not run SDL test program, checking why..."
    5739           CFLAGS="$CFLAGS $SDL_CFLAGS"
    5740           LIBS="$LIBS $SDL_LIBS"
    5741           cat >conftest.$ac_ext <<_ACEOF
    5742 #line $LINENO "configure"
     5897ac_header_compiler=no
     5898fi
     5899rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     5900echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     5901echo "${ECHO_T}$ac_header_compiler" >&6
     5902
     5903# Is the header present?
     5904echo "$as_me:$LINENO: checking $ac_header presence" >&5
     5905echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
     5906cat >conftest.$ac_ext <<_ACEOF
    57435907/* confdefs.h.  */
    57445908_ACEOF
     
    57465910cat >>conftest.$ac_ext <<_ACEOF
    57475911/* end confdefs.h.  */
    5748 
    5749 #include <stdio.h>
    5750 #include "SDL.h"
    5751 
    5752 int main(int argc, char *argv[])
    5753 { return 0; }
    5754 #undef  main
    5755 #define main K_and_R_C_main
    5756 
    5757 int
    5758 main ()
    5759 {
    5760  return 0;
    5761   ;
    5762   return 0;
    5763 }
    5764 _ACEOF
    5765 rm -f conftest.$ac_objext conftest$ac_exeext
    5766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    5767   (eval $ac_link) 2>&5
    5768   ac_status=$?
    5769   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5770   (exit $ac_status); } &&
    5771          { ac_try='test -s conftest$ac_exeext'
    5772   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5773   (eval $ac_try) 2>&5
    5774   ac_status=$?
    5775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5776   (exit $ac_status); }; }; then
    5777    echo "*** The test program compiled, but did not run. This usually means"
    5778           echo "*** that the run-time linker is not finding SDL or finding the wrong"
    5779           echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
    5780           echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
    5781           echo "*** to the installed location  Also, make sure you have run ldconfig if that"
    5782           echo "*** is required on your system"
    5783           echo "***"
    5784           echo "*** If you have an old version installed, it is best to remove it, although"
    5785           echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
     5912#include <$ac_header>
     5913_ACEOF
     5914if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     5915  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     5916  ac_status=$?
     5917  grep -v '^ *+' conftest.er1 >conftest.err
     5918  rm -f conftest.er1
     5919  cat conftest.err >&5
     5920  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5921  (exit $ac_status); } >/dev/null; then
     5922  if test -s conftest.err; then
     5923    ac_cpp_err=$ac_c_preproc_warn_flag
     5924    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
     5925  else
     5926    ac_cpp_err=
     5927  fi
     5928else
     5929  ac_cpp_err=yes
     5930fi
     5931if test -z "$ac_cpp_err"; then
     5932  ac_header_preproc=yes
    57865933else
    57875934  echo "$as_me: failed program was:" >&5
    57885935sed 's/^/| /' conftest.$ac_ext >&5
    57895936
    5790  echo "*** The test program failed to compile or link. See the file config.log for the"
    5791           echo "*** exact error that occured. This usually means SDL was incorrectly installed"
    5792           echo "*** or that you have moved SDL since it was installed. In the latter case, you"
    5793           echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
    5794 fi
    5795 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    5796           CFLAGS="$ac_save_CFLAGS"
    5797           LIBS="$ac_save_LIBS"
    5798        fi
    5799      fi
    5800      SDL_CFLAGS=""
    5801      SDL_LIBS=""
    5802      { { echo "$as_me:$LINENO: error: *** SDL version $SDL_VERSION not found!" >&5
    5803 echo "$as_me: error: *** SDL version $SDL_VERSION not found!" >&2;}
     5937  ac_header_preproc=no
     5938fi
     5939rm -f conftest.err conftest.$ac_ext
     5940echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     5941echo "${ECHO_T}$ac_header_preproc" >&6
     5942
     5943# So?  What about this header?
     5944case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
     5945  yes:no: )
     5946    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
     5947echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     5948    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
     5949echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
     5950    ac_header_preproc=yes
     5951    ;;
     5952  no:yes:* )
     5953    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     5954echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     5955    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
     5956echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
     5957    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
     5958echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
     5959    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
     5960echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
     5961    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     5962echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     5963    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
     5964echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
     5965    (
     5966      cat <<\_ASBOX
     5967## ------------------------------------------- ##
     5968## Report this to orxonox-dev@mail.datacore.ch ##
     5969## ------------------------------------------- ##
     5970_ASBOX
     5971    ) |
     5972      sed "s/^/$as_me: WARNING:     /" >&2
     5973    ;;
     5974esac
     5975echo "$as_me:$LINENO: checking for $ac_header" >&5
     5976echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     5977if eval "test \"\${$as_ac_Header+set}\" = set"; then
     5978  echo $ECHO_N "(cached) $ECHO_C" >&6
     5979else
     5980  eval "$as_ac_Header=\$ac_header_preproc"
     5981fi
     5982echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     5983echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     5984
     5985fi
     5986if test `eval echo '${'$as_ac_Header'}'` = yes; then
     5987  cat >>confdefs.h <<_ACEOF
     5988#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
     5989_ACEOF
     5990
     5991else
     5992  { { echo "$as_me:$LINENO: error: cannot find SDL headers" >&5
     5993echo "$as_me: error: cannot find SDL headers" >&2;}
    58045994   { (exit 1); exit 1; }; }
    5805 
    5806   fi
    5807 
    5808 
    5809   rm -f conf.sdltest
    5810 
    5811     CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
    5812     LIBS="$LIBS $SDL_LIBS"
     5995fi
     5996
     5997done
     5998
     5999
     6000## checking for SDL
     6001#    SDL_VERSION=1.2.7
     6002#    AM_PATH_SDL($SDL_VERSION,
     6003#      :,
     6004#      AC_MSG_ERROR([*** SDL version $SDL_VERSION not found!])
     6005#      )
     6006
     6007       SDL_CFLAGS=`sdl-config --cflags`
     6008       SDL_LIBS=`sdl-config --libs`
     6009       CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
     6010       LIBS="$LIBS $SDL_LIBS"
    58136011  ;;
    58146012
     
    59436141LIBS="-lpthread  $LIBS"
    59446142cat >conftest.$ac_ext <<_ACEOF
    5945 #line $LINENO "configure"
    59466143/* confdefs.h.  */
    59476144_ACEOF
     
    59616158rm -f conftest.$ac_objext conftest$ac_exeext
    59626159if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    5963   (eval $ac_link) 2>&5
    5964   ac_status=$?
     6160  (eval $ac_link) 2>conftest.er1
     6161  ac_status=$?
     6162  grep -v '^ *+' conftest.er1 >conftest.err
     6163  rm -f conftest.er1
     6164  cat conftest.err >&5
    59656165  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    59666166  (exit $ac_status); } &&
    5967          { ac_try='test -s conftest$ac_exeext'
     6167         { ac_try='test -z "$ac_c_werror_flag"
     6168                         || test ! -s conftest.err'
    59686169  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    59696170  (eval $ac_try) 2>&5
    59706171  ac_status=$?
    59716172  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6173  (exit $ac_status); }; } &&
     6174         { ac_try='test -s conftest$ac_exeext'
     6175  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6176  (eval $ac_try) 2>&5
     6177  ac_status=$?
     6178  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    59726179  (exit $ac_status); }; }; then
    59736180  ac_cv_lib_pthread_main=yes
     
    59786185ac_cv_lib_pthread_main=no
    59796186fi
    5980 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
     6187rm -f conftest.err conftest.$ac_objext \
     6188      conftest$ac_exeext conftest.$ac_ext
    59816189LIBS=$ac_check_lib_save_LIBS
    59826190fi
     
    60026210LIBS="-lm  $LIBS"
    60036211cat >conftest.$ac_ext <<_ACEOF
    6004 #line $LINENO "configure"
    60056212/* confdefs.h.  */
    60066213_ACEOF
     
    60206227rm -f conftest.$ac_objext conftest$ac_exeext
    60216228if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    6022   (eval $ac_link) 2>&5
    6023   ac_status=$?
     6229  (eval $ac_link) 2>conftest.er1
     6230  ac_status=$?
     6231  grep -v '^ *+' conftest.er1 >conftest.err
     6232  rm -f conftest.er1
     6233  cat conftest.err >&5
    60246234  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    60256235  (exit $ac_status); } &&
    6026          { ac_try='test -s conftest$ac_exeext'
     6236         { ac_try='test -z "$ac_c_werror_flag"
     6237                         || test ! -s conftest.err'
    60276238  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    60286239  (eval $ac_try) 2>&5
    60296240  ac_status=$?
    60306241  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6242  (exit $ac_status); }; } &&
     6243         { ac_try='test -s conftest$ac_exeext'
     6244  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6245  (eval $ac_try) 2>&5
     6246  ac_status=$?
     6247  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    60316248  (exit $ac_status); }; }; then
    60326249  ac_cv_lib_m_main=yes
     
    60376254ac_cv_lib_m_main=no
    60386255fi
    6039 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
     6256rm -f conftest.err conftest.$ac_objext \
     6257      conftest$ac_exeext conftest.$ac_ext
    60406258LIBS=$ac_check_lib_save_LIBS
    60416259fi
     
    60606278else
    60616279  cat >conftest.$ac_ext <<_ACEOF
    6062 #line $LINENO "configure"
    60636280/* confdefs.h.  */
    60646281_ACEOF
     
    60816298rm -f conftest.$ac_objext
    60826299if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    6083   (eval $ac_compile) 2>&5
    6084   ac_status=$?
     6300  (eval $ac_compile) 2>conftest.er1
     6301  ac_status=$?
     6302  grep -v '^ *+' conftest.er1 >conftest.err
     6303  rm -f conftest.er1
     6304  cat conftest.err >&5
    60856305  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    60866306  (exit $ac_status); } &&
    6087          { ac_try='test -s conftest.$ac_objext'
     6307         { ac_try='test -z "$ac_c_werror_flag"
     6308                         || test ! -s conftest.err'
    60886309  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    60896310  (eval $ac_try) 2>&5
    60906311  ac_status=$?
    60916312  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6313  (exit $ac_status); }; } &&
     6314         { ac_try='test -s conftest.$ac_objext'
     6315  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6316  (eval $ac_try) 2>&5
     6317  ac_status=$?
     6318  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    60926319  (exit $ac_status); }; }; then
    60936320  ac_cv_header_stdc=yes
     
    60986325ac_cv_header_stdc=no
    60996326fi
    6100 rm -f conftest.$ac_objext conftest.$ac_ext
     6327rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    61016328
    61026329if test $ac_cv_header_stdc = yes; then
    61036330  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    61046331  cat >conftest.$ac_ext <<_ACEOF
    6105 #line $LINENO "configure"
    61066332/* confdefs.h.  */
    61076333_ACEOF
     
    61256351  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    61266352  cat >conftest.$ac_ext <<_ACEOF
    6127 #line $LINENO "configure"
    61286353/* confdefs.h.  */
    61296354_ACEOF
     
    61506375else
    61516376  cat >conftest.$ac_ext <<_ACEOF
    6152 #line $LINENO "configure"
    61536377/* confdefs.h.  */
    61546378_ACEOF
     
    61626386#else
    61636387# define ISLOWER(c) \
    6164                    (('a' <= (c) && (c) <= 'i') \
    6165                      || ('j' <= (c) && (c) <= 'r') \
    6166                      || ('s' <= (c) && (c) <= 'z'))
     6388                   (('a' <= (c) && (c) <= 'i') \
     6389                     || ('j' <= (c) && (c) <= 'r') \
     6390                     || ('s' <= (c) && (c) <= 'z'))
    61676391# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
    61686392#endif
     
    61756399  for (i = 0; i < 256; i++)
    61766400    if (XOR (islower (i), ISLOWER (i))
    6177         || toupper (i) != TOUPPER (i))
     6401        || toupper (i) != TOUPPER (i))
    61786402      exit(2);
    61796403  exit (0);
     
    62006424ac_cv_header_stdc=no
    62016425fi
    6202 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     6426rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    62036427fi
    62046428fi
     
    62326456echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
    62336457cat >conftest.$ac_ext <<_ACEOF
    6234 #line $LINENO "configure"
    62356458/* confdefs.h.  */
    62366459_ACEOF
     
    62436466rm -f conftest.$ac_objext
    62446467if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    6245   (eval $ac_compile) 2>&5
    6246   ac_status=$?
     6468  (eval $ac_compile) 2>conftest.er1
     6469  ac_status=$?
     6470  grep -v '^ *+' conftest.er1 >conftest.err
     6471  rm -f conftest.er1
     6472  cat conftest.err >&5
    62476473  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    62486474  (exit $ac_status); } &&
    6249          { ac_try='test -s conftest.$ac_objext'
     6475         { ac_try='test -z "$ac_c_werror_flag"
     6476                         || test ! -s conftest.err'
    62506477  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    62516478  (eval $ac_try) 2>&5
    62526479  ac_status=$?
    62536480  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6481  (exit $ac_status); }; } &&
     6482         { ac_try='test -s conftest.$ac_objext'
     6483  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6484  (eval $ac_try) 2>&5
     6485  ac_status=$?
     6486  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    62546487  (exit $ac_status); }; }; then
    62556488  ac_header_compiler=yes
     
    62606493ac_header_compiler=no
    62616494fi
    6262 rm -f conftest.$ac_objext conftest.$ac_ext
     6495rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    62636496echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    62646497echo "${ECHO_T}$ac_header_compiler" >&6
     
    62686501echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
    62696502cat >conftest.$ac_ext <<_ACEOF
    6270 #line $LINENO "configure"
    62716503/* confdefs.h.  */
    62726504_ACEOF
     
    62866518  if test -s conftest.err; then
    62876519    ac_cpp_err=$ac_c_preproc_warn_flag
     6520    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    62886521  else
    62896522    ac_cpp_err=
     
    63056538
    63066539# So?  What about this header?
    6307 case $ac_header_compiler:$ac_header_preproc in
    6308   yes:no )
     6540case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
     6541  yes:no: )
    63096542    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    63106543echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     6544    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
     6545echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
     6546    ac_header_preproc=yes
     6547    ;;
     6548  no:yes:* )
     6549    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     6550echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     6551    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
     6552echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
     6553    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
     6554echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
     6555    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
     6556echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    63116557    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    63126558echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     6559    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
     6560echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    63136561    (
    63146562      cat <<\_ASBOX
    6315 ## ------------------------------------ ##
    6316 ## Report this to bug-autoconf@gnu.org. ##
    6317 ## ------------------------------------ ##
    6318 _ASBOX
    6319     ) |
    6320       sed "s/^/$as_me: WARNING:     /" >&2
    6321     ;;
    6322   no:yes )
    6323     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    6324 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    6325     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
    6326 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
    6327     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    6328 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    6329     (
    6330       cat <<\_ASBOX
    6331 ## ------------------------------------ ##
    6332 ## Report this to bug-autoconf@gnu.org. ##
    6333 ## ------------------------------------ ##
     6563## ------------------------------------------- ##
     6564## Report this to orxonox-dev@mail.datacore.ch ##
     6565## ------------------------------------------- ##
    63346566_ASBOX
    63356567    ) |
     
    63426574  echo $ECHO_N "(cached) $ECHO_C" >&6
    63436575else
    6344   eval "$as_ac_Header=$ac_header_preproc"
     6576  eval "$as_ac_Header=\$ac_header_preproc"
    63456577fi
    63466578echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     
    63656597else
    63666598  cat >conftest.$ac_ext <<_ACEOF
    6367 #line $LINENO "configure"
    63686599/* confdefs.h.  */
    63696600_ACEOF
     
    63926623#endif
    63936624
    6394         struct s { _Bool s: 1; _Bool t; } s;
    6395 
    6396         char a[true == 1 ? 1 : -1];
    6397         char b[false == 0 ? 1 : -1];
    6398         char c[__bool_true_false_are_defined == 1 ? 1 : -1];
    6399         char d[(bool) -0.5 == true ? 1 : -1];
    6400         bool e = &s;
    6401         char f[(_Bool) -0.0 == false ? 1 : -1];
    6402         char g[true];
    6403         char h[sizeof (_Bool)];
    6404         char i[sizeof s.t];
     6625        struct s { _Bool s: 1; _Bool t; } s;
     6626
     6627        char a[true == 1 ? 1 : -1];
     6628        char b[false == 0 ? 1 : -1];
     6629        char c[__bool_true_false_are_defined == 1 ? 1 : -1];
     6630        char d[(bool) -0.5 == true ? 1 : -1];
     6631        bool e = &s;
     6632        char f[(_Bool) -0.0 == false ? 1 : -1];
     6633        char g[true];
     6634        char h[sizeof (_Bool)];
     6635        char i[sizeof s.t];
    64056636
    64066637int
     
    64146645rm -f conftest.$ac_objext
    64156646if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    6416   (eval $ac_compile) 2>&5
    6417   ac_status=$?
     6647  (eval $ac_compile) 2>conftest.er1
     6648  ac_status=$?
     6649  grep -v '^ *+' conftest.er1 >conftest.err
     6650  rm -f conftest.er1
     6651  cat conftest.err >&5
    64186652  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    64196653  (exit $ac_status); } &&
    6420          { ac_try='test -s conftest.$ac_objext'
     6654         { ac_try='test -z "$ac_c_werror_flag"
     6655                         || test ! -s conftest.err'
    64216656  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    64226657  (eval $ac_try) 2>&5
    64236658  ac_status=$?
    64246659  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6660  (exit $ac_status); }; } &&
     6661         { ac_try='test -s conftest.$ac_objext'
     6662  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6663  (eval $ac_try) 2>&5
     6664  ac_status=$?
     6665  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    64256666  (exit $ac_status); }; }; then
    64266667  ac_cv_header_stdbool_h=yes
     
    64316672ac_cv_header_stdbool_h=no
    64326673fi
    6433 rm -f conftest.$ac_objext conftest.$ac_ext
     6674rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    64346675fi
    64356676echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5
     
    64416682else
    64426683  cat >conftest.$ac_ext <<_ACEOF
    6443 #line $LINENO "configure"
    64446684/* confdefs.h.  */
    64456685_ACEOF
     
    64616701rm -f conftest.$ac_objext
    64626702if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    6463   (eval $ac_compile) 2>&5
    6464   ac_status=$?
     6703  (eval $ac_compile) 2>conftest.er1
     6704  ac_status=$?
     6705  grep -v '^ *+' conftest.er1 >conftest.err
     6706  rm -f conftest.er1
     6707  cat conftest.err >&5
    64656708  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    64666709  (exit $ac_status); } &&
    6467          { ac_try='test -s conftest.$ac_objext'
     6710         { ac_try='test -z "$ac_c_werror_flag"
     6711                         || test ! -s conftest.err'
    64686712  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    64696713  (eval $ac_try) 2>&5
    64706714  ac_status=$?
    64716715  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6716  (exit $ac_status); }; } &&
     6717         { ac_try='test -s conftest.$ac_objext'
     6718  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6719  (eval $ac_try) 2>&5
     6720  ac_status=$?
     6721  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    64726722  (exit $ac_status); }; }; then
    64736723  ac_cv_type__Bool=yes
     
    64786728ac_cv_type__Bool=no
    64796729fi
    6480 rm -f conftest.$ac_objext conftest.$ac_ext
     6730rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    64816731fi
    64826732echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5
     
    65186768echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
    65196769cat >conftest.$ac_ext <<_ACEOF
    6520 #line $LINENO "configure"
    65216770/* confdefs.h.  */
    65226771_ACEOF
     
    65296778rm -f conftest.$ac_objext
    65306779if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    6531   (eval $ac_compile) 2>&5
    6532   ac_status=$?
     6780  (eval $ac_compile) 2>conftest.er1
     6781  ac_status=$?
     6782  grep -v '^ *+' conftest.er1 >conftest.err
     6783  rm -f conftest.er1
     6784  cat conftest.err >&5
    65336785  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    65346786  (exit $ac_status); } &&
    6535          { ac_try='test -s conftest.$ac_objext'
     6787         { ac_try='test -z "$ac_c_werror_flag"
     6788                         || test ! -s conftest.err'
    65366789  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    65376790  (eval $ac_try) 2>&5
    65386791  ac_status=$?
    65396792  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6793  (exit $ac_status); }; } &&
     6794         { ac_try='test -s conftest.$ac_objext'
     6795  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6796  (eval $ac_try) 2>&5
     6797  ac_status=$?
     6798  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    65406799  (exit $ac_status); }; }; then
    65416800  ac_header_compiler=yes
     
    65466805ac_header_compiler=no
    65476806fi
    6548 rm -f conftest.$ac_objext conftest.$ac_ext
     6807rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    65496808echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    65506809echo "${ECHO_T}$ac_header_compiler" >&6
     
    65546813echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
    65556814cat >conftest.$ac_ext <<_ACEOF
    6556 #line $LINENO "configure"
    65576815/* confdefs.h.  */
    65586816_ACEOF
     
    65726830  if test -s conftest.err; then
    65736831    ac_cpp_err=$ac_c_preproc_warn_flag
     6832    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    65746833  else
    65756834    ac_cpp_err=
     
    65916850
    65926851# So?  What about this header?
    6593 case $ac_header_compiler:$ac_header_preproc in
    6594   yes:no )
     6852case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
     6853  yes:no: )
    65956854    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    65966855echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     6856    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
     6857echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
     6858    ac_header_preproc=yes
     6859    ;;
     6860  no:yes:* )
     6861    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     6862echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     6863    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
     6864echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
     6865    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
     6866echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
     6867    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
     6868echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    65976869    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    65986870echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     6871    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
     6872echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    65996873    (
    66006874      cat <<\_ASBOX
    6601 ## ------------------------------------ ##
    6602 ## Report this to bug-autoconf@gnu.org. ##
    6603 ## ------------------------------------ ##
    6604 _ASBOX
    6605     ) |
    6606       sed "s/^/$as_me: WARNING:     /" >&2
    6607     ;;
    6608   no:yes )
    6609     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    6610 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    6611     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
    6612 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
    6613     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    6614 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    6615     (
    6616       cat <<\_ASBOX
    6617 ## ------------------------------------ ##
    6618 ## Report this to bug-autoconf@gnu.org. ##
    6619 ## ------------------------------------ ##
     6875## ------------------------------------------- ##
     6876## Report this to orxonox-dev@mail.datacore.ch ##
     6877## ------------------------------------------- ##
    66206878_ASBOX
    66216879    ) |
     
    66286886  echo $ECHO_N "(cached) $ECHO_C" >&6
    66296887else
    6630   eval "$as_ac_Header=$ac_header_preproc"
     6888  eval "$as_ac_Header=\$ac_header_preproc"
    66316889fi
    66326890echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     
    66526910else
    66536911  cat >conftest.$ac_ext <<_ACEOF
    6654 #line $LINENO "configure"
    66556912/* confdefs.h.  */
    66566913_ACEOF
     
    66926949ac_cv_func_malloc_0_nonnull=no
    66936950fi
    6694 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     6951rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    66956952fi
    66966953fi
     
    67086965_ACEOF
    67096966
    6710    LIBOBJS="$LIBOBJS malloc.$ac_objext"
     6967   case $LIBOBJS in
     6968    "malloc.$ac_objext"   | \
     6969  *" malloc.$ac_objext"   | \
     6970    "malloc.$ac_objext "* | \
     6971  *" malloc.$ac_objext "* ) ;;
     6972  *) LIBOBJS="$LIBOBJS malloc.$ac_objext" ;;
     6973esac
     6974
    67116975
    67126976cat >>confdefs.h <<\_ACEOF
     
    67296993else
    67306994  cat >conftest.$ac_ext <<_ACEOF
    6731 #line $LINENO "configure"
    67326995/* confdefs.h.  */
    67336996_ACEOF
     
    67356998cat >>conftest.$ac_ext <<_ACEOF
    67366999/* end confdefs.h.  */
     7000/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
     7001   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     7002#define $ac_func innocuous_$ac_func
     7003
    67377004/* System header to define __stub macros and hopefully few prototypes,
    67387005    which can conflict with char $ac_func (); below.
    67397006    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    67407007    <limits.h> exists even on freestanding compilers.  */
     7008
    67417009#ifdef __STDC__
    67427010# include <limits.h>
     
    67447012# include <assert.h>
    67457013#endif
     7014
     7015#undef $ac_func
     7016
    67467017/* Override any gcc2 internal prototype to avoid an error.  */
    67477018#ifdef __cplusplus
     
    67747045rm -f conftest.$ac_objext conftest$ac_exeext
    67757046if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    6776   (eval $ac_link) 2>&5
    6777   ac_status=$?
     7047  (eval $ac_link) 2>conftest.er1
     7048  ac_status=$?
     7049  grep -v '^ *+' conftest.er1 >conftest.err
     7050  rm -f conftest.er1
     7051  cat conftest.err >&5
    67787052  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    67797053  (exit $ac_status); } &&
    6780          { ac_try='test -s conftest$ac_exeext'
     7054         { ac_try='test -z "$ac_c_werror_flag"
     7055                         || test ! -s conftest.err'
    67817056  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    67827057  (eval $ac_try) 2>&5
    67837058  ac_status=$?
    67847059  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7060  (exit $ac_status); }; } &&
     7061         { ac_try='test -s conftest$ac_exeext'
     7062  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     7063  (eval $ac_try) 2>&5
     7064  ac_status=$?
     7065  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    67857066  (exit $ac_status); }; }; then
    67867067  eval "$as_ac_var=yes"
     
    67917072eval "$as_ac_var=no"
    67927073fi
    6793 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
     7074rm -f conftest.err conftest.$ac_objext \
     7075      conftest$ac_exeext conftest.$ac_ext
    67947076fi
    67957077echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
     
    68347116      # substitution turns \\\\ into \\, and sed turns \\ into \).
    68357117      sed -n \
    6836         "s/'/'\\\\''/g;
    6837           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
     7118        "s/'/'\\\\''/g;
     7119          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
    68387120      ;;
    68397121    *)
    68407122      # `set' quotes correctly as required by POSIX, so do not add quotes.
    68417123      sed -n \
    6842         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
     7124        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
    68437125      ;;
    68447126    esac;
     
    68707152# (actually we leave an empty line to preserve line numbers).
    68717153if test "x$srcdir" = x.; then
    6872   ac_vpsub='/^[         ]*VPATH[        ]*=/{
     7154  ac_vpsub='/^[  ]*VPATH[        ]*=/{
    68737155s/:*\$(srcdir):*/:/;
    68747156s/:*\${srcdir}:*/:/;
    68757157s/:*@srcdir@:*/:/;
    6876 s/^\([^=]*=[    ]*\):*/\1/;
     7158s/^\([^=]*=[     ]*\):*/\1/;
    68777159s/:*$//;
    6878 s/^[^=]*=[      ]*$//;
     7160s/^[^=]*=[       ]*$//;
    68797161}'
    68807162fi
     
    68877169  # 1. Remove the extension, and $U if already installed.
    68887170  ac_i=`echo "$ac_i" |
    6889         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
     7171        sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
    68907172  # 2. Add them.
    68917173  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
     
    69597241  set -o posix
    69607242fi
     7243DUALCASE=1; export DUALCASE # for MKS sh
    69617244
    69627245# Support unset when possible.
    6963 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
     7246if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
    69647247  as_unset=unset
    69657248else
     
    69807263  LC_TELEPHONE LC_TIME
    69817264do
    6982   if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
     7265  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
    69837266    eval $as_var=C; export $as_var
    69847267  else
     
    71597442  as_mkdir_p=:
    71607443else
     7444  test -d ./-p && rmdir ./-p
    71617445  as_mkdir_p=false
    71627446fi
     
    71657449
    71667450# Sed expression to map a string onto a valid CPP name.
    7167 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
     7451as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    71687452
    71697453# Sed expression to map a string onto a valid variable name.
    7170 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
     7454as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    71717455
    71727456
     
    71957479
    71967480This file was extended by orxonox $as_me 0.1-pre-alpha, which was
    7197 generated by GNU Autoconf 2.57.  Invocation command line was
     7481generated by GNU Autoconf 2.59.  Invocation command line was
    71987482
    71997483  CONFIG_FILES    = $CONFIG_FILES
     
    72397523      --recheck    update $as_me by reconfiguring in the same conditions
    72407524  --file=FILE[:TEMPLATE]
    7241                    instantiate the configuration file FILE
     7525                   instantiate the configuration file FILE
    72427526  --header=FILE[:TEMPLATE]
    7243                    instantiate the configuration header FILE
     7527                   instantiate the configuration header FILE
    72447528
    72457529Configuration files:
     
    72587542ac_cs_version="\\
    72597543orxonox config.status 0.1-pre-alpha
    7260 configured by $0, generated by GNU Autoconf 2.57,
     7544configured by $0, generated by GNU Autoconf 2.59,
    72617545  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
    72627546
    7263 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
    7264 Free Software Foundation, Inc.
     7547Copyright (C) 2003 Free Software Foundation, Inc.
    72657548This config.status script is free software; the Free Software Foundation
    72667549gives unlimited permission to copy, distribute and modify it."
     
    74887771s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
    74897772s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
     7773s,@mkdir_p@,$mkdir_p,;t t
    74907774s,@AWK@,$AWK,;t t
    74917775s,@SET_MAKE@,$SET_MAKE,;t t
     
    75557839  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
    75567840      if test -z "$ac_sed_cmds"; then
    7557         ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
     7841        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
    75587842      else
    7559         ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
     7843        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
    75607844      fi
    75617845      ac_sed_frag=`expr $ac_sed_frag + 1`
     
    75757859  case $ac_file in
    75767860  - | *:- | *:-:* ) # input from stdin
    7577         cat >$tmp/stdin
    7578         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
    7579         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
     7861        cat >$tmp/stdin
     7862        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
     7863        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
    75807864  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
    7581         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
     7865        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
    75827866  * )   ac_file_in=$ac_file.in ;;
    75837867  esac
     
    75867870  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
    75877871$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    7588         X"$ac_file" : 'X\(//\)[^/]' \| \
    7589         X"$ac_file" : 'X\(//\)$' \| \
    7590         X"$ac_file" : 'X\(/\)' \| \
    7591         .     : '\(.\)' 2>/dev/null ||
     7872        X"$ac_file" : 'X\(//\)[^/]' \| \
     7873        X"$ac_file" : 'X\(//\)$' \| \
     7874        X"$ac_file" : 'X\(/\)' \| \
     7875        .     : '\(.\)' 2>/dev/null ||
    75927876echo X"$ac_file" |
    75937877    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     
    76057889      as_dir=`(dirname "$as_dir") 2>/dev/null ||
    76067890$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    7607         X"$as_dir" : 'X\(//\)[^/]' \| \
    7608         X"$as_dir" : 'X\(//\)$' \| \
    7609         X"$as_dir" : 'X\(/\)' \| \
    7610         .     : '\(.\)' 2>/dev/null ||
     7891        X"$as_dir" : 'X\(//\)[^/]' \| \
     7892        X"$as_dir" : 'X\(//\)$' \| \
     7893        X"$as_dir" : 'X\(/\)' \| \
     7894        .     : '\(.\)' 2>/dev/null ||
    76117895echo X"$as_dir" |
    76127896    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     
    76467930    ac_top_srcdir=$ac_top_builddir$srcdir ;;
    76477931esac
    7648 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
    7649 # absolute.
    7650 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
    7651 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
    7652 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
    7653 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
     7932
     7933# Do not use `cd foo && pwd` to compute absolute paths, because
     7934# the directories may not exist.
     7935case `pwd` in
     7936.) ac_abs_builddir="$ac_dir";;
     7937*)
     7938  case "$ac_dir" in
     7939  .) ac_abs_builddir=`pwd`;;
     7940  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
     7941  *) ac_abs_builddir=`pwd`/"$ac_dir";;
     7942  esac;;
     7943esac
     7944case $ac_abs_builddir in
     7945.) ac_abs_top_builddir=${ac_top_builddir}.;;
     7946*)
     7947  case ${ac_top_builddir}. in
     7948  .) ac_abs_top_builddir=$ac_abs_builddir;;
     7949  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
     7950  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
     7951  esac;;
     7952esac
     7953case $ac_abs_builddir in
     7954.) ac_abs_srcdir=$ac_srcdir;;
     7955*)
     7956  case $ac_srcdir in
     7957  .) ac_abs_srcdir=$ac_abs_builddir;;
     7958  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
     7959  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
     7960  esac;;
     7961esac
     7962case $ac_abs_builddir in
     7963.) ac_abs_top_srcdir=$ac_top_srcdir;;
     7964*)
     7965  case $ac_top_srcdir in
     7966  .) ac_abs_top_srcdir=$ac_abs_builddir;;
     7967  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
     7968  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
     7969  esac;;
     7970esac
    76547971
    76557972
     
    76737990  fi
    76747991  configure_input=$configure_input"Generated from `echo $ac_file_in |
    7675                                      sed 's,.*/,,'` by configure."
     7992                                     sed 's,.*/,,'` by configure."
    76767993
    76777994  # First look for the input files in the build tree, otherwise in the
     
    76827999      -) echo $tmp/stdin ;;
    76838000      [\\/$]*)
    7684         # Absolute (can't be DOS-style, as IFS=:)
    7685         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
     8001        # Absolute (can't be DOS-style, as IFS=:)
     8002        test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
    76868003echo "$as_me: error: cannot find input file: $f" >&2;}
    76878004   { (exit 1); exit 1; }; }
    7688          echo $f;;
     8005         echo "$f";;
    76898006      *) # Relative
    7690         if test -f "$f"; then
    7691            # Build tree
    7692            echo $f
    7693         elif test -f "$srcdir/$f"; then
    7694            # Source tree
    7695            echo $srcdir/$f
    7696         else
    7697            # /dev/null tree
    7698            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
     8007        if test -f "$f"; then
     8008           # Build tree
     8009           echo "$f"
     8010        elif test -f "$srcdir/$f"; then
     8011           # Source tree
     8012           echo "$srcdir/$f"
     8013        else
     8014           # /dev/null tree
     8015           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
    76998016echo "$as_me: error: cannot find input file: $f" >&2;}
    77008017   { (exit 1); exit 1; }; }
    7701         fi;;
     8018        fi;;
    77028019      esac
    77038020    done` || { (exit 1); exit 1; }
     
    77418058#
    77428059# ac_d sets the value in "#define NAME VALUE" lines.
    7743 ac_dA='s,^\([   ]*\)#\([        ]*define[       ][      ]*\)'
    7744 ac_dB='[        ].*$,\1#\2'
     8060ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
     8061ac_dB='[         ].*$,\1#\2'
    77458062ac_dC=' '
    77468063ac_dD=',;t'
    77478064# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
    7748 ac_uA='s,^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)'
     8065ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
    77498066ac_uB='$,\1#\2define\3'
    77508067ac_uC=' '
     
    77558072  case $ac_file in
    77568073  - | *:- | *:-:* ) # input from stdin
    7757         cat >$tmp/stdin
    7758         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
    7759         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
     8074        cat >$tmp/stdin
     8075        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
     8076        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
    77608077  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
    7761         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
     8078        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
    77628079  * )   ac_file_in=$ac_file.in ;;
    77638080  esac
     
    77738090      -) echo $tmp/stdin ;;
    77748091      [\\/$]*)
    7775         # Absolute (can't be DOS-style, as IFS=:)
    7776         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
     8092        # Absolute (can't be DOS-style, as IFS=:)
     8093        test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
    77778094echo "$as_me: error: cannot find input file: $f" >&2;}
    77788095   { (exit 1); exit 1; }; }
    7779          echo $f;;
     8096         # Do quote $f, to prevent DOS paths from being IFS'd.
     8097         echo "$f";;
    77808098      *) # Relative
    7781         if test -f "$f"; then
    7782            # Build tree
    7783            echo $f
    7784         elif test -f "$srcdir/$f"; then
    7785            # Source tree
    7786            echo $srcdir/$f
    7787         else
    7788            # /dev/null tree
    7789            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
     8099        if test -f "$f"; then
     8100           # Build tree
     8101           echo "$f"
     8102        elif test -f "$srcdir/$f"; then
     8103           # Source tree
     8104           echo "$srcdir/$f"
     8105        else
     8106           # /dev/null tree
     8107           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
    77908108echo "$as_me: error: cannot find input file: $f" >&2;}
    77918109   { (exit 1); exit 1; }; }
    7792         fi;;
     8110        fi;;
    77938111      esac
    77948112    done` || { (exit 1); exit 1; }
    77958113  # Remove the trailing spaces.
    7796   sed 's/[      ]*$//' $ac_file_inputs >$tmp/in
     8114  sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
    77978115
    77988116_ACEOF
     
    78178135t clear
    78188136: clear
    7819 s,^[    ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
     8137s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
    78208138t end
    7821 s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
     8139s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
    78228140: end
    78238141_ACEOF
     
    78338151# on some systems where configure will not decide to define it.
    78348152cat >>conftest.undefs <<\_ACEOF
    7835 s,^[    ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
     8153s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
    78368154_ACEOF
    78378155
     
    78398157# of here documents, and old seds have small limits too (100 cmds).
    78408158echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
    7841 echo '  if grep "^[     ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
     8159echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
    78428160echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
    78438161echo '  :' >>$CONFIG_STATUS
     
    78488166  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
    78498167  # Speed up: don't consider the non `#define' lines.
    7850   echo '/^[     ]*#[    ]*define/!b' >>$CONFIG_STATUS
     8168  echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
    78518169  # Work around the forget-to-reset-the-flag bug.
    78528170  echo 't clr' >>$CONFIG_STATUS
     
    78758193  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
    78768194  # Speed up: don't consider the non `#undef'
    7877   echo '/^[     ]*#[    ]*undef/!b' >>$CONFIG_STATUS
     8195  echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
    78788196  # Work around the forget-to-reset-the-flag bug.
    78798197  echo 't clr' >>$CONFIG_STATUS
     
    79098227      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
    79108228$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    7911         X"$ac_file" : 'X\(//\)[^/]' \| \
    7912         X"$ac_file" : 'X\(//\)$' \| \
    7913         X"$ac_file" : 'X\(/\)' \| \
    7914         .     : '\(.\)' 2>/dev/null ||
     8229        X"$ac_file" : 'X\(//\)[^/]' \| \
     8230        X"$ac_file" : 'X\(//\)$' \| \
     8231        X"$ac_file" : 'X\(/\)' \| \
     8232        .     : '\(.\)' 2>/dev/null ||
    79158233echo X"$ac_file" |
    79168234    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     
    79288246      as_dir=`(dirname "$as_dir") 2>/dev/null ||
    79298247$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    7930         X"$as_dir" : 'X\(//\)[^/]' \| \
    7931         X"$as_dir" : 'X\(//\)$' \| \
    7932         X"$as_dir" : 'X\(/\)' \| \
    7933         .     : '\(.\)' 2>/dev/null ||
     8248        X"$as_dir" : 'X\(//\)[^/]' \| \
     8249        X"$as_dir" : 'X\(//\)$' \| \
     8250        X"$as_dir" : 'X\(/\)' \| \
     8251        .     : '\(.\)' 2>/dev/null ||
    79348252echo X"$as_dir" |
    79358253    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     
    79638281echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
    79648282$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    7965         X$ac_file : 'X\(//\)[^/]' \| \
    7966         X$ac_file : 'X\(//\)$' \| \
    7967         X$ac_file : 'X\(/\)' \| \
    7968         .     : '\(.\)' 2>/dev/null ||
     8283        X$ac_file : 'X\(//\)[^/]' \| \
     8284        X$ac_file : 'X\(//\)$' \| \
     8285        X$ac_file : 'X\(/\)' \| \
     8286        .     : '\(.\)' 2>/dev/null ||
    79698287echo X$ac_file |
    79708288    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     
    79858303  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
    79868304$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    7987         X"$ac_dest" : 'X\(//\)[^/]' \| \
    7988         X"$ac_dest" : 'X\(//\)$' \| \
    7989         X"$ac_dest" : 'X\(/\)' \| \
    7990         .     : '\(.\)' 2>/dev/null ||
     8305        X"$ac_dest" : 'X\(//\)[^/]' \| \
     8306        X"$ac_dest" : 'X\(//\)$' \| \
     8307        X"$ac_dest" : 'X\(/\)' \| \
     8308        .     : '\(.\)' 2>/dev/null ||
    79918309echo X"$ac_dest" |
    79928310    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     
    79958313          /^X\(\/\).*/{ s//\1/; q; }
    79968314          s/.*/./; q'`
     8315  { if $as_mkdir_p; then
     8316    mkdir -p "$ac_dir"
     8317  else
     8318    as_dir="$ac_dir"
     8319    as_dirs=
     8320    while test ! -d "$as_dir"; do
     8321      as_dirs="$as_dir $as_dirs"
     8322      as_dir=`(dirname "$as_dir") 2>/dev/null ||
     8323$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     8324         X"$as_dir" : 'X\(//\)[^/]' \| \
     8325         X"$as_dir" : 'X\(//\)$' \| \
     8326         X"$as_dir" : 'X\(/\)' \| \
     8327         .     : '\(.\)' 2>/dev/null ||
     8328echo X"$as_dir" |
     8329    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     8330          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
     8331          /^X\(\/\/\)$/{ s//\1/; q; }
     8332          /^X\(\/\).*/{ s//\1/; q; }
     8333          s/.*/./; q'`
     8334    done
     8335    test ! -n "$as_dirs" || mkdir $as_dirs
     8336  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
     8337echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
     8338   { (exit 1); exit 1; }; }; }
     8339
    79978340  ac_builddir=.
    79988341
     
    80208363    ac_top_srcdir=$ac_top_builddir$srcdir ;;
    80218364esac
    8022 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
    8023 # absolute.
    8024 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
    8025 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
    8026 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
    8027 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
     8365
     8366# Do not use `cd foo && pwd` to compute absolute paths, because
     8367# the directories may not exist.
     8368case `pwd` in
     8369.) ac_abs_builddir="$ac_dir";;
     8370*)
     8371  case "$ac_dir" in
     8372  .) ac_abs_builddir=`pwd`;;
     8373  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
     8374  *) ac_abs_builddir=`pwd`/"$ac_dir";;
     8375  esac;;
     8376esac
     8377case $ac_abs_builddir in
     8378.) ac_abs_top_builddir=${ac_top_builddir}.;;
     8379*)
     8380  case ${ac_top_builddir}. in
     8381  .) ac_abs_top_builddir=$ac_abs_builddir;;
     8382  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
     8383  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
     8384  esac;;
     8385esac
     8386case $ac_abs_builddir in
     8387.) ac_abs_srcdir=$ac_srcdir;;
     8388*)
     8389  case $ac_srcdir in
     8390  .) ac_abs_srcdir=$ac_abs_builddir;;
     8391  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
     8392  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
     8393  esac;;
     8394esac
     8395case $ac_abs_builddir in
     8396.) ac_abs_top_srcdir=$ac_top_srcdir;;
     8397*)
     8398  case $ac_top_srcdir in
     8399  .) ac_abs_top_srcdir=$ac_abs_builddir;;
     8400  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
     8401  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
     8402  esac;;
     8403esac
    80288404
    80298405
     
    80438419    dirpart=`(dirname "$mf") 2>/dev/null ||
    80448420$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    8045         X"$mf" : 'X\(//\)[^/]' \| \
    8046         X"$mf" : 'X\(//\)$' \| \
    8047         X"$mf" : 'X\(/\)' \| \
    8048         .     : '\(.\)' 2>/dev/null ||
     8421        X"$mf" : 'X\(//\)[^/]' \| \
     8422        X"$mf" : 'X\(//\)$' \| \
     8423        X"$mf" : 'X\(/\)' \| \
     8424        .     : '\(.\)' 2>/dev/null ||
    80498425echo X"$mf" |
    80508426    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     
    80598435  # Extract the definition of DEP_FILES from the Makefile without
    80608436  # running `make'.
    8061   DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
     8437  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
    80628438  test -z "$DEPDIR" && continue
    80638439  # When using ansi2knr, U may be empty or an underscore; expand it
    8064   U=`sed -n -e '/^U = / s///p' < "$mf"`
     8440  U=`sed -n 's/^U = //p' < "$mf"`
    80658441  test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
    80668442  # We invoke sed twice because it is the simplest approach to
    80678443  # changing $(DEPDIR) to its actual value in the expansion.
    8068   for file in `sed -n -e '
     8444  for file in `sed -n '
    80698445    /^DEP_FILES = .*\\\\$/ {
    80708446      s/^DEP_FILES = //
     
    80828458    fdir=`(dirname "$file") 2>/dev/null ||
    80838459$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    8084         X"$file" : 'X\(//\)[^/]' \| \
    8085         X"$file" : 'X\(//\)$' \| \
    8086         X"$file" : 'X\(/\)' \| \
    8087         .     : '\(.\)' 2>/dev/null ||
     8460        X"$file" : 'X\(//\)[^/]' \| \
     8461        X"$file" : 'X\(//\)$' \| \
     8462        X"$file" : 'X\(/\)' \| \
     8463        .     : '\(.\)' 2>/dev/null ||
    80888464echo X"$file" |
    80898465    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     
    81018477      as_dir=`(dirname "$as_dir") 2>/dev/null ||
    81028478$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    8103         X"$as_dir" : 'X\(//\)[^/]' \| \
    8104         X"$as_dir" : 'X\(//\)$' \| \
    8105         X"$as_dir" : 'X\(/\)' \| \
    8106         .     : '\(.\)' 2>/dev/null ||
     8479        X"$as_dir" : 'X\(//\)[^/]' \| \
     8480        X"$as_dir" : 'X\(//\)$' \| \
     8481        X"$as_dir" : 'X\(/\)' \| \
     8482        .     : '\(.\)' 2>/dev/null ||
    81078483echo X"$as_dir" |
    81088484    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  • orxonox/branches/osX/configure.ac

    r2984 r2993  
    164164   LIBS="$LIBS -framework OpenGL"
    165165
     166# checking for SDL-headers
     167    AC_CHECK_HEADERS(SDL/SDL.h ,,
     168      [AC_MSG_ERROR([cannot find SDL headers]) ])
     169
    166170## checking for SDL
    167     SDL_VERSION=1.2.7
    168     AM_PATH_SDL($SDL_VERSION,
    169       :,
    170       AC_MSG_ERROR([*** SDL version $SDL_VERSION not found!])
    171       )
    172     CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
    173     LIBS="$LIBS $SDL_LIBS"
     171#    SDL_VERSION=1.2.7
     172#    AM_PATH_SDL($SDL_VERSION,
     173#      :,
     174#      AC_MSG_ERROR([*** SDL version $SDL_VERSION not found!])
     175#      )
     176
     177       SDL_CFLAGS=`sdl-config --cflags`
     178       SDL_LIBS=`sdl-config --libs`
     179       CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
     180       LIBS="$LIBS $SDL_LIBS"
    174181  ;;
    175182
  • orxonox/branches/osX/console/Makefile.in

    r2985 r2993  
    1 # Makefile.in generated by automake 1.7.6 from Makefile.am.
     1# Makefile.in generated by automake 1.8.5 from Makefile.am.
    22# @configure_input@
    33
    4 # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
    5 # Free Software Foundation, Inc.
     4# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
     5# 2003, 2004  Free Software Foundation, Inc.
    66# This Makefile.in is free software; the Free Software Foundation
    77# gives unlimited permission to copy and/or distribute it,
     
    1414
    1515@SET_MAKE@
     16
     17
     18SOURCES = $(console_SOURCES)
    1619
    1720srcdir = @srcdir@
     
    2225pkgincludedir = $(includedir)/@PACKAGE@
    2326top_builddir = ..
    24 
    2527am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
    2628INSTALL = @INSTALL@
     
    3739POST_UNINSTALL = :
    3840host_triplet = @host@
     41bin_PROGRAMS = console$(EXEEXT)
     42subdir = console
     43DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \
     44        $(srcdir)/Makefile.in
     45ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
     46am__aclocal_m4_deps = $(top_srcdir)/configure.ac
     47am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
     48        $(ACLOCAL_M4)
     49mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
     50CONFIG_HEADER = $(top_builddir)/config.h
     51CONFIG_CLEAN_FILES =
     52am__installdirs = "$(DESTDIR)$(bindir)"
     53binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
     54PROGRAMS = $(bin_PROGRAMS)
     55am_console_OBJECTS = orxonox_console.$(OBJEXT) \
     56        orxonox_console_entry.$(OBJEXT) orxonox_console_log.$(OBJEXT)
     57console_OBJECTS = $(am_console_OBJECTS)
     58console_LDADD = $(LDADD)
     59DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
     60depcomp = $(SHELL) $(top_srcdir)/depcomp
     61am__depfiles_maybe = depfiles
     62@AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/orxonox_console.Po \
     63@AMDEP_TRUE@    ./$(DEPDIR)/orxonox_console_entry.Po \
     64@AMDEP_TRUE@    ./$(DEPDIR)/orxonox_console_log.Po
     65CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
     66        $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
     67CXXLD = $(CXX)
     68CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \
     69        -o $@
     70SOURCES = $(console_SOURCES)
     71DIST_SOURCES = $(console_SOURCES)
     72HEADERS = $(noinst_HEADERS)
     73ETAGS = etags
     74CTAGS = ctags
     75DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
    3976ACLOCAL = @ACLOCAL@
    4077AMDEP_FALSE = @AMDEP_FALSE@
     
    121158localstatedir = @localstatedir@
    122159mandir = @mandir@
     160mkdir_p = @mkdir_p@
    123161oldincludedir = @oldincludedir@
    124162prefix = @prefix@
     
    134172AM_CXXFLAGS = $(GTK2_CFLAGS) $(MSBITFIELDS)
    135173AM_LDFLAGS = $(GTK2_LIBS)
    136 
    137 bin_PROGRAMS = console
    138174console_SOURCES = orxonox_console.cc orxonox_console_entry.cc orxonox_console_log.cc
    139175noinst_HEADERS = orxonox_console.h orxonox_console_entry.h orxonox_console_log.h
    140 subdir = console
    141 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
    142 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
    143 CONFIG_HEADER = $(top_builddir)/config.h
    144 CONFIG_CLEAN_FILES =
    145 bin_PROGRAMS = console$(EXEEXT)
    146 PROGRAMS = $(bin_PROGRAMS)
    147 
    148 am_console_OBJECTS = orxonox_console.$(OBJEXT) \
    149         orxonox_console_entry.$(OBJEXT) orxonox_console_log.$(OBJEXT)
    150 console_OBJECTS = $(am_console_OBJECTS)
    151 console_LDADD = $(LDADD)
    152 console_DEPENDENCIES =
    153 console_LDFLAGS =
    154 
    155 DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)
    156 depcomp = $(SHELL) $(top_srcdir)/depcomp
    157 am__depfiles_maybe = depfiles
    158 @AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/orxonox_console.Po \
    159 @AMDEP_TRUE@    ./$(DEPDIR)/orxonox_console_entry.Po \
    160 @AMDEP_TRUE@    ./$(DEPDIR)/orxonox_console_log.Po
    161 CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
    162         $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
    163 CXXLD = $(CXX)
    164 CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \
    165         -o $@
    166 DIST_SOURCES = $(console_SOURCES)
    167 HEADERS = $(noinst_HEADERS)
    168 
    169 DIST_COMMON = $(noinst_HEADERS) Makefile.am Makefile.in
    170 SOURCES = $(console_SOURCES)
    171 
    172176all: all-am
    173177
    174178.SUFFIXES:
    175179.SUFFIXES: .cc .o .obj
    176 $(srcdir)/Makefile.in:  Makefile.am  $(top_srcdir)/configure.ac $(ACLOCAL_M4)
     180$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
     181        @for dep in $?; do \
     182          case '$(am__configure_deps)' in \
     183            *$$dep*) \
     184              cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
     185                && exit 0; \
     186              exit 1;; \
     187          esac; \
     188        done; \
     189        echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  console/Makefile'; \
    177190        cd $(top_srcdir) && \
    178191          $(AUTOMAKE) --gnu  console/Makefile
    179 Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
    180         cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
    181 binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
     192.PRECIOUS: Makefile
     193Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     194        @case '$?' in \
     195          *config.status*) \
     196            cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
     197          *) \
     198            echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
     199            cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
     200        esac;
     201
     202$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
     203        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
     204
     205$(top_srcdir)/configure:  $(am__configure_deps)
     206        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
     207$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
     208        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
    182209install-binPROGRAMS: $(bin_PROGRAMS)
    183210        @$(NORMAL_INSTALL)
    184         $(mkinstalldirs) $(DESTDIR)$(bindir)
     211        test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"
    185212        @list='$(bin_PROGRAMS)'; for p in $$list; do \
    186213          p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
     
    188215          ; then \
    189216            f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
    190            echo " $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \
    191            $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f || exit 1; \
     217           echo " $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \
     218           $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
    192219          else :; fi; \
    193220        done
     
    197224        @list='$(bin_PROGRAMS)'; for p in $$list; do \
    198225          f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
    199           echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
    200           rm -f $(DESTDIR)$(bindir)/$$f; \
     226          echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
     227          rm -f "$(DESTDIR)$(bindir)/$$f"; \
    201228        done
    202229
     
    208235
    209236mostlyclean-compile:
    210         -rm -f *.$(OBJEXT) core *.core
     237        -rm -f *.$(OBJEXT)
    211238
    212239distclean-compile:
     
    217244@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/orxonox_console_log.Po@am__quote@
    218245
    219 distclean-depend:
    220         -rm -rf ./$(DEPDIR)
    221 
    222246.cc.o:
    223 @am__fastdepCXX_TRUE@   if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
    224 @am__fastdepCXX_TRUE@     -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \
    225 @am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
    226 @am__fastdepCXX_TRUE@   else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
    227 @am__fastdepCXX_TRUE@   fi
     247@am__fastdepCXX_TRUE@   if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
     248@am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
    228249@AMDEP_TRUE@@am__fastdepCXX_FALSE@      source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
    229250@AMDEP_TRUE@@am__fastdepCXX_FALSE@      depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
    230251@AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
    231 @am__fastdepCXX_FALSE@  $(CXXCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
     252@am__fastdepCXX_FALSE@  $(CXXCOMPILE) -c -o $@ $<
    232253
    233254.cc.obj:
    234 @am__fastdepCXX_TRUE@   if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
    235 @am__fastdepCXX_TRUE@     -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`; \
    236 @am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
    237 @am__fastdepCXX_TRUE@   else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
    238 @am__fastdepCXX_TRUE@   fi
     255@am__fastdepCXX_TRUE@   if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
     256@am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
    239257@AMDEP_TRUE@@am__fastdepCXX_FALSE@      source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
    240258@AMDEP_TRUE@@am__fastdepCXX_FALSE@      depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
    241259@AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
    242 @am__fastdepCXX_FALSE@  $(CXXCOMPILE) -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`
     260@am__fastdepCXX_FALSE@  $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
    243261uninstall-info-am:
    244 
    245 ETAGS = etags
    246 ETAGSFLAGS =
    247 
    248 CTAGS = ctags
    249 CTAGSFLAGS =
    250 
    251 tags: TAGS
    252262
    253263ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
     
    259269               END { for (i in files) print i; }'`; \
    260270        mkid -fID $$unique
     271tags: TAGS
    261272
    262273TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
     
    270281          $(AWK) '    { files[$$0] = 1; } \
    271282               END { for (i in files) print i; }'`; \
    272         test -z "$(ETAGS_ARGS)$$tags$$unique" \
    273           || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
    274              $$tags $$unique
    275 
     283        if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
     284          test -n "$$unique" || unique=$$empty_fix; \
     285          $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
     286            $$tags $$unique; \
     287        fi
    276288ctags: CTAGS
    277289CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
     
    296308distclean-tags:
    297309        -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
    298 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
    299 
    300 top_distdir = ..
    301 distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
    302310
    303311distdir: $(DISTFILES)
     
    313321          if test "$$dir" != "$$file" && test "$$dir" != "."; then \
    314322            dir="/$$dir"; \
    315             $(mkinstalldirs) "$(distdir)$$dir"; \
     323            $(mkdir_p) "$(distdir)$$dir"; \
    316324          else \
    317325            dir=''; \
     
    331339check: check-am
    332340all-am: Makefile $(PROGRAMS) $(HEADERS)
    333 
    334341installdirs:
    335         $(mkinstalldirs) $(DESTDIR)$(bindir)
     342        for dir in "$(DESTDIR)$(bindir)"; do \
     343          test -z "$$dir" || $(mkdir_p) "$$dir"; \
     344        done
    336345install: install-am
    337346install-exec: install-exec-am
     
    345354install-strip:
    346355        $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
    347           INSTALL_STRIP_FLAG=-s \
     356          install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
    348357          `test -z '$(STRIP)' || \
    349358            echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
     
    353362
    354363distclean-generic:
    355         -rm -f Makefile $(CONFIG_CLEAN_FILES)
     364        -rm -f $(CONFIG_CLEAN_FILES)
    356365
    357366maintainer-clean-generic:
     
    363372
    364373distclean: distclean-am
    365 
    366 distclean-am: clean-am distclean-compile distclean-depend \
    367         distclean-generic distclean-tags
     374        -rm -rf ./$(DEPDIR)
     375        -rm -f Makefile
     376distclean-am: clean-am distclean-compile distclean-generic \
     377        distclean-tags
    368378
    369379dvi: dvi-am
     
    371381dvi-am:
    372382
     383html: html-am
     384
    373385info: info-am
    374386
     
    386398
    387399maintainer-clean: maintainer-clean-am
    388 
     400        -rm -rf ./$(DEPDIR)
     401        -rm -f Makefile
    389402maintainer-clean-am: distclean-am maintainer-clean-generic
    390403
     
    405418.PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \
    406419        clean-generic ctags distclean distclean-compile \
    407         distclean-depend distclean-generic distclean-tags distdir dvi \
    408         dvi-am info info-am install install-am install-binPROGRAMS \
     420        distclean-generic distclean-tags distdir dvi dvi-am html \
     421        html-am info info-am install install-am install-binPROGRAMS \
    409422        install-data install-data-am install-exec install-exec-am \
    410423        install-info install-info-am install-man install-strip \
  • orxonox/branches/osX/gui/Makefile.in

    r2985 r2993  
    1 # Makefile.in generated by automake 1.7.6 from Makefile.am.
     1# Makefile.in generated by automake 1.8.5 from Makefile.am.
    22# @configure_input@
    33
    4 # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
    5 # Free Software Foundation, Inc.
     4# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
     5# 2003, 2004  Free Software Foundation, Inc.
    66# This Makefile.in is free software; the Free Software Foundation
    77# gives unlimited permission to copy and/or distribute it,
     
    1414
    1515@SET_MAKE@
     16
     17
     18SOURCES = $(gui_SOURCES)
    1619
    1720srcdir = @srcdir@
     
    2225pkgincludedir = $(includedir)/@PACKAGE@
    2326top_builddir = ..
    24 
    2527am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
    2628INSTALL = @INSTALL@
     
    3739POST_UNINSTALL = :
    3840host_triplet = @host@
     41bin_PROGRAMS = gui$(EXEEXT)
     42subdir = gui
     43DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \
     44        $(srcdir)/Makefile.in
     45ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
     46am__aclocal_m4_deps = $(top_srcdir)/configure.ac
     47am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
     48        $(ACLOCAL_M4)
     49mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
     50CONFIG_HEADER = $(top_builddir)/config.h
     51CONFIG_CLEAN_FILES =
     52am__installdirs = "$(DESTDIR)$(bindir)"
     53binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
     54PROGRAMS = $(bin_PROGRAMS)
     55am_gui_OBJECTS = orxonox_gui.$(OBJEXT) orxonox_gui_video.$(OBJEXT) \
     56        orxonox_gui_audio.$(OBJEXT) orxonox_gui_exec.$(OBJEXT) \
     57        orxonox_gui_flags.$(OBJEXT) orxonox_gui_banner.$(OBJEXT) \
     58        orxonox_gui_keys.$(OBJEXT)
     59gui_OBJECTS = $(am_gui_OBJECTS)
     60gui_LDADD = $(LDADD)
     61DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
     62depcomp = $(SHELL) $(top_srcdir)/depcomp
     63am__depfiles_maybe = depfiles
     64@AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/orxonox_gui.Po \
     65@AMDEP_TRUE@    ./$(DEPDIR)/orxonox_gui_audio.Po \
     66@AMDEP_TRUE@    ./$(DEPDIR)/orxonox_gui_banner.Po \
     67@AMDEP_TRUE@    ./$(DEPDIR)/orxonox_gui_exec.Po \
     68@AMDEP_TRUE@    ./$(DEPDIR)/orxonox_gui_flags.Po \
     69@AMDEP_TRUE@    ./$(DEPDIR)/orxonox_gui_keys.Po \
     70@AMDEP_TRUE@    ./$(DEPDIR)/orxonox_gui_video.Po
     71CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
     72        $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
     73CXXLD = $(CXX)
     74CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \
     75        -o $@
     76SOURCES = $(gui_SOURCES)
     77DIST_SOURCES = $(gui_SOURCES)
     78HEADERS = $(noinst_HEADERS)
     79ETAGS = etags
     80CTAGS = ctags
     81DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
    3982ACLOCAL = @ACLOCAL@
    4083AMDEP_FALSE = @AMDEP_FALSE@
     
    121164localstatedir = @localstatedir@
    122165mandir = @mandir@
     166mkdir_p = @mkdir_p@
    123167oldincludedir = @oldincludedir@
    124168prefix = @prefix@
     
    134178AM_CXXFLAGS = $(GTK2_CFLAGS) $(MSBITFIELDS)
    135179AM_LDFLAGS = $(GTK2_LIBS)
    136 
    137 bin_PROGRAMS = gui
    138180gui_SOURCES = orxonox_gui.cc orxonox_gui_video.cc       orxonox_gui_audio.cc orxonox_gui_exec.cc orxonox_gui_flags.cc orxonox_gui_banner.cc orxonox_gui_keys.cc
    139 
    140181noinst_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
    141182
     
    149190#TESTS=chk
    150191EXTRA_DIST = rc banner.xpm
    151 subdir = gui
    152 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
    153 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
    154 CONFIG_HEADER = $(top_builddir)/config.h
    155 CONFIG_CLEAN_FILES =
    156 bin_PROGRAMS = gui$(EXEEXT)
    157 PROGRAMS = $(bin_PROGRAMS)
    158 
    159 am_gui_OBJECTS = orxonox_gui.$(OBJEXT) orxonox_gui_video.$(OBJEXT) \
    160         orxonox_gui_audio.$(OBJEXT) orxonox_gui_exec.$(OBJEXT) \
    161         orxonox_gui_flags.$(OBJEXT) orxonox_gui_banner.$(OBJEXT) \
    162         orxonox_gui_keys.$(OBJEXT)
    163 gui_OBJECTS = $(am_gui_OBJECTS)
    164 gui_LDADD = $(LDADD)
    165 gui_DEPENDENCIES =
    166 gui_LDFLAGS =
    167 
    168 DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)
    169 depcomp = $(SHELL) $(top_srcdir)/depcomp
    170 am__depfiles_maybe = depfiles
    171 @AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/orxonox_gui.Po \
    172 @AMDEP_TRUE@    ./$(DEPDIR)/orxonox_gui_audio.Po \
    173 @AMDEP_TRUE@    ./$(DEPDIR)/orxonox_gui_banner.Po \
    174 @AMDEP_TRUE@    ./$(DEPDIR)/orxonox_gui_exec.Po \
    175 @AMDEP_TRUE@    ./$(DEPDIR)/orxonox_gui_flags.Po \
    176 @AMDEP_TRUE@    ./$(DEPDIR)/orxonox_gui_keys.Po \
    177 @AMDEP_TRUE@    ./$(DEPDIR)/orxonox_gui_video.Po
    178 CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
    179         $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
    180 CXXLD = $(CXX)
    181 CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \
    182         -o $@
    183 DIST_SOURCES = $(gui_SOURCES)
    184 HEADERS = $(noinst_HEADERS)
    185 
    186 DIST_COMMON = $(noinst_HEADERS) Makefile.am Makefile.in
    187 SOURCES = $(gui_SOURCES)
    188 
    189192all: all-am
    190193
    191194.SUFFIXES:
    192195.SUFFIXES: .cc .o .obj
    193 $(srcdir)/Makefile.in:  Makefile.am  $(top_srcdir)/configure.ac $(ACLOCAL_M4)
     196$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
     197        @for dep in $?; do \
     198          case '$(am__configure_deps)' in \
     199            *$$dep*) \
     200              cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
     201                && exit 0; \
     202              exit 1;; \
     203          esac; \
     204        done; \
     205        echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  gui/Makefile'; \
    194206        cd $(top_srcdir) && \
    195207          $(AUTOMAKE) --gnu  gui/Makefile
    196 Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
    197         cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
    198 binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
     208.PRECIOUS: Makefile
     209Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     210        @case '$?' in \
     211          *config.status*) \
     212            cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
     213          *) \
     214            echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
     215            cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
     216        esac;
     217
     218$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
     219        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
     220
     221$(top_srcdir)/configure:  $(am__configure_deps)
     222        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
     223$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
     224        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
    199225install-binPROGRAMS: $(bin_PROGRAMS)
    200226        @$(NORMAL_INSTALL)
    201         $(mkinstalldirs) $(DESTDIR)$(bindir)
     227        test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"
    202228        @list='$(bin_PROGRAMS)'; for p in $$list; do \
    203229          p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
     
    205231          ; then \
    206232            f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
    207            echo " $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \
    208            $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f || exit 1; \
     233           echo " $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \
     234           $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
    209235          else :; fi; \
    210236        done
     
    214240        @list='$(bin_PROGRAMS)'; for p in $$list; do \
    215241          f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
    216           echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
    217           rm -f $(DESTDIR)$(bindir)/$$f; \
     242          echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
     243          rm -f "$(DESTDIR)$(bindir)/$$f"; \
    218244        done
    219245
     
    225251
    226252mostlyclean-compile:
    227         -rm -f *.$(OBJEXT) core *.core
     253        -rm -f *.$(OBJEXT)
    228254
    229255distclean-compile:
     
    238264@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/orxonox_gui_video.Po@am__quote@
    239265
    240 distclean-depend:
    241         -rm -rf ./$(DEPDIR)
    242 
    243266.cc.o:
    244 @am__fastdepCXX_TRUE@   if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
    245 @am__fastdepCXX_TRUE@     -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \
    246 @am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
    247 @am__fastdepCXX_TRUE@   else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
    248 @am__fastdepCXX_TRUE@   fi
     267@am__fastdepCXX_TRUE@   if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
     268@am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
    249269@AMDEP_TRUE@@am__fastdepCXX_FALSE@      source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
    250270@AMDEP_TRUE@@am__fastdepCXX_FALSE@      depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
    251271@AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
    252 @am__fastdepCXX_FALSE@  $(CXXCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
     272@am__fastdepCXX_FALSE@  $(CXXCOMPILE) -c -o $@ $<
    253273
    254274.cc.obj:
    255 @am__fastdepCXX_TRUE@   if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
    256 @am__fastdepCXX_TRUE@     -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`; \
    257 @am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
    258 @am__fastdepCXX_TRUE@   else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
    259 @am__fastdepCXX_TRUE@   fi
     275@am__fastdepCXX_TRUE@   if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
     276@am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
    260277@AMDEP_TRUE@@am__fastdepCXX_FALSE@      source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
    261278@AMDEP_TRUE@@am__fastdepCXX_FALSE@      depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
    262279@AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
    263 @am__fastdepCXX_FALSE@  $(CXXCOMPILE) -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`
     280@am__fastdepCXX_FALSE@  $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
    264281uninstall-info-am:
    265 
    266 ETAGS = etags
    267 ETAGSFLAGS =
    268 
    269 CTAGS = ctags
    270 CTAGSFLAGS =
    271 
    272 tags: TAGS
    273282
    274283ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
     
    280289               END { for (i in files) print i; }'`; \
    281290        mkid -fID $$unique
     291tags: TAGS
    282292
    283293TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
     
    291301          $(AWK) '    { files[$$0] = 1; } \
    292302               END { for (i in files) print i; }'`; \
    293         test -z "$(ETAGS_ARGS)$$tags$$unique" \
    294           || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
    295              $$tags $$unique
    296 
     303        if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
     304          test -n "$$unique" || unique=$$empty_fix; \
     305          $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
     306            $$tags $$unique; \
     307        fi
    297308ctags: CTAGS
    298309CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
     
    317328distclean-tags:
    318329        -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
    319 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
    320 
    321 top_distdir = ..
    322 distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
    323330
    324331distdir: $(DISTFILES)
     
    334341          if test "$$dir" != "$$file" && test "$$dir" != "."; then \
    335342            dir="/$$dir"; \
    336             $(mkinstalldirs) "$(distdir)$$dir"; \
     343            $(mkdir_p) "$(distdir)$$dir"; \
    337344          else \
    338345            dir=''; \
     
    352359check: check-am
    353360all-am: Makefile $(PROGRAMS) $(HEADERS)
    354 
    355361installdirs:
    356         $(mkinstalldirs) $(DESTDIR)$(bindir)
     362        for dir in "$(DESTDIR)$(bindir)"; do \
     363          test -z "$$dir" || $(mkdir_p) "$$dir"; \
     364        done
    357365install: install-am
    358366install-exec: install-exec-am
     
    366374install-strip:
    367375        $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
    368           INSTALL_STRIP_FLAG=-s \
     376          install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
    369377          `test -z '$(STRIP)' || \
    370378            echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
     
    374382
    375383distclean-generic:
    376         -rm -f Makefile $(CONFIG_CLEAN_FILES)
     384        -rm -f $(CONFIG_CLEAN_FILES)
    377385
    378386maintainer-clean-generic:
     
    384392
    385393distclean: distclean-am
    386 
    387 distclean-am: clean-am distclean-compile distclean-depend \
    388         distclean-generic distclean-tags
     394        -rm -rf ./$(DEPDIR)
     395        -rm -f Makefile
     396distclean-am: clean-am distclean-compile distclean-generic \
     397        distclean-tags
    389398
    390399dvi: dvi-am
     
    392401dvi-am:
    393402
     403html: html-am
     404
    394405info: info-am
    395406
     
    407418
    408419maintainer-clean: maintainer-clean-am
    409 
     420        -rm -rf ./$(DEPDIR)
     421        -rm -f Makefile
    410422maintainer-clean-am: distclean-am maintainer-clean-generic
    411423
     
    426438.PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \
    427439        clean-generic ctags distclean distclean-compile \
    428         distclean-depend distclean-generic distclean-tags distdir dvi \
    429         dvi-am info info-am install install-am install-binPROGRAMS \
     440        distclean-generic distclean-tags distdir dvi dvi-am html \
     441        html-am info info-am install install-am install-binPROGRAMS \
    430442        install-data install-data-am install-exec install-exec-am \
    431443        install-info install-info-am install-man install-strip \
  • orxonox/branches/osX/importer/Makefile.in

    r2992 r2993  
    4242subdir = importer
    4343DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \
    44         $(srcdir)/Makefile.in
     44        $(srcdir)/Makefile.in TODO
    4545ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
    4646am__aclocal_m4_deps = $(top_srcdir)/configure.ac
  • orxonox/branches/osX/importer/framework.cc

    r2992 r2993  
    11#include "framework.h"
    22
    3 int verbose = 1;
     3int verbose = 4;
    44
    55void DrawGLScene()
  • orxonox/branches/osX/src/Makefile.in

    r2985 r2993  
    1 # Makefile.in generated by automake 1.7.6 from Makefile.am.
     1# Makefile.in generated by automake 1.8.5 from Makefile.am.
    22# @configure_input@
    33
    4 # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
    5 # Free Software Foundation, Inc.
     4# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
     5# 2003, 2004  Free Software Foundation, Inc.
    66# This Makefile.in is free software; the Free Software Foundation
    77# gives unlimited permission to copy and/or distribute it,
     
    1414
    1515@SET_MAKE@
     16
     17
     18SOURCES = $(orxonox_SOURCES)
    1619
    1720srcdir = @srcdir@
     
    2225pkgincludedir = $(includedir)/@PACKAGE@
    2326top_builddir = ..
    24 
    2527am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
    2628INSTALL = @INSTALL@
     
    3739POST_UNINSTALL = :
    3840host_triplet = @host@
     41bin_PROGRAMS = orxonox$(EXEEXT)
     42subdir = src
     43DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \
     44        $(srcdir)/Makefile.in INSTALL
     45ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
     46am__aclocal_m4_deps = $(top_srcdir)/configure.ac
     47am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
     48        $(ACLOCAL_M4)
     49mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
     50CONFIG_HEADER = $(top_builddir)/config.h
     51CONFIG_CLEAN_FILES =
     52am__installdirs = "$(DESTDIR)$(bindir)"
     53binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
     54PROGRAMS = $(bin_PROGRAMS)
     55am_orxonox_OBJECTS = orxonox.$(OBJEXT) world.$(OBJEXT) \
     56        player.$(OBJEXT) data_tank.$(OBJEXT) world_entity.$(OBJEXT) \
     57        vector.$(OBJEXT) camera.$(OBJEXT) collision.$(OBJEXT) \
     58        command_node.$(OBJEXT) ini_parser.$(OBJEXT) keynames.$(OBJEXT) \
     59        track.$(OBJEXT) base_entity.$(OBJEXT) game_loader.$(OBJEXT) \
     60        campaign.$(OBJEXT) story_entity.$(OBJEXT) object.$(OBJEXT) \
     61        environment.$(OBJEXT) array.$(OBJEXT) material.$(OBJEXT) \
     62        list.$(OBJEXT)
     63orxonox_OBJECTS = $(am_orxonox_OBJECTS)
     64orxonox_LDADD = $(LDADD)
     65DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
     66depcomp = $(SHELL) $(top_srcdir)/depcomp
     67am__depfiles_maybe = depfiles
     68@AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/array.Po \
     69@AMDEP_TRUE@    ./$(DEPDIR)/base_entity.Po ./$(DEPDIR)/camera.Po \
     70@AMDEP_TRUE@    ./$(DEPDIR)/campaign.Po ./$(DEPDIR)/collision.Po \
     71@AMDEP_TRUE@    ./$(DEPDIR)/command_node.Po \
     72@AMDEP_TRUE@    ./$(DEPDIR)/data_tank.Po \
     73@AMDEP_TRUE@    ./$(DEPDIR)/environment.Po \
     74@AMDEP_TRUE@    ./$(DEPDIR)/game_loader.Po \
     75@AMDEP_TRUE@    ./$(DEPDIR)/ini_parser.Po ./$(DEPDIR)/keynames.Po \
     76@AMDEP_TRUE@    ./$(DEPDIR)/list.Po ./$(DEPDIR)/material.Po \
     77@AMDEP_TRUE@    ./$(DEPDIR)/object.Po ./$(DEPDIR)/orxonox.Po \
     78@AMDEP_TRUE@    ./$(DEPDIR)/player.Po ./$(DEPDIR)/story_entity.Po \
     79@AMDEP_TRUE@    ./$(DEPDIR)/track.Po ./$(DEPDIR)/vector.Po \
     80@AMDEP_TRUE@    ./$(DEPDIR)/world.Po ./$(DEPDIR)/world_entity.Po
     81CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
     82        $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
     83CXXLD = $(CXX)
     84CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \
     85        -o $@
     86SOURCES = $(orxonox_SOURCES)
     87DIST_SOURCES = $(orxonox_SOURCES)
     88HEADERS = $(noinst_HEADERS)
     89ETAGS = etags
     90CTAGS = ctags
     91DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
    3992ACLOCAL = @ACLOCAL@
    4093AMDEP_FALSE = @AMDEP_FALSE@
     
    121174localstatedir = @localstatedir@
    122175mandir = @mandir@
     176mkdir_p = @mkdir_p@
    123177oldincludedir = @oldincludedir@
    124178prefix = @prefix@
     
    134188AM_CXXFLAGS = "-I/usr/X11R6/include"
    135189AM_LDFLAGS = "-L/usr/Mesa-6.0.1/lib  -L/usr/X11R6/lib -lXt -lX11" $(MWINDOWS)
    136 
    137 
    138 #"-O3 -pedantic -fPIC -ffast-math -I/usr/X11R6/include"
    139 bin_PROGRAMS = orxonox
    140 
    141190orxonox_SOURCES = orxonox.cc world.cc player.cc data_tank.cc world_entity.cc vector.cc camera.cc collision.cc command_node.cc ini_parser.cc keynames.cc track.cc base_entity.cc game_loader.cc campaign.cc story_entity.cc object.cc environment.cc array.cc material.cc list.cc
    142191noinst_HEADERS = ability.h data_tank.h npc.h stdincl.h ai.h environment.h orxonox.h synchronisable.h base_entity.h error.h player.h track.h camera.h ini_parser.h power_up.h vector.h collision.h keynames.h proto_class.h world.h command_node.h list.h shoot_laser.h world_entity.h coordinates.h message_structures.h shoot_rocket.h object.h array.h material.h list_template.h
    143 subdir = src
    144 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
    145 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
    146 CONFIG_HEADER = $(top_builddir)/config.h
    147 CONFIG_CLEAN_FILES =
    148 bin_PROGRAMS = orxonox$(EXEEXT)
    149 PROGRAMS = $(bin_PROGRAMS)
    150 
    151 am_orxonox_OBJECTS = orxonox.$(OBJEXT) world.$(OBJEXT) player.$(OBJEXT) \
    152         data_tank.$(OBJEXT) world_entity.$(OBJEXT) vector.$(OBJEXT) \
    153         camera.$(OBJEXT) collision.$(OBJEXT) command_node.$(OBJEXT) \
    154         ini_parser.$(OBJEXT) keynames.$(OBJEXT) track.$(OBJEXT) \
    155         base_entity.$(OBJEXT) game_loader.$(OBJEXT) campaign.$(OBJEXT) \
    156         story_entity.$(OBJEXT) object.$(OBJEXT) environment.$(OBJEXT) \
    157         array.$(OBJEXT) material.$(OBJEXT) list.$(OBJEXT)
    158 orxonox_OBJECTS = $(am_orxonox_OBJECTS)
    159 orxonox_LDADD = $(LDADD)
    160 orxonox_DEPENDENCIES =
    161 orxonox_LDFLAGS =
    162 
    163 DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)
    164 depcomp = $(SHELL) $(top_srcdir)/depcomp
    165 am__depfiles_maybe = depfiles
    166 @AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/array.Po ./$(DEPDIR)/base_entity.Po \
    167 @AMDEP_TRUE@    ./$(DEPDIR)/camera.Po ./$(DEPDIR)/campaign.Po \
    168 @AMDEP_TRUE@    ./$(DEPDIR)/collision.Po \
    169 @AMDEP_TRUE@    ./$(DEPDIR)/command_node.Po \
    170 @AMDEP_TRUE@    ./$(DEPDIR)/data_tank.Po ./$(DEPDIR)/environment.Po \
    171 @AMDEP_TRUE@    ./$(DEPDIR)/game_loader.Po \
    172 @AMDEP_TRUE@    ./$(DEPDIR)/ini_parser.Po ./$(DEPDIR)/keynames.Po \
    173 @AMDEP_TRUE@    ./$(DEPDIR)/list.Po ./$(DEPDIR)/material.Po \
    174 @AMDEP_TRUE@    ./$(DEPDIR)/object.Po ./$(DEPDIR)/orxonox.Po \
    175 @AMDEP_TRUE@    ./$(DEPDIR)/player.Po ./$(DEPDIR)/story_entity.Po \
    176 @AMDEP_TRUE@    ./$(DEPDIR)/track.Po ./$(DEPDIR)/vector.Po \
    177 @AMDEP_TRUE@    ./$(DEPDIR)/world.Po ./$(DEPDIR)/world_entity.Po
    178 CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
    179         $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
    180 CXXLD = $(CXX)
    181 CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \
    182         -o $@
    183 DIST_SOURCES = $(orxonox_SOURCES)
    184 HEADERS = $(noinst_HEADERS)
    185 
    186 DIST_COMMON = $(noinst_HEADERS) INSTALL Makefile.am Makefile.in
    187 SOURCES = $(orxonox_SOURCES)
    188 
    189192all: all-am
    190193
    191194.SUFFIXES:
    192195.SUFFIXES: .cc .o .obj
    193 $(srcdir)/Makefile.in:  Makefile.am  $(top_srcdir)/configure.ac $(ACLOCAL_M4)
     196$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
     197        @for dep in $?; do \
     198          case '$(am__configure_deps)' in \
     199            *$$dep*) \
     200              cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
     201                && exit 0; \
     202              exit 1;; \
     203          esac; \
     204        done; \
     205        echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  src/Makefile'; \
    194206        cd $(top_srcdir) && \
    195207          $(AUTOMAKE) --gnu  src/Makefile
    196 Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
    197         cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
    198 binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
     208.PRECIOUS: Makefile
     209Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     210        @case '$?' in \
     211          *config.status*) \
     212            cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
     213          *) \
     214            echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
     215            cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
     216        esac;
     217
     218$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
     219        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
     220
     221$(top_srcdir)/configure:  $(am__configure_deps)
     222        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
     223$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
     224        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
    199225install-binPROGRAMS: $(bin_PROGRAMS)
    200226        @$(NORMAL_INSTALL)
    201         $(mkinstalldirs) $(DESTDIR)$(bindir)
     227        test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"
    202228        @list='$(bin_PROGRAMS)'; for p in $$list; do \
    203229          p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
     
    205231          ; then \
    206232            f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
    207            echo " $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \
    208            $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f || exit 1; \
     233           echo " $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \
     234           $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
    209235          else :; fi; \
    210236        done
     
    214240        @list='$(bin_PROGRAMS)'; for p in $$list; do \
    215241          f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
    216           echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
    217           rm -f $(DESTDIR)$(bindir)/$$f; \
     242          echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
     243          rm -f "$(DESTDIR)$(bindir)/$$f"; \
    218244        done
    219245
     
    225251
    226252mostlyclean-compile:
    227         -rm -f *.$(OBJEXT) core *.core
     253        -rm -f *.$(OBJEXT)
    228254
    229255distclean-compile:
     
    252278@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/world_entity.Po@am__quote@
    253279
    254 distclean-depend:
    255         -rm -rf ./$(DEPDIR)
    256 
    257280.cc.o:
    258 @am__fastdepCXX_TRUE@   if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
    259 @am__fastdepCXX_TRUE@     -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \
    260 @am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
    261 @am__fastdepCXX_TRUE@   else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
    262 @am__fastdepCXX_TRUE@   fi
     281@am__fastdepCXX_TRUE@   if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
     282@am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
    263283@AMDEP_TRUE@@am__fastdepCXX_FALSE@      source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
    264284@AMDEP_TRUE@@am__fastdepCXX_FALSE@      depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
    265285@AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
    266 @am__fastdepCXX_FALSE@  $(CXXCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
     286@am__fastdepCXX_FALSE@  $(CXXCOMPILE) -c -o $@ $<
    267287
    268288.cc.obj:
    269 @am__fastdepCXX_TRUE@   if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
    270 @am__fastdepCXX_TRUE@     -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`; \
    271 @am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
    272 @am__fastdepCXX_TRUE@   else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
    273 @am__fastdepCXX_TRUE@   fi
     289@am__fastdepCXX_TRUE@   if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
     290@am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
    274291@AMDEP_TRUE@@am__fastdepCXX_FALSE@      source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
    275292@AMDEP_TRUE@@am__fastdepCXX_FALSE@      depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
    276293@AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
    277 @am__fastdepCXX_FALSE@  $(CXXCOMPILE) -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`
     294@am__fastdepCXX_FALSE@  $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
    278295uninstall-info-am:
    279 
    280 ETAGS = etags
    281 ETAGSFLAGS =
    282 
    283 CTAGS = ctags
    284 CTAGSFLAGS =
    285 
    286 tags: TAGS
    287296
    288297ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
     
    294303               END { for (i in files) print i; }'`; \
    295304        mkid -fID $$unique
     305tags: TAGS
    296306
    297307TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
     
    305315          $(AWK) '    { files[$$0] = 1; } \
    306316               END { for (i in files) print i; }'`; \
    307         test -z "$(ETAGS_ARGS)$$tags$$unique" \
    308           || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
    309              $$tags $$unique
    310 
     317        if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
     318          test -n "$$unique" || unique=$$empty_fix; \
     319          $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
     320            $$tags $$unique; \
     321        fi
    311322ctags: CTAGS
    312323CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
     
    331342distclean-tags:
    332343        -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
    333 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
    334 
    335 top_distdir = ..
    336 distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
    337344
    338345distdir: $(DISTFILES)
     
    348355          if test "$$dir" != "$$file" && test "$$dir" != "."; then \
    349356            dir="/$$dir"; \
    350             $(mkinstalldirs) "$(distdir)$$dir"; \
     357            $(mkdir_p) "$(distdir)$$dir"; \
    351358          else \
    352359            dir=''; \
     
    366373check: check-am
    367374all-am: Makefile $(PROGRAMS) $(HEADERS)
    368 
    369375installdirs:
    370         $(mkinstalldirs) $(DESTDIR)$(bindir)
     376        for dir in "$(DESTDIR)$(bindir)"; do \
     377          test -z "$$dir" || $(mkdir_p) "$$dir"; \
     378        done
    371379install: install-am
    372380install-exec: install-exec-am
     
    380388install-strip:
    381389        $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
    382           INSTALL_STRIP_FLAG=-s \
     390          install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
    383391          `test -z '$(STRIP)' || \
    384392            echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
     
    388396
    389397distclean-generic:
    390         -rm -f Makefile $(CONFIG_CLEAN_FILES)
     398        -rm -f $(CONFIG_CLEAN_FILES)
    391399
    392400maintainer-clean-generic:
     
    398406
    399407distclean: distclean-am
    400 
    401 distclean-am: clean-am distclean-compile distclean-depend \
    402         distclean-generic distclean-tags
     408        -rm -rf ./$(DEPDIR)
     409        -rm -f Makefile
     410distclean-am: clean-am distclean-compile distclean-generic \
     411        distclean-tags
    403412
    404413dvi: dvi-am
     
    406415dvi-am:
    407416
     417html: html-am
     418
    408419info: info-am
    409420
     
    421432
    422433maintainer-clean: maintainer-clean-am
    423 
     434        -rm -rf ./$(DEPDIR)
     435        -rm -f Makefile
    424436maintainer-clean-am: distclean-am maintainer-clean-generic
    425437
     
    440452.PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \
    441453        clean-generic ctags distclean distclean-compile \
    442         distclean-depend distclean-generic distclean-tags distdir dvi \
    443         dvi-am info info-am install install-am install-binPROGRAMS \
     454        distclean-generic distclean-tags distdir dvi dvi-am html \
     455        html-am info info-am install install-am install-binPROGRAMS \
    444456        install-data install-data-am install-exec install-exec-am \
    445457        install-info install-info-am install-man install-strip \
Note: See TracChangeset for help on using the changeset viewer.