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 with-localedir=LOCALE use LOCALE as locale dir. Default: PREFIX/share/locale "
85 with-lang=LANG use LANG as language to emit messages"
87 # Initialize some variables set by options.
88 # The variables have the same names as the options, with
89 # dashes changed to underlines.
91 cache_file=./config.cache
100 program_transform_name=s,x,x,
108 bindir='${exec_prefix}/bin'
109 sbindir='${exec_prefix}/sbin'
110 libexecdir='${exec_prefix}/libexec'
111 datadir='${prefix}/share'
112 sysconfdir='${prefix}/etc'
113 sharedstatedir='${prefix}/com'
114 localstatedir='${prefix}/var'
115 libdir='${exec_prefix}/lib'
116 includedir='${prefix}/include'
117 oldincludedir='/usr/include'
118 infodir='${prefix}/info'
119 mandir='${prefix}/man'
121 # Initialize some other variables.
124 # Maximum number of lines to put in a shell here document.
131 # If the previous option needs an argument, assign it.
132 if test -n "$ac_prev"; then
133 eval "$ac_prev=\$ac_option"
139 -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
143 # Accept the important Cygnus configure options, so we can diagnose typos.
147 -bindir | --bindir | --bindi | --bind | --bin | --bi)
149 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
150 bindir="$ac_optarg" ;;
152 -build | --build | --buil | --bui | --bu)
154 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
155 build="$ac_optarg" ;;
157 -cache-file | --cache-file | --cache-fil | --cache-fi \
158 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
159 ac_prev=cache_file ;;
160 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
161 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
162 cache_file="$ac_optarg" ;;
164 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
166 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
168 datadir="$ac_optarg" ;;
170 -disable-* | --disable-*)
171 ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
172 # Reject names that are not valid shell variable names.
173 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
174 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
176 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
177 eval "enable_${ac_feature}=no" ;;
179 -enable-* | --enable-*)
180 ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
181 # Reject names that are not valid shell variable names.
182 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
183 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
185 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
190 eval "enable_${ac_feature}='$ac_optarg'" ;;
192 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
193 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
194 | --exec | --exe | --ex)
195 ac_prev=exec_prefix ;;
196 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
197 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
198 | --exec=* | --exe=* | --ex=*)
199 exec_prefix="$ac_optarg" ;;
201 -gas | --gas | --ga | --g)
202 # Obsolete; use --with-gas.
205 -help | --help | --hel | --he)
206 # Omit some internal or obsolete options to make the list less imposing.
207 # This message is too long to be a string in the A/UX 3.1 sh.
209 Usage: configure [options] [host]
210 Options: [defaults in brackets after descriptions]
212 --cache-file=FILE cache test results in FILE
213 --help print this message
214 --no-create do not create output files
215 --quiet, --silent do not print \`checking...' messages
216 --version print the version of autoconf that created configure
217 Directory and file names:
218 --prefix=PREFIX install architecture-independent files in PREFIX
220 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
222 --bindir=DIR user executables in DIR [EPREFIX/bin]
223 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
224 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
225 --datadir=DIR read-only architecture-independent data in DIR
227 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
228 --sharedstatedir=DIR modifiable architecture-independent data in DIR
230 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
231 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
232 --includedir=DIR C header files in DIR [PREFIX/include]
233 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
234 --infodir=DIR info documentation in DIR [PREFIX/info]
235 --mandir=DIR man documentation in DIR [PREFIX/man]
236 --srcdir=DIR find the sources in DIR [configure dir or ..]
237 --program-prefix=PREFIX prepend PREFIX to installed program names
238 --program-suffix=SUFFIX append SUFFIX to installed program names
239 --program-transform-name=PROGRAM
240 run sed PROGRAM on installed program names
244 --build=BUILD configure for building on BUILD [BUILD=HOST]
245 --host=HOST configure for HOST [guessed]
246 --target=TARGET configure for TARGET [TARGET=HOST]
247 Features and packages:
248 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
249 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
250 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
251 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
252 --x-includes=DIR X include files are in DIR
253 --x-libraries=DIR X library files are in DIR
255 if test -n "$ac_help"; then
256 echo "--enable and --with options recognized:$ac_help"
260 -host | --host | --hos | --ho)
262 -host=* | --host=* | --hos=* | --ho=*)
265 -includedir | --includedir | --includedi | --included | --include \
266 | --includ | --inclu | --incl | --inc)
267 ac_prev=includedir ;;
268 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
269 | --includ=* | --inclu=* | --incl=* | --inc=*)
270 includedir="$ac_optarg" ;;
272 -infodir | --infodir | --infodi | --infod | --info | --inf)
274 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
275 infodir="$ac_optarg" ;;
277 -libdir | --libdir | --libdi | --libd)
279 -libdir=* | --libdir=* | --libdi=* | --libd=*)
280 libdir="$ac_optarg" ;;
282 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
283 | --libexe | --libex | --libe)
284 ac_prev=libexecdir ;;
285 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
286 | --libexe=* | --libex=* | --libe=*)
287 libexecdir="$ac_optarg" ;;
289 -localstatedir | --localstatedir | --localstatedi | --localstated \
290 | --localstate | --localstat | --localsta | --localst \
291 | --locals | --local | --loca | --loc | --lo)
292 ac_prev=localstatedir ;;
293 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
294 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
295 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
296 localstatedir="$ac_optarg" ;;
298 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
300 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
301 mandir="$ac_optarg" ;;
304 # Obsolete; use --without-fp.
307 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
311 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
312 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
315 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
316 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
317 | --oldin | --oldi | --old | --ol | --o)
318 ac_prev=oldincludedir ;;
319 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
320 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
321 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
322 oldincludedir="$ac_optarg" ;;
324 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
326 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
327 prefix="$ac_optarg" ;;
329 -program-prefix | --program-prefix | --program-prefi | --program-pref \
330 | --program-pre | --program-pr | --program-p)
331 ac_prev=program_prefix ;;
332 -program-prefix=* | --program-prefix=* | --program-prefi=* \
333 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
334 program_prefix="$ac_optarg" ;;
336 -program-suffix | --program-suffix | --program-suffi | --program-suff \
337 | --program-suf | --program-su | --program-s)
338 ac_prev=program_suffix ;;
339 -program-suffix=* | --program-suffix=* | --program-suffi=* \
340 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
341 program_suffix="$ac_optarg" ;;
343 -program-transform-name | --program-transform-name \
344 | --program-transform-nam | --program-transform-na \
345 | --program-transform-n | --program-transform- \
346 | --program-transform | --program-transfor \
347 | --program-transfo | --program-transf \
348 | --program-trans | --program-tran \
349 | --progr-tra | --program-tr | --program-t)
350 ac_prev=program_transform_name ;;
351 -program-transform-name=* | --program-transform-name=* \
352 | --program-transform-nam=* | --program-transform-na=* \
353 | --program-transform-n=* | --program-transform-=* \
354 | --program-transform=* | --program-transfor=* \
355 | --program-transfo=* | --program-transf=* \
356 | --program-trans=* | --program-tran=* \
357 | --progr-tra=* | --program-tr=* | --program-t=*)
358 program_transform_name="$ac_optarg" ;;
360 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
361 | -silent | --silent | --silen | --sile | --sil)
364 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
366 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
368 sbindir="$ac_optarg" ;;
370 -sharedstatedir | --sharedstatedir | --sharedstatedi \
371 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
372 | --sharedst | --shareds | --shared | --share | --shar \
374 ac_prev=sharedstatedir ;;
375 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
376 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
377 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
379 sharedstatedir="$ac_optarg" ;;
381 -site | --site | --sit)
383 -site=* | --site=* | --sit=*)
386 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
388 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
389 srcdir="$ac_optarg" ;;
391 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
392 | --syscon | --sysco | --sysc | --sys | --sy)
393 ac_prev=sysconfdir ;;
394 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
395 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
396 sysconfdir="$ac_optarg" ;;
398 -target | --target | --targe | --targ | --tar | --ta | --t)
400 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
401 target="$ac_optarg" ;;
403 -v | -verbose | --verbose | --verbos | --verbo | --verb)
406 -version | --version | --versio | --versi | --vers)
407 echo "configure generated by autoconf version 2.12"
411 ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
412 # Reject names that are not valid shell variable names.
413 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
414 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
416 ac_package=`echo $ac_package| sed 's/-/_/g'`
421 eval "with_${ac_package}='$ac_optarg'" ;;
423 -without-* | --without-*)
424 ac_package=`echo $ac_option|sed -e 's/-*without-//'`
425 # Reject names that are not valid shell variable names.
426 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
427 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
429 ac_package=`echo $ac_package| sed 's/-/_/g'`
430 eval "with_${ac_package}=no" ;;
433 # Obsolete; use --with-x.
436 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
437 | --x-incl | --x-inc | --x-in | --x-i)
438 ac_prev=x_includes ;;
439 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
440 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
441 x_includes="$ac_optarg" ;;
443 -x-libraries | --x-libraries | --x-librarie | --x-librari \
444 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
445 ac_prev=x_libraries ;;
446 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
447 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
448 x_libraries="$ac_optarg" ;;
450 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
454 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
455 echo "configure: warning: $ac_option: invalid host type" 1>&2
457 if test "x$nonopt" != xNONE; then
458 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
466 if test -n "$ac_prev"; then
467 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
470 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
472 # File descriptor usage:
475 # 2 errors and warnings
476 # 3 some systems may open it to /dev/tty
477 # 4 used on the Kubota Titan
478 # 6 checking for... messages and results
479 # 5 compiler messages saved in config.log
480 if test "$silent" = yes; then
488 This file contains any messages produced by compilers while
489 running configure, to aid debugging if configure makes a mistake.
492 # Strip out --no-create and --no-recursion so they do not pile up.
493 # Also quote any args containing shell metacharacters.
498 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
499 | --no-cr | --no-c) ;;
500 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
501 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
502 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
503 ac_configure_args="$ac_configure_args '$ac_arg'" ;;
504 *) ac_configure_args="$ac_configure_args $ac_arg" ;;
509 # Only set these to C if already set. These must not be set unconditionally
510 # because not all systems understand e.g. LANG=C (notably SCO).
511 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
512 # Non-C LC_CTYPE values break the ctype check.
513 if test "${LANG+set}" = set; then LANG=C; export LANG; fi
514 if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
515 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
516 if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
518 # confdefs.h avoids OS command line length limits that DEFS can exceed.
519 rm -rf conftest* confdefs.h
520 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
523 # A filename unique to this package, relative to the directory that
524 # configure is in, which we can look for to find out if srcdir is correct.
525 ac_unique_file=make/lilypond.lsm.in
527 # Find the source files, if location was not specified.
528 if test -z "$srcdir"; then
529 ac_srcdir_defaulted=yes
530 # Try the directory containing this script, then its parent.
532 ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
533 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
535 if test ! -r $srcdir/$ac_unique_file; then
539 ac_srcdir_defaulted=no
541 if test ! -r $srcdir/$ac_unique_file; then
542 if test "$ac_srcdir_defaulted" = yes; then
543 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
545 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
548 srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
550 # Prefer explicitly selected file to automatically selected ones.
551 if test -z "$CONFIG_SITE"; then
552 if test "x$prefix" != xNONE; then
553 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
555 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
558 for ac_site_file in $CONFIG_SITE; do
559 if test -r "$ac_site_file"; then
560 echo "loading site script $ac_site_file"
565 if test -r "$cache_file"; then
566 echo "loading cache $cache_file"
569 echo "creating cache $cache_file"
574 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
575 ac_cpp='$CPP $CPPFLAGS'
576 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
577 ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
578 cross_compiling=$ac_cv_prog_cc_cross
580 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
581 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
582 if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
589 ac_n= ac_c='\c' ac_t=
595 # Bootstrap StepMake configure
599 FULL_VERSION=$MAJOR_VERSION.$MINOR_VERSION.$PATCH_LEVEL
600 if test x$MY_PATCH_LEVEL != x; then
601 FULL_VERSION=$FULL_VERSION.$MY_PATCH_LEVEL
604 # urg: don't "fix" this: irix doesn't know about [:lower:] and [:upper:]
605 PACKAGE=`echo $PACKAGE_NAME | tr '[a-z]' '[A-Z]'`
606 package=`echo $PACKAGE_NAME | tr '[A-Z]' '[a-z]'`
608 # No versioning on directory names of sub-packages
610 stepmake=${datadir}/stepmake
612 if test "$prefix" = "NONE"; then
613 presome=${ac_default_prefix}
615 stepmake=`echo ${stepmake} | sed "s!\\\${prefix}!$presome!"`
617 if test "x$PACKAGE" = "xSTEPMAKE"; then
618 echo Stepmake package!
619 (cd stepmake; rm -f stepmake; ln -s ../stepmake .)
620 (cd stepmake; rm -f bin; ln -s ../bin .)
622 for ac_dir in bin $srcdir/bin; do
623 if test -f $ac_dir/install-sh; then
625 ac_install_sh="$ac_aux_dir/install-sh -c"
627 elif test -f $ac_dir/install.sh; then
629 ac_install_sh="$ac_aux_dir/install.sh -c"
633 if test -z "$ac_aux_dir"; then
634 { echo "configure: error: can not find install-sh or install.sh in bin $srcdir/bin" 1>&2; exit 1; }
636 ac_config_guess=$ac_aux_dir/config.guess
637 ac_config_sub=$ac_aux_dir/config.sub
638 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
642 echo Package: $PACKAGE
643 # Check for installed stepmake
644 if test -d $stepmake; then
645 echo Using installed stepmake: $stepmake
647 stepmake='$(depth)'/stepmake
648 echo Using local stepmake: $datadir/stepmake not found
652 $HOME/usr/local/share/stepmake/bin\
653 $HOME/usr/local/lib/stepmake/bin\
654 $HOME/usr/share/stepmake/bin\
655 $HOME/usr/lib/stepmake/bin\
656 /usr/local/share/stepmake/bin\
657 /usr/local/lib/stepmake/bin\
658 /usr/share/stepmake/bin\
659 /usr/lib/stepmake/bin\
662 $HOME/usr/local/share/stepmake/bin\
663 $HOME/usr/local/lib/stepmake/bin\
664 $HOME/usr/share/stepmake/bin\
665 $HOME/usr/lib/stepmake/bin\
666 /usr/local/share/stepmake/bin\
667 /usr/local/lib/stepmake/bin\
668 /usr/share/stepmake/bin\
669 /usr/lib/stepmake/bin\
672 if test -f $ac_dir/install-sh; then
674 ac_install_sh="$ac_aux_dir/install-sh -c"
676 elif test -f $ac_dir/install.sh; then
678 ac_install_sh="$ac_aux_dir/install.sh -c"
682 if test -z "$ac_aux_dir"; then
683 { echo "configure: error: can not find install-sh or install.sh in \
684 $HOME/usr/local/share/stepmake/bin\
685 $HOME/usr/local/lib/stepmake/bin\
686 $HOME/usr/share/stepmake/bin\
687 $HOME/usr/lib/stepmake/bin\
688 /usr/local/share/stepmake/bin\
689 /usr/local/lib/stepmake/bin\
690 /usr/share/stepmake/bin\
691 /usr/lib/stepmake/bin\
694 $HOME/usr/local/share/stepmake/bin\
695 $HOME/usr/local/lib/stepmake/bin\
696 $HOME/usr/share/stepmake/bin\
697 $HOME/usr/lib/stepmake/bin\
698 /usr/local/share/stepmake/bin\
699 /usr/local/lib/stepmake/bin\
700 /usr/share/stepmake/bin\
701 /usr/lib/stepmake/bin\
705 ac_config_guess=$ac_aux_dir/config.guess
706 ac_config_sub=$ac_aux_dir/config.sub
707 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
715 cat >> confdefs.h <<EOF
716 #define PACKAGE "${PACKAGE_NAME}"
719 cat >> confdefs.h <<EOF
720 #define TOPLEVEL_VERSION "${FULL_VERSION}"
724 package_depth=`dirname $cache_file`
727 AUTOGENERATE="This file was automatically generated by configure"
729 absolute_builddir="`pwd`"
732 STATE_VECTOR=`ls make/STATE-VECTOR 2>/dev/null`
733 if test "x$STATE_VECTOR" != "x"; then
734 STATE_VECTOR="\$(depth)/$STATE_VECTOR"
739 # Check whether --enable-config or --disable-config was given.
740 if test "${enable_config+set}" = set; then
741 enableval="$enable_config"
742 CONFIGSUFFIX=$enableval
746 if test "$CONFIGSUFFIX" != "" ; then
747 CONFIGFILE=config-$CONFIGSUFFIX
754 # Make sure we can run config.sub.
755 if $ac_config_sub sun4 >/dev/null 2>&1; then :
756 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
759 echo $ac_n "checking host system type""... $ac_c" 1>&6
760 echo "configure:761: checking host system type" >&5
763 case "$host_alias" in
767 if host_alias=`$ac_config_guess`; then :
768 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
770 *) host_alias=$nonopt ;;
774 host=`$ac_config_sub $host_alias`
775 host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
776 host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
777 host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
778 echo "$ac_t""$host" 1>&6
782 # Extract the first word of "$ac_prog", so it can be a program name with args.
783 set dummy $ac_prog; ac_word=$2
784 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
785 echo "configure:786: checking for $ac_word" >&5
786 if eval "test \"`echo '$''{'ac_cv_prog_MAKE'+set}'`\" = set"; then
787 echo $ac_n "(cached) $ac_c" 1>&6
789 if test -n "$MAKE"; then
790 ac_cv_prog_MAKE="$MAKE" # Let the user override the test.
792 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
793 for ac_dir in $PATH; do
794 test -z "$ac_dir" && ac_dir=.
795 if test -f $ac_dir/$ac_word; then
796 ac_cv_prog_MAKE="$ac_prog"
803 MAKE="$ac_cv_prog_MAKE"
804 if test -n "$MAKE"; then
805 echo "$ac_t""$MAKE" 1>&6
807 echo "$ac_t""no" 1>&6
810 test -n "$MAKE" && break
812 test -n "$MAKE" || MAKE="error"
816 # Extract the first word of "$ac_prog", so it can be a program name with args.
817 set dummy $ac_prog; ac_word=$2
818 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
819 echo "configure:820: checking for $ac_word" >&5
820 if eval "test \"`echo '$''{'ac_cv_prog_FIND'+set}'`\" = set"; then
821 echo $ac_n "(cached) $ac_c" 1>&6
823 if test -n "$FIND"; then
824 ac_cv_prog_FIND="$FIND" # Let the user override the test.
826 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
827 for ac_dir in $PATH; do
828 test -z "$ac_dir" && ac_dir=.
829 if test -f $ac_dir/$ac_word; then
830 ac_cv_prog_FIND="$ac_prog"
837 FIND="$ac_cv_prog_FIND"
838 if test -n "$FIND"; then
839 echo "$ac_t""$FIND" 1>&6
841 echo "$ac_t""no" 1>&6
844 test -n "$FIND" && break
846 test -n "$FIND" || FIND="error"
853 # Extract the first word of "$ac_prog", so it can be a program name with args.
854 set dummy $ac_prog; ac_word=$2
855 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
856 echo "configure:857: checking for $ac_word" >&5
857 if eval "test \"`echo '$''{'ac_cv_prog_TAR'+set}'`\" = set"; then
858 echo $ac_n "(cached) $ac_c" 1>&6
860 if test -n "$TAR"; then
861 ac_cv_prog_TAR="$TAR" # Let the user override the test.
863 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
864 for ac_dir in $PATH; do
865 test -z "$ac_dir" && ac_dir=.
866 if test -f $ac_dir/$ac_word; then
867 ac_cv_prog_TAR="$ac_prog"
874 TAR="$ac_cv_prog_TAR"
875 if test -n "$TAR"; then
876 echo "$ac_t""$TAR" 1>&6
878 echo "$ac_t""no" 1>&6
881 test -n "$TAR" && break
883 test -n "$TAR" || TAR="error"
887 # Extract the first word of "$ac_prog", so it can be a program name with args.
888 set dummy $ac_prog; ac_word=$2
889 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
890 echo "configure:891: checking for $ac_word" >&5
891 if eval "test \"`echo '$''{'ac_cv_prog_BASH'+set}'`\" = set"; then
892 echo $ac_n "(cached) $ac_c" 1>&6
894 if test -n "$BASH"; then
895 ac_cv_prog_BASH="$BASH" # Let the user override the test.
897 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
898 for ac_dir in $PATH; do
899 test -z "$ac_dir" && ac_dir=.
900 if test -f $ac_dir/$ac_word; then
901 ac_cv_prog_BASH="$ac_prog"
908 BASH="$ac_cv_prog_BASH"
909 if test -n "$BASH"; then
910 echo "$ac_t""$BASH" 1>&6
912 echo "$ac_t""no" 1>&6
915 test -n "$BASH" && break
917 test -n "$BASH" || BASH="/bin/sh"
920 # Extract the first word of "${PYTHON:-python}", so it can be a program name with args.
921 set dummy ${PYTHON:-python}; ac_word=$2
922 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
923 echo "configure:924: checking for $ac_word" >&5
924 if eval "test \"`echo '$''{'ac_cv_path_PYTHON'+set}'`\" = set"; then
925 echo $ac_n "(cached) $ac_c" 1>&6
929 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
932 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
933 for ac_dir in $PATH; do
934 test -z "$ac_dir" && ac_dir=.
935 if test -f $ac_dir/$ac_word; then
936 ac_cv_path_PYTHON="$ac_dir/$ac_word"
941 test -z "$ac_cv_path_PYTHON" && ac_cv_path_PYTHON="-echo no python"
945 PYTHON="$ac_cv_path_PYTHON"
946 if test -n "$PYTHON"; then
947 echo "$ac_t""$PYTHON" 1>&6
949 echo "$ac_t""no" 1>&6
956 result="`echo \"$MAKE\" | grep echo`"
957 if test "x$MAKE" = "xerror" -o "x$result" != "x"; then
959 echo "configure: warning: can\'t find GNU make. You should install GNU make" 1>&2
964 if test $MAKE != "error" ; then
965 $MAKE -v| grep GNU > /dev/null
969 echo "configure: warning: Please install *GNU* make" 1>&2
976 result="`echo \"$PYTHON\" | grep echo`"
977 if test "x$PYTHON" = "xerror" -o "x$result" != "x"; then
979 echo "configure: warning: can\'t find python. You should install Python" 1>&2
985 if test "x$OSTYPE" = "xcygwin32" || test "x$OSTYPE" = "xWindows_NT"; then
986 LN=cp # hard link does not work under cygnus-nt
987 LN_S=cp # symbolic link does not work for native nt
994 # cygwin fixes all these things.
995 # it seems these were used because of dos-style TEXINPUTS and
996 # MFINPUTS needed for miktex.
997 # but this breaks parsing of all other cygwin/unix style paths.
999 # if your (mik)tex breaks, make a:
1000 # /usr/local/bin/tex:
1002 # TEXINPUTS=`cygpath -pw $TEXINPUTS` /texmf/miktex/bin/tex
1006 # /usr/local/bin/mf:
1008 # MFINPUTS=`cygpath -pw $MFINPUTS` /texmf/miktex/bin/mf
1010 # this way, you may have buildscripts/out/lilypond-profile
1011 # 'automatically' sourced from /usr/etc/profile.d/ too.
1015 INSTALL="\$(SHELL) \$(stepdir)/../bin/install-dot-exe.sh -c"
1022 INSTALL="\$(SHELL) \$(stepdir)/../bin/install-sh -c"
1029 cat >> confdefs.h <<EOF
1030 #define DIRSEP '${DIRSEP}'
1033 cat >> confdefs.h <<EOF
1034 #define PATHSEP '${PATHSEP}'
1042 if test "$datadir" = "\${prefix}/share"; then
1043 datadir='${prefix}/share/'$package
1045 DIR_DATADIR=${datadir}
1047 if test "$prefix" = "NONE"; then
1048 presome=${ac_default_prefix}
1050 DIR_DATADIR=`echo ${DIR_DATADIR} | sed "s!\\\${prefix}!$presome!"`
1053 cat >> confdefs.h <<EOF
1054 #define DIR_DATADIR "${DIR_DATADIR}"
1060 # For all packages except the StepMake package itself
1064 # Uncomment the configuration options your package needs.
1066 # -O is necessary to get inlining
1068 CXXFLAGS=${CXXFLAGS:-""}
1069 CFLAGS=${CFLAGS:-""}
1075 # Check whether --enable-checking or --disable-checking was given.
1076 if test "${enable_checking+set}" = set; then
1077 enableval="$enable_checking"
1078 checking_b=$enableval
1082 # actually, the default is: tja='-O' to get inlining...
1085 #actually, that sucks.
1086 # tja looks like a typo. Default is optimisation off. --hwn
1088 # Check whether --enable-optimise or --disable-optimise was given.
1089 if test "${enable_optimise+set}" = set; then
1090 enableval="$enable_optimise"
1091 optimise_b=$enableval
1095 # Check whether --enable-profiling or --disable-profiling was given.
1096 if test "${enable_profiling+set}" = set; then
1097 enableval="$enable_profiling"
1098 profile_b=$enableval
1102 # Check whether --enable-debugging or --disable-debugging was given.
1103 if test "${enable_debugging+set}" = set; then
1104 enableval="$enable_debugging"
1109 # Check whether --enable-mingw-prefix or --disable-mingw-prefix was given.
1110 if test "${enable_mingw_prefix+set}" = set; then
1111 enableval="$enable_mingw_prefix"
1112 MINGWPREFIX=$enableval
1118 if test "$printing_b" = no; then
1120 cat >> confdefs.h <<\EOF
1124 DEFINES="$DEFINES -DNPRINT"
1127 if test "$checking_b" = no; then
1129 cat >> confdefs.h <<\EOF
1133 DEFINES="$DEFINES -DNDEBUG"
1136 if test "$optimise_b" = yes; then
1137 OPTIMIZE="-O2 -finline-functions"
1140 if test "$optimise_b" = no; then
1144 if test $profile_b = yes; then
1146 OPTIMIZE="$OPTIMIZE -pg"
1149 if test $debug_b = yes; then
1150 OPTIMIZE="$OPTIMIZE -g"
1153 # however, C++ support in mingw32 v 0.1.4 is still flaky
1154 if test x$MINGWPREFIX != xno; then
1155 ICFLAGS="-I$MINGWPREFIX/include"
1156 ILDFLAGS="-$MINGWPREFIX/lib"
1159 # Extract the first word of "gcc", so it can be a program name with args.
1160 set dummy gcc; ac_word=$2
1161 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1162 echo "configure:1163: checking for $ac_word" >&5
1163 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1164 echo $ac_n "(cached) $ac_c" 1>&6
1166 if test -n "$CC"; then
1167 ac_cv_prog_CC="$CC" # Let the user override the test.
1169 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
1170 for ac_dir in $PATH; do
1171 test -z "$ac_dir" && ac_dir=.
1172 if test -f $ac_dir/$ac_word; then
1181 if test -n "$CC"; then
1182 echo "$ac_t""$CC" 1>&6
1184 echo "$ac_t""no" 1>&6
1187 if test -z "$CC"; then
1188 # Extract the first word of "cc", so it can be a program name with args.
1189 set dummy cc; 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_CC'+set}'`\" = set"; then
1193 echo $ac_n "(cached) $ac_c" 1>&6
1195 if test -n "$CC"; then
1196 ac_cv_prog_CC="$CC" # Let the user override the test.
1198 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
1200 for ac_dir in $PATH; do
1201 test -z "$ac_dir" && ac_dir=.
1202 if test -f $ac_dir/$ac_word; then
1203 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1204 ac_prog_rejected=yes
1212 if test $ac_prog_rejected = yes; then
1213 # We found a bogon in the path, so make sure we never use it.
1214 set dummy $ac_cv_prog_CC
1216 if test $# -gt 0; then
1217 # We chose a different compiler from the bogus one.
1218 # However, it has the same basename, so the bogon will be chosen
1219 # first if we set CC to just the basename; use the full file name.
1221 set dummy "$ac_dir/$ac_word" "$@"
1229 if test -n "$CC"; then
1230 echo "$ac_t""$CC" 1>&6
1232 echo "$ac_t""no" 1>&6
1235 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1238 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
1239 echo "configure:1240: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
1242 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1243 ac_cpp='$CPP $CPPFLAGS'
1244 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1245 ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1246 cross_compiling=$ac_cv_prog_cc_cross
1248 cat > conftest.$ac_ext <<EOF
1249 #line 1250 "configure"
1250 #include "confdefs.h"
1253 if { (eval echo configure:1254: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
1254 ac_cv_prog_cc_works=yes
1255 # If we can't run a trivial program, we are probably using a cross compiler.
1256 if (./conftest; exit) 2>/dev/null; then
1257 ac_cv_prog_cc_cross=no
1259 ac_cv_prog_cc_cross=yes
1262 echo "configure: failed program was:" >&5
1263 cat conftest.$ac_ext >&5
1264 ac_cv_prog_cc_works=no
1268 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
1269 if test $ac_cv_prog_cc_works = no; then
1270 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
1272 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
1273 echo "configure:1274: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
1274 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
1275 cross_compiling=$ac_cv_prog_cc_cross
1277 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1278 echo "configure:1279: checking whether we are using GNU C" >&5
1279 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1280 echo $ac_n "(cached) $ac_c" 1>&6
1282 cat > conftest.c <<EOF
1287 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1288: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1294 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1296 if test $ac_cv_prog_gcc = yes; then
1298 ac_test_CFLAGS="${CFLAGS+set}"
1299 ac_save_CFLAGS="$CFLAGS"
1301 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1302 echo "configure:1303: checking whether ${CC-cc} accepts -g" >&5
1303 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1304 echo $ac_n "(cached) $ac_c" 1>&6
1306 echo 'void f(){}' > conftest.c
1307 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1316 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1317 if test "$ac_test_CFLAGS" = set; then
1318 CFLAGS="$ac_save_CFLAGS"
1319 elif test $ac_cv_prog_cc_g = yes; then
1326 test "${CFLAGS+set}" = set || CFLAGS="-g"
1332 CFLAGS="$CFLAGS $OPTIMIZE"
1333 CPPFLAGS=${CPPFLAGS:-""}
1342 # AC_HAVE_HEADERS(limits.h malloc.h string.h unistd.h values.h)
1345 # Check whether --enable-printing or --disable-printing was given.
1346 if test "${enable_printing+set}" = set; then
1347 enableval="$enable_printing"
1348 printing_b=$enableval
1352 if test "$optimise_b" = yes; then
1353 DEFINES="$DEFINES -DSTRING_UTILS_INLINED"
1354 cat >> confdefs.h <<\EOF
1355 #define STRINGS_UTILS_INLINED 1
1360 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
1361 echo "configure:1362: checking how to run the C++ preprocessor" >&5
1362 if test -z "$CXXCPP"; then
1363 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
1364 echo $ac_n "(cached) $ac_c" 1>&6
1367 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1368 ac_cpp='$CXXCPP $CPPFLAGS'
1369 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1370 ac_link='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1371 cross_compiling=$ac_cv_prog_cxx_cross
1372 CXXCPP="${CXX-g++} -E"
1373 cat > conftest.$ac_ext <<EOF
1374 #line 1375 "configure"
1375 #include "confdefs.h"
1378 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1379 { (eval echo configure:1380: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1380 ac_err=`grep -v '^ *+' conftest.out`
1381 if test -z "$ac_err"; then
1385 echo "configure: failed program was:" >&5
1386 cat conftest.$ac_ext >&5
1391 ac_cv_prog_CXXCPP="$CXXCPP"
1394 CXXCPP="$ac_cv_prog_CXXCPP"
1395 echo "$ac_t""$CXXCPP" 1>&6
1399 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1400 ac_cpp='$CXXCPP $CPPFLAGS'
1401 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1402 ac_link='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1403 cross_compiling=$ac_cv_prog_cxx_cross
1405 for ac_prog in $CCC c++ g++ gcc CC cxx cc++
1407 # Extract the first word of "$ac_prog", so it can be a program name with args.
1408 set dummy $ac_prog; ac_word=$2
1409 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1410 echo "configure:1411: checking for $ac_word" >&5
1411 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
1412 echo $ac_n "(cached) $ac_c" 1>&6
1414 if test -n "$CXX"; then
1415 ac_cv_prog_CXX="$CXX" # Let the user override the test.
1417 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
1418 for ac_dir in $PATH; do
1419 test -z "$ac_dir" && ac_dir=.
1420 if test -f $ac_dir/$ac_word; then
1421 ac_cv_prog_CXX="$ac_prog"
1428 CXX="$ac_cv_prog_CXX"
1429 if test -n "$CXX"; then
1430 echo "$ac_t""$CXX" 1>&6
1432 echo "$ac_t""no" 1>&6
1435 test -n "$CXX" && break
1437 test -n "$CXX" || CXX="gcc"
1440 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
1441 echo "configure:1442: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
1444 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1445 ac_cpp='$CXXCPP $CPPFLAGS'
1446 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1447 ac_link='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1448 cross_compiling=$ac_cv_prog_cxx_cross
1450 cat > conftest.$ac_ext <<EOF
1451 #line 1452 "configure"
1452 #include "confdefs.h"
1455 if { (eval echo configure:1456: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
1456 ac_cv_prog_cxx_works=yes
1457 # If we can't run a trivial program, we are probably using a cross compiler.
1458 if (./conftest; exit) 2>/dev/null; then
1459 ac_cv_prog_cxx_cross=no
1461 ac_cv_prog_cxx_cross=yes
1464 echo "configure: failed program was:" >&5
1465 cat conftest.$ac_ext >&5
1466 ac_cv_prog_cxx_works=no
1470 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
1471 if test $ac_cv_prog_cxx_works = no; then
1472 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
1474 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
1475 echo "configure:1476: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
1476 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
1477 cross_compiling=$ac_cv_prog_cxx_cross
1479 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
1480 echo "configure:1481: checking whether we are using GNU C++" >&5
1481 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
1482 echo $ac_n "(cached) $ac_c" 1>&6
1484 cat > conftest.C <<EOF
1489 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1490: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1496 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
1498 if test $ac_cv_prog_gxx = yes; then
1500 ac_test_CXXFLAGS="${CXXFLAGS+set}"
1501 ac_save_CXXFLAGS="$CXXFLAGS"
1503 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
1504 echo "configure:1505: checking whether ${CXX-g++} accepts -g" >&5
1505 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
1506 echo $ac_n "(cached) $ac_c" 1>&6
1508 echo 'void f(){}' > conftest.cc
1509 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
1510 ac_cv_prog_cxx_g=yes
1518 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
1519 if test "$ac_test_CXXFLAGS" = set; then
1520 CXXFLAGS="$ac_save_CXXFLAGS"
1521 elif test $ac_cv_prog_cxx_g = yes; then
1528 test "${CXXFLAGS+set}" = set || CXXFLAGS="-g"
1532 ac_safe=`echo "FlexLexer.h" | sed 'y%./+-%__p_%'`
1533 echo $ac_n "checking for FlexLexer.h""... $ac_c" 1>&6
1534 echo "configure:1535: checking for FlexLexer.h" >&5
1535 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1536 echo $ac_n "(cached) $ac_c" 1>&6
1538 cat > conftest.$ac_ext <<EOF
1539 #line 1540 "configure"
1540 #include "confdefs.h"
1541 #include <FlexLexer.h>
1543 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1544 { (eval echo configure:1545: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1545 ac_err=`grep -v '^ *+' conftest.out`
1546 if test -z "$ac_err"; then
1548 eval "ac_cv_header_$ac_safe=yes"
1551 echo "configure: failed program was:" >&5
1552 cat conftest.$ac_ext >&5
1554 eval "ac_cv_header_$ac_safe=no"
1558 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
1559 echo "$ac_t""yes" 1>&6
1562 echo "$ac_t""no" 1>&6
1564 echo "configure: warning: can"\'"t find flex header. Please install Flex headers correctly" 1>&2
1570 CPPFLAGS="$CPPFLAGS $DEFINES"
1571 CXXFLAGS="$CXXFLAGS $OPTIMIZE"
1572 LDFLAGS=$EXTRA_LIBES
1581 # urg, egcs: how to check for egcs >= 1.1?
1582 if $CXX --version | grep '2\.8' > /dev/null ||
1583 $CXX --version | grep 'egcs' > /dev/null
1588 echo "configure: warning: can\'t find g++ 2.8 or egcs 1.1" 1>&2
1594 echo $ac_n "checking whether explicit instantiation is needed""... $ac_c" 1>&6
1595 echo "configure:1596: checking whether explicit instantiation is needed" >&5
1596 if eval "test \"`echo '$''{'lily_cv_need_explicit_instantiation'+set}'`\" = set"; then
1597 echo $ac_n "(cached) $ac_c" 1>&6
1599 cat > conftest.$ac_ext <<EOF
1600 #line 1601 "configure"
1601 #include "confdefs.h"
1603 template <class T> struct foo { static int baz; };
1604 template <class T> int foo<T>::baz = 1;
1607 return foo<int>::baz;
1610 if { (eval echo configure:1611: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
1612 lily_cv_need_explicit_instantiation=no
1614 echo "configure: failed program was:" >&5
1615 cat conftest.$ac_ext >&5
1617 lily_cv_need_explicit_instantiation=yes
1622 echo "$ac_t""$lily_cv_need_explicit_instantiation" 1>&6
1623 if test x"$lily_cv_need_explicit_instantiation"x = x"yes"x; then
1624 cat >> confdefs.h <<\EOF
1625 #define NEED_EXPLICIT_INSTANTIATION 1
1631 # ugh, automake: we want (and check for) bison
1632 for ac_prog in 'bison -y' byacc
1634 # Extract the first word of "$ac_prog", so it can be a program name with args.
1635 set dummy $ac_prog; ac_word=$2
1636 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1637 echo "configure:1638: checking for $ac_word" >&5
1638 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
1639 echo $ac_n "(cached) $ac_c" 1>&6
1641 if test -n "$YACC"; then
1642 ac_cv_prog_YACC="$YACC" # Let the user override the test.
1644 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
1645 for ac_dir in $PATH; do
1646 test -z "$ac_dir" && ac_dir=.
1647 if test -f $ac_dir/$ac_word; then
1648 ac_cv_prog_YACC="$ac_prog"
1655 YACC="$ac_cv_prog_YACC"
1656 if test -n "$YACC"; then
1657 echo "$ac_t""$YACC" 1>&6
1659 echo "$ac_t""no" 1>&6
1662 test -n "$YACC" && break
1664 test -n "$YACC" || YACC="yacc"
1666 # ugh, automake: we want (and check for) flex
1668 # urg: automake 1.3: hope this doesn't break 1.2 ac_cv_pro_lex_root hack...
1672 ac_cv_prog_lex_root=lex.yy
1674 for ac_prog in bison
1676 # Extract the first word of "$ac_prog", so it can be a program name with args.
1677 set dummy $ac_prog; ac_word=$2
1678 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1679 echo "configure:1680: checking for $ac_word" >&5
1680 if eval "test \"`echo '$''{'ac_cv_prog_BISON'+set}'`\" = set"; then
1681 echo $ac_n "(cached) $ac_c" 1>&6
1683 if test -n "$BISON"; then
1684 ac_cv_prog_BISON="$BISON" # Let the user override the test.
1686 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
1687 for ac_dir in $PATH; do
1688 test -z "$ac_dir" && ac_dir=.
1689 if test -f $ac_dir/$ac_word; then
1690 ac_cv_prog_BISON="$ac_prog"
1697 BISON="$ac_cv_prog_BISON"
1698 if test -n "$BISON"; then
1699 echo "$ac_t""$BISON" 1>&6
1701 echo "$ac_t""no" 1>&6
1704 test -n "$BISON" && break
1706 test -n "$BISON" || BISON="error"
1710 # Extract the first word of "$ac_prog", so it can be a program name with args.
1711 set dummy $ac_prog; ac_word=$2
1712 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1713 echo "configure:1714: checking for $ac_word" >&5
1714 if eval "test \"`echo '$''{'ac_cv_prog_FLEX'+set}'`\" = set"; then
1715 echo $ac_n "(cached) $ac_c" 1>&6
1717 if test -n "$FLEX"; then
1718 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
1720 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
1721 for ac_dir in $PATH; do
1722 test -z "$ac_dir" && ac_dir=.
1723 if test -f $ac_dir/$ac_word; then
1724 ac_cv_prog_FLEX="$ac_prog"
1731 FLEX="$ac_cv_prog_FLEX"
1732 if test -n "$FLEX"; then
1733 echo "$ac_t""$FLEX" 1>&6
1735 echo "$ac_t""no" 1>&6
1738 test -n "$FLEX" && break
1740 test -n "$FLEX" || FLEX="error"
1743 result="`echo \"$BISON\" | grep echo`"
1744 if test "x$BISON" = "xerror" -o "x$result" != "x"; then
1746 echo "configure: warning: can\'t find bison. Please install Bison" 1>&2
1752 result="`echo \"$FLEX\" | grep echo`"
1753 if test "x$FLEX" = "xerror" -o "x$result" != "x"; then
1755 echo "configure: warning: can\'t find flex. Please install Flex" 1>&2
1761 if test $BISON != "error"; then
1762 bison_version=`$BISON --version| sed 's/^.*version 1.//g' `
1763 if test $bison_version -lt 25; then
1765 echo "configure: warning: Your bison is a bit old (1.$bison_version). You might have to install 1.25" 1>&2
1777 # Extract the first word of "$ac_prog", so it can be a program name with args.
1778 set dummy $ac_prog; ac_word=$2
1779 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1780 echo "configure:1781: checking for $ac_word" >&5
1781 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1782 echo $ac_n "(cached) $ac_c" 1>&6
1784 if test -n "$AR"; then
1785 ac_cv_prog_AR="$AR" # Let the user override the test.
1787 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
1788 for ac_dir in $PATH; do
1789 test -z "$ac_dir" && ac_dir=.
1790 if test -f $ac_dir/$ac_word; then
1791 ac_cv_prog_AR="$ac_prog"
1799 if test -n "$AR"; then
1800 echo "$ac_t""$AR" 1>&6
1802 echo "$ac_t""no" 1>&6
1805 test -n "$AR" && break
1807 test -n "$AR" || AR="error"
1809 # Extract the first word of "ranlib", so it can be a program name with args.
1810 set dummy ranlib; ac_word=$2
1811 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1812 echo "configure:1813: checking for $ac_word" >&5
1813 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1814 echo $ac_n "(cached) $ac_c" 1>&6
1816 if test -n "$RANLIB"; then
1817 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1819 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
1820 for ac_dir in $PATH; do
1821 test -z "$ac_dir" && ac_dir=.
1822 if test -f $ac_dir/$ac_word; then
1823 ac_cv_prog_RANLIB="ranlib"
1828 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
1831 RANLIB="$ac_cv_prog_RANLIB"
1832 if test -n "$RANLIB"; then
1833 echo "$ac_t""$RANLIB" 1>&6
1835 echo "$ac_t""no" 1>&6
1842 # AC_STEPMAKE_LIBTOOL
1848 # Check whether --with-localedir or --without-localedir was given.
1849 if test "${with_localedir+set}" = set; then
1850 withval="$with_localedir"
1851 localedir=$with_localedir
1853 localedir='${prefix}/share/locale'
1857 # Check whether --with-lang or --without-lang was given.
1858 if test "${with_lang+set}" = set; then
1859 withval="$with_lang"
1866 echo $ac_n "checking language""... $ac_c" 1>&6
1867 echo "configure:1868: checking language" >&5
1869 En* | en* | Am* | am* | US* | us*)
1871 NL | nl | Du* | du* | Ned* | ned*)
1878 echo "$ac_t""$lang" 1>&6
1880 if test "$lang" = "unknown" ; then
1882 echo "configure: warning: $language not supported; available are: $ALL_LINGUAS" 1>&2
1889 DIR_LOCALEDIR=${localedir}
1891 if test "$prefix" = "NONE"; then
1892 presome=${ac_default_prefix}
1894 DIR_LOCALEDIR=`echo ${DIR_LOCALEDIR} | sed "s!\\\${prefix}!$presome!"`
1897 cat >> confdefs.h <<EOF
1898 #define DIR_LOCALEDIR "${DIR_LOCALEDIR}"
1902 echo $ac_n "checking for gettext in -lintl""... $ac_c" 1>&6
1903 echo "configure:1904: checking for gettext in -lintl" >&5
1904 ac_lib_var=`echo intl'_'gettext | sed 'y%./+-%__p_%'`
1905 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1906 echo $ac_n "(cached) $ac_c" 1>&6
1908 ac_save_LIBS="$LIBS"
1910 cat > conftest.$ac_ext <<EOF
1911 #line 1912 "configure"
1912 #include "confdefs.h"
1913 /* Override any gcc2 internal prototype to avoid an error. */
1917 /* We use char because int might match the return type of a gcc2
1918 builtin and then its argument prototype would still apply. */
1925 if { (eval echo configure:1926: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
1927 eval "ac_cv_lib_$ac_lib_var=yes"
1929 echo "configure: failed program was:" >&5
1930 cat conftest.$ac_ext >&5
1932 eval "ac_cv_lib_$ac_lib_var=no"
1935 LIBS="$ac_save_LIBS"
1938 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1939 echo "$ac_t""yes" 1>&6
1940 ac_tr_lib=HAVE_LIB`echo intl | sed -e 's/[^a-zA-Z0-9_]/_/g' \
1941 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
1942 cat >> confdefs.h <<EOF
1943 #define $ac_tr_lib 1
1949 echo "$ac_t""no" 1>&6
1952 for ac_func in gettext
1954 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
1955 echo "configure:1956: checking for $ac_func" >&5
1956 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
1957 echo $ac_n "(cached) $ac_c" 1>&6
1959 cat > conftest.$ac_ext <<EOF
1960 #line 1961 "configure"
1961 #include "confdefs.h"
1962 /* System header to define __stub macros and hopefully few prototypes,
1963 which can conflict with char $ac_func(); below. */
1965 /* Override any gcc2 internal prototype to avoid an error. */
1969 /* We use char because int might match the return type of a gcc2
1970 builtin and then its argument prototype would still apply. */
1975 /* The GNU C library defines this for functions which it implements
1976 to always fail with ENOSYS. Some functions are actually named
1977 something starting with __ and the normal name is an alias. */
1978 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
1986 if { (eval echo configure:1987: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
1988 eval "ac_cv_func_$ac_func=yes"
1990 echo "configure: failed program was:" >&5
1991 cat conftest.$ac_ext >&5
1993 eval "ac_cv_func_$ac_func=no"
1998 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
1999 echo "$ac_t""yes" 1>&6
2000 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
2001 cat >> confdefs.h <<EOF
2002 #define $ac_tr_func 1
2006 echo "$ac_t""no" 1>&6
2012 # AC_CHECK_PROGS(MSGFMT, msgfmt, -echo no msgfmt)
2013 for ac_prog in msgfmt
2015 # Extract the first word of "$ac_prog", so it can be a program name with args.
2016 set dummy $ac_prog; ac_word=$2
2017 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2018 echo "configure:2019: checking for $ac_word" >&5
2019 if eval "test \"`echo '$''{'ac_cv_prog_MSGFMT'+set}'`\" = set"; then
2020 echo $ac_n "(cached) $ac_c" 1>&6
2022 if test -n "$MSGFMT"; then
2023 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
2025 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
2026 for ac_dir in $PATH; do
2027 test -z "$ac_dir" && ac_dir=.
2028 if test -f $ac_dir/$ac_word; then
2029 ac_cv_prog_MSGFMT="$ac_prog"
2036 MSGFMT="$ac_cv_prog_MSGFMT"
2037 if test -n "$MSGFMT"; then
2038 echo "$ac_t""$MSGFMT" 1>&6
2040 echo "$ac_t""no" 1>&6
2043 test -n "$MSGFMT" && break
2045 test -n "$MSGFMT" || MSGFMT="\$(SHELL) \$(step-bindir)/fake-msgfmt.sh "
2047 echo $ac_n "checking whether msgfmt accepts -o""... $ac_c" 1>&6
2048 echo "configure:2049: checking whether msgfmt accepts -o" >&5
2049 msgfmt_output="`msgfmt -o bla 2>&1 | grep usage`"
2050 if test "$msgfmt_output" = ""; then
2051 echo "$ac_t""yes" 1>&6
2054 MSGFMT="\$(SHELL) \$(step-bindir)/fake-msgfmt.sh"
2055 echo "$ac_t""no" 1>&6
2057 echo "configure: warning: please install msgfmt from GNU gettext" 1>&2
2061 if test ! -n "$MSGFMT"; then
2063 echo "configure: warning: please install msgfmt from GNU gettext" 1>&2
2069 # urg, never know what names these teTeX guys will think up
2072 # Extract the first word of "$ac_prog", so it can be a program name with args.
2073 set dummy $ac_prog; ac_word=$2
2074 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2075 echo "configure:2076: checking for $ac_word" >&5
2076 if eval "test \"`echo '$''{'ac_cv_prog_METAFONT'+set}'`\" = set"; then
2077 echo $ac_n "(cached) $ac_c" 1>&6
2079 if test -n "$METAFONT"; then
2080 ac_cv_prog_METAFONT="$METAFONT" # Let the user override the test.
2082 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
2083 for ac_dir in $PATH; do
2084 test -z "$ac_dir" && ac_dir=.
2085 if test -f $ac_dir/$ac_word; then
2086 ac_cv_prog_METAFONT="$ac_prog"
2093 METAFONT="$ac_cv_prog_METAFONT"
2094 if test -n "$METAFONT"; then
2095 echo "$ac_t""$METAFONT" 1>&6
2097 echo "$ac_t""no" 1>&6
2100 test -n "$METAFONT" && break
2102 test -n "$METAFONT" || METAFONT="no"
2104 if test "x$METAFONT" = "xno"; then
2105 for ac_prog in mfont
2107 # Extract the first word of "$ac_prog", so it can be a program name with args.
2108 set dummy $ac_prog; ac_word=$2
2109 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2110 echo "configure:2111: checking for $ac_word" >&5
2111 if eval "test \"`echo '$''{'ac_cv_prog_MFONT'+set}'`\" = set"; then
2112 echo $ac_n "(cached) $ac_c" 1>&6
2114 if test -n "$MFONT"; then
2115 ac_cv_prog_MFONT="$MFONT" # Let the user override the test.
2117 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
2118 for ac_dir in $PATH; do
2119 test -z "$ac_dir" && ac_dir=.
2120 if test -f $ac_dir/$ac_word; then
2121 ac_cv_prog_MFONT="$ac_prog"
2128 MFONT="$ac_cv_prog_MFONT"
2129 if test -n "$MFONT"; then
2130 echo "$ac_t""$MFONT" 1>&6
2132 echo "$ac_t""no" 1>&6
2135 test -n "$MFONT" && break
2137 test -n "$MFONT" || MFONT="-echo no mf or mfont"
2144 # Extract the first word of "$ac_prog", so it can be a program name with args.
2145 set dummy $ac_prog; ac_word=$2
2146 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2147 echo "configure:2148: checking for $ac_word" >&5
2148 if eval "test \"`echo '$''{'ac_cv_prog_METAPOST'+set}'`\" = set"; then
2149 echo $ac_n "(cached) $ac_c" 1>&6
2151 if test -n "$METAPOST"; then
2152 ac_cv_prog_METAPOST="$METAPOST" # Let the user override the test.
2154 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
2155 for ac_dir in $PATH; do
2156 test -z "$ac_dir" && ac_dir=.
2157 if test -f $ac_dir/$ac_word; then
2158 ac_cv_prog_METAPOST="$ac_prog"
2165 METAPOST="$ac_cv_prog_METAPOST"
2166 if test -n "$METAPOST"; then
2167 echo "$ac_t""$METAPOST" 1>&6
2169 echo "$ac_t""no" 1>&6
2172 test -n "$METAPOST" && break
2174 test -n "$METAPOST" || METAPOST="no"
2176 if test "x$METAPOST" = "xno"; then
2177 for ac_prog in mpost
2179 # Extract the first word of "$ac_prog", so it can be a program name with args.
2180 set dummy $ac_prog; ac_word=$2
2181 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2182 echo "configure:2183: checking for $ac_word" >&5
2183 if eval "test \"`echo '$''{'ac_cv_prog_MPOST'+set}'`\" = set"; then
2184 echo $ac_n "(cached) $ac_c" 1>&6
2186 if test -n "$MPOST"; then
2187 ac_cv_prog_MPOST="$MPOST" # Let the user override the test.
2189 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
2190 for ac_dir in $PATH; do
2191 test -z "$ac_dir" && ac_dir=.
2192 if test -f $ac_dir/$ac_word; then
2193 ac_cv_prog_MPOST="$ac_prog"
2200 MPOST="$ac_cv_prog_MPOST"
2201 if test -n "$MPOST"; then
2202 echo "$ac_t""$MPOST" 1>&6
2204 echo "$ac_t""no" 1>&6
2207 test -n "$MPOST" && break
2209 test -n "$MPOST" || MPOST="-echo no mp or mpost"
2217 # AC_STEPMAKE_TEXMF_DIRS
2219 if test "x$YODL" = "x"; then
2220 for ac_prog in striproff
2222 # Extract the first word of "$ac_prog", so it can be a program name with args.
2223 set dummy $ac_prog; ac_word=$2
2224 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2225 echo "configure:2226: checking for $ac_word" >&5
2226 if eval "test \"`echo '$''{'ac_cv_prog_STRIPROFF'+set}'`\" = set"; then
2227 echo $ac_n "(cached) $ac_c" 1>&6
2229 if test -n "$STRIPROFF"; then
2230 ac_cv_prog_STRIPROFF="$STRIPROFF" # Let the user override the test.
2232 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
2233 for ac_dir in $PATH; do
2234 test -z "$ac_dir" && ac_dir=.
2235 if test -f $ac_dir/$ac_word; then
2236 ac_cv_prog_STRIPROFF="$ac_prog"
2243 STRIPROFF="$ac_cv_prog_STRIPROFF"
2244 if test -n "$STRIPROFF"; then
2245 echo "$ac_t""$STRIPROFF" 1>&6
2247 echo "$ac_t""no" 1>&6
2250 test -n "$STRIPROFF" && break
2252 test -n "$STRIPROFF" || STRIPROFF="-echo no striproff"
2256 # Extract the first word of "$ac_prog", so it can be a program name with args.
2257 set dummy $ac_prog; ac_word=$2
2258 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2259 echo "configure:2260: checking for $ac_word" >&5
2260 if eval "test \"`echo '$''{'ac_cv_prog_YODL'+set}'`\" = set"; then
2261 echo $ac_n "(cached) $ac_c" 1>&6
2263 if test -n "$YODL"; then
2264 ac_cv_prog_YODL="$YODL" # Let the user override the test.
2266 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
2267 for ac_dir in $PATH; do
2268 test -z "$ac_dir" && ac_dir=.
2269 if test -f $ac_dir/$ac_word; then
2270 ac_cv_prog_YODL="$ac_prog"
2277 YODL="$ac_cv_prog_YODL"
2278 if test -n "$YODL"; then
2279 echo "$ac_t""$YODL" 1>&6
2281 echo "$ac_t""no" 1>&6
2284 test -n "$YODL" && break
2286 test -n "$YODL" || YODL="-echo no yodl"
2288 for ac_prog in yodl2html
2290 # Extract the first word of "$ac_prog", so it can be a program name with args.
2291 set dummy $ac_prog; ac_word=$2
2292 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2293 echo "configure:2294: checking for $ac_word" >&5
2294 if eval "test \"`echo '$''{'ac_cv_prog_YODL2HTML'+set}'`\" = set"; then
2295 echo $ac_n "(cached) $ac_c" 1>&6
2297 if test -n "$YODL2HTML"; then
2298 ac_cv_prog_YODL2HTML="$YODL2HTML" # Let the user override the test.
2300 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
2301 for ac_dir in $PATH; do
2302 test -z "$ac_dir" && ac_dir=.
2303 if test -f $ac_dir/$ac_word; then
2304 ac_cv_prog_YODL2HTML="$ac_prog"
2311 YODL2HTML="$ac_cv_prog_YODL2HTML"
2312 if test -n "$YODL2HTML"; then
2313 echo "$ac_t""$YODL2HTML" 1>&6
2315 echo "$ac_t""no" 1>&6
2318 test -n "$YODL2HTML" && break
2320 test -n "$YODL2HTML" || YODL2HTML="-echo no yodl"
2322 for ac_prog in yodl2latex
2324 # Extract the first word of "$ac_prog", so it can be a program name with args.
2325 set dummy $ac_prog; ac_word=$2
2326 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2327 echo "configure:2328: checking for $ac_word" >&5
2328 if eval "test \"`echo '$''{'ac_cv_prog_YODL2LATEX'+set}'`\" = set"; then
2329 echo $ac_n "(cached) $ac_c" 1>&6
2331 if test -n "$YODL2LATEX"; then
2332 ac_cv_prog_YODL2LATEX="$YODL2LATEX" # Let the user override the test.
2334 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
2335 for ac_dir in $PATH; do
2336 test -z "$ac_dir" && ac_dir=.
2337 if test -f $ac_dir/$ac_word; then
2338 ac_cv_prog_YODL2LATEX="$ac_prog"
2345 YODL2LATEX="$ac_cv_prog_YODL2LATEX"
2346 if test -n "$YODL2LATEX"; then
2347 echo "$ac_t""$YODL2LATEX" 1>&6
2349 echo "$ac_t""no" 1>&6
2352 test -n "$YODL2LATEX" && break
2355 for ac_prog in yodl2man
2357 # Extract the first word of "$ac_prog", so it can be a program name with args.
2358 set dummy $ac_prog; ac_word=$2
2359 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2360 echo "configure:2361: checking for $ac_word" >&5
2361 if eval "test \"`echo '$''{'ac_cv_prog_YODL2MAN'+set}'`\" = set"; then
2362 echo $ac_n "(cached) $ac_c" 1>&6
2364 if test -n "$YODL2MAN"; then
2365 ac_cv_prog_YODL2MAN="$YODL2MAN" # Let the user override the test.
2367 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
2368 for ac_dir in $PATH; do
2369 test -z "$ac_dir" && ac_dir=.
2370 if test -f $ac_dir/$ac_word; then
2371 ac_cv_prog_YODL2MAN="$ac_prog"
2378 YODL2MAN="$ac_cv_prog_YODL2MAN"
2379 if test -n "$YODL2MAN"; then
2380 echo "$ac_t""$YODL2MAN" 1>&6
2382 echo "$ac_t""no" 1>&6
2385 test -n "$YODL2MAN" && break
2387 test -n "$YODL2MAN" || YODL2MAN="-echo no yodl"
2389 for ac_prog in yodl2msless
2391 # Extract the first word of "$ac_prog", so it can be a program name with args.
2392 set dummy $ac_prog; ac_word=$2
2393 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2394 echo "configure:2395: checking for $ac_word" >&5
2395 if eval "test \"`echo '$''{'ac_cv_prog_YODL2MSLESS'+set}'`\" = set"; then
2396 echo $ac_n "(cached) $ac_c" 1>&6
2398 if test -n "$YODL2MSLESS"; then
2399 ac_cv_prog_YODL2MSLESS="$YODL2MSLESS" # Let the user override the test.
2401 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
2402 for ac_dir in $PATH; do
2403 test -z "$ac_dir" && ac_dir=.
2404 if test -f $ac_dir/$ac_word; then
2405 ac_cv_prog_YODL2MSLESS="$ac_prog"
2412 YODL2MSLESS="$ac_cv_prog_YODL2MSLESS"
2413 if test -n "$YODL2MSLESS"; then
2414 echo "$ac_t""$YODL2MSLESS" 1>&6
2416 echo "$ac_t""no" 1>&6
2419 test -n "$YODL2MSLESS" && break
2421 test -n "$YODL2MSLESS" || YODL2MSLESS="-echo no yodl"
2423 for ac_prog in yodl2texinfo
2425 # Extract the first word of "$ac_prog", so it can be a program name with args.
2426 set dummy $ac_prog; ac_word=$2
2427 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2428 echo "configure:2429: checking for $ac_word" >&5
2429 if eval "test \"`echo '$''{'ac_cv_prog_YODL2TEXINFO'+set}'`\" = set"; then
2430 echo $ac_n "(cached) $ac_c" 1>&6
2432 if test -n "$YODL2TEXINFO"; then
2433 ac_cv_prog_YODL2TEXINFO="$YODL2TEXINFO" # Let the user override the test.
2435 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
2436 for ac_dir in $PATH; do
2437 test -z "$ac_dir" && ac_dir=.
2438 if test -f $ac_dir/$ac_word; then
2439 ac_cv_prog_YODL2TEXINFO="$ac_prog"
2446 YODL2TEXINFO="$ac_cv_prog_YODL2TEXINFO"
2447 if test -n "$YODL2TEXINFO"; then
2448 echo "$ac_t""$YODL2TEXINFO" 1>&6
2450 echo "$ac_t""no" 1>&6
2453 test -n "$YODL2TEXINFO" && break
2455 test -n "$YODL2TEXINFO" || YODL2TEXINFO="-echo no yodl"
2457 for ac_prog in yodl2txt
2459 # Extract the first word of "$ac_prog", so it can be a program name with args.
2460 set dummy $ac_prog; ac_word=$2
2461 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2462 echo "configure:2463: checking for $ac_word" >&5
2463 if eval "test \"`echo '$''{'ac_cv_prog_YODL2TXT'+set}'`\" = set"; then
2464 echo $ac_n "(cached) $ac_c" 1>&6
2466 if test -n "$YODL2TXT"; then
2467 ac_cv_prog_YODL2TXT="$YODL2TXT" # Let the user override the test.
2469 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
2470 for ac_dir in $PATH; do
2471 test -z "$ac_dir" && ac_dir=.
2472 if test -f $ac_dir/$ac_word; then
2473 ac_cv_prog_YODL2TXT="$ac_prog"
2480 YODL2TXT="$ac_cv_prog_YODL2TXT"
2481 if test -n "$YODL2TXT"; then
2482 echo "$ac_t""$YODL2TXT" 1>&6
2484 echo "$ac_t""no" 1>&6
2487 test -n "$YODL2TXT" && break
2489 test -n "$YODL2TXT" || YODL2TXT="-echo no yodl"
2491 YODL2LESS_DIR='$(bindir)/'
2502 export STRIPROFF YODL YODL2HTML YODL2LATEX YODL2MAN YODL2MSLESS YODL2TEXINFO YODL2TXT
2504 if test "x$YODL" = "-echo no yodl"; then
2506 echo "configure: warning: Did not find YODL (Yodl is Yet Oneother Document Language, see http://www.cs.uu.nl/~hanwen/yodl)" 1>&2
2512 # on some systems, -lguile succeeds for guile-1.3
2513 # others need readline, dl (or even more)
2514 # urg, must check for different functions in libguile
2515 # to force new check iso reading from cache
2517 # gh_scm2doubles,gh_doubles2scm are new in 1.3
2518 echo $ac_n "checking for gh_scm2doubles in -lguile""... $ac_c" 1>&6
2519 echo "configure:2520: checking for gh_scm2doubles in -lguile" >&5
2520 ac_lib_var=`echo guile'_'gh_scm2doubles | sed 'y%./+-%__p_%'`
2521 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2522 echo $ac_n "(cached) $ac_c" 1>&6
2524 ac_save_LIBS="$LIBS"
2525 LIBS="-lguile $LIBS"
2526 cat > conftest.$ac_ext <<EOF
2527 #line 2528 "configure"
2528 #include "confdefs.h"
2529 /* Override any gcc2 internal prototype to avoid an error. */
2533 /* We use char because int might match the return type of a gcc2
2534 builtin and then its argument prototype would still apply. */
2535 char gh_scm2doubles();
2541 if { (eval echo configure:2542: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
2543 eval "ac_cv_lib_$ac_lib_var=yes"
2545 echo "configure: failed program was:" >&5
2546 cat conftest.$ac_ext >&5
2548 eval "ac_cv_lib_$ac_lib_var=no"
2551 LIBS="$ac_save_LIBS"
2554 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2555 echo "$ac_t""yes" 1>&6
2557 LIBS="-lguile $LIBS"; cat >> confdefs.h <<\EOF
2558 #define HAVE_LIBGUILE 1
2562 echo "$ac_t""no" 1>&6
2564 echo $ac_n "checking for readline in -lreadline""... $ac_c" 1>&6
2565 echo "configure:2566: checking for readline in -lreadline" >&5
2566 ac_lib_var=`echo readline'_'readline | sed 'y%./+-%__p_%'`
2567 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2568 echo $ac_n "(cached) $ac_c" 1>&6
2570 ac_save_LIBS="$LIBS"
2571 LIBS="-lreadline $LIBS"
2572 cat > conftest.$ac_ext <<EOF
2573 #line 2574 "configure"
2574 #include "confdefs.h"
2575 /* Override any gcc2 internal prototype to avoid an error. */
2579 /* We use char because int might match the return type of a gcc2
2580 builtin and then its argument prototype would still apply. */
2587 if { (eval echo configure:2588: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
2589 eval "ac_cv_lib_$ac_lib_var=yes"
2591 echo "configure: failed program was:" >&5
2592 cat conftest.$ac_ext >&5
2594 eval "ac_cv_lib_$ac_lib_var=no"
2597 LIBS="$ac_save_LIBS"
2600 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2601 echo "$ac_t""yes" 1>&6
2602 ac_tr_lib=HAVE_LIB`echo readline | sed -e 's/^a-zA-Z0-9_/_/g' \
2603 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
2604 cat >> confdefs.h <<EOF
2605 #define $ac_tr_lib 1
2608 LIBS="-lreadline $LIBS"
2611 echo "$ac_t""no" 1>&6
2614 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
2615 echo "configure:2616: checking for dlopen in -ldl" >&5
2616 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
2617 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2618 echo $ac_n "(cached) $ac_c" 1>&6
2620 ac_save_LIBS="$LIBS"
2622 cat > conftest.$ac_ext <<EOF
2623 #line 2624 "configure"
2624 #include "confdefs.h"
2625 /* Override any gcc2 internal prototype to avoid an error. */
2629 /* We use char because int might match the return type of a gcc2
2630 builtin and then its argument prototype would still apply. */
2637 if { (eval echo configure:2638: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
2639 eval "ac_cv_lib_$ac_lib_var=yes"
2641 echo "configure: failed program was:" >&5
2642 cat conftest.$ac_ext >&5
2644 eval "ac_cv_lib_$ac_lib_var=no"
2647 LIBS="$ac_save_LIBS"
2650 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2651 echo "$ac_t""yes" 1>&6
2652 ac_tr_lib=HAVE_LIB`echo dl | sed -e 's/^a-zA-Z0-9_/_/g' \
2653 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
2654 cat >> confdefs.h <<EOF
2655 #define $ac_tr_lib 1
2661 echo "$ac_t""no" 1>&6
2664 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
2665 echo "configure:2666: checking for socket in -lsocket" >&5
2666 ac_lib_var=`echo socket'_'socket | sed 'y%./+-%__p_%'`
2667 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2668 echo $ac_n "(cached) $ac_c" 1>&6
2670 ac_save_LIBS="$LIBS"
2671 LIBS="-lsocket $LIBS"
2672 cat > conftest.$ac_ext <<EOF
2673 #line 2674 "configure"
2674 #include "confdefs.h"
2675 /* Override any gcc2 internal prototype to avoid an error. */
2679 /* We use char because int might match the return type of a gcc2
2680 builtin and then its argument prototype would still apply. */
2687 if { (eval echo configure:2688: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
2689 eval "ac_cv_lib_$ac_lib_var=yes"
2691 echo "configure: failed program was:" >&5
2692 cat conftest.$ac_ext >&5
2694 eval "ac_cv_lib_$ac_lib_var=no"
2697 LIBS="$ac_save_LIBS"
2700 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2701 echo "$ac_t""yes" 1>&6
2702 ac_tr_lib=HAVE_LIB`echo socket | sed -e 's/^a-zA-Z0-9_/_/g' \
2703 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
2704 cat >> confdefs.h <<EOF
2705 #define $ac_tr_lib 1
2708 LIBS="-lsocket $LIBS"
2711 echo "$ac_t""no" 1>&6
2714 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6
2715 echo "configure:2716: checking for tgetent in -ltermcap" >&5
2716 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'`
2717 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2718 echo $ac_n "(cached) $ac_c" 1>&6
2720 ac_save_LIBS="$LIBS"
2721 LIBS="-ltermcap $LIBS"
2722 cat > conftest.$ac_ext <<EOF
2723 #line 2724 "configure"
2724 #include "confdefs.h"
2725 /* Override any gcc2 internal prototype to avoid an error. */
2729 /* We use char because int might match the return type of a gcc2
2730 builtin and then its argument prototype would still apply. */
2737 if { (eval echo configure:2738: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
2739 eval "ac_cv_lib_$ac_lib_var=yes"
2741 echo "configure: failed program was:" >&5
2742 cat conftest.$ac_ext >&5
2744 eval "ac_cv_lib_$ac_lib_var=no"
2747 LIBS="$ac_save_LIBS"
2750 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2751 echo "$ac_t""yes" 1>&6
2752 ac_tr_lib=HAVE_LIB`echo termcap | sed -e 's/^a-zA-Z0-9_/_/g' \
2753 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
2754 cat >> confdefs.h <<EOF
2755 #define $ac_tr_lib 1
2758 LIBS="-ltermcap $LIBS"
2761 echo "$ac_t""no" 1>&6
2764 echo $ac_n "checking for fabs in -lm""... $ac_c" 1>&6
2765 echo "configure:2766: checking for fabs in -lm" >&5
2766 ac_lib_var=`echo m'_'fabs | sed 'y%./+-%__p_%'`
2767 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2768 echo $ac_n "(cached) $ac_c" 1>&6
2770 ac_save_LIBS="$LIBS"
2772 cat > conftest.$ac_ext <<EOF
2773 #line 2774 "configure"
2774 #include "confdefs.h"
2775 /* Override any gcc2 internal prototype to avoid an error. */
2779 /* We use char because int might match the return type of a gcc2
2780 builtin and then its argument prototype would still apply. */
2787 if { (eval echo configure:2788: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
2789 eval "ac_cv_lib_$ac_lib_var=yes"
2791 echo "configure: failed program was:" >&5
2792 cat conftest.$ac_ext >&5
2794 eval "ac_cv_lib_$ac_lib_var=no"
2797 LIBS="$ac_save_LIBS"
2800 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2801 echo "$ac_t""yes" 1>&6
2802 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/^a-zA-Z0-9_/_/g' \
2803 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
2804 cat >> confdefs.h <<EOF
2805 #define $ac_tr_lib 1
2811 echo "$ac_t""no" 1>&6
2814 echo $ac_n "checking for gh_doubles2scm in -lguile""... $ac_c" 1>&6
2815 echo "configure:2816: checking for gh_doubles2scm in -lguile" >&5
2816 ac_lib_var=`echo guile'_'gh_doubles2scm | sed 'y%./+-%__p_%'`
2817 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2818 echo $ac_n "(cached) $ac_c" 1>&6
2820 ac_save_LIBS="$LIBS"
2821 LIBS="-lguile $LIBS"
2822 cat > conftest.$ac_ext <<EOF
2823 #line 2824 "configure"
2824 #include "confdefs.h"
2825 /* Override any gcc2 internal prototype to avoid an error. */
2829 /* We use char because int might match the return type of a gcc2
2830 builtin and then its argument prototype would still apply. */
2831 char gh_doubles2scm();
2837 if { (eval echo configure:2838: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
2839 eval "ac_cv_lib_$ac_lib_var=yes"
2841 echo "configure: failed program was:" >&5
2842 cat conftest.$ac_ext >&5
2844 eval "ac_cv_lib_$ac_lib_var=no"
2847 LIBS="$ac_save_LIBS"
2850 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2851 echo "$ac_t""yes" 1>&6
2852 ac_tr_lib=HAVE_LIB`echo guile | sed -e 's/^a-zA-Z0-9_/_/g' \
2853 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
2854 cat >> confdefs.h <<EOF
2855 #define $ac_tr_lib 1
2858 LIBS="-lguile $LIBS"
2861 echo "$ac_t""no" 1>&6
2867 if test "$ac_cv_lib_guile_gh_scm2doubles" != yes -a \
2868 "$ac_cv_lib_guile_gh_doubles2scm" != yes ; then
2870 echo "configure: warning: You should install guile 1.3 or newer" 1>&2
2876 CXXFLAGS="$CXXFLAGS -fhandle-signatures"
2879 echo $ac_n "checking for 8-bit clean memcmp""... $ac_c" 1>&6
2880 echo "configure:2881: checking for 8-bit clean memcmp" >&5
2881 if eval "test \"`echo '$''{'ac_cv_func_memcmp_clean'+set}'`\" = set"; then
2882 echo $ac_n "(cached) $ac_c" 1>&6
2884 if test "$cross_compiling" = yes; then
2885 ac_cv_func_memcmp_clean=no
2887 cat > conftest.$ac_ext <<EOF
2888 #line 2889 "configure"
2889 #include "confdefs.h"
2891 extern "C" void exit(int);
2896 char c0 = 0x40, c1 = 0x80, c2 = 0x81;
2897 exit(memcmp(&c0, &c2, 1) < 0 && memcmp(&c1, &c2, 1) < 0 ? 0 : 1);
2901 if { (eval echo configure:2902: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
2903 ac_cv_func_memcmp_clean=yes
2905 echo "configure: failed program was:" >&5
2906 cat conftest.$ac_ext >&5
2908 ac_cv_func_memcmp_clean=no
2915 echo "$ac_t""$ac_cv_func_memcmp_clean" 1>&6
2916 test $ac_cv_func_memcmp_clean = no && LIBOBJS="$LIBOBJS memcmp.o"
2918 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
2919 echo "configure:2920: checking for vprintf" >&5
2920 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
2921 echo $ac_n "(cached) $ac_c" 1>&6
2923 cat > conftest.$ac_ext <<EOF
2924 #line 2925 "configure"
2925 #include "confdefs.h"
2926 /* System header to define __stub macros and hopefully few prototypes,
2927 which can conflict with char vprintf(); below. */
2929 /* Override any gcc2 internal prototype to avoid an error. */
2933 /* We use char because int might match the return type of a gcc2
2934 builtin and then its argument prototype would still apply. */
2939 /* The GNU C library defines this for functions which it implements
2940 to always fail with ENOSYS. Some functions are actually named
2941 something starting with __ and the normal name is an alias. */
2942 #if defined (__stub_vprintf) || defined (__stub___vprintf)
2950 if { (eval echo configure:2951: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
2952 eval "ac_cv_func_vprintf=yes"
2954 echo "configure: failed program was:" >&5
2955 cat conftest.$ac_ext >&5
2957 eval "ac_cv_func_vprintf=no"
2962 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
2963 echo "$ac_t""yes" 1>&6
2964 cat >> confdefs.h <<\EOF
2965 #define HAVE_VPRINTF 1
2969 echo "$ac_t""no" 1>&6
2972 if test "$ac_cv_func_vprintf" != yes; then
2973 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
2974 echo "configure:2975: checking for _doprnt" >&5
2975 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
2976 echo $ac_n "(cached) $ac_c" 1>&6
2978 cat > conftest.$ac_ext <<EOF
2979 #line 2980 "configure"
2980 #include "confdefs.h"
2981 /* System header to define __stub macros and hopefully few prototypes,
2982 which can conflict with char _doprnt(); below. */
2984 /* Override any gcc2 internal prototype to avoid an error. */
2988 /* We use char because int might match the return type of a gcc2
2989 builtin and then its argument prototype would still apply. */
2994 /* The GNU C library defines this for functions which it implements
2995 to always fail with ENOSYS. Some functions are actually named
2996 something starting with __ and the normal name is an alias. */
2997 #if defined (__stub__doprnt) || defined (__stub____doprnt)
3005 if { (eval echo configure:3006: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
3007 eval "ac_cv_func__doprnt=yes"
3009 echo "configure: failed program was:" >&5
3010 cat conftest.$ac_ext >&5
3012 eval "ac_cv_func__doprnt=no"
3017 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
3018 echo "$ac_t""yes" 1>&6
3019 cat >> confdefs.h <<\EOF
3020 #define HAVE_DOPRNT 1
3024 echo "$ac_t""no" 1>&6
3029 for ac_func in memmem snprintf vsnprintf gettext
3031 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
3032 echo "configure:3033: checking for $ac_func" >&5
3033 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
3034 echo $ac_n "(cached) $ac_c" 1>&6
3036 cat > conftest.$ac_ext <<EOF
3037 #line 3038 "configure"
3038 #include "confdefs.h"
3039 /* System header to define __stub macros and hopefully few prototypes,
3040 which can conflict with char $ac_func(); below. */
3042 /* Override any gcc2 internal prototype to avoid an error. */
3046 /* We use char because int might match the return type of a gcc2
3047 builtin and then its argument prototype would still apply. */
3052 /* The GNU C library defines this for functions which it implements
3053 to always fail with ENOSYS. Some functions are actually named
3054 something starting with __ and the normal name is an alias. */
3055 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3063 if { (eval echo configure:3064: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
3065 eval "ac_cv_func_$ac_func=yes"
3067 echo "configure: failed program was:" >&5
3068 cat conftest.$ac_ext >&5
3070 eval "ac_cv_func_$ac_func=no"
3075 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
3076 echo "$ac_t""yes" 1>&6
3077 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3078 cat >> confdefs.h <<EOF
3079 #define $ac_tr_func 1
3083 echo "$ac_t""no" 1>&6
3088 cat >> confdefs.h <<EOF
3089 #define TOPLEVEL_VERSION "${FULL_VERSION}"
3092 cat >> confdefs.h <<EOF
3093 #define FLOWER_VERSION "${FULL_FLOWER_VERSION}"
3097 for ac_prog in makeinfo
3099 # Extract the first word of "$ac_prog", so it can be a program name with args.
3100 set dummy $ac_prog; ac_word=$2
3101 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3102 echo "configure:3103: checking for $ac_word" >&5
3103 if eval "test \"`echo '$''{'ac_cv_prog_MAKEINFO'+set}'`\" = set"; then
3104 echo $ac_n "(cached) $ac_c" 1>&6
3106 if test -n "$MAKEINFO"; then
3107 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
3109 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
3110 for ac_dir in $PATH; do
3111 test -z "$ac_dir" && ac_dir=.
3112 if test -f $ac_dir/$ac_word; then
3113 ac_cv_prog_MAKEINFO="$ac_prog"
3120 MAKEINFO="$ac_cv_prog_MAKEINFO"
3121 if test -n "$MAKEINFO"; then
3122 echo "$ac_t""$MAKEINFO" 1>&6
3124 echo "$ac_t""no" 1>&6
3127 test -n "$MAKEINFO" && break
3129 test -n "$MAKEINFO" || MAKEINFO="error"
3132 result="`echo \"$YODL2TEXINFO\" | grep echo`"
3133 if test "x$YODL2TEXINFO" = "xerror" -o "x$result" != "x"; then
3135 echo "configure: warning: can\'t find yodl. You should install Yodl 1.30.2 or newer" 1>&2
3143 cat > confcache <<\EOF
3144 # This file is a shell script that caches the results of configure
3145 # tests run on this system so they can be shared between configure
3146 # scripts and configure runs. It is not useful on other systems.
3147 # If it contains results you don't want to keep, you may remove or edit it.
3149 # By default, configure uses ./config.cache as the cache file,
3150 # creating it if it does not exist already. You can give configure
3151 # the --cache-file=FILE option to use a different cache file; that is
3152 # what configure does when it calls configure scripts in
3153 # subdirectories, so they share the cache.
3154 # Giving --cache-file=/dev/null disables caching, for debugging configure.
3155 # config.status only pays attention to the cache file if you give it the
3156 # --recheck option to rerun configure.
3159 # The following way of writing the cache mishandles newlines in values,
3160 # but we know of no workaround that is simple, portable, and efficient.
3161 # So, don't put newlines in cache variables' values.
3162 # Ultrix sh set writes to stderr and can't be redirected directly,
3163 # and sets the high bit in the cache file unless we assign to the vars.
3165 case `(ac_space=' '; set) 2>&1` in
3167 # `set' does not quote correctly, so add quotes (double-quote substitution
3168 # turns \\\\ into \\, and sed turns \\ into \).
3170 -e "s/'/'\\\\''/g" \
3171 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
3174 # `set' quotes correctly as required by POSIX, so do not add quotes.
3175 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
3178 if cmp -s $cache_file confcache; then
3181 if test -w $cache_file; then
3182 echo "updating cache $cache_file"
3183 cat confcache > $cache_file
3185 echo "not updating unwritable cache $cache_file"
3190 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
3192 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3193 # Let make expand exec_prefix.
3194 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3196 # Any assignment to VPATH causes Sun make to only execute
3197 # the first set of double-colon rules, so remove it if not needed.
3198 # If there is a colon in the path, we need to keep it.
3199 if test "x$srcdir" = x.; then
3200 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
3203 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
3205 DEFS=-DHAVE_CONFIG_H
3207 # Without the "./", some shells look in PATH for config.status.
3208 : ${CONFIG_STATUS=./config.status}
3210 echo creating $CONFIG_STATUS
3211 rm -f $CONFIG_STATUS
3212 cat > $CONFIG_STATUS <<EOF
3214 # Generated automatically by configure.
3215 # Run this file to recreate the current configuration.
3216 # This directory was configured as follows,
3217 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
3219 # $0 $ac_configure_args
3221 # Compiler output produced by configure, useful for debugging
3222 # configure, is in ./config.log if it exists.
3224 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
3227 case "\$ac_option" in
3228 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3229 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
3230 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
3231 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
3232 echo "$CONFIG_STATUS generated by autoconf version 2.12"
3234 -help | --help | --hel | --he | --h)
3235 echo "\$ac_cs_usage"; exit 0 ;;
3236 *) echo "\$ac_cs_usage"; exit 1 ;;
3240 ac_given_srcdir=$srcdir
3242 trap 'rm -fr `echo "$CONFIGFILE.make:config.make.in $CONFIGFILE.h:config.hh.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
3244 cat >> $CONFIG_STATUS <<EOF
3246 # Protect against being on the right side of a sed subst in config.status.
3247 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
3248 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
3251 s%@CFLAGS@%$CFLAGS%g
3252 s%@CPPFLAGS@%$CPPFLAGS%g
3253 s%@CXXFLAGS@%$CXXFLAGS%g
3255 s%@LDFLAGS@%$LDFLAGS%g
3257 s%@exec_prefix@%$exec_prefix%g
3258 s%@prefix@%$prefix%g
3259 s%@program_transform_name@%$program_transform_name%g
3260 s%@bindir@%$bindir%g
3261 s%@sbindir@%$sbindir%g
3262 s%@libexecdir@%$libexecdir%g
3263 s%@datadir@%$datadir%g
3264 s%@sysconfdir@%$sysconfdir%g
3265 s%@sharedstatedir@%$sharedstatedir%g
3266 s%@localstatedir@%$localstatedir%g
3267 s%@libdir@%$libdir%g
3268 s%@includedir@%$includedir%g
3269 s%@oldincludedir@%$oldincludedir%g
3270 s%@infodir@%$infodir%g
3271 s%@mandir@%$mandir%g
3272 s%@stepmake@%$stepmake%g
3273 s%@package@%$package%g
3274 s%@PACKAGE@%$PACKAGE%g
3275 s%@PACKAGE_NAME@%$PACKAGE_NAME%g
3276 s%@package_depth@%$package_depth%g
3277 s%@AUTOGENERATE@%$AUTOGENERATE%g
3278 s%@absolute_builddir@%$absolute_builddir%g
3279 s%@STATE_VECTOR@%$STATE_VECTOR%g
3280 s%@CONFIGSUFFIX@%$CONFIGSUFFIX%g
3282 s%@host_alias@%$host_alias%g
3283 s%@host_cpu@%$host_cpu%g
3284 s%@host_vendor@%$host_vendor%g
3285 s%@host_os@%$host_os%g
3290 s%@PYTHON@%$PYTHON%g
3291 s%@DOTEXE@%$DOTEXE%g
3295 s%@INSTALL@%$INSTALL%g
3296 s%@PATHSEP@%$PATHSEP%g
3297 s%@DIRSEP@%$DIRSEP%g
3298 s%@DIR_DATADIR@%$DIR_DATADIR%g
3299 s%@subdirs@%$subdirs%g
3302 s%@ICFLAGS@%$ICFLAGS%g
3303 s%@ILDFLAGS@%$ILDFLAGS%g
3304 s%@DEFINES@%$DEFINES%g
3305 s%@EXTRA_LIBES@%$EXTRA_LIBES%g
3307 s%@CXXCPP@%$CXXCPP%g
3312 s%@RANLIB@%$RANLIB%g
3313 s%@localedir@%$localedir%g
3314 s%@DIR_LOCALEDIR@%$DIR_LOCALEDIR%g
3315 s%@MSGFMT@%$MSGFMT%g
3316 s%@METAFONT@%$METAFONT%g
3318 s%@METAPOST@%$METAPOST%g
3320 s%@STRIPROFF@%$STRIPROFF%g
3322 s%@YODL2HTML@%$YODL2HTML%g
3323 s%@YODL2LATEX@%$YODL2LATEX%g
3324 s%@YODL2MAN@%$YODL2MAN%g
3325 s%@YODL2MSLESS@%$YODL2MSLESS%g
3326 s%@YODL2TEXINFO@%$YODL2TEXINFO%g
3327 s%@YODL2TXT@%$YODL2TXT%g
3328 s%@YODL2LESS_DIR@%$YODL2LESS_DIR%g
3329 s%@LIBOBJS@%$LIBOBJS%g
3330 s%@MAKEINFO@%$MAKEINFO%g
3335 cat >> $CONFIG_STATUS <<\EOF
3337 # Split the substitutions into bite-sized pieces for seds with
3338 # small command number limits, like on Digital OSF/1 and HP-UX.
3339 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
3340 ac_file=1 # Number of current file.
3341 ac_beg=1 # First line for current file.
3342 ac_end=$ac_max_sed_cmds # Line after last line for current file.
3345 while $ac_more_lines; do
3346 if test $ac_beg -gt 1; then
3347 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
3349 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
3351 if test ! -s conftest.s$ac_file; then
3353 rm -f conftest.s$ac_file
3355 if test -z "$ac_sed_cmds"; then
3356 ac_sed_cmds="sed -f conftest.s$ac_file"
3358 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
3360 ac_file=`expr $ac_file + 1`
3362 ac_end=`expr $ac_end + $ac_max_sed_cmds`
3365 if test -z "$ac_sed_cmds"; then
3370 cat >> $CONFIG_STATUS <<EOF
3372 CONFIG_FILES=\${CONFIG_FILES-"$CONFIGFILE.make:config.make.in"}
3374 cat >> $CONFIG_STATUS <<\EOF
3375 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
3376 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3378 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
3379 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
3380 *) ac_file_in="${ac_file}.in" ;;
3383 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
3385 # Remove last slash and all that follows it. Not all systems have dirname.
3386 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
3387 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
3388 # The file is in a subdirectory.
3389 test ! -d "$ac_dir" && mkdir "$ac_dir"
3390 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
3391 # A "../" for each directory in $ac_dir_suffix.
3392 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
3394 ac_dir_suffix= ac_dots=
3397 case "$ac_given_srcdir" in
3399 if test -z "$ac_dots"; then top_srcdir=.
3400 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
3401 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
3403 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
3404 top_srcdir="$ac_dots$ac_given_srcdir" ;;
3408 echo creating "$ac_file"
3410 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
3412 *Makefile*) ac_comsub="1i\\
3413 # $configure_input" ;;
3417 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
3419 s%@configure_input@%$configure_input%g
3420 s%@srcdir@%$srcdir%g
3421 s%@top_srcdir@%$top_srcdir%g
3422 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
3426 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
3427 # NAME is the cpp macro being defined and VALUE is the value it is being given.
3429 # ac_d sets the value in "#define NAME VALUE" lines.
3430 ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
3431 ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
3434 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
3435 ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
3436 ac_uB='\([ ]\)%\1#\2define\3'
3439 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
3440 ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
3441 ac_eB='$%\1#\2define\3'
3445 if test "${CONFIG_HEADERS+set}" != set; then
3447 cat >> $CONFIG_STATUS <<EOF
3448 CONFIG_HEADERS="$CONFIGFILE.h:config.hh.in"
3450 cat >> $CONFIG_STATUS <<\EOF
3452 for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
3453 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3455 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
3456 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
3457 *) ac_file_in="${ac_file}.in" ;;
3460 echo creating $ac_file
3462 rm -f conftest.frag conftest.in conftest.out
3463 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
3464 cat $ac_file_inputs > conftest.in
3468 # Transform confdefs.h into a sed script conftest.vals that substitutes
3469 # the proper values into config.h.in to produce config.h. And first:
3470 # Protect against being on the right side of a sed subst in config.status.
3471 # Protect against being in an unquoted here document in config.status.
3473 cat > conftest.hdr <<\EOF
3476 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
3480 sed -n -f conftest.hdr confdefs.h > conftest.vals
3483 # This sed command replaces #undef with comments. This is necessary, for
3484 # example, in the case of _POSIX_SOURCE, which is predefined and required
3485 # on some systems where configure will not decide to define it.
3486 cat >> conftest.vals <<\EOF
3487 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
3490 # Break up conftest.vals because some shells have a limit on
3491 # the size of here documents, and old seds have small limits too.
3496 ac_lines=`grep -c . conftest.vals`
3497 # grep -c gives empty output for an empty file on some AIX systems.
3498 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
3499 # Write a limited-size here document to conftest.frag.
3500 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
3501 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
3503 sed -f conftest.frag conftest.in > conftest.out
3505 mv conftest.out conftest.in
3507 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
3509 mv conftest.tail conftest.vals
3513 cat >> $CONFIG_STATUS <<\EOF
3514 rm -f conftest.frag conftest.h
3515 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
3516 cat conftest.in >> conftest.h
3518 if cmp -s $ac_file conftest.h 2>/dev/null; then
3519 echo "$ac_file is unchanged"
3522 # Remove last slash and all that follows it. Not all systems have dirname.
3523 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
3524 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
3525 # The file is in a subdirectory.
3526 test ! -d "$ac_dir" && mkdir "$ac_dir"
3529 mv conftest.h $ac_file
3534 cat >> $CONFIG_STATUS <<EOF
3537 cat >> $CONFIG_STATUS <<\EOF
3541 chmod +x $CONFIG_STATUS
3542 rm -fr confdefs* $ac_clean_files
3543 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
3545 if test "$no_recursion" != yes; then
3547 # Remove --cache-file and --srcdir arguments so they do not pile up.
3548 ac_sub_configure_args=
3550 for ac_arg in $ac_configure_args; do
3551 if test -n "$ac_prev"; then
3556 -cache-file | --cache-file | --cache-fil | --cache-fi \
3557 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
3558 ac_prev=cache_file ;;
3559 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
3560 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
3562 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
3564 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
3566 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
3570 for ac_config_dir in stepmake; do
3572 # Do not complain, so a configure script can configure whichever
3573 # parts of a large source tree are present.
3574 if test ! -d $srcdir/$ac_config_dir; then
3578 echo configuring in $ac_config_dir
3583 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
3585 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
3593 # A "../" for each directory in /$ac_config_dir.
3594 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
3597 .) # No --srcdir option. We are building in place.
3598 ac_sub_srcdir=$srcdir ;;
3599 /*) # Absolute path.
3600 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
3602 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
3605 # Check for guested configure; otherwise get Cygnus style configure.
3606 if test -f $ac_sub_srcdir/configure; then
3607 ac_sub_configure=$ac_sub_srcdir/configure
3608 elif test -f $ac_sub_srcdir/configure.in; then
3609 ac_sub_configure=$ac_configure
3611 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
3615 # The recursion is here.
3616 if test -n "$ac_sub_configure"; then
3618 # Make the cache file name correct relative to the subdirectory.
3619 case "$cache_file" in
3620 /*) ac_sub_cache_file=$cache_file ;;
3622 ac_sub_cache_file="$ac_dots$cache_file" ;;
3625 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
3626 # The eval makes quoting arguments work.
3627 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
3630 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }
3640 cp make/toplevel.make.in ./GNUmakefile
3641 chmod 444 GNUmakefile