4 --with-gtkmm-prefix=PREFIX
5 Prefix where GTK-- is installed (optional)"
6 # Check whether --with-gtkmm-prefix or --without-gtkmm-prefix was given.
7 if test "${with_gtkmm_prefix+set}" = set; then
8 withval="$with_gtkmm_prefix"
9 gtkmm_config_prefix="$withval"
11 gtkmm_config_prefix=""
15 --with-gtkmm-exec-prefix=PREFIX
16 Exec prefix where GTK-- is installed (optional)"
17 # Check whether --with-gtkmm-exec-prefix or --without-gtkmm-exec-prefix was given.
18 if test "${with_gtkmm_exec_prefix+set}" = set; then
19 withval="$with_gtkmm_exec_prefix"
20 gtkmm_config_exec_prefix="$withval"
22 gtkmm_config_exec_prefix=""
26 --disable-gtkmmtest Do not try to compile and run a test GTK-- program"
27 # Check whether --enable-gtkmmtest or --disable-gtkmmtest was given.
28 if test "${enable_gtkmmtest+set}" = set; then
29 enableval="$enable_gtkmmtest"
36 if test x$gtkmm_config_exec_prefix != x ; then
37 gtkmm_config_args="$gtkmm_config_args --exec-prefix=$gtkmm_config_exec_prefix"
38 if test x${GTKMM_CONFIG+set} != xset ; then
39 GTKMM_CONFIG=$gtkmm_config_exec_prefix/bin/gtkmm-config
42 if test x$gtkmm_config_prefix != x ; then
43 gtkmm_config_args="$gtkmm_config_args --prefix=$gtkmm_config_prefix"
44 if test x${GTKMM_CONFIG+set} != xset ; then
45 GTKMM_CONFIG=$gtkmm_config_prefix/bin/gtkmm-config
52 # Configure paths for GTK--DRAW
53 # Derek Quinn Wyatt 98-08-21 (adapted from Jan Nieuwenhuizen's code)
57 # Guess values for system-dependent variables and create Makefiles.
58 # Generated automatically using autoconf version 2.12
59 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
61 # This configure script is free software; the Free Software Foundation
62 # gives unlimited permission to copy, distribute and modify it.
66 ac_default_prefix=/usr/local
67 # Any additions from configure.in:
69 enable-config=FILE put configure settings in config-FILE.make"
71 enable-checking set runtime checks (assert calls). Default: on"
73 enable-optimise use maximal speed optimisations. Default: off"
75 enable-profiling compile with gprof support. Default: off"
77 enable-debugging set debug info. Default: on"
79 enable-mingw-prefix=DIR set the mingw32 directory (standalone windows32 exes)"
81 enable-printing turn on debug printing. Default: off"
83 enable-guile link in GUILE. Default: off"
85 with-localedir=LOCALE use LOCALE as locale dir. Default: PREFIX/share/locale "
87 with-lang=LANG use LANG as language to emit messages"
89 # Initialize some variables set by options.
90 # The variables have the same names as the options, with
91 # dashes changed to underlines.
93 cache_file=./config.cache
102 program_transform_name=s,x,x,
110 bindir='${exec_prefix}/bin'
111 sbindir='${exec_prefix}/sbin'
112 libexecdir='${exec_prefix}/libexec'
113 datadir='${prefix}/share'
114 sysconfdir='${prefix}/etc'
115 sharedstatedir='${prefix}/com'
116 localstatedir='${prefix}/var'
117 libdir='${exec_prefix}/lib'
118 includedir='${prefix}/include'
119 oldincludedir='/usr/include'
120 infodir='${prefix}/info'
121 mandir='${prefix}/man'
123 # Initialize some other variables.
126 # Maximum number of lines to put in a shell here document.
133 # If the previous option needs an argument, assign it.
134 if test -n "$ac_prev"; then
135 eval "$ac_prev=\$ac_option"
141 -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
145 # Accept the important Cygnus configure options, so we can diagnose typos.
149 -bindir | --bindir | --bindi | --bind | --bin | --bi)
151 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
152 bindir="$ac_optarg" ;;
154 -build | --build | --buil | --bui | --bu)
156 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
157 build="$ac_optarg" ;;
159 -cache-file | --cache-file | --cache-fil | --cache-fi \
160 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
161 ac_prev=cache_file ;;
162 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
163 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
164 cache_file="$ac_optarg" ;;
166 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
168 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
170 datadir="$ac_optarg" ;;
172 -disable-* | --disable-*)
173 ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
174 # Reject names that are not valid shell variable names.
175 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
176 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
178 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
179 eval "enable_${ac_feature}=no" ;;
181 -enable-* | --enable-*)
182 ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
183 # Reject names that are not valid shell variable names.
184 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
185 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
187 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
192 eval "enable_${ac_feature}='$ac_optarg'" ;;
194 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
195 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
196 | --exec | --exe | --ex)
197 ac_prev=exec_prefix ;;
198 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
199 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
200 | --exec=* | --exe=* | --ex=*)
201 exec_prefix="$ac_optarg" ;;
203 -gas | --gas | --ga | --g)
204 # Obsolete; use --with-gas.
207 -help | --help | --hel | --he)
208 # Omit some internal or obsolete options to make the list less imposing.
209 # This message is too long to be a string in the A/UX 3.1 sh.
211 Usage: configure [options] [host]
212 Options: [defaults in brackets after descriptions]
214 --cache-file=FILE cache test results in FILE
215 --help print this message
216 --no-create do not create output files
217 --quiet, --silent do not print \`checking...' messages
218 --version print the version of autoconf that created configure
219 Directory and file names:
220 --prefix=PREFIX install architecture-independent files in PREFIX
222 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
224 --bindir=DIR user executables in DIR [EPREFIX/bin]
225 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
226 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
227 --datadir=DIR read-only architecture-independent data in DIR
229 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
230 --sharedstatedir=DIR modifiable architecture-independent data in DIR
232 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
233 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
234 --includedir=DIR C header files in DIR [PREFIX/include]
235 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
236 --infodir=DIR info documentation in DIR [PREFIX/info]
237 --mandir=DIR man documentation in DIR [PREFIX/man]
238 --srcdir=DIR find the sources in DIR [configure dir or ..]
239 --program-prefix=PREFIX prepend PREFIX to installed program names
240 --program-suffix=SUFFIX append SUFFIX to installed program names
241 --program-transform-name=PROGRAM
242 run sed PROGRAM on installed program names
246 --build=BUILD configure for building on BUILD [BUILD=HOST]
247 --host=HOST configure for HOST [guessed]
248 --target=TARGET configure for TARGET [TARGET=HOST]
249 Features and packages:
250 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
251 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
252 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
253 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
254 --x-includes=DIR X include files are in DIR
255 --x-libraries=DIR X library files are in DIR
257 if test -n "$ac_help"; then
258 echo "--enable and --with options recognized:$ac_help"
262 -host | --host | --hos | --ho)
264 -host=* | --host=* | --hos=* | --ho=*)
267 -includedir | --includedir | --includedi | --included | --include \
268 | --includ | --inclu | --incl | --inc)
269 ac_prev=includedir ;;
270 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
271 | --includ=* | --inclu=* | --incl=* | --inc=*)
272 includedir="$ac_optarg" ;;
274 -infodir | --infodir | --infodi | --infod | --info | --inf)
276 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
277 infodir="$ac_optarg" ;;
279 -libdir | --libdir | --libdi | --libd)
281 -libdir=* | --libdir=* | --libdi=* | --libd=*)
282 libdir="$ac_optarg" ;;
284 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
285 | --libexe | --libex | --libe)
286 ac_prev=libexecdir ;;
287 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
288 | --libexe=* | --libex=* | --libe=*)
289 libexecdir="$ac_optarg" ;;
291 -localstatedir | --localstatedir | --localstatedi | --localstated \
292 | --localstate | --localstat | --localsta | --localst \
293 | --locals | --local | --loca | --loc | --lo)
294 ac_prev=localstatedir ;;
295 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
296 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
297 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
298 localstatedir="$ac_optarg" ;;
300 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
302 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
303 mandir="$ac_optarg" ;;
306 # Obsolete; use --without-fp.
309 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
313 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
314 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
317 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
318 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
319 | --oldin | --oldi | --old | --ol | --o)
320 ac_prev=oldincludedir ;;
321 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
322 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
323 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
324 oldincludedir="$ac_optarg" ;;
326 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
328 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
329 prefix="$ac_optarg" ;;
331 -program-prefix | --program-prefix | --program-prefi | --program-pref \
332 | --program-pre | --program-pr | --program-p)
333 ac_prev=program_prefix ;;
334 -program-prefix=* | --program-prefix=* | --program-prefi=* \
335 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
336 program_prefix="$ac_optarg" ;;
338 -program-suffix | --program-suffix | --program-suffi | --program-suff \
339 | --program-suf | --program-su | --program-s)
340 ac_prev=program_suffix ;;
341 -program-suffix=* | --program-suffix=* | --program-suffi=* \
342 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
343 program_suffix="$ac_optarg" ;;
345 -program-transform-name | --program-transform-name \
346 | --program-transform-nam | --program-transform-na \
347 | --program-transform-n | --program-transform- \
348 | --program-transform | --program-transfor \
349 | --program-transfo | --program-transf \
350 | --program-trans | --program-tran \
351 | --progr-tra | --program-tr | --program-t)
352 ac_prev=program_transform_name ;;
353 -program-transform-name=* | --program-transform-name=* \
354 | --program-transform-nam=* | --program-transform-na=* \
355 | --program-transform-n=* | --program-transform-=* \
356 | --program-transform=* | --program-transfor=* \
357 | --program-transfo=* | --program-transf=* \
358 | --program-trans=* | --program-tran=* \
359 | --progr-tra=* | --program-tr=* | --program-t=*)
360 program_transform_name="$ac_optarg" ;;
362 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
363 | -silent | --silent | --silen | --sile | --sil)
366 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
368 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
370 sbindir="$ac_optarg" ;;
372 -sharedstatedir | --sharedstatedir | --sharedstatedi \
373 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
374 | --sharedst | --shareds | --shared | --share | --shar \
376 ac_prev=sharedstatedir ;;
377 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
378 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
379 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
381 sharedstatedir="$ac_optarg" ;;
383 -site | --site | --sit)
385 -site=* | --site=* | --sit=*)
388 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
390 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
391 srcdir="$ac_optarg" ;;
393 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
394 | --syscon | --sysco | --sysc | --sys | --sy)
395 ac_prev=sysconfdir ;;
396 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
397 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
398 sysconfdir="$ac_optarg" ;;
400 -target | --target | --targe | --targ | --tar | --ta | --t)
402 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
403 target="$ac_optarg" ;;
405 -v | -verbose | --verbose | --verbos | --verbo | --verb)
408 -version | --version | --versio | --versi | --vers)
409 echo "configure generated by autoconf version 2.12"
413 ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
414 # Reject names that are not valid shell variable names.
415 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
416 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
418 ac_package=`echo $ac_package| sed 's/-/_/g'`
423 eval "with_${ac_package}='$ac_optarg'" ;;
425 -without-* | --without-*)
426 ac_package=`echo $ac_option|sed -e 's/-*without-//'`
427 # Reject names that are not valid shell variable names.
428 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
429 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
431 ac_package=`echo $ac_package| sed 's/-/_/g'`
432 eval "with_${ac_package}=no" ;;
435 # Obsolete; use --with-x.
438 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
439 | --x-incl | --x-inc | --x-in | --x-i)
440 ac_prev=x_includes ;;
441 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
442 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
443 x_includes="$ac_optarg" ;;
445 -x-libraries | --x-libraries | --x-librarie | --x-librari \
446 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
447 ac_prev=x_libraries ;;
448 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
449 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
450 x_libraries="$ac_optarg" ;;
452 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
456 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
457 echo "configure: warning: $ac_option: invalid host type" 1>&2
459 if test "x$nonopt" != xNONE; then
460 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
468 if test -n "$ac_prev"; then
469 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
472 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
474 # File descriptor usage:
477 # 2 errors and warnings
478 # 3 some systems may open it to /dev/tty
479 # 4 used on the Kubota Titan
480 # 6 checking for... messages and results
481 # 5 compiler messages saved in config.log
482 if test "$silent" = yes; then
490 This file contains any messages produced by compilers while
491 running configure, to aid debugging if configure makes a mistake.
494 # Strip out --no-create and --no-recursion so they do not pile up.
495 # Also quote any args containing shell metacharacters.
500 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
501 | --no-cr | --no-c) ;;
502 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
503 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
504 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
505 ac_configure_args="$ac_configure_args '$ac_arg'" ;;
506 *) ac_configure_args="$ac_configure_args $ac_arg" ;;
511 # Only set these to C if already set. These must not be set unconditionally
512 # because not all systems understand e.g. LANG=C (notably SCO).
513 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
514 # Non-C LC_CTYPE values break the ctype check.
515 if test "${LANG+set}" = set; then LANG=C; export LANG; fi
516 if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
517 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
518 if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
520 # confdefs.h avoids OS command line length limits that DEFS can exceed.
521 rm -rf conftest* confdefs.h
522 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
525 # A filename unique to this package, relative to the directory that
526 # configure is in, which we can look for to find out if srcdir is correct.
527 ac_unique_file=make/lilypond.lsm.in
529 # Find the source files, if location was not specified.
530 if test -z "$srcdir"; then
531 ac_srcdir_defaulted=yes
532 # Try the directory containing this script, then its parent.
534 ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
535 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
537 if test ! -r $srcdir/$ac_unique_file; then
541 ac_srcdir_defaulted=no
543 if test ! -r $srcdir/$ac_unique_file; then
544 if test "$ac_srcdir_defaulted" = yes; then
545 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
547 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
550 srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
552 # Prefer explicitly selected file to automatically selected ones.
553 if test -z "$CONFIG_SITE"; then
554 if test "x$prefix" != xNONE; then
555 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
557 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
560 for ac_site_file in $CONFIG_SITE; do
561 if test -r "$ac_site_file"; then
562 echo "loading site script $ac_site_file"
567 if test -r "$cache_file"; then
568 echo "loading cache $cache_file"
571 echo "creating cache $cache_file"
576 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
577 ac_cpp='$CPP $CPPFLAGS'
578 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
579 ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
580 cross_compiling=$ac_cv_prog_cc_cross
582 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
583 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
584 if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
591 ac_n= ac_c='\c' ac_t=
597 # Bootstrap StepMake configure
601 FULL_VERSION=$MAJOR_VERSION.$MINOR_VERSION.$PATCH_LEVEL
602 if test x$MY_PATCH_LEVEL != x; then
603 FULL_VERSION=$FULL_VERSION.$MY_PATCH_LEVEL
606 # urg: don't "fix" this: irix doesn't know about [:lower:] and [:upper:]
607 PACKAGE=`echo $PACKAGE_NAME | tr '[a-z]' '[A-Z]'`
608 package=`echo $PACKAGE_NAME | tr '[A-Z]' '[a-z]'`
610 if test "x$PACKAGE" = "xSTEPMAKE"; then
611 echo Stepmake package!
612 (cd stepmake; rm -f stepmake; ln -s ../stepmake .)
613 (cd stepmake; rm -f bin; ln -s ../bin .)
615 for ac_dir in bin $srcdir/bin; do
616 if test -f $ac_dir/install-sh; then
618 ac_install_sh="$ac_aux_dir/install-sh -c"
620 elif test -f $ac_dir/install.sh; then
622 ac_install_sh="$ac_aux_dir/install.sh -c"
626 if test -z "$ac_aux_dir"; then
627 { echo "configure: error: can not find install-sh or install.sh in bin $srcdir/bin" 1>&2; exit 1; }
629 ac_config_guess=$ac_aux_dir/config.guess
630 ac_config_sub=$ac_aux_dir/config.sub
631 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
634 echo Package: $PACKAGE
636 for ac_dir in stepmake/bin $srcdir/stepmake/bin; do
637 if test -f $ac_dir/install-sh; then
639 ac_install_sh="$ac_aux_dir/install-sh -c"
641 elif test -f $ac_dir/install.sh; then
643 ac_install_sh="$ac_aux_dir/install.sh -c"
647 if test -z "$ac_aux_dir"; then
648 { echo "configure: error: can not find install-sh or install.sh in stepmake/bin $srcdir/stepmake/bin" 1>&2; exit 1; }
650 ac_config_guess=$ac_aux_dir/config.guess
651 ac_config_sub=$ac_aux_dir/config.sub
652 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
659 cat >> confdefs.h <<EOF
660 #define PACKAGE "${PACKAGE_NAME}"
663 cat >> confdefs.h <<EOF
664 #define TOPLEVEL_VERSION "${FULL_VERSION}"
668 package_depth=`dirname $cache_file`
671 AUTOGENERATE="This file was automatically generated by configure"
673 absolute_builddir="`pwd`"
676 # No versioning on directory names of sub-packages
680 STATE_VECTOR=`ls make/STATE-VECTOR 2>/dev/null`
681 if test "x$STATE_VECTOR" != "x"; then
682 STATE_VECTOR="\$(depth)/$STATE_VECTOR"
687 # Check whether --enable-config or --disable-config was given.
688 if test "${enable_config+set}" = set; then
689 enableval="$enable_config"
690 CONFIGSUFFIX=$enableval
694 if test "$CONFIGSUFFIX" != "" ; then
695 CONFIGFILE=config-$CONFIGSUFFIX
702 # Make sure we can run config.sub.
703 if $ac_config_sub sun4 >/dev/null 2>&1; then :
704 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
707 echo $ac_n "checking host system type""... $ac_c" 1>&6
708 echo "configure:709: checking host system type" >&5
711 case "$host_alias" in
715 if host_alias=`$ac_config_guess`; then :
716 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
718 *) host_alias=$nonopt ;;
722 host=`$ac_config_sub $host_alias`
723 host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
724 host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
725 host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
726 echo "$ac_t""$host" 1>&6
730 # Extract the first word of "$ac_prog", so it can be a program name with args.
731 set dummy $ac_prog; ac_word=$2
732 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
733 echo "configure:734: checking for $ac_word" >&5
734 if eval "test \"`echo '$''{'ac_cv_prog_MAKE'+set}'`\" = set"; then
735 echo $ac_n "(cached) $ac_c" 1>&6
737 if test -n "$MAKE"; then
738 ac_cv_prog_MAKE="$MAKE" # Let the user override the test.
740 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
741 for ac_dir in $PATH; do
742 test -z "$ac_dir" && ac_dir=.
743 if test -f $ac_dir/$ac_word; then
744 ac_cv_prog_MAKE="$ac_prog"
751 MAKE="$ac_cv_prog_MAKE"
752 if test -n "$MAKE"; then
753 echo "$ac_t""$MAKE" 1>&6
755 echo "$ac_t""no" 1>&6
758 test -n "$MAKE" && break
760 test -n "$MAKE" || MAKE="error"
764 # Extract the first word of "$ac_prog", so it can be a program name with args.
765 set dummy $ac_prog; ac_word=$2
766 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
767 echo "configure:768: checking for $ac_word" >&5
768 if eval "test \"`echo '$''{'ac_cv_prog_FIND'+set}'`\" = set"; then
769 echo $ac_n "(cached) $ac_c" 1>&6
771 if test -n "$FIND"; then
772 ac_cv_prog_FIND="$FIND" # Let the user override the test.
774 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
775 for ac_dir in $PATH; do
776 test -z "$ac_dir" && ac_dir=.
777 if test -f $ac_dir/$ac_word; then
778 ac_cv_prog_FIND="$ac_prog"
785 FIND="$ac_cv_prog_FIND"
786 if test -n "$FIND"; then
787 echo "$ac_t""$FIND" 1>&6
789 echo "$ac_t""no" 1>&6
792 test -n "$FIND" && break
794 test -n "$FIND" || FIND="error"
801 # Extract the first word of "$ac_prog", so it can be a program name with args.
802 set dummy $ac_prog; ac_word=$2
803 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
804 echo "configure:805: checking for $ac_word" >&5
805 if eval "test \"`echo '$''{'ac_cv_prog_TAR'+set}'`\" = set"; then
806 echo $ac_n "(cached) $ac_c" 1>&6
808 if test -n "$TAR"; then
809 ac_cv_prog_TAR="$TAR" # Let the user override the test.
811 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
812 for ac_dir in $PATH; do
813 test -z "$ac_dir" && ac_dir=.
814 if test -f $ac_dir/$ac_word; then
815 ac_cv_prog_TAR="$ac_prog"
822 TAR="$ac_cv_prog_TAR"
823 if test -n "$TAR"; then
824 echo "$ac_t""$TAR" 1>&6
826 echo "$ac_t""no" 1>&6
829 test -n "$TAR" && break
831 test -n "$TAR" || TAR="error"
835 # Extract the first word of "$ac_prog", so it can be a program name with args.
836 set dummy $ac_prog; ac_word=$2
837 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
838 echo "configure:839: checking for $ac_word" >&5
839 if eval "test \"`echo '$''{'ac_cv_prog_BASH'+set}'`\" = set"; then
840 echo $ac_n "(cached) $ac_c" 1>&6
842 if test -n "$BASH"; then
843 ac_cv_prog_BASH="$BASH" # Let the user override the test.
845 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
846 for ac_dir in $PATH; do
847 test -z "$ac_dir" && ac_dir=.
848 if test -f $ac_dir/$ac_word; then
849 ac_cv_prog_BASH="$ac_prog"
856 BASH="$ac_cv_prog_BASH"
857 if test -n "$BASH"; then
858 echo "$ac_t""$BASH" 1>&6
860 echo "$ac_t""no" 1>&6
863 test -n "$BASH" && break
865 test -n "$BASH" || BASH="/bin/sh"
868 # Extract the first word of "${PYTHON:-python}", so it can be a program name with args.
869 set dummy ${PYTHON:-python}; 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_path_PYTHON'+set}'`\" = set"; then
873 echo $ac_n "(cached) $ac_c" 1>&6
877 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
880 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
881 for ac_dir in $PATH; do
882 test -z "$ac_dir" && ac_dir=.
883 if test -f $ac_dir/$ac_word; then
884 ac_cv_path_PYTHON="$ac_dir/$ac_word"
889 test -z "$ac_cv_path_PYTHON" && ac_cv_path_PYTHON="-echo no python"
893 PYTHON="$ac_cv_path_PYTHON"
894 if test -n "$PYTHON"; then
895 echo "$ac_t""$PYTHON" 1>&6
897 echo "$ac_t""no" 1>&6
904 result="`echo \"$MAKE\" | grep echo`"
905 if test "x$MAKE" = "xerror" -o "x$result" != "x"; then
907 echo "configure: warning: can\'t find GNU make. You should install GNU make" 1>&2
912 if test $MAKE != "error" ; then
913 $MAKE -v| grep GNU > /dev/null
917 echo "configure: warning: Please install *GNU* make" 1>&2
924 result="`echo \"$PYTHON\" | grep echo`"
925 if test "x$PYTHON" = "xerror" -o "x$result" != "x"; then
927 echo "configure: warning: can\'t find python. You should install Python" 1>&2
933 if test "x$OSTYPE" = "xcygwin32" || test "x$OSTYPE" = "xWindows_NT"; then
934 LN=cp # hard link does not work under cygnus-nt
935 LN_S=cp # symbolic link does not work for native nt
940 INSTALL="\$(stepdir)/../bin/install-dot-exe.sh -c"
947 INSTALL="\$(stepdir)/../bin/install-sh -c"
954 cat >> confdefs.h <<EOF
955 #define DIRSEP '${DIRSEP}'
958 cat >> confdefs.h <<EOF
959 #define PATHSEP '${PATHSEP}'
967 if test "$datadir" = "\${prefix}/share"; then
968 datadir='${prefix}/share/'$package
970 DIR_DATADIR=${datadir}
972 if test "$prefix" = "NONE"; then
973 presome=${ac_default_prefix}
975 DIR_DATADIR=`echo ${DIR_DATADIR} | sed "s!\\\${prefix}!$presome!"`
978 cat >> confdefs.h <<EOF
979 #define DIR_DATADIR "${DIR_DATADIR}"
985 # For all packages except the StepMake package itself
989 # Uncomment the configuration options your package needs.
991 # -O is necessary to get inlining
993 CXXFLAGS=${CXXFLAGS:-""}
1000 # Check whether --enable-checking or --disable-checking was given.
1001 if test "${enable_checking+set}" = set; then
1002 enableval="$enable_checking"
1003 checking_b=$enableval
1007 # actually, the default is: tja='-O' to get inlining...
1010 #actually, that sucks.
1011 # tja looks like a typo. Default is optimisation off. --hwn
1013 # Check whether --enable-optimise or --disable-optimise was given.
1014 if test "${enable_optimise+set}" = set; then
1015 enableval="$enable_optimise"
1016 optimise_b=$enableval
1020 # Check whether --enable-profiling or --disable-profiling was given.
1021 if test "${enable_profiling+set}" = set; then
1022 enableval="$enable_profiling"
1023 profile_b=$enableval
1027 # Check whether --enable-debugging or --disable-debugging was given.
1028 if test "${enable_debugging+set}" = set; then
1029 enableval="$enable_debugging"
1034 # Check whether --enable-mingw-prefix or --disable-mingw-prefix was given.
1035 if test "${enable_mingw_prefix+set}" = set; then
1036 enableval="$enable_mingw_prefix"
1037 MINGWPREFIX=$enableval
1043 if test "$printing_b" = no; then
1045 cat >> confdefs.h <<\EOF
1049 DEFINES="$DEFINES -DNPRINT"
1052 if test "$checking_b" = no; then
1054 cat >> confdefs.h <<\EOF
1058 DEFINES="$DEFINES -DNDEBUG"
1061 if test "$optimise_b" = yes; then
1062 OPTIMIZE="-O2 -finline-functions"
1065 if test "$optimise_b" = no; then
1069 if test $profile_b = yes; then
1071 OPTIMIZE="$OPTIMIZE -pg"
1074 if test $debug_b = yes; then
1075 OPTIMIZE="$OPTIMIZE -g"
1078 # however, C++ support in mingw32 v 0.1.4 is still flaky
1079 if test x$MINGWPREFIX != xno; then
1080 ICFLAGS="-I$MINGWPREFIX/include"
1081 ILDFLAGS="-$MINGWPREFIX/lib"
1084 # Extract the first word of "gcc", so it can be a program name with args.
1085 set dummy gcc; ac_word=$2
1086 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1087 echo "configure:1088: checking for $ac_word" >&5
1088 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1089 echo $ac_n "(cached) $ac_c" 1>&6
1091 if test -n "$CC"; then
1092 ac_cv_prog_CC="$CC" # Let the user override the test.
1094 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
1095 for ac_dir in $PATH; do
1096 test -z "$ac_dir" && ac_dir=.
1097 if test -f $ac_dir/$ac_word; then
1106 if test -n "$CC"; then
1107 echo "$ac_t""$CC" 1>&6
1109 echo "$ac_t""no" 1>&6
1112 if test -z "$CC"; then
1113 # Extract the first word of "cc", so it can be a program name with args.
1114 set dummy cc; ac_word=$2
1115 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1116 echo "configure:1117: checking for $ac_word" >&5
1117 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1118 echo $ac_n "(cached) $ac_c" 1>&6
1120 if test -n "$CC"; then
1121 ac_cv_prog_CC="$CC" # Let the user override the test.
1123 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
1125 for ac_dir in $PATH; do
1126 test -z "$ac_dir" && ac_dir=.
1127 if test -f $ac_dir/$ac_word; then
1128 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1129 ac_prog_rejected=yes
1137 if test $ac_prog_rejected = yes; then
1138 # We found a bogon in the path, so make sure we never use it.
1139 set dummy $ac_cv_prog_CC
1141 if test $# -gt 0; then
1142 # We chose a different compiler from the bogus one.
1143 # However, it has the same basename, so the bogon will be chosen
1144 # first if we set CC to just the basename; use the full file name.
1146 set dummy "$ac_dir/$ac_word" "$@"
1154 if test -n "$CC"; then
1155 echo "$ac_t""$CC" 1>&6
1157 echo "$ac_t""no" 1>&6
1160 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1163 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
1164 echo "configure:1165: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
1167 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1168 ac_cpp='$CPP $CPPFLAGS'
1169 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1170 ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1171 cross_compiling=$ac_cv_prog_cc_cross
1173 cat > conftest.$ac_ext <<EOF
1174 #line 1175 "configure"
1175 #include "confdefs.h"
1178 if { (eval echo configure:1179: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
1179 ac_cv_prog_cc_works=yes
1180 # If we can't run a trivial program, we are probably using a cross compiler.
1181 if (./conftest; exit) 2>/dev/null; then
1182 ac_cv_prog_cc_cross=no
1184 ac_cv_prog_cc_cross=yes
1187 echo "configure: failed program was:" >&5
1188 cat conftest.$ac_ext >&5
1189 ac_cv_prog_cc_works=no
1193 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
1194 if test $ac_cv_prog_cc_works = no; then
1195 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
1197 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
1198 echo "configure:1199: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
1199 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
1200 cross_compiling=$ac_cv_prog_cc_cross
1202 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1203 echo "configure:1204: checking whether we are using GNU C" >&5
1204 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1205 echo $ac_n "(cached) $ac_c" 1>&6
1207 cat > conftest.c <<EOF
1212 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1213: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1219 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1221 if test $ac_cv_prog_gcc = yes; then
1223 ac_test_CFLAGS="${CFLAGS+set}"
1224 ac_save_CFLAGS="$CFLAGS"
1226 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1227 echo "configure:1228: checking whether ${CC-cc} accepts -g" >&5
1228 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1229 echo $ac_n "(cached) $ac_c" 1>&6
1231 echo 'void f(){}' > conftest.c
1232 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1241 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1242 if test "$ac_test_CFLAGS" = set; then
1243 CFLAGS="$ac_save_CFLAGS"
1244 elif test $ac_cv_prog_cc_g = yes; then
1251 test "${CFLAGS+set}" = set || CFLAGS="-g"
1257 CPPFLAGS=${CPPFLAGS:-""}
1265 # AC_HAVE_HEADERS(limits.h malloc.h string.h unistd.h values.h)
1269 # Check whether --enable-printing or --disable-printing was given.
1270 if test "${enable_printing+set}" = set; then
1271 enableval="$enable_printing"
1272 printing_b=$enableval
1275 # Check whether --enable-guile or --disable-guile was given.
1276 if test "${enable_guile+set}" = set; then
1277 enableval="$enable_guile"
1283 if test "$optimise_b" = yes; then
1284 DEFINES="$DEFINES -DSTRING_UTILS_INLINED"
1285 cat >> confdefs.h <<\EOF
1286 #define STRINGS_UTILS_INLINED 1
1291 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
1292 echo "configure:1293: checking how to run the C++ preprocessor" >&5
1293 if test -z "$CXXCPP"; then
1294 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
1295 echo $ac_n "(cached) $ac_c" 1>&6
1298 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1299 ac_cpp='$CXXCPP $CPPFLAGS'
1300 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1301 ac_link='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1302 cross_compiling=$ac_cv_prog_cxx_cross
1303 CXXCPP="${CXX-g++} -E"
1304 cat > conftest.$ac_ext <<EOF
1305 #line 1306 "configure"
1306 #include "confdefs.h"
1309 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1310 { (eval echo configure:1311: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1311 ac_err=`grep -v '^ *+' conftest.out`
1312 if test -z "$ac_err"; then
1316 echo "configure: failed program was:" >&5
1317 cat conftest.$ac_ext >&5
1322 ac_cv_prog_CXXCPP="$CXXCPP"
1325 CXXCPP="$ac_cv_prog_CXXCPP"
1326 echo "$ac_t""$CXXCPP" 1>&6
1330 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1331 ac_cpp='$CXXCPP $CPPFLAGS'
1332 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1333 ac_link='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1334 cross_compiling=$ac_cv_prog_cxx_cross
1336 for ac_prog in $CCC c++ g++ gcc CC cxx cc++
1338 # Extract the first word of "$ac_prog", so it can be a program name with args.
1339 set dummy $ac_prog; ac_word=$2
1340 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1341 echo "configure:1342: checking for $ac_word" >&5
1342 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
1343 echo $ac_n "(cached) $ac_c" 1>&6
1345 if test -n "$CXX"; then
1346 ac_cv_prog_CXX="$CXX" # Let the user override the test.
1348 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
1349 for ac_dir in $PATH; do
1350 test -z "$ac_dir" && ac_dir=.
1351 if test -f $ac_dir/$ac_word; then
1352 ac_cv_prog_CXX="$ac_prog"
1359 CXX="$ac_cv_prog_CXX"
1360 if test -n "$CXX"; then
1361 echo "$ac_t""$CXX" 1>&6
1363 echo "$ac_t""no" 1>&6
1366 test -n "$CXX" && break
1368 test -n "$CXX" || CXX="gcc"
1371 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
1372 echo "configure:1373: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
1375 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1376 ac_cpp='$CXXCPP $CPPFLAGS'
1377 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1378 ac_link='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1379 cross_compiling=$ac_cv_prog_cxx_cross
1381 cat > conftest.$ac_ext <<EOF
1382 #line 1383 "configure"
1383 #include "confdefs.h"
1386 if { (eval echo configure:1387: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
1387 ac_cv_prog_cxx_works=yes
1388 # If we can't run a trivial program, we are probably using a cross compiler.
1389 if (./conftest; exit) 2>/dev/null; then
1390 ac_cv_prog_cxx_cross=no
1392 ac_cv_prog_cxx_cross=yes
1395 echo "configure: failed program was:" >&5
1396 cat conftest.$ac_ext >&5
1397 ac_cv_prog_cxx_works=no
1401 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
1402 if test $ac_cv_prog_cxx_works = no; then
1403 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
1405 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
1406 echo "configure:1407: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
1407 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
1408 cross_compiling=$ac_cv_prog_cxx_cross
1410 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
1411 echo "configure:1412: checking whether we are using GNU C++" >&5
1412 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
1413 echo $ac_n "(cached) $ac_c" 1>&6
1415 cat > conftest.C <<EOF
1420 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1421: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1427 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
1429 if test $ac_cv_prog_gxx = yes; then
1431 ac_test_CXXFLAGS="${CXXFLAGS+set}"
1432 ac_save_CXXFLAGS="$CXXFLAGS"
1434 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
1435 echo "configure:1436: checking whether ${CXX-g++} accepts -g" >&5
1436 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
1437 echo $ac_n "(cached) $ac_c" 1>&6
1439 echo 'void f(){}' > conftest.cc
1440 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
1441 ac_cv_prog_cxx_g=yes
1449 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
1450 if test "$ac_test_CXXFLAGS" = set; then
1451 CXXFLAGS="$ac_save_CXXFLAGS"
1452 elif test $ac_cv_prog_cxx_g = yes; then
1459 test "${CXXFLAGS+set}" = set || CXXFLAGS="-g"
1463 ac_safe=`echo "FlexLexer.h" | sed 'y%./+-%__p_%'`
1464 echo $ac_n "checking for FlexLexer.h""... $ac_c" 1>&6
1465 echo "configure:1466: checking for FlexLexer.h" >&5
1466 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1467 echo $ac_n "(cached) $ac_c" 1>&6
1469 cat > conftest.$ac_ext <<EOF
1470 #line 1471 "configure"
1471 #include "confdefs.h"
1472 #include <FlexLexer.h>
1474 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1475 { (eval echo configure:1476: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1476 ac_err=`grep -v '^ *+' conftest.out`
1477 if test -z "$ac_err"; then
1479 eval "ac_cv_header_$ac_safe=yes"
1482 echo "configure: failed program was:" >&5
1483 cat conftest.$ac_ext >&5
1485 eval "ac_cv_header_$ac_safe=no"
1489 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
1490 echo "$ac_t""yes" 1>&6
1493 echo "$ac_t""no" 1>&6
1495 echo "configure: warning: can"\'"t find flex header. Please install Flex headers correctly" 1>&2
1501 CPPFLAGS="$CPPFLAGS $DEFINES"
1502 CXXFLAGS="$CXXFLAGS $OPTIMIZE"
1503 LDFLAGS=$EXTRA_LIBES
1512 if $CXX --version | grep '2\.[78]' > /dev/null ||
1513 $CXX --version | grep 'egcs' > /dev/null
1518 echo "configure: warning: can\'t find g++ 2.7" 1>&2
1524 echo $ac_n "checking whether explicit instantiation is needed""... $ac_c" 1>&6
1525 echo "configure:1526: checking whether explicit instantiation is needed" >&5
1526 if eval "test \"`echo '$''{'lily_cv_need_explicit_instantiation'+set}'`\" = set"; then
1527 echo $ac_n "(cached) $ac_c" 1>&6
1529 cat > conftest.$ac_ext <<EOF
1530 #line 1531 "configure"
1531 #include "confdefs.h"
1533 template <class T> struct foo { static int baz; };
1534 template <class T> int foo<T>::baz = 1;
1537 return foo<int>::baz;
1540 if { (eval echo configure:1541: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
1542 lily_cv_need_explicit_instantiation=no
1544 echo "configure: failed program was:" >&5
1545 cat conftest.$ac_ext >&5
1547 lily_cv_need_explicit_instantiation=yes
1552 echo "$ac_t""$lily_cv_need_explicit_instantiation" 1>&6
1553 if test x"$lily_cv_need_explicit_instantiation"x = x"yes"x; then
1554 cat >> confdefs.h <<\EOF
1555 #define NEED_EXPLICIT_INSTANTIATION 1
1561 # ugh, automake: we want (and check for) bison
1562 for ac_prog in 'bison -y' byacc
1564 # Extract the first word of "$ac_prog", so it can be a program name with args.
1565 set dummy $ac_prog; ac_word=$2
1566 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1567 echo "configure:1568: checking for $ac_word" >&5
1568 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
1569 echo $ac_n "(cached) $ac_c" 1>&6
1571 if test -n "$YACC"; then
1572 ac_cv_prog_YACC="$YACC" # Let the user override the test.
1574 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
1575 for ac_dir in $PATH; do
1576 test -z "$ac_dir" && ac_dir=.
1577 if test -f $ac_dir/$ac_word; then
1578 ac_cv_prog_YACC="$ac_prog"
1585 YACC="$ac_cv_prog_YACC"
1586 if test -n "$YACC"; then
1587 echo "$ac_t""$YACC" 1>&6
1589 echo "$ac_t""no" 1>&6
1592 test -n "$YACC" && break
1594 test -n "$YACC" || YACC="yacc"
1596 # ugh, automake: we want (and check for) flex
1598 # urg: automake 1.3: hope this doesn't break 1.2 ac_cv_pro_lex_root hack...
1602 ac_cv_prog_lex_root=lex.yy
1604 for ac_prog in bison
1606 # Extract the first word of "$ac_prog", so it can be a program name with args.
1607 set dummy $ac_prog; ac_word=$2
1608 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1609 echo "configure:1610: checking for $ac_word" >&5
1610 if eval "test \"`echo '$''{'ac_cv_prog_BISON'+set}'`\" = set"; then
1611 echo $ac_n "(cached) $ac_c" 1>&6
1613 if test -n "$BISON"; then
1614 ac_cv_prog_BISON="$BISON" # Let the user override the test.
1616 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
1617 for ac_dir in $PATH; do
1618 test -z "$ac_dir" && ac_dir=.
1619 if test -f $ac_dir/$ac_word; then
1620 ac_cv_prog_BISON="$ac_prog"
1627 BISON="$ac_cv_prog_BISON"
1628 if test -n "$BISON"; then
1629 echo "$ac_t""$BISON" 1>&6
1631 echo "$ac_t""no" 1>&6
1634 test -n "$BISON" && break
1636 test -n "$BISON" || BISON="error"
1640 # Extract the first word of "$ac_prog", so it can be a program name with args.
1641 set dummy $ac_prog; ac_word=$2
1642 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1643 echo "configure:1644: checking for $ac_word" >&5
1644 if eval "test \"`echo '$''{'ac_cv_prog_FLEX'+set}'`\" = set"; then
1645 echo $ac_n "(cached) $ac_c" 1>&6
1647 if test -n "$FLEX"; then
1648 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
1650 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
1651 for ac_dir in $PATH; do
1652 test -z "$ac_dir" && ac_dir=.
1653 if test -f $ac_dir/$ac_word; then
1654 ac_cv_prog_FLEX="$ac_prog"
1661 FLEX="$ac_cv_prog_FLEX"
1662 if test -n "$FLEX"; then
1663 echo "$ac_t""$FLEX" 1>&6
1665 echo "$ac_t""no" 1>&6
1668 test -n "$FLEX" && break
1670 test -n "$FLEX" || FLEX="error"
1673 result="`echo \"$BISON\" | grep echo`"
1674 if test "x$BISON" = "xerror" -o "x$result" != "x"; then
1676 echo "configure: warning: can\'t find bison. Please install Bison" 1>&2
1682 result="`echo \"$FLEX\" | grep echo`"
1683 if test "x$FLEX" = "xerror" -o "x$result" != "x"; then
1685 echo "configure: warning: can\'t find flex. Please install Flex" 1>&2
1691 if test $BISON != "error"; then
1692 bison_version=`$BISON --version| sed 's/^.*version 1.//g' `
1693 if test $bison_version -lt 25; then
1695 echo "configure: warning: Your bison is a bit old (1.$bison_version). You might have to install 1.25" 1>&2
1707 # Extract the first word of "$ac_prog", so it can be a program name with args.
1708 set dummy $ac_prog; ac_word=$2
1709 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1710 echo "configure:1711: checking for $ac_word" >&5
1711 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1712 echo $ac_n "(cached) $ac_c" 1>&6
1714 if test -n "$AR"; then
1715 ac_cv_prog_AR="$AR" # Let the user override the test.
1717 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
1718 for ac_dir in $PATH; do
1719 test -z "$ac_dir" && ac_dir=.
1720 if test -f $ac_dir/$ac_word; then
1721 ac_cv_prog_AR="$ac_prog"
1729 if test -n "$AR"; then
1730 echo "$ac_t""$AR" 1>&6
1732 echo "$ac_t""no" 1>&6
1735 test -n "$AR" && break
1737 test -n "$AR" || AR="error"
1739 # Extract the first word of "ranlib", so it can be a program name with args.
1740 set dummy ranlib; ac_word=$2
1741 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1742 echo "configure:1743: checking for $ac_word" >&5
1743 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1744 echo $ac_n "(cached) $ac_c" 1>&6
1746 if test -n "$RANLIB"; then
1747 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1749 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
1750 for ac_dir in $PATH; do
1751 test -z "$ac_dir" && ac_dir=.
1752 if test -f $ac_dir/$ac_word; then
1753 ac_cv_prog_RANLIB="ranlib"
1758 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
1761 RANLIB="$ac_cv_prog_RANLIB"
1762 if test -n "$RANLIB"; then
1763 echo "$ac_t""$RANLIB" 1>&6
1765 echo "$ac_t""no" 1>&6
1772 # AC_STEPMAKE_LIBTOOL
1778 # Check whether --with-localedir or --without-localedir was given.
1779 if test "${with_localedir+set}" = set; then
1780 withval="$with_localedir"
1781 localedir=$with_localedir
1783 localedir='${prefix}/share/locale'
1787 # Check whether --with-lang or --without-lang was given.
1788 if test "${with_lang+set}" = set; then
1789 withval="$with_lang"
1796 echo $ac_n "checking language""... $ac_c" 1>&6
1797 echo "configure:1798: checking language" >&5
1799 En* | en* | Am* | am* | US* | us*)
1801 NL | nl | Du* | du* | Ned* | ned*)
1808 echo "$ac_t""$lang" 1>&6
1810 if test "$lang" = "unknown" ; then
1812 echo "configure: warning: $language not supported; available are: $ALL_LINGUAS" 1>&2
1819 DIR_LOCALEDIR=${localedir}
1821 if test "$prefix" = "NONE"; then
1822 presome=${ac_default_prefix}
1824 DIR_LOCALEDIR=`echo ${DIR_LOCALEDIR} | sed "s!\\\${prefix}!$presome!"`
1827 cat >> confdefs.h <<EOF
1828 #define DIR_LOCALEDIR "${DIR_LOCALEDIR}"
1832 echo $ac_n "checking for gettext in -lintl""... $ac_c" 1>&6
1833 echo "configure:1834: checking for gettext in -lintl" >&5
1834 ac_lib_var=`echo intl'_'gettext | sed 'y%./+-%__p_%'`
1835 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1836 echo $ac_n "(cached) $ac_c" 1>&6
1838 ac_save_LIBS="$LIBS"
1840 cat > conftest.$ac_ext <<EOF
1841 #line 1842 "configure"
1842 #include "confdefs.h"
1843 /* Override any gcc2 internal prototype to avoid an error. */
1847 /* We use char because int might match the return type of a gcc2
1848 builtin and then its argument prototype would still apply. */
1855 if { (eval echo configure:1856: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
1857 eval "ac_cv_lib_$ac_lib_var=yes"
1859 echo "configure: failed program was:" >&5
1860 cat conftest.$ac_ext >&5
1862 eval "ac_cv_lib_$ac_lib_var=no"
1865 LIBS="$ac_save_LIBS"
1868 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1869 echo "$ac_t""yes" 1>&6
1870 ac_tr_lib=HAVE_LIB`echo intl | sed -e 's/[^a-zA-Z0-9_]/_/g' \
1871 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
1872 cat >> confdefs.h <<EOF
1873 #define $ac_tr_lib 1
1879 echo "$ac_t""no" 1>&6
1882 for ac_func in gettext
1884 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
1885 echo "configure:1886: checking for $ac_func" >&5
1886 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
1887 echo $ac_n "(cached) $ac_c" 1>&6
1889 cat > conftest.$ac_ext <<EOF
1890 #line 1891 "configure"
1891 #include "confdefs.h"
1892 /* System header to define __stub macros and hopefully few prototypes,
1893 which can conflict with char $ac_func(); below. */
1895 /* Override any gcc2 internal prototype to avoid an error. */
1899 /* We use char because int might match the return type of a gcc2
1900 builtin and then its argument prototype would still apply. */
1905 /* The GNU C library defines this for functions which it implements
1906 to always fail with ENOSYS. Some functions are actually named
1907 something starting with __ and the normal name is an alias. */
1908 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
1916 if { (eval echo configure:1917: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
1918 eval "ac_cv_func_$ac_func=yes"
1920 echo "configure: failed program was:" >&5
1921 cat conftest.$ac_ext >&5
1923 eval "ac_cv_func_$ac_func=no"
1928 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
1929 echo "$ac_t""yes" 1>&6
1930 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
1931 cat >> confdefs.h <<EOF
1932 #define $ac_tr_func 1
1936 echo "$ac_t""no" 1>&6
1942 # AC_CHECK_PROGS(MSGFMT, msgfmt, -echo no msgfmt)
1943 for ac_prog in msgfmt
1945 # Extract the first word of "$ac_prog", so it can be a program name with args.
1946 set dummy $ac_prog; ac_word=$2
1947 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1948 echo "configure:1949: checking for $ac_word" >&5
1949 if eval "test \"`echo '$''{'ac_cv_prog_MSGFMT'+set}'`\" = set"; then
1950 echo $ac_n "(cached) $ac_c" 1>&6
1952 if test -n "$MSGFMT"; then
1953 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
1955 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
1956 for ac_dir in $PATH; do
1957 test -z "$ac_dir" && ac_dir=.
1958 if test -f $ac_dir/$ac_word; then
1959 ac_cv_prog_MSGFMT="$ac_prog"
1966 MSGFMT="$ac_cv_prog_MSGFMT"
1967 if test -n "$MSGFMT"; then
1968 echo "$ac_t""$MSGFMT" 1>&6
1970 echo "$ac_t""no" 1>&6
1973 test -n "$MSGFMT" && break
1975 test -n "$MSGFMT" || MSGFMT="\$(SHELL) \$(step-bindir)/fake-msgfmt.sh "
1977 echo $ac_n "checking whether msgfmt accepts -o""... $ac_c" 1>&6
1978 echo "configure:1979: checking whether msgfmt accepts -o" >&5
1979 msgfmt_output="`msgfmt -o bla 2>&1 | grep usage`"
1980 if test "$msgfmt_output" = ""; then
1981 echo "$ac_t""yes" 1>&6
1984 MSGFMT="\$(SHELL) \$(step-bindir)/fake-msgfmt.sh"
1985 echo "$ac_t""no" 1>&6
1987 echo "configure: warning: please install msgfmt from GNU gettext" 1>&2
1991 if test ! -n "$MSGFMT"; then
1993 echo "configure: warning: please install msgfmt from GNU gettext" 1>&2
1999 # urg, never know what names these teTeX guys will think up
2002 # Extract the first word of "$ac_prog", so it can be a program name with args.
2003 set dummy $ac_prog; 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_prog_METAFONT'+set}'`\" = set"; then
2007 echo $ac_n "(cached) $ac_c" 1>&6
2009 if test -n "$METAFONT"; then
2010 ac_cv_prog_METAFONT="$METAFONT" # Let the user override the test.
2012 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
2013 for ac_dir in $PATH; do
2014 test -z "$ac_dir" && ac_dir=.
2015 if test -f $ac_dir/$ac_word; then
2016 ac_cv_prog_METAFONT="$ac_prog"
2023 METAFONT="$ac_cv_prog_METAFONT"
2024 if test -n "$METAFONT"; then
2025 echo "$ac_t""$METAFONT" 1>&6
2027 echo "$ac_t""no" 1>&6
2030 test -n "$METAFONT" && break
2032 test -n "$METAFONT" || METAFONT="no"
2034 if test "x$METAFONT" = "xno"; then
2035 for ac_prog in mfont
2037 # Extract the first word of "$ac_prog", so it can be a program name with args.
2038 set dummy $ac_prog; ac_word=$2
2039 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2040 echo "configure:2041: checking for $ac_word" >&5
2041 if eval "test \"`echo '$''{'ac_cv_prog_MFONT'+set}'`\" = set"; then
2042 echo $ac_n "(cached) $ac_c" 1>&6
2044 if test -n "$MFONT"; then
2045 ac_cv_prog_MFONT="$MFONT" # Let the user override the test.
2047 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
2048 for ac_dir in $PATH; do
2049 test -z "$ac_dir" && ac_dir=.
2050 if test -f $ac_dir/$ac_word; then
2051 ac_cv_prog_MFONT="$ac_prog"
2058 MFONT="$ac_cv_prog_MFONT"
2059 if test -n "$MFONT"; then
2060 echo "$ac_t""$MFONT" 1>&6
2062 echo "$ac_t""no" 1>&6
2065 test -n "$MFONT" && break
2067 test -n "$MFONT" || MFONT="-echo no mf or mfont"
2074 # Extract the first word of "$ac_prog", so it can be a program name with args.
2075 set dummy $ac_prog; ac_word=$2
2076 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2077 echo "configure:2078: checking for $ac_word" >&5
2078 if eval "test \"`echo '$''{'ac_cv_prog_METAPOST'+set}'`\" = set"; then
2079 echo $ac_n "(cached) $ac_c" 1>&6
2081 if test -n "$METAPOST"; then
2082 ac_cv_prog_METAPOST="$METAPOST" # Let the user override the test.
2084 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
2085 for ac_dir in $PATH; do
2086 test -z "$ac_dir" && ac_dir=.
2087 if test -f $ac_dir/$ac_word; then
2088 ac_cv_prog_METAPOST="$ac_prog"
2095 METAPOST="$ac_cv_prog_METAPOST"
2096 if test -n "$METAPOST"; then
2097 echo "$ac_t""$METAPOST" 1>&6
2099 echo "$ac_t""no" 1>&6
2102 test -n "$METAPOST" && break
2104 test -n "$METAPOST" || METAPOST="no"
2106 if test "x$METAPOST" = "xno"; then
2107 for ac_prog in mpost
2109 # Extract the first word of "$ac_prog", so it can be a program name with args.
2110 set dummy $ac_prog; ac_word=$2
2111 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2112 echo "configure:2113: checking for $ac_word" >&5
2113 if eval "test \"`echo '$''{'ac_cv_prog_MPOST'+set}'`\" = set"; then
2114 echo $ac_n "(cached) $ac_c" 1>&6
2116 if test -n "$MPOST"; then
2117 ac_cv_prog_MPOST="$MPOST" # Let the user override the test.
2119 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
2120 for ac_dir in $PATH; do
2121 test -z "$ac_dir" && ac_dir=.
2122 if test -f $ac_dir/$ac_word; then
2123 ac_cv_prog_MPOST="$ac_prog"
2130 MPOST="$ac_cv_prog_MPOST"
2131 if test -n "$MPOST"; then
2132 echo "$ac_t""$MPOST" 1>&6
2134 echo "$ac_t""no" 1>&6
2137 test -n "$MPOST" && break
2139 test -n "$MPOST" || MPOST="-echo no mp or mpost"
2147 # AC_STEPMAKE_TEXMF_DIRS
2149 if test "x$YODL" = "x"; then
2150 for ac_prog in striproff
2152 # Extract the first word of "$ac_prog", so it can be a program name with args.
2153 set dummy $ac_prog; ac_word=$2
2154 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2155 echo "configure:2156: checking for $ac_word" >&5
2156 if eval "test \"`echo '$''{'ac_cv_prog_STRIPROFF'+set}'`\" = set"; then
2157 echo $ac_n "(cached) $ac_c" 1>&6
2159 if test -n "$STRIPROFF"; then
2160 ac_cv_prog_STRIPROFF="$STRIPROFF" # Let the user override the test.
2162 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
2163 for ac_dir in $PATH; do
2164 test -z "$ac_dir" && ac_dir=.
2165 if test -f $ac_dir/$ac_word; then
2166 ac_cv_prog_STRIPROFF="$ac_prog"
2173 STRIPROFF="$ac_cv_prog_STRIPROFF"
2174 if test -n "$STRIPROFF"; then
2175 echo "$ac_t""$STRIPROFF" 1>&6
2177 echo "$ac_t""no" 1>&6
2180 test -n "$STRIPROFF" && break
2182 test -n "$STRIPROFF" || STRIPROFF="-echo no striproff"
2186 # Extract the first word of "$ac_prog", so it can be a program name with args.
2187 set dummy $ac_prog; ac_word=$2
2188 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2189 echo "configure:2190: checking for $ac_word" >&5
2190 if eval "test \"`echo '$''{'ac_cv_prog_YODL'+set}'`\" = set"; then
2191 echo $ac_n "(cached) $ac_c" 1>&6
2193 if test -n "$YODL"; then
2194 ac_cv_prog_YODL="$YODL" # Let the user override the test.
2196 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
2197 for ac_dir in $PATH; do
2198 test -z "$ac_dir" && ac_dir=.
2199 if test -f $ac_dir/$ac_word; then
2200 ac_cv_prog_YODL="$ac_prog"
2207 YODL="$ac_cv_prog_YODL"
2208 if test -n "$YODL"; then
2209 echo "$ac_t""$YODL" 1>&6
2211 echo "$ac_t""no" 1>&6
2214 test -n "$YODL" && break
2216 test -n "$YODL" || YODL="-echo no yodl"
2218 for ac_prog in yodl2html
2220 # Extract the first word of "$ac_prog", so it can be a program name with args.
2221 set dummy $ac_prog; ac_word=$2
2222 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2223 echo "configure:2224: checking for $ac_word" >&5
2224 if eval "test \"`echo '$''{'ac_cv_prog_YODL2HTML'+set}'`\" = set"; then
2225 echo $ac_n "(cached) $ac_c" 1>&6
2227 if test -n "$YODL2HTML"; then
2228 ac_cv_prog_YODL2HTML="$YODL2HTML" # Let the user override the test.
2230 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
2231 for ac_dir in $PATH; do
2232 test -z "$ac_dir" && ac_dir=.
2233 if test -f $ac_dir/$ac_word; then
2234 ac_cv_prog_YODL2HTML="$ac_prog"
2241 YODL2HTML="$ac_cv_prog_YODL2HTML"
2242 if test -n "$YODL2HTML"; then
2243 echo "$ac_t""$YODL2HTML" 1>&6
2245 echo "$ac_t""no" 1>&6
2248 test -n "$YODL2HTML" && break
2250 test -n "$YODL2HTML" || YODL2HTML="-echo no yodl"
2252 for ac_prog in yodl2latex
2254 # Extract the first word of "$ac_prog", so it can be a program name with args.
2255 set dummy $ac_prog; ac_word=$2
2256 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2257 echo "configure:2258: checking for $ac_word" >&5
2258 if eval "test \"`echo '$''{'ac_cv_prog_YODL2LATEX'+set}'`\" = set"; then
2259 echo $ac_n "(cached) $ac_c" 1>&6
2261 if test -n "$YODL2LATEX"; then
2262 ac_cv_prog_YODL2LATEX="$YODL2LATEX" # Let the user override the test.
2264 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
2265 for ac_dir in $PATH; do
2266 test -z "$ac_dir" && ac_dir=.
2267 if test -f $ac_dir/$ac_word; then
2268 ac_cv_prog_YODL2LATEX="$ac_prog"
2275 YODL2LATEX="$ac_cv_prog_YODL2LATEX"
2276 if test -n "$YODL2LATEX"; then
2277 echo "$ac_t""$YODL2LATEX" 1>&6
2279 echo "$ac_t""no" 1>&6
2282 test -n "$YODL2LATEX" && break
2285 for ac_prog in yodl2man
2287 # Extract the first word of "$ac_prog", so it can be a program name with args.
2288 set dummy $ac_prog; ac_word=$2
2289 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2290 echo "configure:2291: checking for $ac_word" >&5
2291 if eval "test \"`echo '$''{'ac_cv_prog_YODL2MAN'+set}'`\" = set"; then
2292 echo $ac_n "(cached) $ac_c" 1>&6
2294 if test -n "$YODL2MAN"; then
2295 ac_cv_prog_YODL2MAN="$YODL2MAN" # Let the user override the test.
2297 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
2298 for ac_dir in $PATH; do
2299 test -z "$ac_dir" && ac_dir=.
2300 if test -f $ac_dir/$ac_word; then
2301 ac_cv_prog_YODL2MAN="$ac_prog"
2308 YODL2MAN="$ac_cv_prog_YODL2MAN"
2309 if test -n "$YODL2MAN"; then
2310 echo "$ac_t""$YODL2MAN" 1>&6
2312 echo "$ac_t""no" 1>&6
2315 test -n "$YODL2MAN" && break
2317 test -n "$YODL2MAN" || YODL2MAN="-echo no yodl"
2319 for ac_prog in yodl2msless
2321 # Extract the first word of "$ac_prog", so it can be a program name with args.
2322 set dummy $ac_prog; ac_word=$2
2323 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2324 echo "configure:2325: checking for $ac_word" >&5
2325 if eval "test \"`echo '$''{'ac_cv_prog_YODL2MSLESS'+set}'`\" = set"; then
2326 echo $ac_n "(cached) $ac_c" 1>&6
2328 if test -n "$YODL2MSLESS"; then
2329 ac_cv_prog_YODL2MSLESS="$YODL2MSLESS" # Let the user override the test.
2331 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
2332 for ac_dir in $PATH; do
2333 test -z "$ac_dir" && ac_dir=.
2334 if test -f $ac_dir/$ac_word; then
2335 ac_cv_prog_YODL2MSLESS="$ac_prog"
2342 YODL2MSLESS="$ac_cv_prog_YODL2MSLESS"
2343 if test -n "$YODL2MSLESS"; then
2344 echo "$ac_t""$YODL2MSLESS" 1>&6
2346 echo "$ac_t""no" 1>&6
2349 test -n "$YODL2MSLESS" && break
2351 test -n "$YODL2MSLESS" || YODL2MSLESS="-echo no yodl"
2353 for ac_prog in yodl2texinfo
2355 # Extract the first word of "$ac_prog", so it can be a program name with args.
2356 set dummy $ac_prog; ac_word=$2
2357 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2358 echo "configure:2359: checking for $ac_word" >&5
2359 if eval "test \"`echo '$''{'ac_cv_prog_YODL2TEXINFO'+set}'`\" = set"; then
2360 echo $ac_n "(cached) $ac_c" 1>&6
2362 if test -n "$YODL2TEXINFO"; then
2363 ac_cv_prog_YODL2TEXINFO="$YODL2TEXINFO" # Let the user override the test.
2365 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
2366 for ac_dir in $PATH; do
2367 test -z "$ac_dir" && ac_dir=.
2368 if test -f $ac_dir/$ac_word; then
2369 ac_cv_prog_YODL2TEXINFO="$ac_prog"
2376 YODL2TEXINFO="$ac_cv_prog_YODL2TEXINFO"
2377 if test -n "$YODL2TEXINFO"; then
2378 echo "$ac_t""$YODL2TEXINFO" 1>&6
2380 echo "$ac_t""no" 1>&6
2383 test -n "$YODL2TEXINFO" && break
2385 test -n "$YODL2TEXINFO" || YODL2TEXINFO="-echo no yodl"
2387 for ac_prog in yodl2txt
2389 # Extract the first word of "$ac_prog", so it can be a program name with args.
2390 set dummy $ac_prog; ac_word=$2
2391 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2392 echo "configure:2393: checking for $ac_word" >&5
2393 if eval "test \"`echo '$''{'ac_cv_prog_YODL2TXT'+set}'`\" = set"; then
2394 echo $ac_n "(cached) $ac_c" 1>&6
2396 if test -n "$YODL2TXT"; then
2397 ac_cv_prog_YODL2TXT="$YODL2TXT" # Let the user override the test.
2399 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
2400 for ac_dir in $PATH; do
2401 test -z "$ac_dir" && ac_dir=.
2402 if test -f $ac_dir/$ac_word; then
2403 ac_cv_prog_YODL2TXT="$ac_prog"
2410 YODL2TXT="$ac_cv_prog_YODL2TXT"
2411 if test -n "$YODL2TXT"; then
2412 echo "$ac_t""$YODL2TXT" 1>&6
2414 echo "$ac_t""no" 1>&6
2417 test -n "$YODL2TXT" && break
2419 test -n "$YODL2TXT" || YODL2TXT="-echo no yodl"
2430 export STRIPROFF YODL YODL2HTML YODL2LATEX YODL2MAN YODL2MSLESS YODL2TEXINFO YODL2TXT
2432 if test "x$YODL" = "-echo no yodl"; then
2434 echo "configure: warning: Did not find YODL (Yodl is Yet Oneother Document Language, see http://www.cs.uu.nl/~hanwen/yodl)" 1>&2
2444 echo $ac_n "checking for scm_shell in -lguile""... $ac_c" 1>&6
2445 echo "configure:2446: checking for scm_shell in -lguile" >&5
2446 ac_lib_var=`echo guile'_'scm_shell | sed 'y%./+-%__p_%'`
2447 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2448 echo $ac_n "(cached) $ac_c" 1>&6
2450 ac_save_LIBS="$LIBS"
2451 LIBS="-lguile $LIBS"
2452 cat > conftest.$ac_ext <<EOF
2453 #line 2454 "configure"
2454 #include "confdefs.h"
2455 /* Override any gcc2 internal prototype to avoid an error. */
2459 /* We use char because int might match the return type of a gcc2
2460 builtin and then its argument prototype would still apply. */
2467 if { (eval echo configure:2468: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
2469 eval "ac_cv_lib_$ac_lib_var=yes"
2471 echo "configure: failed program was:" >&5
2472 cat conftest.$ac_ext >&5
2474 eval "ac_cv_lib_$ac_lib_var=no"
2477 LIBS="$ac_save_LIBS"
2480 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2481 echo "$ac_t""yes" 1>&6
2482 ac_tr_lib=HAVE_LIB`echo guile | sed -e 's/[^a-zA-Z0-9_]/_/g' \
2483 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
2484 cat >> confdefs.h <<EOF
2485 #define $ac_tr_lib 1
2488 LIBS="-lguile $LIBS"
2491 echo "$ac_t""no" 1>&6
2498 echo $ac_n "checking for 8-bit clean memcmp""... $ac_c" 1>&6
2499 echo "configure:2500: checking for 8-bit clean memcmp" >&5
2500 if eval "test \"`echo '$''{'ac_cv_func_memcmp_clean'+set}'`\" = set"; then
2501 echo $ac_n "(cached) $ac_c" 1>&6
2503 if test "$cross_compiling" = yes; then
2504 ac_cv_func_memcmp_clean=no
2506 cat > conftest.$ac_ext <<EOF
2507 #line 2508 "configure"
2508 #include "confdefs.h"
2510 extern "C" void exit(int);
2515 char c0 = 0x40, c1 = 0x80, c2 = 0x81;
2516 exit(memcmp(&c0, &c2, 1) < 0 && memcmp(&c1, &c2, 1) < 0 ? 0 : 1);
2520 if { (eval echo configure:2521: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
2522 ac_cv_func_memcmp_clean=yes
2524 echo "configure: failed program was:" >&5
2525 cat conftest.$ac_ext >&5
2527 ac_cv_func_memcmp_clean=no
2534 echo "$ac_t""$ac_cv_func_memcmp_clean" 1>&6
2535 test $ac_cv_func_memcmp_clean = no && LIBOBJS="$LIBOBJS memcmp.o"
2537 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
2538 echo "configure:2539: checking for vprintf" >&5
2539 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
2540 echo $ac_n "(cached) $ac_c" 1>&6
2542 cat > conftest.$ac_ext <<EOF
2543 #line 2544 "configure"
2544 #include "confdefs.h"
2545 /* System header to define __stub macros and hopefully few prototypes,
2546 which can conflict with char vprintf(); below. */
2548 /* Override any gcc2 internal prototype to avoid an error. */
2552 /* We use char because int might match the return type of a gcc2
2553 builtin and then its argument prototype would still apply. */
2558 /* The GNU C library defines this for functions which it implements
2559 to always fail with ENOSYS. Some functions are actually named
2560 something starting with __ and the normal name is an alias. */
2561 #if defined (__stub_vprintf) || defined (__stub___vprintf)
2569 if { (eval echo configure:2570: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
2571 eval "ac_cv_func_vprintf=yes"
2573 echo "configure: failed program was:" >&5
2574 cat conftest.$ac_ext >&5
2576 eval "ac_cv_func_vprintf=no"
2581 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
2582 echo "$ac_t""yes" 1>&6
2583 cat >> confdefs.h <<\EOF
2584 #define HAVE_VPRINTF 1
2588 echo "$ac_t""no" 1>&6
2591 if test "$ac_cv_func_vprintf" != yes; then
2592 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
2593 echo "configure:2594: checking for _doprnt" >&5
2594 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
2595 echo $ac_n "(cached) $ac_c" 1>&6
2597 cat > conftest.$ac_ext <<EOF
2598 #line 2599 "configure"
2599 #include "confdefs.h"
2600 /* System header to define __stub macros and hopefully few prototypes,
2601 which can conflict with char _doprnt(); below. */
2603 /* Override any gcc2 internal prototype to avoid an error. */
2607 /* We use char because int might match the return type of a gcc2
2608 builtin and then its argument prototype would still apply. */
2613 /* The GNU C library defines this for functions which it implements
2614 to always fail with ENOSYS. Some functions are actually named
2615 something starting with __ and the normal name is an alias. */
2616 #if defined (__stub__doprnt) || defined (__stub____doprnt)
2624 if { (eval echo configure:2625: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
2626 eval "ac_cv_func__doprnt=yes"
2628 echo "configure: failed program was:" >&5
2629 cat conftest.$ac_ext >&5
2631 eval "ac_cv_func__doprnt=no"
2636 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
2637 echo "$ac_t""yes" 1>&6
2638 cat >> confdefs.h <<\EOF
2639 #define HAVE_DOPRNT 1
2643 echo "$ac_t""no" 1>&6
2648 for ac_func in memmem snprintf vsnprintf gettext
2650 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
2651 echo "configure:2652: checking for $ac_func" >&5
2652 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
2653 echo $ac_n "(cached) $ac_c" 1>&6
2655 cat > conftest.$ac_ext <<EOF
2656 #line 2657 "configure"
2657 #include "confdefs.h"
2658 /* System header to define __stub macros and hopefully few prototypes,
2659 which can conflict with char $ac_func(); below. */
2661 /* Override any gcc2 internal prototype to avoid an error. */
2665 /* We use char because int might match the return type of a gcc2
2666 builtin and then its argument prototype would still apply. */
2671 /* The GNU C library defines this for functions which it implements
2672 to always fail with ENOSYS. Some functions are actually named
2673 something starting with __ and the normal name is an alias. */
2674 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
2682 if { (eval echo configure:2683: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
2684 eval "ac_cv_func_$ac_func=yes"
2686 echo "configure: failed program was:" >&5
2687 cat conftest.$ac_ext >&5
2689 eval "ac_cv_func_$ac_func=no"
2694 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
2695 echo "$ac_t""yes" 1>&6
2696 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
2697 cat >> confdefs.h <<EOF
2698 #define $ac_tr_func 1
2702 echo "$ac_t""no" 1>&6
2707 cat >> confdefs.h <<EOF
2708 #define TOPLEVEL_VERSION "${FULL_VERSION}"
2711 cat >> confdefs.h <<EOF
2712 #define FLOWER_VERSION "${FULL_FLOWER_VERSION}"
2716 for ac_prog in makeinfo
2718 # Extract the first word of "$ac_prog", so it can be a program name with args.
2719 set dummy $ac_prog; ac_word=$2
2720 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2721 echo "configure:2722: checking for $ac_word" >&5
2722 if eval "test \"`echo '$''{'ac_cv_prog_MAKEINFO'+set}'`\" = set"; then
2723 echo $ac_n "(cached) $ac_c" 1>&6
2725 if test -n "$MAKEINFO"; then
2726 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
2728 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
2729 for ac_dir in $PATH; do
2730 test -z "$ac_dir" && ac_dir=.
2731 if test -f $ac_dir/$ac_word; then
2732 ac_cv_prog_MAKEINFO="$ac_prog"
2739 MAKEINFO="$ac_cv_prog_MAKEINFO"
2740 if test -n "$MAKEINFO"; then
2741 echo "$ac_t""$MAKEINFO" 1>&6
2743 echo "$ac_t""no" 1>&6
2746 test -n "$MAKEINFO" && break
2748 test -n "$MAKEINFO" || MAKEINFO="error"
2751 result="`echo \"$YODL2TEXINFO\" | grep echo`"
2752 if test "x$YODL2TEXINFO" = "xerror" -o "x$result" != "x"; then
2754 echo "configure: warning: can\'t find yodl. You should install Yodl 1.30.2 or better" 1>&2
2762 cat > confcache <<\EOF
2763 # This file is a shell script that caches the results of configure
2764 # tests run on this system so they can be shared between configure
2765 # scripts and configure runs. It is not useful on other systems.
2766 # If it contains results you don't want to keep, you may remove or edit it.
2768 # By default, configure uses ./config.cache as the cache file,
2769 # creating it if it does not exist already. You can give configure
2770 # the --cache-file=FILE option to use a different cache file; that is
2771 # what configure does when it calls configure scripts in
2772 # subdirectories, so they share the cache.
2773 # Giving --cache-file=/dev/null disables caching, for debugging configure.
2774 # config.status only pays attention to the cache file if you give it the
2775 # --recheck option to rerun configure.
2778 # The following way of writing the cache mishandles newlines in values,
2779 # but we know of no workaround that is simple, portable, and efficient.
2780 # So, don't put newlines in cache variables' values.
2781 # Ultrix sh set writes to stderr and can't be redirected directly,
2782 # and sets the high bit in the cache file unless we assign to the vars.
2784 case `(ac_space=' '; set) 2>&1` in
2786 # `set' does not quote correctly, so add quotes (double-quote substitution
2787 # turns \\\\ into \\, and sed turns \\ into \).
2789 -e "s/'/'\\\\''/g" \
2790 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
2793 # `set' quotes correctly as required by POSIX, so do not add quotes.
2794 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2797 if cmp -s $cache_file confcache; then
2800 if test -w $cache_file; then
2801 echo "updating cache $cache_file"
2802 cat confcache > $cache_file
2804 echo "not updating unwritable cache $cache_file"
2809 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
2811 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2812 # Let make expand exec_prefix.
2813 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2815 # Any assignment to VPATH causes Sun make to only execute
2816 # the first set of double-colon rules, so remove it if not needed.
2817 # If there is a colon in the path, we need to keep it.
2818 if test "x$srcdir" = x.; then
2819 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
2822 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
2824 DEFS=-DHAVE_CONFIG_H
2826 # Without the "./", some shells look in PATH for config.status.
2827 : ${CONFIG_STATUS=./config.status}
2829 echo creating $CONFIG_STATUS
2830 rm -f $CONFIG_STATUS
2831 cat > $CONFIG_STATUS <<EOF
2833 # Generated automatically by configure.
2834 # Run this file to recreate the current configuration.
2835 # This directory was configured as follows,
2836 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
2838 # $0 $ac_configure_args
2840 # Compiler output produced by configure, useful for debugging
2841 # configure, is in ./config.log if it exists.
2843 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
2846 case "\$ac_option" in
2847 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2848 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
2849 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
2850 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
2851 echo "$CONFIG_STATUS generated by autoconf version 2.12"
2853 -help | --help | --hel | --he | --h)
2854 echo "\$ac_cs_usage"; exit 0 ;;
2855 *) echo "\$ac_cs_usage"; exit 1 ;;
2859 ac_given_srcdir=$srcdir
2861 trap 'rm -fr `echo "$CONFIGFILE.make:config.make.in $CONFIGFILE.h:config.hh.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
2863 cat >> $CONFIG_STATUS <<EOF
2865 # Protect against being on the right side of a sed subst in config.status.
2866 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
2867 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
2870 s%@CFLAGS@%$CFLAGS%g
2871 s%@CPPFLAGS@%$CPPFLAGS%g
2872 s%@CXXFLAGS@%$CXXFLAGS%g
2874 s%@LDFLAGS@%$LDFLAGS%g
2876 s%@exec_prefix@%$exec_prefix%g
2877 s%@prefix@%$prefix%g
2878 s%@program_transform_name@%$program_transform_name%g
2879 s%@bindir@%$bindir%g
2880 s%@sbindir@%$sbindir%g
2881 s%@libexecdir@%$libexecdir%g
2882 s%@datadir@%$datadir%g
2883 s%@sysconfdir@%$sysconfdir%g
2884 s%@sharedstatedir@%$sharedstatedir%g
2885 s%@localstatedir@%$localstatedir%g
2886 s%@libdir@%$libdir%g
2887 s%@includedir@%$includedir%g
2888 s%@oldincludedir@%$oldincludedir%g
2889 s%@infodir@%$infodir%g
2890 s%@mandir@%$mandir%g
2891 s%@package@%$package%g
2892 s%@PACKAGE@%$PACKAGE%g
2893 s%@PACKAGE_NAME@%$PACKAGE_NAME%g
2894 s%@package_depth@%$package_depth%g
2895 s%@AUTOGENERATE@%$AUTOGENERATE%g
2896 s%@absolute_builddir@%$absolute_builddir%g
2897 s%@stepmake@%$stepmake%g
2898 s%@STATE_VECTOR@%$STATE_VECTOR%g
2899 s%@CONFIGSUFFIX@%$CONFIGSUFFIX%g
2901 s%@host_alias@%$host_alias%g
2902 s%@host_cpu@%$host_cpu%g
2903 s%@host_vendor@%$host_vendor%g
2904 s%@host_os@%$host_os%g
2909 s%@PYTHON@%$PYTHON%g
2910 s%@DOTEXE@%$DOTEXE%g
2914 s%@INSTALL@%$INSTALL%g
2915 s%@PATHSEP@%$PATHSEP%g
2916 s%@DIRSEP@%$DIRSEP%g
2917 s%@DIR_DATADIR@%$DIR_DATADIR%g
2918 s%@subdirs@%$subdirs%g
2921 s%@ICFLAGS@%$ICFLAGS%g
2922 s%@ILDFLAGS@%$ILDFLAGS%g
2923 s%@DEFINES@%$DEFINES%g
2924 s%@EXTRA_LIBES@%$EXTRA_LIBES%g
2926 s%@CXXCPP@%$CXXCPP%g
2931 s%@RANLIB@%$RANLIB%g
2932 s%@localedir@%$localedir%g
2933 s%@DIR_LOCALEDIR@%$DIR_LOCALEDIR%g
2934 s%@MSGFMT@%$MSGFMT%g
2935 s%@METAFONT@%$METAFONT%g
2937 s%@METAPOST@%$METAPOST%g
2939 s%@STRIPROFF@%$STRIPROFF%g
2941 s%@YODL2HTML@%$YODL2HTML%g
2942 s%@YODL2LATEX@%$YODL2LATEX%g
2943 s%@YODL2MAN@%$YODL2MAN%g
2944 s%@YODL2MSLESS@%$YODL2MSLESS%g
2945 s%@YODL2TEXINFO@%$YODL2TEXINFO%g
2946 s%@YODL2TXT@%$YODL2TXT%g
2947 s%@LIBOBJS@%$LIBOBJS%g
2948 s%@MAKEINFO@%$MAKEINFO%g
2953 cat >> $CONFIG_STATUS <<\EOF
2955 # Split the substitutions into bite-sized pieces for seds with
2956 # small command number limits, like on Digital OSF/1 and HP-UX.
2957 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
2958 ac_file=1 # Number of current file.
2959 ac_beg=1 # First line for current file.
2960 ac_end=$ac_max_sed_cmds # Line after last line for current file.
2963 while $ac_more_lines; do
2964 if test $ac_beg -gt 1; then
2965 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
2967 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
2969 if test ! -s conftest.s$ac_file; then
2971 rm -f conftest.s$ac_file
2973 if test -z "$ac_sed_cmds"; then
2974 ac_sed_cmds="sed -f conftest.s$ac_file"
2976 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
2978 ac_file=`expr $ac_file + 1`
2980 ac_end=`expr $ac_end + $ac_max_sed_cmds`
2983 if test -z "$ac_sed_cmds"; then
2988 cat >> $CONFIG_STATUS <<EOF
2990 CONFIG_FILES=\${CONFIG_FILES-"$CONFIGFILE.make:config.make.in"}
2992 cat >> $CONFIG_STATUS <<\EOF
2993 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
2994 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2996 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
2997 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
2998 *) ac_file_in="${ac_file}.in" ;;
3001 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
3003 # Remove last slash and all that follows it. Not all systems have dirname.
3004 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
3005 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
3006 # The file is in a subdirectory.
3007 test ! -d "$ac_dir" && mkdir "$ac_dir"
3008 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
3009 # A "../" for each directory in $ac_dir_suffix.
3010 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
3012 ac_dir_suffix= ac_dots=
3015 case "$ac_given_srcdir" in
3017 if test -z "$ac_dots"; then top_srcdir=.
3018 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
3019 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
3021 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
3022 top_srcdir="$ac_dots$ac_given_srcdir" ;;
3026 echo creating "$ac_file"
3028 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
3030 *Makefile*) ac_comsub="1i\\
3031 # $configure_input" ;;
3035 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
3037 s%@configure_input@%$configure_input%g
3038 s%@srcdir@%$srcdir%g
3039 s%@top_srcdir@%$top_srcdir%g
3040 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
3044 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
3045 # NAME is the cpp macro being defined and VALUE is the value it is being given.
3047 # ac_d sets the value in "#define NAME VALUE" lines.
3048 ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
3049 ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
3052 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
3053 ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
3054 ac_uB='\([ ]\)%\1#\2define\3'
3057 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
3058 ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
3059 ac_eB='$%\1#\2define\3'
3063 if test "${CONFIG_HEADERS+set}" != set; then
3065 cat >> $CONFIG_STATUS <<EOF
3066 CONFIG_HEADERS="$CONFIGFILE.h:config.hh.in"
3068 cat >> $CONFIG_STATUS <<\EOF
3070 for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
3071 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3073 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
3074 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
3075 *) ac_file_in="${ac_file}.in" ;;
3078 echo creating $ac_file
3080 rm -f conftest.frag conftest.in conftest.out
3081 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
3082 cat $ac_file_inputs > conftest.in
3086 # Transform confdefs.h into a sed script conftest.vals that substitutes
3087 # the proper values into config.h.in to produce config.h. And first:
3088 # Protect against being on the right side of a sed subst in config.status.
3089 # Protect against being in an unquoted here document in config.status.
3091 cat > conftest.hdr <<\EOF
3094 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
3098 sed -n -f conftest.hdr confdefs.h > conftest.vals
3101 # This sed command replaces #undef with comments. This is necessary, for
3102 # example, in the case of _POSIX_SOURCE, which is predefined and required
3103 # on some systems where configure will not decide to define it.
3104 cat >> conftest.vals <<\EOF
3105 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
3108 # Break up conftest.vals because some shells have a limit on
3109 # the size of here documents, and old seds have small limits too.
3114 ac_lines=`grep -c . conftest.vals`
3115 # grep -c gives empty output for an empty file on some AIX systems.
3116 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
3117 # Write a limited-size here document to conftest.frag.
3118 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
3119 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
3121 sed -f conftest.frag conftest.in > conftest.out
3123 mv conftest.out conftest.in
3125 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
3127 mv conftest.tail conftest.vals
3131 cat >> $CONFIG_STATUS <<\EOF
3132 rm -f conftest.frag conftest.h
3133 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
3134 cat conftest.in >> conftest.h
3136 if cmp -s $ac_file conftest.h 2>/dev/null; then
3137 echo "$ac_file is unchanged"
3140 # Remove last slash and all that follows it. Not all systems have dirname.
3141 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
3142 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
3143 # The file is in a subdirectory.
3144 test ! -d "$ac_dir" && mkdir "$ac_dir"
3147 mv conftest.h $ac_file
3152 cat >> $CONFIG_STATUS <<EOF
3155 cat >> $CONFIG_STATUS <<\EOF
3159 chmod +x $CONFIG_STATUS
3160 rm -fr confdefs* $ac_clean_files
3161 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
3163 if test "$no_recursion" != yes; then
3165 # Remove --cache-file and --srcdir arguments so they do not pile up.
3166 ac_sub_configure_args=
3168 for ac_arg in $ac_configure_args; do
3169 if test -n "$ac_prev"; then
3174 -cache-file | --cache-file | --cache-fil | --cache-fi \
3175 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
3176 ac_prev=cache_file ;;
3177 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
3178 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
3180 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
3182 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
3184 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
3188 for ac_config_dir in stepmake; do
3190 # Do not complain, so a configure script can configure whichever
3191 # parts of a large source tree are present.
3192 if test ! -d $srcdir/$ac_config_dir; then
3196 echo configuring in $ac_config_dir
3201 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
3203 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
3211 # A "../" for each directory in /$ac_config_dir.
3212 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
3215 .) # No --srcdir option. We are building in place.
3216 ac_sub_srcdir=$srcdir ;;
3217 /*) # Absolute path.
3218 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
3220 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
3223 # Check for guested configure; otherwise get Cygnus style configure.
3224 if test -f $ac_sub_srcdir/configure; then
3225 ac_sub_configure=$ac_sub_srcdir/configure
3226 elif test -f $ac_sub_srcdir/configure.in; then
3227 ac_sub_configure=$ac_configure
3229 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
3233 # The recursion is here.
3234 if test -n "$ac_sub_configure"; then
3236 # Make the cache file name correct relative to the subdirectory.
3237 case "$cache_file" in
3238 /*) ac_sub_cache_file=$cache_file ;;
3240 ac_sub_cache_file="$ac_dots$cache_file" ;;
3243 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
3244 # The eval makes quoting arguments work.
3245 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
3248 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }
3258 cp make/toplevel.make.in ./GNUmakefile
3259 chmod 444 GNUmakefile