1# generated automatically by aclocal 1.10 -*- Autoconf -*-
2
3# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4# 2005, 2006  Free Software Foundation, Inc.
5# This file is free software; the Free Software Foundation
6# gives unlimited permission to copy and/or distribute it,
7# with or without modifications, as long as this notice is preserved.
8
9# This program is distributed in the hope that it will be useful,
10# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
11# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12# PARTICULAR PURPOSE.
13
14m4_if(m4_PACKAGE_VERSION, [2.61],,
15[m4_fatal([this file was generated for autoconf 2.61.
16You have another version of autoconf.  If you want to use that,
17you should regenerate the build system entirely.], [63])])
18
19# Configure paths for SDL
20# Sam Lantinga 9/21/99
21# stolen from Manish Singh
22# stolen back from Frank Belew
23# stolen from Manish Singh
24# Shamelessly stolen from Owen Taylor
25
26dnl AM_PATH_SDL([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
27dnl Test for SDL, and define SDL_CFLAGS and SDL_LIBS
28dnl
29AC_DEFUN([AM_PATH_SDL],
30[dnl
31dnl Get the cflags and libraries from the sdl-config script
32dnl
33AC_ARG_WITH(sdl-prefix,[  --with-sdl-prefix=PFX   Prefix where SDL is installed (optional)],
34            sdl_prefix="$withval", sdl_prefix="")
35AC_ARG_WITH(sdl-exec-prefix,[  --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)],
36            sdl_exec_prefix="$withval", sdl_exec_prefix="")
37AC_ARG_ENABLE(sdltest, [  --disable-sdltest       Do not try to compile and run a test SDL program],
38		    , enable_sdltest=yes)
39
40  if test x$sdl_exec_prefix != x ; then
41    sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
42    if test x${SDL_CONFIG+set} != xset ; then
43      SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
44    fi
45  fi
46  if test x$sdl_prefix != x ; then
47    sdl_args="$sdl_args --prefix=$sdl_prefix"
48    if test x${SDL_CONFIG+set} != xset ; then
49      SDL_CONFIG=$sdl_prefix/bin/sdl-config
50    fi
51  fi
52
53  if test "x$prefix" != xNONE; then
54    PATH="$prefix/bin:$prefix/usr/bin:$PATH"
55  fi
56  AC_PATH_PROG(SDL_CONFIG, sdl-config, no, [$PATH])
57  min_sdl_version=ifelse([$1], ,0.11.0,$1)
58  AC_MSG_CHECKING(for SDL - version >= $min_sdl_version)
59  no_sdl=""
60  if test "$SDL_CONFIG" = "no" ; then
61    no_sdl=yes
62  else
63    SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
64    SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
65
66    sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
67           sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
68    sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
69           sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
70    sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
71           sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
72    if test "x$enable_sdltest" = "xyes" ; then
73      ac_save_CFLAGS="$CFLAGS"
74      ac_save_CXXFLAGS="$CXXFLAGS"
75      ac_save_LIBS="$LIBS"
76      CFLAGS="$CFLAGS $SDL_CFLAGS"
77      CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
78      LIBS="$LIBS $SDL_LIBS"
79dnl
80dnl Now check if the installed SDL is sufficiently new. (Also sanity
81dnl checks the results of sdl-config to some extent
82dnl
83      rm -f conf.sdltest
84      AC_TRY_RUN([
85#include <stdio.h>
86#include <stdlib.h>
87#include <string.h>
88#include "SDL.h"
89
90char*
91my_strdup (char *str)
92{
93  char *new_str;
94
95  if (str)
96    {
97      new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
98      strcpy (new_str, str);
99    }
100  else
101    new_str = NULL;
102
103  return new_str;
104}
105
106int main (int argc, char *argv[])
107{
108  int major, minor, micro;
109  char *tmp_version;
110
111  /* This hangs on some systems (?)
112  system ("touch conf.sdltest");
113  */
114  { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
115
116  /* HP/UX 9 (%@#!) writes to sscanf strings */
117  tmp_version = my_strdup("$min_sdl_version");
118  if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
119     printf("%s, bad version string\n", "$min_sdl_version");
120     exit(1);
121   }
122
123   if (($sdl_major_version > major) ||
124      (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
125      (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
126    {
127      return 0;
128    }
129  else
130    {
131      printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
132      printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
133      printf("*** best to upgrade to the required version.\n");
134      printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
135      printf("*** to point to the correct copy of sdl-config, and remove the file\n");
136      printf("*** config.cache before re-running configure\n");
137      return 1;
138    }
139}
140
141],, no_sdl=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
142       CFLAGS="$ac_save_CFLAGS"
143       CXXFLAGS="$ac_save_CXXFLAGS"
144       LIBS="$ac_save_LIBS"
145     fi
146  fi
147  if test "x$no_sdl" = x ; then
148     AC_MSG_RESULT(yes)
149     ifelse([$2], , :, [$2])
150  else
151     AC_MSG_RESULT(no)
152     if test "$SDL_CONFIG" = "no" ; then
153       echo "*** The sdl-config script installed by SDL could not be found"
154       echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
155       echo "*** your path, or set the SDL_CONFIG environment variable to the"
156       echo "*** full path to sdl-config."
157     else
158       if test -f conf.sdltest ; then
159        :
160       else
161          echo "*** Could not run SDL test program, checking why..."
162          CFLAGS="$CFLAGS $SDL_CFLAGS"
163          CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
164          LIBS="$LIBS $SDL_LIBS"
165          AC_TRY_LINK([
166#include <stdio.h>
167#include "SDL.h"
168
169int main(int argc, char *argv[])
170{ return 0; }
171#undef  main
172#define main K_and_R_C_main
173],      [ return 0; ],
174        [ echo "*** The test program compiled, but did not run. This usually means"
175          echo "*** that the run-time linker is not finding SDL or finding the wrong"
176          echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
177          echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
178          echo "*** to the installed location  Also, make sure you have run ldconfig if that"
179          echo "*** is required on your system"
180	  echo "***"
181          echo "*** If you have an old version installed, it is best to remove it, although"
182          echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"],
183        [ echo "*** The test program failed to compile or link. See the file config.log for the"
184          echo "*** exact error that occured. This usually means SDL was incorrectly installed"
185          echo "*** or that you have moved SDL since it was installed. In the latter case, you"
186          echo "*** may want to edit the sdl-config script: $SDL_CONFIG" ])
187          CFLAGS="$ac_save_CFLAGS"
188          CXXFLAGS="$ac_save_CXXFLAGS"
189          LIBS="$ac_save_LIBS"
190       fi
191     fi
192     SDL_CFLAGS=""
193     SDL_LIBS=""
194     ifelse([$3], , :, [$3])
195  fi
196  AC_SUBST(SDL_CFLAGS)
197  AC_SUBST(SDL_LIBS)
198  rm -f conf.sdltest
199])
200
201# Copyright (C) 2002, 2003, 2005, 2006  Free Software Foundation, Inc.
202#
203# This file is free software; the Free Software Foundation
204# gives unlimited permission to copy and/or distribute it,
205# with or without modifications, as long as this notice is preserved.
206
207# AM_AUTOMAKE_VERSION(VERSION)
208# ----------------------------
209# Automake X.Y traces this macro to ensure aclocal.m4 has been
210# generated from the m4 files accompanying Automake X.Y.
211# (This private macro should not be called outside this file.)
212AC_DEFUN([AM_AUTOMAKE_VERSION],
213[am__api_version='1.10'
214dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
215dnl require some minimum version.  Point them to the right macro.
216m4_if([$1], [1.10], [],
217      [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
218])
219
220# _AM_AUTOCONF_VERSION(VERSION)
221# -----------------------------
222# aclocal traces this macro to find the Autoconf version.
223# This is a private macro too.  Using m4_define simplifies
224# the logic in aclocal, which can simply ignore this definition.
225m4_define([_AM_AUTOCONF_VERSION], [])
226
227# AM_SET_CURRENT_AUTOMAKE_VERSION
228# -------------------------------
229# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
230# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
231AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
232[AM_AUTOMAKE_VERSION([1.10])dnl
233_AM_AUTOCONF_VERSION(m4_PACKAGE_VERSION)])
234
235# AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-
236
237# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
238#
239# This file is free software; the Free Software Foundation
240# gives unlimited permission to copy and/or distribute it,
241# with or without modifications, as long as this notice is preserved.
242
243# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
244# $ac_aux_dir to `$srcdir/foo'.  In other projects, it is set to
245# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
246#
247# Of course, Automake must honor this variable whenever it calls a
248# tool from the auxiliary directory.  The problem is that $srcdir (and
249# therefore $ac_aux_dir as well) can be either absolute or relative,
250# depending on how configure is run.  This is pretty annoying, since
251# it makes $ac_aux_dir quite unusable in subdirectories: in the top
252# source directory, any form will work fine, but in subdirectories a
253# relative path needs to be adjusted first.
254#
255# $ac_aux_dir/missing
256#    fails when called from a subdirectory if $ac_aux_dir is relative
257# $top_srcdir/$ac_aux_dir/missing
258#    fails if $ac_aux_dir is absolute,
259#    fails when called from a subdirectory in a VPATH build with
260#          a relative $ac_aux_dir
261#
262# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
263# are both prefixed by $srcdir.  In an in-source build this is usually
264# harmless because $srcdir is `.', but things will broke when you
265# start a VPATH build or use an absolute $srcdir.
266#
267# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
268# iff we strip the leading $srcdir from $ac_aux_dir.  That would be:
269#   am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
270# and then we would define $MISSING as
271#   MISSING="\${SHELL} $am_aux_dir/missing"
272# This will work as long as MISSING is not called from configure, because
273# unfortunately $(top_srcdir) has no meaning in configure.
274# However there are other variables, like CC, which are often used in
275# configure, and could therefore not use this "fixed" $ac_aux_dir.
276#
277# Another solution, used here, is to always expand $ac_aux_dir to an
278# absolute PATH.  The drawback is that using absolute paths prevent a
279# configured tree to be moved without reconfiguration.
280
281AC_DEFUN([AM_AUX_DIR_EXPAND],
282[dnl Rely on autoconf to set up CDPATH properly.
283AC_PREREQ([2.50])dnl
284# expand $ac_aux_dir to an absolute path
285am_aux_dir=`cd $ac_aux_dir && pwd`
286])
287
288# AM_CONDITIONAL                                            -*- Autoconf -*-
289
290# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006
291# Free Software Foundation, Inc.
292#
293# This file is free software; the Free Software Foundation
294# gives unlimited permission to copy and/or distribute it,
295# with or without modifications, as long as this notice is preserved.
296
297# serial 8
298
299# AM_CONDITIONAL(NAME, SHELL-CONDITION)
300# -------------------------------------
301# Define a conditional.
302AC_DEFUN([AM_CONDITIONAL],
303[AC_PREREQ(2.52)dnl
304 ifelse([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])],
305	[$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
306AC_SUBST([$1_TRUE])dnl
307AC_SUBST([$1_FALSE])dnl
308_AM_SUBST_NOTMAKE([$1_TRUE])dnl
309_AM_SUBST_NOTMAKE([$1_FALSE])dnl
310if $2; then
311  $1_TRUE=
312  $1_FALSE='#'
313else
314  $1_TRUE='#'
315  $1_FALSE=
316fi
317AC_CONFIG_COMMANDS_PRE(
318[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
319  AC_MSG_ERROR([[conditional "$1" was never defined.
320Usually this means the macro was only invoked conditionally.]])
321fi])])
322
323# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
324# Free Software Foundation, Inc.
325#
326# This file is free software; the Free Software Foundation
327# gives unlimited permission to copy and/or distribute it,
328# with or without modifications, as long as this notice is preserved.
329
330# serial 9
331
332# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
333# written in clear, in which case automake, when reading aclocal.m4,
334# will think it sees a *use*, and therefore will trigger all it's
335# C support machinery.  Also note that it means that autoscan, seeing
336# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
337
338
339# _AM_DEPENDENCIES(NAME)
340# ----------------------
341# See how the compiler implements dependency checking.
342# NAME is "CC", "CXX", "GCJ", or "OBJC".
343# We try a few techniques and use that to set a single cache variable.
344#
345# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
346# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
347# dependency, and given that the user is not expected to run this macro,
348# just rely on AC_PROG_CC.
349AC_DEFUN([_AM_DEPENDENCIES],
350[AC_REQUIRE([AM_SET_DEPDIR])dnl
351AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
352AC_REQUIRE([AM_MAKE_INCLUDE])dnl
353AC_REQUIRE([AM_DEP_TRACK])dnl
354
355ifelse([$1], CC,   [depcc="$CC"   am_compiler_list=],
356       [$1], CXX,  [depcc="$CXX"  am_compiler_list=],
357       [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
358       [$1], UPC,  [depcc="$UPC"  am_compiler_list=],
359       [$1], GCJ,  [depcc="$GCJ"  am_compiler_list='gcc3 gcc'],
360                   [depcc="$$1"   am_compiler_list=])
361
362AC_CACHE_CHECK([dependency style of $depcc],
363               [am_cv_$1_dependencies_compiler_type],
364[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
365  # We make a subdir and do the tests there.  Otherwise we can end up
366  # making bogus files that we don't know about and never remove.  For
367  # instance it was reported that on HP-UX the gcc test will end up
368  # making a dummy file named `D' -- because `-MD' means `put the output
369  # in D'.
370  mkdir conftest.dir
371  # Copy depcomp to subdir because otherwise we won't find it if we're
372  # using a relative directory.
373  cp "$am_depcomp" conftest.dir
374  cd conftest.dir
375  # We will build objects and dependencies in a subdirectory because
376  # it helps to detect inapplicable dependency modes.  For instance
377  # both Tru64's cc and ICC support -MD to output dependencies as a
378  # side effect of compilation, but ICC will put the dependencies in
379  # the current directory while Tru64 will put them in the object
380  # directory.
381  mkdir sub
382
383  am_cv_$1_dependencies_compiler_type=none
384  if test "$am_compiler_list" = ""; then
385     am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
386  fi
387  for depmode in $am_compiler_list; do
388    # Setup a source with many dependencies, because some compilers
389    # like to wrap large dependency lists on column 80 (with \), and
390    # we should not choose a depcomp mode which is confused by this.
391    #
392    # We need to recreate these files for each test, as the compiler may
393    # overwrite some of them when testing with obscure command lines.
394    # This happens at least with the AIX C compiler.
395    : > sub/conftest.c
396    for i in 1 2 3 4 5 6; do
397      echo '#include "conftst'$i'.h"' >> sub/conftest.c
398      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
399      # Solaris 8's {/usr,}/bin/sh.
400      touch sub/conftst$i.h
401    done
402    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
403
404    case $depmode in
405    nosideeffect)
406      # after this tag, mechanisms are not by side-effect, so they'll
407      # only be used when explicitly requested
408      if test "x$enable_dependency_tracking" = xyes; then
409	continue
410      else
411	break
412      fi
413      ;;
414    none) break ;;
415    esac
416    # We check with `-c' and `-o' for the sake of the "dashmstdout"
417    # mode.  It turns out that the SunPro C++ compiler does not properly
418    # handle `-M -o', and we need to detect this.
419    if depmode=$depmode \
420       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
421       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
422       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
423         >/dev/null 2>conftest.err &&
424       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
425       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
426       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
427       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
428      # icc doesn't choke on unknown options, it will just issue warnings
429      # or remarks (even with -Werror).  So we grep stderr for any message
430      # that says an option was ignored or not supported.
431      # When given -MP, icc 7.0 and 7.1 complain thusly:
432      #   icc: Command line warning: ignoring option '-M'; no argument required
433      # The diagnosis changed in icc 8.0:
434      #   icc: Command line remark: option '-MP' not supported
435      if (grep 'ignoring option' conftest.err ||
436          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
437        am_cv_$1_dependencies_compiler_type=$depmode
438        break
439      fi
440    fi
441  done
442
443  cd ..
444  rm -rf conftest.dir
445else
446  am_cv_$1_dependencies_compiler_type=none
447fi
448])
449AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
450AM_CONDITIONAL([am__fastdep$1], [
451  test "x$enable_dependency_tracking" != xno \
452  && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
453])
454
455
456# AM_SET_DEPDIR
457# -------------
458# Choose a directory name for dependency files.
459# This macro is AC_REQUIREd in _AM_DEPENDENCIES
460AC_DEFUN([AM_SET_DEPDIR],
461[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
462AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
463])
464
465
466# AM_DEP_TRACK
467# ------------
468AC_DEFUN([AM_DEP_TRACK],
469[AC_ARG_ENABLE(dependency-tracking,
470[  --disable-dependency-tracking  speeds up one-time build
471  --enable-dependency-tracking   do not reject slow dependency extractors])
472if test "x$enable_dependency_tracking" != xno; then
473  am_depcomp="$ac_aux_dir/depcomp"
474  AMDEPBACKSLASH='\'
475fi
476AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
477AC_SUBST([AMDEPBACKSLASH])dnl
478_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
479])
480
481# Generate code to set up dependency tracking.              -*- Autoconf -*-
482
483# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
484# Free Software Foundation, Inc.
485#
486# This file is free software; the Free Software Foundation
487# gives unlimited permission to copy and/or distribute it,
488# with or without modifications, as long as this notice is preserved.
489
490#serial 3
491
492# _AM_OUTPUT_DEPENDENCY_COMMANDS
493# ------------------------------
494AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
495[for mf in $CONFIG_FILES; do
496  # Strip MF so we end up with the name of the file.
497  mf=`echo "$mf" | sed -e 's/:.*$//'`
498  # Check whether this is an Automake generated Makefile or not.
499  # We used to match only the files named `Makefile.in', but
500  # some people rename them; so instead we look at the file content.
501  # Grep'ing the first line is not enough: some people post-process
502  # each Makefile.in and add a new line on top of each file to say so.
503  # Grep'ing the whole file is not good either: AIX grep has a line
504  # limit of 2048, but all sed's we know have understand at least 4000.
505  if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
506    dirpart=`AS_DIRNAME("$mf")`
507  else
508    continue
509  fi
510  # Extract the definition of DEPDIR, am__include, and am__quote
511  # from the Makefile without running `make'.
512  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
513  test -z "$DEPDIR" && continue
514  am__include=`sed -n 's/^am__include = //p' < "$mf"`
515  test -z "am__include" && continue
516  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
517  # When using ansi2knr, U may be empty or an underscore; expand it
518  U=`sed -n 's/^U = //p' < "$mf"`
519  # Find all dependency output files, they are included files with
520  # $(DEPDIR) in their names.  We invoke sed twice because it is the
521  # simplest approach to changing $(DEPDIR) to its actual value in the
522  # expansion.
523  for file in `sed -n "
524    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
525       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
526    # Make sure the directory exists.
527    test -f "$dirpart/$file" && continue
528    fdir=`AS_DIRNAME(["$file"])`
529    AS_MKDIR_P([$dirpart/$fdir])
530    # echo "creating $dirpart/$file"
531    echo '# dummy' > "$dirpart/$file"
532  done
533done
534])# _AM_OUTPUT_DEPENDENCY_COMMANDS
535
536
537# AM_OUTPUT_DEPENDENCY_COMMANDS
538# -----------------------------
539# This macro should only be invoked once -- use via AC_REQUIRE.
540#
541# This code is only required when automatic dependency tracking
542# is enabled.  FIXME.  This creates each `.P' file that we will
543# need in order to bootstrap the dependency handling code.
544AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
545[AC_CONFIG_COMMANDS([depfiles],
546     [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
547     [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
548])
549
550
551# Copyright (C) 1996, 1998, 1999, 2000, 2001, 2002, 2003, 2005
552# Free Software Foundation, Inc.
553#
554# This file is free software; the Free Software Foundation
555# gives unlimited permission to copy and/or distribute it,
556# with or without modifications, as long as this notice is preserved.
557
558# serial 3
559
560AC_DEFUN([AM_WITH_DMALLOC],
561[AC_MSG_CHECKING([if malloc debugging is wanted])
562AC_ARG_WITH(dmalloc,
563[  --with-dmalloc          use dmalloc, as in
564			  http://www.dmalloc.com/dmalloc.tar.gz],
565[if test "$withval" = yes; then
566  AC_MSG_RESULT(yes)
567  AC_DEFINE(WITH_DMALLOC,1,
568	    [Define if using the dmalloc debugging malloc package])
569  LIBS="$LIBS -ldmalloc"
570  LDFLAGS="$LDFLAGS -g"
571else
572  AC_MSG_RESULT(no)
573fi], [AC_MSG_RESULT(no)])
574])
575
576AU_DEFUN([fp_WITH_DMALLOC], [AM_WITH_DMALLOC])
577
578# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
579# Free Software Foundation, Inc.
580#
581# This file is free software; the Free Software Foundation
582# gives unlimited permission to copy and/or distribute it,
583# with or without modifications, as long as this notice is preserved.
584
585# serial 8
586
587# AM_CONFIG_HEADER is obsolete.  It has been replaced by AC_CONFIG_HEADERS.
588AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)])
589
590# Do all the work for Automake.                             -*- Autoconf -*-
591
592# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
593# 2005, 2006 Free Software Foundation, Inc.
594#
595# This file is free software; the Free Software Foundation
596# gives unlimited permission to copy and/or distribute it,
597# with or without modifications, as long as this notice is preserved.
598
599# serial 12
600
601# This macro actually does too much.  Some checks are only needed if
602# your package does certain things.  But this isn't really a big deal.
603
604# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
605# AM_INIT_AUTOMAKE([OPTIONS])
606# -----------------------------------------------
607# The call with PACKAGE and VERSION arguments is the old style
608# call (pre autoconf-2.50), which is being phased out.  PACKAGE
609# and VERSION should now be passed to AC_INIT and removed from
610# the call to AM_INIT_AUTOMAKE.
611# We support both call styles for the transition.  After
612# the next Automake release, Autoconf can make the AC_INIT
613# arguments mandatory, and then we can depend on a new Autoconf
614# release and drop the old call support.
615AC_DEFUN([AM_INIT_AUTOMAKE],
616[AC_PREREQ([2.60])dnl
617dnl Autoconf wants to disallow AM_ names.  We explicitly allow
618dnl the ones we care about.
619m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
620AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
621AC_REQUIRE([AC_PROG_INSTALL])dnl
622if test "`cd $srcdir && pwd`" != "`pwd`"; then
623  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
624  # is not polluted with repeated "-I."
625  AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
626  # test to see if srcdir already configured
627  if test -f $srcdir/config.status; then
628    AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
629  fi
630fi
631
632# test whether we have cygpath
633if test -z "$CYGPATH_W"; then
634  if (cygpath --version) >/dev/null 2>/dev/null; then
635    CYGPATH_W='cygpath -w'
636  else
637    CYGPATH_W=echo
638  fi
639fi
640AC_SUBST([CYGPATH_W])
641
642# Define the identity of the package.
643dnl Distinguish between old-style and new-style calls.
644m4_ifval([$2],
645[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
646 AC_SUBST([PACKAGE], [$1])dnl
647 AC_SUBST([VERSION], [$2])],
648[_AM_SET_OPTIONS([$1])dnl
649dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
650m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
651  [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
652 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
653 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
654
655_AM_IF_OPTION([no-define],,
656[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
657 AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
658
659# Some tools Automake needs.
660AC_REQUIRE([AM_SANITY_CHECK])dnl
661AC_REQUIRE([AC_ARG_PROGRAM])dnl
662AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
663AM_MISSING_PROG(AUTOCONF, autoconf)
664AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
665AM_MISSING_PROG(AUTOHEADER, autoheader)
666AM_MISSING_PROG(MAKEINFO, makeinfo)
667AM_PROG_INSTALL_SH
668AM_PROG_INSTALL_STRIP
669AC_REQUIRE([AM_PROG_MKDIR_P])dnl
670# We need awk for the "check" target.  The system "awk" is bad on
671# some platforms.
672AC_REQUIRE([AC_PROG_AWK])dnl
673AC_REQUIRE([AC_PROG_MAKE_SET])dnl
674AC_REQUIRE([AM_SET_LEADING_DOT])dnl
675_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
676              [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
677	      		     [_AM_PROG_TAR([v7])])])
678_AM_IF_OPTION([no-dependencies],,
679[AC_PROVIDE_IFELSE([AC_PROG_CC],
680                  [_AM_DEPENDENCIES(CC)],
681                  [define([AC_PROG_CC],
682                          defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
683AC_PROVIDE_IFELSE([AC_PROG_CXX],
684                  [_AM_DEPENDENCIES(CXX)],
685                  [define([AC_PROG_CXX],
686                          defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
687AC_PROVIDE_IFELSE([AC_PROG_OBJC],
688                  [_AM_DEPENDENCIES(OBJC)],
689                  [define([AC_PROG_OBJC],
690                          defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
691])
692])
693
694
695# When config.status generates a header, we must update the stamp-h file.
696# This file resides in the same directory as the config header
697# that is generated.  The stamp files are numbered to have different names.
698
699# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
700# loop where config.status creates the headers, so we can generate
701# our stamp files there.
702AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
703[# Compute $1's index in $config_headers.
704_am_stamp_count=1
705for _am_header in $config_headers :; do
706  case $_am_header in
707    $1 | $1:* )
708      break ;;
709    * )
710      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
711  esac
712done
713echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
714
715# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
716#
717# This file is free software; the Free Software Foundation
718# gives unlimited permission to copy and/or distribute it,
719# with or without modifications, as long as this notice is preserved.
720
721# AM_PROG_INSTALL_SH
722# ------------------
723# Define $install_sh.
724AC_DEFUN([AM_PROG_INSTALL_SH],
725[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
726install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
727AC_SUBST(install_sh)])
728
729# Copyright (C) 2003, 2005  Free Software Foundation, Inc.
730#
731# This file is free software; the Free Software Foundation
732# gives unlimited permission to copy and/or distribute it,
733# with or without modifications, as long as this notice is preserved.
734
735# serial 2
736
737# Check whether the underlying file-system supports filenames
738# with a leading dot.  For instance MS-DOS doesn't.
739AC_DEFUN([AM_SET_LEADING_DOT],
740[rm -rf .tst 2>/dev/null
741mkdir .tst 2>/dev/null
742if test -d .tst; then
743  am__leading_dot=.
744else
745  am__leading_dot=_
746fi
747rmdir .tst 2>/dev/null
748AC_SUBST([am__leading_dot])])
749
750# Check to see how 'make' treats includes.	            -*- Autoconf -*-
751
752# Copyright (C) 2001, 2002, 2003, 2005  Free Software Foundation, Inc.
753#
754# This file is free software; the Free Software Foundation
755# gives unlimited permission to copy and/or distribute it,
756# with or without modifications, as long as this notice is preserved.
757
758# serial 3
759
760# AM_MAKE_INCLUDE()
761# -----------------
762# Check to see how make treats includes.
763AC_DEFUN([AM_MAKE_INCLUDE],
764[am_make=${MAKE-make}
765cat > confinc << 'END'
766am__doit:
767	@echo done
768.PHONY: am__doit
769END
770# If we don't find an include directive, just comment out the code.
771AC_MSG_CHECKING([for style of include used by $am_make])
772am__include="#"
773am__quote=
774_am_result=none
775# First try GNU make style include.
776echo "include confinc" > confmf
777# We grep out `Entering directory' and `Leaving directory'
778# messages which can occur if `w' ends up in MAKEFLAGS.
779# In particular we don't look at `^make:' because GNU make might
780# be invoked under some other name (usually "gmake"), in which
781# case it prints its new name instead of `make'.
782if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
783   am__include=include
784   am__quote=
785   _am_result=GNU
786fi
787# Now try BSD make style include.
788if test "$am__include" = "#"; then
789   echo '.include "confinc"' > confmf
790   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
791      am__include=.include
792      am__quote="\""
793      _am_result=BSD
794   fi
795fi
796AC_SUBST([am__include])
797AC_SUBST([am__quote])
798AC_MSG_RESULT([$_am_result])
799rm -f confinc confmf
800])
801
802# Fake the existence of programs that GNU maintainers use.  -*- Autoconf -*-
803
804# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005
805# Free Software Foundation, Inc.
806#
807# This file is free software; the Free Software Foundation
808# gives unlimited permission to copy and/or distribute it,
809# with or without modifications, as long as this notice is preserved.
810
811# serial 5
812
813# AM_MISSING_PROG(NAME, PROGRAM)
814# ------------------------------
815AC_DEFUN([AM_MISSING_PROG],
816[AC_REQUIRE([AM_MISSING_HAS_RUN])
817$1=${$1-"${am_missing_run}$2"}
818AC_SUBST($1)])
819
820
821# AM_MISSING_HAS_RUN
822# ------------------
823# Define MISSING if not defined so far and test if it supports --run.
824# If it does, set am_missing_run to use it, otherwise, to nothing.
825AC_DEFUN([AM_MISSING_HAS_RUN],
826[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
827AC_REQUIRE_AUX_FILE([missing])dnl
828test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
829# Use eval to expand $SHELL
830if eval "$MISSING --run true"; then
831  am_missing_run="$MISSING --run "
832else
833  am_missing_run=
834  AC_MSG_WARN([`missing' script is too old or missing])
835fi
836])
837
838# Copyright (C) 2003, 2004, 2005, 2006  Free Software Foundation, Inc.
839#
840# This file is free software; the Free Software Foundation
841# gives unlimited permission to copy and/or distribute it,
842# with or without modifications, as long as this notice is preserved.
843
844# AM_PROG_MKDIR_P
845# ---------------
846# Check for `mkdir -p'.
847AC_DEFUN([AM_PROG_MKDIR_P],
848[AC_PREREQ([2.60])dnl
849AC_REQUIRE([AC_PROG_MKDIR_P])dnl
850dnl Automake 1.8 to 1.9.6 used to define mkdir_p.  We now use MKDIR_P,
851dnl while keeping a definition of mkdir_p for backward compatibility.
852dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
853dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
854dnl Makefile.ins that do not define MKDIR_P, so we do our own
855dnl adjustment using top_builddir (which is defined more often than
856dnl MKDIR_P).
857AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
858case $mkdir_p in
859  [[\\/$]]* | ?:[[\\/]]*) ;;
860  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
861esac
862])
863
864# Helper functions for option handling.                     -*- Autoconf -*-
865
866# Copyright (C) 2001, 2002, 2003, 2005  Free Software Foundation, Inc.
867#
868# This file is free software; the Free Software Foundation
869# gives unlimited permission to copy and/or distribute it,
870# with or without modifications, as long as this notice is preserved.
871
872# serial 3
873
874# _AM_MANGLE_OPTION(NAME)
875# -----------------------
876AC_DEFUN([_AM_MANGLE_OPTION],
877[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
878
879# _AM_SET_OPTION(NAME)
880# ------------------------------
881# Set option NAME.  Presently that only means defining a flag for this option.
882AC_DEFUN([_AM_SET_OPTION],
883[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
884
885# _AM_SET_OPTIONS(OPTIONS)
886# ----------------------------------
887# OPTIONS is a space-separated list of Automake options.
888AC_DEFUN([_AM_SET_OPTIONS],
889[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
890
891# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
892# -------------------------------------------
893# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
894AC_DEFUN([_AM_IF_OPTION],
895[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
896
897# Check to make sure that the build environment is sane.    -*- Autoconf -*-
898
899# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
900# Free Software Foundation, Inc.
901#
902# This file is free software; the Free Software Foundation
903# gives unlimited permission to copy and/or distribute it,
904# with or without modifications, as long as this notice is preserved.
905
906# serial 4
907
908# AM_SANITY_CHECK
909# ---------------
910AC_DEFUN([AM_SANITY_CHECK],
911[AC_MSG_CHECKING([whether build environment is sane])
912# Just in case
913sleep 1
914echo timestamp > conftest.file
915# Do `set' in a subshell so we don't clobber the current shell's
916# arguments.  Must try -L first in case configure is actually a
917# symlink; some systems play weird games with the mod time of symlinks
918# (eg FreeBSD returns the mod time of the symlink's containing
919# directory).
920if (
921   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
922   if test "$[*]" = "X"; then
923      # -L didn't work.
924      set X `ls -t $srcdir/configure conftest.file`
925   fi
926   rm -f conftest.file
927   if test "$[*]" != "X $srcdir/configure conftest.file" \
928      && test "$[*]" != "X conftest.file $srcdir/configure"; then
929
930      # If neither matched, then we have a broken ls.  This can happen
931      # if, for instance, CONFIG_SHELL is bash and it inherits a
932      # broken ls alias from the environment.  This has actually
933      # happened.  Such a system could not be considered "sane".
934      AC_MSG_ERROR([ls -t appears to fail.  Make sure there is not a broken
935alias in your environment])
936   fi
937
938   test "$[2]" = conftest.file
939   )
940then
941   # Ok.
942   :
943else
944   AC_MSG_ERROR([newly created file is older than distributed files!
945Check your system clock])
946fi
947AC_MSG_RESULT(yes)])
948
949# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
950#
951# This file is free software; the Free Software Foundation
952# gives unlimited permission to copy and/or distribute it,
953# with or without modifications, as long as this notice is preserved.
954
955# AM_PROG_INSTALL_STRIP
956# ---------------------
957# One issue with vendor `install' (even GNU) is that you can't
958# specify the program used to strip binaries.  This is especially
959# annoying in cross-compiling environments, where the build's strip
960# is unlikely to handle the host's binaries.
961# Fortunately install-sh will honor a STRIPPROG variable, so we
962# always use install-sh in `make install-strip', and initialize
963# STRIPPROG with the value of the STRIP variable (set by the user).
964AC_DEFUN([AM_PROG_INSTALL_STRIP],
965[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
966# Installed binaries are usually stripped using `strip' when the user
967# run `make install-strip'.  However `strip' might not be the right
968# tool to use in cross-compilation environments, therefore Automake
969# will honor the `STRIP' environment variable to overrule this program.
970dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
971if test "$cross_compiling" != no; then
972  AC_CHECK_TOOL([STRIP], [strip], :)
973fi
974INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
975AC_SUBST([INSTALL_STRIP_PROGRAM])])
976
977# Copyright (C) 2006  Free Software Foundation, Inc.
978#
979# This file is free software; the Free Software Foundation
980# gives unlimited permission to copy and/or distribute it,
981# with or without modifications, as long as this notice is preserved.
982
983# _AM_SUBST_NOTMAKE(VARIABLE)
984# ---------------------------
985# Prevent Automake from outputing VARIABLE = @VARIABLE@ in Makefile.in.
986# This macro is traced by Automake.
987AC_DEFUN([_AM_SUBST_NOTMAKE])
988
989# Check how to create a tarball.                            -*- Autoconf -*-
990
991# Copyright (C) 2004, 2005  Free Software Foundation, Inc.
992#
993# This file is free software; the Free Software Foundation
994# gives unlimited permission to copy and/or distribute it,
995# with or without modifications, as long as this notice is preserved.
996
997# serial 2
998
999# _AM_PROG_TAR(FORMAT)
1000# --------------------
1001# Check how to create a tarball in format FORMAT.
1002# FORMAT should be one of `v7', `ustar', or `pax'.
1003#
1004# Substitute a variable $(am__tar) that is a command
1005# writing to stdout a FORMAT-tarball containing the directory
1006# $tardir.
1007#     tardir=directory && $(am__tar) > result.tar
1008#
1009# Substitute a variable $(am__untar) that extract such
1010# a tarball read from stdin.
1011#     $(am__untar) < result.tar
1012AC_DEFUN([_AM_PROG_TAR],
1013[# Always define AMTAR for backward compatibility.
1014AM_MISSING_PROG([AMTAR], [tar])
1015m4_if([$1], [v7],
1016     [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
1017     [m4_case([$1], [ustar],, [pax],,
1018              [m4_fatal([Unknown tar format])])
1019AC_MSG_CHECKING([how to create a $1 tar archive])
1020# Loop over all known methods to create a tar archive until one works.
1021_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
1022_am_tools=${am_cv_prog_tar_$1-$_am_tools}
1023# Do not fold the above two line into one, because Tru64 sh and
1024# Solaris sh will not grok spaces in the rhs of `-'.
1025for _am_tool in $_am_tools
1026do
1027  case $_am_tool in
1028  gnutar)
1029    for _am_tar in tar gnutar gtar;
1030    do
1031      AM_RUN_LOG([$_am_tar --version]) && break
1032    done
1033    am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
1034    am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
1035    am__untar="$_am_tar -xf -"
1036    ;;
1037  plaintar)
1038    # Must skip GNU tar: if it does not support --format= it doesn't create
1039    # ustar tarball either.
1040    (tar --version) >/dev/null 2>&1 && continue
1041    am__tar='tar chf - "$$tardir"'
1042    am__tar_='tar chf - "$tardir"'
1043    am__untar='tar xf -'
1044    ;;
1045  pax)
1046    am__tar='pax -L -x $1 -w "$$tardir"'
1047    am__tar_='pax -L -x $1 -w "$tardir"'
1048    am__untar='pax -r'
1049    ;;
1050  cpio)
1051    am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
1052    am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
1053    am__untar='cpio -i -H $1 -d'
1054    ;;
1055  none)
1056    am__tar=false
1057    am__tar_=false
1058    am__untar=false
1059    ;;
1060  esac
1061
1062  # If the value was cached, stop now.  We just wanted to have am__tar
1063  # and am__untar set.
1064  test -n "${am_cv_prog_tar_$1}" && break
1065
1066  # tar/untar a dummy directory, and stop if the command works
1067  rm -rf conftest.dir
1068  mkdir conftest.dir
1069  echo GrepMe > conftest.dir/file
1070  AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
1071  rm -rf conftest.dir
1072  if test -s conftest.tar; then
1073    AM_RUN_LOG([$am__untar <conftest.tar])
1074    grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
1075  fi
1076done
1077rm -rf conftest.dir
1078
1079AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
1080AC_MSG_RESULT([$am_cv_prog_tar_$1])])
1081AC_SUBST([am__tar])
1082AC_SUBST([am__untar])
1083]) # _AM_PROG_TAR
1084
1085m4_include([autotools/ac_c_compile_flags.m4])
1086m4_include([autotools/ac_cpu_optimisations.m4])
1087