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.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
12 ac_default_prefix=/usr/local
13 # Any additions from configure.in:
15 --enable-config=CONF put settings in config-CONF.make and config-CONF.h;
16 do \`make conf=CONF' to get output in ./out-CONF"
18 --with-localedir=LOCALE use LOCALE as locale dir. Default:
21 --with-lang=LANG use LANG as language to emit messages"
23 # Initialize some variables set by options.
24 # The variables have the same names as the options, with
25 # dashes changed to underlines.
27 cache_file=./config.cache
36 program_transform_name=s,x,x,
44 bindir='${exec_prefix}/bin'
45 sbindir='${exec_prefix}/sbin'
46 libexecdir='${exec_prefix}/libexec'
47 datadir='${prefix}/share'
48 sysconfdir='${prefix}/etc'
49 sharedstatedir='${prefix}/com'
50 localstatedir='${prefix}/var'
51 libdir='${exec_prefix}/lib'
52 includedir='${prefix}/include'
53 oldincludedir='/usr/include'
54 infodir='${prefix}/info'
55 mandir='${prefix}/man'
57 # Initialize some other variables.
60 SHELL=${CONFIG_SHELL-/bin/sh}
61 # Maximum number of lines to put in a shell here document.
68 # If the previous option needs an argument, assign it.
69 if test -n "$ac_prev"; then
70 eval "$ac_prev=\$ac_option"
76 -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
80 # Accept the important Cygnus configure options, so we can diagnose typos.
84 -bindir | --bindir | --bindi | --bind | --bin | --bi)
86 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
87 bindir="$ac_optarg" ;;
89 -build | --build | --buil | --bui | --bu)
91 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
94 -cache-file | --cache-file | --cache-fil | --cache-fi \
95 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
97 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
98 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
99 cache_file="$ac_optarg" ;;
101 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
103 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
105 datadir="$ac_optarg" ;;
107 -disable-* | --disable-*)
108 ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
109 # Reject names that are not valid shell variable names.
110 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
111 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
113 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
114 eval "enable_${ac_feature}=no" ;;
116 -enable-* | --enable-*)
117 ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
118 # Reject names that are not valid shell variable names.
119 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
120 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
122 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
127 eval "enable_${ac_feature}='$ac_optarg'" ;;
129 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
130 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
131 | --exec | --exe | --ex)
132 ac_prev=exec_prefix ;;
133 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
134 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
135 | --exec=* | --exe=* | --ex=*)
136 exec_prefix="$ac_optarg" ;;
138 -gas | --gas | --ga | --g)
139 # Obsolete; use --with-gas.
142 -help | --help | --hel | --he)
143 # Omit some internal or obsolete options to make the list less imposing.
144 # This message is too long to be a string in the A/UX 3.1 sh.
146 Usage: configure [options] [host]
147 Options: [defaults in brackets after descriptions]
149 --cache-file=FILE cache test results in FILE
150 --help print this message
151 --no-create do not create output files
152 --quiet, --silent do not print \`checking...' messages
153 --version print the version of autoconf that created configure
154 Directory and file names:
155 --prefix=PREFIX install architecture-independent files in PREFIX
157 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
159 --bindir=DIR user executables in DIR [EPREFIX/bin]
160 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
161 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
162 --datadir=DIR read-only architecture-independent data in DIR
164 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
165 --sharedstatedir=DIR modifiable architecture-independent data in DIR
167 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
168 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
169 --includedir=DIR C header files in DIR [PREFIX/include]
170 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
171 --infodir=DIR info documentation in DIR [PREFIX/info]
172 --mandir=DIR man documentation in DIR [PREFIX/man]
173 --srcdir=DIR find the sources in DIR [configure dir or ..]
174 --program-prefix=PREFIX prepend PREFIX to installed program names
175 --program-suffix=SUFFIX append SUFFIX to installed program names
176 --program-transform-name=PROGRAM
177 run sed PROGRAM on installed program names
181 --build=BUILD configure for building on BUILD [BUILD=HOST]
182 --host=HOST configure for HOST [guessed]
183 --target=TARGET configure for TARGET [TARGET=HOST]
184 Features and packages:
185 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
186 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
187 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
188 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
189 --x-includes=DIR X include files are in DIR
190 --x-libraries=DIR X library files are in DIR
192 if test -n "$ac_help"; then
193 echo "--enable and --with options recognized:$ac_help"
197 -host | --host | --hos | --ho)
199 -host=* | --host=* | --hos=* | --ho=*)
202 -includedir | --includedir | --includedi | --included | --include \
203 | --includ | --inclu | --incl | --inc)
204 ac_prev=includedir ;;
205 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
206 | --includ=* | --inclu=* | --incl=* | --inc=*)
207 includedir="$ac_optarg" ;;
209 -infodir | --infodir | --infodi | --infod | --info | --inf)
211 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
212 infodir="$ac_optarg" ;;
214 -libdir | --libdir | --libdi | --libd)
216 -libdir=* | --libdir=* | --libdi=* | --libd=*)
217 libdir="$ac_optarg" ;;
219 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
220 | --libexe | --libex | --libe)
221 ac_prev=libexecdir ;;
222 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
223 | --libexe=* | --libex=* | --libe=*)
224 libexecdir="$ac_optarg" ;;
226 -localstatedir | --localstatedir | --localstatedi | --localstated \
227 | --localstate | --localstat | --localsta | --localst \
228 | --locals | --local | --loca | --loc | --lo)
229 ac_prev=localstatedir ;;
230 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
231 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
232 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
233 localstatedir="$ac_optarg" ;;
235 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
237 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
238 mandir="$ac_optarg" ;;
241 # Obsolete; use --without-fp.
244 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
248 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
249 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
252 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
253 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
254 | --oldin | --oldi | --old | --ol | --o)
255 ac_prev=oldincludedir ;;
256 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
257 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
258 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
259 oldincludedir="$ac_optarg" ;;
261 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
263 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
264 prefix="$ac_optarg" ;;
266 -program-prefix | --program-prefix | --program-prefi | --program-pref \
267 | --program-pre | --program-pr | --program-p)
268 ac_prev=program_prefix ;;
269 -program-prefix=* | --program-prefix=* | --program-prefi=* \
270 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
271 program_prefix="$ac_optarg" ;;
273 -program-suffix | --program-suffix | --program-suffi | --program-suff \
274 | --program-suf | --program-su | --program-s)
275 ac_prev=program_suffix ;;
276 -program-suffix=* | --program-suffix=* | --program-suffi=* \
277 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
278 program_suffix="$ac_optarg" ;;
280 -program-transform-name | --program-transform-name \
281 | --program-transform-nam | --program-transform-na \
282 | --program-transform-n | --program-transform- \
283 | --program-transform | --program-transfor \
284 | --program-transfo | --program-transf \
285 | --program-trans | --program-tran \
286 | --progr-tra | --program-tr | --program-t)
287 ac_prev=program_transform_name ;;
288 -program-transform-name=* | --program-transform-name=* \
289 | --program-transform-nam=* | --program-transform-na=* \
290 | --program-transform-n=* | --program-transform-=* \
291 | --program-transform=* | --program-transfor=* \
292 | --program-transfo=* | --program-transf=* \
293 | --program-trans=* | --program-tran=* \
294 | --progr-tra=* | --program-tr=* | --program-t=*)
295 program_transform_name="$ac_optarg" ;;
297 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
298 | -silent | --silent | --silen | --sile | --sil)
301 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
303 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
305 sbindir="$ac_optarg" ;;
307 -sharedstatedir | --sharedstatedir | --sharedstatedi \
308 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
309 | --sharedst | --shareds | --shared | --share | --shar \
311 ac_prev=sharedstatedir ;;
312 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
313 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
314 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
316 sharedstatedir="$ac_optarg" ;;
318 -site | --site | --sit)
320 -site=* | --site=* | --sit=*)
323 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
325 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
326 srcdir="$ac_optarg" ;;
328 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
329 | --syscon | --sysco | --sysc | --sys | --sy)
330 ac_prev=sysconfdir ;;
331 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
332 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
333 sysconfdir="$ac_optarg" ;;
335 -target | --target | --targe | --targ | --tar | --ta | --t)
337 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
338 target="$ac_optarg" ;;
340 -v | -verbose | --verbose | --verbos | --verbo | --verb)
343 -version | --version | --versio | --versi | --vers)
344 echo "configure generated by autoconf version 2.13"
348 ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
349 # Reject names that are not valid shell variable names.
350 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
351 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
353 ac_package=`echo $ac_package| sed 's/-/_/g'`
358 eval "with_${ac_package}='$ac_optarg'" ;;
360 -without-* | --without-*)
361 ac_package=`echo $ac_option|sed -e 's/-*without-//'`
362 # Reject names that are not valid shell variable names.
363 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
364 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
366 ac_package=`echo $ac_package| sed 's/-/_/g'`
367 eval "with_${ac_package}=no" ;;
370 # Obsolete; use --with-x.
373 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
374 | --x-incl | --x-inc | --x-in | --x-i)
375 ac_prev=x_includes ;;
376 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
377 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
378 x_includes="$ac_optarg" ;;
380 -x-libraries | --x-libraries | --x-librarie | --x-librari \
381 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
382 ac_prev=x_libraries ;;
383 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
384 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
385 x_libraries="$ac_optarg" ;;
387 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
391 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
392 echo "configure: warning: $ac_option: invalid host type" 1>&2
394 if test "x$nonopt" != xNONE; then
395 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
403 if test -n "$ac_prev"; then
404 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
407 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
409 # File descriptor usage:
412 # 2 errors and warnings
413 # 3 some systems may open it to /dev/tty
414 # 4 used on the Kubota Titan
415 # 6 checking for... messages and results
416 # 5 compiler messages saved in config.log
417 if test "$silent" = yes; then
425 This file contains any messages produced by compilers while
426 running configure, to aid debugging if configure makes a mistake.
429 # Strip out --no-create and --no-recursion so they do not pile up.
430 # Also quote any args containing shell metacharacters.
435 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
436 | --no-cr | --no-c) ;;
437 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
438 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
439 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
440 ac_configure_args="$ac_configure_args '$ac_arg'" ;;
441 *) ac_configure_args="$ac_configure_args $ac_arg" ;;
446 # Only set these to C if already set. These must not be set unconditionally
447 # because not all systems understand e.g. LANG=C (notably SCO).
448 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
449 # Non-C LC_CTYPE values break the ctype check.
450 if test "${LANG+set}" = set; then LANG=C; export LANG; fi
451 if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
452 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
453 if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
455 # confdefs.h avoids OS command line length limits that DEFS can exceed.
456 rm -rf conftest* confdefs.h
457 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
460 # A filename unique to this package, relative to the directory that
461 # configure is in, which we can look for to find out if srcdir is correct.
462 ac_unique_file=make/stepmake.lsm.in
464 # Find the source files, if location was not specified.
465 if test -z "$srcdir"; then
466 ac_srcdir_defaulted=yes
467 # Try the directory containing this script, then its parent.
469 ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
470 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
472 if test ! -r $srcdir/$ac_unique_file; then
476 ac_srcdir_defaulted=no
478 if test ! -r $srcdir/$ac_unique_file; then
479 if test "$ac_srcdir_defaulted" = yes; then
480 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
482 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
485 srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
487 # Prefer explicitly selected file to automatically selected ones.
488 if test -z "$CONFIG_SITE"; then
489 if test "x$prefix" != xNONE; then
490 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
492 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
495 for ac_site_file in $CONFIG_SITE; do
496 if test -r "$ac_site_file"; then
497 echo "loading site script $ac_site_file"
502 if test -r "$cache_file"; then
503 echo "loading cache $cache_file"
506 echo "creating cache $cache_file"
511 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
512 ac_cpp='$CPP $CPPFLAGS'
513 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
514 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
515 cross_compiling=$ac_cv_prog_cc_cross
519 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
520 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
521 if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
528 ac_n= ac_c='\c' ac_t=
534 # Bootstrap StepMake configure
538 FULL_VERSION=$MAJOR_VERSION.$MINOR_VERSION.$PATCH_LEVEL
539 if test x$MY_PATCH_LEVEL != x; then
540 FULL_VERSION=$FULL_VERSION.$MY_PATCH_LEVEL
543 # urg: don't "fix" this: irix doesn't know about [:lower:] and [:upper:]
544 PACKAGE=`echo $PACKAGE_NAME | tr '[a-z]' '[A-Z]'`
545 package=`echo $PACKAGE_NAME | tr '[A-Z]' '[a-z]'`
547 # No versioning on directory names of sub-packages
549 stepmake=${datadir}/stepmake
551 if test "$prefix" = "NONE"; then
552 presome=${ac_default_prefix}
554 stepmake=`echo ${stepmake} | sed "s!\\\${prefix}!$presome!"`
556 # urg, how is this supposed to work?
557 if test "$program_prefix" = "NONE"; then
560 if test "$program_suffix" = "NONE"; then
564 echo $ac_n "checking Package""... $ac_c" 1>&6
565 echo "configure:566: checking Package" >&5
566 if test "x$PACKAGE" = "xSTEPMAKE"; then
567 echo "$ac_t""Stepmake package!" 1>&6
569 echo $ac_n "checking builddir""... $ac_c" 1>&6
570 echo "configure:571: checking builddir" >&5
571 if test "$srcdir" = "."; then
574 absolute_builddir="`pwd`"
575 package_absolute_builddir="`dirname $absolute_builddir`"
576 package_srcdir="`dirname $srcdir`"
577 builddir="`dirname $package_srcdir`/`basename $package_absolute_builddir`/`basename $absolute_builddir`"
579 echo "$ac_t""$builddir" 1>&6
581 (cd stepmake 2>/dev/null || mkdir stepmake)
582 (cd stepmake; rm -f bin; ln -s ../$srcdir/bin .)
584 for ac_dir in bin $srcdir/bin; do
585 if test -f $ac_dir/install-sh; then
587 ac_install_sh="$ac_aux_dir/install-sh -c"
589 elif test -f $ac_dir/install.sh; then
591 ac_install_sh="$ac_aux_dir/install.sh -c"
595 if test -z "$ac_aux_dir"; then
596 { echo "configure: error: can not find install-sh or install.sh in bin $srcdir/bin" 1>&2; exit 1; }
598 ac_config_guess=$ac_aux_dir/config.guess
599 ac_config_sub=$ac_aux_dir/config.sub
600 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
604 echo "$ac_t""$PACKAGE" 1>&6
606 echo $ac_n "checking builddir""... $ac_c" 1>&6
607 echo "configure:608: checking builddir" >&5
608 if test "$srcdir" = "."; then
612 absolute_builddir="`pwd`"
613 # builddir="`dirname $srcdir`/`basename $absolute_builddir`"
614 builddir="`bash $srcdir/buildscripts/walk.sh \"$srcdir\"`"
617 echo "$ac_t""$builddir" 1>&6
618 if expr "$srcdir" : '/' > /dev/null 2>&1; then
621 echo "configure: warning: Absolute --srcdir specified: $srcdir" 1>&2
626 echo $ac_n "checking for stepmake""... $ac_c" 1>&6
627 echo "configure:628: checking for stepmake" >&5
628 # Check for installed stepmake
629 if test -d $stepmake; then
630 echo "$ac_t""$stepmake" 1>&6
632 if test "$absolute_srcdir" != "yes"; then
633 stepmake='$(depth)'/$srcdir/stepmake
635 stepmake=$srcdir/stepmake
637 echo "$ac_t""$srcdir/stepmake ($datadir/stepmake not found)" 1>&6
642 $HOME/usr/local/share/stepmake/bin\
643 $HOME/usr/local/lib/stepmake/bin\
644 $HOME/usr/share/stepmake/bin\
645 $HOME/usr/lib/stepmake/bin\
646 /usr/local/share/stepmake/bin\
647 /usr/local/lib/stepmake/bin\
648 /usr/share/stepmake/bin\
649 /usr/lib/stepmake/bin\
651 $srcdir/stepmake/bin\
653 $HOME/usr/local/share/stepmake/bin\
654 $HOME/usr/local/lib/stepmake/bin\
655 $HOME/usr/share/stepmake/bin\
656 $HOME/usr/lib/stepmake/bin\
657 /usr/local/share/stepmake/bin\
658 /usr/local/lib/stepmake/bin\
659 /usr/share/stepmake/bin\
660 /usr/lib/stepmake/bin\
662 $srcdir/stepmake/bin\
664 if test -f $ac_dir/install-sh; then
666 ac_install_sh="$ac_aux_dir/install-sh -c"
668 elif test -f $ac_dir/install.sh; then
670 ac_install_sh="$ac_aux_dir/install.sh -c"
674 if test -z "$ac_aux_dir"; then
675 { echo "configure: error: can not find install-sh or install.sh in \
676 $HOME/usr/local/share/stepmake/bin\
677 $HOME/usr/local/lib/stepmake/bin\
678 $HOME/usr/share/stepmake/bin\
679 $HOME/usr/lib/stepmake/bin\
680 /usr/local/share/stepmake/bin\
681 /usr/local/lib/stepmake/bin\
682 /usr/share/stepmake/bin\
683 /usr/lib/stepmake/bin\
685 $srcdir/stepmake/bin\
687 $HOME/usr/local/share/stepmake/bin\
688 $HOME/usr/local/lib/stepmake/bin\
689 $HOME/usr/share/stepmake/bin\
690 $HOME/usr/lib/stepmake/bin\
691 /usr/local/share/stepmake/bin\
692 /usr/local/lib/stepmake/bin\
693 /usr/share/stepmake/bin\
694 /usr/lib/stepmake/bin\
696 $srcdir/stepmake/bin\
699 ac_config_guess=$ac_aux_dir/config.guess
700 ac_config_sub=$ac_aux_dir/config.sub
701 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
710 cat >> confdefs.h <<EOF
711 #define PACKAGE "${PACKAGE_NAME}"
714 cat >> confdefs.h <<EOF
715 #define TOPLEVEL_VERSION "${FULL_VERSION}"
719 if test "$package_depth" = "" ; then
722 package_depth="../$package_depth"
727 AUTOGENERATE="This file was automatically generated by configure"
731 # Check whether --enable-config or --disable-config was given.
732 if test "${enable_config+set}" = set; then
733 enableval="$enable_config"
734 CONFIGURATION=$enableval
740 test -n "$CONFIGURATION" && CONFIGSUFFIX="-$CONFIGURATION"
741 CONFIGFILE=config$CONFIGSUFFIX
745 # Make sure we can run config.sub.
746 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
747 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
750 echo $ac_n "checking host system type""... $ac_c" 1>&6
751 echo "configure:752: checking host system type" >&5
754 case "$host_alias" in
758 if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
759 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
761 *) host_alias=$nonopt ;;
765 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
766 host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
767 host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
768 host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
769 echo "$ac_t""$host" 1>&6
772 for ac_prog in gmake make
774 # Extract the first word of "$ac_prog", so it can be a program name with args.
775 set dummy $ac_prog; ac_word=$2
776 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
777 echo "configure:778: checking for $ac_word" >&5
778 if eval "test \"`echo '$''{'ac_cv_prog_MAKE'+set}'`\" = set"; then
779 echo $ac_n "(cached) $ac_c" 1>&6
781 if test -n "$MAKE"; then
782 ac_cv_prog_MAKE="$MAKE" # Let the user override the test.
784 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
786 for ac_dir in $ac_dummy; do
787 test -z "$ac_dir" && ac_dir=.
788 if test -f $ac_dir/$ac_word; then
789 ac_cv_prog_MAKE="$ac_prog"
796 MAKE="$ac_cv_prog_MAKE"
797 if test -n "$MAKE"; then
798 echo "$ac_t""$MAKE" 1>&6
800 echo "$ac_t""no" 1>&6
803 test -n "$MAKE" && break
805 test -n "$MAKE" || MAKE="no"
809 r="`eval echo '$'"MAKE"`"
810 if test -n "$r" -a "$r" != "error" -a "$r" != "no" && ! expr '`eval echo '$'"MAKE"`' : '.*\(echo\)' > /dev/null; then
811 ##STEPMAKE_WARN(cannot find . )
817 if test $? -ne 0; then
819 eval "REQUIRED"=\"`eval echo \"'$'REQUIRED\" \"gmake make\"`\"
821 if test "REQUIRED" = "REQUIRED"; then
822 command="echo ERROR: gmake make not found"
823 # abort configure process here?
825 command="- echo gmake make not found"
827 eval "MAKE"='$command'
833 if test $? -eq 0 -a -n ""; then
835 r="`eval echo '$'"MAKE"`"
836 echo $ac_n "checking "$r version"""... $ac_c" 1>&6
837 echo "configure:838: checking "$r version"" >&5
839 type -p "$r" 2>&1 | awk '{print $NF}'
842 "$exe" --version 2>&1 | grep -v '^$' | head -1 | awk '{print $NF}'
845 echo "$ver" | awk -F. '
850 {printf "%s%s%s\n",$1*100, $2*10,last}'
858 {printf "%s%s%s\n",$1*100, $2*10,last}'
860 echo "$ac_t"""$ver"" 1>&6
861 if test "$num" -lt "$req"; then
863 eval "REQUIRED"=\"`eval echo \"'$'REQUIRED\" \""$r (installed: $ver)"\"`\"
872 # Extract the first word of "$ac_prog", so it can be a program name with args.
873 set dummy $ac_prog; ac_word=$2
874 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
875 echo "configure:876: checking for $ac_word" >&5
876 if eval "test \"`echo '$''{'ac_cv_prog_FIND'+set}'`\" = set"; then
877 echo $ac_n "(cached) $ac_c" 1>&6
879 if test -n "$FIND"; then
880 ac_cv_prog_FIND="$FIND" # Let the user override the test.
882 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
884 for ac_dir in $ac_dummy; do
885 test -z "$ac_dir" && ac_dir=.
886 if test -f $ac_dir/$ac_word; then
887 ac_cv_prog_FIND="$ac_prog"
894 FIND="$ac_cv_prog_FIND"
895 if test -n "$FIND"; then
896 echo "$ac_t""$FIND" 1>&6
898 echo "$ac_t""no" 1>&6
901 test -n "$FIND" && break
903 test -n "$FIND" || FIND="no"
907 r="`eval echo '$'"FIND"`"
908 if test -n "$r" -a "$r" != "error" -a "$r" != "no" && ! expr '`eval echo '$'"FIND"`' : '.*\(echo\)' > /dev/null; then
909 ##STEPMAKE_WARN(cannot find . )
915 if test $? -ne 0; then
917 eval "REQUIRED"=\"`eval echo \"'$'REQUIRED\" \"find\"`\"
919 if test "REQUIRED" = "REQUIRED"; then
920 command="echo ERROR: find not found"
921 # abort configure process here?
923 command="- echo find not found"
925 eval "FIND"='$command'
931 if test $? -eq 0 -a -n ""; then
933 r="`eval echo '$'"FIND"`"
934 echo $ac_n "checking "$r version"""... $ac_c" 1>&6
935 echo "configure:936: checking "$r version"" >&5
937 type -p "$r" 2>&1 | awk '{print $NF}'
940 "$exe" --version 2>&1 | grep -v '^$' | head -1 | awk '{print $NF}'
943 echo "$ver" | awk -F. '
948 {printf "%s%s%s\n",$1*100, $2*10,last}'
956 {printf "%s%s%s\n",$1*100, $2*10,last}'
958 echo "$ac_t"""$ver"" 1>&6
959 if test "$num" -lt "$req"; then
961 eval "REQUIRED"=\"`eval echo \"'$'REQUIRED\" \""$r (installed: $ver)"\"`\"
971 # Extract the first word of "$ac_prog", so it can be a program name with args.
972 set dummy $ac_prog; ac_word=$2
973 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
974 echo "configure:975: checking for $ac_word" >&5
975 if eval "test \"`echo '$''{'ac_cv_prog_TAR'+set}'`\" = set"; then
976 echo $ac_n "(cached) $ac_c" 1>&6
978 if test -n "$TAR"; then
979 ac_cv_prog_TAR="$TAR" # Let the user override the test.
981 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
983 for ac_dir in $ac_dummy; do
984 test -z "$ac_dir" && ac_dir=.
985 if test -f $ac_dir/$ac_word; then
986 ac_cv_prog_TAR="$ac_prog"
993 TAR="$ac_cv_prog_TAR"
994 if test -n "$TAR"; then
995 echo "$ac_t""$TAR" 1>&6
997 echo "$ac_t""no" 1>&6
1000 test -n "$TAR" && break
1002 test -n "$TAR" || TAR="no"
1006 r="`eval echo '$'"TAR"`"
1007 if test -n "$r" -a "$r" != "error" -a "$r" != "no" && ! expr '`eval echo '$'"TAR"`' : '.*\(echo\)' > /dev/null; then
1008 ##STEPMAKE_WARN(cannot find . )
1014 if test $? -ne 0; then
1016 eval "REQUIRED"=\"`eval echo \"'$'REQUIRED\" \"tar\"`\"
1018 if test "REQUIRED" = "REQUIRED"; then
1019 command="echo ERROR: tar not found"
1020 # abort configure process here?
1022 command="- echo tar not found"
1024 eval "TAR"='$command'
1030 if test $? -eq 0 -a -n ""; then
1032 r="`eval echo '$'"TAR"`"
1033 echo $ac_n "checking "$r version"""... $ac_c" 1>&6
1034 echo "configure:1035: checking "$r version"" >&5
1036 type -p "$r" 2>&1 | awk '{print $NF}'
1039 "$exe" --version 2>&1 | grep -v '^$' | head -1 | awk '{print $NF}'
1042 echo "$ver" | awk -F. '
1047 {printf "%s%s%s\n",$1*100, $2*10,last}'
1055 {printf "%s%s%s\n",$1*100, $2*10,last}'
1057 echo "$ac_t"""$ver"" 1>&6
1058 if test "$num" -lt "$req"; then
1060 eval "REQUIRED"=\"`eval echo \"'$'REQUIRED\" \""$r (installed: $ver)"\"`\"
1067 if test "x`uname`" = "xHP-UX"; then
1068 # Extract the first word of "bash", so it can be a program name with args.
1069 set dummy bash; ac_word=$2
1070 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1071 echo "configure:1072: checking for $ac_word" >&5
1072 if eval "test \"`echo '$''{'ac_cv_path_BASH'+set}'`\" = set"; then
1073 echo $ac_n "(cached) $ac_c" 1>&6
1077 ac_cv_path_BASH="$BASH" # Let the user override the test with a path.
1080 ac_cv_path_BASH="$BASH" # Let the user override the test with a dos path.
1083 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1085 for ac_dir in $ac_dummy; do
1086 test -z "$ac_dir" && ac_dir=.
1087 if test -f $ac_dir/$ac_word; then
1088 ac_cv_path_BASH="$ac_dir/$ac_word"
1093 test -z "$ac_cv_path_BASH" && ac_cv_path_BASH="/bin/sh"
1097 BASH="$ac_cv_path_BASH"
1098 if test -n "$BASH"; then
1099 echo "$ac_t""$BASH" 1>&6
1101 echo "$ac_t""no" 1>&6
1105 echo "configure: warning: avoiding buggy /bin/sh" 1>&2
1108 # Extract the first word of "bash", so it can be a program name with args.
1109 set dummy bash; ac_word=$2
1110 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1111 echo "configure:1112: checking for $ac_word" >&5
1112 if eval "test \"`echo '$''{'ac_cv_path_SHELL'+set}'`\" = set"; then
1113 echo $ac_n "(cached) $ac_c" 1>&6
1117 ac_cv_path_SHELL="$SHELL" # Let the user override the test with a path.
1120 ac_cv_path_SHELL="$SHELL" # Let the user override the test with a dos path.
1123 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1125 for ac_dir in $ac_dummy; do
1126 test -z "$ac_dir" && ac_dir=.
1127 if test -f $ac_dir/$ac_word; then
1128 ac_cv_path_SHELL="$ac_dir/$ac_word"
1133 test -z "$ac_cv_path_SHELL" && ac_cv_path_SHELL="/bin/ksh"
1137 SHELL="$ac_cv_path_SHELL"
1138 if test -n "$SHELL"; then
1139 echo "$ac_t""$SHELL" 1>&6
1141 echo "$ac_t""no" 1>&6
1145 # Extract the first word of "bash", so it can be a program name with args.
1146 set dummy bash; ac_word=$2
1147 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1148 echo "configure:1149: checking for $ac_word" >&5
1149 if eval "test \"`echo '$''{'ac_cv_path_BASH'+set}'`\" = set"; then
1150 echo $ac_n "(cached) $ac_c" 1>&6
1154 ac_cv_path_BASH="$BASH" # Let the user override the test with a path.
1157 ac_cv_path_BASH="$BASH" # Let the user override the test with a dos path.
1160 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1162 for ac_dir in $ac_dummy; do
1163 test -z "$ac_dir" && ac_dir=.
1164 if test -f $ac_dir/$ac_word; then
1165 ac_cv_path_BASH="$ac_dir/$ac_word"
1170 test -z "$ac_cv_path_BASH" && ac_cv_path_BASH="/bin/sh"
1174 BASH="$ac_cv_path_BASH"
1175 if test -n "$BASH"; then
1176 echo "$ac_t""$BASH" 1>&6
1178 echo "$ac_t""no" 1>&6
1186 for ac_prog in python
1188 # Extract the first word of "$ac_prog", so it can be a program name with args.
1189 set dummy $ac_prog; ac_word=$2
1190 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1191 echo "configure:1192: checking for $ac_word" >&5
1192 if eval "test \"`echo '$''{'ac_cv_prog_PYTHON'+set}'`\" = set"; then
1193 echo $ac_n "(cached) $ac_c" 1>&6
1195 if test -n "$PYTHON"; then
1196 ac_cv_prog_PYTHON="$PYTHON" # Let the user override the test.
1198 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1200 for ac_dir in $ac_dummy; do
1201 test -z "$ac_dir" && ac_dir=.
1202 if test -f $ac_dir/$ac_word; then
1203 ac_cv_prog_PYTHON="$ac_prog"
1210 PYTHON="$ac_cv_prog_PYTHON"
1211 if test -n "$PYTHON"; then
1212 echo "$ac_t""$PYTHON" 1>&6
1214 echo "$ac_t""no" 1>&6
1217 test -n "$PYTHON" && break
1219 test -n "$PYTHON" || PYTHON="no"
1223 r="`eval echo '$'"PYTHON"`"
1224 if test -n "$r" -a "$r" != "error" -a "$r" != "no" && ! expr '`eval echo '$'"PYTHON"`' : '.*\(echo\)' > /dev/null; then
1225 ##STEPMAKE_WARN(cannot find . )
1231 if test $? -ne 0; then
1233 eval "REQUIRED"=\"`eval echo \"'$'REQUIRED\" \"python\"`\"
1235 if test "REQUIRED" = "REQUIRED"; then
1236 command="echo ERROR: python not found"
1237 # abort configure process here?
1239 command="- echo python not found"
1241 eval "PYTHON"='$command'
1247 if test $? -eq 0; then
1248 # Extract the first word of "python", so it can be a program name with args.
1249 set dummy python; ac_word=$2
1250 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1251 echo "configure:1252: checking for $ac_word" >&5
1252 if eval "test \"`echo '$''{'ac_cv_path_PYTHON'+set}'`\" = set"; then
1253 echo $ac_n "(cached) $ac_c" 1>&6
1257 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
1260 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a dos path.
1263 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1265 for ac_dir in $ac_dummy; do
1266 test -z "$ac_dir" && ac_dir=.
1267 if test -f $ac_dir/$ac_word; then
1268 ac_cv_path_PYTHON="$ac_dir/$ac_word"
1276 PYTHON="$ac_cv_path_PYTHON"
1277 if test -n "$PYTHON"; then
1278 echo "$ac_t""$PYTHON" 1>&6
1280 echo "$ac_t""no" 1>&6
1285 r="`eval echo '$'"PYTHON"`"
1286 echo $ac_n "checking "$r version"""... $ac_c" 1>&6
1287 echo "configure:1288: checking "$r version"" >&5
1289 type -p "$r" 2>&1 | awk '{print $NF}'
1292 "$exe" --version 2>&1 | grep -v '^$' | head -1 | awk '{print $NF}'
1295 echo "$ver" | awk -F. '
1300 {printf "%s%s%s\n",$1*100, $2*10,last}'
1308 {printf "%s%s%s\n",$1*100, $2*10,last}'
1310 echo "$ac_t"""$ver"" 1>&6
1311 if test "$num" -lt "$req"; then
1313 eval "REQUIRED"=\"`eval echo \"'$'REQUIRED\" \""$r (installed: $ver)"\"`\"
1321 if expr "$MAKE" : '.*\(echo\)' >/dev/null; then
1322 $MAKE -v 2> /dev/null | grep GNU > /dev/null
1323 if test "$?" = 1; then
1324 warn='make (Please install *GNU* make)'
1326 echo "configure: warning: $warn" 1>&2
1330 eval "REQUIRED"=\"`eval echo \"'$'REQUIRED\" \"$warn\"`\"
1335 if test "$OSTYPE" = "cygwin" -o "$OSTYPE" = "cygwin32" -o "$OSTYPE" = "Windows_NT"; then
1336 LN=cp # hard link does not work under cygnus-nt
1337 LN_S='cp -r' # symbolic link does not work for native nt
1343 INSTALL="\$(SHELL) \$(stepdir)/../bin/install-dot-exe.sh -c"
1351 INSTALL="\$(SHELL) \$(stepdir)/../bin/install-sh -c"
1359 cat >> confdefs.h <<EOF
1360 #define DIRSEP '${DIRSEP}'
1363 cat >> confdefs.h <<EOF
1364 #define PATHSEP '${PATHSEP}'
1371 if test "$datadir" = "\${prefix}/share"; then
1372 datadir='${prefix}/share/'$package
1374 DIR_DATADIR=${datadir}
1376 if test "$prefix" = "NONE"; then
1377 presome=${ac_default_prefix}
1379 DIR_DATADIR=`echo ${DIR_DATADIR} | sed "s!\\\${prefix}!$presome!"`
1385 cat >> confdefs.h <<EOF
1386 #define DIR_DATADIR "${DIR_DATADIR}"
1392 # For all packages except the StepMake package itself
1393 # AC_CONFIG_SUBDIRS(stepmake)
1395 # Uncomment the configuration options your package needs.
1397 # AC_HAVE_HEADERS(limits.h malloc.h string.h unistd.h values.h)
1400 # STEPMAKE_CXXTEMPLATE
1409 # Check whether --with-localedir or --without-localedir was given.
1410 if test "${with_localedir+set}" = set; then
1411 withval="$with_localedir"
1412 localedir=$with_localedir
1414 localedir='${prefix}/share/locale'
1418 # Check whether --with-lang or --without-lang was given.
1419 if test "${with_lang+set}" = set; then
1420 withval="$with_lang"
1427 echo $ac_n "checking language""... $ac_c" 1>&6
1428 echo "configure:1429: checking language" >&5
1430 En* | en* | Am* | am* | US* | us*)
1432 NL | nl | Du* | du* | Ned* | ned*)
1439 echo "$ac_t""$lang" 1>&6
1441 if test "$lang" = "unknown" ; then
1443 echo "configure: warning: $language not supported; available are: $ALL_LINGUAS" 1>&2
1453 # STEPMAKE_TEXMF_DIRS
1455 # AM_PATH_GTK(1.0.0,,AC_MSG_ERROR([please install proper version of gtk]))
1456 # AM_PATH_GTK__(0.9.4,,AC_MSG_ERROR([please install proper version of gtk--]))
1458 for ac_prog in makeinfo
1460 # Extract the first word of "$ac_prog", so it can be a program name with args.
1461 set dummy $ac_prog; ac_word=$2
1462 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1463 echo "configure:1464: checking for $ac_word" >&5
1464 if eval "test \"`echo '$''{'ac_cv_prog_MAKEINFO'+set}'`\" = set"; then
1465 echo $ac_n "(cached) $ac_c" 1>&6
1467 if test -n "$MAKEINFO"; then
1468 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
1470 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1472 for ac_dir in $ac_dummy; do
1473 test -z "$ac_dir" && ac_dir=.
1474 if test -f $ac_dir/$ac_word; then
1475 ac_cv_prog_MAKEINFO="$ac_prog"
1482 MAKEINFO="$ac_cv_prog_MAKEINFO"
1483 if test -n "$MAKEINFO"; then
1484 echo "$ac_t""$MAKEINFO" 1>&6
1486 echo "$ac_t""no" 1>&6
1489 test -n "$MAKEINFO" && break
1491 test -n "$MAKEINFO" || MAKEINFO="error"
1499 cat > confcache <<\EOF
1500 # This file is a shell script that caches the results of configure
1501 # tests run on this system so they can be shared between configure
1502 # scripts and configure runs. It is not useful on other systems.
1503 # If it contains results you don't want to keep, you may remove or edit it.
1505 # By default, configure uses ./config.cache as the cache file,
1506 # creating it if it does not exist already. You can give configure
1507 # the --cache-file=FILE option to use a different cache file; that is
1508 # what configure does when it calls configure scripts in
1509 # subdirectories, so they share the cache.
1510 # Giving --cache-file=/dev/null disables caching, for debugging configure.
1511 # config.status only pays attention to the cache file if you give it the
1512 # --recheck option to rerun configure.
1515 # The following way of writing the cache mishandles newlines in values,
1516 # but we know of no workaround that is simple, portable, and efficient.
1517 # So, don't put newlines in cache variables' values.
1518 # Ultrix sh set writes to stderr and can't be redirected directly,
1519 # and sets the high bit in the cache file unless we assign to the vars.
1521 case `(ac_space=' '; set | grep ac_space) 2>&1` in
1523 # `set' does not quote correctly, so add quotes (double-quote substitution
1524 # turns \\\\ into \\, and sed turns \\ into \).
1526 -e "s/'/'\\\\''/g" \
1527 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
1530 # `set' quotes correctly as required by POSIX, so do not add quotes.
1531 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
1534 if cmp -s $cache_file confcache; then
1537 if test -w $cache_file; then
1538 echo "updating cache $cache_file"
1539 cat confcache > $cache_file
1541 echo "not updating unwritable cache $cache_file"
1546 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
1548 test "x$prefix" = xNONE && prefix=$ac_default_prefix
1549 # Let make expand exec_prefix.
1550 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1552 # Any assignment to VPATH causes Sun make to only execute
1553 # the first set of double-colon rules, so remove it if not needed.
1554 # If there is a colon in the path, we need to keep it.
1555 if test "x$srcdir" = x.; then
1556 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
1559 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
1561 DEFS=-DHAVE_CONFIG_H
1563 # Without the "./", some shells look in PATH for config.status.
1564 : ${CONFIG_STATUS=./config.status}
1566 echo creating $CONFIG_STATUS
1567 rm -f $CONFIG_STATUS
1568 cat > $CONFIG_STATUS <<EOF
1570 # Generated automatically by configure.
1571 # Run this file to recreate the current configuration.
1572 # This directory was configured as follows,
1573 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
1575 # $0 $ac_configure_args
1577 # Compiler output produced by configure, useful for debugging
1578 # configure, is in ./config.log if it exists.
1580 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
1583 case "\$ac_option" in
1584 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
1585 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
1586 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
1587 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
1588 echo "$CONFIG_STATUS generated by autoconf version 2.13"
1590 -help | --help | --hel | --he | --h)
1591 echo "\$ac_cs_usage"; exit 0 ;;
1592 *) echo "\$ac_cs_usage"; exit 1 ;;
1596 ac_given_srcdir=$srcdir
1598 trap 'rm -fr `echo "$CONFIGFILE.make:config.make.in $CONFIGFILE.h:config.hh.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
1600 cat >> $CONFIG_STATUS <<EOF
1602 # Protect against being on the right side of a sed subst in config.status.
1603 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
1604 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
1608 s%@CFLAGS@%$CFLAGS%g
1609 s%@CPPFLAGS@%$CPPFLAGS%g
1610 s%@CXXFLAGS@%$CXXFLAGS%g
1611 s%@FFLAGS@%$FFLAGS%g
1613 s%@LDFLAGS@%$LDFLAGS%g
1615 s%@exec_prefix@%$exec_prefix%g
1616 s%@prefix@%$prefix%g
1617 s%@program_transform_name@%$program_transform_name%g
1618 s%@bindir@%$bindir%g
1619 s%@sbindir@%$sbindir%g
1620 s%@libexecdir@%$libexecdir%g
1621 s%@datadir@%$datadir%g
1622 s%@sysconfdir@%$sysconfdir%g
1623 s%@sharedstatedir@%$sharedstatedir%g
1624 s%@localstatedir@%$localstatedir%g
1625 s%@libdir@%$libdir%g
1626 s%@includedir@%$includedir%g
1627 s%@oldincludedir@%$oldincludedir%g
1628 s%@infodir@%$infodir%g
1629 s%@mandir@%$mandir%g
1630 s%@builddir@%$builddir%g
1631 s%@stepmake@%$stepmake%g
1632 s%@package@%$package%g
1633 s%@PACKAGE@%$PACKAGE%g
1634 s%@PACKAGE_NAME@%$PACKAGE_NAME%g
1635 s%@package_depth@%$package_depth%g
1636 s%@AUTOGENERATE@%$AUTOGENERATE%g
1637 s%@CONFIGSUFFIX@%$CONFIGSUFFIX%g
1639 s%@host_alias@%$host_alias%g
1640 s%@host_cpu@%$host_cpu%g
1641 s%@host_vendor@%$host_vendor%g
1642 s%@host_os@%$host_os%g
1647 s%@PYTHON@%$PYTHON%g
1648 s%@program_prefix@%$program_prefix%g
1649 s%@program_suffix@%$program_suffix%g
1653 s%@INSTALL@%$INSTALL%g
1654 s%@PATHSEP@%$PATHSEP%g
1655 s%@DIRSEP@%$DIRSEP%g
1656 s%@DIR_DATADIR@%$DIR_DATADIR%g
1657 s%@MAKEINFO@%$MAKEINFO%g
1658 s%@OPTIONAL@%$OPTIONAL%g
1659 s%@REQUIRED@%$REQUIRED%g
1664 cat >> $CONFIG_STATUS <<\EOF
1666 # Split the substitutions into bite-sized pieces for seds with
1667 # small command number limits, like on Digital OSF/1 and HP-UX.
1668 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
1669 ac_file=1 # Number of current file.
1670 ac_beg=1 # First line for current file.
1671 ac_end=$ac_max_sed_cmds # Line after last line for current file.
1674 while $ac_more_lines; do
1675 if test $ac_beg -gt 1; then
1676 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
1678 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
1680 if test ! -s conftest.s$ac_file; then
1682 rm -f conftest.s$ac_file
1684 if test -z "$ac_sed_cmds"; then
1685 ac_sed_cmds="sed -f conftest.s$ac_file"
1687 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
1689 ac_file=`expr $ac_file + 1`
1691 ac_end=`expr $ac_end + $ac_max_sed_cmds`
1694 if test -z "$ac_sed_cmds"; then
1699 cat >> $CONFIG_STATUS <<EOF
1701 CONFIG_FILES=\${CONFIG_FILES-"$CONFIGFILE.make:config.make.in"}
1703 cat >> $CONFIG_STATUS <<\EOF
1704 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
1705 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
1707 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
1708 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
1709 *) ac_file_in="${ac_file}.in" ;;
1712 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
1714 # Remove last slash and all that follows it. Not all systems have dirname.
1715 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
1716 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
1717 # The file is in a subdirectory.
1718 test ! -d "$ac_dir" && mkdir "$ac_dir"
1719 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
1720 # A "../" for each directory in $ac_dir_suffix.
1721 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
1723 ac_dir_suffix= ac_dots=
1726 case "$ac_given_srcdir" in
1728 if test -z "$ac_dots"; then top_srcdir=.
1729 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
1730 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
1732 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
1733 top_srcdir="$ac_dots$ac_given_srcdir" ;;
1737 echo creating "$ac_file"
1739 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
1741 *Makefile*) ac_comsub="1i\\
1742 # $configure_input" ;;
1746 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
1748 s%@configure_input@%$configure_input%g
1749 s%@srcdir@%$srcdir%g
1750 s%@top_srcdir@%$top_srcdir%g
1751 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
1755 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
1756 # NAME is the cpp macro being defined and VALUE is the value it is being given.
1758 # ac_d sets the value in "#define NAME VALUE" lines.
1759 ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
1760 ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
1763 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
1764 ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
1765 ac_uB='\([ ]\)%\1#\2define\3'
1768 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
1769 ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
1770 ac_eB='$%\1#\2define\3'
1774 if test "${CONFIG_HEADERS+set}" != set; then
1776 cat >> $CONFIG_STATUS <<EOF
1777 CONFIG_HEADERS="$CONFIGFILE.h:config.hh.in"
1779 cat >> $CONFIG_STATUS <<\EOF
1781 for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
1782 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
1784 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
1785 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
1786 *) ac_file_in="${ac_file}.in" ;;
1789 echo creating $ac_file
1791 rm -f conftest.frag conftest.in conftest.out
1792 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
1793 cat $ac_file_inputs > conftest.in
1797 # Transform confdefs.h into a sed script conftest.vals that substitutes
1798 # the proper values into config.h.in to produce config.h. And first:
1799 # Protect against being on the right side of a sed subst in config.status.
1800 # Protect against being in an unquoted here document in config.status.
1802 cat > conftest.hdr <<\EOF
1805 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
1809 sed -n -f conftest.hdr confdefs.h > conftest.vals
1812 # This sed command replaces #undef with comments. This is necessary, for
1813 # example, in the case of _POSIX_SOURCE, which is predefined and required
1814 # on some systems where configure will not decide to define it.
1815 cat >> conftest.vals <<\EOF
1816 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
1819 # Break up conftest.vals because some shells have a limit on
1820 # the size of here documents, and old seds have small limits too.
1825 ac_lines=`grep -c . conftest.vals`
1826 # grep -c gives empty output for an empty file on some AIX systems.
1827 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
1828 # Write a limited-size here document to conftest.frag.
1829 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
1830 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
1832 sed -f conftest.frag conftest.in > conftest.out
1834 mv conftest.out conftest.in
1836 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
1838 mv conftest.tail conftest.vals
1842 cat >> $CONFIG_STATUS <<\EOF
1843 rm -f conftest.frag conftest.h
1844 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
1845 cat conftest.in >> conftest.h
1847 if cmp -s $ac_file conftest.h 2>/dev/null; then
1848 echo "$ac_file is unchanged"
1851 # Remove last slash and all that follows it. Not all systems have dirname.
1852 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
1853 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
1854 # The file is in a subdirectory.
1855 test ! -d "$ac_dir" && mkdir "$ac_dir"
1858 mv conftest.h $ac_file
1863 cat >> $CONFIG_STATUS <<EOF
1866 cat >> $CONFIG_STATUS <<\EOF
1870 chmod +x $CONFIG_STATUS
1871 rm -fr confdefs* $ac_clean_files
1872 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
1876 if test -n "$OPTIONAL"; then
1878 echo "WARNING: Please consider installing optional programs: $OPTIONAL"
1881 if test -n "$REQUIRED"; then
1883 echo "ERROR: Please install required programs: $REQUIRED"
1886 if test -n "$OPTIONAL$REQUIRED"; then
1888 echo "See INSTALL.txt for more information on how to build $PACKAGE_NAME"
1889 echo "Remove config.cache before rerunning ./configure"
1892 if test -n "$REQUIRED"; then
1893 rm -f $srcdir/GNUmakefile
1897 # regular in-place build
1898 # test for srcdir_build = yes ?
1899 if test "$builddir" = "."; then
1900 rm -f $srcdir/GNUmakefile
1901 cp $srcdir/GNUmakefile.in $srcdir/GNUmakefile
1902 chmod 444 $srcdir/GNUmakefile
1903 else # --srcdir build
1905 cp $srcdir/make/srcdir.make.in GNUmakefile
1906 chmod 444 GNUmakefile