Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 2964 in orxonox.OLD for orxonox


Ignore:
Timestamp:
Nov 23, 2004, 6:13:50 PM (20 years ago)
Author:
bensch
Message:

orxonox/branches/sound: merged Trunk back into sound. and included all headers for real into the configure.ac-script.

Location:
orxonox/branches/sound
Files:
9 edited
22 copied

Legend:

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

    r2018 r2964  
    1 # Makefile.in generated by automake 1.7.9 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@
     
    3634PRE_UNINSTALL = :
    3735POST_UNINSTALL = :
     36subdir = .
     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        depcomp install-sh missing mkinstalldirs
     41ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
     42am__aclocal_m4_deps = $(top_srcdir)/configure.ac
     43am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
     44        $(ACLOCAL_M4)
     45am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
     46 configure.lineno configure.status.lineno
     47mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
     48CONFIG_HEADER = config.h
     49CONFIG_CLEAN_FILES =
     50SOURCES =
     51DIST_SOURCES =
     52RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
     53        html-recursive info-recursive install-data-recursive \
     54        install-exec-recursive install-info-recursive \
     55        install-recursive installcheck-recursive installdirs-recursive \
     56        pdf-recursive ps-recursive uninstall-info-recursive \
     57        uninstall-recursive
     58ETAGS = etags
     59CTAGS = ctags
     60DIST_SUBDIRS = $(SUBDIRS)
     61DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
     62distdir = $(PACKAGE)-$(VERSION)
     63top_distdir = $(distdir)
     64am__remove_distdir = \
     65  { test ! -d $(distdir) \
     66    || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
     67         && rm -fr $(distdir); }; }
     68DIST_ARCHIVES = $(distdir).tar.gz
     69GZIP_ENV = --best
     70distuninstallcheck_listfiles = find . -type f -print
     71distcleancheck_listfiles = find . -type f -print
    3872ACLOCAL = @ACLOCAL@
    3973AMDEP_FALSE = @AMDEP_FALSE@
     
    104138localstatedir = @localstatedir@
    105139mandir = @mandir@
     140mkdir_p = @mkdir_p@
    106141oldincludedir = @oldincludedir@
    107142prefix = @prefix@
     
    112147target_alias = @target_alias@
    113148SUBDIRS = src console gui
    114 subdir = .
    115 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
    116 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
    117 CONFIG_HEADER = config.h
    118 CONFIG_CLEAN_FILES =
    119 DIST_SOURCES =
    120 
    121 RECURSIVE_TARGETS = info-recursive dvi-recursive pdf-recursive \
    122         ps-recursive install-info-recursive uninstall-info-recursive \
    123         all-recursive install-data-recursive install-exec-recursive \
    124         installdirs-recursive install-recursive uninstall-recursive \
    125         check-recursive installcheck-recursive
    126 DIST_COMMON = README $(srcdir)/Makefile.in $(srcdir)/configure AUTHORS \
    127         COPYING ChangeLog INSTALL Makefile.am NEWS aclocal.m4 \
    128         config.h.in configure configure.ac depcomp install-sh missing \
    129         mkinstalldirs
    130 DIST_SUBDIRS = $(SUBDIRS)
    131149all: config.h
    132150        $(MAKE) $(AM_MAKEFLAGS) all-recursive
    133151
    134152.SUFFIXES:
    135 
    136 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
    137  configure.lineno
    138 $(srcdir)/Makefile.in:  Makefile.am  $(top_srcdir)/configure.ac $(ACLOCAL_M4)
     153am--refresh:
     154        @:
     155$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
     156        @for dep in $?; do \
     157          case '$(am__configure_deps)' in \
     158            *$$dep*) \
     159              echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \
     160              cd $(srcdir) && $(AUTOMAKE) --gnu  \
     161                && exit 0; \
     162              exit 1;; \
     163          esac; \
     164        done; \
     165        echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  Makefile'; \
    139166        cd $(top_srcdir) && \
    140167          $(AUTOMAKE) --gnu  Makefile
    141 Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
    142         cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)
    143 
    144 $(top_builddir)/config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
     168.PRECIOUS: Makefile
     169Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     170        @case '$?' in \
     171          *config.status*) \
     172            echo ' $(SHELL) ./config.status'; \
     173            $(SHELL) ./config.status;; \
     174          *) \
     175            echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
     176            cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
     177        esac;
     178
     179$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
    145180        $(SHELL) ./config.status --recheck
    146 $(srcdir)/configure:  $(srcdir)/configure.ac $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
     181
     182$(top_srcdir)/configure:  $(am__configure_deps)
    147183        cd $(srcdir) && $(AUTOCONF)
    148 
    149 $(ACLOCAL_M4):  configure.ac
     184$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
    150185        cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
    151186
     
    159194        @rm -f stamp-h1
    160195        cd $(top_builddir) && $(SHELL) ./config.status config.h
    161 
    162 $(srcdir)/config.h.in:  $(top_srcdir)/configure.ac $(ACLOCAL_M4)
     196$(srcdir)/config.h.in:  $(am__configure_deps)
    163197        cd $(top_srcdir) && $(AUTOHEADER)
    164         touch $(srcdir)/config.h.in
     198        rm -f stamp-h1
     199        touch $@
    165200
    166201distclean-hdr:
     
    227262        done
    228263
    229 ETAGS = etags
    230 ETAGSFLAGS =
    231 
    232 CTAGS = ctags
    233 CTAGSFLAGS =
    234 
    235 tags: TAGS
    236 
    237264ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
    238265        list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
     
    243270               END { for (i in files) print i; }'`; \
    244271        mkid -fID $$unique
     272tags: TAGS
    245273
    246274TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
     
    248276        tags=; \
    249277        here=`pwd`; \
    250         if (etags --etags-include --version) >/dev/null 2>&1; then \
     278        if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
    251279          include_option=--etags-include; \
     280          empty_fix=.; \
    252281        else \
    253282          include_option=--include; \
     283          empty_fix=; \
    254284        fi; \
    255285        list='$(SUBDIRS)'; for subdir in $$list; do \
    256286          if test "$$subdir" = .; then :; else \
    257             test -f $$subdir/TAGS && \
     287            test ! -f $$subdir/TAGS || \
    258288              tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
    259289          fi; \
     
    265295          $(AWK) '    { files[$$0] = 1; } \
    266296               END { for (i in files) print i; }'`; \
    267         test -z "$(ETAGS_ARGS)$$tags$$unique" \
    268           || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
    269              $$tags $$unique
    270 
     297        if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
     298          test -n "$$unique" || unique=$$empty_fix; \
     299          $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
     300            $$tags $$unique; \
     301        fi
    271302ctags: CTAGS
    272303CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
     
    291322distclean-tags:
    292323        -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
    293 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
    294 
    295 top_distdir = .
    296 distdir = $(PACKAGE)-$(VERSION)
    297 
    298 am__remove_distdir = \
    299   { test ! -d $(distdir) \
    300     || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
    301          && rm -fr $(distdir); }; }
    302 
    303 GZIP_ENV = --best
    304 distuninstallcheck_listfiles = find . -type f -print
    305 distcleancheck_listfiles = find . -type f -print
    306324
    307325distdir: $(DISTFILES)
     
    319337          if test "$$dir" != "$$file" && test "$$dir" != "."; then \
    320338            dir="/$$dir"; \
    321             $(mkinstalldirs) "$(distdir)$$dir"; \
     339            $(mkdir_p) "$(distdir)$$dir"; \
    322340          else \
    323341            dir=''; \
     
    336354        list='$(SUBDIRS)'; for subdir in $$list; do \
    337355          if test "$$subdir" = .; then :; else \
    338             test -d $(distdir)/$$subdir \
    339             || mkdir $(distdir)/$$subdir \
     356            test -d "$(distdir)/$$subdir" \
     357            || mkdir "$(distdir)/$$subdir" \
    340358            || exit 1; \
    341359            (cd $$subdir && \
    342360              $(MAKE) $(AM_MAKEFLAGS) \
    343                 top_distdir="$(top_distdir)" \
    344                 distdir=../$(distdir)/$$subdir \
     361                top_distdir="../$(top_distdir)" \
     362                distdir="../$(distdir)/$$subdir" \
    345363                distdir) \
    346364              || exit 1; \
     
    356374        $(am__remove_distdir)
    357375
     376dist-bzip2: distdir
     377        $(AMTAR) chof - $(distdir) | bzip2 -9 -c >$(distdir).tar.bz2
     378        $(am__remove_distdir)
     379
     380dist-tarZ: distdir
     381        $(AMTAR) chof - $(distdir) | compress -c >$(distdir).tar.Z
     382        $(am__remove_distdir)
     383
     384dist-shar: distdir
     385        shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
     386        $(am__remove_distdir)
     387
     388dist-zip: distdir
     389        -rm -f $(distdir).zip
     390        zip -rq $(distdir).zip $(distdir)
     391        $(am__remove_distdir)
     392
    358393dist dist-all: distdir
    359394        $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
     
    364399# tarfile.
    365400distcheck: dist
    366         $(am__remove_distdir)
    367         GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf -
     401        case '$(DIST_ARCHIVES)' in \
     402        *.tar.gz*) \
     403          GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf - ;;\
     404        *.tar.bz2*) \
     405          bunzip2 -c $(distdir).tar.bz2 | $(AMTAR) xf - ;;\
     406        *.tar.Z*) \
     407          uncompress -c $(distdir).tar.Z | $(AMTAR) xf - ;;\
     408        *.shar.gz*) \
     409          GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
     410        *.zip*) \
     411          unzip $(distdir).zip ;;\
     412        esac
    368413        chmod -R a-w $(distdir); chmod a+w $(distdir)
    369414        mkdir $(distdir)/_build
     
    385430          && chmod -R a-w "$$dc_install_base" \
    386431          && ({ \
    387                (cd ../.. && $(mkinstalldirs) "$$dc_destdir") \
     432               (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
    388433               && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
    389434               && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
     
    392437              } || { rm -rf "$$dc_destdir"; exit 1; }) \
    393438          && rm -rf "$$dc_destdir" \
    394           && $(MAKE) $(AM_MAKEFLAGS) dist-gzip \
    395           && rm -f $(distdir).tar.gz \
     439          && $(MAKE) $(AM_MAKEFLAGS) dist \
     440          && rm -rf $(DIST_ARCHIVES) \
    396441          && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
    397442        $(am__remove_distdir)
    398         @echo "$(distdir).tar.gz is ready for distribution" | \
    399           sed 'h;s/./=/g;p;x;p;x'
     443        @(echo "$(distdir) archives ready for distribution: "; \
     444          list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
     445          sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}'
    400446distuninstallcheck:
    401447        @cd $(distuninstallcheck_dir) \
     
    421467installdirs: installdirs-recursive
    422468installdirs-am:
    423 
    424469install: install-recursive
    425470install-exec: install-exec-recursive
     
    459504dvi-am:
    460505
     506html: html-recursive
     507
    461508info: info-recursive
    462509
     
    495542uninstall-info: uninstall-info-recursive
    496543
    497 .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am clean \
    498         clean-generic clean-recursive ctags ctags-recursive dist \
    499         dist-all dist-gzip distcheck distclean distclean-generic \
    500         distclean-hdr distclean-recursive distclean-tags distcleancheck \
    501         distdir distuninstallcheck dvi dvi-am dvi-recursive info \
    502         info-am info-recursive install install-am install-data \
    503         install-data-am install-data-recursive install-exec \
    504         install-exec-am install-exec-recursive install-info \
    505         install-info-am install-info-recursive install-man \
    506         install-recursive install-strip installcheck installcheck-am \
    507         installdirs installdirs-am installdirs-recursive \
    508         maintainer-clean maintainer-clean-generic \
    509         maintainer-clean-recursive mostlyclean mostlyclean-generic \
    510         mostlyclean-recursive pdf pdf-am pdf-recursive ps ps-am \
    511         ps-recursive tags tags-recursive uninstall uninstall-am \
    512         uninstall-info-am uninstall-info-recursive uninstall-recursive
     544.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \
     545        check-am clean clean-generic clean-recursive ctags \
     546        ctags-recursive dist dist-all dist-bzip2 dist-gzip dist-shar \
     547        dist-tarZ dist-zip distcheck distclean distclean-generic \
     548        distclean-hdr distclean-recursive distclean-tags \
     549        distcleancheck distdir distuninstallcheck dvi dvi-am html \
     550        html-am info info-am install install-am install-data \
     551        install-data-am install-exec install-exec-am install-info \
     552        install-info-am install-man install-strip installcheck \
     553        installcheck-am installdirs installdirs-am maintainer-clean \
     554        maintainer-clean-generic maintainer-clean-recursive \
     555        mostlyclean mostlyclean-generic mostlyclean-recursive pdf \
     556        pdf-am ps ps-am tags tags-recursive uninstall uninstall-am \
     557        uninstall-info-am
    513558
    514559# Tell versions [3.59,3.63) of GNU make to not export all variables.
  • orxonox/branches/sound/NEWS

    r2017 r2964  
     1Date:   November 16, 2004
     2Topic:  Importer
     3Body:   There now exists a possibility to import .obj-files (alias wavefront format) into the Game. You can find some test models here: <A href="/files/models">models</a>. You can also test them with the included importer which is locates in trunk/importer. enjoy.
     4
     5
    16Date:   June 22, 2004
    27Topic:  Develop on Win32 - bg
    3 Body:   Now the moment you have all been waiting for has arrived. Orxonox can finally be compiled on Windows machines. We know that it is no good idea to do this, but since there are some people interessted in working with Windows, we will give you a chance: read <A href = "http://www.orxonox.ethz.ch/index.php?site=additional.sites/howto.dev.win/howto.dev.win.cc.php" >the manual </A>.
     8Body:   Now the moment you have all been waiting for has arrived. Orxonox can finally be compiled on Windows machines. We know that it is no good idea to do this, but since there are some people interessted in working with Windows, we will give you a chance: read <A href = "/index.php?site=additional.sites/howto.dev.win/howto.dev.win.cc.php" >the manual </A>.
    49
    510Date:   June 04, 2004
    611Topic:  Orxonox Convention - pb
    7 Body:   Here you can find all the information you need, to join us at the <A href="http://www.orxonox.ethz.ch/index.php?site=additional.sites/convention01/convention01.php"> Orxonox Convention </A>, that takes Place at Stuz June 9. 2004.
     12Body:   Here you can find all the information you need, to join us at the <A href="index.php?site=additional.sites/convention01/convention01.php"> Orxonox Convention </A>, that takes Place at Stuz June 9. 2004.
    813
    914Date:   June 04, 2004
    1015Topic:  Manual for Subversion@DataCore.ch
    11 Body:   A manual for <A href="http://www.orxonox.ethz.ch/files/subversion/subversion.pdf"> Subversion at DataCore</A> is made. Now we need someone, to correct all the errors. Please someone Checkout the Source of this at http://orxonox.ethz.ch/repos/latex/subversion an do the repairs.
     16Body:   A manual for <A href="/files/subversion/subversion.pdf"> Subversion at DataCore</A> is made. Now we need someone, to correct all the errors. Please someone Checkout the Source of this at http://orxonox.ethz.ch/repos/latex/subversion an do the repairs.
    1217
    1318Date:   June 02, 2004
     
    1722Date:   May 26, 2004
    1823Topic:  New ship models - bg
    19 Body:   Some new space models are now ready for download. You'll find them in the download section or try it <A href="http://www.orxonox.ethz.ch/files/orx_pictures.tar.bz2">here</A>
     24Body:   Some new space models are now ready for download. You'll find them in the download section or try it <A href="/files/orx_pictures.tar.bz2">here</A>
    2025
  • orxonox/branches/sound/aclocal.m4

    r1956 r2964  
    1 # generated automatically by aclocal 1.7.9 -*- Autoconf -*-
    2 
    3 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002
     1# generated automatically by aclocal 1.8.5 -*- Autoconf -*-
     2
     3# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
    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'
    69   else
    70     CYGPATH_W=echo
    71   fi
    72 fi
    73 AC_SUBST([CYGPATH_W])
    74 
    75 # Define the identity of the package.
    76 dnl Distinguish between old-style and new-style calls.
    77 m4_ifval([$2],
    78 [m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
    79  AC_SUBST([PACKAGE], [$1])dnl
    80  AC_SUBST([VERSION], [$2])],
    81 [_AM_SET_OPTIONS([$1])dnl
    82  AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
    83  AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
    84 
    85 _AM_IF_OPTION([no-define],,
    86 [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
    87  AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
    88 
    89 # Some tools Automake needs.
    90 AC_REQUIRE([AM_SANITY_CHECK])dnl
    91 AC_REQUIRE([AC_ARG_PROGRAM])dnl
    92 AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
    93 AM_MISSING_PROG(AUTOCONF, autoconf)
    94 AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
    95 AM_MISSING_PROG(AUTOHEADER, autoheader)
    96 AM_MISSING_PROG(MAKEINFO, makeinfo)
    97 AM_MISSING_PROG(AMTAR, tar)
    98 AM_PROG_INSTALL_SH
    99 AM_PROG_INSTALL_STRIP
    100 # We need awk for the "check" target.  The system "awk" is bad on
    101 # some platforms.
    102 AC_REQUIRE([AC_PROG_AWK])dnl
    103 AC_REQUIRE([AC_PROG_MAKE_SET])dnl
    104 AC_REQUIRE([AM_SET_LEADING_DOT])dnl
    105 
    106 _AM_IF_OPTION([no-dependencies],,
    107 [AC_PROVIDE_IFELSE([AC_PROG_CC],
    108                   [_AM_DEPENDENCIES(CC)],
    109                   [define([AC_PROG_CC],
    110                           defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
    111 AC_PROVIDE_IFELSE([AC_PROG_CXX],
    112                   [_AM_DEPENDENCIES(CXX)],
    113                   [define([AC_PROG_CXX],
    114                           defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
    115 ])
    116 ])
    117 
    118 
    119 # When config.status generates a header, we must update the stamp-h file.
    120 # This file resides in the same directory as the config header
    121 # that is generated.  The stamp files are numbered to have different names.
    122 
    123 # Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
    124 # loop where config.status creates the headers, so we can generate
    125 # our stamp files there.
    126 AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
    127 [# Compute $1's index in $config_headers.
    128 _am_stamp_count=1
    129 for _am_header in $config_headers :; do
    130   case $_am_header in
    131     $1 | $1:* )
    132       break ;;
    133     * )
    134       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
    135   esac
    136 done
    137 echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
    138 
    139 # Copyright 2002  Free Software Foundation, Inc.
     14#                                                        -*- Autoconf -*-
     15# Copyright (C) 2002, 2003  Free Software Foundation, Inc.
     16# Generated from amversion.in; do not edit by hand.
    14017
    14118# This program is free software; you can redistribute it and/or modify
     
    15734# Automake X.Y traces this macro to ensure aclocal.m4 has been
    15835# generated from the m4 files accompanying Automake X.Y.
    159 AC_DEFUN([AM_AUTOMAKE_VERSION],[am__api_version="1.7"])
     36AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.8"])
    16037
    16138# AM_SET_CURRENT_AUTOMAKE_VERSION
     
    16441# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
    16542AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
    166          [AM_AUTOMAKE_VERSION([1.7.9])])
    167 
    168 # Helper functions for option handling.                    -*- Autoconf -*-
    169 
    170 # Copyright 2001, 2002  Free Software Foundation, Inc.
    171 
    172 # This program is free software; you can redistribute it and/or modify
    173 # it under the terms of the GNU General Public License as published by
    174 # the Free Software Foundation; either version 2, or (at your option)
    175 # any later version.
    176 
    177 # This program is distributed in the hope that it will be useful,
    178 # but WITHOUT ANY WARRANTY; without even the implied warranty of
    179 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    180 # GNU General Public License for more details.
    181 
    182 # You should have received a copy of the GNU General Public License
    183 # along with this program; if not, write to the Free Software
    184 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
    185 # 02111-1307, USA.
    186 
    187 # serial 2
    188 
    189 # _AM_MANGLE_OPTION(NAME)
    190 # -----------------------
    191 AC_DEFUN([_AM_MANGLE_OPTION],
    192 [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
    193 
    194 # _AM_SET_OPTION(NAME)
    195 # ------------------------------
    196 # Set option NAME.  Presently that only means defining a flag for this option.
    197 AC_DEFUN([_AM_SET_OPTION],
    198 [m4_define(_AM_MANGLE_OPTION([$1]), 1)])
    199 
    200 # _AM_SET_OPTIONS(OPTIONS)
    201 # ----------------------------------
    202 # OPTIONS is a space-separated list of Automake options.
    203 AC_DEFUN([_AM_SET_OPTIONS],
    204 [AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
    205 
    206 # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
    207 # -------------------------------------------
    208 # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
    209 AC_DEFUN([_AM_IF_OPTION],
    210 [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
    211 
    212 #
    213 # Check to make sure that the build environment is sane.
    214 #
    215 
    216 # Copyright 1996, 1997, 2000, 2001 Free Software Foundation, Inc.
    217 
    218 # This program is free software; you can redistribute it and/or modify
    219 # it under the terms of the GNU General Public License as published by
    220 # the Free Software Foundation; either version 2, or (at your option)
    221 # any later version.
    222 
    223 # This program is distributed in the hope that it will be useful,
    224 # but WITHOUT ANY WARRANTY; without even the implied warranty of
    225 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    226 # GNU General Public License for more details.
    227 
    228 # You should have received a copy of the GNU General Public License
    229 # along with this program; if not, write to the Free Software
    230 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
    231 # 02111-1307, USA.
    232 
    233 # serial 3
    234 
    235 # AM_SANITY_CHECK
    236 # ---------------
    237 AC_DEFUN([AM_SANITY_CHECK],
    238 [AC_MSG_CHECKING([whether build environment is sane])
    239 # Just in case
    240 sleep 1
    241 echo timestamp > conftest.file
    242 # Do `set' in a subshell so we don't clobber the current shell's
    243 # arguments.  Must try -L first in case configure is actually a
    244 # symlink; some systems play weird games with the mod time of symlinks
    245 # (eg FreeBSD returns the mod time of the symlink's containing
    246 # directory).
    247 if (
    248    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
    249    if test "$[*]" = "X"; then
    250       # -L didn't work.
    251       set X `ls -t $srcdir/configure conftest.file`
    252    fi
    253    rm -f conftest.file
    254    if test "$[*]" != "X $srcdir/configure conftest.file" \
    255       && test "$[*]" != "X conftest.file $srcdir/configure"; then
    256 
    257       # If neither matched, then we have a broken ls.  This can happen
    258       # if, for instance, CONFIG_SHELL is bash and it inherits a
    259       # broken ls alias from the environment.  This has actually
    260       # happened.  Such a system could not be considered "sane".
    261       AC_MSG_ERROR([ls -t appears to fail.  Make sure there is not a broken
    262 alias in your environment])
    263    fi
    264 
    265    test "$[2]" = conftest.file
    266    )
    267 then
    268    # Ok.
    269    :
    270 else
    271    AC_MSG_ERROR([newly created file is older than distributed files!
    272 Check your system clock])
    273 fi
    274 AC_MSG_RESULT(yes)])
    275 
    276 #  -*- Autoconf -*-
    277 
    278 
    279 # Copyright 1997, 1999, 2000, 2001 Free Software Foundation, Inc.
    280 
    281 # This program is free software; you can redistribute it and/or modify
    282 # it under the terms of the GNU General Public License as published by
    283 # the Free Software Foundation; either version 2, or (at your option)
    284 # any later version.
    285 
    286 # This program is distributed in the hope that it will be useful,
    287 # but WITHOUT ANY WARRANTY; without even the implied warranty of
    288 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    289 # GNU General Public License for more details.
    290 
    291 # You should have received a copy of the GNU General Public License
    292 # along with this program; if not, write to the Free Software
    293 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
    294 # 02111-1307, USA.
    295 
    296 # serial 3
    297 
    298 # AM_MISSING_PROG(NAME, PROGRAM)
    299 # ------------------------------
    300 AC_DEFUN([AM_MISSING_PROG],
    301 [AC_REQUIRE([AM_MISSING_HAS_RUN])
    302 $1=${$1-"${am_missing_run}$2"}
    303 AC_SUBST($1)])
    304 
    305 
    306 # AM_MISSING_HAS_RUN
    307 # ------------------
    308 # Define MISSING if not defined so far and test if it supports --run.
    309 # If it does, set am_missing_run to use it, otherwise, to nothing.
    310 AC_DEFUN([AM_MISSING_HAS_RUN],
    311 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
    312 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
    313 # Use eval to expand $SHELL
    314 if eval "$MISSING --run true"; then
    315   am_missing_run="$MISSING --run "
    316 else
    317   am_missing_run=
    318   AC_MSG_WARN([`missing' script is too old or missing])
    319 fi
    320 ])
     43         [AM_AUTOMAKE_VERSION([1.8.5])])
    32144
    32245# AM_AUX_DIR_EXPAND
    32346
    324 # Copyright 2001 Free Software Foundation, Inc.
     47# Copyright (C) 2001, 2003 Free Software Foundation, Inc.
    32548
    32649# This program is free software; you can redistribute it and/or modify
     
    377100# configured tree to be moved without reconfiguration.
    378101
    379 # Rely on autoconf to set up CDPATH properly.
    380 AC_PREREQ([2.50])
    381 
    382 AC_DEFUN([AM_AUX_DIR_EXPAND], [
     102AC_DEFUN([AM_AUX_DIR_EXPAND],
     103[dnl Rely on autoconf to set up CDPATH properly.
     104AC_PREREQ([2.50])dnl
    383105# expand $ac_aux_dir to an absolute path
    384106am_aux_dir=`cd $ac_aux_dir && pwd`
    385107])
    386108
    387 # AM_PROG_INSTALL_SH
    388 # ------------------
    389 # Define $install_sh.
    390 
    391 # Copyright 2001 Free Software Foundation, Inc.
    392 
    393 # This program is free software; you can redistribute it and/or modify
    394 # it under the terms of the GNU General Public License as published by
    395 # the Free Software Foundation; either version 2, or (at your option)
    396 # any later version.
    397 
    398 # This program is distributed in the hope that it will be useful,
    399 # but WITHOUT ANY WARRANTY; without even the implied warranty of
    400 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    401 # GNU General Public License for more details.
    402 
    403 # You should have received a copy of the GNU General Public License
    404 # along with this program; if not, write to the Free Software
    405 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
    406 # 02111-1307, USA.
    407 
    408 AC_DEFUN([AM_PROG_INSTALL_SH],
    409 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
    410 install_sh=${install_sh-"$am_aux_dir/install-sh"}
    411 AC_SUBST(install_sh)])
    412 
    413 # AM_PROG_INSTALL_STRIP
    414 
    415 # Copyright 2001 Free Software Foundation, Inc.
    416 
    417 # This program is free software; you can redistribute it and/or modify
    418 # it under the terms of the GNU General Public License as published by
    419 # the Free Software Foundation; either version 2, or (at your option)
    420 # any later version.
    421 
    422 # This program is distributed in the hope that it will be useful,
    423 # but WITHOUT ANY WARRANTY; without even the implied warranty of
    424 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    425 # GNU General Public License for more details.
    426 
    427 # You should have received a copy of the GNU General Public License
    428 # along with this program; if not, write to the Free Software
    429 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
    430 # 02111-1307, USA.
    431 
    432 # One issue with vendor `install' (even GNU) is that you can't
    433 # specify the program used to strip binaries.  This is especially
    434 # annoying in cross-compiling environments, where the build's strip
    435 # is unlikely to handle the host's binaries.
    436 # Fortunately install-sh will honor a STRIPPROG variable, so we
    437 # always use install-sh in `make install-strip', and initialize
    438 # STRIPPROG with the value of the STRIP variable (set by the user).
    439 AC_DEFUN([AM_PROG_INSTALL_STRIP],
    440 [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
    441 # Installed binaries are usually stripped using `strip' when the user
    442 # run `make install-strip'.  However `strip' might not be the right
    443 # tool to use in cross-compilation environments, therefore Automake
    444 # will honor the `STRIP' environment variable to overrule this program.
    445 dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
    446 if test "$cross_compiling" != no; then
    447   AC_CHECK_TOOL([STRIP], [strip], :)
    448 fi
    449 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
    450 AC_SUBST([INSTALL_STRIP_PROGRAM])])
    451 
    452 #                                                          -*- Autoconf -*-
    453 # Copyright (C) 2003  Free Software Foundation, Inc.
    454 
    455 # This program is free software; you can redistribute it and/or modify
    456 # it under the terms of the GNU General Public License as published by
    457 # the Free Software Foundation; either version 2, or (at your option)
    458 # any later version.
    459 
    460 # This program is distributed in the hope that it will be useful,
    461 # but WITHOUT ANY WARRANTY; without even the implied warranty of
    462 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    463 # GNU General Public License for more details.
    464 
    465 # You should have received a copy of the GNU General Public License
    466 # along with this program; if not, write to the Free Software
    467 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
    468 # 02111-1307, USA.
    469 
    470 # serial 1
    471 
    472 # Check whether the underlying file-system supports filenames
    473 # with a leading dot.  For instance MS-DOS doesn't.
    474 AC_DEFUN([AM_SET_LEADING_DOT],
    475 [rm -rf .tst 2>/dev/null
    476 mkdir .tst 2>/dev/null
    477 if test -d .tst; then
    478   am__leading_dot=.
     109# AM_CONDITIONAL                                              -*- Autoconf -*-
     110
     111# Copyright (C) 1997, 2000, 2001, 2003 Free Software Foundation, Inc.
     112
     113# This program is free software; you can redistribute it and/or modify
     114# it under the terms of the GNU General Public License as published by
     115# the Free Software Foundation; either version 2, or (at your option)
     116# any later version.
     117
     118# This program is distributed in the hope that it will be useful,
     119# but WITHOUT ANY WARRANTY; without even the implied warranty of
     120# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     121# GNU General Public License for more details.
     122
     123# You should have received a copy of the GNU General Public License
     124# along with this program; if not, write to the Free Software
     125# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
     126# 02111-1307, USA.
     127
     128# serial 6
     129
     130# AM_CONDITIONAL(NAME, SHELL-CONDITION)
     131# -------------------------------------
     132# Define a conditional.
     133AC_DEFUN([AM_CONDITIONAL],
     134[AC_PREREQ(2.52)dnl
     135 ifelse([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])],
     136        [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
     137AC_SUBST([$1_TRUE])
     138AC_SUBST([$1_FALSE])
     139if $2; then
     140  $1_TRUE=
     141  $1_FALSE='#'
    479142else
    480   am__leading_dot=_
    481 fi
    482 rmdir .tst 2>/dev/null
    483 AC_SUBST([am__leading_dot])])
    484 
    485 # serial 5                                              -*- Autoconf -*-
    486 
    487 # Copyright (C) 1999, 2000, 2001, 2002, 2003  Free Software Foundation, Inc.
     143  $1_TRUE='#'
     144  $1_FALSE=
     145fi
     146AC_CONFIG_COMMANDS_PRE(
     147[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
     148  AC_MSG_ERROR([conditional "$1" was never defined.
     149Usually this means the macro was only invoked conditionally.])
     150fi])])
     151
     152# serial 7                                              -*- Autoconf -*-
     153
     154# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004
     155# Free Software Foundation, Inc.
    488156
    489157# This program is free software; you can redistribute it and/or modify
     
    569237    for i in 1 2 3 4 5 6; do
    570238      echo '#include "conftst'$i'.h"' >> sub/conftest.c
    571       : > sub/conftst$i.h
     239      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
     240      # Solaris 8's {/usr,}/bin/sh.
     241      touch sub/conftst$i.h
    572242    done
    573243    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
     
    597267       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
    598268      # icc doesn't choke on unknown options, it will just issue warnings
    599       # (even with -Werror).  So we grep stderr for any message
    600       # that says an option was ignored.
    601       if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
     269      # or remarks (even with -Werror).  So we grep stderr for any message
     270      # that says an option was ignored or not supported.
     271      # When given -MP, icc 7.0 and 7.1 complain thusly:
     272      #   icc: Command line warning: ignoring option '-M'; no argument required
     273      # The diagnosis changed in icc 8.0:
     274      #   icc: Command line remark: option '-MP' not supported
     275      if (grep 'ignoring option' conftest.err ||
     276          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
    602277        am_cv_$1_dependencies_compiler_type=$depmode
    603278        break
     
    633308AC_DEFUN([AM_DEP_TRACK],
    634309[AC_ARG_ENABLE(dependency-tracking,
    635 [  --disable-dependency-tracking Speeds up one-time builds
    636   --enable-dependency-tracking  Do not reject slow dependency extractors])
     310[  --disable-dependency-tracking  speeds up one-time build
     311  --enable-dependency-tracking   do not reject slow dependency extractors])
    637312if test "x$enable_dependency_tracking" != xno; then
    638313  am_depcomp="$ac_aux_dir/depcomp"
     
    645320# Generate code to set up dependency tracking.   -*- Autoconf -*-
    646321
    647 # Copyright 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
     322# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
    648323
    649324# This program is free software; you can redistribute it and/or modify
     
    684359  # Extract the definition of DEP_FILES from the Makefile without
    685360  # running `make'.
    686   DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
     361  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
    687362  test -z "$DEPDIR" && continue
    688363  # When using ansi2knr, U may be empty or an underscore; expand it
    689   U=`sed -n -e '/^U = / s///p' < "$mf"`
     364  U=`sed -n 's/^U = //p' < "$mf"`
    690365  test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
    691366  # We invoke sed twice because it is the simplest approach to
    692367  # changing $(DEPDIR) to its actual value in the expansion.
    693   for file in `sed -n -e '
     368  for file in `sed -n '
    694369    /^DEP_FILES = .*\\\\$/ {
    695370      s/^DEP_FILES = //
     
    726401     [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
    727402])
     403
     404# Do all the work for Automake.                            -*- Autoconf -*-
     405
     406# This macro actually does too much some checks are only needed if
     407# your package does certain things.  But this isn't really a big deal.
     408
     409# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
     410# Free Software Foundation, Inc.
     411
     412# This program is free software; you can redistribute it and/or modify
     413# it under the terms of the GNU General Public License as published by
     414# the Free Software Foundation; either version 2, or (at your option)
     415# any later version.
     416
     417# This program is distributed in the hope that it will be useful,
     418# but WITHOUT ANY WARRANTY; without even the implied warranty of
     419# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     420# GNU General Public License for more details.
     421
     422# You should have received a copy of the GNU General Public License
     423# along with this program; if not, write to the Free Software
     424# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
     425# 02111-1307, USA.
     426
     427# serial 11
     428
     429# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
     430# AM_INIT_AUTOMAKE([OPTIONS])
     431# -----------------------------------------------
     432# The call with PACKAGE and VERSION arguments is the old style
     433# call (pre autoconf-2.50), which is being phased out.  PACKAGE
     434# and VERSION should now be passed to AC_INIT and removed from
     435# the call to AM_INIT_AUTOMAKE.
     436# We support both call styles for the transition.  After
     437# the next Automake release, Autoconf can make the AC_INIT
     438# arguments mandatory, and then we can depend on a new Autoconf
     439# release and drop the old call support.
     440AC_DEFUN([AM_INIT_AUTOMAKE],
     441[AC_PREREQ([2.58])dnl
     442dnl Autoconf wants to disallow AM_ names.  We explicitly allow
     443dnl the ones we care about.
     444m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
     445AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
     446AC_REQUIRE([AC_PROG_INSTALL])dnl
     447# test to see if srcdir already configured
     448if test "`cd $srcdir && pwd`" != "`pwd`" &&
     449   test -f $srcdir/config.status; then
     450  AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
     451fi
     452
     453# test whether we have cygpath
     454if test -z "$CYGPATH_W"; then
     455  if (cygpath --version) >/dev/null 2>/dev/null; then
     456    CYGPATH_W='cygpath -w'
     457  else
     458    CYGPATH_W=echo
     459  fi
     460fi
     461AC_SUBST([CYGPATH_W])
     462
     463# Define the identity of the package.
     464dnl Distinguish between old-style and new-style calls.
     465m4_ifval([$2],
     466[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
     467 AC_SUBST([PACKAGE], [$1])dnl
     468 AC_SUBST([VERSION], [$2])],
     469[_AM_SET_OPTIONS([$1])dnl
     470 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
     471 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
     472
     473_AM_IF_OPTION([no-define],,
     474[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
     475 AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
     476
     477# Some tools Automake needs.
     478AC_REQUIRE([AM_SANITY_CHECK])dnl
     479AC_REQUIRE([AC_ARG_PROGRAM])dnl
     480AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
     481AM_MISSING_PROG(AUTOCONF, autoconf)
     482AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
     483AM_MISSING_PROG(AUTOHEADER, autoheader)
     484AM_MISSING_PROG(MAKEINFO, makeinfo)
     485AM_MISSING_PROG(AMTAR, tar)
     486AM_PROG_INSTALL_SH
     487AM_PROG_INSTALL_STRIP
     488AC_REQUIRE([AM_PROG_MKDIR_P])dnl
     489# We need awk for the "check" target.  The system "awk" is bad on
     490# some platforms.
     491AC_REQUIRE([AC_PROG_AWK])dnl
     492AC_REQUIRE([AC_PROG_MAKE_SET])dnl
     493AC_REQUIRE([AM_SET_LEADING_DOT])dnl
     494
     495_AM_IF_OPTION([no-dependencies],,
     496[AC_PROVIDE_IFELSE([AC_PROG_CC],
     497                  [_AM_DEPENDENCIES(CC)],
     498                  [define([AC_PROG_CC],
     499                          defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
     500AC_PROVIDE_IFELSE([AC_PROG_CXX],
     501                  [_AM_DEPENDENCIES(CXX)],
     502                  [define([AC_PROG_CXX],
     503                          defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
     504])
     505])
     506
     507
     508# When config.status generates a header, we must update the stamp-h file.
     509# This file resides in the same directory as the config header
     510# that is generated.  The stamp files are numbered to have different names.
     511
     512# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
     513# loop where config.status creates the headers, so we can generate
     514# our stamp files there.
     515AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
     516[# Compute $1's index in $config_headers.
     517_am_stamp_count=1
     518for _am_header in $config_headers :; do
     519  case $_am_header in
     520    $1 | $1:* )
     521      break ;;
     522    * )
     523      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
     524  esac
     525done
     526echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
     527
     528# AM_PROG_INSTALL_SH
     529# ------------------
     530# Define $install_sh.
     531
     532# Copyright (C) 2001, 2003 Free Software Foundation, Inc.
     533
     534# This program is free software; you can redistribute it and/or modify
     535# it under the terms of the GNU General Public License as published by
     536# the Free Software Foundation; either version 2, or (at your option)
     537# any later version.
     538
     539# This program is distributed in the hope that it will be useful,
     540# but WITHOUT ANY WARRANTY; without even the implied warranty of
     541# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     542# GNU General Public License for more details.
     543
     544# You should have received a copy of the GNU General Public License
     545# along with this program; if not, write to the Free Software
     546# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
     547# 02111-1307, USA.
     548
     549AC_DEFUN([AM_PROG_INSTALL_SH],
     550[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
     551install_sh=${install_sh-"$am_aux_dir/install-sh"}
     552AC_SUBST(install_sh)])
     553
     554#                                                          -*- Autoconf -*-
     555# Copyright (C) 2003  Free Software Foundation, Inc.
     556
     557# This program is free software; you can redistribute it and/or modify
     558# it under the terms of the GNU General Public License as published by
     559# the Free Software Foundation; either version 2, or (at your option)
     560# any later version.
     561
     562# This program is distributed in the hope that it will be useful,
     563# but WITHOUT ANY WARRANTY; without even the implied warranty of
     564# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     565# GNU General Public License for more details.
     566
     567# You should have received a copy of the GNU General Public License
     568# along with this program; if not, write to the Free Software
     569# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
     570# 02111-1307, USA.
     571
     572# serial 1
     573
     574# Check whether the underlying file-system supports filenames
     575# with a leading dot.  For instance MS-DOS doesn't.
     576AC_DEFUN([AM_SET_LEADING_DOT],
     577[rm -rf .tst 2>/dev/null
     578mkdir .tst 2>/dev/null
     579if test -d .tst; then
     580  am__leading_dot=.
     581else
     582  am__leading_dot=_
     583fi
     584rmdir .tst 2>/dev/null
     585AC_SUBST([am__leading_dot])])
    728586
    729587# Check to see how 'make' treats includes.      -*- Autoconf -*-
     
    790648])
    791649
    792 # AM_CONDITIONAL                                              -*- Autoconf -*-
    793 
    794 # Copyright 1997, 2000, 2001 Free Software Foundation, Inc.
    795 
    796 # This program is free software; you can redistribute it and/or modify
    797 # it under the terms of the GNU General Public License as published by
    798 # the Free Software Foundation; either version 2, or (at your option)
    799 # any later version.
    800 
    801 # This program is distributed in the hope that it will be useful,
    802 # but WITHOUT ANY WARRANTY; without even the implied warranty of
    803 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    804 # GNU General Public License for more details.
    805 
    806 # You should have received a copy of the GNU General Public License
    807 # along with this program; if not, write to the Free Software
    808 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
    809 # 02111-1307, USA.
    810 
    811 # serial 5
    812 
    813 AC_PREREQ(2.52)
    814 
    815 # AM_CONDITIONAL(NAME, SHELL-CONDITION)
    816 # -------------------------------------
    817 # Define a conditional.
    818 AC_DEFUN([AM_CONDITIONAL],
    819 [ifelse([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])],
    820         [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
    821 AC_SUBST([$1_TRUE])
    822 AC_SUBST([$1_FALSE])
    823 if $2; then
    824   $1_TRUE=
    825   $1_FALSE='#'
     650#  -*- Autoconf -*-
     651
     652
     653# Copyright (C) 1997, 1999, 2000, 2001, 2003 Free Software Foundation, Inc.
     654
     655# This program is free software; you can redistribute it and/or modify
     656# it under the terms of the GNU General Public License as published by
     657# the Free Software Foundation; either version 2, or (at your option)
     658# any later version.
     659
     660# This program is distributed in the hope that it will be useful,
     661# but WITHOUT ANY WARRANTY; without even the implied warranty of
     662# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     663# GNU General Public License for more details.
     664
     665# You should have received a copy of the GNU General Public License
     666# along with this program; if not, write to the Free Software
     667# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
     668# 02111-1307, USA.
     669
     670# serial 3
     671
     672# AM_MISSING_PROG(NAME, PROGRAM)
     673# ------------------------------
     674AC_DEFUN([AM_MISSING_PROG],
     675[AC_REQUIRE([AM_MISSING_HAS_RUN])
     676$1=${$1-"${am_missing_run}$2"}
     677AC_SUBST($1)])
     678
     679
     680# AM_MISSING_HAS_RUN
     681# ------------------
     682# Define MISSING if not defined so far and test if it supports --run.
     683# If it does, set am_missing_run to use it, otherwise, to nothing.
     684AC_DEFUN([AM_MISSING_HAS_RUN],
     685[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
     686test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
     687# Use eval to expand $SHELL
     688if eval "$MISSING --run true"; then
     689  am_missing_run="$MISSING --run "
    826690else
    827   $1_TRUE='#'
    828   $1_FALSE=
    829 fi
    830 AC_CONFIG_COMMANDS_PRE(
    831 [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
    832   AC_MSG_ERROR([conditional "$1" was never defined.
    833 Usually this means the macro was only invoked conditionally.])
    834 fi])])
    835 
     691  am_missing_run=
     692  AC_MSG_WARN([`missing' script is too old or missing])
     693fi
     694])
     695
     696# AM_PROG_MKDIR_P
     697# ---------------
     698# Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise.
     699
     700# Copyright (C) 2003, 2004 Free Software Foundation, Inc.
     701
     702# This program is free software; you can redistribute it and/or modify
     703# it under the terms of the GNU General Public License as published by
     704# the Free Software Foundation; either version 2, or (at your option)
     705# any later version.
     706
     707# This program is distributed in the hope that it will be useful,
     708# but WITHOUT ANY WARRANTY; without even the implied warranty of
     709# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     710# GNU General Public License for more details.
     711
     712# You should have received a copy of the GNU General Public License
     713# along with this program; if not, write to the Free Software
     714# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
     715# 02111-1307, USA.
     716
     717# Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories
     718# created by `make install' are always world readable, even if the
     719# installer happens to have an overly restrictive umask (e.g. 077).
     720# This was a mistake.  There are at least two reasons why we must not
     721# use `-m 0755':
     722#   - it causes special bits like SGID to be ignored,
     723#   - it may be too restrictive (some setups expect 775 directories).
     724#
     725# Do not use -m 0755 and let people choose whatever they expect by
     726# setting umask.
     727#
     728# We cannot accept any implementation of `mkdir' that recognizes `-p'.
     729# Some implementations (such as Solaris 8's) are not thread-safe: if a
     730# parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c'
     731# concurrently, both version can detect that a/ is missing, but only
     732# one can create it and the other will error out.  Consequently we
     733# restrict ourselves to GNU make (using the --version option ensures
     734# this.)
     735AC_DEFUN([AM_PROG_MKDIR_P],
     736[if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
     737  # Keeping the `.' argument allows $(mkdir_p) to be used without
     738  # argument.  Indeed, we sometimes output rules like
     739  #   $(mkdir_p) $(somedir)
     740  # where $(somedir) is conditionally defined.
     741  # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more
     742  # expensive solution, as it forces Make to start a sub-shell.)
     743  mkdir_p='mkdir -p -- .'
     744else
     745  # On NextStep and OpenStep, the `mkdir' command does not
     746  # recognize any option.  It will interpret all options as
     747  # directories to create, and then abort because `.' already
     748  # exists.
     749  for d in ./-p ./--version;
     750  do
     751    test -d $d && rmdir $d
     752  done
     753  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
     754  if test -f "$ac_aux_dir/mkinstalldirs"; then
     755    mkdir_p='$(mkinstalldirs)'
     756  else
     757    mkdir_p='$(install_sh) -d'
     758  fi
     759fi
     760AC_SUBST([mkdir_p])])
     761
     762# Helper functions for option handling.                    -*- Autoconf -*-
     763
     764# Copyright (C) 2001, 2002, 2003  Free Software Foundation, Inc.
     765
     766# This program is free software; you can redistribute it and/or modify
     767# it under the terms of the GNU General Public License as published by
     768# the Free Software Foundation; either version 2, or (at your option)
     769# any later version.
     770
     771# This program is distributed in the hope that it will be useful,
     772# but WITHOUT ANY WARRANTY; without even the implied warranty of
     773# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     774# GNU General Public License for more details.
     775
     776# You should have received a copy of the GNU General Public License
     777# along with this program; if not, write to the Free Software
     778# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
     779# 02111-1307, USA.
     780
     781# serial 2
     782
     783# _AM_MANGLE_OPTION(NAME)
     784# -----------------------
     785AC_DEFUN([_AM_MANGLE_OPTION],
     786[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
     787
     788# _AM_SET_OPTION(NAME)
     789# ------------------------------
     790# Set option NAME.  Presently that only means defining a flag for this option.
     791AC_DEFUN([_AM_SET_OPTION],
     792[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
     793
     794# _AM_SET_OPTIONS(OPTIONS)
     795# ----------------------------------
     796# OPTIONS is a space-separated list of Automake options.
     797AC_DEFUN([_AM_SET_OPTIONS],
     798[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
     799
     800# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
     801# -------------------------------------------
     802# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
     803AC_DEFUN([_AM_IF_OPTION],
     804[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
     805
     806#
     807# Check to make sure that the build environment is sane.
     808#
     809
     810# Copyright (C) 1996, 1997, 2000, 2001, 2003 Free Software Foundation, Inc.
     811
     812# This program is free software; you can redistribute it and/or modify
     813# it under the terms of the GNU General Public License as published by
     814# the Free Software Foundation; either version 2, or (at your option)
     815# any later version.
     816
     817# This program is distributed in the hope that it will be useful,
     818# but WITHOUT ANY WARRANTY; without even the implied warranty of
     819# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     820# GNU General Public License for more details.
     821
     822# You should have received a copy of the GNU General Public License
     823# along with this program; if not, write to the Free Software
     824# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
     825# 02111-1307, USA.
     826
     827# serial 3
     828
     829# AM_SANITY_CHECK
     830# ---------------
     831AC_DEFUN([AM_SANITY_CHECK],
     832[AC_MSG_CHECKING([whether build environment is sane])
     833# Just in case
     834sleep 1
     835echo timestamp > conftest.file
     836# Do `set' in a subshell so we don't clobber the current shell's
     837# arguments.  Must try -L first in case configure is actually a
     838# symlink; some systems play weird games with the mod time of symlinks
     839# (eg FreeBSD returns the mod time of the symlink's containing
     840# directory).
     841if (
     842   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
     843   if test "$[*]" = "X"; then
     844      # -L didn't work.
     845      set X `ls -t $srcdir/configure conftest.file`
     846   fi
     847   rm -f conftest.file
     848   if test "$[*]" != "X $srcdir/configure conftest.file" \
     849      && test "$[*]" != "X conftest.file $srcdir/configure"; then
     850
     851      # If neither matched, then we have a broken ls.  This can happen
     852      # if, for instance, CONFIG_SHELL is bash and it inherits a
     853      # broken ls alias from the environment.  This has actually
     854      # happened.  Such a system could not be considered "sane".
     855      AC_MSG_ERROR([ls -t appears to fail.  Make sure there is not a broken
     856alias in your environment])
     857   fi
     858
     859   test "$[2]" = conftest.file
     860   )
     861then
     862   # Ok.
     863   :
     864else
     865   AC_MSG_ERROR([newly created file is older than distributed files!
     866Check your system clock])
     867fi
     868AC_MSG_RESULT(yes)])
     869
     870# AM_PROG_INSTALL_STRIP
     871
     872# Copyright (C) 2001, 2003 Free Software Foundation, Inc.
     873
     874# This program is free software; you can redistribute it and/or modify
     875# it under the terms of the GNU General Public License as published by
     876# the Free Software Foundation; either version 2, or (at your option)
     877# any later version.
     878
     879# This program is distributed in the hope that it will be useful,
     880# but WITHOUT ANY WARRANTY; without even the implied warranty of
     881# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     882# GNU General Public License for more details.
     883
     884# You should have received a copy of the GNU General Public License
     885# along with this program; if not, write to the Free Software
     886# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
     887# 02111-1307, USA.
     888
     889# One issue with vendor `install' (even GNU) is that you can't
     890# specify the program used to strip binaries.  This is especially
     891# annoying in cross-compiling environments, where the build's strip
     892# is unlikely to handle the host's binaries.
     893# Fortunately install-sh will honor a STRIPPROG variable, so we
     894# always use install-sh in `make install-strip', and initialize
     895# STRIPPROG with the value of the STRIP variable (set by the user).
     896AC_DEFUN([AM_PROG_INSTALL_STRIP],
     897[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
     898# Installed binaries are usually stripped using `strip' when the user
     899# run `make install-strip'.  However `strip' might not be the right
     900# tool to use in cross-compilation environments, therefore Automake
     901# will honor the `STRIP' environment variable to overrule this program.
     902dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
     903if test "$cross_compiling" != no; then
     904  AC_CHECK_TOOL([STRIP], [strip], :)
     905fi
     906INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
     907AC_SUBST([INSTALL_STRIP_PROGRAM])])
     908
  • orxonox/branches/sound/configure

    r2854 r2964  
    312312#endif"
    313313
    314 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot MSBITFIELDS CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CC CFLAGS ac_ct_CC CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP 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 INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CC CFLAGS ac_ct_CC CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP MSBITFIELDS LIBOBJS LTLIBOBJS'
    315315ac_subst_files=''
    316316
     
    858858  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
    859859  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
    860   --disable-dependency-tracking Speeds up one-time builds
    861   --enable-dependency-tracking  Do not reject slow dependency extractors
     860  --disable-dependency-tracking  speeds up one-time build
     861  --enable-dependency-tracking   do not reject slow dependency extractors
    862862
    863863Some influential environment variables:
     
    13211321
    13221322
    1323 am__api_version="1.7"
     1323am__api_version="1.8"
    13241324ac_aux_dir=
    13251325for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
     
    14841484rm conftest.sed
    14851485
    1486 
    14871486# expand $ac_aux_dir to an absolute path
    14881487am_aux_dir=`cd $ac_aux_dir && pwd`
     
    14961495  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
    14971496echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
     1497fi
     1498
     1499if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
     1500  # Keeping the `.' argument allows $(mkdir_p) to be used without
     1501  # argument.  Indeed, we sometimes output rules like
     1502  #   $(mkdir_p) $(somedir)
     1503  # where $(somedir) is conditionally defined.
     1504  # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more
     1505  # expensive solution, as it forces Make to start a sub-shell.)
     1506  mkdir_p='mkdir -p -- .'
     1507else
     1508  # On NextStep and OpenStep, the `mkdir' command does not
     1509  # recognize any option.  It will interpret all options as
     1510  # directories to create, and then abort because `.' already
     1511  # exists.
     1512  for d in ./-p ./--version;
     1513  do
     1514    test -d $d && rmdir $d
     1515  done
     1516  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
     1517  if test -f "$ac_aux_dir/mkinstalldirs"; then
     1518    mkdir_p='$(mkinstalldirs)'
     1519  else
     1520    mkdir_p='$(install_sh) -d'
     1521  fi
    14981522fi
    14991523
     
    15761600rmdir .tst 2>/dev/null
    15771601
    1578  # test to see if srcdir already configured
     1602# test to see if srcdir already configured
    15791603if test "`cd $srcdir && pwd`" != "`pwd`" &&
    15801604   test -f $srcdir/config.status; then
     
    17251749
    17261750          ac_config_headers="$ac_config_headers config.h"
    1727 
    1728 
    1729 echo "$as_me:$LINENO: checking for mingw" >&5
    1730 echo $ECHO_N "checking for mingw... $ECHO_C" >&6
    1731 case `uname` in
    1732   *MINGW*)
    1733     mingw="yes"
    1734     MSBITFIELDS="-mms-bitfields"
    1735     MWINDOWS="-mwindows"
    1736     ;;
    1737   *)
    1738     mingw="no"
    1739     ;;
    1740 esac
    1741 echo "$as_me:$LINENO: result: $mingw" >&5
    1742 echo "${ECHO_T}$mingw" >&6
    17431751
    17441752
     
    24072415    for i in 1 2 3 4 5 6; do
    24082416      echo '#include "conftst'$i'.h"' >> sub/conftest.c
    2409       : > sub/conftst$i.h
     2417      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
     2418      # Solaris 8's {/usr,}/bin/sh.
     2419      touch sub/conftst$i.h
    24102420    done
    24112421    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
     
    24352445       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
    24362446      # icc doesn't choke on unknown options, it will just issue warnings
    2437       # (even with -Werror).  So we grep stderr for any message
    2438       # that says an option was ignored.
    2439       if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
     2447      # or remarks (even with -Werror).  So we grep stderr for any message
     2448      # that says an option was ignored or not supported.
     2449      # When given -MP, icc 7.0 and 7.1 complain thusly:
     2450      #   icc: Command line warning: ignoring option '-M'; no argument required
     2451      # The diagnosis changed in icc 8.0:
     2452      #   icc: Command line remark: option '-MP' not supported
     2453      if (grep 'ignoring option' conftest.err ||
     2454          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
    24402455        am_cv_CXX_dependencies_compiler_type=$depmode
    24412456        break
     
    32383253    for i in 1 2 3 4 5 6; do
    32393254      echo '#include "conftst'$i'.h"' >> sub/conftest.c
    3240       : > sub/conftst$i.h
     3255      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
     3256      # Solaris 8's {/usr,}/bin/sh.
     3257      touch sub/conftst$i.h
    32413258    done
    32423259    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
     
    32663283       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
    32673284      # icc doesn't choke on unknown options, it will just issue warnings
    3268       # (even with -Werror).  So we grep stderr for any message
    3269       # that says an option was ignored.
    3270       if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
     3285      # or remarks (even with -Werror).  So we grep stderr for any message
     3286      # that says an option was ignored or not supported.
     3287      # When given -MP, icc 7.0 and 7.1 complain thusly:
     3288      #   icc: Command line warning: ignoring option '-M'; no argument required
     3289      # The diagnosis changed in icc 8.0:
     3290      #   icc: Command line remark: option '-MP' not supported
     3291      if (grep 'ignoring option' conftest.err ||
     3292          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
    32713293        am_cv_CC_dependencies_compiler_type=$depmode
    32723294        break
     
    33003322
    33013323
    3302 # Checks for libraries.
    3303 
    3304 #  cheking for libGL
     3324
     3325
    33053326
    33063327ac_ext=c
     
    37203741fi
    37213742
    3722 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
     3743
     3744### CHECKING FOR SYSTEM ###
     3745
     3746echo "$as_me:$LINENO: checking for System" >&5
     3747echo $ECHO_N "checking for System... $ECHO_C" >&6
     3748case `uname` in
     3749### WINDOWS ###
     3750  *MINGW*)
     3751echo "mingw-WINDOWS detected"
     3752
     3753    mingw="yes"
     3754    MSBITFIELDS="-mms-bitfields"
     3755    MWINDOWS="-mwindows"
     3756
     3757# checking gl header
     3758        #done before loop
     3759
     3760# checking gl header
     3761   # On IRIX 5.3, sys/types and inttypes.h are conflicting.
    37233762
    37243763
     
    39463985done
    39473986
    3948 
    3949 #   checking for Unix GL
    3950 echo "$as_me:$LINENO: checking for main in -lGL" >&5
    3951 echo $ECHO_N "checking for main in -lGL... $ECHO_C" >&6
    3952 if test "${ac_cv_lib_GL_main+set}" = set; then
     3987#   checking for Windows openGl library
     3988    echo "$as_me:$LINENO: checking for main in -lopengl32" >&5
     3989echo $ECHO_N "checking for main in -lopengl32... $ECHO_C" >&6
     3990if test "${ac_cv_lib_opengl32_main+set}" = set; then
    39533991  echo $ECHO_N "(cached) $ECHO_C" >&6
    39543992else
    39553993  ac_check_lib_save_LIBS=$LIBS
    3956 LIBS="-lGL  $LIBS"
     3994LIBS="-lopengl32  $LIBS"
    39573995cat >conftest.$ac_ext <<_ACEOF
    39583996/* confdefs.h.  */
     
    39934031  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    39944032  (exit $ac_status); }; }; then
    3995   ac_cv_lib_GL_main=yes
    3996 else
    3997   echo "$as_me: failed program was:" >&5
    3998 sed 's/^/| /' conftest.$ac_ext >&5
    3999 
    4000 ac_cv_lib_GL_main=no
    4001 fi
    4002 rm -f conftest.err conftest.$ac_objext \
    4003       conftest$ac_exeext conftest.$ac_ext
    4004 LIBS=$ac_check_lib_save_LIBS
    4005 fi
    4006 echo "$as_me:$LINENO: result: $ac_cv_lib_GL_main" >&5
    4007 echo "${ECHO_T}$ac_cv_lib_GL_main" >&6
    4008 if test $ac_cv_lib_GL_main = yes; then
    4009   FOUND_GL=yes
    4010 fi
    4011 
    4012 if test "$FOUND_GL" = "yes" ; then
    4013     LIBS="$LIBS -lGL"
    4014     #   checking for Windows openGl library
    4015 else
    4016     echo "We did not find the Linux opengl Library. Checking for Windows Library"
    4017     echo "$as_me:$LINENO: checking for main in -lopengl32" >&5
    4018 echo $ECHO_N "checking for main in -lopengl32... $ECHO_C" >&6
    4019 if test "${ac_cv_lib_opengl32_main+set}" = set; then
    4020   echo $ECHO_N "(cached) $ECHO_C" >&6
    4021 else
    4022   ac_check_lib_save_LIBS=$LIBS
    4023 LIBS="-lopengl32  $LIBS"
    4024 cat >conftest.$ac_ext <<_ACEOF
    4025 /* confdefs.h.  */
    4026 _ACEOF
    4027 cat confdefs.h >>conftest.$ac_ext
    4028 cat >>conftest.$ac_ext <<_ACEOF
    4029 /* end confdefs.h.  */
    4030 
    4031 
    4032 int
    4033 main ()
    4034 {
    4035 main ();
    4036   ;
    4037   return 0;
    4038 }
    4039 _ACEOF
    4040 rm -f conftest.$ac_objext conftest$ac_exeext
    4041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    4042   (eval $ac_link) 2>conftest.er1
    4043   ac_status=$?
    4044   grep -v '^ *+' conftest.er1 >conftest.err
    4045   rm -f conftest.er1
    4046   cat conftest.err >&5
    4047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4048   (exit $ac_status); } &&
    4049          { ac_try='test -z "$ac_c_werror_flag"
    4050                          || test ! -s conftest.err'
    4051   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4052   (eval $ac_try) 2>&5
    4053   ac_status=$?
    4054   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4055   (exit $ac_status); }; } &&
    4056          { ac_try='test -s conftest$ac_exeext'
    4057   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4058   (eval $ac_try) 2>&5
    4059   ac_status=$?
    4060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4061   (exit $ac_status); }; }; then
    40624033  ac_cv_lib_opengl32_main=yes
    40634034else
     
    40814052    if test "$FOUND_opengl32" = "yes" ; then
    40824053        LIBS="$LIBS -lopengl32"
    4083 
    40844054    else
    40854055         echo "------------------"
     
    40894059         exit -1
    40904060    fi
    4091 fi
    4092 
    4093 #  cheking for libGLU
     4061
     4062# cheking for GLU-header
    40944063
    40954064for ac_header in GL/glu.h
     
    42474216
    42484217
    4249 echo "$as_me:$LINENO: checking for gluProject in -lGLU" >&5
    4250 echo $ECHO_N "checking for gluProject in -lGLU... $ECHO_C" >&6
    4251 if test "${ac_cv_lib_GLU_gluProject+set}" = set; then
    4252   echo $ECHO_N "(cached) $ECHO_C" >&6
    4253 else
    4254   ac_check_lib_save_LIBS=$LIBS
    4255 LIBS="-lGLU  $LIBS"
    4256 cat >conftest.$ac_ext <<_ACEOF
    4257 /* confdefs.h.  */
    4258 _ACEOF
    4259 cat confdefs.h >>conftest.$ac_ext
    4260 cat >>conftest.$ac_ext <<_ACEOF
    4261 /* end confdefs.h.  */
    4262 
    4263 /* Override any gcc2 internal prototype to avoid an error.  */
    4264 #ifdef __cplusplus
    4265 extern "C"
    4266 #endif
    4267 /* We use char because int might match the return type of a gcc2
    4268    builtin and then its argument prototype would still apply.  */
    4269 char gluProject ();
    4270 int
    4271 main ()
    4272 {
    4273 gluProject ();
    4274   ;
    4275   return 0;
    4276 }
    4277 _ACEOF
    4278 rm -f conftest.$ac_objext conftest$ac_exeext
    4279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    4280   (eval $ac_link) 2>conftest.er1
    4281   ac_status=$?
    4282   grep -v '^ *+' conftest.er1 >conftest.err
    4283   rm -f conftest.er1
    4284   cat conftest.err >&5
    4285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4286   (exit $ac_status); } &&
    4287          { ac_try='test -z "$ac_c_werror_flag"
    4288                          || test ! -s conftest.err'
    4289   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4290   (eval $ac_try) 2>&5
    4291   ac_status=$?
    4292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4293   (exit $ac_status); }; } &&
    4294          { ac_try='test -s conftest$ac_exeext'
    4295   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4296   (eval $ac_try) 2>&5
    4297   ac_status=$?
    4298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4299   (exit $ac_status); }; }; then
    4300   ac_cv_lib_GLU_gluProject=yes
    4301 else
    4302   echo "$as_me: failed program was:" >&5
    4303 sed 's/^/| /' conftest.$ac_ext >&5
    4304 
    4305 ac_cv_lib_GLU_gluProject=no
    4306 fi
    4307 rm -f conftest.err conftest.$ac_objext \
    4308       conftest$ac_exeext conftest.$ac_ext
    4309 LIBS=$ac_check_lib_save_LIBS
    4310 fi
    4311 echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluProject" >&5
    4312 echo "${ECHO_T}$ac_cv_lib_GLU_gluProject" >&6
    4313 if test $ac_cv_lib_GLU_gluProject = yes; then
    4314   FOUND_GLU=yes
    4315 fi
    4316 
    4317 if test "$FOUND_GLU" = "yes" ; then
    4318     LIBS="$LIBS -lGLU"
    4319     #   checking for Windows GLU32 library
    4320 else
    4321     echo "We did not find the Linux GLU Library. Checking for Windows Library"
     4218# checking for libGLU
    43224219    echo "$as_me:$LINENO: checking for main in -lglu32" >&5
    43234220echo $ECHO_N "checking for main in -lglu32... $ECHO_C" >&6
     
    43844281    if test "$FOUND_glu32" = "yes" ; then
    43854282        LIBS="$LIBS -lGLU32"
    4386 
    4387         else
     4283    else
    43884284         echo "------------------"
    43894285         echo "GLU library not found."
     
    43924288         exit -1
    43934289    fi
    4394 fi
    4395 
    4396 
    4397 for ac_header in SDL/SDL_mixer.h
     4290
     4291
     4292# checking for mingw32
     4293    echo "$as_me:$LINENO: checking for main in -lmingw32" >&5
     4294echo $ECHO_N "checking for main in -lmingw32... $ECHO_C" >&6
     4295if test "${ac_cv_lib_mingw32_main+set}" = set; then
     4296  echo $ECHO_N "(cached) $ECHO_C" >&6
     4297else
     4298  ac_check_lib_save_LIBS=$LIBS
     4299LIBS="-lmingw32  $LIBS"
     4300cat >conftest.$ac_ext <<_ACEOF
     4301/* confdefs.h.  */
     4302_ACEOF
     4303cat confdefs.h >>conftest.$ac_ext
     4304cat >>conftest.$ac_ext <<_ACEOF
     4305/* end confdefs.h.  */
     4306
     4307
     4308int
     4309main ()
     4310{
     4311main ();
     4312  ;
     4313  return 0;
     4314}
     4315_ACEOF
     4316rm -f conftest.$ac_objext conftest$ac_exeext
     4317if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     4318  (eval $ac_link) 2>conftest.er1
     4319  ac_status=$?
     4320  grep -v '^ *+' conftest.er1 >conftest.err
     4321  rm -f conftest.er1
     4322  cat conftest.err >&5
     4323  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4324  (exit $ac_status); } &&
     4325         { ac_try='test -z "$ac_c_werror_flag"
     4326                         || test ! -s conftest.err'
     4327  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4328  (eval $ac_try) 2>&5
     4329  ac_status=$?
     4330  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4331  (exit $ac_status); }; } &&
     4332         { ac_try='test -s conftest$ac_exeext'
     4333  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4334  (eval $ac_try) 2>&5
     4335  ac_status=$?
     4336  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4337  (exit $ac_status); }; }; then
     4338  ac_cv_lib_mingw32_main=yes
     4339else
     4340  echo "$as_me: failed program was:" >&5
     4341sed 's/^/| /' conftest.$ac_ext >&5
     4342
     4343ac_cv_lib_mingw32_main=no
     4344fi
     4345rm -f conftest.err conftest.$ac_objext \
     4346      conftest$ac_exeext conftest.$ac_ext
     4347LIBS=$ac_check_lib_save_LIBS
     4348fi
     4349echo "$as_me:$LINENO: result: $ac_cv_lib_mingw32_main" >&5
     4350echo "${ECHO_T}$ac_cv_lib_mingw32_main" >&6
     4351if test $ac_cv_lib_mingw32_main = yes; then
     4352  FOUND_mingw32=yes
     4353fi
     4354
     4355    if test $FOUND_mingw32 = "yes"; then
     4356        LIBS="$LIBS -lmingw32"
     4357    fi
     4358# checking for SDL-headers
     4359
     4360for ac_header in SDL/SDL.h
    43984361do
    43994362as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
     
    45414504
    45424505else
    4543   { { echo "$as_me:$LINENO: error: cannot find sdlmixer headers" >&5
    4544 echo "$as_me: error: cannot find sdlmixer headers" >&2;}
     4506  { { echo "$as_me:$LINENO: error: cannot find SDL headers" >&5
     4507echo "$as_me: error: cannot find SDL headers" >&2;}
    45454508   { (exit 1); exit 1; }; }
    45464509fi
     
    45494512
    45504513
    4551 LIBS="$LIBS -lSDL_mixer"
    4552 
    4553 # FIXME: Replace `main' with a function in `-lOSMesa':
    4554 
    4555 echo "$as_me:$LINENO: checking for main in -lOSMesa" >&5
    4556 echo $ECHO_N "checking for main in -lOSMesa... $ECHO_C" >&6
    4557 if test "${ac_cv_lib_OSMesa_main+set}" = set; then
     4514#checking for libSDL
     4515    echo "$as_me:$LINENO: checking for main in -lsdlmain" >&5
     4516echo $ECHO_N "checking for main in -lsdlmain... $ECHO_C" >&6
     4517if test "${ac_cv_lib_sdlmain_main+set}" = set; then
    45584518  echo $ECHO_N "(cached) $ECHO_C" >&6
    45594519else
    45604520  ac_check_lib_save_LIBS=$LIBS
    4561 LIBS="-lOSMesa  $LIBS"
     4521LIBS="-lsdlmain  $LIBS"
    45624522cat >conftest.$ac_ext <<_ACEOF
    45634523/* confdefs.h.  */
     
    45984558  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    45994559  (exit $ac_status); }; }; then
    4600   ac_cv_lib_OSMesa_main=yes
     4560  ac_cv_lib_sdlmain_main=yes
    46014561else
    46024562  echo "$as_me: failed program was:" >&5
    46034563sed 's/^/| /' conftest.$ac_ext >&5
    46044564
    4605 ac_cv_lib_OSMesa_main=no
     4565ac_cv_lib_sdlmain_main=no
    46064566fi
    46074567rm -f conftest.err conftest.$ac_objext \
     
    46094569LIBS=$ac_check_lib_save_LIBS
    46104570fi
    4611 echo "$as_me:$LINENO: result: $ac_cv_lib_OSMesa_main" >&5
    4612 echo "${ECHO_T}$ac_cv_lib_OSMesa_main" >&6
    4613 if test $ac_cv_lib_OSMesa_main = yes; then
    4614   cat >>confdefs.h <<_ACEOF
    4615 #define HAVE_LIBOSMESA 1
    4616 _ACEOF
    4617 
    4618   LIBS="-lOSMesa $LIBS"
    4619 
    4620 fi
    4621 
    4622 # FIXME: Replace `main' with a function in `-lX11':
    4623 
    4624 echo "$as_me:$LINENO: checking for main in -lX11" >&5
    4625 echo $ECHO_N "checking for main in -lX11... $ECHO_C" >&6
    4626 if test "${ac_cv_lib_X11_main+set}" = set; then
     4571echo "$as_me:$LINENO: result: $ac_cv_lib_sdlmain_main" >&5
     4572echo "${ECHO_T}$ac_cv_lib_sdlmain_main" >&6
     4573if test $ac_cv_lib_sdlmain_main = yes; then
     4574  FOUND_sdlmain=yes
     4575fi
     4576
     4577    if test "$FOUND_sdlmain" = "yes" ; then
     4578        LIBS="$LIBS -lsdlmain"
     4579    else
     4580         echo "------------------"
     4581         echo "SDL library not found."
     4582         echo "please install the SDL library, which can be found at http://www.libsdl.org"
     4583         echo "------------------"
     4584         exit 1
     4585    fi
     4586    echo "$as_me:$LINENO: checking for main in -lsdl" >&5
     4587echo $ECHO_N "checking for main in -lsdl... $ECHO_C" >&6
     4588if test "${ac_cv_lib_sdl_main+set}" = set; then
    46274589  echo $ECHO_N "(cached) $ECHO_C" >&6
    46284590else
    46294591  ac_check_lib_save_LIBS=$LIBS
    4630 LIBS="-lX11  $LIBS"
     4592LIBS="-lsdl  $LIBS"
    46314593cat >conftest.$ac_ext <<_ACEOF
    46324594/* confdefs.h.  */
     
    46674629  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    46684630  (exit $ac_status); }; }; then
    4669   ac_cv_lib_X11_main=yes
     4631  ac_cv_lib_sdl_main=yes
    46704632else
    46714633  echo "$as_me: failed program was:" >&5
    46724634sed 's/^/| /' conftest.$ac_ext >&5
    46734635
    4674 ac_cv_lib_X11_main=no
     4636ac_cv_lib_sdl_main=no
    46754637fi
    46764638rm -f conftest.err conftest.$ac_objext \
     
    46784640LIBS=$ac_check_lib_save_LIBS
    46794641fi
    4680 echo "$as_me:$LINENO: result: $ac_cv_lib_X11_main" >&5
    4681 echo "${ECHO_T}$ac_cv_lib_X11_main" >&6
    4682 if test $ac_cv_lib_X11_main = yes; then
    4683   cat >>confdefs.h <<_ACEOF
    4684 #define HAVE_LIBX11 1
    4685 _ACEOF
    4686 
    4687   LIBS="-lX11 $LIBS"
    4688 
    4689 fi
    4690 
    4691 # FIXME: Replace `main' with a function in `-lXt':
    4692 
    4693 echo "$as_me:$LINENO: checking for main in -lXt" >&5
    4694 echo $ECHO_N "checking for main in -lXt... $ECHO_C" >&6
    4695 if test "${ac_cv_lib_Xt_main+set}" = set; then
    4696   echo $ECHO_N "(cached) $ECHO_C" >&6
    4697 else
    4698   ac_check_lib_save_LIBS=$LIBS
    4699 LIBS="-lXt  $LIBS"
    4700 cat >conftest.$ac_ext <<_ACEOF
    4701 /* confdefs.h.  */
    4702 _ACEOF
    4703 cat confdefs.h >>conftest.$ac_ext
    4704 cat >>conftest.$ac_ext <<_ACEOF
    4705 /* end confdefs.h.  */
    4706 
    4707 
    4708 int
    4709 main ()
    4710 {
    4711 main ();
    4712   ;
    4713   return 0;
    4714 }
    4715 _ACEOF
    4716 rm -f conftest.$ac_objext conftest$ac_exeext
    4717 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    4718   (eval $ac_link) 2>conftest.er1
    4719   ac_status=$?
    4720   grep -v '^ *+' conftest.er1 >conftest.err
    4721   rm -f conftest.er1
    4722   cat conftest.err >&5
    4723   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4724   (exit $ac_status); } &&
    4725          { ac_try='test -z "$ac_c_werror_flag"
    4726                          || test ! -s conftest.err'
    4727   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4728   (eval $ac_try) 2>&5
    4729   ac_status=$?
    4730   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4731   (exit $ac_status); }; } &&
    4732          { ac_try='test -s conftest$ac_exeext'
    4733   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4734   (eval $ac_try) 2>&5
    4735   ac_status=$?
    4736   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4737   (exit $ac_status); }; }; then
    4738   ac_cv_lib_Xt_main=yes
    4739 else
    4740   echo "$as_me: failed program was:" >&5
    4741 sed 's/^/| /' conftest.$ac_ext >&5
    4742 
    4743 ac_cv_lib_Xt_main=no
    4744 fi
    4745 rm -f conftest.err conftest.$ac_objext \
    4746       conftest$ac_exeext conftest.$ac_ext
    4747 LIBS=$ac_check_lib_save_LIBS
    4748 fi
    4749 echo "$as_me:$LINENO: result: $ac_cv_lib_Xt_main" >&5
    4750 echo "${ECHO_T}$ac_cv_lib_Xt_main" >&6
    4751 if test $ac_cv_lib_Xt_main = yes; then
    4752   cat >>confdefs.h <<_ACEOF
    4753 #define HAVE_LIBXT 1
    4754 _ACEOF
    4755 
    4756   LIBS="-lXt $LIBS"
    4757 
    4758 fi
    4759 
    4760 
    4761 ## mingw CHECK
    4762 if test $mingw = yes ; then
    4763         echo "$as_me:$LINENO: checking for main in -lmingw32" >&5
    4764 echo $ECHO_N "checking for main in -lmingw32... $ECHO_C" >&6
    4765 if test "${ac_cv_lib_mingw32_main+set}" = set; then
    4766   echo $ECHO_N "(cached) $ECHO_C" >&6
    4767 else
    4768   ac_check_lib_save_LIBS=$LIBS
    4769 LIBS="-lmingw32  $LIBS"
    4770 cat >conftest.$ac_ext <<_ACEOF
    4771 /* confdefs.h.  */
    4772 _ACEOF
    4773 cat confdefs.h >>conftest.$ac_ext
    4774 cat >>conftest.$ac_ext <<_ACEOF
    4775 /* end confdefs.h.  */
    4776 
    4777 
    4778 int
    4779 main ()
    4780 {
    4781 main ();
    4782   ;
    4783   return 0;
    4784 }
    4785 _ACEOF
    4786 rm -f conftest.$ac_objext conftest$ac_exeext
    4787 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    4788   (eval $ac_link) 2>conftest.er1
    4789   ac_status=$?
    4790   grep -v '^ *+' conftest.er1 >conftest.err
    4791   rm -f conftest.er1
    4792   cat conftest.err >&5
    4793   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4794   (exit $ac_status); } &&
    4795          { ac_try='test -z "$ac_c_werror_flag"
    4796                          || test ! -s conftest.err'
    4797   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4798   (eval $ac_try) 2>&5
    4799   ac_status=$?
    4800   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4801   (exit $ac_status); }; } &&
    4802          { ac_try='test -s conftest$ac_exeext'
    4803   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4804   (eval $ac_try) 2>&5
    4805   ac_status=$?
    4806   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4807   (exit $ac_status); }; }; then
    4808   ac_cv_lib_mingw32_main=yes
    4809 else
    4810   echo "$as_me: failed program was:" >&5
    4811 sed 's/^/| /' conftest.$ac_ext >&5
    4812 
    4813 ac_cv_lib_mingw32_main=no
    4814 fi
    4815 rm -f conftest.err conftest.$ac_objext \
    4816       conftest$ac_exeext conftest.$ac_ext
    4817 LIBS=$ac_check_lib_save_LIBS
    4818 fi
    4819 echo "$as_me:$LINENO: result: $ac_cv_lib_mingw32_main" >&5
    4820 echo "${ECHO_T}$ac_cv_lib_mingw32_main" >&6
    4821 if test $ac_cv_lib_mingw32_main = yes; then
    4822   FOUND_mingw32=yes
    4823 fi
    4824 
    4825         if test $FOUND_mingw32 = "yes"; then
    4826                 LIBS="$LIBS -lmingw32"
    4827         fi
    4828 fi
    4829 
    4830 ## SDL CHECK
    4831 
    4832 #checking for SDL libs
    4833 
    4834 for ac_header in SDL/SDL.h
     4642echo "$as_me:$LINENO: result: $ac_cv_lib_sdl_main" >&5
     4643echo "${ECHO_T}$ac_cv_lib_sdl_main" >&6
     4644if test $ac_cv_lib_sdl_main = yes; then
     4645  FOUND_sdl=yes
     4646fi
     4647
     4648    if test "$FOUND_sdl" = "yes" ; then
     4649        LIBS="$LIBS -lsdl"
     4650    else
     4651         echo "------------------"
     4652         echo "SDL library not found."
     4653         echo "please install the SDL library, which can be found at http://www.libsdl.org"
     4654         echo "------------------"
     4655         exit -1
     4656    fi
     4657
     4658# checking for SDL-Mixer-headers
     4659
     4660for ac_header in SDL/SDL_mixer.h
    48354661do
    48364662as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
     
    49854811done
    49864812
    4987 if test $mingw = no ; then
    4988         echo "$as_me:$LINENO: checking for main in -lSDL" >&5
    4989 echo $ECHO_N "checking for main in -lSDL... $ECHO_C" >&6
    4990 if test "${ac_cv_lib_SDL_main+set}" = set; then
     4813
     4814#checking for libSDL_mixer
     4815    echo "$as_me:$LINENO: checking for main in -lSDL_mixer" >&5
     4816echo $ECHO_N "checking for main in -lSDL_mixer... $ECHO_C" >&6
     4817if test "${ac_cv_lib_SDL_mixer_main+set}" = set; then
    49914818  echo $ECHO_N "(cached) $ECHO_C" >&6
    49924819else
    49934820  ac_check_lib_save_LIBS=$LIBS
    4994 LIBS="-lSDL  $LIBS"
     4821LIBS="-lSDL_mixer  $LIBS"
    49954822cat >conftest.$ac_ext <<_ACEOF
    49964823/* confdefs.h.  */
     
    50314858  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    50324859  (exit $ac_status); }; }; then
    5033   ac_cv_lib_SDL_main=yes
     4860  ac_cv_lib_SDL_mixer_main=yes
    50344861else
    50354862  echo "$as_me: failed program was:" >&5
    50364863sed 's/^/| /' conftest.$ac_ext >&5
    50374864
    5038 ac_cv_lib_SDL_main=no
     4865ac_cv_lib_SDL_mixer_main=no
    50394866fi
    50404867rm -f conftest.err conftest.$ac_objext \
     
    50424869LIBS=$ac_check_lib_save_LIBS
    50434870fi
    5044 echo "$as_me:$LINENO: result: $ac_cv_lib_SDL_main" >&5
    5045 echo "${ECHO_T}$ac_cv_lib_SDL_main" >&6
    5046 if test $ac_cv_lib_SDL_main = yes; then
    5047   FOUND_SDL=yes
    5048 fi
    5049 
    5050         if test "$FOUND_SDL" = "yes" ; then
    5051                 LIBS="$LIBS -lSDL"
    5052         fi
    5053 #   checking for Windows sdl library
    5054 else
    5055     echo "$as_me:$LINENO: checking for main in -lsdlmain" >&5
    5056 echo $ECHO_N "checking for main in -lsdlmain... $ECHO_C" >&6
    5057 if test "${ac_cv_lib_sdlmain_main+set}" = set; then
    5058   echo $ECHO_N "(cached) $ECHO_C" >&6
    5059 else
    5060   ac_check_lib_save_LIBS=$LIBS
    5061 LIBS="-lsdlmain  $LIBS"
    5062 cat >conftest.$ac_ext <<_ACEOF
    5063 /* confdefs.h.  */
    5064 _ACEOF
    5065 cat confdefs.h >>conftest.$ac_ext
    5066 cat >>conftest.$ac_ext <<_ACEOF
    5067 /* end confdefs.h.  */
    5068 
    5069 
    5070 int
    5071 main ()
    5072 {
    5073 main ();
    5074   ;
    5075   return 0;
    5076 }
    5077 _ACEOF
    5078 rm -f conftest.$ac_objext conftest$ac_exeext
    5079 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    5080   (eval $ac_link) 2>conftest.er1
    5081   ac_status=$?
    5082   grep -v '^ *+' conftest.er1 >conftest.err
    5083   rm -f conftest.er1
    5084   cat conftest.err >&5
    5085   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5086   (exit $ac_status); } &&
    5087          { ac_try='test -z "$ac_c_werror_flag"
    5088                          || test ! -s conftest.err'
    5089   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5090   (eval $ac_try) 2>&5
    5091   ac_status=$?
    5092   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5093   (exit $ac_status); }; } &&
    5094          { ac_try='test -s conftest$ac_exeext'
    5095   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5096   (eval $ac_try) 2>&5
    5097   ac_status=$?
    5098   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5099   (exit $ac_status); }; }; then
    5100   ac_cv_lib_sdlmain_main=yes
    5101 else
    5102   echo "$as_me: failed program was:" >&5
    5103 sed 's/^/| /' conftest.$ac_ext >&5
    5104 
    5105 ac_cv_lib_sdlmain_main=no
    5106 fi
    5107 rm -f conftest.err conftest.$ac_objext \
    5108       conftest$ac_exeext conftest.$ac_ext
    5109 LIBS=$ac_check_lib_save_LIBS
    5110 fi
    5111 echo "$as_me:$LINENO: result: $ac_cv_lib_sdlmain_main" >&5
    5112 echo "${ECHO_T}$ac_cv_lib_sdlmain_main" >&6
    5113 if test $ac_cv_lib_sdlmain_main = yes; then
    5114   FOUND_sdlmain=yes
    5115 fi
    5116 
    5117     if test "$FOUND_sdlmain" = "yes" ; then
    5118         LIBS="$LIBS -lsdlmain"
     4871echo "$as_me:$LINENO: result: $ac_cv_lib_SDL_mixer_main" >&5
     4872echo "${ECHO_T}$ac_cv_lib_SDL_mixer_main" >&6
     4873if test $ac_cv_lib_SDL_mixer_main = yes; then
     4874  FOUND_SDL_mixer=yes
     4875fi
     4876
     4877    if test "$FOUND_SDL_mixer" = "yes" ; then
     4878        LIBS="$LIBS -lSDL_mixer"
     4879    else
     4880         echo "------------------"
     4881         echo "SDL Mixer library not found."
     4882         echo "please install the SDL Mixer library, which can be found at http://www.libsdl.org"
     4883         echo "------------------"
     4884         exit 1
    51194885    fi
    5120         echo "$as_me:$LINENO: checking for main in -lsdl" >&5
    5121 echo $ECHO_N "checking for main in -lsdl... $ECHO_C" >&6
    5122 if test "${ac_cv_lib_sdl_main+set}" = set; then
    5123   echo $ECHO_N "(cached) $ECHO_C" >&6
    5124 else
    5125   ac_check_lib_save_LIBS=$LIBS
    5126 LIBS="-lsdl  $LIBS"
    5127 cat >conftest.$ac_ext <<_ACEOF
    5128 /* confdefs.h.  */
    5129 _ACEOF
    5130 cat confdefs.h >>conftest.$ac_ext
    5131 cat >>conftest.$ac_ext <<_ACEOF
    5132 /* end confdefs.h.  */
    5133 
    5134 
    5135 int
    5136 main ()
    5137 {
    5138 main ();
    5139   ;
    5140   return 0;
    5141 }
    5142 _ACEOF
    5143 rm -f conftest.$ac_objext conftest$ac_exeext
    5144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    5145   (eval $ac_link) 2>conftest.er1
    5146   ac_status=$?
    5147   grep -v '^ *+' conftest.er1 >conftest.err
    5148   rm -f conftest.er1
    5149   cat conftest.err >&5
    5150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5151   (exit $ac_status); } &&
    5152          { ac_try='test -z "$ac_c_werror_flag"
    5153                          || test ! -s conftest.err'
    5154   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5155   (eval $ac_try) 2>&5
    5156   ac_status=$?
    5157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5158   (exit $ac_status); }; } &&
    5159          { ac_try='test -s conftest$ac_exeext'
    5160   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5161   (eval $ac_try) 2>&5
    5162   ac_status=$?
    5163   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5164   (exit $ac_status); }; }; then
    5165   ac_cv_lib_sdl_main=yes
    5166 else
    5167   echo "$as_me: failed program was:" >&5
    5168 sed 's/^/| /' conftest.$ac_ext >&5
    5169 
    5170 ac_cv_lib_sdl_main=no
    5171 fi
    5172 rm -f conftest.err conftest.$ac_objext \
    5173       conftest$ac_exeext conftest.$ac_ext
    5174 LIBS=$ac_check_lib_save_LIBS
    5175 fi
    5176 echo "$as_me:$LINENO: result: $ac_cv_lib_sdl_main" >&5
    5177 echo "${ECHO_T}$ac_cv_lib_sdl_main" >&6
    5178 if test $ac_cv_lib_sdl_main = yes; then
    5179   FOUND_sdl=yes
    5180 fi
    5181 
    5182         if test "$FOUND_sdl" = "yes" ; then
    5183                 LIBS="$LIBS -lsdl"
    5184         fi
    5185 fi
    5186 
    5187 #checking for pthread libs
    5188 echo "$as_me:$LINENO: checking for main in -lpthread" >&5
    5189 echo $ECHO_N "checking for main in -lpthread... $ECHO_C" >&6
    5190 if test "${ac_cv_lib_pthread_main+set}" = set; then
    5191   echo $ECHO_N "(cached) $ECHO_C" >&6
    5192 else
    5193   ac_check_lib_save_LIBS=$LIBS
    5194 LIBS="-lpthread  $LIBS"
    5195 cat >conftest.$ac_ext <<_ACEOF
    5196 /* confdefs.h.  */
    5197 _ACEOF
    5198 cat confdefs.h >>conftest.$ac_ext
    5199 cat >>conftest.$ac_ext <<_ACEOF
    5200 /* end confdefs.h.  */
    5201 
    5202 
    5203 int
    5204 main ()
    5205 {
    5206 main ();
    5207   ;
    5208   return 0;
    5209 }
    5210 _ACEOF
    5211 rm -f conftest.$ac_objext conftest$ac_exeext
    5212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    5213   (eval $ac_link) 2>conftest.er1
    5214   ac_status=$?
    5215   grep -v '^ *+' conftest.er1 >conftest.err
    5216   rm -f conftest.er1
    5217   cat conftest.err >&5
    5218   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5219   (exit $ac_status); } &&
    5220          { ac_try='test -z "$ac_c_werror_flag"
    5221                          || test ! -s conftest.err'
    5222   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5223   (eval $ac_try) 2>&5
    5224   ac_status=$?
    5225   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5226   (exit $ac_status); }; } &&
    5227          { ac_try='test -s conftest$ac_exeext'
    5228   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5229   (eval $ac_try) 2>&5
    5230   ac_status=$?
    5231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5232   (exit $ac_status); }; }; then
    5233   ac_cv_lib_pthread_main=yes
    5234 else
    5235   echo "$as_me: failed program was:" >&5
    5236 sed 's/^/| /' conftest.$ac_ext >&5
    5237 
    5238 ac_cv_lib_pthread_main=no
    5239 fi
    5240 rm -f conftest.err conftest.$ac_objext \
    5241       conftest$ac_exeext conftest.$ac_ext
    5242 LIBS=$ac_check_lib_save_LIBS
    5243 fi
    5244 echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_main" >&5
    5245 echo "${ECHO_T}$ac_cv_lib_pthread_main" >&6
    5246 if test $ac_cv_lib_pthread_main = yes; then
    5247   FOUND_pthread=yes
    5248 fi
    5249 
    5250 if test "$FOUND_pthread" = "yes" ; then
    5251     LIBS="$LIBS -lpthread"
    5252 fi
    5253 
    5254 
    5255 
    5256 
    5257 # FIXME: Replace `main' with a function in `-lm':
    5258 
    5259 echo "$as_me:$LINENO: checking for main in -lm" >&5
    5260 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
    5261 if test "${ac_cv_lib_m_main+set}" = set; then
    5262   echo $ECHO_N "(cached) $ECHO_C" >&6
    5263 else
    5264   ac_check_lib_save_LIBS=$LIBS
    5265 LIBS="-lm  $LIBS"
    5266 cat >conftest.$ac_ext <<_ACEOF
    5267 /* confdefs.h.  */
    5268 _ACEOF
    5269 cat confdefs.h >>conftest.$ac_ext
    5270 cat >>conftest.$ac_ext <<_ACEOF
    5271 /* end confdefs.h.  */
    5272 
    5273 
    5274 int
    5275 main ()
    5276 {
    5277 main ();
    5278   ;
    5279   return 0;
    5280 }
    5281 _ACEOF
    5282 rm -f conftest.$ac_objext conftest$ac_exeext
    5283 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    5284   (eval $ac_link) 2>conftest.er1
    5285   ac_status=$?
    5286   grep -v '^ *+' conftest.er1 >conftest.err
    5287   rm -f conftest.er1
    5288   cat conftest.err >&5
    5289   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5290   (exit $ac_status); } &&
    5291          { ac_try='test -z "$ac_c_werror_flag"
    5292                          || test ! -s conftest.err'
    5293   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5294   (eval $ac_try) 2>&5
    5295   ac_status=$?
    5296   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5297   (exit $ac_status); }; } &&
    5298          { ac_try='test -s conftest$ac_exeext'
    5299   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5300   (eval $ac_try) 2>&5
    5301   ac_status=$?
    5302   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5303   (exit $ac_status); }; }; then
    5304   ac_cv_lib_m_main=yes
    5305 else
    5306   echo "$as_me: failed program was:" >&5
    5307 sed 's/^/| /' conftest.$ac_ext >&5
    5308 
    5309 ac_cv_lib_m_main=no
    5310 fi
    5311 rm -f conftest.err conftest.$ac_objext \
    5312       conftest$ac_exeext conftest.$ac_ext
    5313 LIBS=$ac_check_lib_save_LIBS
    5314 fi
    5315 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
    5316 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
    5317 if test $ac_cv_lib_m_main = yes; then
    5318   cat >>confdefs.h <<_ACEOF
    5319 #define HAVE_LIBM 1
    5320 _ACEOF
    5321 
    5322   LIBS="-lm $LIBS"
    5323 
    5324 fi
    5325 
    5326 
    5327 LIBS="$LIBS `pkg-config --libs  gtk+-2.0`"
    5328 
    5329 
    5330 # Checks for header files.
    5331 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
    5332 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
    5333 if test "${ac_cv_header_stdc+set}" = set; then
    5334   echo $ECHO_N "(cached) $ECHO_C" >&6
    5335 else
    5336   cat >conftest.$ac_ext <<_ACEOF
    5337 /* confdefs.h.  */
    5338 _ACEOF
    5339 cat confdefs.h >>conftest.$ac_ext
    5340 cat >>conftest.$ac_ext <<_ACEOF
    5341 /* end confdefs.h.  */
    5342 #include <stdlib.h>
    5343 #include <stdarg.h>
    5344 #include <string.h>
    5345 #include <float.h>
    5346 
    5347 int
    5348 main ()
    5349 {
    5350 
    5351   ;
    5352   return 0;
    5353 }
    5354 _ACEOF
    5355 rm -f conftest.$ac_objext
    5356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    5357   (eval $ac_compile) 2>conftest.er1
    5358   ac_status=$?
    5359   grep -v '^ *+' conftest.er1 >conftest.err
    5360   rm -f conftest.er1
    5361   cat conftest.err >&5
    5362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5363   (exit $ac_status); } &&
    5364          { ac_try='test -z "$ac_c_werror_flag"
    5365                          || test ! -s conftest.err'
    5366   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5367   (eval $ac_try) 2>&5
    5368   ac_status=$?
    5369   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5370   (exit $ac_status); }; } &&
    5371          { ac_try='test -s conftest.$ac_objext'
    5372   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5373   (eval $ac_try) 2>&5
    5374   ac_status=$?
    5375   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5376   (exit $ac_status); }; }; then
    5377   ac_cv_header_stdc=yes
    5378 else
    5379   echo "$as_me: failed program was:" >&5
    5380 sed 's/^/| /' conftest.$ac_ext >&5
    5381 
    5382 ac_cv_header_stdc=no
    5383 fi
    5384 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    5385 
    5386 if test $ac_cv_header_stdc = yes; then
    5387   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    5388   cat >conftest.$ac_ext <<_ACEOF
    5389 /* confdefs.h.  */
    5390 _ACEOF
    5391 cat confdefs.h >>conftest.$ac_ext
    5392 cat >>conftest.$ac_ext <<_ACEOF
    5393 /* end confdefs.h.  */
    5394 #include <string.h>
    5395 
    5396 _ACEOF
    5397 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    5398   $EGREP "memchr" >/dev/null 2>&1; then
    5399   :
    5400 else
    5401   ac_cv_header_stdc=no
    5402 fi
    5403 rm -f conftest*
    5404 
    5405 fi
    5406 
    5407 if test $ac_cv_header_stdc = yes; then
    5408   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    5409   cat >conftest.$ac_ext <<_ACEOF
    5410 /* confdefs.h.  */
    5411 _ACEOF
    5412 cat confdefs.h >>conftest.$ac_ext
    5413 cat >>conftest.$ac_ext <<_ACEOF
    5414 /* end confdefs.h.  */
    5415 #include <stdlib.h>
    5416 
    5417 _ACEOF
    5418 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    5419   $EGREP "free" >/dev/null 2>&1; then
    5420   :
    5421 else
    5422   ac_cv_header_stdc=no
    5423 fi
    5424 rm -f conftest*
    5425 
    5426 fi
    5427 
    5428 if test $ac_cv_header_stdc = yes; then
    5429   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
    5430   if test "$cross_compiling" = yes; then
    5431   :
    5432 else
    5433   cat >conftest.$ac_ext <<_ACEOF
    5434 /* confdefs.h.  */
    5435 _ACEOF
    5436 cat confdefs.h >>conftest.$ac_ext
    5437 cat >>conftest.$ac_ext <<_ACEOF
    5438 /* end confdefs.h.  */
    5439 #include <ctype.h>
    5440 #if ((' ' & 0x0FF) == 0x020)
    5441 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
    5442 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
    5443 #else
    5444 # define ISLOWER(c) \
    5445                    (('a' <= (c) && (c) <= 'i') \
    5446                      || ('j' <= (c) && (c) <= 'r') \
    5447                      || ('s' <= (c) && (c) <= 'z'))
    5448 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
    5449 #endif
    5450 
    5451 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
    5452 int
    5453 main ()
    5454 {
    5455   int i;
    5456   for (i = 0; i < 256; i++)
    5457     if (XOR (islower (i), ISLOWER (i))
    5458         || toupper (i) != TOUPPER (i))
    5459       exit(2);
    5460   exit (0);
    5461 }
    5462 _ACEOF
    5463 rm -f conftest$ac_exeext
    5464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    5465   (eval $ac_link) 2>&5
    5466   ac_status=$?
    5467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5468   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    5469   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5470   (eval $ac_try) 2>&5
    5471   ac_status=$?
    5472   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5473   (exit $ac_status); }; }; then
    5474   :
    5475 else
    5476   echo "$as_me: program exited with status $ac_status" >&5
    5477 echo "$as_me: failed program was:" >&5
    5478 sed 's/^/| /' conftest.$ac_ext >&5
    5479 
    5480 ( exit $ac_status )
    5481 ac_cv_header_stdc=no
    5482 fi
    5483 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    5484 fi
    5485 fi
    5486 fi
    5487 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
    5488 echo "${ECHO_T}$ac_cv_header_stdc" >&6
    5489 if test $ac_cv_header_stdc = yes; then
    5490 
    5491 cat >>confdefs.h <<\_ACEOF
    5492 #define STDC_HEADERS 1
    5493 _ACEOF
    5494 
    5495 fi
    5496 
    5497 
    5498 
    5499 for ac_header in stdlib.h string.h
     4886
     4887
     4888    ;;
     4889
     4890### LINUX ###
     4891 *Linux*)
     4892echo "Linux detected"
     4893
     4894 Linux="yes"
     4895
     4896# checking gl header
     4897
     4898for ac_header in GL/gl.h
    55004899do
    55014900as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
     
    56425041_ACEOF
    56435042
     5043else
     5044  { { echo "$as_me:$LINENO: error: cannot find opengl headers" >&5
     5045echo "$as_me: error: cannot find opengl headers" >&2;}
     5046   { (exit 1); exit 1; }; }
    56445047fi
    56455048
     
    56475050
    56485051
    5649 # Checks for typedefs, structures, and compiler characteristics.
    5650 echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5
    5651 echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&6
    5652 if test "${ac_cv_header_stdbool_h+set}" = set; then
     5052#  checking for Unix GL
     5053   echo "$as_me:$LINENO: checking for main in -lGL" >&5
     5054echo $ECHO_N "checking for main in -lGL... $ECHO_C" >&6
     5055if test "${ac_cv_lib_GL_main+set}" = set; then
    56535056  echo $ECHO_N "(cached) $ECHO_C" >&6
    56545057else
    5655   cat >conftest.$ac_ext <<_ACEOF
     5058  ac_check_lib_save_LIBS=$LIBS
     5059LIBS="-lGL  $LIBS"
     5060cat >conftest.$ac_ext <<_ACEOF
    56565061/* confdefs.h.  */
    56575062_ACEOF
     
    56605065/* end confdefs.h.  */
    56615066
    5662 #include <stdbool.h>
    5663 #ifndef bool
    5664 # error bool is not defined
    5665 #endif
    5666 #ifndef false
    5667 # error false is not defined
    5668 #endif
    5669 #if false
    5670 # error false is not 0
    5671 #endif
    5672 #ifndef true
    5673 # error true is not defined
    5674 #endif
    5675 #if true != 1
    5676 # error true is not 1
    5677 #endif
    5678 #ifndef __bool_true_false_are_defined
    5679 # error __bool_true_false_are_defined is not defined
    5680 #endif
    5681 
    5682         struct s { _Bool s: 1; _Bool t; } s;
    5683 
    5684         char a[true == 1 ? 1 : -1];
    5685         char b[false == 0 ? 1 : -1];
    5686         char c[__bool_true_false_are_defined == 1 ? 1 : -1];
    5687         char d[(bool) -0.5 == true ? 1 : -1];
    5688         bool e = &s;
    5689         char f[(_Bool) -0.0 == false ? 1 : -1];
    5690         char g[true];
    5691         char h[sizeof (_Bool)];
    5692         char i[sizeof s.t];
    56935067
    56945068int
    56955069main ()
    56965070{
    5697  return !a + !b + !c + !d + !e + !f + !g + !h + !i;
     5071main ();
    56985072  ;
    56995073  return 0;
    57005074}
    57015075_ACEOF
    5702 rm -f conftest.$ac_objext
    5703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    5704   (eval $ac_compile) 2>conftest.er1
     5076rm -f conftest.$ac_objext conftest$ac_exeext
     5077if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     5078  (eval $ac_link) 2>conftest.er1
    57055079  ac_status=$?
    57065080  grep -v '^ *+' conftest.er1 >conftest.err
     
    57165090  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    57175091  (exit $ac_status); }; } &&
    5718          { ac_try='test -s conftest.$ac_objext'
     5092         { ac_try='test -s conftest$ac_exeext'
    57195093  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    57205094  (eval $ac_try) 2>&5
     
    57225096  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    57235097  (exit $ac_status); }; }; then
    5724   ac_cv_header_stdbool_h=yes
     5098  ac_cv_lib_GL_main=yes
    57255099else
    57265100  echo "$as_me: failed program was:" >&5
    57275101sed 's/^/| /' conftest.$ac_ext >&5
    57285102
    5729 ac_cv_header_stdbool_h=no
    5730 fi
    5731 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    5732 fi
    5733 echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5
    5734 echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6
    5735 echo "$as_me:$LINENO: checking for _Bool" >&5
    5736 echo $ECHO_N "checking for _Bool... $ECHO_C" >&6
    5737 if test "${ac_cv_type__Bool+set}" = set; then
    5738   echo $ECHO_N "(cached) $ECHO_C" >&6
    5739 else
    5740   cat >conftest.$ac_ext <<_ACEOF
    5741 /* confdefs.h.  */
    5742 _ACEOF
    5743 cat confdefs.h >>conftest.$ac_ext
    5744 cat >>conftest.$ac_ext <<_ACEOF
    5745 /* end confdefs.h.  */
    5746 $ac_includes_default
    5747 int
    5748 main ()
    5749 {
    5750 if ((_Bool *) 0)
    5751   return 0;
    5752 if (sizeof (_Bool))
    5753   return 0;
    5754   ;
    5755   return 0;
    5756 }
    5757 _ACEOF
    5758 rm -f conftest.$ac_objext
    5759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    5760   (eval $ac_compile) 2>conftest.er1
    5761   ac_status=$?
    5762   grep -v '^ *+' conftest.er1 >conftest.err
    5763   rm -f conftest.er1
    5764   cat conftest.err >&5
    5765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5766   (exit $ac_status); } &&
    5767          { ac_try='test -z "$ac_c_werror_flag"
    5768                          || test ! -s conftest.err'
    5769   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5770   (eval $ac_try) 2>&5
    5771   ac_status=$?
    5772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5773   (exit $ac_status); }; } &&
    5774          { ac_try='test -s conftest.$ac_objext'
    5775   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5776   (eval $ac_try) 2>&5
    5777   ac_status=$?
    5778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5779   (exit $ac_status); }; }; then
    5780   ac_cv_type__Bool=yes
    5781 else
    5782   echo "$as_me: failed program was:" >&5
    5783 sed 's/^/| /' conftest.$ac_ext >&5
    5784 
    5785 ac_cv_type__Bool=no
    5786 fi
    5787 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    5788 fi
    5789 echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5
    5790 echo "${ECHO_T}$ac_cv_type__Bool" >&6
    5791 if test $ac_cv_type__Bool = yes; then
    5792 
    5793 cat >>confdefs.h <<_ACEOF
    5794 #define HAVE__BOOL 1
    5795 _ACEOF
    5796 
    5797 
    5798 fi
    5799 
    5800 if test $ac_cv_header_stdbool_h = yes; then
    5801 
    5802 cat >>confdefs.h <<\_ACEOF
    5803 #define HAVE_STDBOOL_H 1
    5804 _ACEOF
    5805 
    5806 fi
    5807 
    5808 
    5809 # Checks for library functions.
    5810 
    5811 for ac_header in stdlib.h
     5103ac_cv_lib_GL_main=no
     5104fi
     5105rm -f conftest.err conftest.$ac_objext \
     5106      conftest$ac_exeext conftest.$ac_ext
     5107LIBS=$ac_check_lib_save_LIBS
     5108fi
     5109echo "$as_me:$LINENO: result: $ac_cv_lib_GL_main" >&5
     5110echo "${ECHO_T}$ac_cv_lib_GL_main" >&6
     5111if test $ac_cv_lib_GL_main = yes; then
     5112  FOUND_GL=yes
     5113fi
     5114
     5115   if test "$FOUND_GL" = "yes" ; then
     5116     LIBS="$LIBS -lGL"
     5117   else
     5118         echo "------------------"
     5119         echo "opengl not found."
     5120         echo "please install the opengl package which can be found at http://www.opengl.org"
     5121         echo "------------------"
     5122         exit -1
     5123   fi
     5124
     5125# cheking for GLU-header
     5126
     5127for ac_header in GL/glu.h
    58125128do
    58135129as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
     
    59545270_ACEOF
    59555271
     5272else
     5273  { { echo "$as_me:$LINENO: error: cannot find opengl headers" >&5
     5274echo "$as_me: error: cannot find opengl headers" >&2;}
     5275   { (exit 1); exit 1; }; }
     5276fi
     5277
     5278done
     5279
     5280
     5281    echo "$as_me:$LINENO: checking for gluProject in -lGLU" >&5
     5282echo $ECHO_N "checking for gluProject in -lGLU... $ECHO_C" >&6
     5283if test "${ac_cv_lib_GLU_gluProject+set}" = set; then
     5284  echo $ECHO_N "(cached) $ECHO_C" >&6
     5285else
     5286  ac_check_lib_save_LIBS=$LIBS
     5287LIBS="-lGLU  $LIBS"
     5288cat >conftest.$ac_ext <<_ACEOF
     5289/* confdefs.h.  */
     5290_ACEOF
     5291cat confdefs.h >>conftest.$ac_ext
     5292cat >>conftest.$ac_ext <<_ACEOF
     5293/* end confdefs.h.  */
     5294
     5295/* Override any gcc2 internal prototype to avoid an error.  */
     5296#ifdef __cplusplus
     5297extern "C"
     5298#endif
     5299/* We use char because int might match the return type of a gcc2
     5300   builtin and then its argument prototype would still apply.  */
     5301char gluProject ();
     5302int
     5303main ()
     5304{
     5305gluProject ();
     5306  ;
     5307  return 0;
     5308}
     5309_ACEOF
     5310rm -f conftest.$ac_objext conftest$ac_exeext
     5311if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     5312  (eval $ac_link) 2>conftest.er1
     5313  ac_status=$?
     5314  grep -v '^ *+' conftest.er1 >conftest.err
     5315  rm -f conftest.er1
     5316  cat conftest.err >&5
     5317  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5318  (exit $ac_status); } &&
     5319         { ac_try='test -z "$ac_c_werror_flag"
     5320                         || test ! -s conftest.err'
     5321  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5322  (eval $ac_try) 2>&5
     5323  ac_status=$?
     5324  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5325  (exit $ac_status); }; } &&
     5326         { ac_try='test -s conftest$ac_exeext'
     5327  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5328  (eval $ac_try) 2>&5
     5329  ac_status=$?
     5330  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5331  (exit $ac_status); }; }; then
     5332  ac_cv_lib_GLU_gluProject=yes
     5333else
     5334  echo "$as_me: failed program was:" >&5
     5335sed 's/^/| /' conftest.$ac_ext >&5
     5336
     5337ac_cv_lib_GLU_gluProject=no
     5338fi
     5339rm -f conftest.err conftest.$ac_objext \
     5340      conftest$ac_exeext conftest.$ac_ext
     5341LIBS=$ac_check_lib_save_LIBS
     5342fi
     5343echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluProject" >&5
     5344echo "${ECHO_T}$ac_cv_lib_GLU_gluProject" >&6
     5345if test $ac_cv_lib_GLU_gluProject = yes; then
     5346  FOUND_GLU=yes
     5347fi
     5348
     5349    if test "$FOUND_GLU" = "yes" ; then
     5350      LIBS="$LIBS -lGLU"
     5351    else
     5352         echo "------------------"
     5353         echo "GLU library not found."
     5354         echo "please install the GLU library, that should come with openGL, which can be found at http://www.opengl.org"
     5355         echo "------------------"
     5356         exit -1
     5357    fi
     5358
     5359# checking for SDL-headers
     5360
     5361for ac_header in SDL/SDL.h
     5362do
     5363as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
     5364if eval "test \"\${$as_ac_Header+set}\" = set"; then
     5365  echo "$as_me:$LINENO: checking for $ac_header" >&5
     5366echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     5367if eval "test \"\${$as_ac_Header+set}\" = set"; then
     5368  echo $ECHO_N "(cached) $ECHO_C" >&6
     5369fi
     5370echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     5371echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     5372else
     5373  # Is the header compilable?
     5374echo "$as_me:$LINENO: checking $ac_header usability" >&5
     5375echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
     5376cat >conftest.$ac_ext <<_ACEOF
     5377/* confdefs.h.  */
     5378_ACEOF
     5379cat confdefs.h >>conftest.$ac_ext
     5380cat >>conftest.$ac_ext <<_ACEOF
     5381/* end confdefs.h.  */
     5382$ac_includes_default
     5383#include <$ac_header>
     5384_ACEOF
     5385rm -f conftest.$ac_objext
     5386if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     5387  (eval $ac_compile) 2>conftest.er1
     5388  ac_status=$?
     5389  grep -v '^ *+' conftest.er1 >conftest.err
     5390  rm -f conftest.er1
     5391  cat conftest.err >&5
     5392  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5393  (exit $ac_status); } &&
     5394         { ac_try='test -z "$ac_c_werror_flag"
     5395                         || test ! -s conftest.err'
     5396  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5397  (eval $ac_try) 2>&5
     5398  ac_status=$?
     5399  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5400  (exit $ac_status); }; } &&
     5401         { ac_try='test -s conftest.$ac_objext'
     5402  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5403  (eval $ac_try) 2>&5
     5404  ac_status=$?
     5405  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5406  (exit $ac_status); }; }; then
     5407  ac_header_compiler=yes
     5408else
     5409  echo "$as_me: failed program was:" >&5
     5410sed 's/^/| /' conftest.$ac_ext >&5
     5411
     5412ac_header_compiler=no
     5413fi
     5414rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     5415echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     5416echo "${ECHO_T}$ac_header_compiler" >&6
     5417
     5418# Is the header present?
     5419echo "$as_me:$LINENO: checking $ac_header presence" >&5
     5420echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
     5421cat >conftest.$ac_ext <<_ACEOF
     5422/* confdefs.h.  */
     5423_ACEOF
     5424cat confdefs.h >>conftest.$ac_ext
     5425cat >>conftest.$ac_ext <<_ACEOF
     5426/* end confdefs.h.  */
     5427#include <$ac_header>
     5428_ACEOF
     5429if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     5430  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     5431  ac_status=$?
     5432  grep -v '^ *+' conftest.er1 >conftest.err
     5433  rm -f conftest.er1
     5434  cat conftest.err >&5
     5435  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5436  (exit $ac_status); } >/dev/null; then
     5437  if test -s conftest.err; then
     5438    ac_cpp_err=$ac_c_preproc_warn_flag
     5439    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
     5440  else
     5441    ac_cpp_err=
     5442  fi
     5443else
     5444  ac_cpp_err=yes
     5445fi
     5446if test -z "$ac_cpp_err"; then
     5447  ac_header_preproc=yes
     5448else
     5449  echo "$as_me: failed program was:" >&5
     5450sed 's/^/| /' conftest.$ac_ext >&5
     5451
     5452  ac_header_preproc=no
     5453fi
     5454rm -f conftest.err conftest.$ac_ext
     5455echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     5456echo "${ECHO_T}$ac_header_preproc" >&6
     5457
     5458# So?  What about this header?
     5459case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
     5460  yes:no: )
     5461    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
     5462echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     5463    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
     5464echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
     5465    ac_header_preproc=yes
     5466    ;;
     5467  no:yes:* )
     5468    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     5469echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     5470    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
     5471echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
     5472    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
     5473echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
     5474    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
     5475echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
     5476    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     5477echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     5478    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
     5479echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
     5480    (
     5481      cat <<\_ASBOX
     5482## ------------------------------------------- ##
     5483## Report this to orxonox-dev@mail.datacore.ch ##
     5484## ------------------------------------------- ##
     5485_ASBOX
     5486    ) |
     5487      sed "s/^/$as_me: WARNING:     /" >&2
     5488    ;;
     5489esac
     5490echo "$as_me:$LINENO: checking for $ac_header" >&5
     5491echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     5492if eval "test \"\${$as_ac_Header+set}\" = set"; then
     5493  echo $ECHO_N "(cached) $ECHO_C" >&6
     5494else
     5495  eval "$as_ac_Header=\$ac_header_preproc"
     5496fi
     5497echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     5498echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     5499
     5500fi
     5501if test `eval echo '${'$as_ac_Header'}'` = yes; then
     5502  cat >>confdefs.h <<_ACEOF
     5503#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
     5504_ACEOF
     5505
     5506else
     5507  { { echo "$as_me:$LINENO: error: cannot find SDL headers" >&5
     5508echo "$as_me: error: cannot find SDL headers" >&2;}
     5509   { (exit 1); exit 1; }; }
     5510fi
     5511
     5512done
     5513
     5514
     5515    echo "$as_me:$LINENO: checking for main in -lSDL" >&5
     5516echo $ECHO_N "checking for main in -lSDL... $ECHO_C" >&6
     5517if test "${ac_cv_lib_SDL_main+set}" = set; then
     5518  echo $ECHO_N "(cached) $ECHO_C" >&6
     5519else
     5520  ac_check_lib_save_LIBS=$LIBS
     5521LIBS="-lSDL  $LIBS"
     5522cat >conftest.$ac_ext <<_ACEOF
     5523/* confdefs.h.  */
     5524_ACEOF
     5525cat confdefs.h >>conftest.$ac_ext
     5526cat >>conftest.$ac_ext <<_ACEOF
     5527/* end confdefs.h.  */
     5528
     5529
     5530int
     5531main ()
     5532{
     5533main ();
     5534  ;
     5535  return 0;
     5536}
     5537_ACEOF
     5538rm -f conftest.$ac_objext conftest$ac_exeext
     5539if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     5540  (eval $ac_link) 2>conftest.er1
     5541  ac_status=$?
     5542  grep -v '^ *+' conftest.er1 >conftest.err
     5543  rm -f conftest.er1
     5544  cat conftest.err >&5
     5545  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5546  (exit $ac_status); } &&
     5547         { ac_try='test -z "$ac_c_werror_flag"
     5548                         || test ! -s conftest.err'
     5549  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5550  (eval $ac_try) 2>&5
     5551  ac_status=$?
     5552  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5553  (exit $ac_status); }; } &&
     5554         { ac_try='test -s conftest$ac_exeext'
     5555  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5556  (eval $ac_try) 2>&5
     5557  ac_status=$?
     5558  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5559  (exit $ac_status); }; }; then
     5560  ac_cv_lib_SDL_main=yes
     5561else
     5562  echo "$as_me: failed program was:" >&5
     5563sed 's/^/| /' conftest.$ac_ext >&5
     5564
     5565ac_cv_lib_SDL_main=no
     5566fi
     5567rm -f conftest.err conftest.$ac_objext \
     5568      conftest$ac_exeext conftest.$ac_ext
     5569LIBS=$ac_check_lib_save_LIBS
     5570fi
     5571echo "$as_me:$LINENO: result: $ac_cv_lib_SDL_main" >&5
     5572echo "${ECHO_T}$ac_cv_lib_SDL_main" >&6
     5573if test $ac_cv_lib_SDL_main = yes; then
     5574  FOUND_SDL=yes
     5575fi
     5576
     5577     if test "$FOUND_SDL" = "yes" ; then
     5578        LIBS="$LIBS -lSDL"
     5579     else
     5580         echo "------------------"
     5581         echo "SDL library not found."
     5582         echo "please install the SDL library, which can be found at http://www.libsdl.org"
     5583         echo "------------------"
     5584         exit -1
     5585     fi
     5586
     5587# checking for SDL-Mixer-headers
     5588
     5589for ac_header in SDL/SDL_mixer.h
     5590do
     5591as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
     5592if eval "test \"\${$as_ac_Header+set}\" = set"; then
     5593  echo "$as_me:$LINENO: checking for $ac_header" >&5
     5594echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     5595if eval "test \"\${$as_ac_Header+set}\" = set"; then
     5596  echo $ECHO_N "(cached) $ECHO_C" >&6
     5597fi
     5598echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     5599echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     5600else
     5601  # Is the header compilable?
     5602echo "$as_me:$LINENO: checking $ac_header usability" >&5
     5603echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
     5604cat >conftest.$ac_ext <<_ACEOF
     5605/* confdefs.h.  */
     5606_ACEOF
     5607cat confdefs.h >>conftest.$ac_ext
     5608cat >>conftest.$ac_ext <<_ACEOF
     5609/* end confdefs.h.  */
     5610$ac_includes_default
     5611#include <$ac_header>
     5612_ACEOF
     5613rm -f conftest.$ac_objext
     5614if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     5615  (eval $ac_compile) 2>conftest.er1
     5616  ac_status=$?
     5617  grep -v '^ *+' conftest.er1 >conftest.err
     5618  rm -f conftest.er1
     5619  cat conftest.err >&5
     5620  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5621  (exit $ac_status); } &&
     5622         { ac_try='test -z "$ac_c_werror_flag"
     5623                         || test ! -s conftest.err'
     5624  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5625  (eval $ac_try) 2>&5
     5626  ac_status=$?
     5627  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5628  (exit $ac_status); }; } &&
     5629         { ac_try='test -s conftest.$ac_objext'
     5630  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5631  (eval $ac_try) 2>&5
     5632  ac_status=$?
     5633  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5634  (exit $ac_status); }; }; then
     5635  ac_header_compiler=yes
     5636else
     5637  echo "$as_me: failed program was:" >&5
     5638sed 's/^/| /' conftest.$ac_ext >&5
     5639
     5640ac_header_compiler=no
     5641fi
     5642rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     5643echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     5644echo "${ECHO_T}$ac_header_compiler" >&6
     5645
     5646# Is the header present?
     5647echo "$as_me:$LINENO: checking $ac_header presence" >&5
     5648echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
     5649cat >conftest.$ac_ext <<_ACEOF
     5650/* confdefs.h.  */
     5651_ACEOF
     5652cat confdefs.h >>conftest.$ac_ext
     5653cat >>conftest.$ac_ext <<_ACEOF
     5654/* end confdefs.h.  */
     5655#include <$ac_header>
     5656_ACEOF
     5657if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     5658  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     5659  ac_status=$?
     5660  grep -v '^ *+' conftest.er1 >conftest.err
     5661  rm -f conftest.er1
     5662  cat conftest.err >&5
     5663  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5664  (exit $ac_status); } >/dev/null; then
     5665  if test -s conftest.err; then
     5666    ac_cpp_err=$ac_c_preproc_warn_flag
     5667    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
     5668  else
     5669    ac_cpp_err=
     5670  fi
     5671else
     5672  ac_cpp_err=yes
     5673fi
     5674if test -z "$ac_cpp_err"; then
     5675  ac_header_preproc=yes
     5676else
     5677  echo "$as_me: failed program was:" >&5
     5678sed 's/^/| /' conftest.$ac_ext >&5
     5679
     5680  ac_header_preproc=no
     5681fi
     5682rm -f conftest.err conftest.$ac_ext
     5683echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     5684echo "${ECHO_T}$ac_header_preproc" >&6
     5685
     5686# So?  What about this header?
     5687case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
     5688  yes:no: )
     5689    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
     5690echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     5691    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
     5692echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
     5693    ac_header_preproc=yes
     5694    ;;
     5695  no:yes:* )
     5696    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     5697echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     5698    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
     5699echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
     5700    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
     5701echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
     5702    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
     5703echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
     5704    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     5705echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     5706    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
     5707echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
     5708    (
     5709      cat <<\_ASBOX
     5710## ------------------------------------------- ##
     5711## Report this to orxonox-dev@mail.datacore.ch ##
     5712## ------------------------------------------- ##
     5713_ASBOX
     5714    ) |
     5715      sed "s/^/$as_me: WARNING:     /" >&2
     5716    ;;
     5717esac
     5718echo "$as_me:$LINENO: checking for $ac_header" >&5
     5719echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     5720if eval "test \"\${$as_ac_Header+set}\" = set"; then
     5721  echo $ECHO_N "(cached) $ECHO_C" >&6
     5722else
     5723  eval "$as_ac_Header=\$ac_header_preproc"
     5724fi
     5725echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     5726echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     5727
     5728fi
     5729if test `eval echo '${'$as_ac_Header'}'` = yes; then
     5730  cat >>confdefs.h <<_ACEOF
     5731#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
     5732_ACEOF
     5733
     5734else
     5735  { { echo "$as_me:$LINENO: error: cannot find SDL headers" >&5
     5736echo "$as_me: error: cannot find SDL headers" >&2;}
     5737   { (exit 1); exit 1; }; }
     5738fi
     5739
     5740done
     5741
     5742
     5743
     5744#checking for libSDL_mixer
     5745    echo "$as_me:$LINENO: checking for main in -lSDL_mixer" >&5
     5746echo $ECHO_N "checking for main in -lSDL_mixer... $ECHO_C" >&6
     5747if test "${ac_cv_lib_SDL_mixer_main+set}" = set; then
     5748  echo $ECHO_N "(cached) $ECHO_C" >&6
     5749else
     5750  ac_check_lib_save_LIBS=$LIBS
     5751LIBS="-lSDL_mixer  $LIBS"
     5752cat >conftest.$ac_ext <<_ACEOF
     5753/* confdefs.h.  */
     5754_ACEOF
     5755cat confdefs.h >>conftest.$ac_ext
     5756cat >>conftest.$ac_ext <<_ACEOF
     5757/* end confdefs.h.  */
     5758
     5759
     5760int
     5761main ()
     5762{
     5763main ();
     5764  ;
     5765  return 0;
     5766}
     5767_ACEOF
     5768rm -f conftest.$ac_objext conftest$ac_exeext
     5769if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     5770  (eval $ac_link) 2>conftest.er1
     5771  ac_status=$?
     5772  grep -v '^ *+' conftest.er1 >conftest.err
     5773  rm -f conftest.er1
     5774  cat conftest.err >&5
     5775  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5776  (exit $ac_status); } &&
     5777         { ac_try='test -z "$ac_c_werror_flag"
     5778                         || test ! -s conftest.err'
     5779  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5780  (eval $ac_try) 2>&5
     5781  ac_status=$?
     5782  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5783  (exit $ac_status); }; } &&
     5784         { ac_try='test -s conftest$ac_exeext'
     5785  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5786  (eval $ac_try) 2>&5
     5787  ac_status=$?
     5788  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5789  (exit $ac_status); }; }; then
     5790  ac_cv_lib_SDL_mixer_main=yes
     5791else
     5792  echo "$as_me: failed program was:" >&5
     5793sed 's/^/| /' conftest.$ac_ext >&5
     5794
     5795ac_cv_lib_SDL_mixer_main=no
     5796fi
     5797rm -f conftest.err conftest.$ac_objext \
     5798      conftest$ac_exeext conftest.$ac_ext
     5799LIBS=$ac_check_lib_save_LIBS
     5800fi
     5801echo "$as_me:$LINENO: result: $ac_cv_lib_SDL_mixer_main" >&5
     5802echo "${ECHO_T}$ac_cv_lib_SDL_mixer_main" >&6
     5803if test $ac_cv_lib_SDL_mixer_main = yes; then
     5804  FOUND_SDL_mixer=yes
     5805fi
     5806
     5807    if test "$FOUND_SDL_mixer" = "yes" ; then
     5808        LIBS="$LIBS -lSDL_mixer"
     5809    else
     5810         echo "------------------"
     5811         echo "SDL Mixer library not found."
     5812         echo "please install the SDL Mixer library, which can be found at http://www.libsdl.org"
     5813         echo "------------------"
     5814         exit 1
     5815    fi
     5816
     5817    ;;
     5818  *)
     5819    mingw="no"
     5820    ;;
     5821esac
     5822echo "$as_me:$LINENO: result: $mingw" >&5
     5823echo "${ECHO_T}$mingw" >&6
     5824
     5825
     5826#### Checking for LIBraries.
     5827
     5828# FIXME: Replace `main' with a function in `-lOSMesa':
     5829
     5830echo "$as_me:$LINENO: checking for main in -lOSMesa" >&5
     5831echo $ECHO_N "checking for main in -lOSMesa... $ECHO_C" >&6
     5832if test "${ac_cv_lib_OSMesa_main+set}" = set; then
     5833  echo $ECHO_N "(cached) $ECHO_C" >&6
     5834else
     5835  ac_check_lib_save_LIBS=$LIBS
     5836LIBS="-lOSMesa  $LIBS"
     5837cat >conftest.$ac_ext <<_ACEOF
     5838/* confdefs.h.  */
     5839_ACEOF
     5840cat confdefs.h >>conftest.$ac_ext
     5841cat >>conftest.$ac_ext <<_ACEOF
     5842/* end confdefs.h.  */
     5843
     5844
     5845int
     5846main ()
     5847{
     5848main ();
     5849  ;
     5850  return 0;
     5851}
     5852_ACEOF
     5853rm -f conftest.$ac_objext conftest$ac_exeext
     5854if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     5855  (eval $ac_link) 2>conftest.er1
     5856  ac_status=$?
     5857  grep -v '^ *+' conftest.er1 >conftest.err
     5858  rm -f conftest.er1
     5859  cat conftest.err >&5
     5860  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5861  (exit $ac_status); } &&
     5862         { ac_try='test -z "$ac_c_werror_flag"
     5863                         || test ! -s conftest.err'
     5864  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5865  (eval $ac_try) 2>&5
     5866  ac_status=$?
     5867  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5868  (exit $ac_status); }; } &&
     5869         { ac_try='test -s conftest$ac_exeext'
     5870  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5871  (eval $ac_try) 2>&5
     5872  ac_status=$?
     5873  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5874  (exit $ac_status); }; }; then
     5875  ac_cv_lib_OSMesa_main=yes
     5876else
     5877  echo "$as_me: failed program was:" >&5
     5878sed 's/^/| /' conftest.$ac_ext >&5
     5879
     5880ac_cv_lib_OSMesa_main=no
     5881fi
     5882rm -f conftest.err conftest.$ac_objext \
     5883      conftest$ac_exeext conftest.$ac_ext
     5884LIBS=$ac_check_lib_save_LIBS
     5885fi
     5886echo "$as_me:$LINENO: result: $ac_cv_lib_OSMesa_main" >&5
     5887echo "${ECHO_T}$ac_cv_lib_OSMesa_main" >&6
     5888if test $ac_cv_lib_OSMesa_main = yes; then
     5889  cat >>confdefs.h <<_ACEOF
     5890#define HAVE_LIBOSMESA 1
     5891_ACEOF
     5892
     5893  LIBS="-lOSMesa $LIBS"
     5894
     5895fi
     5896
     5897# FIXME: Replace `main' with a function in `-lX11':
     5898
     5899echo "$as_me:$LINENO: checking for main in -lX11" >&5
     5900echo $ECHO_N "checking for main in -lX11... $ECHO_C" >&6
     5901if test "${ac_cv_lib_X11_main+set}" = set; then
     5902  echo $ECHO_N "(cached) $ECHO_C" >&6
     5903else
     5904  ac_check_lib_save_LIBS=$LIBS
     5905LIBS="-lX11  $LIBS"
     5906cat >conftest.$ac_ext <<_ACEOF
     5907/* confdefs.h.  */
     5908_ACEOF
     5909cat confdefs.h >>conftest.$ac_ext
     5910cat >>conftest.$ac_ext <<_ACEOF
     5911/* end confdefs.h.  */
     5912
     5913
     5914int
     5915main ()
     5916{
     5917main ();
     5918  ;
     5919  return 0;
     5920}
     5921_ACEOF
     5922rm -f conftest.$ac_objext conftest$ac_exeext
     5923if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     5924  (eval $ac_link) 2>conftest.er1
     5925  ac_status=$?
     5926  grep -v '^ *+' conftest.er1 >conftest.err
     5927  rm -f conftest.er1
     5928  cat conftest.err >&5
     5929  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5930  (exit $ac_status); } &&
     5931         { ac_try='test -z "$ac_c_werror_flag"
     5932                         || test ! -s conftest.err'
     5933  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5934  (eval $ac_try) 2>&5
     5935  ac_status=$?
     5936  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5937  (exit $ac_status); }; } &&
     5938         { ac_try='test -s conftest$ac_exeext'
     5939  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5940  (eval $ac_try) 2>&5
     5941  ac_status=$?
     5942  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5943  (exit $ac_status); }; }; then
     5944  ac_cv_lib_X11_main=yes
     5945else
     5946  echo "$as_me: failed program was:" >&5
     5947sed 's/^/| /' conftest.$ac_ext >&5
     5948
     5949ac_cv_lib_X11_main=no
     5950fi
     5951rm -f conftest.err conftest.$ac_objext \
     5952      conftest$ac_exeext conftest.$ac_ext
     5953LIBS=$ac_check_lib_save_LIBS
     5954fi
     5955echo "$as_me:$LINENO: result: $ac_cv_lib_X11_main" >&5
     5956echo "${ECHO_T}$ac_cv_lib_X11_main" >&6
     5957if test $ac_cv_lib_X11_main = yes; then
     5958  cat >>confdefs.h <<_ACEOF
     5959#define HAVE_LIBX11 1
     5960_ACEOF
     5961
     5962  LIBS="-lX11 $LIBS"
     5963
     5964fi
     5965
     5966# FIXME: Replace `main' with a function in `-lXt':
     5967
     5968echo "$as_me:$LINENO: checking for main in -lXt" >&5
     5969echo $ECHO_N "checking for main in -lXt... $ECHO_C" >&6
     5970if test "${ac_cv_lib_Xt_main+set}" = set; then
     5971  echo $ECHO_N "(cached) $ECHO_C" >&6
     5972else
     5973  ac_check_lib_save_LIBS=$LIBS
     5974LIBS="-lXt  $LIBS"
     5975cat >conftest.$ac_ext <<_ACEOF
     5976/* confdefs.h.  */
     5977_ACEOF
     5978cat confdefs.h >>conftest.$ac_ext
     5979cat >>conftest.$ac_ext <<_ACEOF
     5980/* end confdefs.h.  */
     5981
     5982
     5983int
     5984main ()
     5985{
     5986main ();
     5987  ;
     5988  return 0;
     5989}
     5990_ACEOF
     5991rm -f conftest.$ac_objext conftest$ac_exeext
     5992if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     5993  (eval $ac_link) 2>conftest.er1
     5994  ac_status=$?
     5995  grep -v '^ *+' conftest.er1 >conftest.err
     5996  rm -f conftest.er1
     5997  cat conftest.err >&5
     5998  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5999  (exit $ac_status); } &&
     6000         { ac_try='test -z "$ac_c_werror_flag"
     6001                         || test ! -s conftest.err'
     6002  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6003  (eval $ac_try) 2>&5
     6004  ac_status=$?
     6005  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6006  (exit $ac_status); }; } &&
     6007         { ac_try='test -s conftest$ac_exeext'
     6008  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6009  (eval $ac_try) 2>&5
     6010  ac_status=$?
     6011  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6012  (exit $ac_status); }; }; then
     6013  ac_cv_lib_Xt_main=yes
     6014else
     6015  echo "$as_me: failed program was:" >&5
     6016sed 's/^/| /' conftest.$ac_ext >&5
     6017
     6018ac_cv_lib_Xt_main=no
     6019fi
     6020rm -f conftest.err conftest.$ac_objext \
     6021      conftest$ac_exeext conftest.$ac_ext
     6022LIBS=$ac_check_lib_save_LIBS
     6023fi
     6024echo "$as_me:$LINENO: result: $ac_cv_lib_Xt_main" >&5
     6025echo "${ECHO_T}$ac_cv_lib_Xt_main" >&6
     6026if test $ac_cv_lib_Xt_main = yes; then
     6027  cat >>confdefs.h <<_ACEOF
     6028#define HAVE_LIBXT 1
     6029_ACEOF
     6030
     6031  LIBS="-lXt $LIBS"
     6032
     6033fi
     6034
     6035
     6036
     6037#checking for pthread libs
     6038echo "$as_me:$LINENO: checking for main in -lpthread" >&5
     6039echo $ECHO_N "checking for main in -lpthread... $ECHO_C" >&6
     6040if test "${ac_cv_lib_pthread_main+set}" = set; then
     6041  echo $ECHO_N "(cached) $ECHO_C" >&6
     6042else
     6043  ac_check_lib_save_LIBS=$LIBS
     6044LIBS="-lpthread  $LIBS"
     6045cat >conftest.$ac_ext <<_ACEOF
     6046/* confdefs.h.  */
     6047_ACEOF
     6048cat confdefs.h >>conftest.$ac_ext
     6049cat >>conftest.$ac_ext <<_ACEOF
     6050/* end confdefs.h.  */
     6051
     6052
     6053int
     6054main ()
     6055{
     6056main ();
     6057  ;
     6058  return 0;
     6059}
     6060_ACEOF
     6061rm -f conftest.$ac_objext conftest$ac_exeext
     6062if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     6063  (eval $ac_link) 2>conftest.er1
     6064  ac_status=$?
     6065  grep -v '^ *+' conftest.er1 >conftest.err
     6066  rm -f conftest.er1
     6067  cat conftest.err >&5
     6068  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6069  (exit $ac_status); } &&
     6070         { ac_try='test -z "$ac_c_werror_flag"
     6071                         || test ! -s conftest.err'
     6072  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6073  (eval $ac_try) 2>&5
     6074  ac_status=$?
     6075  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6076  (exit $ac_status); }; } &&
     6077         { ac_try='test -s conftest$ac_exeext'
     6078  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6079  (eval $ac_try) 2>&5
     6080  ac_status=$?
     6081  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6082  (exit $ac_status); }; }; then
     6083  ac_cv_lib_pthread_main=yes
     6084else
     6085  echo "$as_me: failed program was:" >&5
     6086sed 's/^/| /' conftest.$ac_ext >&5
     6087
     6088ac_cv_lib_pthread_main=no
     6089fi
     6090rm -f conftest.err conftest.$ac_objext \
     6091      conftest$ac_exeext conftest.$ac_ext
     6092LIBS=$ac_check_lib_save_LIBS
     6093fi
     6094echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_main" >&5
     6095echo "${ECHO_T}$ac_cv_lib_pthread_main" >&6
     6096if test $ac_cv_lib_pthread_main = yes; then
     6097  FOUND_pthread=yes
     6098fi
     6099
     6100if test "$FOUND_pthread" = "yes" ; then
     6101    LIBS="$LIBS -lpthread"
     6102fi
     6103
     6104
     6105
     6106
     6107# FIXME: Replace `main' with a function in `-lm':
     6108
     6109echo "$as_me:$LINENO: checking for main in -lm" >&5
     6110echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
     6111if test "${ac_cv_lib_m_main+set}" = set; then
     6112  echo $ECHO_N "(cached) $ECHO_C" >&6
     6113else
     6114  ac_check_lib_save_LIBS=$LIBS
     6115LIBS="-lm  $LIBS"
     6116cat >conftest.$ac_ext <<_ACEOF
     6117/* confdefs.h.  */
     6118_ACEOF
     6119cat confdefs.h >>conftest.$ac_ext
     6120cat >>conftest.$ac_ext <<_ACEOF
     6121/* end confdefs.h.  */
     6122
     6123
     6124int
     6125main ()
     6126{
     6127main ();
     6128  ;
     6129  return 0;
     6130}
     6131_ACEOF
     6132rm -f conftest.$ac_objext conftest$ac_exeext
     6133if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     6134  (eval $ac_link) 2>conftest.er1
     6135  ac_status=$?
     6136  grep -v '^ *+' conftest.er1 >conftest.err
     6137  rm -f conftest.er1
     6138  cat conftest.err >&5
     6139  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6140  (exit $ac_status); } &&
     6141         { ac_try='test -z "$ac_c_werror_flag"
     6142                         || test ! -s conftest.err'
     6143  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6144  (eval $ac_try) 2>&5
     6145  ac_status=$?
     6146  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6147  (exit $ac_status); }; } &&
     6148         { ac_try='test -s conftest$ac_exeext'
     6149  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6150  (eval $ac_try) 2>&5
     6151  ac_status=$?
     6152  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6153  (exit $ac_status); }; }; then
     6154  ac_cv_lib_m_main=yes
     6155else
     6156  echo "$as_me: failed program was:" >&5
     6157sed 's/^/| /' conftest.$ac_ext >&5
     6158
     6159ac_cv_lib_m_main=no
     6160fi
     6161rm -f conftest.err conftest.$ac_objext \
     6162      conftest$ac_exeext conftest.$ac_ext
     6163LIBS=$ac_check_lib_save_LIBS
     6164fi
     6165echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
     6166echo "${ECHO_T}$ac_cv_lib_m_main" >&6
     6167if test $ac_cv_lib_m_main = yes; then
     6168  cat >>confdefs.h <<_ACEOF
     6169#define HAVE_LIBM 1
     6170_ACEOF
     6171
     6172  LIBS="-lm $LIBS"
     6173
     6174fi
     6175
     6176
     6177LIBS="$LIBS `pkg-config --libs  gtk+-2.0`"
     6178
     6179
     6180# Checks for header files.
     6181echo "$as_me:$LINENO: checking for ANSI C header files" >&5
     6182echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
     6183if test "${ac_cv_header_stdc+set}" = set; then
     6184  echo $ECHO_N "(cached) $ECHO_C" >&6
     6185else
     6186  cat >conftest.$ac_ext <<_ACEOF
     6187/* confdefs.h.  */
     6188_ACEOF
     6189cat confdefs.h >>conftest.$ac_ext
     6190cat >>conftest.$ac_ext <<_ACEOF
     6191/* end confdefs.h.  */
     6192#include <stdlib.h>
     6193#include <stdarg.h>
     6194#include <string.h>
     6195#include <float.h>
     6196
     6197int
     6198main ()
     6199{
     6200
     6201  ;
     6202  return 0;
     6203}
     6204_ACEOF
     6205rm -f conftest.$ac_objext
     6206if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     6207  (eval $ac_compile) 2>conftest.er1
     6208  ac_status=$?
     6209  grep -v '^ *+' conftest.er1 >conftest.err
     6210  rm -f conftest.er1
     6211  cat conftest.err >&5
     6212  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6213  (exit $ac_status); } &&
     6214         { ac_try='test -z "$ac_c_werror_flag"
     6215                         || test ! -s conftest.err'
     6216  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6217  (eval $ac_try) 2>&5
     6218  ac_status=$?
     6219  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6220  (exit $ac_status); }; } &&
     6221         { ac_try='test -s conftest.$ac_objext'
     6222  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6223  (eval $ac_try) 2>&5
     6224  ac_status=$?
     6225  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6226  (exit $ac_status); }; }; then
     6227  ac_cv_header_stdc=yes
     6228else
     6229  echo "$as_me: failed program was:" >&5
     6230sed 's/^/| /' conftest.$ac_ext >&5
     6231
     6232ac_cv_header_stdc=no
     6233fi
     6234rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     6235
     6236if test $ac_cv_header_stdc = yes; then
     6237  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
     6238  cat >conftest.$ac_ext <<_ACEOF
     6239/* confdefs.h.  */
     6240_ACEOF
     6241cat confdefs.h >>conftest.$ac_ext
     6242cat >>conftest.$ac_ext <<_ACEOF
     6243/* end confdefs.h.  */
     6244#include <string.h>
     6245
     6246_ACEOF
     6247if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
     6248  $EGREP "memchr" >/dev/null 2>&1; then
     6249  :
     6250else
     6251  ac_cv_header_stdc=no
     6252fi
     6253rm -f conftest*
     6254
     6255fi
     6256
     6257if test $ac_cv_header_stdc = yes; then
     6258  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
     6259  cat >conftest.$ac_ext <<_ACEOF
     6260/* confdefs.h.  */
     6261_ACEOF
     6262cat confdefs.h >>conftest.$ac_ext
     6263cat >>conftest.$ac_ext <<_ACEOF
     6264/* end confdefs.h.  */
     6265#include <stdlib.h>
     6266
     6267_ACEOF
     6268if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
     6269  $EGREP "free" >/dev/null 2>&1; then
     6270  :
     6271else
     6272  ac_cv_header_stdc=no
     6273fi
     6274rm -f conftest*
     6275
     6276fi
     6277
     6278if test $ac_cv_header_stdc = yes; then
     6279  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
     6280  if test "$cross_compiling" = yes; then
     6281  :
     6282else
     6283  cat >conftest.$ac_ext <<_ACEOF
     6284/* confdefs.h.  */
     6285_ACEOF
     6286cat confdefs.h >>conftest.$ac_ext
     6287cat >>conftest.$ac_ext <<_ACEOF
     6288/* end confdefs.h.  */
     6289#include <ctype.h>
     6290#if ((' ' & 0x0FF) == 0x020)
     6291# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
     6292# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
     6293#else
     6294# define ISLOWER(c) \
     6295                   (('a' <= (c) && (c) <= 'i') \
     6296                     || ('j' <= (c) && (c) <= 'r') \
     6297                     || ('s' <= (c) && (c) <= 'z'))
     6298# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
     6299#endif
     6300
     6301#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
     6302int
     6303main ()
     6304{
     6305  int i;
     6306  for (i = 0; i < 256; i++)
     6307    if (XOR (islower (i), ISLOWER (i))
     6308        || toupper (i) != TOUPPER (i))
     6309      exit(2);
     6310  exit (0);
     6311}
     6312_ACEOF
     6313rm -f conftest$ac_exeext
     6314if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     6315  (eval $ac_link) 2>&5
     6316  ac_status=$?
     6317  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6318  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
     6319  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6320  (eval $ac_try) 2>&5
     6321  ac_status=$?
     6322  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6323  (exit $ac_status); }; }; then
     6324  :
     6325else
     6326  echo "$as_me: program exited with status $ac_status" >&5
     6327echo "$as_me: failed program was:" >&5
     6328sed 's/^/| /' conftest.$ac_ext >&5
     6329
     6330( exit $ac_status )
     6331ac_cv_header_stdc=no
     6332fi
     6333rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     6334fi
     6335fi
     6336fi
     6337echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
     6338echo "${ECHO_T}$ac_cv_header_stdc" >&6
     6339if test $ac_cv_header_stdc = yes; then
     6340
     6341cat >>confdefs.h <<\_ACEOF
     6342#define STDC_HEADERS 1
     6343_ACEOF
     6344
     6345fi
     6346
     6347
     6348
     6349for ac_header in stdlib.h string.h
     6350do
     6351as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
     6352if eval "test \"\${$as_ac_Header+set}\" = set"; then
     6353  echo "$as_me:$LINENO: checking for $ac_header" >&5
     6354echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     6355if eval "test \"\${$as_ac_Header+set}\" = set"; then
     6356  echo $ECHO_N "(cached) $ECHO_C" >&6
     6357fi
     6358echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     6359echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     6360else
     6361  # Is the header compilable?
     6362echo "$as_me:$LINENO: checking $ac_header usability" >&5
     6363echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
     6364cat >conftest.$ac_ext <<_ACEOF
     6365/* confdefs.h.  */
     6366_ACEOF
     6367cat confdefs.h >>conftest.$ac_ext
     6368cat >>conftest.$ac_ext <<_ACEOF
     6369/* end confdefs.h.  */
     6370$ac_includes_default
     6371#include <$ac_header>
     6372_ACEOF
     6373rm -f conftest.$ac_objext
     6374if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     6375  (eval $ac_compile) 2>conftest.er1
     6376  ac_status=$?
     6377  grep -v '^ *+' conftest.er1 >conftest.err
     6378  rm -f conftest.er1
     6379  cat conftest.err >&5
     6380  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6381  (exit $ac_status); } &&
     6382         { ac_try='test -z "$ac_c_werror_flag"
     6383                         || test ! -s conftest.err'
     6384  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6385  (eval $ac_try) 2>&5
     6386  ac_status=$?
     6387  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6388  (exit $ac_status); }; } &&
     6389         { ac_try='test -s conftest.$ac_objext'
     6390  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6391  (eval $ac_try) 2>&5
     6392  ac_status=$?
     6393  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6394  (exit $ac_status); }; }; then
     6395  ac_header_compiler=yes
     6396else
     6397  echo "$as_me: failed program was:" >&5
     6398sed 's/^/| /' conftest.$ac_ext >&5
     6399
     6400ac_header_compiler=no
     6401fi
     6402rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     6403echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     6404echo "${ECHO_T}$ac_header_compiler" >&6
     6405
     6406# Is the header present?
     6407echo "$as_me:$LINENO: checking $ac_header presence" >&5
     6408echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
     6409cat >conftest.$ac_ext <<_ACEOF
     6410/* confdefs.h.  */
     6411_ACEOF
     6412cat confdefs.h >>conftest.$ac_ext
     6413cat >>conftest.$ac_ext <<_ACEOF
     6414/* end confdefs.h.  */
     6415#include <$ac_header>
     6416_ACEOF
     6417if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     6418  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     6419  ac_status=$?
     6420  grep -v '^ *+' conftest.er1 >conftest.err
     6421  rm -f conftest.er1
     6422  cat conftest.err >&5
     6423  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6424  (exit $ac_status); } >/dev/null; then
     6425  if test -s conftest.err; then
     6426    ac_cpp_err=$ac_c_preproc_warn_flag
     6427    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
     6428  else
     6429    ac_cpp_err=
     6430  fi
     6431else
     6432  ac_cpp_err=yes
     6433fi
     6434if test -z "$ac_cpp_err"; then
     6435  ac_header_preproc=yes
     6436else
     6437  echo "$as_me: failed program was:" >&5
     6438sed 's/^/| /' conftest.$ac_ext >&5
     6439
     6440  ac_header_preproc=no
     6441fi
     6442rm -f conftest.err conftest.$ac_ext
     6443echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     6444echo "${ECHO_T}$ac_header_preproc" >&6
     6445
     6446# So?  What about this header?
     6447case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
     6448  yes:no: )
     6449    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
     6450echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     6451    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
     6452echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
     6453    ac_header_preproc=yes
     6454    ;;
     6455  no:yes:* )
     6456    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     6457echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     6458    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
     6459echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
     6460    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
     6461echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
     6462    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
     6463echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
     6464    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     6465echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     6466    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
     6467echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
     6468    (
     6469      cat <<\_ASBOX
     6470## ------------------------------------------- ##
     6471## Report this to orxonox-dev@mail.datacore.ch ##
     6472## ------------------------------------------- ##
     6473_ASBOX
     6474    ) |
     6475      sed "s/^/$as_me: WARNING:     /" >&2
     6476    ;;
     6477esac
     6478echo "$as_me:$LINENO: checking for $ac_header" >&5
     6479echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     6480if eval "test \"\${$as_ac_Header+set}\" = set"; then
     6481  echo $ECHO_N "(cached) $ECHO_C" >&6
     6482else
     6483  eval "$as_ac_Header=\$ac_header_preproc"
     6484fi
     6485echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     6486echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     6487
     6488fi
     6489if test `eval echo '${'$as_ac_Header'}'` = yes; then
     6490  cat >>confdefs.h <<_ACEOF
     6491#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
     6492_ACEOF
     6493
     6494fi
     6495
     6496done
     6497
     6498
     6499# Checks for typedefs, structures, and compiler characteristics.
     6500echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5
     6501echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&6
     6502if test "${ac_cv_header_stdbool_h+set}" = set; then
     6503  echo $ECHO_N "(cached) $ECHO_C" >&6
     6504else
     6505  cat >conftest.$ac_ext <<_ACEOF
     6506/* confdefs.h.  */
     6507_ACEOF
     6508cat confdefs.h >>conftest.$ac_ext
     6509cat >>conftest.$ac_ext <<_ACEOF
     6510/* end confdefs.h.  */
     6511
     6512#include <stdbool.h>
     6513#ifndef bool
     6514# error bool is not defined
     6515#endif
     6516#ifndef false
     6517# error false is not defined
     6518#endif
     6519#if false
     6520# error false is not 0
     6521#endif
     6522#ifndef true
     6523# error true is not defined
     6524#endif
     6525#if true != 1
     6526# error true is not 1
     6527#endif
     6528#ifndef __bool_true_false_are_defined
     6529# error __bool_true_false_are_defined is not defined
     6530#endif
     6531
     6532        struct s { _Bool s: 1; _Bool t; } s;
     6533
     6534        char a[true == 1 ? 1 : -1];
     6535        char b[false == 0 ? 1 : -1];
     6536        char c[__bool_true_false_are_defined == 1 ? 1 : -1];
     6537        char d[(bool) -0.5 == true ? 1 : -1];
     6538        bool e = &s;
     6539        char f[(_Bool) -0.0 == false ? 1 : -1];
     6540        char g[true];
     6541        char h[sizeof (_Bool)];
     6542        char i[sizeof s.t];
     6543
     6544int
     6545main ()
     6546{
     6547 return !a + !b + !c + !d + !e + !f + !g + !h + !i;
     6548  ;
     6549  return 0;
     6550}
     6551_ACEOF
     6552rm -f conftest.$ac_objext
     6553if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     6554  (eval $ac_compile) 2>conftest.er1
     6555  ac_status=$?
     6556  grep -v '^ *+' conftest.er1 >conftest.err
     6557  rm -f conftest.er1
     6558  cat conftest.err >&5
     6559  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6560  (exit $ac_status); } &&
     6561         { ac_try='test -z "$ac_c_werror_flag"
     6562                         || test ! -s conftest.err'
     6563  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6564  (eval $ac_try) 2>&5
     6565  ac_status=$?
     6566  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6567  (exit $ac_status); }; } &&
     6568         { ac_try='test -s conftest.$ac_objext'
     6569  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6570  (eval $ac_try) 2>&5
     6571  ac_status=$?
     6572  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6573  (exit $ac_status); }; }; then
     6574  ac_cv_header_stdbool_h=yes
     6575else
     6576  echo "$as_me: failed program was:" >&5
     6577sed 's/^/| /' conftest.$ac_ext >&5
     6578
     6579ac_cv_header_stdbool_h=no
     6580fi
     6581rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     6582fi
     6583echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5
     6584echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6
     6585echo "$as_me:$LINENO: checking for _Bool" >&5
     6586echo $ECHO_N "checking for _Bool... $ECHO_C" >&6
     6587if test "${ac_cv_type__Bool+set}" = set; then
     6588  echo $ECHO_N "(cached) $ECHO_C" >&6
     6589else
     6590  cat >conftest.$ac_ext <<_ACEOF
     6591/* confdefs.h.  */
     6592_ACEOF
     6593cat confdefs.h >>conftest.$ac_ext
     6594cat >>conftest.$ac_ext <<_ACEOF
     6595/* end confdefs.h.  */
     6596$ac_includes_default
     6597int
     6598main ()
     6599{
     6600if ((_Bool *) 0)
     6601  return 0;
     6602if (sizeof (_Bool))
     6603  return 0;
     6604  ;
     6605  return 0;
     6606}
     6607_ACEOF
     6608rm -f conftest.$ac_objext
     6609if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     6610  (eval $ac_compile) 2>conftest.er1
     6611  ac_status=$?
     6612  grep -v '^ *+' conftest.er1 >conftest.err
     6613  rm -f conftest.er1
     6614  cat conftest.err >&5
     6615  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6616  (exit $ac_status); } &&
     6617         { ac_try='test -z "$ac_c_werror_flag"
     6618                         || test ! -s conftest.err'
     6619  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6620  (eval $ac_try) 2>&5
     6621  ac_status=$?
     6622  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6623  (exit $ac_status); }; } &&
     6624         { ac_try='test -s conftest.$ac_objext'
     6625  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6626  (eval $ac_try) 2>&5
     6627  ac_status=$?
     6628  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6629  (exit $ac_status); }; }; then
     6630  ac_cv_type__Bool=yes
     6631else
     6632  echo "$as_me: failed program was:" >&5
     6633sed 's/^/| /' conftest.$ac_ext >&5
     6634
     6635ac_cv_type__Bool=no
     6636fi
     6637rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     6638fi
     6639echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5
     6640echo "${ECHO_T}$ac_cv_type__Bool" >&6
     6641if test $ac_cv_type__Bool = yes; then
     6642
     6643cat >>confdefs.h <<_ACEOF
     6644#define HAVE__BOOL 1
     6645_ACEOF
     6646
     6647
     6648fi
     6649
     6650if test $ac_cv_header_stdbool_h = yes; then
     6651
     6652cat >>confdefs.h <<\_ACEOF
     6653#define HAVE_STDBOOL_H 1
     6654_ACEOF
     6655
     6656fi
     6657
     6658
     6659# Checks for library functions.
     6660
     6661for ac_header in stdlib.h
     6662do
     6663as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
     6664if eval "test \"\${$as_ac_Header+set}\" = set"; then
     6665  echo "$as_me:$LINENO: checking for $ac_header" >&5
     6666echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     6667if eval "test \"\${$as_ac_Header+set}\" = set"; then
     6668  echo $ECHO_N "(cached) $ECHO_C" >&6
     6669fi
     6670echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     6671echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     6672else
     6673  # Is the header compilable?
     6674echo "$as_me:$LINENO: checking $ac_header usability" >&5
     6675echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
     6676cat >conftest.$ac_ext <<_ACEOF
     6677/* confdefs.h.  */
     6678_ACEOF
     6679cat confdefs.h >>conftest.$ac_ext
     6680cat >>conftest.$ac_ext <<_ACEOF
     6681/* end confdefs.h.  */
     6682$ac_includes_default
     6683#include <$ac_header>
     6684_ACEOF
     6685rm -f conftest.$ac_objext
     6686if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     6687  (eval $ac_compile) 2>conftest.er1
     6688  ac_status=$?
     6689  grep -v '^ *+' conftest.er1 >conftest.err
     6690  rm -f conftest.er1
     6691  cat conftest.err >&5
     6692  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6693  (exit $ac_status); } &&
     6694         { ac_try='test -z "$ac_c_werror_flag"
     6695                         || test ! -s conftest.err'
     6696  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6697  (eval $ac_try) 2>&5
     6698  ac_status=$?
     6699  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6700  (exit $ac_status); }; } &&
     6701         { ac_try='test -s conftest.$ac_objext'
     6702  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6703  (eval $ac_try) 2>&5
     6704  ac_status=$?
     6705  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6706  (exit $ac_status); }; }; then
     6707  ac_header_compiler=yes
     6708else
     6709  echo "$as_me: failed program was:" >&5
     6710sed 's/^/| /' conftest.$ac_ext >&5
     6711
     6712ac_header_compiler=no
     6713fi
     6714rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     6715echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     6716echo "${ECHO_T}$ac_header_compiler" >&6
     6717
     6718# Is the header present?
     6719echo "$as_me:$LINENO: checking $ac_header presence" >&5
     6720echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
     6721cat >conftest.$ac_ext <<_ACEOF
     6722/* confdefs.h.  */
     6723_ACEOF
     6724cat confdefs.h >>conftest.$ac_ext
     6725cat >>conftest.$ac_ext <<_ACEOF
     6726/* end confdefs.h.  */
     6727#include <$ac_header>
     6728_ACEOF
     6729if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     6730  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     6731  ac_status=$?
     6732  grep -v '^ *+' conftest.er1 >conftest.err
     6733  rm -f conftest.er1
     6734  cat conftest.err >&5
     6735  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6736  (exit $ac_status); } >/dev/null; then
     6737  if test -s conftest.err; then
     6738    ac_cpp_err=$ac_c_preproc_warn_flag
     6739    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
     6740  else
     6741    ac_cpp_err=
     6742  fi
     6743else
     6744  ac_cpp_err=yes
     6745fi
     6746if test -z "$ac_cpp_err"; then
     6747  ac_header_preproc=yes
     6748else
     6749  echo "$as_me: failed program was:" >&5
     6750sed 's/^/| /' conftest.$ac_ext >&5
     6751
     6752  ac_header_preproc=no
     6753fi
     6754rm -f conftest.err conftest.$ac_ext
     6755echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     6756echo "${ECHO_T}$ac_header_preproc" >&6
     6757
     6758# So?  What about this header?
     6759case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
     6760  yes:no: )
     6761    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
     6762echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     6763    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
     6764echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
     6765    ac_header_preproc=yes
     6766    ;;
     6767  no:yes:* )
     6768    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     6769echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     6770    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
     6771echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
     6772    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
     6773echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
     6774    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
     6775echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
     6776    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     6777echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     6778    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
     6779echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
     6780    (
     6781      cat <<\_ASBOX
     6782## ------------------------------------------- ##
     6783## Report this to orxonox-dev@mail.datacore.ch ##
     6784## ------------------------------------------- ##
     6785_ASBOX
     6786    ) |
     6787      sed "s/^/$as_me: WARNING:     /" >&2
     6788    ;;
     6789esac
     6790echo "$as_me:$LINENO: checking for $ac_header" >&5
     6791echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     6792if eval "test \"\${$as_ac_Header+set}\" = set"; then
     6793  echo $ECHO_N "(cached) $ECHO_C" >&6
     6794else
     6795  eval "$as_ac_Header=\$ac_header_preproc"
     6796fi
     6797echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     6798echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     6799
     6800fi
     6801if test `eval echo '${'$as_ac_Header'}'` = yes; then
     6802  cat >>confdefs.h <<_ACEOF
     6803#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
     6804_ACEOF
     6805
    59566806fi
    59576807
     
    61436993
    61446994
    6145                                         ac_config_files="$ac_config_files Makefile console/Makefile gui/Makefile src/Makefile"
     6995                                                  ac_config_files="$ac_config_files Makefile console/Makefile gui/Makefile src/Makefile importer/Makefile"
    61466996
    61476997cat >confcache <<\_ACEOF
     
    67057555  "gui/Makefile" ) CONFIG_FILES="$CONFIG_FILES gui/Makefile" ;;
    67067556  "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
     7557  "importer/Makefile" ) CONFIG_FILES="$CONFIG_FILES importer/Makefile" ;;
    67077558  "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
    67087559  "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
     
    68087659s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
    68097660s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
     7661s,@mkdir_p@,$mkdir_p,;t t
    68107662s,@AWK@,$AWK,;t t
    68117663s,@SET_MAKE@,$SET_MAKE,;t t
    68127664s,@am__leading_dot@,$am__leading_dot,;t t
    6813 s,@MSBITFIELDS@,$MSBITFIELDS,;t t
    68147665s,@CXX@,$CXX,;t t
    68157666s,@CXXFLAGS@,$CXXFLAGS,;t t
     
    68367687s,@CPP@,$CPP,;t t
    68377688s,@EGREP@,$EGREP,;t t
     7689s,@MSBITFIELDS@,$MSBITFIELDS,;t t
    68387690s,@LIBOBJS@,$LIBOBJS,;t t
    68397691s,@LTLIBOBJS@,$LTLIBOBJS,;t t
     
    74638315  # Extract the definition of DEP_FILES from the Makefile without
    74648316  # running `make'.
    7465   DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
     8317  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
    74668318  test -z "$DEPDIR" && continue
    74678319  # When using ansi2knr, U may be empty or an underscore; expand it
    7468   U=`sed -n -e '/^U = / s///p' < "$mf"`
     8320  U=`sed -n 's/^U = //p' < "$mf"`
    74698321  test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
    74708322  # We invoke sed twice because it is the simplest approach to
    74718323  # changing $(DEPDIR) to its actual value in the expansion.
    7472   for file in `sed -n -e '
     8324  for file in `sed -n '
    74738325    /^DEP_FILES = .*\\\\$/ {
    74748326      s/^DEP_FILES = //
  • orxonox/branches/sound/configure.ac

    r2854 r2964  
    99AC_CONFIG_HEADER([config.h])
    1010
    11 AC_MSG_CHECKING([for mingw])
     11
     12# Checks for programs.
     13AC_PROG_CXX
     14AC_PROG_CC
     15
     16
     17
     18AC_HEADER_STDC
     19
     20### CHECKING FOR SYSTEM ###
     21
     22AC_MSG_CHECKING([for System])
    1223case `uname` in
     24### WINDOWS ###
    1325  *MINGW*)
     26echo "mingw-WINDOWS detected"
     27
    1428    mingw="yes"
    1529    MSBITFIELDS="-mms-bitfields"
    1630    MWINDOWS="-mwindows"
     31
     32# checking gl header
     33        #done before loop
     34
     35# checking gl header
     36   AC_CHECK_HEADERS(GL/gl.h ,,
     37      [AC_MSG_ERROR([cannot find opengl headers]) ])
     38#   checking for Windows openGl library
     39    AC_CHECK_LIB([opengl32], [main], FOUND_opengl32=yes, "gl/gl.h")
     40    if test "$FOUND_opengl32" = "yes" ; then
     41        LIBS="$LIBS -lopengl32"
     42    else
     43         echo "------------------"
     44         echo "opengl not found."
     45         echo "please install the opengl package which can be found at http://www.opengl.org"
     46         echo "------------------"
     47         exit -1
     48    fi
     49
     50# cheking for GLU-header
     51    AC_CHECK_HEADERS(GL/glu.h ,,
     52      [AC_MSG_ERROR([cannot find opengl headers]) ])
     53
     54# checking for libGLU
     55    AC_CHECK_LIB([glu32], [main], FOUND_glu32=yes)
     56    if test "$FOUND_glu32" = "yes" ; then
     57        LIBS="$LIBS -lGLU32"
     58    else
     59         echo "------------------"
     60         echo "GLU library not found."
     61         echo "please install the GLU library, that should come with openGL, which can be found at http://www.opengl.org"
     62         echo "------------------"
     63         exit -1
     64    fi
     65
     66
     67# checking for mingw32
     68    AC_CHECK_LIB([mingw32], [main], FOUND_mingw32=yes)
     69    if test $FOUND_mingw32 = "yes"; then
     70        LIBS="$LIBS -lmingw32"
     71    fi
     72# checking for SDL-headers
     73    AC_CHECK_HEADERS(SDL/SDL.h ,,
     74      [AC_MSG_ERROR([cannot find SDL headers]) ])
     75
     76#checking for libSDL
     77    AC_CHECK_LIB([sdlmain], [main], FOUND_sdlmain=yes)
     78    if test "$FOUND_sdlmain" = "yes" ; then
     79        LIBS="$LIBS -lsdlmain"
     80    else
     81         echo "------------------"
     82         echo "SDL library not found."
     83         echo "please install the SDL library, which can be found at http://www.libsdl.org"
     84         echo "------------------"
     85         exit 1
     86    fi
     87    AC_CHECK_LIB([sdl], [main], FOUND_sdl=yes)
     88    if test "$FOUND_sdl" = "yes" ; then
     89        LIBS="$LIBS -lsdl"
     90    else
     91         echo "------------------"
     92         echo "SDL library not found."
     93         echo "please install the SDL library, which can be found at http://www.libsdl.org"
     94         echo "------------------"
     95         exit -1
     96    fi
     97
     98# checking for SDL-Mixer-headers
     99    AC_CHECK_HEADERS(SDL/SDL_mixer.h ,,
     100      [AC_MSG_ERROR([cannot find SDL headers]) ])
     101
     102#checking for libSDL_mixer
     103    AC_CHECK_LIB([SDL_mixer], [main], FOUND_SDL_mixer=yes)
     104    if test "$FOUND_SDL_mixer" = "yes" ; then
     105        LIBS="$LIBS -lSDL_mixer"
     106    else
     107         echo "------------------"
     108         echo "SDL Mixer library not found."
     109         echo "please install the SDL Mixer library, which can be found at http://www.libsdl.org"
     110         echo "------------------"
     111         exit 1
     112    fi
     113
     114
     115    ;;
     116
     117### LINUX ###
     118 *Linux*)
     119echo "Linux detected"
     120
     121 Linux="yes"
     122
     123# checking gl header
     124   AC_CHECK_HEADERS(GL/gl.h ,,
     125      [AC_MSG_ERROR([cannot find opengl headers]) ])
     126
     127#  checking for Unix GL
     128   AC_CHECK_LIB([GL], [main], FOUND_GL=yes)
     129   if test "$FOUND_GL" = "yes" ; then
     130     LIBS="$LIBS -lGL"
     131   else
     132         echo "------------------"
     133         echo "opengl not found."
     134         echo "please install the opengl package which can be found at http://www.opengl.org"
     135         echo "------------------"
     136         exit -1
     137   fi
     138
     139# cheking for GLU-header
     140    AC_CHECK_HEADERS(GL/glu.h ,,
     141      [AC_MSG_ERROR([cannot find opengl headers]) ])
     142
     143    AC_CHECK_LIB([GLU], [gluProject], FOUND_GLU=yes)
     144    if test "$FOUND_GLU" = "yes" ; then
     145      LIBS="$LIBS -lGLU"
     146    else
     147         echo "------------------"
     148         echo "GLU library not found."
     149         echo "please install the GLU library, that should come with openGL, which can be found at http://www.opengl.org"
     150         echo "------------------"
     151         exit -1
     152    fi   
     153
     154# checking for SDL-headers
     155    AC_CHECK_HEADERS(SDL/SDL.h ,,
     156      [AC_MSG_ERROR([cannot find SDL headers]) ])
     157
     158    AC_CHECK_LIB([SDL], [main], FOUND_SDL=yes)
     159     if test "$FOUND_SDL" = "yes" ; then
     160        LIBS="$LIBS -lSDL"
     161     else
     162         echo "------------------"
     163         echo "SDL library not found."
     164         echo "please install the SDL library, which can be found at http://www.libsdl.org"
     165         echo "------------------"
     166         exit -1
     167     fi   
     168       
     169# checking for SDL-Mixer-headers
     170    AC_CHECK_HEADERS(SDL/SDL_mixer.h ,,
     171      [AC_MSG_ERROR([cannot find SDL headers]) ])
     172
     173
     174#checking for libSDL_mixer
     175    AC_CHECK_LIB([SDL_mixer], [main], FOUND_SDL_mixer=yes)
     176    if test "$FOUND_SDL_mixer" = "yes" ; then
     177        LIBS="$LIBS -lSDL_mixer"
     178    else
     179         echo "------------------"
     180         echo "SDL Mixer library not found."
     181         echo "please install the SDL Mixer library, which can be found at http://www.libsdl.org"
     182         echo "------------------"
     183         exit 1
     184    fi
     185
    17186    ;;
    18187  *)
     
    23192AC_SUBST(MSBITFIELDS)
    24193
    25 
    26 # Checks for programs.
    27 AC_PROG_CXX
    28 AC_PROG_CC
    29 
    30 # Checks for libraries.
    31 
    32 #  cheking for libGL
    33 AC_CHECK_HEADERS(GL/gl.h ,,
    34       [AC_MSG_ERROR([cannot find opengl headers]) ])
    35 
    36 #   checking for Unix GL
    37 AC_CHECK_LIB([GL], [main], FOUND_GL=yes)
    38 if test "$FOUND_GL" = "yes" ; then
    39     LIBS="$LIBS -lGL"
    40     #   checking for Windows openGl library
    41 else
    42     echo "We did not find the Linux opengl Library. Checking for Windows Library"
    43     AC_CHECK_LIB([opengl32], [main], FOUND_opengl32=yes, "gl/gl.h")
    44     if test "$FOUND_opengl32" = "yes" ; then
    45         LIBS="$LIBS -lopengl32"
    46        
    47     else
    48          echo "------------------"
    49          echo "opengl not found."
    50          echo "please install the opengl package which can be found at http://www.opengl.org"
    51          echo "------------------"
    52          exit -1
    53     fi
    54 fi
    55 
    56 #  cheking for libGLU
    57 AC_CHECK_HEADERS(GL/glu.h ,,
    58       [AC_MSG_ERROR([cannot find opengl headers]) ])
    59 
    60 AC_CHECK_LIB([GLU], [gluProject], FOUND_GLU=yes)
    61 if test "$FOUND_GLU" = "yes" ; then
    62     LIBS="$LIBS -lGLU"
    63     #   checking for Windows GLU32 library
    64 else
    65     echo "We did not find the Linux GLU Library. Checking for Windows Library"
    66     AC_CHECK_LIB([glu32], [main], FOUND_glu32=yes)
    67     if test "$FOUND_glu32" = "yes" ; then
    68         LIBS="$LIBS -lGLU32"
    69        
    70         else
    71          echo "------------------"
    72          echo "GLU library not found."
    73          echo "please install the GLU library, that should come with openGL, which can be found at http://www.opengl.org"
    74          echo "------------------"
    75          exit -1
    76     fi
    77 fi
    78 
    79 AC_CHECK_HEADERS(SDL/SDL_mixer.h ,,
    80       [AC_MSG_ERROR([cannot find sdlmixer headers]) ])
    81 
    82 LIBS="$LIBS -lSDL_mixer"
     194#### Checking for LIBraries.
    83195
    84196# FIXME: Replace `main' with a function in `-lOSMesa':
     
    89201AC_CHECK_LIB([Xt], [main])
    90202
    91 ## mingw CHECK
    92 if test $mingw = yes ; then
    93         AC_CHECK_LIB([mingw32], [main], FOUND_mingw32=yes)
    94         if test $FOUND_mingw32 = "yes"; then
    95                 LIBS="$LIBS -lmingw32"
    96         fi
    97 fi
    98 
    99 ## SDL CHECK
    100 
    101 #checking for SDL libs
    102 AC_CHECK_HEADERS(SDL/SDL.h ,,
    103       [AC_MSG_ERROR([cannot find SDL headers]) ])
    104 if test $mingw = no ; then
    105         AC_CHECK_LIB([SDL], [main], FOUND_SDL=yes)
    106         if test "$FOUND_SDL" = "yes" ; then
    107                 LIBS="$LIBS -lSDL"
    108         fi
    109 #   checking for Windows sdl library
    110 else
    111     AC_CHECK_LIB([sdlmain], [main], FOUND_sdlmain=yes)
    112     if test "$FOUND_sdlmain" = "yes" ; then
    113         LIBS="$LIBS -lsdlmain"
    114     fi
    115         AC_CHECK_LIB([sdl], [main], FOUND_sdl=yes)
    116         if test "$FOUND_sdl" = "yes" ; then
    117                 LIBS="$LIBS -lsdl"
    118         fi
    119 fi
    120203
    121204#checking for pthread libs
     
    148231                 console/Makefile
    149232                 gui/Makefile
    150                  src/Makefile])
     233                 src/Makefile
     234                 importer/Makefile])
    151235AC_OUTPUT
  • orxonox/branches/sound/console/Makefile.in

    r2589 r2964  
    1 # Makefile.in generated by automake 1.7.9 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@
     
    3638PRE_UNINSTALL = :
    3739POST_UNINSTALL = :
     40bin_PROGRAMS = console$(EXEEXT)
     41subdir = console
     42DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \
     43        $(srcdir)/Makefile.in
     44ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
     45am__aclocal_m4_deps = $(top_srcdir)/configure.ac
     46am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
     47        $(ACLOCAL_M4)
     48mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
     49CONFIG_HEADER = $(top_builddir)/config.h
     50CONFIG_CLEAN_FILES =
     51am__installdirs = "$(DESTDIR)$(bindir)"
     52binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
     53PROGRAMS = $(bin_PROGRAMS)
     54am_console_OBJECTS = orxonox_console.$(OBJEXT) \
     55        orxonox_console_entry.$(OBJEXT) orxonox_console_log.$(OBJEXT)
     56console_OBJECTS = $(am_console_OBJECTS)
     57console_LDADD = $(LDADD)
     58DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
     59depcomp = $(SHELL) $(top_srcdir)/depcomp
     60am__depfiles_maybe = depfiles
     61@AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/orxonox_console.Po \
     62@AMDEP_TRUE@    ./$(DEPDIR)/orxonox_console_entry.Po \
     63@AMDEP_TRUE@    ./$(DEPDIR)/orxonox_console_log.Po
     64CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
     65        $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
     66CXXLD = $(CXX)
     67CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \
     68        -o $@
     69SOURCES = $(console_SOURCES)
     70DIST_SOURCES = $(console_SOURCES)
     71HEADERS = $(noinst_HEADERS)
     72ETAGS = etags
     73CTAGS = ctags
     74DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
    3875ACLOCAL = @ACLOCAL@
    3976AMDEP_FALSE = @AMDEP_FALSE@
     
    104141localstatedir = @localstatedir@
    105142mandir = @mandir@
     143mkdir_p = @mkdir_p@
    106144oldincludedir = @oldincludedir@
    107145prefix = @prefix@
     
    112150target_alias = @target_alias@
    113151AM_CXXFLAGS = `pkg-config --cflags gtk+-2.0` $(MSBITFIELDS)
    114 
    115 #AM_LDFLAGS=`pkg-config --libs  gtk+-2.0`
    116 bin_PROGRAMS = console
    117152console_SOURCES = orxonox_console.cc orxonox_console_entry.cc orxonox_console_log.cc
    118153noinst_HEADERS = orxonox_console.h orxonox_console_entry.h orxonox_console_log.h
    119 subdir = console
    120 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
    121 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
    122 CONFIG_HEADER = $(top_builddir)/config.h
    123 CONFIG_CLEAN_FILES =
    124 bin_PROGRAMS = console$(EXEEXT)
    125 PROGRAMS = $(bin_PROGRAMS)
    126 
    127 am_console_OBJECTS = orxonox_console.$(OBJEXT) \
    128         orxonox_console_entry.$(OBJEXT) orxonox_console_log.$(OBJEXT)
    129 console_OBJECTS = $(am_console_OBJECTS)
    130 console_LDADD = $(LDADD)
    131 console_DEPENDENCIES =
    132 console_LDFLAGS =
    133 
    134 DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)
    135 depcomp = $(SHELL) $(top_srcdir)/depcomp
    136 am__depfiles_maybe = depfiles
    137 @AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/orxonox_console.Po \
    138 @AMDEP_TRUE@    ./$(DEPDIR)/orxonox_console_entry.Po \
    139 @AMDEP_TRUE@    ./$(DEPDIR)/orxonox_console_log.Po
    140 CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
    141         $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
    142 CXXLD = $(CXX)
    143 CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \
    144         -o $@
    145 DIST_SOURCES = $(console_SOURCES)
    146 HEADERS = $(noinst_HEADERS)
    147 
    148 DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.in Makefile.am
    149 SOURCES = $(console_SOURCES)
    150 
    151154all: all-am
    152155
    153156.SUFFIXES:
    154157.SUFFIXES: .cc .o .obj
    155 $(srcdir)/Makefile.in:  Makefile.am  $(top_srcdir)/configure.ac $(ACLOCAL_M4)
     158$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
     159        @for dep in $?; do \
     160          case '$(am__configure_deps)' in \
     161            *$$dep*) \
     162              cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
     163                && exit 0; \
     164              exit 1;; \
     165          esac; \
     166        done; \
     167        echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  console/Makefile'; \
    156168        cd $(top_srcdir) && \
    157169          $(AUTOMAKE) --gnu  console/Makefile
    158 Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
    159         cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
    160 binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
     170.PRECIOUS: Makefile
     171Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     172        @case '$?' in \
     173          *config.status*) \
     174            cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
     175          *) \
     176            echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
     177            cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
     178        esac;
     179
     180$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
     181        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
     182
     183$(top_srcdir)/configure:  $(am__configure_deps)
     184        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
     185$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
     186        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
    161187install-binPROGRAMS: $(bin_PROGRAMS)
    162188        @$(NORMAL_INSTALL)
    163         $(mkinstalldirs) $(DESTDIR)$(bindir)
     189        test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"
    164190        @list='$(bin_PROGRAMS)'; for p in $$list; do \
    165191          p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
     
    167193          ; then \
    168194            f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
    169            echo " $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \
    170            $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f || exit 1; \
     195           echo " $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \
     196           $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
    171197          else :; fi; \
    172198        done
     
    176202        @list='$(bin_PROGRAMS)'; for p in $$list; do \
    177203          f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
    178           echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
    179           rm -f $(DESTDIR)$(bindir)/$$f; \
     204          echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
     205          rm -f "$(DESTDIR)$(bindir)/$$f"; \
    180206        done
    181207
     
    187213
    188214mostlyclean-compile:
    189         -rm -f *.$(OBJEXT) core *.core
     215        -rm -f *.$(OBJEXT)
    190216
    191217distclean-compile:
     
    197223
    198224.cc.o:
    199 @am__fastdepCXX_TRUE@   if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
    200 @am__fastdepCXX_TRUE@     -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \
    201 @am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
    202 @am__fastdepCXX_TRUE@   else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
    203 @am__fastdepCXX_TRUE@   fi
     225@am__fastdepCXX_TRUE@   if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
     226@am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
    204227@AMDEP_TRUE@@am__fastdepCXX_FALSE@      source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
    205228@AMDEP_TRUE@@am__fastdepCXX_FALSE@      depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
    206229@AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
    207 @am__fastdepCXX_FALSE@  $(CXXCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
     230@am__fastdepCXX_FALSE@  $(CXXCOMPILE) -c -o $@ $<
    208231
    209232.cc.obj:
    210 @am__fastdepCXX_TRUE@   if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
    211 @am__fastdepCXX_TRUE@     -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`; \
    212 @am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
    213 @am__fastdepCXX_TRUE@   else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
    214 @am__fastdepCXX_TRUE@   fi
     233@am__fastdepCXX_TRUE@   if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
     234@am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
    215235@AMDEP_TRUE@@am__fastdepCXX_FALSE@      source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
    216236@AMDEP_TRUE@@am__fastdepCXX_FALSE@      depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
    217237@AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
    218 @am__fastdepCXX_FALSE@  $(CXXCOMPILE) -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`
     238@am__fastdepCXX_FALSE@  $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
    219239uninstall-info-am:
    220 
    221 ETAGS = etags
    222 ETAGSFLAGS =
    223 
    224 CTAGS = ctags
    225 CTAGSFLAGS =
    226 
    227 tags: TAGS
    228240
    229241ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
     
    235247               END { for (i in files) print i; }'`; \
    236248        mkid -fID $$unique
     249tags: TAGS
    237250
    238251TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
     
    246259          $(AWK) '    { files[$$0] = 1; } \
    247260               END { for (i in files) print i; }'`; \
    248         test -z "$(ETAGS_ARGS)$$tags$$unique" \
    249           || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
    250              $$tags $$unique
    251 
     261        if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
     262          test -n "$$unique" || unique=$$empty_fix; \
     263          $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
     264            $$tags $$unique; \
     265        fi
    252266ctags: CTAGS
    253267CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
     
    272286distclean-tags:
    273287        -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
    274 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
    275 
    276 top_distdir = ..
    277 distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
    278288
    279289distdir: $(DISTFILES)
     
    289299          if test "$$dir" != "$$file" && test "$$dir" != "."; then \
    290300            dir="/$$dir"; \
    291             $(mkinstalldirs) "$(distdir)$$dir"; \
     301            $(mkdir_p) "$(distdir)$$dir"; \
    292302          else \
    293303            dir=''; \
     
    307317check: check-am
    308318all-am: Makefile $(PROGRAMS) $(HEADERS)
    309 
    310319installdirs:
    311         $(mkinstalldirs) $(DESTDIR)$(bindir)
     320        for dir in "$(DESTDIR)$(bindir)"; do \
     321          test -z "$$dir" || $(mkdir_p) "$$dir"; \
     322        done
    312323install: install-am
    313324install-exec: install-exec-am
     
    348359dvi-am:
    349360
     361html: html-am
     362
    350363info: info-am
    351364
     
    383396.PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \
    384397        clean-generic ctags distclean distclean-compile \
    385         distclean-generic distclean-tags distdir dvi dvi-am info \
    386         info-am install install-am install-binPROGRAMS install-data \
    387         install-data-am install-exec install-exec-am install-info \
    388         install-info-am install-man install-strip installcheck \
    389         installcheck-am installdirs maintainer-clean \
     398        distclean-generic distclean-tags distdir dvi dvi-am html \
     399        html-am info info-am install install-am install-binPROGRAMS \
     400        install-data install-data-am install-exec install-exec-am \
     401        install-info install-info-am install-man install-strip \
     402        installcheck installcheck-am installdirs maintainer-clean \
    390403        maintainer-clean-generic mostlyclean mostlyclean-compile \
    391404        mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \
  • orxonox/branches/sound/gui/Makefile.in

    r2613 r2964  
    1 # Makefile.in generated by automake 1.7.9 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@
     
    3638PRE_UNINSTALL = :
    3739POST_UNINSTALL = :
     40bin_PROGRAMS = gui$(EXEEXT)
     41subdir = gui
     42DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \
     43        $(srcdir)/Makefile.in
     44ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
     45am__aclocal_m4_deps = $(top_srcdir)/configure.ac
     46am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
     47        $(ACLOCAL_M4)
     48mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
     49CONFIG_HEADER = $(top_builddir)/config.h
     50CONFIG_CLEAN_FILES =
     51am__installdirs = "$(DESTDIR)$(bindir)"
     52binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
     53PROGRAMS = $(bin_PROGRAMS)
     54am_gui_OBJECTS = orxonox_gui.$(OBJEXT) orxonox_gui_video.$(OBJEXT) \
     55        orxonox_gui_audio.$(OBJEXT) orxonox_gui_exec.$(OBJEXT) \
     56        orxonox_gui_flags.$(OBJEXT) orxonox_gui_banner.$(OBJEXT) \
     57        orxonox_gui_keys.$(OBJEXT)
     58gui_OBJECTS = $(am_gui_OBJECTS)
     59gui_LDADD = $(LDADD)
     60DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
     61depcomp = $(SHELL) $(top_srcdir)/depcomp
     62am__depfiles_maybe = depfiles
     63@AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/orxonox_gui.Po \
     64@AMDEP_TRUE@    ./$(DEPDIR)/orxonox_gui_audio.Po \
     65@AMDEP_TRUE@    ./$(DEPDIR)/orxonox_gui_banner.Po \
     66@AMDEP_TRUE@    ./$(DEPDIR)/orxonox_gui_exec.Po \
     67@AMDEP_TRUE@    ./$(DEPDIR)/orxonox_gui_flags.Po \
     68@AMDEP_TRUE@    ./$(DEPDIR)/orxonox_gui_keys.Po \
     69@AMDEP_TRUE@    ./$(DEPDIR)/orxonox_gui_video.Po
     70CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
     71        $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
     72CXXLD = $(CXX)
     73CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \
     74        -o $@
     75SOURCES = $(gui_SOURCES)
     76DIST_SOURCES = $(gui_SOURCES)
     77HEADERS = $(noinst_HEADERS)
     78ETAGS = etags
     79CTAGS = ctags
     80DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
    3881ACLOCAL = @ACLOCAL@
    3982AMDEP_FALSE = @AMDEP_FALSE@
     
    104147localstatedir = @localstatedir@
    105148mandir = @mandir@
     149mkdir_p = @mkdir_p@
    106150oldincludedir = @oldincludedir@
    107151prefix = @prefix@
     
    112156target_alias = @target_alias@
    113157AM_CXXFLAGS = `pkg-config --cflags gtk+-2.0` $(MSBITFIELDS)
    114 
    115 #AM_LDFLAGS=`pkg-config --libs  gtk+-2.0`
    116 bin_PROGRAMS = gui
    117158gui_SOURCES = orxonox_gui.cc orxonox_gui_video.cc       orxonox_gui_audio.cc orxonox_gui_exec.cc orxonox_gui_flags.cc orxonox_gui_banner.cc orxonox_gui_keys.cc
    118 
    119159noinst_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
    120160
     
    128168#TESTS=chk
    129169EXTRA_DIST = rc banner.xpm
    130 subdir = gui
    131 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
    132 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
    133 CONFIG_HEADER = $(top_builddir)/config.h
    134 CONFIG_CLEAN_FILES =
    135 bin_PROGRAMS = gui$(EXEEXT)
    136 PROGRAMS = $(bin_PROGRAMS)
    137 
    138 am_gui_OBJECTS = orxonox_gui.$(OBJEXT) orxonox_gui_video.$(OBJEXT) \
    139         orxonox_gui_audio.$(OBJEXT) orxonox_gui_exec.$(OBJEXT) \
    140         orxonox_gui_flags.$(OBJEXT) orxonox_gui_banner.$(OBJEXT) \
    141         orxonox_gui_keys.$(OBJEXT)
    142 gui_OBJECTS = $(am_gui_OBJECTS)
    143 gui_LDADD = $(LDADD)
    144 gui_DEPENDENCIES =
    145 gui_LDFLAGS =
    146 
    147 DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)
    148 depcomp = $(SHELL) $(top_srcdir)/depcomp
    149 am__depfiles_maybe = depfiles
    150 @AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/orxonox_gui.Po \
    151 @AMDEP_TRUE@    ./$(DEPDIR)/orxonox_gui_audio.Po \
    152 @AMDEP_TRUE@    ./$(DEPDIR)/orxonox_gui_banner.Po \
    153 @AMDEP_TRUE@    ./$(DEPDIR)/orxonox_gui_exec.Po \
    154 @AMDEP_TRUE@    ./$(DEPDIR)/orxonox_gui_flags.Po \
    155 @AMDEP_TRUE@    ./$(DEPDIR)/orxonox_gui_keys.Po \
    156 @AMDEP_TRUE@    ./$(DEPDIR)/orxonox_gui_video.Po
    157 CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
    158         $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
    159 CXXLD = $(CXX)
    160 CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \
    161         -o $@
    162 DIST_SOURCES = $(gui_SOURCES)
    163 HEADERS = $(noinst_HEADERS)
    164 
    165 DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.in Makefile.am
    166 SOURCES = $(gui_SOURCES)
    167 
    168170all: all-am
    169171
    170172.SUFFIXES:
    171173.SUFFIXES: .cc .o .obj
    172 $(srcdir)/Makefile.in:  Makefile.am  $(top_srcdir)/configure.ac $(ACLOCAL_M4)
     174$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
     175        @for dep in $?; do \
     176          case '$(am__configure_deps)' in \
     177            *$$dep*) \
     178              cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
     179                && exit 0; \
     180              exit 1;; \
     181          esac; \
     182        done; \
     183        echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  gui/Makefile'; \
    173184        cd $(top_srcdir) && \
    174185          $(AUTOMAKE) --gnu  gui/Makefile
    175 Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
    176         cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
    177 binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
     186.PRECIOUS: Makefile
     187Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     188        @case '$?' in \
     189          *config.status*) \
     190            cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
     191          *) \
     192            echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
     193            cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
     194        esac;
     195
     196$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
     197        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
     198
     199$(top_srcdir)/configure:  $(am__configure_deps)
     200        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
     201$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
     202        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
    178203install-binPROGRAMS: $(bin_PROGRAMS)
    179204        @$(NORMAL_INSTALL)
    180         $(mkinstalldirs) $(DESTDIR)$(bindir)
     205        test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"
    181206        @list='$(bin_PROGRAMS)'; for p in $$list; do \
    182207          p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
     
    184209          ; then \
    185210            f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
    186            echo " $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \
    187            $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f || exit 1; \
     211           echo " $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \
     212           $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
    188213          else :; fi; \
    189214        done
     
    193218        @list='$(bin_PROGRAMS)'; for p in $$list; do \
    194219          f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
    195           echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
    196           rm -f $(DESTDIR)$(bindir)/$$f; \
     220          echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
     221          rm -f "$(DESTDIR)$(bindir)/$$f"; \
    197222        done
    198223
     
    204229
    205230mostlyclean-compile:
    206         -rm -f *.$(OBJEXT) core *.core
     231        -rm -f *.$(OBJEXT)
    207232
    208233distclean-compile:
     
    218243
    219244.cc.o:
    220 @am__fastdepCXX_TRUE@   if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
    221 @am__fastdepCXX_TRUE@     -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \
    222 @am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
    223 @am__fastdepCXX_TRUE@   else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
    224 @am__fastdepCXX_TRUE@   fi
     245@am__fastdepCXX_TRUE@   if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
     246@am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
    225247@AMDEP_TRUE@@am__fastdepCXX_FALSE@      source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
    226248@AMDEP_TRUE@@am__fastdepCXX_FALSE@      depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
    227249@AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
    228 @am__fastdepCXX_FALSE@  $(CXXCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
     250@am__fastdepCXX_FALSE@  $(CXXCOMPILE) -c -o $@ $<
    229251
    230252.cc.obj:
    231 @am__fastdepCXX_TRUE@   if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
    232 @am__fastdepCXX_TRUE@     -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`; \
    233 @am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
    234 @am__fastdepCXX_TRUE@   else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
    235 @am__fastdepCXX_TRUE@   fi
     253@am__fastdepCXX_TRUE@   if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
     254@am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
    236255@AMDEP_TRUE@@am__fastdepCXX_FALSE@      source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
    237256@AMDEP_TRUE@@am__fastdepCXX_FALSE@      depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
    238257@AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
    239 @am__fastdepCXX_FALSE@  $(CXXCOMPILE) -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`
     258@am__fastdepCXX_FALSE@  $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
    240259uninstall-info-am:
    241 
    242 ETAGS = etags
    243 ETAGSFLAGS =
    244 
    245 CTAGS = ctags
    246 CTAGSFLAGS =
    247 
    248 tags: TAGS
    249260
    250261ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
     
    256267               END { for (i in files) print i; }'`; \
    257268        mkid -fID $$unique
     269tags: TAGS
    258270
    259271TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
     
    267279          $(AWK) '    { files[$$0] = 1; } \
    268280               END { for (i in files) print i; }'`; \
    269         test -z "$(ETAGS_ARGS)$$tags$$unique" \
    270           || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
    271              $$tags $$unique
    272 
     281        if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
     282          test -n "$$unique" || unique=$$empty_fix; \
     283          $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
     284            $$tags $$unique; \
     285        fi
    273286ctags: CTAGS
    274287CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
     
    293306distclean-tags:
    294307        -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
    295 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
    296 
    297 top_distdir = ..
    298 distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
    299308
    300309distdir: $(DISTFILES)
     
    310319          if test "$$dir" != "$$file" && test "$$dir" != "."; then \
    311320            dir="/$$dir"; \
    312             $(mkinstalldirs) "$(distdir)$$dir"; \
     321            $(mkdir_p) "$(distdir)$$dir"; \
    313322          else \
    314323            dir=''; \
     
    328337check: check-am
    329338all-am: Makefile $(PROGRAMS) $(HEADERS)
    330 
    331339installdirs:
    332         $(mkinstalldirs) $(DESTDIR)$(bindir)
     340        for dir in "$(DESTDIR)$(bindir)"; do \
     341          test -z "$$dir" || $(mkdir_p) "$$dir"; \
     342        done
    333343install: install-am
    334344install-exec: install-exec-am
     
    369379dvi-am:
    370380
     381html: html-am
     382
    371383info: info-am
    372384
     
    404416.PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \
    405417        clean-generic ctags distclean distclean-compile \
    406         distclean-generic distclean-tags distdir dvi dvi-am info \
    407         info-am install install-am install-binPROGRAMS install-data \
    408         install-data-am install-exec install-exec-am install-info \
    409         install-info-am install-man install-strip installcheck \
    410         installcheck-am installdirs maintainer-clean \
     418        distclean-generic distclean-tags distdir dvi dvi-am html \
     419        html-am info info-am install install-am install-binPROGRAMS \
     420        install-data install-data-am install-exec install-exec-am \
     421        install-info install-info-am install-man install-strip \
     422        installcheck installcheck-am installdirs maintainer-clean \
    411423        maintainer-clean-generic mostlyclean mostlyclean-compile \
    412424        mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \
  • orxonox/branches/sound/src/Makefile

    r2854 r2964  
    1 # Makefile.in generated by automake 1.7.9 from Makefile.am.
     1# Makefile.in generated by automake 1.8.5 from Makefile.am.
    22# src/Makefile.  Generated from Makefile.in by configure.
    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,
     
    1515
    1616
     17
     18SOURCES = $(orxonox_SOURCES) $(sound_SOURCES)
     19
    1720srcdir = .
    1821top_srcdir = ..
     
    2225pkgincludedir = $(includedir)/orxonox
    2326top_builddir = ..
    24 
    2527am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
    26 INSTALL = /usr/bin/install -c
     28INSTALL = /bin/install -c
    2729install_sh_DATA = $(install_sh) -c -m 644
    2830install_sh_PROGRAM = $(install_sh) -c
     
    3638PRE_UNINSTALL = :
    3739POST_UNINSTALL = :
    38 ACLOCAL = ${SHELL} /root/orxonox/branches/sound/missing --run aclocal-1.7
     40bin_PROGRAMS = orxonox$(EXEEXT) sound$(EXEEXT)
     41subdir = src
     42DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \
     43        $(srcdir)/Makefile.in INSTALL
     44ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
     45am__aclocal_m4_deps = $(top_srcdir)/configure.ac
     46am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
     47        $(ACLOCAL_M4)
     48mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
     49CONFIG_HEADER = $(top_builddir)/config.h
     50CONFIG_CLEAN_FILES =
     51am__installdirs = "$(DESTDIR)$(bindir)"
     52binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
     53PROGRAMS = $(bin_PROGRAMS)
     54am_orxonox_OBJECTS = orxonox.$(OBJEXT) world.$(OBJEXT) \
     55        player.$(OBJEXT) data_tank.$(OBJEXT) world_entity.$(OBJEXT) \
     56        vector.$(OBJEXT) camera.$(OBJEXT) collision.$(OBJEXT) \
     57        command_node.$(OBJEXT) ini_parser.$(OBJEXT) keynames.$(OBJEXT) \
     58        track.$(OBJEXT) base_entity.$(OBJEXT) game_loader.$(OBJEXT) \
     59        campaign.$(OBJEXT) story_entity.$(OBJEXT)
     60orxonox_OBJECTS = $(am_orxonox_OBJECTS)
     61orxonox_LDADD = $(LDADD)
     62am_sound_OBJECTS = sound_test.$(OBJEXT) sound_control.$(OBJEXT)
     63sound_OBJECTS = $(am_sound_OBJECTS)
     64sound_LDADD = $(LDADD)
     65DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
     66depcomp = $(SHELL) $(top_srcdir)/depcomp
     67am__depfiles_maybe = depfiles
     68DEP_FILES = ./$(DEPDIR)/base_entity.Po \
     69        ./$(DEPDIR)/camera.Po ./$(DEPDIR)/campaign.Po \
     70        ./$(DEPDIR)/collision.Po \
     71        ./$(DEPDIR)/command_node.Po \
     72        ./$(DEPDIR)/data_tank.Po \
     73        ./$(DEPDIR)/game_loader.Po \
     74        ./$(DEPDIR)/ini_parser.Po ./$(DEPDIR)/keynames.Po \
     75        ./$(DEPDIR)/orxonox.Po ./$(DEPDIR)/player.Po \
     76        ./$(DEPDIR)/sound_control.Po \
     77        ./$(DEPDIR)/sound_test.Po \
     78        ./$(DEPDIR)/story_entity.Po ./$(DEPDIR)/track.Po \
     79        ./$(DEPDIR)/vector.Po ./$(DEPDIR)/world.Po \
     80        ./$(DEPDIR)/world_entity.Po
     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) $(sound_SOURCES)
     87DIST_SOURCES = $(orxonox_SOURCES) $(sound_SOURCES)
     88HEADERS = $(noinst_HEADERS)
     89ETAGS = etags
     90CTAGS = ctags
     91DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
     92ACLOCAL = ${SHELL} /home/bensch/svn/orxonox/branches/sound/missing --run aclocal-1.8
    3993AMDEP_FALSE = #
    4094AMDEP_TRUE =
    41 AMTAR = ${SHELL} /root/orxonox/branches/sound/missing --run tar
    42 AUTOCONF = ${SHELL} /root/orxonox/branches/sound/missing --run autoconf
    43 AUTOHEADER = ${SHELL} /root/orxonox/branches/sound/missing --run autoheader
    44 AUTOMAKE = ${SHELL} /root/orxonox/branches/sound/missing --run automake-1.7
     95AMTAR = ${SHELL} /home/bensch/svn/orxonox/branches/sound/missing --run tar
     96AUTOCONF = ${SHELL} /home/bensch/svn/orxonox/branches/sound/missing --run autoconf
     97AUTOHEADER = ${SHELL} /home/bensch/svn/orxonox/branches/sound/missing --run autoheader
     98AUTOMAKE = ${SHELL} /home/bensch/svn/orxonox/branches/sound/missing --run automake-1.8
    4599AWK = gawk
    46100CC = gcc
     
    66120LDFLAGS =
    67121LIBOBJS =
    68 LIBS = -lm  -lGL -lGLU -lSDL_mixer -lSDL -lpthread -Wl,--export-dynamic -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 
     122LIBS = -lm  -lGL -lGLU -lSDL -lSDL_mixer -lpthread -Wl,--export-dynamic -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 
    69123LTLIBOBJS =
    70 MAKEINFO = ${SHELL} /root/orxonox/branches/sound/missing --run makeinfo
     124MAKEINFO = ${SHELL} /home/bensch/svn/orxonox/branches/sound/missing --run makeinfo
    71125MSBITFIELDS =
    72126OBJEXT = o
     
    83137VERSION = 0.1-pre-alpha
    84138ac_ct_CC = gcc
    85 ac_ct_CXX = g++
     139ac_ct_CXX =
    86140ac_ct_STRIP =
    87141am__fastdepCC_FALSE = #
     
    99153includedir = ${prefix}/include
    100154infodir = ${prefix}/info
    101 install_sh = /root/orxonox/branches/sound/install-sh
     155install_sh = /home/bensch/svn/orxonox/branches/sound/install-sh
    102156libdir = ${exec_prefix}/lib
    103157libexecdir = ${exec_prefix}/libexec
    104158localstatedir = ${prefix}/var
    105159mandir = ${prefix}/man
     160mkdir_p = mkdir -p -- .
    106161oldincludedir = /usr/include
    107162prefix = /usr/local
     
    113168AM_CXXFLAGS = "-I/usr/X11R6/include"
    114169AM_LDFLAGS = "-L/usr/Mesa-6.0.1/lib  -L/usr/X11R6/lib -lXt -lX11" $(MWINDOWS)
    115 
    116 
    117 #"-O3 -pedantic -fPIC -ffast-math -I/usr/X11R6/include"
    118 bin_PROGRAMS = orxonox sound
    119170orxonox_SOURCES = orxonox.cc world.cc player.cc data_tank.cc world_entity.cc vector.cc camera.cc collision.cc command_node.cc ini_parser.cc keynames.cc track.cc base_entity.cc game_loader.cc campaign.cc story_entity.cc
    120 
    121171sound_SOURCES = sound_test.cc sound_control.cc
    122 
    123172noinst_HEADERS = ability.h data_tank.h npc.h stdincl.h ai.h environment.h orxonox.h synchronisable.h base_entity.h error.h player.h track.h camera.h ini_parser.h power_up.h vector.h collision.h keynames.h proto_class.h world.h command_node.h list.h shoot_laser.h world_entity.h coordinates.h message_structures.h shoot_rocket.h
    124 subdir = src
    125 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
    126 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
    127 CONFIG_HEADER = $(top_builddir)/config.h
    128 CONFIG_CLEAN_FILES =
    129 bin_PROGRAMS = orxonox$(EXEEXT) sound$(EXEEXT)
    130 PROGRAMS = $(bin_PROGRAMS)
    131 
    132 am_orxonox_OBJECTS = orxonox.$(OBJEXT) world.$(OBJEXT) player.$(OBJEXT) \
    133         data_tank.$(OBJEXT) world_entity.$(OBJEXT) vector.$(OBJEXT) \
    134         camera.$(OBJEXT) collision.$(OBJEXT) command_node.$(OBJEXT) \
    135         ini_parser.$(OBJEXT) keynames.$(OBJEXT) track.$(OBJEXT) \
    136         base_entity.$(OBJEXT) game_loader.$(OBJEXT) campaign.$(OBJEXT) \
    137         story_entity.$(OBJEXT)
    138 orxonox_OBJECTS = $(am_orxonox_OBJECTS)
    139 orxonox_LDADD = $(LDADD)
    140 orxonox_DEPENDENCIES =
    141 orxonox_LDFLAGS =
    142 am_sound_OBJECTS = sound_test.$(OBJEXT) sound_control.$(OBJEXT)
    143 sound_OBJECTS = $(am_sound_OBJECTS)
    144 sound_LDADD = $(LDADD)
    145 sound_DEPENDENCIES =
    146 sound_LDFLAGS =
    147 
    148 DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)
    149 depcomp = $(SHELL) $(top_srcdir)/depcomp
    150 am__depfiles_maybe = depfiles
    151 DEP_FILES = ./$(DEPDIR)/base_entity.Po ./$(DEPDIR)/camera.Po \
    152         ./$(DEPDIR)/campaign.Po ./$(DEPDIR)/collision.Po \
    153         ./$(DEPDIR)/command_node.Po \
    154         ./$(DEPDIR)/data_tank.Po ./$(DEPDIR)/game_loader.Po \
    155         ./$(DEPDIR)/ini_parser.Po ./$(DEPDIR)/keynames.Po \
    156         ./$(DEPDIR)/orxonox.Po ./$(DEPDIR)/player.Po \
    157         ./$(DEPDIR)/sound_control.Po \
    158         ./$(DEPDIR)/sound_test.Po \
    159         ./$(DEPDIR)/story_entity.Po ./$(DEPDIR)/track.Po \
    160         ./$(DEPDIR)/vector.Po ./$(DEPDIR)/world.Po \
    161         ./$(DEPDIR)/world_entity.Po
    162 CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
    163         $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
    164 CXXLD = $(CXX)
    165 CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \
    166         -o $@
    167 DIST_SOURCES = $(orxonox_SOURCES) $(sound_SOURCES)
    168 HEADERS = $(noinst_HEADERS)
    169 
    170 DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.in INSTALL \
    171         Makefile.am
    172 SOURCES = $(orxonox_SOURCES) $(sound_SOURCES)
    173 
    174173all: all-am
    175174
    176175.SUFFIXES:
    177176.SUFFIXES: .cc .o .obj
    178 $(srcdir)/Makefile.in:  Makefile.am  $(top_srcdir)/configure.ac $(ACLOCAL_M4)
     177$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
     178        @for dep in $?; do \
     179          case '$(am__configure_deps)' in \
     180            *$$dep*) \
     181              cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
     182                && exit 0; \
     183              exit 1;; \
     184          esac; \
     185        done; \
     186        echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  src/Makefile'; \
    179187        cd $(top_srcdir) && \
    180188          $(AUTOMAKE) --gnu  src/Makefile
    181 Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
    182         cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
    183 binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
     189.PRECIOUS: Makefile
     190Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     191        @case '$?' in \
     192          *config.status*) \
     193            cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
     194          *) \
     195            echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
     196            cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
     197        esac;
     198
     199$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
     200        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
     201
     202$(top_srcdir)/configure:  $(am__configure_deps)
     203        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
     204$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
     205        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
    184206install-binPROGRAMS: $(bin_PROGRAMS)
    185207        @$(NORMAL_INSTALL)
    186         $(mkinstalldirs) $(DESTDIR)$(bindir)
     208        test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"
    187209        @list='$(bin_PROGRAMS)'; for p in $$list; do \
    188210          p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
     
    190212          ; then \
    191213            f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
    192            echo " $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \
    193            $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f || exit 1; \
     214           echo " $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \
     215           $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
    194216          else :; fi; \
    195217        done
     
    199221        @list='$(bin_PROGRAMS)'; for p in $$list; do \
    200222          f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
    201           echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
    202           rm -f $(DESTDIR)$(bindir)/$$f; \
     223          echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
     224          rm -f "$(DESTDIR)$(bindir)/$$f"; \
    203225        done
    204226
     
    213235
    214236mostlyclean-compile:
    215         -rm -f *.$(OBJEXT) core *.core
     237        -rm -f *.$(OBJEXT)
    216238
    217239distclean-compile:
     
    238260
    239261.cc.o:
    240         if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
    241           -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \
    242         then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
    243         else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
    244         fi
     262        if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
     263        then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
    245264#       source='$<' object='$@' libtool=no \
    246265#       depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' \
    247266#       $(CXXDEPMODE) $(depcomp) \
    248 #       $(CXXCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
     267#       $(CXXCOMPILE) -c -o $@ $<
    249268
    250269.cc.obj:
    251         if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
    252           -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`; \
    253         then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
    254         else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
    255         fi
     270        if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
     271        then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
    256272#       source='$<' object='$@' libtool=no \
    257273#       depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' \
    258274#       $(CXXDEPMODE) $(depcomp) \
    259 #       $(CXXCOMPILE) -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`
     275#       $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
    260276uninstall-info-am:
    261 
    262 ETAGS = etags
    263 ETAGSFLAGS =
    264 
    265 CTAGS = ctags
    266 CTAGSFLAGS =
    267 
    268 tags: TAGS
    269277
    270278ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
     
    276284               END { for (i in files) print i; }'`; \
    277285        mkid -fID $$unique
     286tags: TAGS
    278287
    279288TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
     
    287296          $(AWK) '    { files[$$0] = 1; } \
    288297               END { for (i in files) print i; }'`; \
    289         test -z "$(ETAGS_ARGS)$$tags$$unique" \
    290           || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
    291              $$tags $$unique
    292 
     298        if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
     299          test -n "$$unique" || unique=$$empty_fix; \
     300          $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
     301            $$tags $$unique; \
     302        fi
    293303ctags: CTAGS
    294304CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
     
    313323distclean-tags:
    314324        -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
    315 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
    316 
    317 top_distdir = ..
    318 distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
    319325
    320326distdir: $(DISTFILES)
     
    330336          if test "$$dir" != "$$file" && test "$$dir" != "."; then \
    331337            dir="/$$dir"; \
    332             $(mkinstalldirs) "$(distdir)$$dir"; \
     338            $(mkdir_p) "$(distdir)$$dir"; \
    333339          else \
    334340            dir=''; \
     
    348354check: check-am
    349355all-am: Makefile $(PROGRAMS) $(HEADERS)
    350 
    351356installdirs:
    352         $(mkinstalldirs) $(DESTDIR)$(bindir)
     357        for dir in "$(DESTDIR)$(bindir)"; do \
     358          test -z "$$dir" || $(mkdir_p) "$$dir"; \
     359        done
    353360install: install-am
    354361install-exec: install-exec-am
     
    389396dvi-am:
    390397
     398html: html-am
     399
    391400info: info-am
    392401
     
    424433.PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \
    425434        clean-generic ctags distclean distclean-compile \
    426         distclean-generic distclean-tags distdir dvi dvi-am info \
    427         info-am install install-am install-binPROGRAMS install-data \
    428         install-data-am install-exec install-exec-am install-info \
    429         install-info-am install-man install-strip installcheck \
    430         installcheck-am installdirs maintainer-clean \
     435        distclean-generic distclean-tags distdir dvi dvi-am html \
     436        html-am info info-am install install-am install-binPROGRAMS \
     437        install-data install-data-am install-exec install-exec-am \
     438        install-info install-info-am install-man install-strip \
     439        installcheck installcheck-am installdirs maintainer-clean \
    431440        maintainer-clean-generic mostlyclean mostlyclean-compile \
    432441        mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \
  • orxonox/branches/sound/src/Makefile.in

    r2854 r2964  
    1 # Makefile.in generated by automake 1.7.9 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) $(sound_SOURCES)
    1619
    1720srcdir = @srcdir@
     
    2225pkgincludedir = $(includedir)/@PACKAGE@
    2326top_builddir = ..
    24 
    2527am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
    2628INSTALL = @INSTALL@
     
    3638PRE_UNINSTALL = :
    3739POST_UNINSTALL = :
     40bin_PROGRAMS = orxonox$(EXEEXT) sound$(EXEEXT)
     41subdir = src
     42DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \
     43        $(srcdir)/Makefile.in INSTALL
     44ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
     45am__aclocal_m4_deps = $(top_srcdir)/configure.ac
     46am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
     47        $(ACLOCAL_M4)
     48mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
     49CONFIG_HEADER = $(top_builddir)/config.h
     50CONFIG_CLEAN_FILES =
     51am__installdirs = "$(DESTDIR)$(bindir)"
     52binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
     53PROGRAMS = $(bin_PROGRAMS)
     54am_orxonox_OBJECTS = orxonox.$(OBJEXT) world.$(OBJEXT) \
     55        player.$(OBJEXT) data_tank.$(OBJEXT) world_entity.$(OBJEXT) \
     56        vector.$(OBJEXT) camera.$(OBJEXT) collision.$(OBJEXT) \
     57        command_node.$(OBJEXT) ini_parser.$(OBJEXT) keynames.$(OBJEXT) \
     58        track.$(OBJEXT) base_entity.$(OBJEXT) game_loader.$(OBJEXT) \
     59        campaign.$(OBJEXT) story_entity.$(OBJEXT)
     60orxonox_OBJECTS = $(am_orxonox_OBJECTS)
     61orxonox_LDADD = $(LDADD)
     62am_sound_OBJECTS = sound_test.$(OBJEXT) sound_control.$(OBJEXT)
     63sound_OBJECTS = $(am_sound_OBJECTS)
     64sound_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)/base_entity.Po \
     69@AMDEP_TRUE@    ./$(DEPDIR)/camera.Po ./$(DEPDIR)/campaign.Po \
     70@AMDEP_TRUE@    ./$(DEPDIR)/collision.Po \
     71@AMDEP_TRUE@    ./$(DEPDIR)/command_node.Po \
     72@AMDEP_TRUE@    ./$(DEPDIR)/data_tank.Po \
     73@AMDEP_TRUE@    ./$(DEPDIR)/game_loader.Po \
     74@AMDEP_TRUE@    ./$(DEPDIR)/ini_parser.Po ./$(DEPDIR)/keynames.Po \
     75@AMDEP_TRUE@    ./$(DEPDIR)/orxonox.Po ./$(DEPDIR)/player.Po \
     76@AMDEP_TRUE@    ./$(DEPDIR)/sound_control.Po \
     77@AMDEP_TRUE@    ./$(DEPDIR)/sound_test.Po \
     78@AMDEP_TRUE@    ./$(DEPDIR)/story_entity.Po ./$(DEPDIR)/track.Po \
     79@AMDEP_TRUE@    ./$(DEPDIR)/vector.Po ./$(DEPDIR)/world.Po \
     80@AMDEP_TRUE@    ./$(DEPDIR)/world_entity.Po
     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) $(sound_SOURCES)
     87DIST_SOURCES = $(orxonox_SOURCES) $(sound_SOURCES)
     88HEADERS = $(noinst_HEADERS)
     89ETAGS = etags
     90CTAGS = ctags
     91DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
    3892ACLOCAL = @ACLOCAL@
    3993AMDEP_FALSE = @AMDEP_FALSE@
     
    104158localstatedir = @localstatedir@
    105159mandir = @mandir@
     160mkdir_p = @mkdir_p@
    106161oldincludedir = @oldincludedir@
    107162prefix = @prefix@
     
    113168AM_CXXFLAGS = "-I/usr/X11R6/include"
    114169AM_LDFLAGS = "-L/usr/Mesa-6.0.1/lib  -L/usr/X11R6/lib -lXt -lX11" $(MWINDOWS)
    115 
    116 
    117 #"-O3 -pedantic -fPIC -ffast-math -I/usr/X11R6/include"
    118 bin_PROGRAMS = orxonox sound
    119170orxonox_SOURCES = orxonox.cc world.cc player.cc data_tank.cc world_entity.cc vector.cc camera.cc collision.cc command_node.cc ini_parser.cc keynames.cc track.cc base_entity.cc game_loader.cc campaign.cc story_entity.cc
    120 
    121171sound_SOURCES = sound_test.cc sound_control.cc
    122 
    123172noinst_HEADERS = ability.h data_tank.h npc.h stdincl.h ai.h environment.h orxonox.h synchronisable.h base_entity.h error.h player.h track.h camera.h ini_parser.h power_up.h vector.h collision.h keynames.h proto_class.h world.h command_node.h list.h shoot_laser.h world_entity.h coordinates.h message_structures.h shoot_rocket.h
    124 subdir = src
    125 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
    126 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
    127 CONFIG_HEADER = $(top_builddir)/config.h
    128 CONFIG_CLEAN_FILES =
    129 bin_PROGRAMS = orxonox$(EXEEXT) sound$(EXEEXT)
    130 PROGRAMS = $(bin_PROGRAMS)
    131 
    132 am_orxonox_OBJECTS = orxonox.$(OBJEXT) world.$(OBJEXT) player.$(OBJEXT) \
    133         data_tank.$(OBJEXT) world_entity.$(OBJEXT) vector.$(OBJEXT) \
    134         camera.$(OBJEXT) collision.$(OBJEXT) command_node.$(OBJEXT) \
    135         ini_parser.$(OBJEXT) keynames.$(OBJEXT) track.$(OBJEXT) \
    136         base_entity.$(OBJEXT) game_loader.$(OBJEXT) campaign.$(OBJEXT) \
    137         story_entity.$(OBJEXT)
    138 orxonox_OBJECTS = $(am_orxonox_OBJECTS)
    139 orxonox_LDADD = $(LDADD)
    140 orxonox_DEPENDENCIES =
    141 orxonox_LDFLAGS =
    142 am_sound_OBJECTS = sound_test.$(OBJEXT) sound_control.$(OBJEXT)
    143 sound_OBJECTS = $(am_sound_OBJECTS)
    144 sound_LDADD = $(LDADD)
    145 sound_DEPENDENCIES =
    146 sound_LDFLAGS =
    147 
    148 DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)
    149 depcomp = $(SHELL) $(top_srcdir)/depcomp
    150 am__depfiles_maybe = depfiles
    151 @AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/base_entity.Po ./$(DEPDIR)/camera.Po \
    152 @AMDEP_TRUE@    ./$(DEPDIR)/campaign.Po ./$(DEPDIR)/collision.Po \
    153 @AMDEP_TRUE@    ./$(DEPDIR)/command_node.Po \
    154 @AMDEP_TRUE@    ./$(DEPDIR)/data_tank.Po ./$(DEPDIR)/game_loader.Po \
    155 @AMDEP_TRUE@    ./$(DEPDIR)/ini_parser.Po ./$(DEPDIR)/keynames.Po \
    156 @AMDEP_TRUE@    ./$(DEPDIR)/orxonox.Po ./$(DEPDIR)/player.Po \
    157 @AMDEP_TRUE@    ./$(DEPDIR)/sound_control.Po \
    158 @AMDEP_TRUE@    ./$(DEPDIR)/sound_test.Po \
    159 @AMDEP_TRUE@    ./$(DEPDIR)/story_entity.Po ./$(DEPDIR)/track.Po \
    160 @AMDEP_TRUE@    ./$(DEPDIR)/vector.Po ./$(DEPDIR)/world.Po \
    161 @AMDEP_TRUE@    ./$(DEPDIR)/world_entity.Po
    162 CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
    163         $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
    164 CXXLD = $(CXX)
    165 CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \
    166         -o $@
    167 DIST_SOURCES = $(orxonox_SOURCES) $(sound_SOURCES)
    168 HEADERS = $(noinst_HEADERS)
    169 
    170 DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.in INSTALL \
    171         Makefile.am
    172 SOURCES = $(orxonox_SOURCES) $(sound_SOURCES)
    173 
    174173all: all-am
    175174
    176175.SUFFIXES:
    177176.SUFFIXES: .cc .o .obj
    178 $(srcdir)/Makefile.in:  Makefile.am  $(top_srcdir)/configure.ac $(ACLOCAL_M4)
     177$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
     178        @for dep in $?; do \
     179          case '$(am__configure_deps)' in \
     180            *$$dep*) \
     181              cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
     182                && exit 0; \
     183              exit 1;; \
     184          esac; \
     185        done; \
     186        echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  src/Makefile'; \
    179187        cd $(top_srcdir) && \
    180188          $(AUTOMAKE) --gnu  src/Makefile
    181 Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
    182         cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
    183 binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
     189.PRECIOUS: Makefile
     190Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     191        @case '$?' in \
     192          *config.status*) \
     193            cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
     194          *) \
     195            echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
     196            cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
     197        esac;
     198
     199$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
     200        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
     201
     202$(top_srcdir)/configure:  $(am__configure_deps)
     203        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
     204$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
     205        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
    184206install-binPROGRAMS: $(bin_PROGRAMS)
    185207        @$(NORMAL_INSTALL)
    186         $(mkinstalldirs) $(DESTDIR)$(bindir)
     208        test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"
    187209        @list='$(bin_PROGRAMS)'; for p in $$list; do \
    188210          p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
     
    190212          ; then \
    191213            f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
    192            echo " $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \
    193            $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f || exit 1; \
     214           echo " $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \
     215           $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
    194216          else :; fi; \
    195217        done
     
    199221        @list='$(bin_PROGRAMS)'; for p in $$list; do \
    200222          f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
    201           echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
    202           rm -f $(DESTDIR)$(bindir)/$$f; \
     223          echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
     224          rm -f "$(DESTDIR)$(bindir)/$$f"; \
    203225        done
    204226
     
    213235
    214236mostlyclean-compile:
    215         -rm -f *.$(OBJEXT) core *.core
     237        -rm -f *.$(OBJEXT)
    216238
    217239distclean-compile:
     
    238260
    239261.cc.o:
    240 @am__fastdepCXX_TRUE@   if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
    241 @am__fastdepCXX_TRUE@     -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \
    242 @am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
    243 @am__fastdepCXX_TRUE@   else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
    244 @am__fastdepCXX_TRUE@   fi
     262@am__fastdepCXX_TRUE@   if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
     263@am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
    245264@AMDEP_TRUE@@am__fastdepCXX_FALSE@      source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
    246265@AMDEP_TRUE@@am__fastdepCXX_FALSE@      depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
    247266@AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
    248 @am__fastdepCXX_FALSE@  $(CXXCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
     267@am__fastdepCXX_FALSE@  $(CXXCOMPILE) -c -o $@ $<
    249268
    250269.cc.obj:
    251 @am__fastdepCXX_TRUE@   if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
    252 @am__fastdepCXX_TRUE@     -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`; \
    253 @am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
    254 @am__fastdepCXX_TRUE@   else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
    255 @am__fastdepCXX_TRUE@   fi
     270@am__fastdepCXX_TRUE@   if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
     271@am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
    256272@AMDEP_TRUE@@am__fastdepCXX_FALSE@      source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
    257273@AMDEP_TRUE@@am__fastdepCXX_FALSE@      depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
    258274@AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
    259 @am__fastdepCXX_FALSE@  $(CXXCOMPILE) -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`
     275@am__fastdepCXX_FALSE@  $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
    260276uninstall-info-am:
    261 
    262 ETAGS = etags
    263 ETAGSFLAGS =
    264 
    265 CTAGS = ctags
    266 CTAGSFLAGS =
    267 
    268 tags: TAGS
    269277
    270278ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
     
    276284               END { for (i in files) print i; }'`; \
    277285        mkid -fID $$unique
     286tags: TAGS
    278287
    279288TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
     
    287296          $(AWK) '    { files[$$0] = 1; } \
    288297               END { for (i in files) print i; }'`; \
    289         test -z "$(ETAGS_ARGS)$$tags$$unique" \
    290           || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
    291              $$tags $$unique
    292 
     298        if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
     299          test -n "$$unique" || unique=$$empty_fix; \
     300          $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
     301            $$tags $$unique; \
     302        fi
    293303ctags: CTAGS
    294304CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
     
    313323distclean-tags:
    314324        -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
    315 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
    316 
    317 top_distdir = ..
    318 distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
    319325
    320326distdir: $(DISTFILES)
     
    330336          if test "$$dir" != "$$file" && test "$$dir" != "."; then \
    331337            dir="/$$dir"; \
    332             $(mkinstalldirs) "$(distdir)$$dir"; \
     338            $(mkdir_p) "$(distdir)$$dir"; \
    333339          else \
    334340            dir=''; \
     
    348354check: check-am
    349355all-am: Makefile $(PROGRAMS) $(HEADERS)
    350 
    351356installdirs:
    352         $(mkinstalldirs) $(DESTDIR)$(bindir)
     357        for dir in "$(DESTDIR)$(bindir)"; do \
     358          test -z "$$dir" || $(mkdir_p) "$$dir"; \
     359        done
    353360install: install-am
    354361install-exec: install-exec-am
     
    389396dvi-am:
    390397
     398html: html-am
     399
    391400info: info-am
    392401
     
    424433.PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \
    425434        clean-generic ctags distclean distclean-compile \
    426         distclean-generic distclean-tags distdir dvi dvi-am info \
    427         info-am install install-am install-binPROGRAMS install-data \
    428         install-data-am install-exec install-exec-am install-info \
    429         install-info-am install-man install-strip installcheck \
    430         installcheck-am installdirs maintainer-clean \
     435        distclean-generic distclean-tags distdir dvi dvi-am html \
     436        html-am info info-am install install-am install-binPROGRAMS \
     437        install-data install-data-am install-exec install-exec-am \
     438        install-info install-info-am install-man install-strip \
     439        installcheck installcheck-am installdirs maintainer-clean \
    431440        maintainer-clean-generic mostlyclean mostlyclean-compile \
    432441        mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \
Note: See TracChangeset for help on using the changeset viewer.