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)
60 # Guess values for system-dependent variables and create Makefiles.
61 # Generated automatically using autoconf version 2.13
62 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
64 # This configure script is free software; the Free Software Foundation
65 # gives unlimited permission to copy, distribute and modify it.
69 ac_default_prefix=/usr/local
70 # Any additions from configure.in:
72 enable-config=FILE put configure settings in config-FILE.make"
74 enable-checking set runtime checks (assert calls). Default: on"
76 enable-optimise use maximal speed optimisations. Default: off"
78 enable-profiling compile with gprof support. Default: off"
80 enable-debugging set debug info. Default: on"
82 enable-mingw-prefix=DIR set the mingw32 directory (standalone windows32 exes)"
84 enable-printing turn on debug printing. Default: off"
86 with-localedir=LOCALE use LOCALE as locale dir. Default: PREFIX/share/locale "
88 with-lang=LANG use LANG as language to emit messages"
90 # Initialize some variables set by options.
91 # The variables have the same names as the options, with
92 # dashes changed to underlines.
94 cache_file=./config.cache
103 program_transform_name=s,x,x,
111 bindir='${exec_prefix}/bin'
112 sbindir='${exec_prefix}/sbin'
113 libexecdir='${exec_prefix}/libexec'
114 datadir='${prefix}/share'
115 sysconfdir='${prefix}/etc'
116 sharedstatedir='${prefix}/com'
117 localstatedir='${prefix}/var'
118 libdir='${exec_prefix}/lib'
119 includedir='${prefix}/include'
120 oldincludedir='/usr/include'
121 infodir='${prefix}/info'
122 mandir='${prefix}/man'
124 # Initialize some other variables.
127 SHELL=${CONFIG_SHELL-/bin/sh}
128 # Maximum number of lines to put in a shell here document.
135 # If the previous option needs an argument, assign it.
136 if test -n "$ac_prev"; then
137 eval "$ac_prev=\$ac_option"
143 -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
147 # Accept the important Cygnus configure options, so we can diagnose typos.
151 -bindir | --bindir | --bindi | --bind | --bin | --bi)
153 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
154 bindir="$ac_optarg" ;;
156 -build | --build | --buil | --bui | --bu)
158 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
159 build="$ac_optarg" ;;
161 -cache-file | --cache-file | --cache-fil | --cache-fi \
162 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
163 ac_prev=cache_file ;;
164 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
165 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
166 cache_file="$ac_optarg" ;;
168 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
170 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
172 datadir="$ac_optarg" ;;
174 -disable-* | --disable-*)
175 ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
176 # Reject names that are not valid shell variable names.
177 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
178 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
180 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
181 eval "enable_${ac_feature}=no" ;;
183 -enable-* | --enable-*)
184 ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
185 # Reject names that are not valid shell variable names.
186 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
187 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
189 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
194 eval "enable_${ac_feature}='$ac_optarg'" ;;
196 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
197 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
198 | --exec | --exe | --ex)
199 ac_prev=exec_prefix ;;
200 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
201 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
202 | --exec=* | --exe=* | --ex=*)
203 exec_prefix="$ac_optarg" ;;
205 -gas | --gas | --ga | --g)
206 # Obsolete; use --with-gas.
209 -help | --help | --hel | --he)
210 # Omit some internal or obsolete options to make the list less imposing.
211 # This message is too long to be a string in the A/UX 3.1 sh.
213 Usage: configure [options] [host]
214 Options: [defaults in brackets after descriptions]
216 --cache-file=FILE cache test results in FILE
217 --help print this message
218 --no-create do not create output files
219 --quiet, --silent do not print \`checking...' messages
220 --version print the version of autoconf that created configure
221 Directory and file names:
222 --prefix=PREFIX install architecture-independent files in PREFIX
224 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
226 --bindir=DIR user executables in DIR [EPREFIX/bin]
227 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
228 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
229 --datadir=DIR read-only architecture-independent data in DIR
231 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
232 --sharedstatedir=DIR modifiable architecture-independent data in DIR
234 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
235 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
236 --includedir=DIR C header files in DIR [PREFIX/include]
237 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
238 --infodir=DIR info documentation in DIR [PREFIX/info]
239 --mandir=DIR man documentation in DIR [PREFIX/man]
240 --srcdir=DIR find the sources in DIR [configure dir or ..]
241 --program-prefix=PREFIX prepend PREFIX to installed program names
242 --program-suffix=SUFFIX append SUFFIX to installed program names
243 --program-transform-name=PROGRAM
244 run sed PROGRAM on installed program names
248 --build=BUILD configure for building on BUILD [BUILD=HOST]
249 --host=HOST configure for HOST [guessed]
250 --target=TARGET configure for TARGET [TARGET=HOST]
251 Features and packages:
252 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
253 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
254 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
255 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
256 --x-includes=DIR X include files are in DIR
257 --x-libraries=DIR X library files are in DIR
259 if test -n "$ac_help"; then
260 echo "--enable and --with options recognized:$ac_help"
264 -host | --host | --hos | --ho)
266 -host=* | --host=* | --hos=* | --ho=*)
269 -includedir | --includedir | --includedi | --included | --include \
270 | --includ | --inclu | --incl | --inc)
271 ac_prev=includedir ;;
272 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
273 | --includ=* | --inclu=* | --incl=* | --inc=*)
274 includedir="$ac_optarg" ;;
276 -infodir | --infodir | --infodi | --infod | --info | --inf)
278 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
279 infodir="$ac_optarg" ;;
281 -libdir | --libdir | --libdi | --libd)
283 -libdir=* | --libdir=* | --libdi=* | --libd=*)
284 libdir="$ac_optarg" ;;
286 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
287 | --libexe | --libex | --libe)
288 ac_prev=libexecdir ;;
289 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
290 | --libexe=* | --libex=* | --libe=*)
291 libexecdir="$ac_optarg" ;;
293 -localstatedir | --localstatedir | --localstatedi | --localstated \
294 | --localstate | --localstat | --localsta | --localst \
295 | --locals | --local | --loca | --loc | --lo)
296 ac_prev=localstatedir ;;
297 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
298 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
299 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
300 localstatedir="$ac_optarg" ;;
302 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
304 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
305 mandir="$ac_optarg" ;;
308 # Obsolete; use --without-fp.
311 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
315 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
316 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
319 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
320 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
321 | --oldin | --oldi | --old | --ol | --o)
322 ac_prev=oldincludedir ;;
323 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
324 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
325 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
326 oldincludedir="$ac_optarg" ;;
328 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
330 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
331 prefix="$ac_optarg" ;;
333 -program-prefix | --program-prefix | --program-prefi | --program-pref \
334 | --program-pre | --program-pr | --program-p)
335 ac_prev=program_prefix ;;
336 -program-prefix=* | --program-prefix=* | --program-prefi=* \
337 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
338 program_prefix="$ac_optarg" ;;
340 -program-suffix | --program-suffix | --program-suffi | --program-suff \
341 | --program-suf | --program-su | --program-s)
342 ac_prev=program_suffix ;;
343 -program-suffix=* | --program-suffix=* | --program-suffi=* \
344 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
345 program_suffix="$ac_optarg" ;;
347 -program-transform-name | --program-transform-name \
348 | --program-transform-nam | --program-transform-na \
349 | --program-transform-n | --program-transform- \
350 | --program-transform | --program-transfor \
351 | --program-transfo | --program-transf \
352 | --program-trans | --program-tran \
353 | --progr-tra | --program-tr | --program-t)
354 ac_prev=program_transform_name ;;
355 -program-transform-name=* | --program-transform-name=* \
356 | --program-transform-nam=* | --program-transform-na=* \
357 | --program-transform-n=* | --program-transform-=* \
358 | --program-transform=* | --program-transfor=* \
359 | --program-transfo=* | --program-transf=* \
360 | --program-trans=* | --program-tran=* \
361 | --progr-tra=* | --program-tr=* | --program-t=*)
362 program_transform_name="$ac_optarg" ;;
364 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
365 | -silent | --silent | --silen | --sile | --sil)
368 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
370 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
372 sbindir="$ac_optarg" ;;
374 -sharedstatedir | --sharedstatedir | --sharedstatedi \
375 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
376 | --sharedst | --shareds | --shared | --share | --shar \
378 ac_prev=sharedstatedir ;;
379 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
380 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
381 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
383 sharedstatedir="$ac_optarg" ;;
385 -site | --site | --sit)
387 -site=* | --site=* | --sit=*)
390 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
392 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
393 srcdir="$ac_optarg" ;;
395 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
396 | --syscon | --sysco | --sysc | --sys | --sy)
397 ac_prev=sysconfdir ;;
398 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
399 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
400 sysconfdir="$ac_optarg" ;;
402 -target | --target | --targe | --targ | --tar | --ta | --t)
404 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
405 target="$ac_optarg" ;;
407 -v | -verbose | --verbose | --verbos | --verbo | --verb)
410 -version | --version | --versio | --versi | --vers)
411 echo "configure generated by autoconf version 2.13"
415 ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
416 # Reject names that are not valid shell variable names.
417 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
418 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
420 ac_package=`echo $ac_package| sed 's/-/_/g'`
425 eval "with_${ac_package}='$ac_optarg'" ;;
427 -without-* | --without-*)
428 ac_package=`echo $ac_option|sed -e 's/-*without-//'`
429 # Reject names that are not valid shell variable names.
430 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
431 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
433 ac_package=`echo $ac_package| sed 's/-/_/g'`
434 eval "with_${ac_package}=no" ;;
437 # Obsolete; use --with-x.
440 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
441 | --x-incl | --x-inc | --x-in | --x-i)
442 ac_prev=x_includes ;;
443 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
444 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
445 x_includes="$ac_optarg" ;;
447 -x-libraries | --x-libraries | --x-librarie | --x-librari \
448 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
449 ac_prev=x_libraries ;;
450 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
451 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
452 x_libraries="$ac_optarg" ;;
454 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
458 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
459 echo "configure: warning: $ac_option: invalid host type" 1>&2
461 if test "x$nonopt" != xNONE; then
462 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
470 if test -n "$ac_prev"; then
471 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
474 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
476 # File descriptor usage:
479 # 2 errors and warnings
480 # 3 some systems may open it to /dev/tty
481 # 4 used on the Kubota Titan
482 # 6 checking for... messages and results
483 # 5 compiler messages saved in config.log
484 if test "$silent" = yes; then
492 This file contains any messages produced by compilers while
493 running configure, to aid debugging if configure makes a mistake.
496 # Strip out --no-create and --no-recursion so they do not pile up.
497 # Also quote any args containing shell metacharacters.
502 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
503 | --no-cr | --no-c) ;;
504 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
505 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
506 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
507 ac_configure_args="$ac_configure_args '$ac_arg'" ;;
508 *) ac_configure_args="$ac_configure_args $ac_arg" ;;
513 # Only set these to C if already set. These must not be set unconditionally
514 # because not all systems understand e.g. LANG=C (notably SCO).
515 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
516 # Non-C LC_CTYPE values break the ctype check.
517 if test "${LANG+set}" = set; then LANG=C; export LANG; fi
518 if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
519 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
520 if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
522 # confdefs.h avoids OS command line length limits that DEFS can exceed.
523 rm -rf conftest* confdefs.h
524 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
527 # A filename unique to this package, relative to the directory that
528 # configure is in, which we can look for to find out if srcdir is correct.
529 ac_unique_file=make/lilypond.lsm.in
531 # Find the source files, if location was not specified.
532 if test -z "$srcdir"; then
533 ac_srcdir_defaulted=yes
534 # Try the directory containing this script, then its parent.
536 ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
537 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
539 if test ! -r $srcdir/$ac_unique_file; then
543 ac_srcdir_defaulted=no
545 if test ! -r $srcdir/$ac_unique_file; then
546 if test "$ac_srcdir_defaulted" = yes; then
547 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
549 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
552 srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
554 # Prefer explicitly selected file to automatically selected ones.
555 if test -z "$CONFIG_SITE"; then
556 if test "x$prefix" != xNONE; then
557 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
559 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
562 for ac_site_file in $CONFIG_SITE; do
563 if test -r "$ac_site_file"; then
564 echo "loading site script $ac_site_file"
569 if test -r "$cache_file"; then
570 echo "loading cache $cache_file"
573 echo "creating cache $cache_file"
578 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
579 ac_cpp='$CPP $CPPFLAGS'
580 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
581 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
582 cross_compiling=$ac_cv_prog_cc_cross
586 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
587 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
588 if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
595 ac_n= ac_c='\c' ac_t=
601 # Bootstrap StepMake configure
605 FULL_VERSION=$MAJOR_VERSION.$MINOR_VERSION.$PATCH_LEVEL
606 if test x$MY_PATCH_LEVEL != x; then
607 FULL_VERSION=$FULL_VERSION.$MY_PATCH_LEVEL
610 # urg: don't "fix" this: irix doesn't know about [:lower:] and [:upper:]
611 PACKAGE=`echo $PACKAGE_NAME | tr '[a-z]' '[A-Z]'`
612 package=`echo $PACKAGE_NAME | tr '[A-Z]' '[a-z]'`
614 # No versioning on directory names of sub-packages
616 stepmake=${datadir}/stepmake
618 if test "$prefix" = "NONE"; then
619 presome=${ac_default_prefix}
621 stepmake=`echo ${stepmake} | sed "s!\\\${prefix}!$presome!"`
623 if test "x$PACKAGE" = "xSTEPMAKE"; then
624 echo Stepmake package!
625 (cd stepmake; rm -f stepmake; ln -s ../stepmake .)
626 (cd stepmake; rm -f bin; ln -s ../bin .)
628 for ac_dir in bin $srcdir/bin; do
629 if test -f $ac_dir/install-sh; then
631 ac_install_sh="$ac_aux_dir/install-sh -c"
633 elif test -f $ac_dir/install.sh; then
635 ac_install_sh="$ac_aux_dir/install.sh -c"
639 if test -z "$ac_aux_dir"; then
640 { echo "configure: error: can not find install-sh or install.sh in bin $srcdir/bin" 1>&2; exit 1; }
642 ac_config_guess=$ac_aux_dir/config.guess
643 ac_config_sub=$ac_aux_dir/config.sub
644 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
648 echo Package: $PACKAGE
649 # Check for installed stepmake
650 if test -d $stepmake; then
651 echo Using installed stepmake: $stepmake
653 stepmake='$(depth)'/stepmake
654 echo Using local stepmake: $datadir/stepmake not found
658 $HOME/usr/local/share/stepmake/bin\
659 $HOME/usr/local/lib/stepmake/bin\
660 $HOME/usr/share/stepmake/bin\
661 $HOME/usr/lib/stepmake/bin\
662 /usr/local/share/stepmake/bin\
663 /usr/local/lib/stepmake/bin\
664 /usr/share/stepmake/bin\
665 /usr/lib/stepmake/bin\
668 $HOME/usr/local/share/stepmake/bin\
669 $HOME/usr/local/lib/stepmake/bin\
670 $HOME/usr/share/stepmake/bin\
671 $HOME/usr/lib/stepmake/bin\
672 /usr/local/share/stepmake/bin\
673 /usr/local/lib/stepmake/bin\
674 /usr/share/stepmake/bin\
675 /usr/lib/stepmake/bin\
678 if test -f $ac_dir/install-sh; then
680 ac_install_sh="$ac_aux_dir/install-sh -c"
682 elif test -f $ac_dir/install.sh; then
684 ac_install_sh="$ac_aux_dir/install.sh -c"
688 if test -z "$ac_aux_dir"; then
689 { echo "configure: error: can not find install-sh or install.sh in \
690 $HOME/usr/local/share/stepmake/bin\
691 $HOME/usr/local/lib/stepmake/bin\
692 $HOME/usr/share/stepmake/bin\
693 $HOME/usr/lib/stepmake/bin\
694 /usr/local/share/stepmake/bin\
695 /usr/local/lib/stepmake/bin\
696 /usr/share/stepmake/bin\
697 /usr/lib/stepmake/bin\
700 $HOME/usr/local/share/stepmake/bin\
701 $HOME/usr/local/lib/stepmake/bin\
702 $HOME/usr/share/stepmake/bin\
703 $HOME/usr/lib/stepmake/bin\
704 /usr/local/share/stepmake/bin\
705 /usr/local/lib/stepmake/bin\
706 /usr/share/stepmake/bin\
707 /usr/lib/stepmake/bin\
711 ac_config_guess=$ac_aux_dir/config.guess
712 ac_config_sub=$ac_aux_dir/config.sub
713 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
721 cat >> confdefs.h <<EOF
722 #define PACKAGE "${PACKAGE_NAME}"
725 cat >> confdefs.h <<EOF
726 #define TOPLEVEL_VERSION "${FULL_VERSION}"
730 if test "$package_depth" = "" ; then
733 package_depth="../$package_depth"
738 AUTOGENERATE="This file was automatically generated by configure"
740 absolute_builddir="`pwd`"
743 STATE_VECTOR=`ls make/STATE-VECTOR 2>/dev/null`
744 if test "x$STATE_VECTOR" != "x"; then
745 STATE_VECTOR="\$(depth)/$STATE_VECTOR"
750 # Check whether --enable-config or --disable-config was given.
751 if test "${enable_config+set}" = set; then
752 enableval="$enable_config"
753 CONFIGSUFFIX=$enableval
757 if test "$CONFIGSUFFIX" != "" ; then
758 CONFIGFILE=config-$CONFIGSUFFIX
765 # Make sure we can run config.sub.
766 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
767 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
770 echo $ac_n "checking host system type""... $ac_c" 1>&6
771 echo "configure:772: checking host system type" >&5
774 case "$host_alias" in
778 if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
779 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
781 *) host_alias=$nonopt ;;
785 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
786 host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
787 host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
788 host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
789 echo "$ac_t""$host" 1>&6
791 for ac_prog in gmake make
793 # Extract the first word of "$ac_prog", so it can be a program name with args.
794 set dummy $ac_prog; ac_word=$2
795 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
796 echo "configure:797: checking for $ac_word" >&5
797 if eval "test \"`echo '$''{'ac_cv_prog_MAKE'+set}'`\" = set"; then
798 echo $ac_n "(cached) $ac_c" 1>&6
800 if test -n "$MAKE"; then
801 ac_cv_prog_MAKE="$MAKE" # Let the user override the test.
803 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
805 for ac_dir in $ac_dummy; do
806 test -z "$ac_dir" && ac_dir=.
807 if test -f $ac_dir/$ac_word; then
808 ac_cv_prog_MAKE="$ac_prog"
815 MAKE="$ac_cv_prog_MAKE"
816 if test -n "$MAKE"; then
817 echo "$ac_t""$MAKE" 1>&6
819 echo "$ac_t""no" 1>&6
822 test -n "$MAKE" && break
824 test -n "$MAKE" || MAKE="error"
828 # Extract the first word of "$ac_prog", so it can be a program name with args.
829 set dummy $ac_prog; ac_word=$2
830 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
831 echo "configure:832: checking for $ac_word" >&5
832 if eval "test \"`echo '$''{'ac_cv_prog_FIND'+set}'`\" = set"; then
833 echo $ac_n "(cached) $ac_c" 1>&6
835 if test -n "$FIND"; then
836 ac_cv_prog_FIND="$FIND" # Let the user override the test.
838 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
840 for ac_dir in $ac_dummy; do
841 test -z "$ac_dir" && ac_dir=.
842 if test -f $ac_dir/$ac_word; then
843 ac_cv_prog_FIND="$ac_prog"
850 FIND="$ac_cv_prog_FIND"
851 if test -n "$FIND"; then
852 echo "$ac_t""$FIND" 1>&6
854 echo "$ac_t""no" 1>&6
857 test -n "$FIND" && break
859 test -n "$FIND" || FIND="error"
865 # Extract the first word of "$ac_prog", so it can be a program name with args.
866 set dummy $ac_prog; ac_word=$2
867 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
868 echo "configure:869: checking for $ac_word" >&5
869 if eval "test \"`echo '$''{'ac_cv_prog_TAR'+set}'`\" = set"; then
870 echo $ac_n "(cached) $ac_c" 1>&6
872 if test -n "$TAR"; then
873 ac_cv_prog_TAR="$TAR" # Let the user override the test.
875 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
877 for ac_dir in $ac_dummy; do
878 test -z "$ac_dir" && ac_dir=.
879 if test -f $ac_dir/$ac_word; then
880 ac_cv_prog_TAR="$ac_prog"
887 TAR="$ac_cv_prog_TAR"
888 if test -n "$TAR"; then
889 echo "$ac_t""$TAR" 1>&6
891 echo "$ac_t""no" 1>&6
894 test -n "$TAR" && break
896 test -n "$TAR" || TAR="error"
899 if test "x`uname`" = "xHP-UX"; then
901 echo "configure: warning: avoiding buggy /bin/sh" 1>&2
906 # Extract the first word of "$ac_prog", so it can be a program name with args.
907 set dummy $ac_prog; ac_word=$2
908 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
909 echo "configure:910: checking for $ac_word" >&5
910 if eval "test \"`echo '$''{'ac_cv_prog_SHELL'+set}'`\" = set"; then
911 echo $ac_n "(cached) $ac_c" 1>&6
913 if test -n "$SHELL"; then
914 ac_cv_prog_SHELL="$SHELL" # Let the user override the test.
916 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
918 for ac_dir in $ac_dummy; do
919 test -z "$ac_dir" && ac_dir=.
920 if test -f $ac_dir/$ac_word; then
921 ac_cv_prog_SHELL="$ac_prog"
928 SHELL="$ac_cv_prog_SHELL"
929 if test -n "$SHELL"; then
930 echo "$ac_t""$SHELL" 1>&6
932 echo "$ac_t""no" 1>&6
935 test -n "$SHELL" && break
937 test -n "$SHELL" || SHELL="/bin/ksh"
946 # Extract the first word of "$ac_prog", so it can be a program name with args.
947 set dummy $ac_prog; ac_word=$2
948 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
949 echo "configure:950: checking for $ac_word" >&5
950 if eval "test \"`echo '$''{'ac_cv_prog_BASH'+set}'`\" = set"; then
951 echo $ac_n "(cached) $ac_c" 1>&6
953 if test -n "$BASH"; then
954 ac_cv_prog_BASH="$BASH" # Let the user override the test.
956 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
958 for ac_dir in $ac_dummy; do
959 test -z "$ac_dir" && ac_dir=.
960 if test -f $ac_dir/$ac_word; then
961 ac_cv_prog_BASH="$ac_prog"
968 BASH="$ac_cv_prog_BASH"
969 if test -n "$BASH"; then
970 echo "$ac_t""$BASH" 1>&6
972 echo "$ac_t""no" 1>&6
975 test -n "$BASH" && break
977 test -n "$BASH" || BASH="/bin/sh"
980 # Extract the first word of "${PYTHON:-python}", so it can be a program name with args.
981 set dummy ${PYTHON:-python}; ac_word=$2
982 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
983 echo "configure:984: checking for $ac_word" >&5
984 if eval "test \"`echo '$''{'ac_cv_path_PYTHON'+set}'`\" = set"; then
985 echo $ac_n "(cached) $ac_c" 1>&6
989 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
992 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a dos path.
995 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
997 for ac_dir in $ac_dummy; do
998 test -z "$ac_dir" && ac_dir=.
999 if test -f $ac_dir/$ac_word; then
1000 ac_cv_path_PYTHON="$ac_dir/$ac_word"
1005 test -z "$ac_cv_path_PYTHON" && ac_cv_path_PYTHON="-echo no python"
1009 PYTHON="$ac_cv_path_PYTHON"
1010 if test -n "$PYTHON"; then
1011 echo "$ac_t""$PYTHON" 1>&6
1013 echo "$ac_t""no" 1>&6
1018 if test $MAKE != "error" ; then
1019 $MAKE -v 2> /dev/null | grep GNU > /dev/null
1023 echo "configure: warning: Please install *GNU* make" 1>&2
1030 result="`echo \"$PYTHON\" | grep echo`"
1031 if test "x$PYTHON" = "xerror" -o "x$result" != "x"; then
1033 echo "configure: warning: can\'t find python. You should install Python" 1>&2
1039 if test "x$OSTYPE" = "xcygwin32" || test "x$OSTYPE" = "xWindows_NT"; then
1040 LN=cp # hard link does not work under cygnus-nt
1041 LN_S='cp -r' # symbolic link does not work for native nt
1048 # cygwin fixes all these things.
1049 # it seems these were used because of dos-style TEXINPUTS and
1050 # MFINPUTS needed for miktex.
1051 # but this breaks parsing of all other cygwin/unix style paths.
1053 # if your (mik)tex breaks, make a:
1054 # /usr/local/bin/tex:
1056 # TEXINPUTS=`cygpath -pw $TEXINPUTS` /texmf/miktex/bin/tex
1060 # /usr/local/bin/mf:
1062 # MFINPUTS=`cygpath -pw $MFINPUTS` /texmf/miktex/bin/mf
1064 # this way, you may have buildscripts/out/lilypond-profile
1065 # 'automatically' sourced from /usr/etc/profile.d/ too.
1069 INSTALL="\$(SHELL) \$(stepdir)/../bin/install-dot-exe.sh -c"
1076 INSTALL="\$(SHELL) \$(stepdir)/../bin/install-sh -c"
1083 cat >> confdefs.h <<EOF
1084 #define DIRSEP '${DIRSEP}'
1087 cat >> confdefs.h <<EOF
1088 #define PATHSEP '${PATHSEP}'
1096 if test "$datadir" = "\${prefix}/share"; then
1097 datadir='${prefix}/share/'$package
1099 DIR_DATADIR=${datadir}
1101 if test "$prefix" = "NONE"; then
1102 presome=${ac_default_prefix}
1104 DIR_DATADIR=`echo ${DIR_DATADIR} | sed "s!\\\${prefix}!$presome!"`
1107 cat >> confdefs.h <<EOF
1108 #define DIR_DATADIR "${DIR_DATADIR}"
1114 # For all packages except the StepMake package itself
1118 # Uncomment the configuration options your package needs.
1120 # -O is necessary to get inlining
1122 CXXFLAGS=${CXXFLAGS:-""}
1123 CFLAGS=${CFLAGS:-""}
1129 # Check whether --enable-checking or --disable-checking was given.
1130 if test "${enable_checking+set}" = set; then
1131 enableval="$enable_checking"
1132 checking_b=$enableval
1136 # actually, the default is: tja='-O' to get inlining...
1139 #actually, that sucks.
1140 # tja looks like a typo. Default is optimisation off. --hwn
1142 # Check whether --enable-optimise or --disable-optimise was given.
1143 if test "${enable_optimise+set}" = set; then
1144 enableval="$enable_optimise"
1145 optimise_b=$enableval
1149 # Check whether --enable-profiling or --disable-profiling was given.
1150 if test "${enable_profiling+set}" = set; then
1151 enableval="$enable_profiling"
1152 profile_b=$enableval
1156 # Check whether --enable-debugging or --disable-debugging was given.
1157 if test "${enable_debugging+set}" = set; then
1158 enableval="$enable_debugging"
1163 # Check whether --enable-mingw-prefix or --disable-mingw-prefix was given.
1164 if test "${enable_mingw_prefix+set}" = set; then
1165 enableval="$enable_mingw_prefix"
1166 MINGWPREFIX=$enableval
1172 if test "$printing_b" = no; then
1174 cat >> confdefs.h <<\EOF
1178 DEFINES="$DEFINES -DNPRINT"
1181 if test "$checking_b" = no; then
1183 cat >> confdefs.h <<\EOF
1187 DEFINES="$DEFINES -DNDEBUG"
1190 if test "$optimise_b" = yes; then
1191 OPTIMIZE="-O2 -finline-functions"
1194 if test "$optimise_b" = no; then
1198 if test $profile_b = yes; then
1200 OPTIMIZE="$OPTIMIZE -pg"
1203 if test $debug_b = yes; then
1204 OPTIMIZE="$OPTIMIZE -g"
1207 # however, C++ support in mingw32 v 0.1.4 is still flaky
1208 if test x$MINGWPREFIX != xno; then
1209 ICFLAGS="-I$MINGWPREFIX/include"
1210 ILDFLAGS="-$MINGWPREFIX/lib"
1213 # Extract the first word of "gcc", so it can be a program name with args.
1214 set dummy gcc; ac_word=$2
1215 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1216 echo "configure:1217: checking for $ac_word" >&5
1217 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1218 echo $ac_n "(cached) $ac_c" 1>&6
1220 if test -n "$CC"; then
1221 ac_cv_prog_CC="$CC" # Let the user override the test.
1223 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1225 for ac_dir in $ac_dummy; do
1226 test -z "$ac_dir" && ac_dir=.
1227 if test -f $ac_dir/$ac_word; then
1236 if test -n "$CC"; then
1237 echo "$ac_t""$CC" 1>&6
1239 echo "$ac_t""no" 1>&6
1242 if test -z "$CC"; then
1243 # Extract the first word of "cc", so it can be a program name with args.
1244 set dummy cc; ac_word=$2
1245 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1246 echo "configure:1247: checking for $ac_word" >&5
1247 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1248 echo $ac_n "(cached) $ac_c" 1>&6
1250 if test -n "$CC"; then
1251 ac_cv_prog_CC="$CC" # Let the user override the test.
1253 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1256 for ac_dir in $ac_dummy; do
1257 test -z "$ac_dir" && ac_dir=.
1258 if test -f $ac_dir/$ac_word; then
1259 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1260 ac_prog_rejected=yes
1268 if test $ac_prog_rejected = yes; then
1269 # We found a bogon in the path, so make sure we never use it.
1270 set dummy $ac_cv_prog_CC
1272 if test $# -gt 0; then
1273 # We chose a different compiler from the bogus one.
1274 # However, it has the same basename, so the bogon will be chosen
1275 # first if we set CC to just the basename; use the full file name.
1277 set dummy "$ac_dir/$ac_word" "$@"
1285 if test -n "$CC"; then
1286 echo "$ac_t""$CC" 1>&6
1288 echo "$ac_t""no" 1>&6
1291 if test -z "$CC"; then
1292 case "`uname -s`" in
1294 # Extract the first word of "cl", so it can be a program name with args.
1295 set dummy cl; ac_word=$2
1296 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1297 echo "configure:1298: checking for $ac_word" >&5
1298 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1299 echo $ac_n "(cached) $ac_c" 1>&6
1301 if test -n "$CC"; then
1302 ac_cv_prog_CC="$CC" # Let the user override the test.
1304 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1306 for ac_dir in $ac_dummy; do
1307 test -z "$ac_dir" && ac_dir=.
1308 if test -f $ac_dir/$ac_word; then
1317 if test -n "$CC"; then
1318 echo "$ac_t""$CC" 1>&6
1320 echo "$ac_t""no" 1>&6
1325 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1328 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
1329 echo "configure:1330: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
1332 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1333 ac_cpp='$CPP $CPPFLAGS'
1334 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1335 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1336 cross_compiling=$ac_cv_prog_cc_cross
1338 cat > conftest.$ac_ext << EOF
1340 #line 1341 "configure"
1341 #include "confdefs.h"
1345 if { (eval echo configure:1346: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1346 ac_cv_prog_cc_works=yes
1347 # If we can't run a trivial program, we are probably using a cross compiler.
1348 if (./conftest; exit) 2>/dev/null; then
1349 ac_cv_prog_cc_cross=no
1351 ac_cv_prog_cc_cross=yes
1354 echo "configure: failed program was:" >&5
1355 cat conftest.$ac_ext >&5
1356 ac_cv_prog_cc_works=no
1360 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1361 ac_cpp='$CPP $CPPFLAGS'
1362 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1363 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1364 cross_compiling=$ac_cv_prog_cc_cross
1366 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
1367 if test $ac_cv_prog_cc_works = no; then
1368 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
1370 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
1371 echo "configure:1372: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
1372 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
1373 cross_compiling=$ac_cv_prog_cc_cross
1375 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1376 echo "configure:1377: checking whether we are using GNU C" >&5
1377 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1378 echo $ac_n "(cached) $ac_c" 1>&6
1380 cat > conftest.c <<EOF
1385 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1386: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1392 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1394 if test $ac_cv_prog_gcc = yes; then
1400 ac_test_CFLAGS="${CFLAGS+set}"
1401 ac_save_CFLAGS="$CFLAGS"
1403 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1404 echo "configure:1405: checking whether ${CC-cc} accepts -g" >&5
1405 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1406 echo $ac_n "(cached) $ac_c" 1>&6
1408 echo 'void f(){}' > conftest.c
1409 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1418 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1419 if test "$ac_test_CFLAGS" = set; then
1420 CFLAGS="$ac_save_CFLAGS"
1421 elif test $ac_cv_prog_cc_g = yes; then
1422 if test "$GCC" = yes; then
1428 if test "$GCC" = yes; then
1438 CFLAGS="$CFLAGS $OPTIMIZE"
1439 CPPFLAGS=${CPPFLAGS:-""}
1448 # AC_HAVE_HEADERS(limits.h malloc.h string.h unistd.h values.h)
1451 # Check whether --enable-printing or --disable-printing was given.
1452 if test "${enable_printing+set}" = set; then
1453 enableval="$enable_printing"
1454 printing_b=$enableval
1458 if test "$optimise_b" = yes; then
1459 DEFINES="$DEFINES -DSTRING_UTILS_INLINED"
1460 cat >> confdefs.h <<\EOF
1461 #define STRINGS_UTILS_INLINED 1
1466 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
1467 echo "configure:1468: checking how to run the C++ preprocessor" >&5
1468 if test -z "$CXXCPP"; then
1469 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
1470 echo $ac_n "(cached) $ac_c" 1>&6
1473 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1474 ac_cpp='$CXXCPP $CPPFLAGS'
1475 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1476 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1477 cross_compiling=$ac_cv_prog_cxx_cross
1478 CXXCPP="${CXX-g++} -E"
1479 cat > conftest.$ac_ext <<EOF
1480 #line 1481 "configure"
1481 #include "confdefs.h"
1484 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1485 { (eval echo configure:1486: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1486 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1487 if test -z "$ac_err"; then
1491 echo "configure: failed program was:" >&5
1492 cat conftest.$ac_ext >&5
1497 ac_cv_prog_CXXCPP="$CXXCPP"
1499 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1500 ac_cpp='$CXXCPP $CPPFLAGS'
1501 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1502 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1503 cross_compiling=$ac_cv_prog_cxx_cross
1506 CXXCPP="$ac_cv_prog_CXXCPP"
1507 echo "$ac_t""$CXXCPP" 1>&6
1511 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1512 ac_cpp='$CXXCPP $CPPFLAGS'
1513 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1514 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1515 cross_compiling=$ac_cv_prog_cxx_cross
1517 for ac_prog in $CCC c++ g++ gcc CC cxx cc++ cl
1519 # Extract the first word of "$ac_prog", so it can be a program name with args.
1520 set dummy $ac_prog; ac_word=$2
1521 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1522 echo "configure:1523: checking for $ac_word" >&5
1523 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
1524 echo $ac_n "(cached) $ac_c" 1>&6
1526 if test -n "$CXX"; then
1527 ac_cv_prog_CXX="$CXX" # Let the user override the test.
1529 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1531 for ac_dir in $ac_dummy; do
1532 test -z "$ac_dir" && ac_dir=.
1533 if test -f $ac_dir/$ac_word; then
1534 ac_cv_prog_CXX="$ac_prog"
1541 CXX="$ac_cv_prog_CXX"
1542 if test -n "$CXX"; then
1543 echo "$ac_t""$CXX" 1>&6
1545 echo "$ac_t""no" 1>&6
1548 test -n "$CXX" && break
1550 test -n "$CXX" || CXX="gcc"
1553 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
1554 echo "configure:1555: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
1557 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1558 ac_cpp='$CXXCPP $CPPFLAGS'
1559 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1560 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1561 cross_compiling=$ac_cv_prog_cxx_cross
1563 cat > conftest.$ac_ext << EOF
1565 #line 1566 "configure"
1566 #include "confdefs.h"
1568 int main(){return(0);}
1570 if { (eval echo configure:1571: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1571 ac_cv_prog_cxx_works=yes
1572 # If we can't run a trivial program, we are probably using a cross compiler.
1573 if (./conftest; exit) 2>/dev/null; then
1574 ac_cv_prog_cxx_cross=no
1576 ac_cv_prog_cxx_cross=yes
1579 echo "configure: failed program was:" >&5
1580 cat conftest.$ac_ext >&5
1581 ac_cv_prog_cxx_works=no
1585 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1586 ac_cpp='$CXXCPP $CPPFLAGS'
1587 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1588 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1589 cross_compiling=$ac_cv_prog_cxx_cross
1591 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
1592 if test $ac_cv_prog_cxx_works = no; then
1593 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
1595 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
1596 echo "configure:1597: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
1597 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
1598 cross_compiling=$ac_cv_prog_cxx_cross
1600 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
1601 echo "configure:1602: checking whether we are using GNU C++" >&5
1602 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
1603 echo $ac_n "(cached) $ac_c" 1>&6
1605 cat > conftest.C <<EOF
1610 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1611: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1617 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
1619 if test $ac_cv_prog_gxx = yes; then
1625 ac_test_CXXFLAGS="${CXXFLAGS+set}"
1626 ac_save_CXXFLAGS="$CXXFLAGS"
1628 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
1629 echo "configure:1630: checking whether ${CXX-g++} accepts -g" >&5
1630 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
1631 echo $ac_n "(cached) $ac_c" 1>&6
1633 echo 'void f(){}' > conftest.cc
1634 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
1635 ac_cv_prog_cxx_g=yes
1643 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
1644 if test "$ac_test_CXXFLAGS" = set; then
1645 CXXFLAGS="$ac_save_CXXFLAGS"
1646 elif test $ac_cv_prog_cxx_g = yes; then
1647 if test "$GXX" = yes; then
1653 if test "$GXX" = yes; then
1661 ac_safe=`echo "FlexLexer.h" | sed 'y%./+-%__p_%'`
1662 echo $ac_n "checking for FlexLexer.h""... $ac_c" 1>&6
1663 echo "configure:1664: checking for FlexLexer.h" >&5
1664 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1665 echo $ac_n "(cached) $ac_c" 1>&6
1667 cat > conftest.$ac_ext <<EOF
1668 #line 1669 "configure"
1669 #include "confdefs.h"
1670 #include <FlexLexer.h>
1672 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1673 { (eval echo configure:1674: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1674 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1675 if test -z "$ac_err"; then
1677 eval "ac_cv_header_$ac_safe=yes"
1680 echo "configure: failed program was:" >&5
1681 cat conftest.$ac_ext >&5
1683 eval "ac_cv_header_$ac_safe=no"
1687 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
1688 echo "$ac_t""yes" 1>&6
1691 echo "$ac_t""no" 1>&6
1693 echo "configure: warning: can"\'"t find flex header. Please install Flex headers correctly" 1>&2
1699 CPPFLAGS="$CPPFLAGS $DEFINES"
1700 CXXFLAGS="$CXXFLAGS $OPTIMIZE"
1701 LDFLAGS=$EXTRA_LIBES
1710 # urg, egcs: how to check for egcs >= 1.1?
1711 if $CXX --version | grep '2\.8' > /dev/null ||
1712 $CXX --version | grep 'egcs' > /dev/null
1717 echo "configure: warning: can\'t find g++ 2.8 or egcs 1.1" 1>&2
1723 echo $ac_n "checking whether explicit instantiation is needed""... $ac_c" 1>&6
1724 echo "configure:1725: checking whether explicit instantiation is needed" >&5
1725 if eval "test \"`echo '$''{'lily_cv_need_explicit_instantiation'+set}'`\" = set"; then
1726 echo $ac_n "(cached) $ac_c" 1>&6
1728 cat > conftest.$ac_ext <<EOF
1729 #line 1730 "configure"
1730 #include "confdefs.h"
1732 template <class T> struct foo { static int baz; };
1733 template <class T> int foo<T>::baz = 1;
1736 return foo<int>::baz;
1739 if { (eval echo configure:1740: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1741 lily_cv_need_explicit_instantiation=no
1743 echo "configure: failed program was:" >&5
1744 cat conftest.$ac_ext >&5
1746 lily_cv_need_explicit_instantiation=yes
1751 echo "$ac_t""$lily_cv_need_explicit_instantiation" 1>&6
1752 if test x"$lily_cv_need_explicit_instantiation"x = x"yes"x; then
1753 cat >> confdefs.h <<\EOF
1754 #define NEED_EXPLICIT_INSTANTIATION 1
1760 # ugh, automake: we want (and check for) bison
1761 for ac_prog in 'bison -y' byacc
1763 # Extract the first word of "$ac_prog", so it can be a program name with args.
1764 set dummy $ac_prog; ac_word=$2
1765 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1766 echo "configure:1767: checking for $ac_word" >&5
1767 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
1768 echo $ac_n "(cached) $ac_c" 1>&6
1770 if test -n "$YACC"; then
1771 ac_cv_prog_YACC="$YACC" # Let the user override the test.
1773 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1775 for ac_dir in $ac_dummy; do
1776 test -z "$ac_dir" && ac_dir=.
1777 if test -f $ac_dir/$ac_word; then
1778 ac_cv_prog_YACC="$ac_prog"
1785 YACC="$ac_cv_prog_YACC"
1786 if test -n "$YACC"; then
1787 echo "$ac_t""$YACC" 1>&6
1789 echo "$ac_t""no" 1>&6
1792 test -n "$YACC" && break
1794 test -n "$YACC" || YACC="yacc"
1796 # ugh, automake: we want (and check for) flex
1798 # urg: automake 1.3: hope this doesn't break 1.2 ac_cv_pro_lex_root hack...
1802 ac_cv_prog_lex_root=lex.yy
1804 for ac_prog in bison
1806 # Extract the first word of "$ac_prog", so it can be a program name with args.
1807 set dummy $ac_prog; ac_word=$2
1808 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1809 echo "configure:1810: checking for $ac_word" >&5
1810 if eval "test \"`echo '$''{'ac_cv_prog_BISON'+set}'`\" = set"; then
1811 echo $ac_n "(cached) $ac_c" 1>&6
1813 if test -n "$BISON"; then
1814 ac_cv_prog_BISON="$BISON" # Let the user override the test.
1816 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1818 for ac_dir in $ac_dummy; do
1819 test -z "$ac_dir" && ac_dir=.
1820 if test -f $ac_dir/$ac_word; then
1821 ac_cv_prog_BISON="$ac_prog"
1828 BISON="$ac_cv_prog_BISON"
1829 if test -n "$BISON"; then
1830 echo "$ac_t""$BISON" 1>&6
1832 echo "$ac_t""no" 1>&6
1835 test -n "$BISON" && break
1837 test -n "$BISON" || BISON="error"
1841 # Extract the first word of "$ac_prog", so it can be a program name with args.
1842 set dummy $ac_prog; ac_word=$2
1843 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1844 echo "configure:1845: checking for $ac_word" >&5
1845 if eval "test \"`echo '$''{'ac_cv_prog_FLEX'+set}'`\" = set"; then
1846 echo $ac_n "(cached) $ac_c" 1>&6
1848 if test -n "$FLEX"; then
1849 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
1851 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1853 for ac_dir in $ac_dummy; do
1854 test -z "$ac_dir" && ac_dir=.
1855 if test -f $ac_dir/$ac_word; then
1856 ac_cv_prog_FLEX="$ac_prog"
1863 FLEX="$ac_cv_prog_FLEX"
1864 if test -n "$FLEX"; then
1865 echo "$ac_t""$FLEX" 1>&6
1867 echo "$ac_t""no" 1>&6
1870 test -n "$FLEX" && break
1872 test -n "$FLEX" || FLEX="error"
1875 result="`echo \"$BISON\" | grep echo`"
1876 if test "x$BISON" = "xerror" -o "x$result" != "x"; then
1878 echo "configure: warning: can\'t find bison. Please install Bison" 1>&2
1884 result="`echo \"$FLEX\" | grep echo`"
1885 if test "x$FLEX" = "xerror" -o "x$result" != "x"; then
1887 echo "configure: warning: can\'t find flex. Please install Flex" 1>&2
1893 if test $BISON != "error"; then
1894 bison_version=`$BISON --version | sed 's/^.*version 1.//g'`
1895 if test `echo $bison_version | sed 's/\..*$//g'` -lt 25; then
1897 echo "configure: warning: Your bison is a bit old (1.$bison_version). You might have to install 1.25" 1>&2
1909 # Extract the first word of "$ac_prog", so it can be a program name with args.
1910 set dummy $ac_prog; ac_word=$2
1911 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1912 echo "configure:1913: checking for $ac_word" >&5
1913 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1914 echo $ac_n "(cached) $ac_c" 1>&6
1916 if test -n "$AR"; then
1917 ac_cv_prog_AR="$AR" # Let the user override the test.
1919 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1921 for ac_dir in $ac_dummy; do
1922 test -z "$ac_dir" && ac_dir=.
1923 if test -f $ac_dir/$ac_word; then
1924 ac_cv_prog_AR="$ac_prog"
1932 if test -n "$AR"; then
1933 echo "$ac_t""$AR" 1>&6
1935 echo "$ac_t""no" 1>&6
1938 test -n "$AR" && break
1940 test -n "$AR" || AR="error"
1942 # Extract the first word of "ranlib", so it can be a program name with args.
1943 set dummy ranlib; ac_word=$2
1944 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1945 echo "configure:1946: checking for $ac_word" >&5
1946 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1947 echo $ac_n "(cached) $ac_c" 1>&6
1949 if test -n "$RANLIB"; then
1950 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1952 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1954 for ac_dir in $ac_dummy; do
1955 test -z "$ac_dir" && ac_dir=.
1956 if test -f $ac_dir/$ac_word; then
1957 ac_cv_prog_RANLIB="ranlib"
1962 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
1965 RANLIB="$ac_cv_prog_RANLIB"
1966 if test -n "$RANLIB"; then
1967 echo "$ac_t""$RANLIB" 1>&6
1969 echo "$ac_t""no" 1>&6
1976 # AC_STEPMAKE_LIBTOOL
1982 # Check whether --with-localedir or --without-localedir was given.
1983 if test "${with_localedir+set}" = set; then
1984 withval="$with_localedir"
1985 localedir=$with_localedir
1987 localedir='${prefix}/share/locale'
1991 # Check whether --with-lang or --without-lang was given.
1992 if test "${with_lang+set}" = set; then
1993 withval="$with_lang"
2000 echo $ac_n "checking language""... $ac_c" 1>&6
2001 echo "configure:2002: checking language" >&5
2003 En* | en* | Am* | am* | US* | us*)
2005 NL | nl | Du* | du* | Ned* | ned*)
2012 echo "$ac_t""$lang" 1>&6
2014 if test "$lang" = "unknown" ; then
2016 echo "configure: warning: $language not supported; available are: $ALL_LINGUAS" 1>&2
2023 DIR_LOCALEDIR=${localedir}
2025 if test "$prefix" = "NONE"; then
2026 presome=${ac_default_prefix}
2028 DIR_LOCALEDIR=`echo ${DIR_LOCALEDIR} | sed "s!\\\${prefix}!$presome!"`
2031 cat >> confdefs.h <<EOF
2032 #define DIR_LOCALEDIR "${DIR_LOCALEDIR}"
2036 echo $ac_n "checking for gettext in -lintl""... $ac_c" 1>&6
2037 echo "configure:2038: checking for gettext in -lintl" >&5
2038 ac_lib_var=`echo intl'_'gettext | sed 'y%./+-%__p_%'`
2039 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2040 echo $ac_n "(cached) $ac_c" 1>&6
2042 ac_save_LIBS="$LIBS"
2044 cat > conftest.$ac_ext <<EOF
2045 #line 2046 "configure"
2046 #include "confdefs.h"
2047 /* Override any gcc2 internal prototype to avoid an error. */
2051 /* We use char because int might match the return type of a gcc2
2052 builtin and then its argument prototype would still apply. */
2059 if { (eval echo configure:2060: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2061 eval "ac_cv_lib_$ac_lib_var=yes"
2063 echo "configure: failed program was:" >&5
2064 cat conftest.$ac_ext >&5
2066 eval "ac_cv_lib_$ac_lib_var=no"
2069 LIBS="$ac_save_LIBS"
2072 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2073 echo "$ac_t""yes" 1>&6
2074 ac_tr_lib=HAVE_LIB`echo intl | sed -e 's/[^a-zA-Z0-9_]/_/g' \
2075 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
2076 cat >> confdefs.h <<EOF
2077 #define $ac_tr_lib 1
2083 echo "$ac_t""no" 1>&6
2086 for ac_func in gettext
2088 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
2089 echo "configure:2090: checking for $ac_func" >&5
2090 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
2091 echo $ac_n "(cached) $ac_c" 1>&6
2093 cat > conftest.$ac_ext <<EOF
2094 #line 2095 "configure"
2095 #include "confdefs.h"
2096 /* System header to define __stub macros and hopefully few prototypes,
2097 which can conflict with char $ac_func(); below. */
2099 /* Override any gcc2 internal prototype to avoid an error. */
2103 /* We use char because int might match the return type of a gcc2
2104 builtin and then its argument prototype would still apply. */
2109 /* The GNU C library defines this for functions which it implements
2110 to always fail with ENOSYS. Some functions are actually named
2111 something starting with __ and the normal name is an alias. */
2112 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
2120 if { (eval echo configure:2121: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2122 eval "ac_cv_func_$ac_func=yes"
2124 echo "configure: failed program was:" >&5
2125 cat conftest.$ac_ext >&5
2127 eval "ac_cv_func_$ac_func=no"
2132 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
2133 echo "$ac_t""yes" 1>&6
2134 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
2135 cat >> confdefs.h <<EOF
2136 #define $ac_tr_func 1
2140 echo "$ac_t""no" 1>&6
2146 # AC_CHECK_PROGS(MSGFMT, msgfmt, -echo no msgfmt)
2147 for ac_prog in msgfmt
2149 # Extract the first word of "$ac_prog", so it can be a program name with args.
2150 set dummy $ac_prog; ac_word=$2
2151 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2152 echo "configure:2153: checking for $ac_word" >&5
2153 if eval "test \"`echo '$''{'ac_cv_prog_MSGFMT'+set}'`\" = set"; then
2154 echo $ac_n "(cached) $ac_c" 1>&6
2156 if test -n "$MSGFMT"; then
2157 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
2159 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2161 for ac_dir in $ac_dummy; do
2162 test -z "$ac_dir" && ac_dir=.
2163 if test -f $ac_dir/$ac_word; then
2164 ac_cv_prog_MSGFMT="$ac_prog"
2171 MSGFMT="$ac_cv_prog_MSGFMT"
2172 if test -n "$MSGFMT"; then
2173 echo "$ac_t""$MSGFMT" 1>&6
2175 echo "$ac_t""no" 1>&6
2178 test -n "$MSGFMT" && break
2180 test -n "$MSGFMT" || MSGFMT="\$(SHELL) \$(step-bindir)/fake-msgfmt.sh "
2182 echo $ac_n "checking whether msgfmt accepts -o""... $ac_c" 1>&6
2183 echo "configure:2184: checking whether msgfmt accepts -o" >&5
2184 msgfmt_output="`msgfmt -o bla 2>&1 | grep usage`"
2185 if test "$msgfmt_output" = ""; then
2186 echo "$ac_t""yes" 1>&6
2189 MSGFMT="\$(SHELL) \$(step-bindir)/fake-msgfmt.sh"
2190 echo "$ac_t""no" 1>&6
2192 echo "configure: warning: please install msgfmt from GNU gettext" 1>&2
2196 if test ! -n "$MSGFMT"; then
2198 echo "configure: warning: please install msgfmt from GNU gettext" 1>&2
2204 # urg, never know what names these teTeX guys will think up
2208 # Extract the first word of "$ac_prog", so it can be a program name with args.
2209 set dummy $ac_prog; ac_word=$2
2210 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2211 echo "configure:2212: checking for $ac_word" >&5
2212 if eval "test \"`echo '$''{'ac_cv_prog_METAFONT'+set}'`\" = set"; then
2213 echo $ac_n "(cached) $ac_c" 1>&6
2215 if test -n "$METAFONT"; then
2216 ac_cv_prog_METAFONT="$METAFONT" # Let the user override the test.
2218 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2220 for ac_dir in $ac_dummy; do
2221 test -z "$ac_dir" && ac_dir=.
2222 if test -f $ac_dir/$ac_word; then
2223 ac_cv_prog_METAFONT="$ac_prog"
2230 METAFONT="$ac_cv_prog_METAFONT"
2231 if test -n "$METAFONT"; then
2232 echo "$ac_t""$METAFONT" 1>&6
2234 echo "$ac_t""no" 1>&6
2237 test -n "$METAFONT" && break
2239 test -n "$METAFONT" || METAFONT="no"
2241 if test "x$METAFONT" = "xno"; then
2242 for ac_prog in mfont
2244 # Extract the first word of "$ac_prog", so it can be a program name with args.
2245 set dummy $ac_prog; ac_word=$2
2246 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2247 echo "configure:2248: checking for $ac_word" >&5
2248 if eval "test \"`echo '$''{'ac_cv_prog_MFONT'+set}'`\" = set"; then
2249 echo $ac_n "(cached) $ac_c" 1>&6
2251 if test -n "$MFONT"; then
2252 ac_cv_prog_MFONT="$MFONT" # Let the user override the test.
2254 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2256 for ac_dir in $ac_dummy; do
2257 test -z "$ac_dir" && ac_dir=.
2258 if test -f $ac_dir/$ac_word; then
2259 ac_cv_prog_MFONT="$ac_prog"
2266 MFONT="$ac_cv_prog_MFONT"
2267 if test -n "$MFONT"; then
2268 echo "$ac_t""$MFONT" 1>&6
2270 echo "$ac_t""no" 1>&6
2273 test -n "$MFONT" && break
2275 test -n "$MFONT" || MFONT="-echo no mf or mfont"
2282 # Extract the first word of "$ac_prog", so it can be a program name with args.
2283 set dummy $ac_prog; ac_word=$2
2284 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2285 echo "configure:2286: checking for $ac_word" >&5
2286 if eval "test \"`echo '$''{'ac_cv_prog_METAPOST'+set}'`\" = set"; then
2287 echo $ac_n "(cached) $ac_c" 1>&6
2289 if test -n "$METAPOST"; then
2290 ac_cv_prog_METAPOST="$METAPOST" # Let the user override the test.
2292 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2294 for ac_dir in $ac_dummy; do
2295 test -z "$ac_dir" && ac_dir=.
2296 if test -f $ac_dir/$ac_word; then
2297 ac_cv_prog_METAPOST="$ac_prog"
2304 METAPOST="$ac_cv_prog_METAPOST"
2305 if test -n "$METAPOST"; then
2306 echo "$ac_t""$METAPOST" 1>&6
2308 echo "$ac_t""no" 1>&6
2311 test -n "$METAPOST" && break
2313 test -n "$METAPOST" || METAPOST="no"
2315 if test "x$METAPOST" = "xno"; then
2316 for ac_prog in mpost
2318 # Extract the first word of "$ac_prog", so it can be a program name with args.
2319 set dummy $ac_prog; ac_word=$2
2320 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2321 echo "configure:2322: checking for $ac_word" >&5
2322 if eval "test \"`echo '$''{'ac_cv_prog_MPOST'+set}'`\" = set"; then
2323 echo $ac_n "(cached) $ac_c" 1>&6
2325 if test -n "$MPOST"; then
2326 ac_cv_prog_MPOST="$MPOST" # Let the user override the test.
2328 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2330 for ac_dir in $ac_dummy; do
2331 test -z "$ac_dir" && ac_dir=.
2332 if test -f $ac_dir/$ac_word; then
2333 ac_cv_prog_MPOST="$ac_prog"
2340 MPOST="$ac_cv_prog_MPOST"
2341 if test -n "$MPOST"; then
2342 echo "$ac_t""$MPOST" 1>&6
2344 echo "$ac_t""no" 1>&6
2347 test -n "$MPOST" && break
2349 test -n "$MPOST" || MPOST="-echo no mp or mpost"
2354 for ac_prog in inimf
2356 # Extract the first word of "$ac_prog", so it can be a program name with args.
2357 set dummy $ac_prog; ac_word=$2
2358 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2359 echo "configure:2360: checking for $ac_word" >&5
2360 if eval "test \"`echo '$''{'ac_cv_prog_INIMETAFONT'+set}'`\" = set"; then
2361 echo $ac_n "(cached) $ac_c" 1>&6
2363 if test -n "$INIMETAFONT"; then
2364 ac_cv_prog_INIMETAFONT="$INIMETAFONT" # Let the user override the test.
2366 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2368 for ac_dir in $ac_dummy; do
2369 test -z "$ac_dir" && ac_dir=.
2370 if test -f $ac_dir/$ac_word; then
2371 ac_cv_prog_INIMETAFONT="$ac_prog"
2378 INIMETAFONT="$ac_cv_prog_INIMETAFONT"
2379 if test -n "$INIMETAFONT"; then
2380 echo "$ac_t""$INIMETAFONT" 1>&6
2382 echo "$ac_t""no" 1>&6
2385 test -n "$INIMETAFONT" && break
2387 test -n "$INIMETAFONT" || INIMETAFONT="no"
2389 if test "x$INIMETAFONT" = "xno"; then
2390 for ac_prog in inimfont
2392 # Extract the first word of "$ac_prog", so it can be a program name with args.
2393 set dummy $ac_prog; ac_word=$2
2394 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2395 echo "configure:2396: checking for $ac_word" >&5
2396 if eval "test \"`echo '$''{'ac_cv_prog_INIMFONT'+set}'`\" = set"; then
2397 echo $ac_n "(cached) $ac_c" 1>&6
2399 if test -n "$INIMFONT"; then
2400 ac_cv_prog_INIMFONT="$INIMFONT" # Let the user override the test.
2402 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2404 for ac_dir in $ac_dummy; do
2405 test -z "$ac_dir" && ac_dir=.
2406 if test -f $ac_dir/$ac_word; then
2407 ac_cv_prog_INIMFONT="$ac_prog"
2414 INIMFONT="$ac_cv_prog_INIMFONT"
2415 if test -n "$INIMFONT"; then
2416 echo "$ac_t""$INIMFONT" 1>&6
2418 echo "$ac_t""no" 1>&6
2421 test -n "$INIMFONT" && break
2423 test -n "$INIMFONT" || INIMFONT="-echo no inimf or inimfont"
2425 INIMETAFONT=$INIMFONT
2428 for ac_prog in inimp
2430 # Extract the first word of "$ac_prog", so it can be a program name with args.
2431 set dummy $ac_prog; ac_word=$2
2432 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2433 echo "configure:2434: checking for $ac_word" >&5
2434 if eval "test \"`echo '$''{'ac_cv_prog_INIMETAPOST'+set}'`\" = set"; then
2435 echo $ac_n "(cached) $ac_c" 1>&6
2437 if test -n "$INIMETAPOST"; then
2438 ac_cv_prog_INIMETAPOST="$INIMETAPOST" # Let the user override the test.
2440 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2442 for ac_dir in $ac_dummy; do
2443 test -z "$ac_dir" && ac_dir=.
2444 if test -f $ac_dir/$ac_word; then
2445 ac_cv_prog_INIMETAPOST="$ac_prog"
2452 INIMETAPOST="$ac_cv_prog_INIMETAPOST"
2453 if test -n "$INIMETAPOST"; then
2454 echo "$ac_t""$INIMETAPOST" 1>&6
2456 echo "$ac_t""no" 1>&6
2459 test -n "$INIMETAPOST" && break
2461 test -n "$INIMETAPOST" || INIMETAPOST="no"
2463 if test "x$INIMETAPOST" = "xno"; then
2464 for ac_prog in inimpost
2466 # Extract the first word of "$ac_prog", so it can be a program name with args.
2467 set dummy $ac_prog; ac_word=$2
2468 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2469 echo "configure:2470: checking for $ac_word" >&5
2470 if eval "test \"`echo '$''{'ac_cv_prog_INIMPOST'+set}'`\" = set"; then
2471 echo $ac_n "(cached) $ac_c" 1>&6
2473 if test -n "$INIMPOST"; then
2474 ac_cv_prog_INIMPOST="$INIMPOST" # Let the user override the test.
2476 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2478 for ac_dir in $ac_dummy; do
2479 test -z "$ac_dir" && ac_dir=.
2480 if test -f $ac_dir/$ac_word; then
2481 ac_cv_prog_INIMPOST="$ac_prog"
2488 INIMPOST="$ac_cv_prog_INIMPOST"
2489 if test -n "$INIMPOST"; then
2490 echo "$ac_t""$INIMPOST" 1>&6
2492 echo "$ac_t""no" 1>&6
2495 test -n "$INIMPOST" && break
2497 test -n "$INIMPOST" || INIMPOST="-echo no inimp or inimpost"
2499 INIMETAPOST=$INIMPOST
2507 # AC_STEPMAKE_TEXMF_DIRS
2509 if test "x$YODL" = "x"; then
2510 for ac_prog in striproff
2512 # Extract the first word of "$ac_prog", so it can be a program name with args.
2513 set dummy $ac_prog; ac_word=$2
2514 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2515 echo "configure:2516: checking for $ac_word" >&5
2516 if eval "test \"`echo '$''{'ac_cv_prog_STRIPROFF'+set}'`\" = set"; then
2517 echo $ac_n "(cached) $ac_c" 1>&6
2519 if test -n "$STRIPROFF"; then
2520 ac_cv_prog_STRIPROFF="$STRIPROFF" # Let the user override the test.
2522 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2524 for ac_dir in $ac_dummy; do
2525 test -z "$ac_dir" && ac_dir=.
2526 if test -f $ac_dir/$ac_word; then
2527 ac_cv_prog_STRIPROFF="$ac_prog"
2534 STRIPROFF="$ac_cv_prog_STRIPROFF"
2535 if test -n "$STRIPROFF"; then
2536 echo "$ac_t""$STRIPROFF" 1>&6
2538 echo "$ac_t""no" 1>&6
2541 test -n "$STRIPROFF" && break
2543 test -n "$STRIPROFF" || STRIPROFF="-echo no striproff"
2547 # Extract the first word of "$ac_prog", so it can be a program name with args.
2548 set dummy $ac_prog; ac_word=$2
2549 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2550 echo "configure:2551: checking for $ac_word" >&5
2551 if eval "test \"`echo '$''{'ac_cv_prog_YODL'+set}'`\" = set"; then
2552 echo $ac_n "(cached) $ac_c" 1>&6
2554 if test -n "$YODL"; then
2555 ac_cv_prog_YODL="$YODL" # Let the user override the test.
2557 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2559 for ac_dir in $ac_dummy; do
2560 test -z "$ac_dir" && ac_dir=.
2561 if test -f $ac_dir/$ac_word; then
2562 ac_cv_prog_YODL="$ac_prog"
2569 YODL="$ac_cv_prog_YODL"
2570 if test -n "$YODL"; then
2571 echo "$ac_t""$YODL" 1>&6
2573 echo "$ac_t""no" 1>&6
2576 test -n "$YODL" && break
2578 test -n "$YODL" || YODL="-echo no yodl"
2580 for ac_prog in yodl2html
2582 # Extract the first word of "$ac_prog", so it can be a program name with args.
2583 set dummy $ac_prog; ac_word=$2
2584 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2585 echo "configure:2586: checking for $ac_word" >&5
2586 if eval "test \"`echo '$''{'ac_cv_prog_YODL2HTML'+set}'`\" = set"; then
2587 echo $ac_n "(cached) $ac_c" 1>&6
2589 if test -n "$YODL2HTML"; then
2590 ac_cv_prog_YODL2HTML="$YODL2HTML" # Let the user override the test.
2592 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2594 for ac_dir in $ac_dummy; do
2595 test -z "$ac_dir" && ac_dir=.
2596 if test -f $ac_dir/$ac_word; then
2597 ac_cv_prog_YODL2HTML="$ac_prog"
2604 YODL2HTML="$ac_cv_prog_YODL2HTML"
2605 if test -n "$YODL2HTML"; then
2606 echo "$ac_t""$YODL2HTML" 1>&6
2608 echo "$ac_t""no" 1>&6
2611 test -n "$YODL2HTML" && break
2613 test -n "$YODL2HTML" || YODL2HTML="-echo no yodl"
2615 for ac_prog in yodl2latex
2617 # Extract the first word of "$ac_prog", so it can be a program name with args.
2618 set dummy $ac_prog; ac_word=$2
2619 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2620 echo "configure:2621: checking for $ac_word" >&5
2621 if eval "test \"`echo '$''{'ac_cv_prog_YODL2LATEX'+set}'`\" = set"; then
2622 echo $ac_n "(cached) $ac_c" 1>&6
2624 if test -n "$YODL2LATEX"; then
2625 ac_cv_prog_YODL2LATEX="$YODL2LATEX" # Let the user override the test.
2627 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2629 for ac_dir in $ac_dummy; do
2630 test -z "$ac_dir" && ac_dir=.
2631 if test -f $ac_dir/$ac_word; then
2632 ac_cv_prog_YODL2LATEX="$ac_prog"
2639 YODL2LATEX="$ac_cv_prog_YODL2LATEX"
2640 if test -n "$YODL2LATEX"; then
2641 echo "$ac_t""$YODL2LATEX" 1>&6
2643 echo "$ac_t""no" 1>&6
2646 test -n "$YODL2LATEX" && break
2649 for ac_prog in yodl2man
2651 # Extract the first word of "$ac_prog", so it can be a program name with args.
2652 set dummy $ac_prog; ac_word=$2
2653 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2654 echo "configure:2655: checking for $ac_word" >&5
2655 if eval "test \"`echo '$''{'ac_cv_prog_YODL2MAN'+set}'`\" = set"; then
2656 echo $ac_n "(cached) $ac_c" 1>&6
2658 if test -n "$YODL2MAN"; then
2659 ac_cv_prog_YODL2MAN="$YODL2MAN" # Let the user override the test.
2661 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2663 for ac_dir in $ac_dummy; do
2664 test -z "$ac_dir" && ac_dir=.
2665 if test -f $ac_dir/$ac_word; then
2666 ac_cv_prog_YODL2MAN="$ac_prog"
2673 YODL2MAN="$ac_cv_prog_YODL2MAN"
2674 if test -n "$YODL2MAN"; then
2675 echo "$ac_t""$YODL2MAN" 1>&6
2677 echo "$ac_t""no" 1>&6
2680 test -n "$YODL2MAN" && break
2682 test -n "$YODL2MAN" || YODL2MAN="-echo no yodl"
2684 for ac_prog in yodl2msless
2686 # Extract the first word of "$ac_prog", so it can be a program name with args.
2687 set dummy $ac_prog; ac_word=$2
2688 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2689 echo "configure:2690: checking for $ac_word" >&5
2690 if eval "test \"`echo '$''{'ac_cv_prog_YODL2MSLESS'+set}'`\" = set"; then
2691 echo $ac_n "(cached) $ac_c" 1>&6
2693 if test -n "$YODL2MSLESS"; then
2694 ac_cv_prog_YODL2MSLESS="$YODL2MSLESS" # Let the user override the test.
2696 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2698 for ac_dir in $ac_dummy; do
2699 test -z "$ac_dir" && ac_dir=.
2700 if test -f $ac_dir/$ac_word; then
2701 ac_cv_prog_YODL2MSLESS="$ac_prog"
2708 YODL2MSLESS="$ac_cv_prog_YODL2MSLESS"
2709 if test -n "$YODL2MSLESS"; then
2710 echo "$ac_t""$YODL2MSLESS" 1>&6
2712 echo "$ac_t""no" 1>&6
2715 test -n "$YODL2MSLESS" && break
2717 test -n "$YODL2MSLESS" || YODL2MSLESS="-echo no yodl"
2719 for ac_prog in yodl2texinfo
2721 # Extract the first word of "$ac_prog", so it can be a program name with args.
2722 set dummy $ac_prog; ac_word=$2
2723 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2724 echo "configure:2725: checking for $ac_word" >&5
2725 if eval "test \"`echo '$''{'ac_cv_prog_YODL2TEXINFO'+set}'`\" = set"; then
2726 echo $ac_n "(cached) $ac_c" 1>&6
2728 if test -n "$YODL2TEXINFO"; then
2729 ac_cv_prog_YODL2TEXINFO="$YODL2TEXINFO" # Let the user override the test.
2731 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2733 for ac_dir in $ac_dummy; do
2734 test -z "$ac_dir" && ac_dir=.
2735 if test -f $ac_dir/$ac_word; then
2736 ac_cv_prog_YODL2TEXINFO="$ac_prog"
2743 YODL2TEXINFO="$ac_cv_prog_YODL2TEXINFO"
2744 if test -n "$YODL2TEXINFO"; then
2745 echo "$ac_t""$YODL2TEXINFO" 1>&6
2747 echo "$ac_t""no" 1>&6
2750 test -n "$YODL2TEXINFO" && break
2752 test -n "$YODL2TEXINFO" || YODL2TEXINFO="-echo no yodl"
2754 for ac_prog in yodl2txt
2756 # Extract the first word of "$ac_prog", so it can be a program name with args.
2757 set dummy $ac_prog; ac_word=$2
2758 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2759 echo "configure:2760: checking for $ac_word" >&5
2760 if eval "test \"`echo '$''{'ac_cv_prog_YODL2TXT'+set}'`\" = set"; then
2761 echo $ac_n "(cached) $ac_c" 1>&6
2763 if test -n "$YODL2TXT"; then
2764 ac_cv_prog_YODL2TXT="$YODL2TXT" # Let the user override the test.
2766 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2768 for ac_dir in $ac_dummy; do
2769 test -z "$ac_dir" && ac_dir=.
2770 if test -f $ac_dir/$ac_word; then
2771 ac_cv_prog_YODL2TXT="$ac_prog"
2778 YODL2TXT="$ac_cv_prog_YODL2TXT"
2779 if test -n "$YODL2TXT"; then
2780 echo "$ac_t""$YODL2TXT" 1>&6
2782 echo "$ac_t""no" 1>&6
2785 test -n "$YODL2TXT" && break
2787 test -n "$YODL2TXT" || YODL2TXT="-echo no yodl"
2789 YODL2LESS_DIR='$(bindir)/'
2800 export STRIPROFF YODL YODL2HTML YODL2LATEX YODL2MAN YODL2MSLESS YODL2TEXINFO YODL2TXT
2802 if test "x$YODL" = "-echo no yodl"; then
2804 echo "configure: warning: Did not find YODL (Yodl is Yet Oneother Document Language, see http://www.cs.uu.nl/~hanwen/yodl)" 1>&2
2810 # on some systems, -lguile succeeds for guile-1.3
2811 # others need readline, dl (or even more)
2812 # urg, must check for different functions in libguile
2813 # to force new check iso reading from cache
2815 # gh_scm2doubles,gh_doubles2scm are new in 1.3
2817 ## The GUILE_FLAGS macro.
2818 ## First, let's just see if we can find Guile at all.
2819 echo $ac_n "checking for Guile""... $ac_c" 1>&6
2820 echo "configure:2821: checking for Guile" >&5
2821 guile-config link > /dev/null || {
2822 echo "configure: cannot find guile-config; is Guile installed?" 1>&2
2825 GUILE_CFLAGS="`guile-config compile`"
2826 GUILE_LDFLAGS="`guile-config link`"
2829 echo "$ac_t""yes" 1>&6
2831 echo $ac_n "checking for gh_scm2doubles in -lguile""... $ac_c" 1>&6
2832 echo "configure:2833: checking for gh_scm2doubles in -lguile" >&5
2833 ac_lib_var=`echo guile'_'gh_scm2doubles | sed 'y%./+-%__p_%'`
2834 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2835 echo $ac_n "(cached) $ac_c" 1>&6
2837 ac_save_LIBS="$LIBS"
2838 LIBS="-lguile $GUILE_LDFLAGS $LIBS"
2839 cat > conftest.$ac_ext <<EOF
2840 #line 2841 "configure"
2841 #include "confdefs.h"
2842 /* Override any gcc2 internal prototype to avoid an error. */
2846 /* We use char because int might match the return type of a gcc2
2847 builtin and then its argument prototype would still apply. */
2848 char gh_scm2doubles();
2854 if { (eval echo configure:2855: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2856 eval "ac_cv_lib_$ac_lib_var=yes"
2858 echo "configure: failed program was:" >&5
2859 cat conftest.$ac_ext >&5
2861 eval "ac_cv_lib_$ac_lib_var=no"
2864 LIBS="$ac_save_LIBS"
2867 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2868 echo "$ac_t""yes" 1>&6
2869 LIBS="`echo $GUILE_LDFLAGS | sed -e 's/-L[/-_a-zA-Z0-9]\+ //g'` $LIBS"
2870 cat >> confdefs.h <<\EOF
2871 #define HAVE_LIBGUILE 1
2875 echo "$ac_t""no" 1>&6
2878 if test "$ac_cv_lib_guile_gh_scm2doubles" != yes ; then
2880 echo "configure: warning: You should install guile 1.3 or newer" 1>&2
2887 echo $ac_n "checking for 8-bit clean memcmp""... $ac_c" 1>&6
2888 echo "configure:2889: checking for 8-bit clean memcmp" >&5
2889 if eval "test \"`echo '$''{'ac_cv_func_memcmp_clean'+set}'`\" = set"; then
2890 echo $ac_n "(cached) $ac_c" 1>&6
2892 if test "$cross_compiling" = yes; then
2893 ac_cv_func_memcmp_clean=no
2895 cat > conftest.$ac_ext <<EOF
2896 #line 2897 "configure"
2897 #include "confdefs.h"
2899 extern "C" void exit(int);
2904 char c0 = 0x40, c1 = 0x80, c2 = 0x81;
2905 exit(memcmp(&c0, &c2, 1) < 0 && memcmp(&c1, &c2, 1) < 0 ? 0 : 1);
2909 if { (eval echo configure:2910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
2911 ac_cv_func_memcmp_clean=yes
2913 echo "configure: failed program was:" >&5
2914 cat conftest.$ac_ext >&5
2916 ac_cv_func_memcmp_clean=no
2923 echo "$ac_t""$ac_cv_func_memcmp_clean" 1>&6
2924 test $ac_cv_func_memcmp_clean = no && LIBOBJS="$LIBOBJS memcmp.${ac_objext}"
2926 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
2927 echo "configure:2928: checking for vprintf" >&5
2928 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
2929 echo $ac_n "(cached) $ac_c" 1>&6
2931 cat > conftest.$ac_ext <<EOF
2932 #line 2933 "configure"
2933 #include "confdefs.h"
2934 /* System header to define __stub macros and hopefully few prototypes,
2935 which can conflict with char vprintf(); below. */
2937 /* Override any gcc2 internal prototype to avoid an error. */
2941 /* We use char because int might match the return type of a gcc2
2942 builtin and then its argument prototype would still apply. */
2947 /* The GNU C library defines this for functions which it implements
2948 to always fail with ENOSYS. Some functions are actually named
2949 something starting with __ and the normal name is an alias. */
2950 #if defined (__stub_vprintf) || defined (__stub___vprintf)
2958 if { (eval echo configure:2959: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2960 eval "ac_cv_func_vprintf=yes"
2962 echo "configure: failed program was:" >&5
2963 cat conftest.$ac_ext >&5
2965 eval "ac_cv_func_vprintf=no"
2970 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
2971 echo "$ac_t""yes" 1>&6
2972 cat >> confdefs.h <<\EOF
2973 #define HAVE_VPRINTF 1
2977 echo "$ac_t""no" 1>&6
2980 if test "$ac_cv_func_vprintf" != yes; then
2981 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
2982 echo "configure:2983: checking for _doprnt" >&5
2983 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
2984 echo $ac_n "(cached) $ac_c" 1>&6
2986 cat > conftest.$ac_ext <<EOF
2987 #line 2988 "configure"
2988 #include "confdefs.h"
2989 /* System header to define __stub macros and hopefully few prototypes,
2990 which can conflict with char _doprnt(); below. */
2992 /* Override any gcc2 internal prototype to avoid an error. */
2996 /* We use char because int might match the return type of a gcc2
2997 builtin and then its argument prototype would still apply. */
3002 /* The GNU C library defines this for functions which it implements
3003 to always fail with ENOSYS. Some functions are actually named
3004 something starting with __ and the normal name is an alias. */
3005 #if defined (__stub__doprnt) || defined (__stub____doprnt)
3013 if { (eval echo configure:3014: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3015 eval "ac_cv_func__doprnt=yes"
3017 echo "configure: failed program was:" >&5
3018 cat conftest.$ac_ext >&5
3020 eval "ac_cv_func__doprnt=no"
3025 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
3026 echo "$ac_t""yes" 1>&6
3027 cat >> confdefs.h <<\EOF
3028 #define HAVE_DOPRNT 1
3032 echo "$ac_t""no" 1>&6
3037 for ac_func in memmem snprintf vsnprintf gettext
3039 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
3040 echo "configure:3041: checking for $ac_func" >&5
3041 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
3042 echo $ac_n "(cached) $ac_c" 1>&6
3044 cat > conftest.$ac_ext <<EOF
3045 #line 3046 "configure"
3046 #include "confdefs.h"
3047 /* System header to define __stub macros and hopefully few prototypes,
3048 which can conflict with char $ac_func(); below. */
3050 /* Override any gcc2 internal prototype to avoid an error. */
3054 /* We use char because int might match the return type of a gcc2
3055 builtin and then its argument prototype would still apply. */
3060 /* The GNU C library defines this for functions which it implements
3061 to always fail with ENOSYS. Some functions are actually named
3062 something starting with __ and the normal name is an alias. */
3063 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3071 if { (eval echo configure:3072: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3073 eval "ac_cv_func_$ac_func=yes"
3075 echo "configure: failed program was:" >&5
3076 cat conftest.$ac_ext >&5
3078 eval "ac_cv_func_$ac_func=no"
3083 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
3084 echo "$ac_t""yes" 1>&6
3085 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3086 cat >> confdefs.h <<EOF
3087 #define $ac_tr_func 1
3091 echo "$ac_t""no" 1>&6
3096 cat >> confdefs.h <<EOF
3097 #define TOPLEVEL_VERSION "${FULL_VERSION}"
3100 cat >> confdefs.h <<EOF
3101 #define FLOWER_VERSION "${FULL_FLOWER_VERSION}"
3105 for ac_prog in makeinfo
3107 # Extract the first word of "$ac_prog", so it can be a program name with args.
3108 set dummy $ac_prog; ac_word=$2
3109 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3110 echo "configure:3111: checking for $ac_word" >&5
3111 if eval "test \"`echo '$''{'ac_cv_prog_MAKEINFO'+set}'`\" = set"; then
3112 echo $ac_n "(cached) $ac_c" 1>&6
3114 if test -n "$MAKEINFO"; then
3115 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
3117 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3119 for ac_dir in $ac_dummy; do
3120 test -z "$ac_dir" && ac_dir=.
3121 if test -f $ac_dir/$ac_word; then
3122 ac_cv_prog_MAKEINFO="$ac_prog"
3129 MAKEINFO="$ac_cv_prog_MAKEINFO"
3130 if test -n "$MAKEINFO"; then
3131 echo "$ac_t""$MAKEINFO" 1>&6
3133 echo "$ac_t""no" 1>&6
3136 test -n "$MAKEINFO" && break
3138 test -n "$MAKEINFO" || MAKEINFO="error"
3141 result="`echo \"$YODL2TEXINFO\" | grep echo`"
3142 if test "x$YODL2TEXINFO" = "xerror" -o "x$result" != "x"; then
3144 echo "configure: warning: can\'t find yodl. You should install Yodl 1.30.2 or newer" 1>&2
3151 echo $ac_n "checking Checking TFM directory""... $ac_c" 1>&6
3152 echo "configure:3153: checking Checking TFM directory" >&5
3153 CMR10=`kpsewhich tfm cmr10.tfm`
3154 TEX_TFMDIR=`dirname $CMR10`
3155 echo "$ac_t""$TEX_TFMDIR" 1>&6
3160 cat > confcache <<\EOF
3161 # This file is a shell script that caches the results of configure
3162 # tests run on this system so they can be shared between configure
3163 # scripts and configure runs. It is not useful on other systems.
3164 # If it contains results you don't want to keep, you may remove or edit it.
3166 # By default, configure uses ./config.cache as the cache file,
3167 # creating it if it does not exist already. You can give configure
3168 # the --cache-file=FILE option to use a different cache file; that is
3169 # what configure does when it calls configure scripts in
3170 # subdirectories, so they share the cache.
3171 # Giving --cache-file=/dev/null disables caching, for debugging configure.
3172 # config.status only pays attention to the cache file if you give it the
3173 # --recheck option to rerun configure.
3176 # The following way of writing the cache mishandles newlines in values,
3177 # but we know of no workaround that is simple, portable, and efficient.
3178 # So, don't put newlines in cache variables' values.
3179 # Ultrix sh set writes to stderr and can't be redirected directly,
3180 # and sets the high bit in the cache file unless we assign to the vars.
3182 case `(ac_space=' '; set | grep ac_space) 2>&1` in
3184 # `set' does not quote correctly, so add quotes (double-quote substitution
3185 # turns \\\\ into \\, and sed turns \\ into \).
3187 -e "s/'/'\\\\''/g" \
3188 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
3191 # `set' quotes correctly as required by POSIX, so do not add quotes.
3192 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
3195 if cmp -s $cache_file confcache; then
3198 if test -w $cache_file; then
3199 echo "updating cache $cache_file"
3200 cat confcache > $cache_file
3202 echo "not updating unwritable cache $cache_file"
3207 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
3209 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3210 # Let make expand exec_prefix.
3211 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3213 # Any assignment to VPATH causes Sun make to only execute
3214 # the first set of double-colon rules, so remove it if not needed.
3215 # If there is a colon in the path, we need to keep it.
3216 if test "x$srcdir" = x.; then
3217 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
3220 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
3222 DEFS=-DHAVE_CONFIG_H
3224 # Without the "./", some shells look in PATH for config.status.
3225 : ${CONFIG_STATUS=./config.status}
3227 echo creating $CONFIG_STATUS
3228 rm -f $CONFIG_STATUS
3229 cat > $CONFIG_STATUS <<EOF
3231 # Generated automatically by configure.
3232 # Run this file to recreate the current configuration.
3233 # This directory was configured as follows,
3234 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
3236 # $0 $ac_configure_args
3238 # Compiler output produced by configure, useful for debugging
3239 # configure, is in ./config.log if it exists.
3241 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
3244 case "\$ac_option" in
3245 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3246 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
3247 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
3248 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
3249 echo "$CONFIG_STATUS generated by autoconf version 2.13"
3251 -help | --help | --hel | --he | --h)
3252 echo "\$ac_cs_usage"; exit 0 ;;
3253 *) echo "\$ac_cs_usage"; exit 1 ;;
3257 ac_given_srcdir=$srcdir
3259 trap 'rm -fr `echo "$CONFIGFILE.make:config.make.in $CONFIGFILE.h:config.hh.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
3261 cat >> $CONFIG_STATUS <<EOF
3263 # Protect against being on the right side of a sed subst in config.status.
3264 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
3265 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
3269 s%@CFLAGS@%$CFLAGS%g
3270 s%@CPPFLAGS@%$CPPFLAGS%g
3271 s%@CXXFLAGS@%$CXXFLAGS%g
3272 s%@FFLAGS@%$FFLAGS%g
3274 s%@LDFLAGS@%$LDFLAGS%g
3276 s%@exec_prefix@%$exec_prefix%g
3277 s%@prefix@%$prefix%g
3278 s%@program_transform_name@%$program_transform_name%g
3279 s%@bindir@%$bindir%g
3280 s%@sbindir@%$sbindir%g
3281 s%@libexecdir@%$libexecdir%g
3282 s%@datadir@%$datadir%g
3283 s%@sysconfdir@%$sysconfdir%g
3284 s%@sharedstatedir@%$sharedstatedir%g
3285 s%@localstatedir@%$localstatedir%g
3286 s%@libdir@%$libdir%g
3287 s%@includedir@%$includedir%g
3288 s%@oldincludedir@%$oldincludedir%g
3289 s%@infodir@%$infodir%g
3290 s%@mandir@%$mandir%g
3291 s%@stepmake@%$stepmake%g
3292 s%@package@%$package%g
3293 s%@PACKAGE@%$PACKAGE%g
3294 s%@PACKAGE_NAME@%$PACKAGE_NAME%g
3295 s%@package_depth@%$package_depth%g
3296 s%@AUTOGENERATE@%$AUTOGENERATE%g
3297 s%@absolute_builddir@%$absolute_builddir%g
3298 s%@STATE_VECTOR@%$STATE_VECTOR%g
3299 s%@CONFIGSUFFIX@%$CONFIGSUFFIX%g
3301 s%@host_alias@%$host_alias%g
3302 s%@host_cpu@%$host_cpu%g
3303 s%@host_vendor@%$host_vendor%g
3304 s%@host_os@%$host_os%g
3309 s%@PYTHON@%$PYTHON%g
3310 s%@DOTEXE@%$DOTEXE%g
3314 s%@INSTALL@%$INSTALL%g
3315 s%@PATHSEP@%$PATHSEP%g
3316 s%@DIRSEP@%$DIRSEP%g
3317 s%@DIR_DATADIR@%$DIR_DATADIR%g
3318 s%@subdirs@%$subdirs%g
3321 s%@ICFLAGS@%$ICFLAGS%g
3322 s%@ILDFLAGS@%$ILDFLAGS%g
3323 s%@DEFINES@%$DEFINES%g
3324 s%@EXTRA_LIBES@%$EXTRA_LIBES%g
3326 s%@CXXCPP@%$CXXCPP%g
3331 s%@RANLIB@%$RANLIB%g
3332 s%@localedir@%$localedir%g
3333 s%@DIR_LOCALEDIR@%$DIR_LOCALEDIR%g
3334 s%@MSGFMT@%$MSGFMT%g
3335 s%@METAFONT@%$METAFONT%g
3337 s%@METAPOST@%$METAPOST%g
3339 s%@INIMETAFONT@%$INIMETAFONT%g
3340 s%@INIMFONT@%$INIMFONT%g
3341 s%@INIMETAPOST@%$INIMETAPOST%g
3342 s%@INIMPOST@%$INIMPOST%g
3343 s%@STRIPROFF@%$STRIPROFF%g
3345 s%@YODL2HTML@%$YODL2HTML%g
3346 s%@YODL2LATEX@%$YODL2LATEX%g
3347 s%@YODL2MAN@%$YODL2MAN%g
3348 s%@YODL2MSLESS@%$YODL2MSLESS%g
3349 s%@YODL2TEXINFO@%$YODL2TEXINFO%g
3350 s%@YODL2TXT@%$YODL2TXT%g
3351 s%@YODL2LESS_DIR@%$YODL2LESS_DIR%g
3352 s%@LIBOBJS@%$LIBOBJS%g
3353 s%@MAKEINFO@%$MAKEINFO%g
3354 s%@TEX_TFMDIR@%$TEX_TFMDIR%g
3359 cat >> $CONFIG_STATUS <<\EOF
3361 # Split the substitutions into bite-sized pieces for seds with
3362 # small command number limits, like on Digital OSF/1 and HP-UX.
3363 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
3364 ac_file=1 # Number of current file.
3365 ac_beg=1 # First line for current file.
3366 ac_end=$ac_max_sed_cmds # Line after last line for current file.
3369 while $ac_more_lines; do
3370 if test $ac_beg -gt 1; then
3371 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
3373 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
3375 if test ! -s conftest.s$ac_file; then
3377 rm -f conftest.s$ac_file
3379 if test -z "$ac_sed_cmds"; then
3380 ac_sed_cmds="sed -f conftest.s$ac_file"
3382 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
3384 ac_file=`expr $ac_file + 1`
3386 ac_end=`expr $ac_end + $ac_max_sed_cmds`
3389 if test -z "$ac_sed_cmds"; then
3394 cat >> $CONFIG_STATUS <<EOF
3396 CONFIG_FILES=\${CONFIG_FILES-"$CONFIGFILE.make:config.make.in"}
3398 cat >> $CONFIG_STATUS <<\EOF
3399 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
3400 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3402 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
3403 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
3404 *) ac_file_in="${ac_file}.in" ;;
3407 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
3409 # Remove last slash and all that follows it. Not all systems have dirname.
3410 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
3411 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
3412 # The file is in a subdirectory.
3413 test ! -d "$ac_dir" && mkdir "$ac_dir"
3414 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
3415 # A "../" for each directory in $ac_dir_suffix.
3416 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
3418 ac_dir_suffix= ac_dots=
3421 case "$ac_given_srcdir" in
3423 if test -z "$ac_dots"; then top_srcdir=.
3424 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
3425 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
3427 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
3428 top_srcdir="$ac_dots$ac_given_srcdir" ;;
3432 echo creating "$ac_file"
3434 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
3436 *Makefile*) ac_comsub="1i\\
3437 # $configure_input" ;;
3441 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
3443 s%@configure_input@%$configure_input%g
3444 s%@srcdir@%$srcdir%g
3445 s%@top_srcdir@%$top_srcdir%g
3446 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
3450 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
3451 # NAME is the cpp macro being defined and VALUE is the value it is being given.
3453 # ac_d sets the value in "#define NAME VALUE" lines.
3454 ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
3455 ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
3458 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
3459 ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
3460 ac_uB='\([ ]\)%\1#\2define\3'
3463 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
3464 ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
3465 ac_eB='$%\1#\2define\3'
3469 if test "${CONFIG_HEADERS+set}" != set; then
3471 cat >> $CONFIG_STATUS <<EOF
3472 CONFIG_HEADERS="$CONFIGFILE.h:config.hh.in"
3474 cat >> $CONFIG_STATUS <<\EOF
3476 for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
3477 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3479 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
3480 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
3481 *) ac_file_in="${ac_file}.in" ;;
3484 echo creating $ac_file
3486 rm -f conftest.frag conftest.in conftest.out
3487 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
3488 cat $ac_file_inputs > conftest.in
3492 # Transform confdefs.h into a sed script conftest.vals that substitutes
3493 # the proper values into config.h.in to produce config.h. And first:
3494 # Protect against being on the right side of a sed subst in config.status.
3495 # Protect against being in an unquoted here document in config.status.
3497 cat > conftest.hdr <<\EOF
3500 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
3504 sed -n -f conftest.hdr confdefs.h > conftest.vals
3507 # This sed command replaces #undef with comments. This is necessary, for
3508 # example, in the case of _POSIX_SOURCE, which is predefined and required
3509 # on some systems where configure will not decide to define it.
3510 cat >> conftest.vals <<\EOF
3511 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
3514 # Break up conftest.vals because some shells have a limit on
3515 # the size of here documents, and old seds have small limits too.
3520 ac_lines=`grep -c . conftest.vals`
3521 # grep -c gives empty output for an empty file on some AIX systems.
3522 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
3523 # Write a limited-size here document to conftest.frag.
3524 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
3525 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
3527 sed -f conftest.frag conftest.in > conftest.out
3529 mv conftest.out conftest.in
3531 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
3533 mv conftest.tail conftest.vals
3537 cat >> $CONFIG_STATUS <<\EOF
3538 rm -f conftest.frag conftest.h
3539 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
3540 cat conftest.in >> conftest.h
3542 if cmp -s $ac_file conftest.h 2>/dev/null; then
3543 echo "$ac_file is unchanged"
3546 # Remove last slash and all that follows it. Not all systems have dirname.
3547 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
3548 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
3549 # The file is in a subdirectory.
3550 test ! -d "$ac_dir" && mkdir "$ac_dir"
3553 mv conftest.h $ac_file
3558 cat >> $CONFIG_STATUS <<EOF
3561 cat >> $CONFIG_STATUS <<\EOF
3565 chmod +x $CONFIG_STATUS
3566 rm -fr confdefs* $ac_clean_files
3567 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
3569 if test "$no_recursion" != yes; then
3571 # Remove --cache-file and --srcdir arguments so they do not pile up.
3572 ac_sub_configure_args=
3574 for ac_arg in $ac_configure_args; do
3575 if test -n "$ac_prev"; then
3580 -cache-file | --cache-file | --cache-fil | --cache-fi \
3581 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
3582 ac_prev=cache_file ;;
3583 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
3584 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
3586 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
3588 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
3590 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
3594 for ac_config_dir in stepmake; do
3596 # Do not complain, so a configure script can configure whichever
3597 # parts of a large source tree are present.
3598 if test ! -d $srcdir/$ac_config_dir; then
3602 echo configuring in $ac_config_dir
3607 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
3609 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
3617 # A "../" for each directory in /$ac_config_dir.
3618 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
3621 .) # No --srcdir option. We are building in place.
3622 ac_sub_srcdir=$srcdir ;;
3623 /*) # Absolute path.
3624 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
3626 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
3629 # Check for guested configure; otherwise get Cygnus style configure.
3630 if test -f $ac_sub_srcdir/configure; then
3631 ac_sub_configure=$ac_sub_srcdir/configure
3632 elif test -f $ac_sub_srcdir/configure.in; then
3633 ac_sub_configure=$ac_configure
3635 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
3639 # The recursion is here.
3640 if test -n "$ac_sub_configure"; then
3642 # Make the cache file name correct relative to the subdirectory.
3643 case "$cache_file" in
3644 /*) ac_sub_cache_file=$cache_file ;;
3646 ac_sub_cache_file="$ac_dots$cache_file" ;;
3649 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
3650 # The eval makes quoting arguments work.
3651 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
3654 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }
3664 cp make/toplevel.make.in ./GNUmakefile
3665 chmod 444 GNUmakefile