configure
author Sam Lantinga <slouken@lokigames.com>
Thu, 20 Jan 2000 05:44:29 +0000
changeset 38 d6f9745b780b
parent 37 7e477cb285c5
child 43 2ada52ee12e7
permissions -rwxr-xr-x
Added mixer rpm spec file, by Hakan Tandogan
     1 #! /bin/sh
     2 
     3 # Guess values for system-dependent variables and create Makefiles.
     4 # Generated automatically using autoconf version 2.13 
     5 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
     6 #
     7 # This configure script is free software; the Free Software Foundation
     8 # gives unlimited permission to copy, distribute and modify it.
     9 
    10 # Defaults:
    11 ac_help=
    12 ac_default_prefix=/usr/local
    13 # Any additions from configure.in:
    14 ac_help="$ac_help
    15   --enable-shared[=PKGS]  build shared libraries [default=yes]"
    16 ac_help="$ac_help
    17   --enable-static[=PKGS]  build static libraries [default=yes]"
    18 ac_help="$ac_help
    19   --enable-fast-install[=PKGS]  optimize for fast installation [default=yes]"
    20 ac_help="$ac_help
    21   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]"
    22 ac_help="$ac_help
    23   --disable-libtool-lock  avoid locking (might break parallel builds)"
    24 ac_help="$ac_help
    25   --with-pic              try to use only PIC/non-PIC objects [default=use both]"
    26 ac_help="$ac_help
    27   --with-sdl-prefix=PFX   Prefix where SDL is installed (optional)"
    28 ac_help="$ac_help
    29   --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)"
    30 ac_help="$ac_help
    31   --disable-sdltest       Do not try to compile and run a test SDL program"
    32 ac_help="$ac_help
    33   --enable-music-cmd      support an external music player [default=yes]"
    34 ac_help="$ac_help
    35   --enable-music-wave     enable streaming WAVE music [default=yes]"
    36 ac_help="$ac_help
    37   --enable-music-mod      enable MOD music via mikmod [default=yes]"
    38 ac_help="$ac_help
    39   --enable-music-midi     enable MIDI music via timidity [default=yes]"
    40 ac_help="$ac_help
    41   --enable-music-mp3      enable MP3 music via smpeg [default=yes]"
    42 
    43 # Initialize some variables set by options.
    44 # The variables have the same names as the options, with
    45 # dashes changed to underlines.
    46 build=NONE
    47 cache_file=./config.cache
    48 exec_prefix=NONE
    49 host=NONE
    50 no_create=
    51 nonopt=NONE
    52 no_recursion=
    53 prefix=NONE
    54 program_prefix=NONE
    55 program_suffix=NONE
    56 program_transform_name=s,x,x,
    57 silent=
    58 site=
    59 srcdir=
    60 target=NONE
    61 verbose=
    62 x_includes=NONE
    63 x_libraries=NONE
    64 bindir='${exec_prefix}/bin'
    65 sbindir='${exec_prefix}/sbin'
    66 libexecdir='${exec_prefix}/libexec'
    67 datadir='${prefix}/share'
    68 sysconfdir='${prefix}/etc'
    69 sharedstatedir='${prefix}/com'
    70 localstatedir='${prefix}/var'
    71 libdir='${exec_prefix}/lib'
    72 includedir='${prefix}/include'
    73 oldincludedir='/usr/include'
    74 infodir='${prefix}/info'
    75 mandir='${prefix}/man'
    76 
    77 # Initialize some other variables.
    78 subdirs=
    79 MFLAGS= MAKEFLAGS=
    80 SHELL=${CONFIG_SHELL-/bin/sh}
    81 # Maximum number of lines to put in a shell here document.
    82 ac_max_here_lines=12
    83 
    84 ac_prev=
    85 for ac_option
    86 do
    87 
    88   # If the previous option needs an argument, assign it.
    89   if test -n "$ac_prev"; then
    90     eval "$ac_prev=\$ac_option"
    91     ac_prev=
    92     continue
    93   fi
    94 
    95   case "$ac_option" in
    96   -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
    97   *) ac_optarg= ;;
    98   esac
    99 
   100   # Accept the important Cygnus configure options, so we can diagnose typos.
   101 
   102   case "$ac_option" in
   103 
   104   -bindir | --bindir | --bindi | --bind | --bin | --bi)
   105     ac_prev=bindir ;;
   106   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   107     bindir="$ac_optarg" ;;
   108 
   109   -build | --build | --buil | --bui | --bu)
   110     ac_prev=build ;;
   111   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   112     build="$ac_optarg" ;;
   113 
   114   -cache-file | --cache-file | --cache-fil | --cache-fi \
   115   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   116     ac_prev=cache_file ;;
   117   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   118   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   119     cache_file="$ac_optarg" ;;
   120 
   121   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
   122     ac_prev=datadir ;;
   123   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
   124   | --da=*)
   125     datadir="$ac_optarg" ;;
   126 
   127   -disable-* | --disable-*)
   128     ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
   129     # Reject names that are not valid shell variable names.
   130     if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
   131       { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
   132     fi
   133     ac_feature=`echo $ac_feature| sed 's/-/_/g'`
   134     eval "enable_${ac_feature}=no" ;;
   135 
   136   -enable-* | --enable-*)
   137     ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
   138     # Reject names that are not valid shell variable names.
   139     if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
   140       { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
   141     fi
   142     ac_feature=`echo $ac_feature| sed 's/-/_/g'`
   143     case "$ac_option" in
   144       *=*) ;;
   145       *) ac_optarg=yes ;;
   146     esac
   147     eval "enable_${ac_feature}='$ac_optarg'" ;;
   148 
   149   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   150   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   151   | --exec | --exe | --ex)
   152     ac_prev=exec_prefix ;;
   153   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   154   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   155   | --exec=* | --exe=* | --ex=*)
   156     exec_prefix="$ac_optarg" ;;
   157 
   158   -gas | --gas | --ga | --g)
   159     # Obsolete; use --with-gas.
   160     with_gas=yes ;;
   161 
   162   -help | --help | --hel | --he)
   163     # Omit some internal or obsolete options to make the list less imposing.
   164     # This message is too long to be a string in the A/UX 3.1 sh.
   165     cat << EOF
   166 Usage: configure [options] [host]
   167 Options: [defaults in brackets after descriptions]
   168 Configuration:
   169   --cache-file=FILE       cache test results in FILE
   170   --help                  print this message
   171   --no-create             do not create output files
   172   --quiet, --silent       do not print \`checking...' messages
   173   --version               print the version of autoconf that created configure
   174 Directory and file names:
   175   --prefix=PREFIX         install architecture-independent files in PREFIX
   176                           [$ac_default_prefix]
   177   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   178                           [same as prefix]
   179   --bindir=DIR            user executables in DIR [EPREFIX/bin]
   180   --sbindir=DIR           system admin executables in DIR [EPREFIX/sbin]
   181   --libexecdir=DIR        program executables in DIR [EPREFIX/libexec]
   182   --datadir=DIR           read-only architecture-independent data in DIR
   183                           [PREFIX/share]
   184   --sysconfdir=DIR        read-only single-machine data in DIR [PREFIX/etc]
   185   --sharedstatedir=DIR    modifiable architecture-independent data in DIR
   186                           [PREFIX/com]
   187   --localstatedir=DIR     modifiable single-machine data in DIR [PREFIX/var]
   188   --libdir=DIR            object code libraries in DIR [EPREFIX/lib]
   189   --includedir=DIR        C header files in DIR [PREFIX/include]
   190   --oldincludedir=DIR     C header files for non-gcc in DIR [/usr/include]
   191   --infodir=DIR           info documentation in DIR [PREFIX/info]
   192   --mandir=DIR            man documentation in DIR [PREFIX/man]
   193   --srcdir=DIR            find the sources in DIR [configure dir or ..]
   194   --program-prefix=PREFIX prepend PREFIX to installed program names
   195   --program-suffix=SUFFIX append SUFFIX to installed program names
   196   --program-transform-name=PROGRAM
   197                           run sed PROGRAM on installed program names
   198 EOF
   199     cat << EOF
   200 Host type:
   201   --build=BUILD           configure for building on BUILD [BUILD=HOST]
   202   --host=HOST             configure for HOST [guessed]
   203   --target=TARGET         configure for TARGET [TARGET=HOST]
   204 Features and packages:
   205   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   206   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   207   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   208   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   209   --x-includes=DIR        X include files are in DIR
   210   --x-libraries=DIR       X library files are in DIR
   211 EOF
   212     if test -n "$ac_help"; then
   213       echo "--enable and --with options recognized:$ac_help"
   214     fi
   215     exit 0 ;;
   216 
   217   -host | --host | --hos | --ho)
   218     ac_prev=host ;;
   219   -host=* | --host=* | --hos=* | --ho=*)
   220     host="$ac_optarg" ;;
   221 
   222   -includedir | --includedir | --includedi | --included | --include \
   223   | --includ | --inclu | --incl | --inc)
   224     ac_prev=includedir ;;
   225   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   226   | --includ=* | --inclu=* | --incl=* | --inc=*)
   227     includedir="$ac_optarg" ;;
   228 
   229   -infodir | --infodir | --infodi | --infod | --info | --inf)
   230     ac_prev=infodir ;;
   231   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   232     infodir="$ac_optarg" ;;
   233 
   234   -libdir | --libdir | --libdi | --libd)
   235     ac_prev=libdir ;;
   236   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   237     libdir="$ac_optarg" ;;
   238 
   239   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   240   | --libexe | --libex | --libe)
   241     ac_prev=libexecdir ;;
   242   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   243   | --libexe=* | --libex=* | --libe=*)
   244     libexecdir="$ac_optarg" ;;
   245 
   246   -localstatedir | --localstatedir | --localstatedi | --localstated \
   247   | --localstate | --localstat | --localsta | --localst \
   248   | --locals | --local | --loca | --loc | --lo)
   249     ac_prev=localstatedir ;;
   250   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   251   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
   252   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
   253     localstatedir="$ac_optarg" ;;
   254 
   255   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   256     ac_prev=mandir ;;
   257   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   258     mandir="$ac_optarg" ;;
   259 
   260   -nfp | --nfp | --nf)
   261     # Obsolete; use --without-fp.
   262     with_fp=no ;;
   263 
   264   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   265   | --no-cr | --no-c)
   266     no_create=yes ;;
   267 
   268   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   269   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   270     no_recursion=yes ;;
   271 
   272   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   273   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   274   | --oldin | --oldi | --old | --ol | --o)
   275     ac_prev=oldincludedir ;;
   276   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   277   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   278   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   279     oldincludedir="$ac_optarg" ;;
   280 
   281   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   282     ac_prev=prefix ;;
   283   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   284     prefix="$ac_optarg" ;;
   285 
   286   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   287   | --program-pre | --program-pr | --program-p)
   288     ac_prev=program_prefix ;;
   289   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   290   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   291     program_prefix="$ac_optarg" ;;
   292 
   293   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   294   | --program-suf | --program-su | --program-s)
   295     ac_prev=program_suffix ;;
   296   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   297   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   298     program_suffix="$ac_optarg" ;;
   299 
   300   -program-transform-name | --program-transform-name \
   301   | --program-transform-nam | --program-transform-na \
   302   | --program-transform-n | --program-transform- \
   303   | --program-transform | --program-transfor \
   304   | --program-transfo | --program-transf \
   305   | --program-trans | --program-tran \
   306   | --progr-tra | --program-tr | --program-t)
   307     ac_prev=program_transform_name ;;
   308   -program-transform-name=* | --program-transform-name=* \
   309   | --program-transform-nam=* | --program-transform-na=* \
   310   | --program-transform-n=* | --program-transform-=* \
   311   | --program-transform=* | --program-transfor=* \
   312   | --program-transfo=* | --program-transf=* \
   313   | --program-trans=* | --program-tran=* \
   314   | --progr-tra=* | --program-tr=* | --program-t=*)
   315     program_transform_name="$ac_optarg" ;;
   316 
   317   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   318   | -silent | --silent | --silen | --sile | --sil)
   319     silent=yes ;;
   320 
   321   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   322     ac_prev=sbindir ;;
   323   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   324   | --sbi=* | --sb=*)
   325     sbindir="$ac_optarg" ;;
   326 
   327   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   328   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   329   | --sharedst | --shareds | --shared | --share | --shar \
   330   | --sha | --sh)
   331     ac_prev=sharedstatedir ;;
   332   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   333   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   334   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   335   | --sha=* | --sh=*)
   336     sharedstatedir="$ac_optarg" ;;
   337 
   338   -site | --site | --sit)
   339     ac_prev=site ;;
   340   -site=* | --site=* | --sit=*)
   341     site="$ac_optarg" ;;
   342 
   343   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   344     ac_prev=srcdir ;;
   345   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   346     srcdir="$ac_optarg" ;;
   347 
   348   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   349   | --syscon | --sysco | --sysc | --sys | --sy)
   350     ac_prev=sysconfdir ;;
   351   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   352   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   353     sysconfdir="$ac_optarg" ;;
   354 
   355   -target | --target | --targe | --targ | --tar | --ta | --t)
   356     ac_prev=target ;;
   357   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   358     target="$ac_optarg" ;;
   359 
   360   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   361     verbose=yes ;;
   362 
   363   -version | --version | --versio | --versi | --vers)
   364     echo "configure generated by autoconf version 2.13"
   365     exit 0 ;;
   366 
   367   -with-* | --with-*)
   368     ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
   369     # Reject names that are not valid shell variable names.
   370     if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
   371       { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
   372     fi
   373     ac_package=`echo $ac_package| sed 's/-/_/g'`
   374     case "$ac_option" in
   375       *=*) ;;
   376       *) ac_optarg=yes ;;
   377     esac
   378     eval "with_${ac_package}='$ac_optarg'" ;;
   379 
   380   -without-* | --without-*)
   381     ac_package=`echo $ac_option|sed -e 's/-*without-//'`
   382     # Reject names that are not valid shell variable names.
   383     if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
   384       { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
   385     fi
   386     ac_package=`echo $ac_package| sed 's/-/_/g'`
   387     eval "with_${ac_package}=no" ;;
   388 
   389   --x)
   390     # Obsolete; use --with-x.
   391     with_x=yes ;;
   392 
   393   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   394   | --x-incl | --x-inc | --x-in | --x-i)
   395     ac_prev=x_includes ;;
   396   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   397   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   398     x_includes="$ac_optarg" ;;
   399 
   400   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   401   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   402     ac_prev=x_libraries ;;
   403   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   404   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   405     x_libraries="$ac_optarg" ;;
   406 
   407   -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
   408     ;;
   409 
   410   *)
   411     if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
   412       echo "configure: warning: $ac_option: invalid host type" 1>&2
   413     fi
   414     if test "x$nonopt" != xNONE; then
   415       { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
   416     fi
   417     nonopt="$ac_option"
   418     ;;
   419 
   420   esac
   421 done
   422 
   423 if test -n "$ac_prev"; then
   424   { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
   425 fi
   426 
   427 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
   428 
   429 # File descriptor usage:
   430 # 0 standard input
   431 # 1 file creation
   432 # 2 errors and warnings
   433 # 3 some systems may open it to /dev/tty
   434 # 4 used on the Kubota Titan
   435 # 6 checking for... messages and results
   436 # 5 compiler messages saved in config.log
   437 if test "$silent" = yes; then
   438   exec 6>/dev/null
   439 else
   440   exec 6>&1
   441 fi
   442 exec 5>./config.log
   443 
   444 echo "\
   445 This file contains any messages produced by compilers while
   446 running configure, to aid debugging if configure makes a mistake.
   447 " 1>&5
   448 
   449 # Strip out --no-create and --no-recursion so they do not pile up.
   450 # Also quote any args containing shell metacharacters.
   451 ac_configure_args=
   452 for ac_arg
   453 do
   454   case "$ac_arg" in
   455   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   456   | --no-cr | --no-c) ;;
   457   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   458   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
   459   *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
   460   ac_configure_args="$ac_configure_args '$ac_arg'" ;;
   461   *) ac_configure_args="$ac_configure_args $ac_arg" ;;
   462   esac
   463 done
   464 
   465 # NLS nuisances.
   466 # Only set these to C if already set.  These must not be set unconditionally
   467 # because not all systems understand e.g. LANG=C (notably SCO).
   468 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
   469 # Non-C LC_CTYPE values break the ctype check.
   470 if test "${LANG+set}"   = set; then LANG=C;   export LANG;   fi
   471 if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
   472 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
   473 if test "${LC_CTYPE+set}"    = set; then LC_CTYPE=C;    export LC_CTYPE;    fi
   474 
   475 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   476 rm -rf conftest* confdefs.h
   477 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
   478 echo > confdefs.h
   479 
   480 # A filename unique to this package, relative to the directory that
   481 # configure is in, which we can look for to find out if srcdir is correct.
   482 ac_unique_file=README
   483 
   484 # Find the source files, if location was not specified.
   485 if test -z "$srcdir"; then
   486   ac_srcdir_defaulted=yes
   487   # Try the directory containing this script, then its parent.
   488   ac_prog=$0
   489   ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
   490   test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
   491   srcdir=$ac_confdir
   492   if test ! -r $srcdir/$ac_unique_file; then
   493     srcdir=..
   494   fi
   495 else
   496   ac_srcdir_defaulted=no
   497 fi
   498 if test ! -r $srcdir/$ac_unique_file; then
   499   if test "$ac_srcdir_defaulted" = yes; then
   500     { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
   501   else
   502     { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
   503   fi
   504 fi
   505 srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
   506 
   507 # Prefer explicitly selected file to automatically selected ones.
   508 if test -z "$CONFIG_SITE"; then
   509   if test "x$prefix" != xNONE; then
   510     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
   511   else
   512     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   513   fi
   514 fi
   515 for ac_site_file in $CONFIG_SITE; do
   516   if test -r "$ac_site_file"; then
   517     echo "loading site script $ac_site_file"
   518     . "$ac_site_file"
   519   fi
   520 done
   521 
   522 if test -r "$cache_file"; then
   523   echo "loading cache $cache_file"
   524   . $cache_file
   525 else
   526   echo "creating cache $cache_file"
   527   > $cache_file
   528 fi
   529 
   530 ac_ext=c
   531 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
   532 ac_cpp='$CPP $CPPFLAGS'
   533 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
   534 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
   535 cross_compiling=$ac_cv_prog_cc_cross
   536 
   537 ac_exeext=
   538 ac_objext=o
   539 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
   540   # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
   541   if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
   542     ac_n= ac_c='
   543 ' ac_t='	'
   544   else
   545     ac_n=-n ac_c= ac_t=
   546   fi
   547 else
   548   ac_n= ac_c='\c' ac_t=
   549 fi
   550 
   551 
   552 
   553 
   554 # Making releases:
   555 #   MICRO_VERSION += 1;
   556 #   INTERFACE_AGE += 1;
   557 #   BINARY_AGE += 1;
   558 # if any functions have been added, set INTERFACE_AGE to 0.
   559 # if backwards compatibility has been broken,
   560 # set BINARY_AGE and INTERFACE_AGE to 0.
   561 
   562 MAJOR_VERSION=1
   563 MINOR_VERSION=0
   564 MICRO_VERSION=3
   565 INTERFACE_AGE=1
   566 BINARY_AGE=3
   567 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION
   568 
   569 
   570 
   571 
   572 
   573 
   574 
   575 
   576 # libtool versioning
   577 LT_RELEASE=$MAJOR_VERSION.$MINOR_VERSION
   578 LT_CURRENT=`expr $MICRO_VERSION - $INTERFACE_AGE`
   579 LT_REVISION=$INTERFACE_AGE
   580 LT_AGE=`expr $BINARY_AGE - $INTERFACE_AGE`
   581 
   582 
   583 
   584 
   585 
   586 
   587 ac_aux_dir=
   588 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
   589   if test -f $ac_dir/install-sh; then
   590     ac_aux_dir=$ac_dir
   591     ac_install_sh="$ac_aux_dir/install-sh -c"
   592     break
   593   elif test -f $ac_dir/install.sh; then
   594     ac_aux_dir=$ac_dir
   595     ac_install_sh="$ac_aux_dir/install.sh -c"
   596     break
   597   fi
   598 done
   599 if test -z "$ac_aux_dir"; then
   600   { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
   601 fi
   602 ac_config_guess=$ac_aux_dir/config.guess
   603 ac_config_sub=$ac_aux_dir/config.sub
   604 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
   605 
   606 # Find a good install program.  We prefer a C program (faster),
   607 # so one script is as good as another.  But avoid the broken or
   608 # incompatible versions:
   609 # SysV /etc/install, /usr/sbin/install
   610 # SunOS /usr/etc/install
   611 # IRIX /sbin/install
   612 # AIX /bin/install
   613 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   614 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   615 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   616 # ./install, which can be erroneously created by make from ./install.sh.
   617 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
   618 echo "configure:619: checking for a BSD compatible install" >&5
   619 if test -z "$INSTALL"; then
   620 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
   621   echo $ac_n "(cached) $ac_c" 1>&6
   622 else
   623     IFS="${IFS= 	}"; ac_save_IFS="$IFS"; IFS=":"
   624   for ac_dir in $PATH; do
   625     # Account for people who put trailing slashes in PATH elements.
   626     case "$ac_dir/" in
   627     /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
   628     *)
   629       # OSF1 and SCO ODT 3.0 have their own names for install.
   630       # Don't use installbsd from OSF since it installs stuff as root
   631       # by default.
   632       for ac_prog in ginstall scoinst install; do
   633         if test -f $ac_dir/$ac_prog; then
   634 	  if test $ac_prog = install &&
   635             grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
   636 	    # AIX install.  It has an incompatible calling convention.
   637 	    :
   638 	  else
   639 	    ac_cv_path_install="$ac_dir/$ac_prog -c"
   640 	    break 2
   641 	  fi
   642 	fi
   643       done
   644       ;;
   645     esac
   646   done
   647   IFS="$ac_save_IFS"
   648 
   649 fi
   650   if test "${ac_cv_path_install+set}" = set; then
   651     INSTALL="$ac_cv_path_install"
   652   else
   653     # As a last resort, use the slow shell script.  We don't cache a
   654     # path for INSTALL within a source directory, because that will
   655     # break other packages using the cache if that directory is
   656     # removed, or if the path is relative.
   657     INSTALL="$ac_install_sh"
   658   fi
   659 fi
   660 echo "$ac_t""$INSTALL" 1>&6
   661 
   662 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   663 # It thinks the first close brace ends the variable substitution.
   664 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   665 
   666 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
   667 
   668 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   669 
   670 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
   671 echo "configure:672: checking whether build environment is sane" >&5
   672 # Just in case
   673 sleep 1
   674 echo timestamp > conftestfile
   675 # Do `set' in a subshell so we don't clobber the current shell's
   676 # arguments.  Must try -L first in case configure is actually a
   677 # symlink; some systems play weird games with the mod time of symlinks
   678 # (eg FreeBSD returns the mod time of the symlink's containing
   679 # directory).
   680 if (
   681    set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
   682    if test "$*" = "X"; then
   683       # -L didn't work.
   684       set X `ls -t $srcdir/configure conftestfile`
   685    fi
   686    if test "$*" != "X $srcdir/configure conftestfile" \
   687       && test "$*" != "X conftestfile $srcdir/configure"; then
   688 
   689       # If neither matched, then we have a broken ls.  This can happen
   690       # if, for instance, CONFIG_SHELL is bash and it inherits a
   691       # broken ls alias from the environment.  This has actually
   692       # happened.  Such a system could not be considered "sane".
   693       { echo "configure: error: ls -t appears to fail.  Make sure there is not a broken
   694 alias in your environment" 1>&2; exit 1; }
   695    fi
   696 
   697    test "$2" = conftestfile
   698    )
   699 then
   700    # Ok.
   701    :
   702 else
   703    { echo "configure: error: newly created file is older than distributed files!
   704 Check your system clock" 1>&2; exit 1; }
   705 fi
   706 rm -f conftest*
   707 echo "$ac_t""yes" 1>&6
   708 if test "$program_transform_name" = s,x,x,; then
   709   program_transform_name=
   710 else
   711   # Double any \ or $.  echo might interpret backslashes.
   712   cat <<\EOF_SED > conftestsed
   713 s,\\,\\\\,g; s,\$,$$,g
   714 EOF_SED
   715   program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
   716   rm -f conftestsed
   717 fi
   718 test "$program_prefix" != NONE &&
   719   program_transform_name="s,^,${program_prefix},; $program_transform_name"
   720 # Use a double $ so make ignores it.
   721 test "$program_suffix" != NONE &&
   722   program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
   723 
   724 # sed with no file args requires a program.
   725 test "$program_transform_name" = "" && program_transform_name="s,x,x,"
   726 
   727 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
   728 echo "configure:729: checking whether ${MAKE-make} sets \${MAKE}" >&5
   729 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
   730 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
   731   echo $ac_n "(cached) $ac_c" 1>&6
   732 else
   733   cat > conftestmake <<\EOF
   734 all:
   735 	@echo 'ac_maketemp="${MAKE}"'
   736 EOF
   737 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
   738 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
   739 if test -n "$ac_maketemp"; then
   740   eval ac_cv_prog_make_${ac_make}_set=yes
   741 else
   742   eval ac_cv_prog_make_${ac_make}_set=no
   743 fi
   744 rm -f conftestmake
   745 fi
   746 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
   747   echo "$ac_t""yes" 1>&6
   748   SET_MAKE=
   749 else
   750   echo "$ac_t""no" 1>&6
   751   SET_MAKE="MAKE=${MAKE-make}"
   752 fi
   753 
   754 
   755 PACKAGE=SDL_mixer
   756 
   757 VERSION=$VERSION
   758 
   759 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
   760   { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
   761 fi
   762 cat >> confdefs.h <<EOF
   763 #define PACKAGE "$PACKAGE"
   764 EOF
   765 
   766 cat >> confdefs.h <<EOF
   767 #define VERSION "$VERSION"
   768 EOF
   769 
   770 
   771 
   772 missing_dir=`cd $ac_aux_dir && pwd`
   773 echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
   774 echo "configure:775: checking for working aclocal" >&5
   775 # Run test in a subshell; some versions of sh will print an error if
   776 # an executable is not found, even if stderr is redirected.
   777 # Redirect stdin to placate older versions of autoconf.  Sigh.
   778 if (aclocal --version) < /dev/null > /dev/null 2>&1; then
   779    ACLOCAL=aclocal
   780    echo "$ac_t""found" 1>&6
   781 else
   782    ACLOCAL="$missing_dir/missing aclocal"
   783    echo "$ac_t""missing" 1>&6
   784 fi
   785 
   786 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
   787 echo "configure:788: checking for working autoconf" >&5
   788 # Run test in a subshell; some versions of sh will print an error if
   789 # an executable is not found, even if stderr is redirected.
   790 # Redirect stdin to placate older versions of autoconf.  Sigh.
   791 if (autoconf --version) < /dev/null > /dev/null 2>&1; then
   792    AUTOCONF=autoconf
   793    echo "$ac_t""found" 1>&6
   794 else
   795    AUTOCONF="$missing_dir/missing autoconf"
   796    echo "$ac_t""missing" 1>&6
   797 fi
   798 
   799 echo $ac_n "checking for working automake""... $ac_c" 1>&6
   800 echo "configure:801: checking for working automake" >&5
   801 # Run test in a subshell; some versions of sh will print an error if
   802 # an executable is not found, even if stderr is redirected.
   803 # Redirect stdin to placate older versions of autoconf.  Sigh.
   804 if (automake --version) < /dev/null > /dev/null 2>&1; then
   805    AUTOMAKE=automake
   806    echo "$ac_t""found" 1>&6
   807 else
   808    AUTOMAKE="$missing_dir/missing automake"
   809    echo "$ac_t""missing" 1>&6
   810 fi
   811 
   812 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
   813 echo "configure:814: checking for working autoheader" >&5
   814 # Run test in a subshell; some versions of sh will print an error if
   815 # an executable is not found, even if stderr is redirected.
   816 # Redirect stdin to placate older versions of autoconf.  Sigh.
   817 if (autoheader --version) < /dev/null > /dev/null 2>&1; then
   818    AUTOHEADER=autoheader
   819    echo "$ac_t""found" 1>&6
   820 else
   821    AUTOHEADER="$missing_dir/missing autoheader"
   822    echo "$ac_t""missing" 1>&6
   823 fi
   824 
   825 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
   826 echo "configure:827: checking for working makeinfo" >&5
   827 # Run test in a subshell; some versions of sh will print an error if
   828 # an executable is not found, even if stderr is redirected.
   829 # Redirect stdin to placate older versions of autoconf.  Sigh.
   830 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
   831    MAKEINFO=makeinfo
   832    echo "$ac_t""found" 1>&6
   833 else
   834    MAKEINFO="$missing_dir/missing makeinfo"
   835    echo "$ac_t""missing" 1>&6
   836 fi
   837 
   838 
   839 
   840 
   841 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
   842 echo "configure:843: checking whether ${MAKE-make} sets \${MAKE}" >&5
   843 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
   844 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
   845   echo $ac_n "(cached) $ac_c" 1>&6
   846 else
   847   cat > conftestmake <<\EOF
   848 all:
   849 	@echo 'ac_maketemp="${MAKE}"'
   850 EOF
   851 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
   852 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
   853 if test -n "$ac_maketemp"; then
   854   eval ac_cv_prog_make_${ac_make}_set=yes
   855 else
   856   eval ac_cv_prog_make_${ac_make}_set=no
   857 fi
   858 rm -f conftestmake
   859 fi
   860 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
   861   echo "$ac_t""yes" 1>&6
   862   SET_MAKE=
   863 else
   864   echo "$ac_t""no" 1>&6
   865   SET_MAKE="MAKE=${MAKE-make}"
   866 fi
   867 
   868 # Extract the first word of "gcc", so it can be a program name with args.
   869 set dummy gcc; ac_word=$2
   870 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
   871 echo "configure:872: checking for $ac_word" >&5
   872 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
   873   echo $ac_n "(cached) $ac_c" 1>&6
   874 else
   875   if test -n "$CC"; then
   876   ac_cv_prog_CC="$CC" # Let the user override the test.
   877 else
   878   IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
   879   ac_dummy="$PATH"
   880   for ac_dir in $ac_dummy; do
   881     test -z "$ac_dir" && ac_dir=.
   882     if test -f $ac_dir/$ac_word; then
   883       ac_cv_prog_CC="gcc"
   884       break
   885     fi
   886   done
   887   IFS="$ac_save_ifs"
   888 fi
   889 fi
   890 CC="$ac_cv_prog_CC"
   891 if test -n "$CC"; then
   892   echo "$ac_t""$CC" 1>&6
   893 else
   894   echo "$ac_t""no" 1>&6
   895 fi
   896 
   897 if test -z "$CC"; then
   898   # Extract the first word of "cc", so it can be a program name with args.
   899 set dummy cc; ac_word=$2
   900 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
   901 echo "configure:902: checking for $ac_word" >&5
   902 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
   903   echo $ac_n "(cached) $ac_c" 1>&6
   904 else
   905   if test -n "$CC"; then
   906   ac_cv_prog_CC="$CC" # Let the user override the test.
   907 else
   908   IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
   909   ac_prog_rejected=no
   910   ac_dummy="$PATH"
   911   for ac_dir in $ac_dummy; do
   912     test -z "$ac_dir" && ac_dir=.
   913     if test -f $ac_dir/$ac_word; then
   914       if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
   915         ac_prog_rejected=yes
   916 	continue
   917       fi
   918       ac_cv_prog_CC="cc"
   919       break
   920     fi
   921   done
   922   IFS="$ac_save_ifs"
   923 if test $ac_prog_rejected = yes; then
   924   # We found a bogon in the path, so make sure we never use it.
   925   set dummy $ac_cv_prog_CC
   926   shift
   927   if test $# -gt 0; then
   928     # We chose a different compiler from the bogus one.
   929     # However, it has the same basename, so the bogon will be chosen
   930     # first if we set CC to just the basename; use the full file name.
   931     shift
   932     set dummy "$ac_dir/$ac_word" "$@"
   933     shift
   934     ac_cv_prog_CC="$@"
   935   fi
   936 fi
   937 fi
   938 fi
   939 CC="$ac_cv_prog_CC"
   940 if test -n "$CC"; then
   941   echo "$ac_t""$CC" 1>&6
   942 else
   943   echo "$ac_t""no" 1>&6
   944 fi
   945 
   946   if test -z "$CC"; then
   947     case "`uname -s`" in
   948     *win32* | *WIN32*)
   949       # Extract the first word of "cl", so it can be a program name with args.
   950 set dummy cl; ac_word=$2
   951 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
   952 echo "configure:953: checking for $ac_word" >&5
   953 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
   954   echo $ac_n "(cached) $ac_c" 1>&6
   955 else
   956   if test -n "$CC"; then
   957   ac_cv_prog_CC="$CC" # Let the user override the test.
   958 else
   959   IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
   960   ac_dummy="$PATH"
   961   for ac_dir in $ac_dummy; do
   962     test -z "$ac_dir" && ac_dir=.
   963     if test -f $ac_dir/$ac_word; then
   964       ac_cv_prog_CC="cl"
   965       break
   966     fi
   967   done
   968   IFS="$ac_save_ifs"
   969 fi
   970 fi
   971 CC="$ac_cv_prog_CC"
   972 if test -n "$CC"; then
   973   echo "$ac_t""$CC" 1>&6
   974 else
   975   echo "$ac_t""no" 1>&6
   976 fi
   977  ;;
   978     esac
   979   fi
   980   test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
   981 fi
   982 
   983 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
   984 echo "configure:985: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
   985 
   986 ac_ext=c
   987 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
   988 ac_cpp='$CPP $CPPFLAGS'
   989 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
   990 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
   991 cross_compiling=$ac_cv_prog_cc_cross
   992 
   993 cat > conftest.$ac_ext << EOF
   994 
   995 #line 996 "configure"
   996 #include "confdefs.h"
   997 
   998 main(){return(0);}
   999 EOF
  1000 if { (eval echo configure:1001: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  1001   ac_cv_prog_cc_works=yes
  1002   # If we can't run a trivial program, we are probably using a cross compiler.
  1003   if (./conftest; exit) 2>/dev/null; then
  1004     ac_cv_prog_cc_cross=no
  1005   else
  1006     ac_cv_prog_cc_cross=yes
  1007   fi
  1008 else
  1009   echo "configure: failed program was:" >&5
  1010   cat conftest.$ac_ext >&5
  1011   ac_cv_prog_cc_works=no
  1012 fi
  1013 rm -fr conftest*
  1014 ac_ext=c
  1015 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
  1016 ac_cpp='$CPP $CPPFLAGS'
  1017 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
  1018 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
  1019 cross_compiling=$ac_cv_prog_cc_cross
  1020 
  1021 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
  1022 if test $ac_cv_prog_cc_works = no; then
  1023   { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
  1024 fi
  1025 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
  1026 echo "configure:1027: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
  1027 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
  1028 cross_compiling=$ac_cv_prog_cc_cross
  1029 
  1030 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
  1031 echo "configure:1032: checking whether we are using GNU C" >&5
  1032 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
  1033   echo $ac_n "(cached) $ac_c" 1>&6
  1034 else
  1035   cat > conftest.c <<EOF
  1036 #ifdef __GNUC__
  1037   yes;
  1038 #endif
  1039 EOF
  1040 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1041: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
  1041   ac_cv_prog_gcc=yes
  1042 else
  1043   ac_cv_prog_gcc=no
  1044 fi
  1045 fi
  1046 
  1047 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
  1048 
  1049 if test $ac_cv_prog_gcc = yes; then
  1050   GCC=yes
  1051 else
  1052   GCC=
  1053 fi
  1054 
  1055 ac_test_CFLAGS="${CFLAGS+set}"
  1056 ac_save_CFLAGS="$CFLAGS"
  1057 CFLAGS=
  1058 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
  1059 echo "configure:1060: checking whether ${CC-cc} accepts -g" >&5
  1060 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
  1061   echo $ac_n "(cached) $ac_c" 1>&6
  1062 else
  1063   echo 'void f(){}' > conftest.c
  1064 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
  1065   ac_cv_prog_cc_g=yes
  1066 else
  1067   ac_cv_prog_cc_g=no
  1068 fi
  1069 rm -f conftest*
  1070 
  1071 fi
  1072 
  1073 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
  1074 if test "$ac_test_CFLAGS" = set; then
  1075   CFLAGS="$ac_save_CFLAGS"
  1076 elif test $ac_cv_prog_cc_g = yes; then
  1077   if test "$GCC" = yes; then
  1078     CFLAGS="-g -O2"
  1079   else
  1080     CFLAGS="-g"
  1081   fi
  1082 else
  1083   if test "$GCC" = yes; then
  1084     CFLAGS="-O2"
  1085   else
  1086     CFLAGS=
  1087   fi
  1088 fi
  1089 
  1090 
  1091 # Check whether --enable-shared or --disable-shared was given.
  1092 if test "${enable_shared+set}" = set; then
  1093   enableval="$enable_shared"
  1094   p=${PACKAGE-default}
  1095 case "$enableval" in
  1096 yes) enable_shared=yes ;;
  1097 no) enable_shared=no ;;
  1098 *)
  1099   enable_shared=no
  1100   # Look at the argument we got.  We use all the common list separators.
  1101   IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
  1102   for pkg in $enableval; do
  1103     if test "X$pkg" = "X$p"; then
  1104       enable_shared=yes
  1105     fi
  1106   done
  1107   IFS="$ac_save_ifs"
  1108   ;;
  1109 esac
  1110 else
  1111   enable_shared=yes
  1112 fi
  1113 
  1114 # Check whether --enable-static or --disable-static was given.
  1115 if test "${enable_static+set}" = set; then
  1116   enableval="$enable_static"
  1117   p=${PACKAGE-default}
  1118 case "$enableval" in
  1119 yes) enable_static=yes ;;
  1120 no) enable_static=no ;;
  1121 *)
  1122   enable_static=no
  1123   # Look at the argument we got.  We use all the common list separators.
  1124   IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
  1125   for pkg in $enableval; do
  1126     if test "X$pkg" = "X$p"; then
  1127       enable_static=yes
  1128     fi
  1129   done
  1130   IFS="$ac_save_ifs"
  1131   ;;
  1132 esac
  1133 else
  1134   enable_static=yes
  1135 fi
  1136 
  1137 # Check whether --enable-fast-install or --disable-fast-install was given.
  1138 if test "${enable_fast_install+set}" = set; then
  1139   enableval="$enable_fast_install"
  1140   p=${PACKAGE-default}
  1141 case "$enableval" in
  1142 yes) enable_fast_install=yes ;;
  1143 no) enable_fast_install=no ;;
  1144 *)
  1145   enable_fast_install=no
  1146   # Look at the argument we got.  We use all the common list separators.
  1147   IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
  1148   for pkg in $enableval; do
  1149     if test "X$pkg" = "X$p"; then
  1150       enable_fast_install=yes
  1151     fi
  1152   done
  1153   IFS="$ac_save_ifs"
  1154   ;;
  1155 esac
  1156 else
  1157   enable_fast_install=yes
  1158 fi
  1159 
  1160 
  1161 # Make sure we can run config.sub.
  1162 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
  1163 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
  1164 fi
  1165 
  1166 echo $ac_n "checking host system type""... $ac_c" 1>&6
  1167 echo "configure:1168: checking host system type" >&5
  1168 
  1169 host_alias=$host
  1170 case "$host_alias" in
  1171 NONE)
  1172   case $nonopt in
  1173   NONE)
  1174     if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
  1175     else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
  1176     fi ;;
  1177   *) host_alias=$nonopt ;;
  1178   esac ;;
  1179 esac
  1180 
  1181 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
  1182 host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
  1183 host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
  1184 host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
  1185 echo "$ac_t""$host" 1>&6
  1186 
  1187 echo $ac_n "checking build system type""... $ac_c" 1>&6
  1188 echo "configure:1189: checking build system type" >&5
  1189 
  1190 build_alias=$build
  1191 case "$build_alias" in
  1192 NONE)
  1193   case $nonopt in
  1194   NONE) build_alias=$host_alias ;;
  1195   *) build_alias=$nonopt ;;
  1196   esac ;;
  1197 esac
  1198 
  1199 build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
  1200 build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
  1201 build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
  1202 build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
  1203 echo "$ac_t""$build" 1>&6
  1204 
  1205 # Check whether --with-gnu-ld or --without-gnu-ld was given.
  1206 if test "${with_gnu_ld+set}" = set; then
  1207   withval="$with_gnu_ld"
  1208   test "$withval" = no || with_gnu_ld=yes
  1209 else
  1210   with_gnu_ld=no
  1211 fi
  1212 
  1213 ac_prog=ld
  1214 if test "$ac_cv_prog_gcc" = yes; then
  1215   # Check if gcc -print-prog-name=ld gives a path.
  1216   echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
  1217 echo "configure:1218: checking for ld used by GCC" >&5
  1218   case $host in
  1219   *-*-mingw*)
  1220     # gcc leaves a trailing carriage return which upsets mingw
  1221     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
  1222   *)
  1223     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
  1224   esac
  1225   case "$ac_prog" in
  1226     # Accept absolute paths.
  1227     [\\/]* | [A-Za-z]:[\\/]*)
  1228       re_direlt='/[^/][^/]*/\.\./'
  1229       # Canonicalize the path of ld
  1230       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
  1231       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
  1232 	ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
  1233       done
  1234       test -z "$LD" && LD="$ac_prog"
  1235       ;;
  1236   "")
  1237     # If it fails, then pretend we aren't using GCC.
  1238     ac_prog=ld
  1239     ;;
  1240   *)
  1241     # If it is relative, then search for the first ld in PATH.
  1242     with_gnu_ld=unknown
  1243     ;;
  1244   esac
  1245 elif test "$with_gnu_ld" = yes; then
  1246   echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
  1247 echo "configure:1248: checking for GNU ld" >&5
  1248 else
  1249   echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
  1250 echo "configure:1251: checking for non-GNU ld" >&5
  1251 fi
  1252 if eval "test \"`echo '$''{'ac_cv_path_LD'+set}'`\" = set"; then
  1253   echo $ac_n "(cached) $ac_c" 1>&6
  1254 else
  1255   if test -z "$LD"; then
  1256   IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
  1257   for ac_dir in $PATH; do
  1258     test -z "$ac_dir" && ac_dir=.
  1259     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
  1260       ac_cv_path_LD="$ac_dir/$ac_prog"
  1261       # Check to see if the program is GNU ld.  I'd rather use --version,
  1262       # but apparently some GNU ld's only accept -v.
  1263       # Break only if it was the GNU/non-GNU ld that we prefer.
  1264       if "$ac_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
  1265 	test "$with_gnu_ld" != no && break
  1266       else
  1267 	test "$with_gnu_ld" != yes && break
  1268       fi
  1269     fi
  1270   done
  1271   IFS="$ac_save_ifs"
  1272 else
  1273   ac_cv_path_LD="$LD" # Let the user override the test with a path.
  1274 fi
  1275 fi
  1276 
  1277 LD="$ac_cv_path_LD"
  1278 if test -n "$LD"; then
  1279   echo "$ac_t""$LD" 1>&6
  1280 else
  1281   echo "$ac_t""no" 1>&6
  1282 fi
  1283 test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
  1284 
  1285 echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
  1286 echo "configure:1287: checking if the linker ($LD) is GNU ld" >&5
  1287 if eval "test \"`echo '$''{'ac_cv_prog_gnu_ld'+set}'`\" = set"; then
  1288   echo $ac_n "(cached) $ac_c" 1>&6
  1289 else
  1290   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
  1291 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
  1292   ac_cv_prog_gnu_ld=yes
  1293 else
  1294   ac_cv_prog_gnu_ld=no
  1295 fi
  1296 fi
  1297 
  1298 echo "$ac_t""$ac_cv_prog_gnu_ld" 1>&6
  1299 
  1300 
  1301 echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
  1302 echo "configure:1303: checking for BSD-compatible nm" >&5
  1303 if eval "test \"`echo '$''{'ac_cv_path_NM'+set}'`\" = set"; then
  1304   echo $ac_n "(cached) $ac_c" 1>&6
  1305 else
  1306   if test -n "$NM"; then
  1307   # Let the user override the test.
  1308   ac_cv_path_NM="$NM"
  1309 else
  1310   IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
  1311   for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
  1312     test -z "$ac_dir" && ac_dir=.
  1313     if test -f $ac_dir/nm || test -f $ac_dir/nm$ac_exeext ; then
  1314       # Check to see if the nm accepts a BSD-compat flag.
  1315       # Adding the `sed 1q' prevents false positives on HP-UX, which says:
  1316       #   nm: unknown option "B" ignored
  1317       if ($ac_dir/nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
  1318 	ac_cv_path_NM="$ac_dir/nm -B"
  1319 	break
  1320       elif ($ac_dir/nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
  1321 	ac_cv_path_NM="$ac_dir/nm -p"
  1322 	break
  1323       else
  1324 	ac_cv_path_NM=${ac_cv_path_NM="$ac_dir/nm"} # keep the first match, but
  1325 	continue # so that we can try to find one that supports BSD flags
  1326       fi
  1327     fi
  1328   done
  1329   IFS="$ac_save_ifs"
  1330   test -z "$ac_cv_path_NM" && ac_cv_path_NM=nm
  1331 fi
  1332 fi
  1333 
  1334 NM="$ac_cv_path_NM"
  1335 echo "$ac_t""$NM" 1>&6
  1336 
  1337 
  1338 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
  1339 echo "configure:1340: checking whether ln -s works" >&5
  1340 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
  1341   echo $ac_n "(cached) $ac_c" 1>&6
  1342 else
  1343   rm -f conftestdata
  1344 if ln -s X conftestdata 2>/dev/null
  1345 then
  1346   rm -f conftestdata
  1347   ac_cv_prog_LN_S="ln -s"
  1348 else
  1349   ac_cv_prog_LN_S=ln
  1350 fi
  1351 fi
  1352 LN_S="$ac_cv_prog_LN_S"
  1353 if test "$ac_cv_prog_LN_S" = "ln -s"; then
  1354   echo "$ac_t""yes" 1>&6
  1355 else
  1356   echo "$ac_t""no" 1>&6
  1357 fi
  1358 
  1359 if test $host != $build; then
  1360   ac_tool_prefix=${host_alias}-
  1361 else
  1362   ac_tool_prefix=
  1363 fi
  1364 
  1365 
  1366 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
  1367 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
  1368 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  1369 echo "configure:1370: checking for $ac_word" >&5
  1370 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
  1371   echo $ac_n "(cached) $ac_c" 1>&6
  1372 else
  1373   if test -n "$RANLIB"; then
  1374   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  1375 else
  1376   IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
  1377   ac_dummy="$PATH"
  1378   for ac_dir in $ac_dummy; do
  1379     test -z "$ac_dir" && ac_dir=.
  1380     if test -f $ac_dir/$ac_word; then
  1381       ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
  1382       break
  1383     fi
  1384   done
  1385   IFS="$ac_save_ifs"
  1386 fi
  1387 fi
  1388 RANLIB="$ac_cv_prog_RANLIB"
  1389 if test -n "$RANLIB"; then
  1390   echo "$ac_t""$RANLIB" 1>&6
  1391 else
  1392   echo "$ac_t""no" 1>&6
  1393 fi
  1394 
  1395 
  1396 if test -z "$ac_cv_prog_RANLIB"; then
  1397 if test -n "$ac_tool_prefix"; then
  1398   # Extract the first word of "ranlib", so it can be a program name with args.
  1399 set dummy ranlib; ac_word=$2
  1400 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  1401 echo "configure:1402: checking for $ac_word" >&5
  1402 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
  1403   echo $ac_n "(cached) $ac_c" 1>&6
  1404 else
  1405   if test -n "$RANLIB"; then
  1406   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  1407 else
  1408   IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
  1409   ac_dummy="$PATH"
  1410   for ac_dir in $ac_dummy; do
  1411     test -z "$ac_dir" && ac_dir=.
  1412     if test -f $ac_dir/$ac_word; then
  1413       ac_cv_prog_RANLIB="ranlib"
  1414       break
  1415     fi
  1416   done
  1417   IFS="$ac_save_ifs"
  1418   test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
  1419 fi
  1420 fi
  1421 RANLIB="$ac_cv_prog_RANLIB"
  1422 if test -n "$RANLIB"; then
  1423   echo "$ac_t""$RANLIB" 1>&6
  1424 else
  1425   echo "$ac_t""no" 1>&6
  1426 fi
  1427 
  1428 else
  1429   RANLIB=":"
  1430 fi
  1431 fi
  1432 
  1433 
  1434 # Check for any special flags to pass to ltconfig.
  1435 libtool_flags="--cache-file=$cache_file"
  1436 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
  1437 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
  1438 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
  1439 test "$ac_cv_prog_gcc" = yes && libtool_flags="$libtool_flags --with-gcc"
  1440 test "$ac_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
  1441 
  1442 libtool_flags="$libtool_flags --enable-win32-dll"
  1443 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
  1444 if test "${enable_libtool_lock+set}" = set; then
  1445   enableval="$enable_libtool_lock"
  1446   :
  1447 fi
  1448 
  1449 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
  1450 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
  1451 
  1452 # Check whether --with-pic or --without-pic was given.
  1453 if test "${with_pic+set}" = set; then
  1454   withval="$with_pic"
  1455   pic_mode="$withval"
  1456 else
  1457   pic_mode=default
  1458 fi
  1459 
  1460 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
  1461 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
  1462 
  1463 # Some flags need to be propagated to the compiler or linker for good
  1464 # libtool support.
  1465 case "$host" in
  1466 *-*-irix6*)
  1467   # Find out which ABI we are using.
  1468   echo '#line 1469 "configure"' > conftest.$ac_ext
  1469   if { (eval echo configure:1470: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  1470     case "`/usr/bin/file conftest.o`" in
  1471     *32-bit*)
  1472       LD="${LD-ld} -32"
  1473       ;;
  1474     *N32*)
  1475       LD="${LD-ld} -n32"
  1476       ;;
  1477     *64-bit*)
  1478       LD="${LD-ld} -64"
  1479       ;;
  1480     esac
  1481   fi
  1482   rm -rf conftest*
  1483   ;;
  1484 
  1485 *-*-sco3.2v5*)
  1486   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
  1487   SAVE_CFLAGS="$CFLAGS"
  1488   CFLAGS="$CFLAGS -belf"
  1489   echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
  1490 echo "configure:1491: checking whether the C compiler needs -belf" >&5
  1491 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
  1492   echo $ac_n "(cached) $ac_c" 1>&6
  1493 else
  1494   cat > conftest.$ac_ext <<EOF
  1495 #line 1496 "configure"
  1496 #include "confdefs.h"
  1497 
  1498 int main() {
  1499 
  1500 ; return 0; }
  1501 EOF
  1502 if { (eval echo configure:1503: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  1503   rm -rf conftest*
  1504   lt_cv_cc_needs_belf=yes
  1505 else
  1506   echo "configure: failed program was:" >&5
  1507   cat conftest.$ac_ext >&5
  1508   rm -rf conftest*
  1509   lt_cv_cc_needs_belf=no
  1510 fi
  1511 rm -f conftest*
  1512 fi
  1513 
  1514 echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
  1515   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
  1516     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
  1517     CFLAGS="$SAVE_CFLAGS"
  1518   fi
  1519   ;;
  1520 
  1521 *-*-cygwin* | *-*-mingw*)
  1522   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
  1523 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
  1524 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  1525 echo "configure:1526: checking for $ac_word" >&5
  1526 if eval "test \"`echo '$''{'ac_cv_prog_DLLTOOL'+set}'`\" = set"; then
  1527   echo $ac_n "(cached) $ac_c" 1>&6
  1528 else
  1529   if test -n "$DLLTOOL"; then
  1530   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
  1531 else
  1532   IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
  1533   ac_dummy="$PATH"
  1534   for ac_dir in $ac_dummy; do
  1535     test -z "$ac_dir" && ac_dir=.
  1536     if test -f $ac_dir/$ac_word; then
  1537       ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
  1538       break
  1539     fi
  1540   done
  1541   IFS="$ac_save_ifs"
  1542 fi
  1543 fi
  1544 DLLTOOL="$ac_cv_prog_DLLTOOL"
  1545 if test -n "$DLLTOOL"; then
  1546   echo "$ac_t""$DLLTOOL" 1>&6
  1547 else
  1548   echo "$ac_t""no" 1>&6
  1549 fi
  1550 
  1551 
  1552 if test -z "$ac_cv_prog_DLLTOOL"; then
  1553 if test -n "$ac_tool_prefix"; then
  1554   # Extract the first word of "dlltool", so it can be a program name with args.
  1555 set dummy dlltool; ac_word=$2
  1556 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  1557 echo "configure:1558: checking for $ac_word" >&5
  1558 if eval "test \"`echo '$''{'ac_cv_prog_DLLTOOL'+set}'`\" = set"; then
  1559   echo $ac_n "(cached) $ac_c" 1>&6
  1560 else
  1561   if test -n "$DLLTOOL"; then
  1562   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
  1563 else
  1564   IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
  1565   ac_dummy="$PATH"
  1566   for ac_dir in $ac_dummy; do
  1567     test -z "$ac_dir" && ac_dir=.
  1568     if test -f $ac_dir/$ac_word; then
  1569       ac_cv_prog_DLLTOOL="dlltool"
  1570       break
  1571     fi
  1572   done
  1573   IFS="$ac_save_ifs"
  1574   test -z "$ac_cv_prog_DLLTOOL" && ac_cv_prog_DLLTOOL="false"
  1575 fi
  1576 fi
  1577 DLLTOOL="$ac_cv_prog_DLLTOOL"
  1578 if test -n "$DLLTOOL"; then
  1579   echo "$ac_t""$DLLTOOL" 1>&6
  1580 else
  1581   echo "$ac_t""no" 1>&6
  1582 fi
  1583 
  1584 else
  1585   DLLTOOL="false"
  1586 fi
  1587 fi
  1588 
  1589   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
  1590 set dummy ${ac_tool_prefix}as; ac_word=$2
  1591 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  1592 echo "configure:1593: checking for $ac_word" >&5
  1593 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
  1594   echo $ac_n "(cached) $ac_c" 1>&6
  1595 else
  1596   if test -n "$AS"; then
  1597   ac_cv_prog_AS="$AS" # Let the user override the test.
  1598 else
  1599   IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
  1600   ac_dummy="$PATH"
  1601   for ac_dir in $ac_dummy; do
  1602     test -z "$ac_dir" && ac_dir=.
  1603     if test -f $ac_dir/$ac_word; then
  1604       ac_cv_prog_AS="${ac_tool_prefix}as"
  1605       break
  1606     fi
  1607   done
  1608   IFS="$ac_save_ifs"
  1609 fi
  1610 fi
  1611 AS="$ac_cv_prog_AS"
  1612 if test -n "$AS"; then
  1613   echo "$ac_t""$AS" 1>&6
  1614 else
  1615   echo "$ac_t""no" 1>&6
  1616 fi
  1617 
  1618 
  1619 if test -z "$ac_cv_prog_AS"; then
  1620 if test -n "$ac_tool_prefix"; then
  1621   # Extract the first word of "as", so it can be a program name with args.
  1622 set dummy as; ac_word=$2
  1623 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  1624 echo "configure:1625: checking for $ac_word" >&5
  1625 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
  1626   echo $ac_n "(cached) $ac_c" 1>&6
  1627 else
  1628   if test -n "$AS"; then
  1629   ac_cv_prog_AS="$AS" # Let the user override the test.
  1630 else
  1631   IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
  1632   ac_dummy="$PATH"
  1633   for ac_dir in $ac_dummy; do
  1634     test -z "$ac_dir" && ac_dir=.
  1635     if test -f $ac_dir/$ac_word; then
  1636       ac_cv_prog_AS="as"
  1637       break
  1638     fi
  1639   done
  1640   IFS="$ac_save_ifs"
  1641   test -z "$ac_cv_prog_AS" && ac_cv_prog_AS="false"
  1642 fi
  1643 fi
  1644 AS="$ac_cv_prog_AS"
  1645 if test -n "$AS"; then
  1646   echo "$ac_t""$AS" 1>&6
  1647 else
  1648   echo "$ac_t""no" 1>&6
  1649 fi
  1650 
  1651 else
  1652   AS="false"
  1653 fi
  1654 fi
  1655 
  1656   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
  1657 set dummy ${ac_tool_prefix}objdump; ac_word=$2
  1658 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  1659 echo "configure:1660: checking for $ac_word" >&5
  1660 if eval "test \"`echo '$''{'ac_cv_prog_OBJDUMP'+set}'`\" = set"; then
  1661   echo $ac_n "(cached) $ac_c" 1>&6
  1662 else
  1663   if test -n "$OBJDUMP"; then
  1664   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
  1665 else
  1666   IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
  1667   ac_dummy="$PATH"
  1668   for ac_dir in $ac_dummy; do
  1669     test -z "$ac_dir" && ac_dir=.
  1670     if test -f $ac_dir/$ac_word; then
  1671       ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
  1672       break
  1673     fi
  1674   done
  1675   IFS="$ac_save_ifs"
  1676 fi
  1677 fi
  1678 OBJDUMP="$ac_cv_prog_OBJDUMP"
  1679 if test -n "$OBJDUMP"; then
  1680   echo "$ac_t""$OBJDUMP" 1>&6
  1681 else
  1682   echo "$ac_t""no" 1>&6
  1683 fi
  1684 
  1685 
  1686 if test -z "$ac_cv_prog_OBJDUMP"; then
  1687 if test -n "$ac_tool_prefix"; then
  1688   # Extract the first word of "objdump", so it can be a program name with args.
  1689 set dummy objdump; ac_word=$2
  1690 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  1691 echo "configure:1692: checking for $ac_word" >&5
  1692 if eval "test \"`echo '$''{'ac_cv_prog_OBJDUMP'+set}'`\" = set"; then
  1693   echo $ac_n "(cached) $ac_c" 1>&6
  1694 else
  1695   if test -n "$OBJDUMP"; then
  1696   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
  1697 else
  1698   IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
  1699   ac_dummy="$PATH"
  1700   for ac_dir in $ac_dummy; do
  1701     test -z "$ac_dir" && ac_dir=.
  1702     if test -f $ac_dir/$ac_word; then
  1703       ac_cv_prog_OBJDUMP="objdump"
  1704       break
  1705     fi
  1706   done
  1707   IFS="$ac_save_ifs"
  1708   test -z "$ac_cv_prog_OBJDUMP" && ac_cv_prog_OBJDUMP="false"
  1709 fi
  1710 fi
  1711 OBJDUMP="$ac_cv_prog_OBJDUMP"
  1712 if test -n "$OBJDUMP"; then
  1713   echo "$ac_t""$OBJDUMP" 1>&6
  1714 else
  1715   echo "$ac_t""no" 1>&6
  1716 fi
  1717 
  1718 else
  1719   OBJDUMP="false"
  1720 fi
  1721 fi
  1722 
  1723 
  1724   # recent cygwin and mingw systems supply a stub DllMain which the user
  1725   # can override, but on older systems we have to supply one
  1726   echo $ac_n "checking if libtool should supply DllMain function""... $ac_c" 1>&6
  1727 echo "configure:1728: checking if libtool should supply DllMain function" >&5
  1728 if eval "test \"`echo '$''{'lt_cv_need_dllmain'+set}'`\" = set"; then
  1729   echo $ac_n "(cached) $ac_c" 1>&6
  1730 else
  1731   cat > conftest.$ac_ext <<EOF
  1732 #line 1733 "configure"
  1733 #include "confdefs.h"
  1734 DllMain (0, 0, 0);
  1735 int main() {
  1736 extern int __attribute__((__stdcall__)) DllMain(void*, int, void*);
  1737 ; return 0; }
  1738 EOF
  1739 if { (eval echo configure:1740: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  1740   rm -rf conftest*
  1741   lt_cv_need_dllmain=yes
  1742 else
  1743   echo "configure: failed program was:" >&5
  1744   cat conftest.$ac_ext >&5
  1745   rm -rf conftest*
  1746   lt_cv_need_dllmain=no
  1747 fi
  1748 rm -f conftest*
  1749 fi
  1750 
  1751 echo "$ac_t""$lt_cv_need_dllmain" 1>&6
  1752 
  1753   case $host in
  1754   *-*-cygwin*)
  1755     # cygwin systems need to pass --dll to the linker, and not link
  1756     # crt.o which will require a WinMain@16 definition.
  1757     lt_cv_cc_dll_switch="-Wl,--dll -nostartfiles" ;;
  1758   *-*-mingw*)
  1759     # old mingw systems require "-dll" to link a DLL, while more recent ones
  1760     # require "-mdll"
  1761     SAVE_CFLAGS="$CFLAGS"
  1762     CFLAGS="$CFLAGS -mdll"
  1763     echo $ac_n "checking how to link DLLs""... $ac_c" 1>&6
  1764 echo "configure:1765: checking how to link DLLs" >&5
  1765 if eval "test \"`echo '$''{'lt_cv_cc_dll_switch'+set}'`\" = set"; then
  1766   echo $ac_n "(cached) $ac_c" 1>&6
  1767 else
  1768   cat > conftest.$ac_ext <<EOF
  1769 #line 1770 "configure"
  1770 #include "confdefs.h"
  1771 
  1772 int main() {
  1773 
  1774 ; return 0; }
  1775 EOF
  1776 if { (eval echo configure:1777: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  1777   rm -rf conftest*
  1778   lt_cv_cc_dll_switch=-mdll
  1779 else
  1780   echo "configure: failed program was:" >&5
  1781   cat conftest.$ac_ext >&5
  1782   rm -rf conftest*
  1783   lt_cv_cc_dll_switch=-dll
  1784 fi
  1785 rm -f conftest*
  1786 fi
  1787 
  1788 echo "$ac_t""$lt_cv_cc_dll_switch" 1>&6
  1789     CFLAGS="$SAVE_CFLAGS" ;;
  1790   esac
  1791   ;;
  1792   
  1793 esac
  1794 
  1795 
  1796 # Save cache, so that ltconfig can load it
  1797 cat > confcache <<\EOF
  1798 # This file is a shell script that caches the results of configure
  1799 # tests run on this system so they can be shared between configure
  1800 # scripts and configure runs.  It is not useful on other systems.
  1801 # If it contains results you don't want to keep, you may remove or edit it.
  1802 #
  1803 # By default, configure uses ./config.cache as the cache file,
  1804 # creating it if it does not exist already.  You can give configure
  1805 # the --cache-file=FILE option to use a different cache file; that is
  1806 # what configure does when it calls configure scripts in
  1807 # subdirectories, so they share the cache.
  1808 # Giving --cache-file=/dev/null disables caching, for debugging configure.
  1809 # config.status only pays attention to the cache file if you give it the
  1810 # --recheck option to rerun configure.
  1811 #
  1812 EOF
  1813 # The following way of writing the cache mishandles newlines in values,
  1814 # but we know of no workaround that is simple, portable, and efficient.
  1815 # So, don't put newlines in cache variables' values.
  1816 # Ultrix sh set writes to stderr and can't be redirected directly,
  1817 # and sets the high bit in the cache file unless we assign to the vars.
  1818 (set) 2>&1 |
  1819   case `(ac_space=' '; set | grep ac_space) 2>&1` in
  1820   *ac_space=\ *)
  1821     # `set' does not quote correctly, so add quotes (double-quote substitution
  1822     # turns \\\\ into \\, and sed turns \\ into \).
  1823     sed -n \
  1824       -e "s/'/'\\\\''/g" \
  1825       -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
  1826     ;;
  1827   *)
  1828     # `set' quotes correctly as required by POSIX, so do not add quotes.
  1829     sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
  1830     ;;
  1831   esac >> confcache
  1832 if cmp -s $cache_file confcache; then
  1833   :
  1834 else
  1835   if test -w $cache_file; then
  1836     echo "updating cache $cache_file"
  1837     cat confcache > $cache_file
  1838   else
  1839     echo "not updating unwritable cache $cache_file"
  1840   fi
  1841 fi
  1842 rm -f confcache
  1843 
  1844 
  1845 # Actually configure libtool.  ac_aux_dir is where install-sh is found.
  1846 CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
  1847 LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
  1848 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" \
  1849 DLLTOOL="$DLLTOOL" AS="$AS" OBJDUMP="$OBJDUMP" \
  1850 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
  1851 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
  1852 || { echo "configure: error: libtool configure failed" 1>&2; exit 1; }
  1853 
  1854 # Reload cache, that may have been modified by ltconfig
  1855 if test -r "$cache_file"; then
  1856   echo "loading cache $cache_file"
  1857   . $cache_file
  1858 else
  1859   echo "creating cache $cache_file"
  1860   > $cache_file
  1861 fi
  1862 
  1863 
  1864 # This can be used to rebuild libtool when needed
  1865 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh"
  1866 
  1867 # Always use our own libtool.
  1868 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
  1869 
  1870 # Redirect the config.log output again, so that the ltconfig log is not
  1871 # clobbered by the next message.
  1872 exec 5>>./config.log
  1873 
  1874 # Find a good install program.  We prefer a C program (faster),
  1875 # so one script is as good as another.  But avoid the broken or
  1876 # incompatible versions:
  1877 # SysV /etc/install, /usr/sbin/install
  1878 # SunOS /usr/etc/install
  1879 # IRIX /sbin/install
  1880 # AIX /bin/install
  1881 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  1882 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  1883 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  1884 # ./install, which can be erroneously created by make from ./install.sh.
  1885 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
  1886 echo "configure:1887: checking for a BSD compatible install" >&5
  1887 if test -z "$INSTALL"; then
  1888 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
  1889   echo $ac_n "(cached) $ac_c" 1>&6
  1890 else
  1891     IFS="${IFS= 	}"; ac_save_IFS="$IFS"; IFS=":"
  1892   for ac_dir in $PATH; do
  1893     # Account for people who put trailing slashes in PATH elements.
  1894     case "$ac_dir/" in
  1895     /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
  1896     *)
  1897       # OSF1 and SCO ODT 3.0 have their own names for install.
  1898       # Don't use installbsd from OSF since it installs stuff as root
  1899       # by default.
  1900       for ac_prog in ginstall scoinst install; do
  1901         if test -f $ac_dir/$ac_prog; then
  1902 	  if test $ac_prog = install &&
  1903             grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
  1904 	    # AIX install.  It has an incompatible calling convention.
  1905 	    :
  1906 	  else
  1907 	    ac_cv_path_install="$ac_dir/$ac_prog -c"
  1908 	    break 2
  1909 	  fi
  1910 	fi
  1911       done
  1912       ;;
  1913     esac
  1914   done
  1915   IFS="$ac_save_IFS"
  1916 
  1917 fi
  1918   if test "${ac_cv_path_install+set}" = set; then
  1919     INSTALL="$ac_cv_path_install"
  1920   else
  1921     # As a last resort, use the slow shell script.  We don't cache a
  1922     # path for INSTALL within a source directory, because that will
  1923     # break other packages using the cache if that directory is
  1924     # removed, or if the path is relative.
  1925     INSTALL="$ac_install_sh"
  1926   fi
  1927 fi
  1928 echo "$ac_t""$INSTALL" 1>&6
  1929 
  1930 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  1931 # It thinks the first close brace ends the variable substitution.
  1932 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  1933 
  1934 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
  1935 
  1936 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  1937 
  1938 
  1939 echo $ac_n "checking target system type""... $ac_c" 1>&6
  1940 echo "configure:1941: checking target system type" >&5
  1941 
  1942 target_alias=$target
  1943 case "$target_alias" in
  1944 NONE)
  1945   case $nonopt in
  1946   NONE) target_alias=$host_alias ;;
  1947   *) target_alias=$nonopt ;;
  1948   esac ;;
  1949 esac
  1950 
  1951 target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
  1952 target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
  1953 target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
  1954 target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
  1955 echo "$ac_t""$target" 1>&6
  1956 
  1957 case "$target" in
  1958     alpha*-*-linux*)
  1959         CFLAGS="$CFLAGS -mcpu=ev4 -Wa,-mall"
  1960         ;;
  1961 esac
  1962 
  1963 SDL_VERSION=1.0.1
  1964 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
  1965 if test "${with_sdl_prefix+set}" = set; then
  1966   withval="$with_sdl_prefix"
  1967   sdl_prefix="$withval"
  1968 else
  1969   sdl_prefix=""
  1970 fi
  1971 
  1972 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
  1973 if test "${with_sdl_exec_prefix+set}" = set; then
  1974   withval="$with_sdl_exec_prefix"
  1975   sdl_exec_prefix="$withval"
  1976 else
  1977   sdl_exec_prefix=""
  1978 fi
  1979 
  1980 # Check whether --enable-sdltest or --disable-sdltest was given.
  1981 if test "${enable_sdltest+set}" = set; then
  1982   enableval="$enable_sdltest"
  1983   :
  1984 else
  1985   enable_sdltest=yes
  1986 fi
  1987 
  1988 
  1989   if test x$sdl_exec_prefix != x ; then
  1990      sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
  1991      if test x${SDL_CONFIG+set} != xset ; then
  1992         SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
  1993      fi
  1994   fi
  1995   if test x$sdl_prefix != x ; then
  1996      sdl_args="$sdl_args --prefix=$sdl_prefix"
  1997      if test x${SDL_CONFIG+set} != xset ; then
  1998         SDL_CONFIG=$sdl_prefix/bin/sdl-config
  1999      fi
  2000   fi
  2001 
  2002   # Extract the first word of "sdl-config", so it can be a program name with args.
  2003 set dummy sdl-config; ac_word=$2
  2004 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  2005 echo "configure:2006: checking for $ac_word" >&5
  2006 if eval "test \"`echo '$''{'ac_cv_path_SDL_CONFIG'+set}'`\" = set"; then
  2007   echo $ac_n "(cached) $ac_c" 1>&6
  2008 else
  2009   case "$SDL_CONFIG" in
  2010   /*)
  2011   ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
  2012   ;;
  2013   ?:/*)			 
  2014   ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a dos path.
  2015   ;;
  2016   *)
  2017   IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
  2018   ac_dummy="$PATH"
  2019   for ac_dir in $ac_dummy; do 
  2020     test -z "$ac_dir" && ac_dir=.
  2021     if test -f $ac_dir/$ac_word; then
  2022       ac_cv_path_SDL_CONFIG="$ac_dir/$ac_word"
  2023       break
  2024     fi
  2025   done
  2026   IFS="$ac_save_ifs"
  2027   test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
  2028   ;;
  2029 esac
  2030 fi
  2031 SDL_CONFIG="$ac_cv_path_SDL_CONFIG"
  2032 if test -n "$SDL_CONFIG"; then
  2033   echo "$ac_t""$SDL_CONFIG" 1>&6
  2034 else
  2035   echo "$ac_t""no" 1>&6
  2036 fi
  2037 
  2038   min_sdl_version=$SDL_VERSION
  2039   echo $ac_n "checking for SDL - version >= $min_sdl_version""... $ac_c" 1>&6
  2040 echo "configure:2041: checking for SDL - version >= $min_sdl_version" >&5
  2041   no_sdl=""
  2042   if test "$SDL_CONFIG" = "no" ; then
  2043     no_sdl=yes
  2044   else
  2045     SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
  2046     SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
  2047 
  2048     sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
  2049            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
  2050     sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
  2051            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
  2052     sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
  2053            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
  2054     if test "x$enable_sdltest" = "xyes" ; then
  2055       ac_save_CFLAGS="$CFLAGS"
  2056       ac_save_LIBS="$LIBS"
  2057       CFLAGS="$CFLAGS $SDL_CFLAGS"
  2058       LIBS="$LIBS $SDL_LIBS"
  2059       rm -f conf.sdltest
  2060       if test "$cross_compiling" = yes; then
  2061   echo $ac_n "cross compiling; assumed OK... $ac_c"
  2062 else
  2063   cat > conftest.$ac_ext <<EOF
  2064 #line 2065 "configure"
  2065 #include "confdefs.h"
  2066 
  2067 #include <stdio.h>
  2068 #include <stdlib.h>
  2069 #include <string.h>
  2070 #include "SDL.h"
  2071 
  2072 char*
  2073 my_strdup (char *str)
  2074 {
  2075   char *new_str;
  2076   
  2077   if (str)
  2078     {
  2079       new_str = malloc ((strlen (str) + 1) * sizeof(char));
  2080       strcpy (new_str, str);
  2081     }
  2082   else
  2083     new_str = NULL;
  2084   
  2085   return new_str;
  2086 }
  2087 
  2088 int main ()
  2089 {
  2090   int major, minor, micro;
  2091   char *tmp_version;
  2092 
  2093   system ("touch conf.sdltest");
  2094 
  2095   /* HP/UX 9 (%@#!) writes to sscanf strings */
  2096   tmp_version = my_strdup("$min_sdl_version");
  2097   if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
  2098      printf("%s, bad version string\n", "$min_sdl_version");
  2099      exit(1);
  2100    }
  2101 
  2102    if (($sdl_major_version > major) ||
  2103       (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
  2104       (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
  2105     {
  2106       return 0;
  2107     }
  2108   else
  2109     {
  2110       printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
  2111       printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
  2112       printf("*** best to upgrade to the required version.\n");
  2113       printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
  2114       printf("*** to point to the correct copy of sdl-config, and remove the file\n");
  2115       printf("*** config.cache before re-running configure\n");
  2116       return 1;
  2117     }
  2118 }
  2119 
  2120 
  2121 EOF
  2122 if { (eval echo configure:2123: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
  2123 then
  2124   :
  2125 else
  2126   echo "configure: failed program was:" >&5
  2127   cat conftest.$ac_ext >&5
  2128   rm -fr conftest*
  2129   no_sdl=yes
  2130 fi
  2131 rm -fr conftest*
  2132 fi
  2133 
  2134        CFLAGS="$ac_save_CFLAGS"
  2135        LIBS="$ac_save_LIBS"
  2136      fi
  2137   fi
  2138   if test "x$no_sdl" = x ; then
  2139      echo "$ac_t""yes" 1>&6
  2140      :     
  2141   else
  2142      echo "$ac_t""no" 1>&6
  2143      if test "$SDL_CONFIG" = "no" ; then
  2144        echo "*** The sdl-config script installed by SDL could not be found"
  2145        echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
  2146        echo "*** your path, or set the SDL_CONFIG environment variable to the"
  2147        echo "*** full path to sdl-config."
  2148      else
  2149        if test -f conf.sdltest ; then
  2150         :
  2151        else
  2152           echo "*** Could not run SDL test program, checking why..."
  2153           CFLAGS="$CFLAGS $SDL_CFLAGS"
  2154           LIBS="$LIBS $SDL_LIBS"
  2155           cat > conftest.$ac_ext <<EOF
  2156 #line 2157 "configure"
  2157 #include "confdefs.h"
  2158 
  2159 #include <stdio.h>
  2160 #include "SDL.h"
  2161 
  2162 int main() {
  2163  return 0; 
  2164 ; return 0; }
  2165 EOF
  2166 if { (eval echo configure:2167: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  2167   rm -rf conftest*
  2168    echo "*** The test program compiled, but did not run. This usually means"
  2169           echo "*** that the run-time linker is not finding SDL or finding the wrong"
  2170           echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
  2171           echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
  2172           echo "*** to the installed location  Also, make sure you have run ldconfig if that"
  2173           echo "*** is required on your system"
  2174 	  echo "***"
  2175           echo "*** If you have an old version installed, it is best to remove it, although"
  2176           echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
  2177 else
  2178   echo "configure: failed program was:" >&5
  2179   cat conftest.$ac_ext >&5
  2180   rm -rf conftest*
  2181    echo "*** The test program failed to compile or link. See the file config.log for the"
  2182           echo "*** exact error that occured. This usually means SDL was incorrectly installed"
  2183           echo "*** or that you have moved SDL since it was installed. In the latter case, you"
  2184           echo "*** may want to edit the sdl-config script: $SDL_CONFIG" 
  2185 fi
  2186 rm -f conftest*
  2187           CFLAGS="$ac_save_CFLAGS"
  2188           LIBS="$ac_save_LIBS"
  2189        fi
  2190      fi
  2191      SDL_CFLAGS=""
  2192      SDL_LIBS=""
  2193      { echo "configure: error: *** SDL version $SDL_VERSION not found!" 1>&2; exit 1; }
  2194 
  2195   fi
  2196   
  2197   
  2198   rm -f conf.sdltest
  2199 
  2200 CFLAGS="$CFLAGS $SDL_CFLAGS"
  2201 LIBS="$LIBS $SDL_LIBS"
  2202 
  2203 # Check whether --enable-music-cmd or --disable-music-cmd was given.
  2204 if test "${enable_music_cmd+set}" = set; then
  2205   enableval="$enable_music_cmd"
  2206   :
  2207 else
  2208   enable_music_cmd=yes
  2209 fi
  2210 
  2211 if test x$enable_music_cmd = xyes; then
  2212     CFLAGS="$CFLAGS -DCMD_MUSIC"
  2213 fi
  2214 # Check whether --enable-music-wave or --disable-music-wave was given.
  2215 if test "${enable_music_wave+set}" = set; then
  2216   enableval="$enable_music_wave"
  2217   :
  2218 else
  2219   enable_music_wave=yes
  2220 fi
  2221 
  2222 if test x$enable_music_wave = xyes; then
  2223     CFLAGS="$CFLAGS -DWAV_MUSIC"
  2224 fi
  2225 # Check whether --enable-music-mod or --disable-music-mod was given.
  2226 if test "${enable_music_mod+set}" = set; then
  2227   enableval="$enable_music_mod"
  2228   :
  2229 else
  2230   enable_music_mod=yes
  2231 fi
  2232 
  2233 if test x$enable_music_mod = xyes; then
  2234     CFLAGS="$CFLAGS -DMOD_MUSIC -I\$(top_srcdir)/mikmod"
  2235     MUSIC_SUBDIRS="$MUSIC_SUBDIRS mikmod"
  2236 fi
  2237 # Check whether --enable-music-midi or --disable-music-midi was given.
  2238 if test "${enable_music_midi+set}" = set; then
  2239   enableval="$enable_music_midi"
  2240   :
  2241 else
  2242   enable_music_midi=yes
  2243 fi
  2244 
  2245 if test x$enable_music_midi = xyes; then
  2246     CFLAGS="$CFLAGS -DMID_MUSIC -I\$(top_srcdir)/timidity"
  2247     MUSIC_SUBDIRS="$MUSIC_SUBDIRS timidity"
  2248 fi
  2249 # Check whether --enable-music-mp3 or --disable-music-mp3 was given.
  2250 if test "${enable_music_mp3+set}" = set; then
  2251   enableval="$enable_music_mp3"
  2252   :
  2253 else
  2254   enable_music_mp3=yes
  2255 fi
  2256 
  2257 if test x$enable_music_mp3 = xyes; then
  2258     echo $ac_n "checking for SMPEG headers and libraries""... $ac_c" 1>&6
  2259 echo "configure:2260: checking for SMPEG headers and libraries" >&5
  2260     have_smpeg=no
  2261     cat > conftest.$ac_ext <<EOF
  2262 #line 2263 "configure"
  2263 #include "confdefs.h"
  2264 
  2265      #include <smpeg/smpeg.h>
  2266     
  2267 int main() {
  2268 
  2269     
  2270 ; return 0; }
  2271 EOF
  2272 if { (eval echo configure:2273: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  2273   rm -rf conftest*
  2274   
  2275     have_smpeg=yes
  2276     
  2277 else
  2278   echo "configure: failed program was:" >&5
  2279   cat conftest.$ac_ext >&5
  2280 fi
  2281 rm -f conftest*
  2282     echo "$ac_t""$have_smpeg" 1>&6
  2283     if test x$have_smpeg = xyes; then
  2284         CFLAGS="$CFLAGS -DMP3_MUSIC"
  2285         LIBS="$LIBS -lsmpeg"
  2286     fi
  2287 fi
  2288 
  2289 
  2290 
  2291 
  2292 if test x$enable_music_mod = xyes; then
  2293   USE_MIKMOD_TRUE=
  2294   USE_MIKMOD_FALSE='#'
  2295 else
  2296   USE_MIKMOD_TRUE='#'
  2297   USE_MIKMOD_FALSE=
  2298 fi
  2299 
  2300 
  2301 if test x$enable_music_midi = xyes; then
  2302   USE_TIMIDITY_TRUE=
  2303   USE_TIMIDITY_FALSE='#'
  2304 else
  2305   USE_TIMIDITY_TRUE='#'
  2306   USE_TIMIDITY_FALSE=
  2307 fi
  2308 
  2309 # Finally create all the generated files
  2310 trap '' 1 2 15
  2311 cat > confcache <<\EOF
  2312 # This file is a shell script that caches the results of configure
  2313 # tests run on this system so they can be shared between configure
  2314 # scripts and configure runs.  It is not useful on other systems.
  2315 # If it contains results you don't want to keep, you may remove or edit it.
  2316 #
  2317 # By default, configure uses ./config.cache as the cache file,
  2318 # creating it if it does not exist already.  You can give configure
  2319 # the --cache-file=FILE option to use a different cache file; that is
  2320 # what configure does when it calls configure scripts in
  2321 # subdirectories, so they share the cache.
  2322 # Giving --cache-file=/dev/null disables caching, for debugging configure.
  2323 # config.status only pays attention to the cache file if you give it the
  2324 # --recheck option to rerun configure.
  2325 #
  2326 EOF
  2327 # The following way of writing the cache mishandles newlines in values,
  2328 # but we know of no workaround that is simple, portable, and efficient.
  2329 # So, don't put newlines in cache variables' values.
  2330 # Ultrix sh set writes to stderr and can't be redirected directly,
  2331 # and sets the high bit in the cache file unless we assign to the vars.
  2332 (set) 2>&1 |
  2333   case `(ac_space=' '; set | grep ac_space) 2>&1` in
  2334   *ac_space=\ *)
  2335     # `set' does not quote correctly, so add quotes (double-quote substitution
  2336     # turns \\\\ into \\, and sed turns \\ into \).
  2337     sed -n \
  2338       -e "s/'/'\\\\''/g" \
  2339       -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
  2340     ;;
  2341   *)
  2342     # `set' quotes correctly as required by POSIX, so do not add quotes.
  2343     sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
  2344     ;;
  2345   esac >> confcache
  2346 if cmp -s $cache_file confcache; then
  2347   :
  2348 else
  2349   if test -w $cache_file; then
  2350     echo "updating cache $cache_file"
  2351     cat confcache > $cache_file
  2352   else
  2353     echo "not updating unwritable cache $cache_file"
  2354   fi
  2355 fi
  2356 rm -f confcache
  2357 
  2358 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
  2359 
  2360 test "x$prefix" = xNONE && prefix=$ac_default_prefix
  2361 # Let make expand exec_prefix.
  2362 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  2363 
  2364 # Any assignment to VPATH causes Sun make to only execute
  2365 # the first set of double-colon rules, so remove it if not needed.
  2366 # If there is a colon in the path, we need to keep it.
  2367 if test "x$srcdir" = x.; then
  2368   ac_vpsub='/^[ 	]*VPATH[ 	]*=[^:]*$/d'
  2369 fi
  2370 
  2371 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
  2372 
  2373 # Transform confdefs.h into DEFS.
  2374 # Protect against shell expansion while executing Makefile rules.
  2375 # Protect against Makefile macro expansion.
  2376 cat > conftest.defs <<\EOF
  2377 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g
  2378 s%[ 	`~#$^&*(){}\\|;'"<>?]%\\&%g
  2379 s%\[%\\&%g
  2380 s%\]%\\&%g
  2381 s%\$%$$%g
  2382 EOF
  2383 DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '`
  2384 rm -f conftest.defs
  2385 
  2386 
  2387 # Without the "./", some shells look in PATH for config.status.
  2388 : ${CONFIG_STATUS=./config.status}
  2389 
  2390 echo creating $CONFIG_STATUS
  2391 rm -f $CONFIG_STATUS
  2392 cat > $CONFIG_STATUS <<EOF
  2393 #! /bin/sh
  2394 # Generated automatically by configure.
  2395 # Run this file to recreate the current configuration.
  2396 # This directory was configured as follows,
  2397 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
  2398 #
  2399 # $0 $ac_configure_args
  2400 #
  2401 # Compiler output produced by configure, useful for debugging
  2402 # configure, is in ./config.log if it exists.
  2403 
  2404 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
  2405 for ac_option
  2406 do
  2407   case "\$ac_option" in
  2408   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  2409     echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
  2410     exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
  2411   -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
  2412     echo "$CONFIG_STATUS generated by autoconf version 2.13"
  2413     exit 0 ;;
  2414   -help | --help | --hel | --he | --h)
  2415     echo "\$ac_cs_usage"; exit 0 ;;
  2416   *) echo "\$ac_cs_usage"; exit 1 ;;
  2417   esac
  2418 done
  2419 
  2420 ac_given_srcdir=$srcdir
  2421 ac_given_INSTALL="$INSTALL"
  2422 
  2423 trap 'rm -fr `echo "
  2424 Makefile
  2425 mikmod/Makefile
  2426 timidity/Makefile
  2427 SDL_mixer.spec
  2428 " | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
  2429 EOF
  2430 cat >> $CONFIG_STATUS <<EOF
  2431 
  2432 # Protect against being on the right side of a sed subst in config.status.
  2433 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
  2434  s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
  2435 $ac_vpsub
  2436 $extrasub
  2437 s%@SHELL@%$SHELL%g
  2438 s%@CFLAGS@%$CFLAGS%g
  2439 s%@CPPFLAGS@%$CPPFLAGS%g
  2440 s%@CXXFLAGS@%$CXXFLAGS%g
  2441 s%@FFLAGS@%$FFLAGS%g
  2442 s%@DEFS@%$DEFS%g
  2443 s%@LDFLAGS@%$LDFLAGS%g
  2444 s%@LIBS@%$LIBS%g
  2445 s%@exec_prefix@%$exec_prefix%g
  2446 s%@prefix@%$prefix%g
  2447 s%@program_transform_name@%$program_transform_name%g
  2448 s%@bindir@%$bindir%g
  2449 s%@sbindir@%$sbindir%g
  2450 s%@libexecdir@%$libexecdir%g
  2451 s%@datadir@%$datadir%g
  2452 s%@sysconfdir@%$sysconfdir%g
  2453 s%@sharedstatedir@%$sharedstatedir%g
  2454 s%@localstatedir@%$localstatedir%g
  2455 s%@libdir@%$libdir%g
  2456 s%@includedir@%$includedir%g
  2457 s%@oldincludedir@%$oldincludedir%g
  2458 s%@infodir@%$infodir%g
  2459 s%@mandir@%$mandir%g
  2460 s%@MAJOR_VERSION@%$MAJOR_VERSION%g
  2461 s%@MINOR_VERSION@%$MINOR_VERSION%g
  2462 s%@MICRO_VERSION@%$MICRO_VERSION%g
  2463 s%@INTERFACE_AGE@%$INTERFACE_AGE%g
  2464 s%@BINARY_AGE@%$BINARY_AGE%g
  2465 s%@VERSION@%$VERSION%g
  2466 s%@LT_RELEASE@%$LT_RELEASE%g
  2467 s%@LT_CURRENT@%$LT_CURRENT%g
  2468 s%@LT_REVISION@%$LT_REVISION%g
  2469 s%@LT_AGE@%$LT_AGE%g
  2470 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
  2471 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
  2472 s%@INSTALL_DATA@%$INSTALL_DATA%g
  2473 s%@PACKAGE@%$PACKAGE%g
  2474 s%@ACLOCAL@%$ACLOCAL%g
  2475 s%@AUTOCONF@%$AUTOCONF%g
  2476 s%@AUTOMAKE@%$AUTOMAKE%g
  2477 s%@AUTOHEADER@%$AUTOHEADER%g
  2478 s%@MAKEINFO@%$MAKEINFO%g
  2479 s%@SET_MAKE@%$SET_MAKE%g
  2480 s%@CC@%$CC%g
  2481 s%@host@%$host%g
  2482 s%@host_alias@%$host_alias%g
  2483 s%@host_cpu@%$host_cpu%g
  2484 s%@host_vendor@%$host_vendor%g
  2485 s%@host_os@%$host_os%g
  2486 s%@build@%$build%g
  2487 s%@build_alias@%$build_alias%g
  2488 s%@build_cpu@%$build_cpu%g
  2489 s%@build_vendor@%$build_vendor%g
  2490 s%@build_os@%$build_os%g
  2491 s%@LD@%$LD%g
  2492 s%@NM@%$NM%g
  2493 s%@LN_S@%$LN_S%g
  2494 s%@RANLIB@%$RANLIB%g
  2495 s%@DLLTOOL@%$DLLTOOL%g
  2496 s%@AS@%$AS%g
  2497 s%@OBJDUMP@%$OBJDUMP%g
  2498 s%@LIBTOOL@%$LIBTOOL%g
  2499 s%@target@%$target%g
  2500 s%@target_alias@%$target_alias%g
  2501 s%@target_cpu@%$target_cpu%g
  2502 s%@target_vendor@%$target_vendor%g
  2503 s%@target_os@%$target_os%g
  2504 s%@SDL_CONFIG@%$SDL_CONFIG%g
  2505 s%@SDL_CFLAGS@%$SDL_CFLAGS%g
  2506 s%@SDL_LIBS@%$SDL_LIBS%g
  2507 s%@MUSIC_SUBDIRS@%$MUSIC_SUBDIRS%g
  2508 s%@USE_MIKMOD_TRUE@%$USE_MIKMOD_TRUE%g
  2509 s%@USE_MIKMOD_FALSE@%$USE_MIKMOD_FALSE%g
  2510 s%@USE_TIMIDITY_TRUE@%$USE_TIMIDITY_TRUE%g
  2511 s%@USE_TIMIDITY_FALSE@%$USE_TIMIDITY_FALSE%g
  2512 
  2513 CEOF
  2514 EOF
  2515 
  2516 cat >> $CONFIG_STATUS <<\EOF
  2517 
  2518 # Split the substitutions into bite-sized pieces for seds with
  2519 # small command number limits, like on Digital OSF/1 and HP-UX.
  2520 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
  2521 ac_file=1 # Number of current file.
  2522 ac_beg=1 # First line for current file.
  2523 ac_end=$ac_max_sed_cmds # Line after last line for current file.
  2524 ac_more_lines=:
  2525 ac_sed_cmds=""
  2526 while $ac_more_lines; do
  2527   if test $ac_beg -gt 1; then
  2528     sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
  2529   else
  2530     sed "${ac_end}q" conftest.subs > conftest.s$ac_file
  2531   fi
  2532   if test ! -s conftest.s$ac_file; then
  2533     ac_more_lines=false
  2534     rm -f conftest.s$ac_file
  2535   else
  2536     if test -z "$ac_sed_cmds"; then
  2537       ac_sed_cmds="sed -f conftest.s$ac_file"
  2538     else
  2539       ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
  2540     fi
  2541     ac_file=`expr $ac_file + 1`
  2542     ac_beg=$ac_end
  2543     ac_end=`expr $ac_end + $ac_max_sed_cmds`
  2544   fi
  2545 done
  2546 if test -z "$ac_sed_cmds"; then
  2547   ac_sed_cmds=cat
  2548 fi
  2549 EOF
  2550 
  2551 cat >> $CONFIG_STATUS <<EOF
  2552 
  2553 CONFIG_FILES=\${CONFIG_FILES-"Makefile
  2554 mikmod/Makefile
  2555 timidity/Makefile
  2556 SDL_mixer.spec
  2557 "}
  2558 EOF
  2559 cat >> $CONFIG_STATUS <<\EOF
  2560 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
  2561   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
  2562   case "$ac_file" in
  2563   *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
  2564        ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
  2565   *) ac_file_in="${ac_file}.in" ;;
  2566   esac
  2567 
  2568   # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
  2569 
  2570   # Remove last slash and all that follows it.  Not all systems have dirname.
  2571   ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
  2572   if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
  2573     # The file is in a subdirectory.
  2574     test ! -d "$ac_dir" && mkdir "$ac_dir"
  2575     ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
  2576     # A "../" for each directory in $ac_dir_suffix.
  2577     ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
  2578   else
  2579     ac_dir_suffix= ac_dots=
  2580   fi
  2581 
  2582   case "$ac_given_srcdir" in
  2583   .)  srcdir=.
  2584       if test -z "$ac_dots"; then top_srcdir=.
  2585       else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
  2586   /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
  2587   *) # Relative path.
  2588     srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
  2589     top_srcdir="$ac_dots$ac_given_srcdir" ;;
  2590   esac
  2591 
  2592   case "$ac_given_INSTALL" in
  2593   [/$]*) INSTALL="$ac_given_INSTALL" ;;
  2594   *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
  2595   esac
  2596 
  2597   echo creating "$ac_file"
  2598   rm -f "$ac_file"
  2599   configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
  2600   case "$ac_file" in
  2601   *Makefile*) ac_comsub="1i\\
  2602 # $configure_input" ;;
  2603   *) ac_comsub= ;;
  2604   esac
  2605 
  2606   ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
  2607   sed -e "$ac_comsub
  2608 s%@configure_input@%$configure_input%g
  2609 s%@srcdir@%$srcdir%g
  2610 s%@top_srcdir@%$top_srcdir%g
  2611 s%@INSTALL@%$INSTALL%g
  2612 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
  2613 fi; done
  2614 rm -f conftest.s*
  2615 
  2616 EOF
  2617 cat >> $CONFIG_STATUS <<EOF
  2618 
  2619 EOF
  2620 cat >> $CONFIG_STATUS <<\EOF
  2621 
  2622 exit 0
  2623 EOF
  2624 chmod +x $CONFIG_STATUS
  2625 rm -fr confdefs* $ac_clean_files
  2626 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
  2627