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.12
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 # Maximum number of lines to put in a shell here document.
134 # If the previous option needs an argument, assign it.
135 if test -n "$ac_prev"; then
136 eval "$ac_prev=\$ac_option"
142 -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
146 # Accept the important Cygnus configure options, so we can diagnose typos.
150 -bindir | --bindir | --bindi | --bind | --bin | --bi)
152 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
153 bindir="$ac_optarg" ;;
155 -build | --build | --buil | --bui | --bu)
157 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
158 build="$ac_optarg" ;;
160 -cache-file | --cache-file | --cache-fil | --cache-fi \
161 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
162 ac_prev=cache_file ;;
163 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
164 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
165 cache_file="$ac_optarg" ;;
167 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
169 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
171 datadir="$ac_optarg" ;;
173 -disable-* | --disable-*)
174 ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
175 # Reject names that are not valid shell variable names.
176 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
177 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
179 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
180 eval "enable_${ac_feature}=no" ;;
182 -enable-* | --enable-*)
183 ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
184 # Reject names that are not valid shell variable names.
185 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
186 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
188 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
193 eval "enable_${ac_feature}='$ac_optarg'" ;;
195 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
196 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
197 | --exec | --exe | --ex)
198 ac_prev=exec_prefix ;;
199 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
200 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
201 | --exec=* | --exe=* | --ex=*)
202 exec_prefix="$ac_optarg" ;;
204 -gas | --gas | --ga | --g)
205 # Obsolete; use --with-gas.
208 -help | --help | --hel | --he)
209 # Omit some internal or obsolete options to make the list less imposing.
210 # This message is too long to be a string in the A/UX 3.1 sh.
212 Usage: configure [options] [host]
213 Options: [defaults in brackets after descriptions]
215 --cache-file=FILE cache test results in FILE
216 --help print this message
217 --no-create do not create output files
218 --quiet, --silent do not print \`checking...' messages
219 --version print the version of autoconf that created configure
220 Directory and file names:
221 --prefix=PREFIX install architecture-independent files in PREFIX
223 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
225 --bindir=DIR user executables in DIR [EPREFIX/bin]
226 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
227 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
228 --datadir=DIR read-only architecture-independent data in DIR
230 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
231 --sharedstatedir=DIR modifiable architecture-independent data in DIR
233 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
234 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
235 --includedir=DIR C header files in DIR [PREFIX/include]
236 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
237 --infodir=DIR info documentation in DIR [PREFIX/info]
238 --mandir=DIR man documentation in DIR [PREFIX/man]
239 --srcdir=DIR find the sources in DIR [configure dir or ..]
240 --program-prefix=PREFIX prepend PREFIX to installed program names
241 --program-suffix=SUFFIX append SUFFIX to installed program names
242 --program-transform-name=PROGRAM
243 run sed PROGRAM on installed program names
247 --build=BUILD configure for building on BUILD [BUILD=HOST]
248 --host=HOST configure for HOST [guessed]
249 --target=TARGET configure for TARGET [TARGET=HOST]
250 Features and packages:
251 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
252 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
253 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
254 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
255 --x-includes=DIR X include files are in DIR
256 --x-libraries=DIR X library files are in DIR
258 if test -n "$ac_help"; then
259 echo "--enable and --with options recognized:$ac_help"
263 -host | --host | --hos | --ho)
265 -host=* | --host=* | --hos=* | --ho=*)
268 -includedir | --includedir | --includedi | --included | --include \
269 | --includ | --inclu | --incl | --inc)
270 ac_prev=includedir ;;
271 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
272 | --includ=* | --inclu=* | --incl=* | --inc=*)
273 includedir="$ac_optarg" ;;
275 -infodir | --infodir | --infodi | --infod | --info | --inf)
277 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
278 infodir="$ac_optarg" ;;
280 -libdir | --libdir | --libdi | --libd)
282 -libdir=* | --libdir=* | --libdi=* | --libd=*)
283 libdir="$ac_optarg" ;;
285 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
286 | --libexe | --libex | --libe)
287 ac_prev=libexecdir ;;
288 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
289 | --libexe=* | --libex=* | --libe=*)
290 libexecdir="$ac_optarg" ;;
292 -localstatedir | --localstatedir | --localstatedi | --localstated \
293 | --localstate | --localstat | --localsta | --localst \
294 | --locals | --local | --loca | --loc | --lo)
295 ac_prev=localstatedir ;;
296 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
297 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
298 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
299 localstatedir="$ac_optarg" ;;
301 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
303 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
304 mandir="$ac_optarg" ;;
307 # Obsolete; use --without-fp.
310 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
314 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
315 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
318 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
319 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
320 | --oldin | --oldi | --old | --ol | --o)
321 ac_prev=oldincludedir ;;
322 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
323 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
324 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
325 oldincludedir="$ac_optarg" ;;
327 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
329 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
330 prefix="$ac_optarg" ;;
332 -program-prefix | --program-prefix | --program-prefi | --program-pref \
333 | --program-pre | --program-pr | --program-p)
334 ac_prev=program_prefix ;;
335 -program-prefix=* | --program-prefix=* | --program-prefi=* \
336 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
337 program_prefix="$ac_optarg" ;;
339 -program-suffix | --program-suffix | --program-suffi | --program-suff \
340 | --program-suf | --program-su | --program-s)
341 ac_prev=program_suffix ;;
342 -program-suffix=* | --program-suffix=* | --program-suffi=* \
343 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
344 program_suffix="$ac_optarg" ;;
346 -program-transform-name | --program-transform-name \
347 | --program-transform-nam | --program-transform-na \
348 | --program-transform-n | --program-transform- \
349 | --program-transform | --program-transfor \
350 | --program-transfo | --program-transf \
351 | --program-trans | --program-tran \
352 | --progr-tra | --program-tr | --program-t)
353 ac_prev=program_transform_name ;;
354 -program-transform-name=* | --program-transform-name=* \
355 | --program-transform-nam=* | --program-transform-na=* \
356 | --program-transform-n=* | --program-transform-=* \
357 | --program-transform=* | --program-transfor=* \
358 | --program-transfo=* | --program-transf=* \
359 | --program-trans=* | --program-tran=* \
360 | --progr-tra=* | --program-tr=* | --program-t=*)
361 program_transform_name="$ac_optarg" ;;
363 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
364 | -silent | --silent | --silen | --sile | --sil)
367 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
369 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
371 sbindir="$ac_optarg" ;;
373 -sharedstatedir | --sharedstatedir | --sharedstatedi \
374 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
375 | --sharedst | --shareds | --shared | --share | --shar \
377 ac_prev=sharedstatedir ;;
378 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
379 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
380 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
382 sharedstatedir="$ac_optarg" ;;
384 -site | --site | --sit)
386 -site=* | --site=* | --sit=*)
389 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
391 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
392 srcdir="$ac_optarg" ;;
394 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
395 | --syscon | --sysco | --sysc | --sys | --sy)
396 ac_prev=sysconfdir ;;
397 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
398 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
399 sysconfdir="$ac_optarg" ;;
401 -target | --target | --targe | --targ | --tar | --ta | --t)
403 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
404 target="$ac_optarg" ;;
406 -v | -verbose | --verbose | --verbos | --verbo | --verb)
409 -version | --version | --versio | --versi | --vers)
410 echo "configure generated by autoconf version 2.12"
414 ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
415 # Reject names that are not valid shell variable names.
416 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
417 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
419 ac_package=`echo $ac_package| sed 's/-/_/g'`
424 eval "with_${ac_package}='$ac_optarg'" ;;
426 -without-* | --without-*)
427 ac_package=`echo $ac_option|sed -e 's/-*without-//'`
428 # Reject names that are not valid shell variable names.
429 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
430 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
432 ac_package=`echo $ac_package| sed 's/-/_/g'`
433 eval "with_${ac_package}=no" ;;
436 # Obsolete; use --with-x.
439 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
440 | --x-incl | --x-inc | --x-in | --x-i)
441 ac_prev=x_includes ;;
442 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
443 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
444 x_includes="$ac_optarg" ;;
446 -x-libraries | --x-libraries | --x-librarie | --x-librari \
447 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
448 ac_prev=x_libraries ;;
449 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
450 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
451 x_libraries="$ac_optarg" ;;
453 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
457 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
458 echo "configure: warning: $ac_option: invalid host type" 1>&2
460 if test "x$nonopt" != xNONE; then
461 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
469 if test -n "$ac_prev"; then
470 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
473 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
475 # File descriptor usage:
478 # 2 errors and warnings
479 # 3 some systems may open it to /dev/tty
480 # 4 used on the Kubota Titan
481 # 6 checking for... messages and results
482 # 5 compiler messages saved in config.log
483 if test "$silent" = yes; then
491 This file contains any messages produced by compilers while
492 running configure, to aid debugging if configure makes a mistake.
495 # Strip out --no-create and --no-recursion so they do not pile up.
496 # Also quote any args containing shell metacharacters.
501 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
502 | --no-cr | --no-c) ;;
503 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
504 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
505 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
506 ac_configure_args="$ac_configure_args '$ac_arg'" ;;
507 *) ac_configure_args="$ac_configure_args $ac_arg" ;;
512 # Only set these to C if already set. These must not be set unconditionally
513 # because not all systems understand e.g. LANG=C (notably SCO).
514 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
515 # Non-C LC_CTYPE values break the ctype check.
516 if test "${LANG+set}" = set; then LANG=C; export LANG; fi
517 if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
518 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
519 if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
521 # confdefs.h avoids OS command line length limits that DEFS can exceed.
522 rm -rf conftest* confdefs.h
523 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
526 # A filename unique to this package, relative to the directory that
527 # configure is in, which we can look for to find out if srcdir is correct.
528 ac_unique_file=make/lilypond.lsm.in
530 # Find the source files, if location was not specified.
531 if test -z "$srcdir"; then
532 ac_srcdir_defaulted=yes
533 # Try the directory containing this script, then its parent.
535 ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
536 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
538 if test ! -r $srcdir/$ac_unique_file; then
542 ac_srcdir_defaulted=no
544 if test ! -r $srcdir/$ac_unique_file; then
545 if test "$ac_srcdir_defaulted" = yes; then
546 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
548 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
551 srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
553 # Prefer explicitly selected file to automatically selected ones.
554 if test -z "$CONFIG_SITE"; then
555 if test "x$prefix" != xNONE; then
556 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
558 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
561 for ac_site_file in $CONFIG_SITE; do
562 if test -r "$ac_site_file"; then
563 echo "loading site script $ac_site_file"
568 if test -r "$cache_file"; then
569 echo "loading cache $cache_file"
572 echo "creating cache $cache_file"
577 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
578 ac_cpp='$CPP $CPPFLAGS'
579 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
580 ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
581 cross_compiling=$ac_cv_prog_cc_cross
583 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
584 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
585 if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
592 ac_n= ac_c='\c' ac_t=
598 # Bootstrap StepMake configure
602 FULL_VERSION=$MAJOR_VERSION.$MINOR_VERSION.$PATCH_LEVEL
603 if test x$MY_PATCH_LEVEL != x; then
604 FULL_VERSION=$FULL_VERSION.$MY_PATCH_LEVEL
607 # urg: don't "fix" this: irix doesn't know about [:lower:] and [:upper:]
608 PACKAGE=`echo $PACKAGE_NAME | tr '[a-z]' '[A-Z]'`
609 package=`echo $PACKAGE_NAME | tr '[A-Z]' '[a-z]'`
611 # No versioning on directory names of sub-packages
613 stepmake=${datadir}/stepmake
615 if test "$prefix" = "NONE"; then
616 presome=${ac_default_prefix}
618 stepmake=`echo ${stepmake} | sed "s!\\\${prefix}!$presome!"`
620 if test "x$PACKAGE" = "xSTEPMAKE"; then
621 echo Stepmake package!
622 (cd stepmake; rm -f stepmake; ln -s ../stepmake .)
623 (cd stepmake; rm -f bin; ln -s ../bin .)
625 for ac_dir in bin $srcdir/bin; do
626 if test -f $ac_dir/install-sh; then
628 ac_install_sh="$ac_aux_dir/install-sh -c"
630 elif test -f $ac_dir/install.sh; then
632 ac_install_sh="$ac_aux_dir/install.sh -c"
636 if test -z "$ac_aux_dir"; then
637 { echo "configure: error: can not find install-sh or install.sh in bin $srcdir/bin" 1>&2; exit 1; }
639 ac_config_guess=$ac_aux_dir/config.guess
640 ac_config_sub=$ac_aux_dir/config.sub
641 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
645 echo Package: $PACKAGE
646 # Check for installed stepmake
647 if test -d $stepmake; then
648 echo Using installed stepmake: $stepmake
650 stepmake='$(depth)'/stepmake
651 echo Using local stepmake: $datadir/stepmake not found
655 $HOME/usr/local/share/stepmake/bin\
656 $HOME/usr/local/lib/stepmake/bin\
657 $HOME/usr/share/stepmake/bin\
658 $HOME/usr/lib/stepmake/bin\
659 /usr/local/share/stepmake/bin\
660 /usr/local/lib/stepmake/bin\
661 /usr/share/stepmake/bin\
662 /usr/lib/stepmake/bin\
665 $HOME/usr/local/share/stepmake/bin\
666 $HOME/usr/local/lib/stepmake/bin\
667 $HOME/usr/share/stepmake/bin\
668 $HOME/usr/lib/stepmake/bin\
669 /usr/local/share/stepmake/bin\
670 /usr/local/lib/stepmake/bin\
671 /usr/share/stepmake/bin\
672 /usr/lib/stepmake/bin\
675 if test -f $ac_dir/install-sh; then
677 ac_install_sh="$ac_aux_dir/install-sh -c"
679 elif test -f $ac_dir/install.sh; then
681 ac_install_sh="$ac_aux_dir/install.sh -c"
685 if test -z "$ac_aux_dir"; then
686 { echo "configure: error: can not find install-sh or install.sh in \
687 $HOME/usr/local/share/stepmake/bin\
688 $HOME/usr/local/lib/stepmake/bin\
689 $HOME/usr/share/stepmake/bin\
690 $HOME/usr/lib/stepmake/bin\
691 /usr/local/share/stepmake/bin\
692 /usr/local/lib/stepmake/bin\
693 /usr/share/stepmake/bin\
694 /usr/lib/stepmake/bin\
697 $HOME/usr/local/share/stepmake/bin\
698 $HOME/usr/local/lib/stepmake/bin\
699 $HOME/usr/share/stepmake/bin\
700 $HOME/usr/lib/stepmake/bin\
701 /usr/local/share/stepmake/bin\
702 /usr/local/lib/stepmake/bin\
703 /usr/share/stepmake/bin\
704 /usr/lib/stepmake/bin\
708 ac_config_guess=$ac_aux_dir/config.guess
709 ac_config_sub=$ac_aux_dir/config.sub
710 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
718 cat >> confdefs.h <<EOF
719 #define PACKAGE "${PACKAGE_NAME}"
722 cat >> confdefs.h <<EOF
723 #define TOPLEVEL_VERSION "${FULL_VERSION}"
727 if test "$package_depth" = "" ; then
730 package_depth="../$package_depth"
735 AUTOGENERATE="This file was automatically generated by configure"
737 absolute_builddir="`pwd`"
740 STATE_VECTOR=`ls make/STATE-VECTOR 2>/dev/null`
741 if test "x$STATE_VECTOR" != "x"; then
742 STATE_VECTOR="\$(depth)/$STATE_VECTOR"
747 # Check whether --enable-config or --disable-config was given.
748 if test "${enable_config+set}" = set; then
749 enableval="$enable_config"
750 CONFIGSUFFIX=$enableval
754 if test "$CONFIGSUFFIX" != "" ; then
755 CONFIGFILE=config-$CONFIGSUFFIX
762 # Make sure we can run config.sub.
763 if $ac_config_sub sun4 >/dev/null 2>&1; then :
764 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
767 echo $ac_n "checking host system type""... $ac_c" 1>&6
768 echo "configure:769: checking host system type" >&5
771 case "$host_alias" in
775 if host_alias=`$ac_config_guess`; then :
776 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
778 *) host_alias=$nonopt ;;
782 host=`$ac_config_sub $host_alias`
783 host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
784 host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
785 host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
786 echo "$ac_t""$host" 1>&6
788 for ac_prog in gmake make
790 # Extract the first word of "$ac_prog", so it can be a program name with args.
791 set dummy $ac_prog; ac_word=$2
792 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
793 echo "configure:794: checking for $ac_word" >&5
794 if eval "test \"`echo '$''{'ac_cv_prog_MAKE'+set}'`\" = set"; then
795 echo $ac_n "(cached) $ac_c" 1>&6
797 if test -n "$MAKE"; then
798 ac_cv_prog_MAKE="$MAKE" # Let the user override the test.
800 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
801 for ac_dir in $PATH; do
802 test -z "$ac_dir" && ac_dir=.
803 if test -f $ac_dir/$ac_word; then
804 ac_cv_prog_MAKE="$ac_prog"
811 MAKE="$ac_cv_prog_MAKE"
812 if test -n "$MAKE"; then
813 echo "$ac_t""$MAKE" 1>&6
815 echo "$ac_t""no" 1>&6
818 test -n "$MAKE" && break
820 test -n "$MAKE" || MAKE="error"
824 # Extract the first word of "$ac_prog", so it can be a program name with args.
825 set dummy $ac_prog; ac_word=$2
826 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
827 echo "configure:828: checking for $ac_word" >&5
828 if eval "test \"`echo '$''{'ac_cv_prog_FIND'+set}'`\" = set"; then
829 echo $ac_n "(cached) $ac_c" 1>&6
831 if test -n "$FIND"; then
832 ac_cv_prog_FIND="$FIND" # Let the user override the test.
834 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
835 for ac_dir in $PATH; do
836 test -z "$ac_dir" && ac_dir=.
837 if test -f $ac_dir/$ac_word; then
838 ac_cv_prog_FIND="$ac_prog"
845 FIND="$ac_cv_prog_FIND"
846 if test -n "$FIND"; then
847 echo "$ac_t""$FIND" 1>&6
849 echo "$ac_t""no" 1>&6
852 test -n "$FIND" && break
854 test -n "$FIND" || FIND="error"
860 # Extract the first word of "$ac_prog", so it can be a program name with args.
861 set dummy $ac_prog; ac_word=$2
862 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
863 echo "configure:864: checking for $ac_word" >&5
864 if eval "test \"`echo '$''{'ac_cv_prog_TAR'+set}'`\" = set"; then
865 echo $ac_n "(cached) $ac_c" 1>&6
867 if test -n "$TAR"; then
868 ac_cv_prog_TAR="$TAR" # Let the user override the test.
870 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
871 for ac_dir in $PATH; do
872 test -z "$ac_dir" && ac_dir=.
873 if test -f $ac_dir/$ac_word; then
874 ac_cv_prog_TAR="$ac_prog"
881 TAR="$ac_cv_prog_TAR"
882 if test -n "$TAR"; then
883 echo "$ac_t""$TAR" 1>&6
885 echo "$ac_t""no" 1>&6
888 test -n "$TAR" && break
890 test -n "$TAR" || TAR="error"
894 # Extract the first word of "$ac_prog", so it can be a program name with args.
895 set dummy $ac_prog; ac_word=$2
896 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
897 echo "configure:898: checking for $ac_word" >&5
898 if eval "test \"`echo '$''{'ac_cv_prog_BASH'+set}'`\" = set"; then
899 echo $ac_n "(cached) $ac_c" 1>&6
901 if test -n "$BASH"; then
902 ac_cv_prog_BASH="$BASH" # Let the user override the test.
904 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
905 for ac_dir in $PATH; do
906 test -z "$ac_dir" && ac_dir=.
907 if test -f $ac_dir/$ac_word; then
908 ac_cv_prog_BASH="$ac_prog"
915 BASH="$ac_cv_prog_BASH"
916 if test -n "$BASH"; then
917 echo "$ac_t""$BASH" 1>&6
919 echo "$ac_t""no" 1>&6
922 test -n "$BASH" && break
924 test -n "$BASH" || BASH="/bin/sh"
927 # Extract the first word of "${PYTHON:-python}", so it can be a program name with args.
928 set dummy ${PYTHON:-python}; ac_word=$2
929 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
930 echo "configure:931: checking for $ac_word" >&5
931 if eval "test \"`echo '$''{'ac_cv_path_PYTHON'+set}'`\" = set"; then
932 echo $ac_n "(cached) $ac_c" 1>&6
936 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
939 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
940 for ac_dir in $PATH; do
941 test -z "$ac_dir" && ac_dir=.
942 if test -f $ac_dir/$ac_word; then
943 ac_cv_path_PYTHON="$ac_dir/$ac_word"
948 test -z "$ac_cv_path_PYTHON" && ac_cv_path_PYTHON="-echo no python"
952 PYTHON="$ac_cv_path_PYTHON"
953 if test -n "$PYTHON"; then
954 echo "$ac_t""$PYTHON" 1>&6
956 echo "$ac_t""no" 1>&6
961 if test $MAKE != "error" ; then
962 $MAKE -v 2> /dev/null | grep GNU > /dev/null
966 echo "configure: warning: Please install *GNU* make" 1>&2
973 result="`echo \"$PYTHON\" | grep echo`"
974 if test "x$PYTHON" = "xerror" -o "x$result" != "x"; then
976 echo "configure: warning: can\'t find python. You should install Python" 1>&2
982 if test "x$OSTYPE" = "xcygwin32" || test "x$OSTYPE" = "xWindows_NT"; then
983 LN=cp # hard link does not work under cygnus-nt
984 LN_S='cp -r' # symbolic link does not work for native nt
991 # cygwin fixes all these things.
992 # it seems these were used because of dos-style TEXINPUTS and
993 # MFINPUTS needed for miktex.
994 # but this breaks parsing of all other cygwin/unix style paths.
996 # if your (mik)tex breaks, make a:
997 # /usr/local/bin/tex:
999 # TEXINPUTS=`cygpath -pw $TEXINPUTS` /texmf/miktex/bin/tex
1003 # /usr/local/bin/mf:
1005 # MFINPUTS=`cygpath -pw $MFINPUTS` /texmf/miktex/bin/mf
1007 # this way, you may have buildscripts/out/lilypond-profile
1008 # 'automatically' sourced from /usr/etc/profile.d/ too.
1012 INSTALL="\$(SHELL) \$(stepdir)/../bin/install-dot-exe.sh -c"
1019 INSTALL="\$(SHELL) \$(stepdir)/../bin/install-sh -c"
1026 cat >> confdefs.h <<EOF
1027 #define DIRSEP '${DIRSEP}'
1030 cat >> confdefs.h <<EOF
1031 #define PATHSEP '${PATHSEP}'
1039 if test "$datadir" = "\${prefix}/share"; then
1040 datadir='${prefix}/share/'$package
1042 DIR_DATADIR=${datadir}
1044 if test "$prefix" = "NONE"; then
1045 presome=${ac_default_prefix}
1047 DIR_DATADIR=`echo ${DIR_DATADIR} | sed "s!\\\${prefix}!$presome!"`
1050 cat >> confdefs.h <<EOF
1051 #define DIR_DATADIR "${DIR_DATADIR}"
1057 # For all packages except the StepMake package itself
1061 # Uncomment the configuration options your package needs.
1063 # -O is necessary to get inlining
1065 CXXFLAGS=${CXXFLAGS:-""}
1066 CFLAGS=${CFLAGS:-""}
1072 # Check whether --enable-checking or --disable-checking was given.
1073 if test "${enable_checking+set}" = set; then
1074 enableval="$enable_checking"
1075 checking_b=$enableval
1079 # actually, the default is: tja='-O' to get inlining...
1082 #actually, that sucks.
1083 # tja looks like a typo. Default is optimisation off. --hwn
1085 # Check whether --enable-optimise or --disable-optimise was given.
1086 if test "${enable_optimise+set}" = set; then
1087 enableval="$enable_optimise"
1088 optimise_b=$enableval
1092 # Check whether --enable-profiling or --disable-profiling was given.
1093 if test "${enable_profiling+set}" = set; then
1094 enableval="$enable_profiling"
1095 profile_b=$enableval
1099 # Check whether --enable-debugging or --disable-debugging was given.
1100 if test "${enable_debugging+set}" = set; then
1101 enableval="$enable_debugging"
1106 # Check whether --enable-mingw-prefix or --disable-mingw-prefix was given.
1107 if test "${enable_mingw_prefix+set}" = set; then
1108 enableval="$enable_mingw_prefix"
1109 MINGWPREFIX=$enableval
1115 if test "$printing_b" = no; then
1117 cat >> confdefs.h <<\EOF
1121 DEFINES="$DEFINES -DNPRINT"
1124 if test "$checking_b" = no; then
1126 cat >> confdefs.h <<\EOF
1130 DEFINES="$DEFINES -DNDEBUG"
1133 if test "$optimise_b" = yes; then
1134 OPTIMIZE="-O2 -finline-functions"
1137 if test "$optimise_b" = no; then
1141 if test $profile_b = yes; then
1143 OPTIMIZE="$OPTIMIZE -pg"
1146 if test $debug_b = yes; then
1147 OPTIMIZE="$OPTIMIZE -g"
1150 # however, C++ support in mingw32 v 0.1.4 is still flaky
1151 if test x$MINGWPREFIX != xno; then
1152 ICFLAGS="-I$MINGWPREFIX/include"
1153 ILDFLAGS="-$MINGWPREFIX/lib"
1156 # Extract the first word of "gcc", so it can be a program name with args.
1157 set dummy gcc; ac_word=$2
1158 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1159 echo "configure:1160: checking for $ac_word" >&5
1160 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1161 echo $ac_n "(cached) $ac_c" 1>&6
1163 if test -n "$CC"; then
1164 ac_cv_prog_CC="$CC" # Let the user override the test.
1166 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
1167 for ac_dir in $PATH; do
1168 test -z "$ac_dir" && ac_dir=.
1169 if test -f $ac_dir/$ac_word; then
1178 if test -n "$CC"; then
1179 echo "$ac_t""$CC" 1>&6
1181 echo "$ac_t""no" 1>&6
1184 if test -z "$CC"; then
1185 # Extract the first word of "cc", so it can be a program name with args.
1186 set dummy cc; ac_word=$2
1187 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1188 echo "configure:1189: checking for $ac_word" >&5
1189 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1190 echo $ac_n "(cached) $ac_c" 1>&6
1192 if test -n "$CC"; then
1193 ac_cv_prog_CC="$CC" # Let the user override the test.
1195 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
1197 for ac_dir in $PATH; do
1198 test -z "$ac_dir" && ac_dir=.
1199 if test -f $ac_dir/$ac_word; then
1200 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1201 ac_prog_rejected=yes
1209 if test $ac_prog_rejected = yes; then
1210 # We found a bogon in the path, so make sure we never use it.
1211 set dummy $ac_cv_prog_CC
1213 if test $# -gt 0; then
1214 # We chose a different compiler from the bogus one.
1215 # However, it has the same basename, so the bogon will be chosen
1216 # first if we set CC to just the basename; use the full file name.
1218 set dummy "$ac_dir/$ac_word" "$@"
1226 if test -n "$CC"; then
1227 echo "$ac_t""$CC" 1>&6
1229 echo "$ac_t""no" 1>&6
1232 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1235 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
1236 echo "configure:1237: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
1239 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1240 ac_cpp='$CPP $CPPFLAGS'
1241 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1242 ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1243 cross_compiling=$ac_cv_prog_cc_cross
1245 cat > conftest.$ac_ext <<EOF
1246 #line 1247 "configure"
1247 #include "confdefs.h"
1250 if { (eval echo configure:1251: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
1251 ac_cv_prog_cc_works=yes
1252 # If we can't run a trivial program, we are probably using a cross compiler.
1253 if (./conftest; exit) 2>/dev/null; then
1254 ac_cv_prog_cc_cross=no
1256 ac_cv_prog_cc_cross=yes
1259 echo "configure: failed program was:" >&5
1260 cat conftest.$ac_ext >&5
1261 ac_cv_prog_cc_works=no
1265 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
1266 if test $ac_cv_prog_cc_works = no; then
1267 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
1269 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
1270 echo "configure:1271: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
1271 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
1272 cross_compiling=$ac_cv_prog_cc_cross
1274 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1275 echo "configure:1276: checking whether we are using GNU C" >&5
1276 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1277 echo $ac_n "(cached) $ac_c" 1>&6
1279 cat > conftest.c <<EOF
1284 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1285: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1291 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1293 if test $ac_cv_prog_gcc = yes; then
1295 ac_test_CFLAGS="${CFLAGS+set}"
1296 ac_save_CFLAGS="$CFLAGS"
1298 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1299 echo "configure:1300: checking whether ${CC-cc} accepts -g" >&5
1300 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1301 echo $ac_n "(cached) $ac_c" 1>&6
1303 echo 'void f(){}' > conftest.c
1304 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1313 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1314 if test "$ac_test_CFLAGS" = set; then
1315 CFLAGS="$ac_save_CFLAGS"
1316 elif test $ac_cv_prog_cc_g = yes; then
1323 test "${CFLAGS+set}" = set || CFLAGS="-g"
1329 CFLAGS="$CFLAGS $OPTIMIZE"
1330 CPPFLAGS=${CPPFLAGS:-""}
1339 # AC_HAVE_HEADERS(limits.h malloc.h string.h unistd.h values.h)
1342 # Check whether --enable-printing or --disable-printing was given.
1343 if test "${enable_printing+set}" = set; then
1344 enableval="$enable_printing"
1345 printing_b=$enableval
1349 if test "$optimise_b" = yes; then
1350 DEFINES="$DEFINES -DSTRING_UTILS_INLINED"
1351 cat >> confdefs.h <<\EOF
1352 #define STRINGS_UTILS_INLINED 1
1357 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
1358 echo "configure:1359: checking how to run the C++ preprocessor" >&5
1359 if test -z "$CXXCPP"; then
1360 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
1361 echo $ac_n "(cached) $ac_c" 1>&6
1364 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1365 ac_cpp='$CXXCPP $CPPFLAGS'
1366 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1367 ac_link='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1368 cross_compiling=$ac_cv_prog_cxx_cross
1369 CXXCPP="${CXX-g++} -E"
1370 cat > conftest.$ac_ext <<EOF
1371 #line 1372 "configure"
1372 #include "confdefs.h"
1375 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1376 { (eval echo configure:1377: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1377 ac_err=`grep -v '^ *+' conftest.out`
1378 if test -z "$ac_err"; then
1382 echo "configure: failed program was:" >&5
1383 cat conftest.$ac_ext >&5
1388 ac_cv_prog_CXXCPP="$CXXCPP"
1391 CXXCPP="$ac_cv_prog_CXXCPP"
1392 echo "$ac_t""$CXXCPP" 1>&6
1396 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1397 ac_cpp='$CXXCPP $CPPFLAGS'
1398 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1399 ac_link='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1400 cross_compiling=$ac_cv_prog_cxx_cross
1402 for ac_prog in $CCC c++ g++ gcc CC cxx cc++
1404 # Extract the first word of "$ac_prog", so it can be a program name with args.
1405 set dummy $ac_prog; ac_word=$2
1406 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1407 echo "configure:1408: checking for $ac_word" >&5
1408 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
1409 echo $ac_n "(cached) $ac_c" 1>&6
1411 if test -n "$CXX"; then
1412 ac_cv_prog_CXX="$CXX" # Let the user override the test.
1414 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
1415 for ac_dir in $PATH; do
1416 test -z "$ac_dir" && ac_dir=.
1417 if test -f $ac_dir/$ac_word; then
1418 ac_cv_prog_CXX="$ac_prog"
1425 CXX="$ac_cv_prog_CXX"
1426 if test -n "$CXX"; then
1427 echo "$ac_t""$CXX" 1>&6
1429 echo "$ac_t""no" 1>&6
1432 test -n "$CXX" && break
1434 test -n "$CXX" || CXX="gcc"
1437 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
1438 echo "configure:1439: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
1441 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1442 ac_cpp='$CXXCPP $CPPFLAGS'
1443 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1444 ac_link='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1445 cross_compiling=$ac_cv_prog_cxx_cross
1447 cat > conftest.$ac_ext <<EOF
1448 #line 1449 "configure"
1449 #include "confdefs.h"
1452 if { (eval echo configure:1453: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
1453 ac_cv_prog_cxx_works=yes
1454 # If we can't run a trivial program, we are probably using a cross compiler.
1455 if (./conftest; exit) 2>/dev/null; then
1456 ac_cv_prog_cxx_cross=no
1458 ac_cv_prog_cxx_cross=yes
1461 echo "configure: failed program was:" >&5
1462 cat conftest.$ac_ext >&5
1463 ac_cv_prog_cxx_works=no
1467 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
1468 if test $ac_cv_prog_cxx_works = no; then
1469 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
1471 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
1472 echo "configure:1473: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
1473 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
1474 cross_compiling=$ac_cv_prog_cxx_cross
1476 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
1477 echo "configure:1478: checking whether we are using GNU C++" >&5
1478 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
1479 echo $ac_n "(cached) $ac_c" 1>&6
1481 cat > conftest.C <<EOF
1486 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1487: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1493 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
1495 if test $ac_cv_prog_gxx = yes; then
1497 ac_test_CXXFLAGS="${CXXFLAGS+set}"
1498 ac_save_CXXFLAGS="$CXXFLAGS"
1500 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
1501 echo "configure:1502: checking whether ${CXX-g++} accepts -g" >&5
1502 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
1503 echo $ac_n "(cached) $ac_c" 1>&6
1505 echo 'void f(){}' > conftest.cc
1506 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
1507 ac_cv_prog_cxx_g=yes
1515 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
1516 if test "$ac_test_CXXFLAGS" = set; then
1517 CXXFLAGS="$ac_save_CXXFLAGS"
1518 elif test $ac_cv_prog_cxx_g = yes; then
1525 test "${CXXFLAGS+set}" = set || CXXFLAGS="-g"
1529 ac_safe=`echo "FlexLexer.h" | sed 'y%./+-%__p_%'`
1530 echo $ac_n "checking for FlexLexer.h""... $ac_c" 1>&6
1531 echo "configure:1532: checking for FlexLexer.h" >&5
1532 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1533 echo $ac_n "(cached) $ac_c" 1>&6
1535 cat > conftest.$ac_ext <<EOF
1536 #line 1537 "configure"
1537 #include "confdefs.h"
1538 #include <FlexLexer.h>
1540 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1541 { (eval echo configure:1542: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1542 ac_err=`grep -v '^ *+' conftest.out`
1543 if test -z "$ac_err"; then
1545 eval "ac_cv_header_$ac_safe=yes"
1548 echo "configure: failed program was:" >&5
1549 cat conftest.$ac_ext >&5
1551 eval "ac_cv_header_$ac_safe=no"
1555 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
1556 echo "$ac_t""yes" 1>&6
1559 echo "$ac_t""no" 1>&6
1561 echo "configure: warning: can"\'"t find flex header. Please install Flex headers correctly" 1>&2
1567 CPPFLAGS="$CPPFLAGS $DEFINES"
1568 CXXFLAGS="$CXXFLAGS $OPTIMIZE"
1569 LDFLAGS=$EXTRA_LIBES
1578 # urg, egcs: how to check for egcs >= 1.1?
1579 if $CXX --version | grep '2\.8' > /dev/null ||
1580 $CXX --version | grep 'egcs' > /dev/null
1585 echo "configure: warning: can\'t find g++ 2.8 or egcs 1.1" 1>&2
1591 echo $ac_n "checking whether explicit instantiation is needed""... $ac_c" 1>&6
1592 echo "configure:1593: checking whether explicit instantiation is needed" >&5
1593 if eval "test \"`echo '$''{'lily_cv_need_explicit_instantiation'+set}'`\" = set"; then
1594 echo $ac_n "(cached) $ac_c" 1>&6
1596 cat > conftest.$ac_ext <<EOF
1597 #line 1598 "configure"
1598 #include "confdefs.h"
1600 template <class T> struct foo { static int baz; };
1601 template <class T> int foo<T>::baz = 1;
1604 return foo<int>::baz;
1607 if { (eval echo configure:1608: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
1609 lily_cv_need_explicit_instantiation=no
1611 echo "configure: failed program was:" >&5
1612 cat conftest.$ac_ext >&5
1614 lily_cv_need_explicit_instantiation=yes
1619 echo "$ac_t""$lily_cv_need_explicit_instantiation" 1>&6
1620 if test x"$lily_cv_need_explicit_instantiation"x = x"yes"x; then
1621 cat >> confdefs.h <<\EOF
1622 #define NEED_EXPLICIT_INSTANTIATION 1
1628 # ugh, automake: we want (and check for) bison
1629 for ac_prog in 'bison -y' byacc
1631 # Extract the first word of "$ac_prog", so it can be a program name with args.
1632 set dummy $ac_prog; ac_word=$2
1633 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1634 echo "configure:1635: checking for $ac_word" >&5
1635 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
1636 echo $ac_n "(cached) $ac_c" 1>&6
1638 if test -n "$YACC"; then
1639 ac_cv_prog_YACC="$YACC" # Let the user override the test.
1641 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
1642 for ac_dir in $PATH; do
1643 test -z "$ac_dir" && ac_dir=.
1644 if test -f $ac_dir/$ac_word; then
1645 ac_cv_prog_YACC="$ac_prog"
1652 YACC="$ac_cv_prog_YACC"
1653 if test -n "$YACC"; then
1654 echo "$ac_t""$YACC" 1>&6
1656 echo "$ac_t""no" 1>&6
1659 test -n "$YACC" && break
1661 test -n "$YACC" || YACC="yacc"
1663 # ugh, automake: we want (and check for) flex
1665 # urg: automake 1.3: hope this doesn't break 1.2 ac_cv_pro_lex_root hack...
1669 ac_cv_prog_lex_root=lex.yy
1671 for ac_prog in bison
1673 # Extract the first word of "$ac_prog", so it can be a program name with args.
1674 set dummy $ac_prog; ac_word=$2
1675 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1676 echo "configure:1677: checking for $ac_word" >&5
1677 if eval "test \"`echo '$''{'ac_cv_prog_BISON'+set}'`\" = set"; then
1678 echo $ac_n "(cached) $ac_c" 1>&6
1680 if test -n "$BISON"; then
1681 ac_cv_prog_BISON="$BISON" # Let the user override the test.
1683 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
1684 for ac_dir in $PATH; do
1685 test -z "$ac_dir" && ac_dir=.
1686 if test -f $ac_dir/$ac_word; then
1687 ac_cv_prog_BISON="$ac_prog"
1694 BISON="$ac_cv_prog_BISON"
1695 if test -n "$BISON"; then
1696 echo "$ac_t""$BISON" 1>&6
1698 echo "$ac_t""no" 1>&6
1701 test -n "$BISON" && break
1703 test -n "$BISON" || BISON="error"
1707 # Extract the first word of "$ac_prog", so it can be a program name with args.
1708 set dummy $ac_prog; ac_word=$2
1709 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1710 echo "configure:1711: checking for $ac_word" >&5
1711 if eval "test \"`echo '$''{'ac_cv_prog_FLEX'+set}'`\" = set"; then
1712 echo $ac_n "(cached) $ac_c" 1>&6
1714 if test -n "$FLEX"; then
1715 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
1717 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
1718 for ac_dir in $PATH; do
1719 test -z "$ac_dir" && ac_dir=.
1720 if test -f $ac_dir/$ac_word; then
1721 ac_cv_prog_FLEX="$ac_prog"
1728 FLEX="$ac_cv_prog_FLEX"
1729 if test -n "$FLEX"; then
1730 echo "$ac_t""$FLEX" 1>&6
1732 echo "$ac_t""no" 1>&6
1735 test -n "$FLEX" && break
1737 test -n "$FLEX" || FLEX="error"
1740 result="`echo \"$BISON\" | grep echo`"
1741 if test "x$BISON" = "xerror" -o "x$result" != "x"; then
1743 echo "configure: warning: can\'t find bison. Please install Bison" 1>&2
1749 result="`echo \"$FLEX\" | grep echo`"
1750 if test "x$FLEX" = "xerror" -o "x$result" != "x"; then
1752 echo "configure: warning: can\'t find flex. Please install Flex" 1>&2
1758 if test $BISON != "error"; then
1759 bison_version=`$BISON --version | sed 's/^.*version 1.//g'`
1760 if test `echo $bison_version | sed 's/\..*$//g'` -lt 25; then
1762 echo "configure: warning: Your bison is a bit old (1.$bison_version). You might have to install 1.25" 1>&2
1774 # Extract the first word of "$ac_prog", so it can be a program name with args.
1775 set dummy $ac_prog; ac_word=$2
1776 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1777 echo "configure:1778: checking for $ac_word" >&5
1778 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1779 echo $ac_n "(cached) $ac_c" 1>&6
1781 if test -n "$AR"; then
1782 ac_cv_prog_AR="$AR" # Let the user override the test.
1784 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
1785 for ac_dir in $PATH; do
1786 test -z "$ac_dir" && ac_dir=.
1787 if test -f $ac_dir/$ac_word; then
1788 ac_cv_prog_AR="$ac_prog"
1796 if test -n "$AR"; then
1797 echo "$ac_t""$AR" 1>&6
1799 echo "$ac_t""no" 1>&6
1802 test -n "$AR" && break
1804 test -n "$AR" || AR="error"
1806 # Extract the first word of "ranlib", so it can be a program name with args.
1807 set dummy ranlib; 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_RANLIB'+set}'`\" = set"; then
1811 echo $ac_n "(cached) $ac_c" 1>&6
1813 if test -n "$RANLIB"; then
1814 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1816 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
1817 for ac_dir in $PATH; do
1818 test -z "$ac_dir" && ac_dir=.
1819 if test -f $ac_dir/$ac_word; then
1820 ac_cv_prog_RANLIB="ranlib"
1825 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
1828 RANLIB="$ac_cv_prog_RANLIB"
1829 if test -n "$RANLIB"; then
1830 echo "$ac_t""$RANLIB" 1>&6
1832 echo "$ac_t""no" 1>&6
1839 # AC_STEPMAKE_LIBTOOL
1845 # Check whether --with-localedir or --without-localedir was given.
1846 if test "${with_localedir+set}" = set; then
1847 withval="$with_localedir"
1848 localedir=$with_localedir
1850 localedir='${prefix}/share/locale'
1854 # Check whether --with-lang or --without-lang was given.
1855 if test "${with_lang+set}" = set; then
1856 withval="$with_lang"
1863 echo $ac_n "checking language""... $ac_c" 1>&6
1864 echo "configure:1865: checking language" >&5
1866 En* | en* | Am* | am* | US* | us*)
1868 NL | nl | Du* | du* | Ned* | ned*)
1875 echo "$ac_t""$lang" 1>&6
1877 if test "$lang" = "unknown" ; then
1879 echo "configure: warning: $language not supported; available are: $ALL_LINGUAS" 1>&2
1886 DIR_LOCALEDIR=${localedir}
1888 if test "$prefix" = "NONE"; then
1889 presome=${ac_default_prefix}
1891 DIR_LOCALEDIR=`echo ${DIR_LOCALEDIR} | sed "s!\\\${prefix}!$presome!"`
1894 cat >> confdefs.h <<EOF
1895 #define DIR_LOCALEDIR "${DIR_LOCALEDIR}"
1899 echo $ac_n "checking for gettext in -lintl""... $ac_c" 1>&6
1900 echo "configure:1901: checking for gettext in -lintl" >&5
1901 ac_lib_var=`echo intl'_'gettext | sed 'y%./+-%__p_%'`
1902 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1903 echo $ac_n "(cached) $ac_c" 1>&6
1905 ac_save_LIBS="$LIBS"
1907 cat > conftest.$ac_ext <<EOF
1908 #line 1909 "configure"
1909 #include "confdefs.h"
1910 /* Override any gcc2 internal prototype to avoid an error. */
1914 /* We use char because int might match the return type of a gcc2
1915 builtin and then its argument prototype would still apply. */
1922 if { (eval echo configure:1923: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
1924 eval "ac_cv_lib_$ac_lib_var=yes"
1926 echo "configure: failed program was:" >&5
1927 cat conftest.$ac_ext >&5
1929 eval "ac_cv_lib_$ac_lib_var=no"
1932 LIBS="$ac_save_LIBS"
1935 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1936 echo "$ac_t""yes" 1>&6
1937 ac_tr_lib=HAVE_LIB`echo intl | sed -e 's/[^a-zA-Z0-9_]/_/g' \
1938 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
1939 cat >> confdefs.h <<EOF
1940 #define $ac_tr_lib 1
1946 echo "$ac_t""no" 1>&6
1949 for ac_func in gettext
1951 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
1952 echo "configure:1953: checking for $ac_func" >&5
1953 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
1954 echo $ac_n "(cached) $ac_c" 1>&6
1956 cat > conftest.$ac_ext <<EOF
1957 #line 1958 "configure"
1958 #include "confdefs.h"
1959 /* System header to define __stub macros and hopefully few prototypes,
1960 which can conflict with char $ac_func(); below. */
1962 /* Override any gcc2 internal prototype to avoid an error. */
1966 /* We use char because int might match the return type of a gcc2
1967 builtin and then its argument prototype would still apply. */
1972 /* The GNU C library defines this for functions which it implements
1973 to always fail with ENOSYS. Some functions are actually named
1974 something starting with __ and the normal name is an alias. */
1975 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
1983 if { (eval echo configure:1984: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
1985 eval "ac_cv_func_$ac_func=yes"
1987 echo "configure: failed program was:" >&5
1988 cat conftest.$ac_ext >&5
1990 eval "ac_cv_func_$ac_func=no"
1995 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
1996 echo "$ac_t""yes" 1>&6
1997 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
1998 cat >> confdefs.h <<EOF
1999 #define $ac_tr_func 1
2003 echo "$ac_t""no" 1>&6
2009 # AC_CHECK_PROGS(MSGFMT, msgfmt, -echo no msgfmt)
2010 for ac_prog in msgfmt
2012 # Extract the first word of "$ac_prog", so it can be a program name with args.
2013 set dummy $ac_prog; ac_word=$2
2014 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2015 echo "configure:2016: checking for $ac_word" >&5
2016 if eval "test \"`echo '$''{'ac_cv_prog_MSGFMT'+set}'`\" = set"; then
2017 echo $ac_n "(cached) $ac_c" 1>&6
2019 if test -n "$MSGFMT"; then
2020 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
2022 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
2023 for ac_dir in $PATH; do
2024 test -z "$ac_dir" && ac_dir=.
2025 if test -f $ac_dir/$ac_word; then
2026 ac_cv_prog_MSGFMT="$ac_prog"
2033 MSGFMT="$ac_cv_prog_MSGFMT"
2034 if test -n "$MSGFMT"; then
2035 echo "$ac_t""$MSGFMT" 1>&6
2037 echo "$ac_t""no" 1>&6
2040 test -n "$MSGFMT" && break
2042 test -n "$MSGFMT" || MSGFMT="\$(SHELL) \$(step-bindir)/fake-msgfmt.sh "
2044 echo $ac_n "checking whether msgfmt accepts -o""... $ac_c" 1>&6
2045 echo "configure:2046: checking whether msgfmt accepts -o" >&5
2046 msgfmt_output="`msgfmt -o bla 2>&1 | grep usage`"
2047 if test "$msgfmt_output" = ""; then
2048 echo "$ac_t""yes" 1>&6
2051 MSGFMT="\$(SHELL) \$(step-bindir)/fake-msgfmt.sh"
2052 echo "$ac_t""no" 1>&6
2054 echo "configure: warning: please install msgfmt from GNU gettext" 1>&2
2058 if test ! -n "$MSGFMT"; then
2060 echo "configure: warning: please install msgfmt from GNU gettext" 1>&2
2066 # urg, never know what names these teTeX guys will think up
2070 # Extract the first word of "$ac_prog", so it can be a program name with args.
2071 set dummy $ac_prog; ac_word=$2
2072 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2073 echo "configure:2074: checking for $ac_word" >&5
2074 if eval "test \"`echo '$''{'ac_cv_prog_METAFONT'+set}'`\" = set"; then
2075 echo $ac_n "(cached) $ac_c" 1>&6
2077 if test -n "$METAFONT"; then
2078 ac_cv_prog_METAFONT="$METAFONT" # Let the user override the test.
2080 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
2081 for ac_dir in $PATH; do
2082 test -z "$ac_dir" && ac_dir=.
2083 if test -f $ac_dir/$ac_word; then
2084 ac_cv_prog_METAFONT="$ac_prog"
2091 METAFONT="$ac_cv_prog_METAFONT"
2092 if test -n "$METAFONT"; then
2093 echo "$ac_t""$METAFONT" 1>&6
2095 echo "$ac_t""no" 1>&6
2098 test -n "$METAFONT" && break
2100 test -n "$METAFONT" || METAFONT="no"
2102 if test "x$METAFONT" = "xno"; then
2103 for ac_prog in mfont
2105 # Extract the first word of "$ac_prog", so it can be a program name with args.
2106 set dummy $ac_prog; ac_word=$2
2107 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2108 echo "configure:2109: checking for $ac_word" >&5
2109 if eval "test \"`echo '$''{'ac_cv_prog_MFONT'+set}'`\" = set"; then
2110 echo $ac_n "(cached) $ac_c" 1>&6
2112 if test -n "$MFONT"; then
2113 ac_cv_prog_MFONT="$MFONT" # Let the user override the test.
2115 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
2116 for ac_dir in $PATH; do
2117 test -z "$ac_dir" && ac_dir=.
2118 if test -f $ac_dir/$ac_word; then
2119 ac_cv_prog_MFONT="$ac_prog"
2126 MFONT="$ac_cv_prog_MFONT"
2127 if test -n "$MFONT"; then
2128 echo "$ac_t""$MFONT" 1>&6
2130 echo "$ac_t""no" 1>&6
2133 test -n "$MFONT" && break
2135 test -n "$MFONT" || MFONT="-echo no mf or mfont"
2142 # Extract the first word of "$ac_prog", so it can be a program name with args.
2143 set dummy $ac_prog; ac_word=$2
2144 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2145 echo "configure:2146: checking for $ac_word" >&5
2146 if eval "test \"`echo '$''{'ac_cv_prog_METAPOST'+set}'`\" = set"; then
2147 echo $ac_n "(cached) $ac_c" 1>&6
2149 if test -n "$METAPOST"; then
2150 ac_cv_prog_METAPOST="$METAPOST" # Let the user override the test.
2152 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
2153 for ac_dir in $PATH; do
2154 test -z "$ac_dir" && ac_dir=.
2155 if test -f $ac_dir/$ac_word; then
2156 ac_cv_prog_METAPOST="$ac_prog"
2163 METAPOST="$ac_cv_prog_METAPOST"
2164 if test -n "$METAPOST"; then
2165 echo "$ac_t""$METAPOST" 1>&6
2167 echo "$ac_t""no" 1>&6
2170 test -n "$METAPOST" && break
2172 test -n "$METAPOST" || METAPOST="no"
2174 if test "x$METAPOST" = "xno"; then
2175 for ac_prog in mpost
2177 # Extract the first word of "$ac_prog", so it can be a program name with args.
2178 set dummy $ac_prog; ac_word=$2
2179 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2180 echo "configure:2181: checking for $ac_word" >&5
2181 if eval "test \"`echo '$''{'ac_cv_prog_MPOST'+set}'`\" = set"; then
2182 echo $ac_n "(cached) $ac_c" 1>&6
2184 if test -n "$MPOST"; then
2185 ac_cv_prog_MPOST="$MPOST" # Let the user override the test.
2187 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
2188 for ac_dir in $PATH; do
2189 test -z "$ac_dir" && ac_dir=.
2190 if test -f $ac_dir/$ac_word; then
2191 ac_cv_prog_MPOST="$ac_prog"
2198 MPOST="$ac_cv_prog_MPOST"
2199 if test -n "$MPOST"; then
2200 echo "$ac_t""$MPOST" 1>&6
2202 echo "$ac_t""no" 1>&6
2205 test -n "$MPOST" && break
2207 test -n "$MPOST" || MPOST="-echo no mp or mpost"
2212 for ac_prog in inimf
2214 # Extract the first word of "$ac_prog", so it can be a program name with args.
2215 set dummy $ac_prog; ac_word=$2
2216 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2217 echo "configure:2218: checking for $ac_word" >&5
2218 if eval "test \"`echo '$''{'ac_cv_prog_INIMETAFONT'+set}'`\" = set"; then
2219 echo $ac_n "(cached) $ac_c" 1>&6
2221 if test -n "$INIMETAFONT"; then
2222 ac_cv_prog_INIMETAFONT="$INIMETAFONT" # Let the user override the test.
2224 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
2225 for ac_dir in $PATH; do
2226 test -z "$ac_dir" && ac_dir=.
2227 if test -f $ac_dir/$ac_word; then
2228 ac_cv_prog_INIMETAFONT="$ac_prog"
2235 INIMETAFONT="$ac_cv_prog_INIMETAFONT"
2236 if test -n "$INIMETAFONT"; then
2237 echo "$ac_t""$INIMETAFONT" 1>&6
2239 echo "$ac_t""no" 1>&6
2242 test -n "$INIMETAFONT" && break
2244 test -n "$INIMETAFONT" || INIMETAFONT="no"
2246 if test "x$INIMETAFONT" = "xno"; then
2247 for ac_prog in inimfont
2249 # Extract the first word of "$ac_prog", so it can be a program name with args.
2250 set dummy $ac_prog; ac_word=$2
2251 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2252 echo "configure:2253: checking for $ac_word" >&5
2253 if eval "test \"`echo '$''{'ac_cv_prog_INIMFONT'+set}'`\" = set"; then
2254 echo $ac_n "(cached) $ac_c" 1>&6
2256 if test -n "$INIMFONT"; then
2257 ac_cv_prog_INIMFONT="$INIMFONT" # Let the user override the test.
2259 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
2260 for ac_dir in $PATH; do
2261 test -z "$ac_dir" && ac_dir=.
2262 if test -f $ac_dir/$ac_word; then
2263 ac_cv_prog_INIMFONT="$ac_prog"
2270 INIMFONT="$ac_cv_prog_INIMFONT"
2271 if test -n "$INIMFONT"; then
2272 echo "$ac_t""$INIMFONT" 1>&6
2274 echo "$ac_t""no" 1>&6
2277 test -n "$INIMFONT" && break
2279 test -n "$INIMFONT" || INIMFONT="-echo no inimf or inimfont"
2281 INIMETAFONT=$INIMFONT
2284 for ac_prog in inimp
2286 # Extract the first word of "$ac_prog", so it can be a program name with args.
2287 set dummy $ac_prog; ac_word=$2
2288 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2289 echo "configure:2290: checking for $ac_word" >&5
2290 if eval "test \"`echo '$''{'ac_cv_prog_INIMETAPOST'+set}'`\" = set"; then
2291 echo $ac_n "(cached) $ac_c" 1>&6
2293 if test -n "$INIMETAPOST"; then
2294 ac_cv_prog_INIMETAPOST="$INIMETAPOST" # Let the user override the test.
2296 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
2297 for ac_dir in $PATH; do
2298 test -z "$ac_dir" && ac_dir=.
2299 if test -f $ac_dir/$ac_word; then
2300 ac_cv_prog_INIMETAPOST="$ac_prog"
2307 INIMETAPOST="$ac_cv_prog_INIMETAPOST"
2308 if test -n "$INIMETAPOST"; then
2309 echo "$ac_t""$INIMETAPOST" 1>&6
2311 echo "$ac_t""no" 1>&6
2314 test -n "$INIMETAPOST" && break
2316 test -n "$INIMETAPOST" || INIMETAPOST="no"
2318 if test "x$INIMETAPOST" = "xno"; then
2319 for ac_prog in inimpost
2321 # Extract the first word of "$ac_prog", so it can be a program name with args.
2322 set dummy $ac_prog; ac_word=$2
2323 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2324 echo "configure:2325: checking for $ac_word" >&5
2325 if eval "test \"`echo '$''{'ac_cv_prog_INIMPOST'+set}'`\" = set"; then
2326 echo $ac_n "(cached) $ac_c" 1>&6
2328 if test -n "$INIMPOST"; then
2329 ac_cv_prog_INIMPOST="$INIMPOST" # Let the user override the test.
2331 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
2332 for ac_dir in $PATH; do
2333 test -z "$ac_dir" && ac_dir=.
2334 if test -f $ac_dir/$ac_word; then
2335 ac_cv_prog_INIMPOST="$ac_prog"
2342 INIMPOST="$ac_cv_prog_INIMPOST"
2343 if test -n "$INIMPOST"; then
2344 echo "$ac_t""$INIMPOST" 1>&6
2346 echo "$ac_t""no" 1>&6
2349 test -n "$INIMPOST" && break
2351 test -n "$INIMPOST" || INIMPOST="-echo no inimp or inimpost"
2353 INIMETAPOST=$INIMPOST
2361 # AC_STEPMAKE_TEXMF_DIRS
2363 if test "x$YODL" = "x"; then
2364 for ac_prog in striproff
2366 # Extract the first word of "$ac_prog", so it can be a program name with args.
2367 set dummy $ac_prog; ac_word=$2
2368 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2369 echo "configure:2370: checking for $ac_word" >&5
2370 if eval "test \"`echo '$''{'ac_cv_prog_STRIPROFF'+set}'`\" = set"; then
2371 echo $ac_n "(cached) $ac_c" 1>&6
2373 if test -n "$STRIPROFF"; then
2374 ac_cv_prog_STRIPROFF="$STRIPROFF" # Let the user override the test.
2376 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
2377 for ac_dir in $PATH; do
2378 test -z "$ac_dir" && ac_dir=.
2379 if test -f $ac_dir/$ac_word; then
2380 ac_cv_prog_STRIPROFF="$ac_prog"
2387 STRIPROFF="$ac_cv_prog_STRIPROFF"
2388 if test -n "$STRIPROFF"; then
2389 echo "$ac_t""$STRIPROFF" 1>&6
2391 echo "$ac_t""no" 1>&6
2394 test -n "$STRIPROFF" && break
2396 test -n "$STRIPROFF" || STRIPROFF="-echo no striproff"
2400 # Extract the first word of "$ac_prog", so it can be a program name with args.
2401 set dummy $ac_prog; ac_word=$2
2402 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2403 echo "configure:2404: checking for $ac_word" >&5
2404 if eval "test \"`echo '$''{'ac_cv_prog_YODL'+set}'`\" = set"; then
2405 echo $ac_n "(cached) $ac_c" 1>&6
2407 if test -n "$YODL"; then
2408 ac_cv_prog_YODL="$YODL" # Let the user override the test.
2410 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
2411 for ac_dir in $PATH; do
2412 test -z "$ac_dir" && ac_dir=.
2413 if test -f $ac_dir/$ac_word; then
2414 ac_cv_prog_YODL="$ac_prog"
2421 YODL="$ac_cv_prog_YODL"
2422 if test -n "$YODL"; then
2423 echo "$ac_t""$YODL" 1>&6
2425 echo "$ac_t""no" 1>&6
2428 test -n "$YODL" && break
2430 test -n "$YODL" || YODL="-echo no yodl"
2432 for ac_prog in yodl2html
2434 # Extract the first word of "$ac_prog", so it can be a program name with args.
2435 set dummy $ac_prog; ac_word=$2
2436 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2437 echo "configure:2438: checking for $ac_word" >&5
2438 if eval "test \"`echo '$''{'ac_cv_prog_YODL2HTML'+set}'`\" = set"; then
2439 echo $ac_n "(cached) $ac_c" 1>&6
2441 if test -n "$YODL2HTML"; then
2442 ac_cv_prog_YODL2HTML="$YODL2HTML" # Let the user override the test.
2444 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
2445 for ac_dir in $PATH; do
2446 test -z "$ac_dir" && ac_dir=.
2447 if test -f $ac_dir/$ac_word; then
2448 ac_cv_prog_YODL2HTML="$ac_prog"
2455 YODL2HTML="$ac_cv_prog_YODL2HTML"
2456 if test -n "$YODL2HTML"; then
2457 echo "$ac_t""$YODL2HTML" 1>&6
2459 echo "$ac_t""no" 1>&6
2462 test -n "$YODL2HTML" && break
2464 test -n "$YODL2HTML" || YODL2HTML="-echo no yodl"
2466 for ac_prog in yodl2latex
2468 # Extract the first word of "$ac_prog", so it can be a program name with args.
2469 set dummy $ac_prog; ac_word=$2
2470 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2471 echo "configure:2472: checking for $ac_word" >&5
2472 if eval "test \"`echo '$''{'ac_cv_prog_YODL2LATEX'+set}'`\" = set"; then
2473 echo $ac_n "(cached) $ac_c" 1>&6
2475 if test -n "$YODL2LATEX"; then
2476 ac_cv_prog_YODL2LATEX="$YODL2LATEX" # Let the user override the test.
2478 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
2479 for ac_dir in $PATH; do
2480 test -z "$ac_dir" && ac_dir=.
2481 if test -f $ac_dir/$ac_word; then
2482 ac_cv_prog_YODL2LATEX="$ac_prog"
2489 YODL2LATEX="$ac_cv_prog_YODL2LATEX"
2490 if test -n "$YODL2LATEX"; then
2491 echo "$ac_t""$YODL2LATEX" 1>&6
2493 echo "$ac_t""no" 1>&6
2496 test -n "$YODL2LATEX" && break
2499 for ac_prog in yodl2man
2501 # Extract the first word of "$ac_prog", so it can be a program name with args.
2502 set dummy $ac_prog; ac_word=$2
2503 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2504 echo "configure:2505: checking for $ac_word" >&5
2505 if eval "test \"`echo '$''{'ac_cv_prog_YODL2MAN'+set}'`\" = set"; then
2506 echo $ac_n "(cached) $ac_c" 1>&6
2508 if test -n "$YODL2MAN"; then
2509 ac_cv_prog_YODL2MAN="$YODL2MAN" # Let the user override the test.
2511 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
2512 for ac_dir in $PATH; do
2513 test -z "$ac_dir" && ac_dir=.
2514 if test -f $ac_dir/$ac_word; then
2515 ac_cv_prog_YODL2MAN="$ac_prog"
2522 YODL2MAN="$ac_cv_prog_YODL2MAN"
2523 if test -n "$YODL2MAN"; then
2524 echo "$ac_t""$YODL2MAN" 1>&6
2526 echo "$ac_t""no" 1>&6
2529 test -n "$YODL2MAN" && break
2531 test -n "$YODL2MAN" || YODL2MAN="-echo no yodl"
2533 for ac_prog in yodl2msless
2535 # Extract the first word of "$ac_prog", so it can be a program name with args.
2536 set dummy $ac_prog; ac_word=$2
2537 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2538 echo "configure:2539: checking for $ac_word" >&5
2539 if eval "test \"`echo '$''{'ac_cv_prog_YODL2MSLESS'+set}'`\" = set"; then
2540 echo $ac_n "(cached) $ac_c" 1>&6
2542 if test -n "$YODL2MSLESS"; then
2543 ac_cv_prog_YODL2MSLESS="$YODL2MSLESS" # Let the user override the test.
2545 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
2546 for ac_dir in $PATH; do
2547 test -z "$ac_dir" && ac_dir=.
2548 if test -f $ac_dir/$ac_word; then
2549 ac_cv_prog_YODL2MSLESS="$ac_prog"
2556 YODL2MSLESS="$ac_cv_prog_YODL2MSLESS"
2557 if test -n "$YODL2MSLESS"; then
2558 echo "$ac_t""$YODL2MSLESS" 1>&6
2560 echo "$ac_t""no" 1>&6
2563 test -n "$YODL2MSLESS" && break
2565 test -n "$YODL2MSLESS" || YODL2MSLESS="-echo no yodl"
2567 for ac_prog in yodl2texinfo
2569 # Extract the first word of "$ac_prog", so it can be a program name with args.
2570 set dummy $ac_prog; ac_word=$2
2571 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2572 echo "configure:2573: checking for $ac_word" >&5
2573 if eval "test \"`echo '$''{'ac_cv_prog_YODL2TEXINFO'+set}'`\" = set"; then
2574 echo $ac_n "(cached) $ac_c" 1>&6
2576 if test -n "$YODL2TEXINFO"; then
2577 ac_cv_prog_YODL2TEXINFO="$YODL2TEXINFO" # Let the user override the test.
2579 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
2580 for ac_dir in $PATH; do
2581 test -z "$ac_dir" && ac_dir=.
2582 if test -f $ac_dir/$ac_word; then
2583 ac_cv_prog_YODL2TEXINFO="$ac_prog"
2590 YODL2TEXINFO="$ac_cv_prog_YODL2TEXINFO"
2591 if test -n "$YODL2TEXINFO"; then
2592 echo "$ac_t""$YODL2TEXINFO" 1>&6
2594 echo "$ac_t""no" 1>&6
2597 test -n "$YODL2TEXINFO" && break
2599 test -n "$YODL2TEXINFO" || YODL2TEXINFO="-echo no yodl"
2601 for ac_prog in yodl2txt
2603 # Extract the first word of "$ac_prog", so it can be a program name with args.
2604 set dummy $ac_prog; ac_word=$2
2605 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2606 echo "configure:2607: checking for $ac_word" >&5
2607 if eval "test \"`echo '$''{'ac_cv_prog_YODL2TXT'+set}'`\" = set"; then
2608 echo $ac_n "(cached) $ac_c" 1>&6
2610 if test -n "$YODL2TXT"; then
2611 ac_cv_prog_YODL2TXT="$YODL2TXT" # Let the user override the test.
2613 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
2614 for ac_dir in $PATH; do
2615 test -z "$ac_dir" && ac_dir=.
2616 if test -f $ac_dir/$ac_word; then
2617 ac_cv_prog_YODL2TXT="$ac_prog"
2624 YODL2TXT="$ac_cv_prog_YODL2TXT"
2625 if test -n "$YODL2TXT"; then
2626 echo "$ac_t""$YODL2TXT" 1>&6
2628 echo "$ac_t""no" 1>&6
2631 test -n "$YODL2TXT" && break
2633 test -n "$YODL2TXT" || YODL2TXT="-echo no yodl"
2635 YODL2LESS_DIR='$(bindir)/'
2646 export STRIPROFF YODL YODL2HTML YODL2LATEX YODL2MAN YODL2MSLESS YODL2TEXINFO YODL2TXT
2648 if test "x$YODL" = "-echo no yodl"; then
2650 echo "configure: warning: Did not find YODL (Yodl is Yet Oneother Document Language, see http://www.cs.uu.nl/~hanwen/yodl)" 1>&2
2656 # on some systems, -lguile succeeds for guile-1.3
2657 # others need readline, dl (or even more)
2658 # urg, must check for different functions in libguile
2659 # to force new check iso reading from cache
2661 # gh_scm2doubles,gh_doubles2scm are new in 1.3
2663 ## The GUILE_FLAGS macro.
2664 ## First, let's just see if we can find Guile at all.
2665 echo $ac_n "checking for Guile""... $ac_c" 1>&6
2666 echo "configure:2667: checking for Guile" >&5
2667 guile-config link > /dev/null || {
2668 echo "configure: cannot find guile-config; is Guile installed?" 1>&2
2671 GUILE_CFLAGS="`guile-config compile`"
2672 GUILE_LDFLAGS="`guile-config link`"
2675 echo "$ac_t""yes" 1>&6
2677 echo $ac_n "checking for gh_scm2doubles in -lguile""... $ac_c" 1>&6
2678 echo "configure:2679: checking for gh_scm2doubles in -lguile" >&5
2679 ac_lib_var=`echo guile'_'gh_scm2doubles | sed 'y%./+-%__p_%'`
2680 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2681 echo $ac_n "(cached) $ac_c" 1>&6
2683 ac_save_LIBS="$LIBS"
2684 LIBS="-lguile $GUILE_LDFLAGS $LIBS"
2685 cat > conftest.$ac_ext <<EOF
2686 #line 2687 "configure"
2687 #include "confdefs.h"
2688 /* Override any gcc2 internal prototype to avoid an error. */
2692 /* We use char because int might match the return type of a gcc2
2693 builtin and then its argument prototype would still apply. */
2694 char gh_scm2doubles();
2700 if { (eval echo configure:2701: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
2702 eval "ac_cv_lib_$ac_lib_var=yes"
2704 echo "configure: failed program was:" >&5
2705 cat conftest.$ac_ext >&5
2707 eval "ac_cv_lib_$ac_lib_var=no"
2710 LIBS="$ac_save_LIBS"
2713 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2714 echo "$ac_t""yes" 1>&6
2715 LIBS="`echo $GUILE_LDFLAGS | sed -e 's/-L[/-_a-zA-Z0-9]\+ //g'` $LIBS"
2716 cat >> confdefs.h <<\EOF
2717 #define HAVE_LIBGUILE 1
2721 echo "$ac_t""no" 1>&6
2724 if test "$ac_cv_lib_guile_gh_scm2doubles" != yes ; then
2726 echo "configure: warning: You should install guile 1.3 or newer" 1>&2
2733 echo $ac_n "checking for 8-bit clean memcmp""... $ac_c" 1>&6
2734 echo "configure:2735: checking for 8-bit clean memcmp" >&5
2735 if eval "test \"`echo '$''{'ac_cv_func_memcmp_clean'+set}'`\" = set"; then
2736 echo $ac_n "(cached) $ac_c" 1>&6
2738 if test "$cross_compiling" = yes; then
2739 ac_cv_func_memcmp_clean=no
2741 cat > conftest.$ac_ext <<EOF
2742 #line 2743 "configure"
2743 #include "confdefs.h"
2745 extern "C" void exit(int);
2750 char c0 = 0x40, c1 = 0x80, c2 = 0x81;
2751 exit(memcmp(&c0, &c2, 1) < 0 && memcmp(&c1, &c2, 1) < 0 ? 0 : 1);
2755 if { (eval echo configure:2756: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
2757 ac_cv_func_memcmp_clean=yes
2759 echo "configure: failed program was:" >&5
2760 cat conftest.$ac_ext >&5
2762 ac_cv_func_memcmp_clean=no
2769 echo "$ac_t""$ac_cv_func_memcmp_clean" 1>&6
2770 test $ac_cv_func_memcmp_clean = no && LIBOBJS="$LIBOBJS memcmp.o"
2772 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
2773 echo "configure:2774: checking for vprintf" >&5
2774 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
2775 echo $ac_n "(cached) $ac_c" 1>&6
2777 cat > conftest.$ac_ext <<EOF
2778 #line 2779 "configure"
2779 #include "confdefs.h"
2780 /* System header to define __stub macros and hopefully few prototypes,
2781 which can conflict with char vprintf(); below. */
2783 /* Override any gcc2 internal prototype to avoid an error. */
2787 /* We use char because int might match the return type of a gcc2
2788 builtin and then its argument prototype would still apply. */
2793 /* The GNU C library defines this for functions which it implements
2794 to always fail with ENOSYS. Some functions are actually named
2795 something starting with __ and the normal name is an alias. */
2796 #if defined (__stub_vprintf) || defined (__stub___vprintf)
2804 if { (eval echo configure:2805: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
2806 eval "ac_cv_func_vprintf=yes"
2808 echo "configure: failed program was:" >&5
2809 cat conftest.$ac_ext >&5
2811 eval "ac_cv_func_vprintf=no"
2816 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
2817 echo "$ac_t""yes" 1>&6
2818 cat >> confdefs.h <<\EOF
2819 #define HAVE_VPRINTF 1
2823 echo "$ac_t""no" 1>&6
2826 if test "$ac_cv_func_vprintf" != yes; then
2827 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
2828 echo "configure:2829: checking for _doprnt" >&5
2829 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
2830 echo $ac_n "(cached) $ac_c" 1>&6
2832 cat > conftest.$ac_ext <<EOF
2833 #line 2834 "configure"
2834 #include "confdefs.h"
2835 /* System header to define __stub macros and hopefully few prototypes,
2836 which can conflict with char _doprnt(); below. */
2838 /* Override any gcc2 internal prototype to avoid an error. */
2842 /* We use char because int might match the return type of a gcc2
2843 builtin and then its argument prototype would still apply. */
2848 /* The GNU C library defines this for functions which it implements
2849 to always fail with ENOSYS. Some functions are actually named
2850 something starting with __ and the normal name is an alias. */
2851 #if defined (__stub__doprnt) || defined (__stub____doprnt)
2859 if { (eval echo configure:2860: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
2861 eval "ac_cv_func__doprnt=yes"
2863 echo "configure: failed program was:" >&5
2864 cat conftest.$ac_ext >&5
2866 eval "ac_cv_func__doprnt=no"
2871 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
2872 echo "$ac_t""yes" 1>&6
2873 cat >> confdefs.h <<\EOF
2874 #define HAVE_DOPRNT 1
2878 echo "$ac_t""no" 1>&6
2883 for ac_func in memmem snprintf vsnprintf gettext
2885 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
2886 echo "configure:2887: checking for $ac_func" >&5
2887 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
2888 echo $ac_n "(cached) $ac_c" 1>&6
2890 cat > conftest.$ac_ext <<EOF
2891 #line 2892 "configure"
2892 #include "confdefs.h"
2893 /* System header to define __stub macros and hopefully few prototypes,
2894 which can conflict with char $ac_func(); below. */
2896 /* Override any gcc2 internal prototype to avoid an error. */
2900 /* We use char because int might match the return type of a gcc2
2901 builtin and then its argument prototype would still apply. */
2906 /* The GNU C library defines this for functions which it implements
2907 to always fail with ENOSYS. Some functions are actually named
2908 something starting with __ and the normal name is an alias. */
2909 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
2917 if { (eval echo configure:2918: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
2919 eval "ac_cv_func_$ac_func=yes"
2921 echo "configure: failed program was:" >&5
2922 cat conftest.$ac_ext >&5
2924 eval "ac_cv_func_$ac_func=no"
2929 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
2930 echo "$ac_t""yes" 1>&6
2931 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
2932 cat >> confdefs.h <<EOF
2933 #define $ac_tr_func 1
2937 echo "$ac_t""no" 1>&6
2942 cat >> confdefs.h <<EOF
2943 #define TOPLEVEL_VERSION "${FULL_VERSION}"
2946 cat >> confdefs.h <<EOF
2947 #define FLOWER_VERSION "${FULL_FLOWER_VERSION}"
2951 for ac_prog in makeinfo
2953 # Extract the first word of "$ac_prog", so it can be a program name with args.
2954 set dummy $ac_prog; ac_word=$2
2955 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2956 echo "configure:2957: checking for $ac_word" >&5
2957 if eval "test \"`echo '$''{'ac_cv_prog_MAKEINFO'+set}'`\" = set"; then
2958 echo $ac_n "(cached) $ac_c" 1>&6
2960 if test -n "$MAKEINFO"; then
2961 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
2963 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
2964 for ac_dir in $PATH; do
2965 test -z "$ac_dir" && ac_dir=.
2966 if test -f $ac_dir/$ac_word; then
2967 ac_cv_prog_MAKEINFO="$ac_prog"
2974 MAKEINFO="$ac_cv_prog_MAKEINFO"
2975 if test -n "$MAKEINFO"; then
2976 echo "$ac_t""$MAKEINFO" 1>&6
2978 echo "$ac_t""no" 1>&6
2981 test -n "$MAKEINFO" && break
2983 test -n "$MAKEINFO" || MAKEINFO="error"
2986 result="`echo \"$YODL2TEXINFO\" | grep echo`"
2987 if test "x$YODL2TEXINFO" = "xerror" -o "x$result" != "x"; then
2989 echo "configure: warning: can\'t find yodl. You should install Yodl 1.30.2 or newer" 1>&2
2996 echo $ac_n "checking Checking TFM directory""... $ac_c" 1>&6
2997 echo "configure:2998: checking Checking TFM directory" >&5
2998 CMR10=`kpsewhich tfm cmr10.tfm`
2999 TEX_TFMDIR=`dirname $CMR10`
3000 echo "$ac_t""$TEX_TFMDIR" 1>&6
3005 cat > confcache <<\EOF
3006 # This file is a shell script that caches the results of configure
3007 # tests run on this system so they can be shared between configure
3008 # scripts and configure runs. It is not useful on other systems.
3009 # If it contains results you don't want to keep, you may remove or edit it.
3011 # By default, configure uses ./config.cache as the cache file,
3012 # creating it if it does not exist already. You can give configure
3013 # the --cache-file=FILE option to use a different cache file; that is
3014 # what configure does when it calls configure scripts in
3015 # subdirectories, so they share the cache.
3016 # Giving --cache-file=/dev/null disables caching, for debugging configure.
3017 # config.status only pays attention to the cache file if you give it the
3018 # --recheck option to rerun configure.
3021 # The following way of writing the cache mishandles newlines in values,
3022 # but we know of no workaround that is simple, portable, and efficient.
3023 # So, don't put newlines in cache variables' values.
3024 # Ultrix sh set writes to stderr and can't be redirected directly,
3025 # and sets the high bit in the cache file unless we assign to the vars.
3027 case `(ac_space=' '; set) 2>&1` in
3029 # `set' does not quote correctly, so add quotes (double-quote substitution
3030 # turns \\\\ into \\, and sed turns \\ into \).
3032 -e "s/'/'\\\\''/g" \
3033 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
3036 # `set' quotes correctly as required by POSIX, so do not add quotes.
3037 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
3040 if cmp -s $cache_file confcache; then
3043 if test -w $cache_file; then
3044 echo "updating cache $cache_file"
3045 cat confcache > $cache_file
3047 echo "not updating unwritable cache $cache_file"
3052 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
3054 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3055 # Let make expand exec_prefix.
3056 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3058 # Any assignment to VPATH causes Sun make to only execute
3059 # the first set of double-colon rules, so remove it if not needed.
3060 # If there is a colon in the path, we need to keep it.
3061 if test "x$srcdir" = x.; then
3062 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
3065 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
3067 DEFS=-DHAVE_CONFIG_H
3069 # Without the "./", some shells look in PATH for config.status.
3070 : ${CONFIG_STATUS=./config.status}
3072 echo creating $CONFIG_STATUS
3073 rm -f $CONFIG_STATUS
3074 cat > $CONFIG_STATUS <<EOF
3076 # Generated automatically by configure.
3077 # Run this file to recreate the current configuration.
3078 # This directory was configured as follows,
3079 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
3081 # $0 $ac_configure_args
3083 # Compiler output produced by configure, useful for debugging
3084 # configure, is in ./config.log if it exists.
3086 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
3089 case "\$ac_option" in
3090 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3091 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
3092 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
3093 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
3094 echo "$CONFIG_STATUS generated by autoconf version 2.12"
3096 -help | --help | --hel | --he | --h)
3097 echo "\$ac_cs_usage"; exit 0 ;;
3098 *) echo "\$ac_cs_usage"; exit 1 ;;
3102 ac_given_srcdir=$srcdir
3104 trap 'rm -fr `echo "$CONFIGFILE.make:config.make.in $CONFIGFILE.h:config.hh.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
3106 cat >> $CONFIG_STATUS <<EOF
3108 # Protect against being on the right side of a sed subst in config.status.
3109 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
3110 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
3113 s%@CFLAGS@%$CFLAGS%g
3114 s%@CPPFLAGS@%$CPPFLAGS%g
3115 s%@CXXFLAGS@%$CXXFLAGS%g
3117 s%@LDFLAGS@%$LDFLAGS%g
3119 s%@exec_prefix@%$exec_prefix%g
3120 s%@prefix@%$prefix%g
3121 s%@program_transform_name@%$program_transform_name%g
3122 s%@bindir@%$bindir%g
3123 s%@sbindir@%$sbindir%g
3124 s%@libexecdir@%$libexecdir%g
3125 s%@datadir@%$datadir%g
3126 s%@sysconfdir@%$sysconfdir%g
3127 s%@sharedstatedir@%$sharedstatedir%g
3128 s%@localstatedir@%$localstatedir%g
3129 s%@libdir@%$libdir%g
3130 s%@includedir@%$includedir%g
3131 s%@oldincludedir@%$oldincludedir%g
3132 s%@infodir@%$infodir%g
3133 s%@mandir@%$mandir%g
3134 s%@stepmake@%$stepmake%g
3135 s%@package@%$package%g
3136 s%@PACKAGE@%$PACKAGE%g
3137 s%@PACKAGE_NAME@%$PACKAGE_NAME%g
3138 s%@package_depth@%$package_depth%g
3139 s%@AUTOGENERATE@%$AUTOGENERATE%g
3140 s%@absolute_builddir@%$absolute_builddir%g
3141 s%@STATE_VECTOR@%$STATE_VECTOR%g
3142 s%@CONFIGSUFFIX@%$CONFIGSUFFIX%g
3144 s%@host_alias@%$host_alias%g
3145 s%@host_cpu@%$host_cpu%g
3146 s%@host_vendor@%$host_vendor%g
3147 s%@host_os@%$host_os%g
3152 s%@PYTHON@%$PYTHON%g
3153 s%@DOTEXE@%$DOTEXE%g
3157 s%@INSTALL@%$INSTALL%g
3158 s%@PATHSEP@%$PATHSEP%g
3159 s%@DIRSEP@%$DIRSEP%g
3160 s%@DIR_DATADIR@%$DIR_DATADIR%g
3161 s%@subdirs@%$subdirs%g
3164 s%@ICFLAGS@%$ICFLAGS%g
3165 s%@ILDFLAGS@%$ILDFLAGS%g
3166 s%@DEFINES@%$DEFINES%g
3167 s%@EXTRA_LIBES@%$EXTRA_LIBES%g
3169 s%@CXXCPP@%$CXXCPP%g
3174 s%@RANLIB@%$RANLIB%g
3175 s%@localedir@%$localedir%g
3176 s%@DIR_LOCALEDIR@%$DIR_LOCALEDIR%g
3177 s%@MSGFMT@%$MSGFMT%g
3178 s%@METAFONT@%$METAFONT%g
3180 s%@METAPOST@%$METAPOST%g
3182 s%@INIMETAFONT@%$INIMETAFONT%g
3183 s%@INIMFONT@%$INIMFONT%g
3184 s%@INIMETAPOST@%$INIMETAPOST%g
3185 s%@INIMPOST@%$INIMPOST%g
3186 s%@STRIPROFF@%$STRIPROFF%g
3188 s%@YODL2HTML@%$YODL2HTML%g
3189 s%@YODL2LATEX@%$YODL2LATEX%g
3190 s%@YODL2MAN@%$YODL2MAN%g
3191 s%@YODL2MSLESS@%$YODL2MSLESS%g
3192 s%@YODL2TEXINFO@%$YODL2TEXINFO%g
3193 s%@YODL2TXT@%$YODL2TXT%g
3194 s%@YODL2LESS_DIR@%$YODL2LESS_DIR%g
3195 s%@LIBOBJS@%$LIBOBJS%g
3196 s%@MAKEINFO@%$MAKEINFO%g
3197 s%@TEX_TFMDIR@%$TEX_TFMDIR%g
3202 cat >> $CONFIG_STATUS <<\EOF
3204 # Split the substitutions into bite-sized pieces for seds with
3205 # small command number limits, like on Digital OSF/1 and HP-UX.
3206 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
3207 ac_file=1 # Number of current file.
3208 ac_beg=1 # First line for current file.
3209 ac_end=$ac_max_sed_cmds # Line after last line for current file.
3212 while $ac_more_lines; do
3213 if test $ac_beg -gt 1; then
3214 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
3216 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
3218 if test ! -s conftest.s$ac_file; then
3220 rm -f conftest.s$ac_file
3222 if test -z "$ac_sed_cmds"; then
3223 ac_sed_cmds="sed -f conftest.s$ac_file"
3225 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
3227 ac_file=`expr $ac_file + 1`
3229 ac_end=`expr $ac_end + $ac_max_sed_cmds`
3232 if test -z "$ac_sed_cmds"; then
3237 cat >> $CONFIG_STATUS <<EOF
3239 CONFIG_FILES=\${CONFIG_FILES-"$CONFIGFILE.make:config.make.in"}
3241 cat >> $CONFIG_STATUS <<\EOF
3242 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
3243 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3245 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
3246 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
3247 *) ac_file_in="${ac_file}.in" ;;
3250 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
3252 # Remove last slash and all that follows it. Not all systems have dirname.
3253 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
3254 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
3255 # The file is in a subdirectory.
3256 test ! -d "$ac_dir" && mkdir "$ac_dir"
3257 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
3258 # A "../" for each directory in $ac_dir_suffix.
3259 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
3261 ac_dir_suffix= ac_dots=
3264 case "$ac_given_srcdir" in
3266 if test -z "$ac_dots"; then top_srcdir=.
3267 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
3268 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
3270 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
3271 top_srcdir="$ac_dots$ac_given_srcdir" ;;
3275 echo creating "$ac_file"
3277 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
3279 *Makefile*) ac_comsub="1i\\
3280 # $configure_input" ;;
3284 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
3286 s%@configure_input@%$configure_input%g
3287 s%@srcdir@%$srcdir%g
3288 s%@top_srcdir@%$top_srcdir%g
3289 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
3293 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
3294 # NAME is the cpp macro being defined and VALUE is the value it is being given.
3296 # ac_d sets the value in "#define NAME VALUE" lines.
3297 ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
3298 ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
3301 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
3302 ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
3303 ac_uB='\([ ]\)%\1#\2define\3'
3306 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
3307 ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
3308 ac_eB='$%\1#\2define\3'
3312 if test "${CONFIG_HEADERS+set}" != set; then
3314 cat >> $CONFIG_STATUS <<EOF
3315 CONFIG_HEADERS="$CONFIGFILE.h:config.hh.in"
3317 cat >> $CONFIG_STATUS <<\EOF
3319 for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
3320 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3322 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
3323 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
3324 *) ac_file_in="${ac_file}.in" ;;
3327 echo creating $ac_file
3329 rm -f conftest.frag conftest.in conftest.out
3330 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
3331 cat $ac_file_inputs > conftest.in
3335 # Transform confdefs.h into a sed script conftest.vals that substitutes
3336 # the proper values into config.h.in to produce config.h. And first:
3337 # Protect against being on the right side of a sed subst in config.status.
3338 # Protect against being in an unquoted here document in config.status.
3340 cat > conftest.hdr <<\EOF
3343 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
3347 sed -n -f conftest.hdr confdefs.h > conftest.vals
3350 # This sed command replaces #undef with comments. This is necessary, for
3351 # example, in the case of _POSIX_SOURCE, which is predefined and required
3352 # on some systems where configure will not decide to define it.
3353 cat >> conftest.vals <<\EOF
3354 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
3357 # Break up conftest.vals because some shells have a limit on
3358 # the size of here documents, and old seds have small limits too.
3363 ac_lines=`grep -c . conftest.vals`
3364 # grep -c gives empty output for an empty file on some AIX systems.
3365 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
3366 # Write a limited-size here document to conftest.frag.
3367 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
3368 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
3370 sed -f conftest.frag conftest.in > conftest.out
3372 mv conftest.out conftest.in
3374 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
3376 mv conftest.tail conftest.vals
3380 cat >> $CONFIG_STATUS <<\EOF
3381 rm -f conftest.frag conftest.h
3382 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
3383 cat conftest.in >> conftest.h
3385 if cmp -s $ac_file conftest.h 2>/dev/null; then
3386 echo "$ac_file is unchanged"
3389 # Remove last slash and all that follows it. Not all systems have dirname.
3390 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
3391 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
3392 # The file is in a subdirectory.
3393 test ! -d "$ac_dir" && mkdir "$ac_dir"
3396 mv conftest.h $ac_file
3401 cat >> $CONFIG_STATUS <<EOF
3404 cat >> $CONFIG_STATUS <<\EOF
3408 chmod +x $CONFIG_STATUS
3409 rm -fr confdefs* $ac_clean_files
3410 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
3412 if test "$no_recursion" != yes; then
3414 # Remove --cache-file and --srcdir arguments so they do not pile up.
3415 ac_sub_configure_args=
3417 for ac_arg in $ac_configure_args; do
3418 if test -n "$ac_prev"; then
3423 -cache-file | --cache-file | --cache-fil | --cache-fi \
3424 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
3425 ac_prev=cache_file ;;
3426 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
3427 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
3429 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
3431 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
3433 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
3437 for ac_config_dir in stepmake; do
3439 # Do not complain, so a configure script can configure whichever
3440 # parts of a large source tree are present.
3441 if test ! -d $srcdir/$ac_config_dir; then
3445 echo configuring in $ac_config_dir
3450 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
3452 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
3460 # A "../" for each directory in /$ac_config_dir.
3461 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
3464 .) # No --srcdir option. We are building in place.
3465 ac_sub_srcdir=$srcdir ;;
3466 /*) # Absolute path.
3467 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
3469 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
3472 # Check for guested configure; otherwise get Cygnus style configure.
3473 if test -f $ac_sub_srcdir/configure; then
3474 ac_sub_configure=$ac_sub_srcdir/configure
3475 elif test -f $ac_sub_srcdir/configure.in; then
3476 ac_sub_configure=$ac_configure
3478 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
3482 # The recursion is here.
3483 if test -n "$ac_sub_configure"; then
3485 # Make the cache file name correct relative to the subdirectory.
3486 case "$cache_file" in
3487 /*) ac_sub_cache_file=$cache_file ;;
3489 ac_sub_cache_file="$ac_dots$cache_file" ;;
3492 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
3493 # The eval makes quoting arguments work.
3494 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
3497 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }
3507 cp make/toplevel.make.in ./GNUmakefile
3508 chmod 444 GNUmakefile