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)
56 # Guess values for system-dependent variables and create Makefiles.
57 # Generated automatically using autoconf version 2.13
58 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
60 # This configure script is free software; the Free Software Foundation
61 # gives unlimited permission to copy, distribute and modify it.
65 ac_default_prefix
=/usr
/local
66 # Any additions from configure.in:
68 enable-config=FILE put configure settings in config-FILE.make"
70 enable-checking set runtime checks (assert calls). Default: on"
72 enable-optimise use maximal speed optimisations. Default: off"
74 enable-profiling compile with gprof support. Default: off"
76 enable-debugging set debug info. Default: on"
78 enable-mingw-prefix=DIR set the mingw32 directory (standalone windows32 exes)"
80 enable-printing turn on debug printing. Default: off"
82 with-localedir=LOCALE use LOCALE as locale dir. Default: PREFIX/share/locale "
84 with-lang=LANG use LANG as language to emit messages"
86 enable-tfm-path=PATH set path of tex directories where tfm files live, esp.: cmr10.tfm. Default: use kpsewhich"
88 enable-kpathsea use kpathsea lib. Default: on"
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 # urg, how is this supposed to work?
624 if test "$program_prefix" = "NONE"; then
627 if test "$program_suffix" = "NONE"; then
631 echo $ac_n "checking Package""... $ac_c" 1>&6
632 echo "configure:633: checking Package" >&5
633 if test "x$PACKAGE" = "xSTEPMAKE"; then
634 echo "$ac_t""Stepmake package!" 1>&6
636 #if test "x$builddir" != "x"; then
637 # builddir="../$builddir"
641 if test "$srcdir" != "."; then
642 absolute_builddir
="`pwd`"
643 package_absolute_builddir
="`dirname $absolute_builddir`"
644 package_srcdir
="`dirname $srcdir`"
645 builddir
="`dirname $package_srcdir`/`basename $package_absolute_builddir`/`basename $absolute_builddir`"
650 (cd stepmake
2>/dev
/null || mkdir stepmake
)
651 (cd stepmake
; rm -f stepmake
; ln -s ..
/$srcdir/stepmake .
)
652 (cd stepmake
; rm -f bin
; ln -s ..
/$srcdir/bin .
)
654 for ac_dir
in bin
$srcdir/bin
; do
655 if test -f $ac_dir/install-sh
; then
657 ac_install_sh
="$ac_aux_dir/install-sh -c"
659 elif test -f $ac_dir/install.sh
; then
661 ac_install_sh
="$ac_aux_dir/install.sh -c"
665 if test -z "$ac_aux_dir"; then
666 { echo "configure: error: can not find install-sh or install.sh in bin $srcdir/bin" 1>&2; exit 1; }
668 ac_config_guess
=$ac_aux_dir/config.guess
669 ac_config_sub
=$ac_aux_dir/config.sub
670 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
674 echo "$ac_t""$PACKAGE" 1>&6
676 if test "$srcdir" != "."; then
677 absolute_builddir
="`pwd`"
678 builddir
="`dirname $srcdir`/`basename $absolute_builddir`"
683 echo $ac_n "checking for stepmake""... $ac_c" 1>&6
684 echo "configure:685: checking for stepmake" >&5
685 # Check for installed stepmake
686 if test -d $stepmake; then
687 echo "$ac_t""$stepmake" 1>&6
689 stepmake
='$(depth)'/$srcdir/stepmake
690 echo "$ac_t""$srcdir/stepmake ($datadir/stepmake not found)" 1>&6
694 $HOME/usr
/local
/share
/stepmake
/bin\
695 $HOME/usr
/local
/lib
/stepmake
/bin\
696 $HOME/usr
/share
/stepmake
/bin\
697 $HOME/usr
/lib
/stepmake
/bin\
698 /usr
/local
/share
/stepmake
/bin\
699 /usr
/local
/lib
/stepmake
/bin\
700 /usr
/share
/stepmake
/bin\
701 /usr
/lib
/stepmake
/bin\
703 $srcdir/stepmake
/bin\
705 $HOME/usr
/local
/share
/stepmake
/bin\
706 $HOME/usr
/local
/lib
/stepmake
/bin\
707 $HOME/usr
/share
/stepmake
/bin\
708 $HOME/usr
/lib
/stepmake
/bin\
709 /usr
/local
/share
/stepmake
/bin\
710 /usr
/local
/lib
/stepmake
/bin\
711 /usr
/share
/stepmake
/bin\
712 /usr
/lib
/stepmake
/bin\
714 $srcdir/stepmake
/bin\
716 if test -f $ac_dir/install-sh
; then
718 ac_install_sh
="$ac_aux_dir/install-sh -c"
720 elif test -f $ac_dir/install.sh
; then
722 ac_install_sh
="$ac_aux_dir/install.sh -c"
726 if test -z "$ac_aux_dir"; then
727 { echo "configure: error: can not find install-sh or install.sh in \
728 $HOME/usr/local/share/stepmake/bin\
729 $HOME/usr/local/lib/stepmake/bin\
730 $HOME/usr/share/stepmake/bin\
731 $HOME/usr/lib/stepmake/bin\
732 /usr/local/share/stepmake/bin\
733 /usr/local/lib/stepmake/bin\
734 /usr/share/stepmake/bin\
735 /usr/lib/stepmake/bin\
737 $srcdir/stepmake/bin\
739 $HOME/usr/local/share/stepmake/bin\
740 $HOME/usr/local/lib/stepmake/bin\
741 $HOME/usr/share/stepmake/bin\
742 $HOME/usr/lib/stepmake/bin\
743 /usr/local/share/stepmake/bin\
744 /usr/local/lib/stepmake/bin\
745 /usr/share/stepmake/bin\
746 /usr/lib/stepmake/bin\
748 $srcdir/stepmake/bin\
751 ac_config_guess
=$ac_aux_dir/config.guess
752 ac_config_sub
=$ac_aux_dir/config.sub
753 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
762 cat >> confdefs.h
<<EOF
763 #define PACKAGE "${PACKAGE_NAME}"
766 cat >> confdefs.h
<<EOF
767 #define TOPLEVEL_VERSION "${FULL_VERSION}"
771 if test "$package_depth" = "" ; then
774 package_depth
="../$package_depth"
779 AUTOGENERATE
="This file was automatically generated by configure"
782 STATE_VECTOR
=`ls make/STATE-VECTOR 2>/dev/null`
783 if test "x$STATE_VECTOR" != "x"; then
784 STATE_VECTOR
="\$(depth)/$STATE_VECTOR"
789 # Check whether --enable-config or --disable-config was given.
790 if test "${enable_config+set}" = set; then
791 enableval
="$enable_config"
792 CONFIGSUFFIX
=-$enableval
796 CONFIGFILE
=config
$CONFIGSUFFIX
800 # Make sure we can run config.sub.
801 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
802 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
805 echo $ac_n "checking host system type""... $ac_c" 1>&6
806 echo "configure:807: checking host system type" >&5
809 case "$host_alias" in
813 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
814 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
816 *) host_alias
=$nonopt ;;
820 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
821 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
822 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
823 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
824 echo "$ac_t""$host" 1>&6
826 for ac_prog
in gmake
make
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_MAKE'+set}'`\" = set"; then
833 echo $ac_n "(cached) $ac_c" 1>&6
835 if test -n "$MAKE"; then
836 ac_cv_prog_MAKE
="$MAKE" # 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_MAKE
="$ac_prog"
850 MAKE
="$ac_cv_prog_MAKE"
851 if test -n "$MAKE"; then
852 echo "$ac_t""$MAKE" 1>&6
854 echo "$ac_t""no" 1>&6
857 test -n "$MAKE" && break
859 test -n "$MAKE" || MAKE
="error"
863 # Extract the first word of "$ac_prog", so it can be a program name with args.
864 set dummy
$ac_prog; ac_word
=$2
865 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
866 echo "configure:867: checking for $ac_word" >&5
867 if eval "test \"`echo '$''{'ac_cv_prog_FIND'+set}'`\" = set"; then
868 echo $ac_n "(cached) $ac_c" 1>&6
870 if test -n "$FIND"; then
871 ac_cv_prog_FIND
="$FIND" # Let the user override the test.
873 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
875 for ac_dir
in $ac_dummy; do
876 test -z "$ac_dir" && ac_dir
=.
877 if test -f $ac_dir/$ac_word; then
878 ac_cv_prog_FIND
="$ac_prog"
885 FIND
="$ac_cv_prog_FIND"
886 if test -n "$FIND"; then
887 echo "$ac_t""$FIND" 1>&6
889 echo "$ac_t""no" 1>&6
892 test -n "$FIND" && break
894 test -n "$FIND" || FIND
="error"
900 # Extract the first word of "$ac_prog", so it can be a program name with args.
901 set dummy
$ac_prog; ac_word
=$2
902 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
903 echo "configure:904: checking for $ac_word" >&5
904 if eval "test \"`echo '$''{'ac_cv_prog_TAR'+set}'`\" = set"; then
905 echo $ac_n "(cached) $ac_c" 1>&6
907 if test -n "$TAR"; then
908 ac_cv_prog_TAR
="$TAR" # Let the user override the test.
910 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
912 for ac_dir
in $ac_dummy; do
913 test -z "$ac_dir" && ac_dir
=.
914 if test -f $ac_dir/$ac_word; then
915 ac_cv_prog_TAR
="$ac_prog"
922 TAR
="$ac_cv_prog_TAR"
923 if test -n "$TAR"; then
924 echo "$ac_t""$TAR" 1>&6
926 echo "$ac_t""no" 1>&6
929 test -n "$TAR" && break
931 test -n "$TAR" || TAR
="error"
934 if test "x`uname`" = "xHP-UX"; then
935 # Extract the first word of "bash", so it can be a program name with args.
936 set dummy bash
; ac_word
=$2
937 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
938 echo "configure:939: checking for $ac_word" >&5
939 if eval "test \"`echo '$''{'ac_cv_path_BASH'+set}'`\" = set"; then
940 echo $ac_n "(cached) $ac_c" 1>&6
944 ac_cv_path_BASH
="$BASH" # Let the user override the test with a path.
947 ac_cv_path_BASH
="$BASH" # Let the user override the test with a dos path.
950 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
952 for ac_dir
in $ac_dummy; do
953 test -z "$ac_dir" && ac_dir
=.
954 if test -f $ac_dir/$ac_word; then
955 ac_cv_path_BASH
="$ac_dir/$ac_word"
960 test -z "$ac_cv_path_BASH" && ac_cv_path_BASH
="/bin/sh"
964 BASH
="$ac_cv_path_BASH"
965 if test -n "$BASH"; then
966 echo "$ac_t""$BASH" 1>&6
968 echo "$ac_t""no" 1>&6
972 echo "configure: warning: avoiding buggy /bin/sh" 1>&2
975 # Extract the first word of "bash", so it can be a program name with args.
976 set dummy bash
; ac_word
=$2
977 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
978 echo "configure:979: checking for $ac_word" >&5
979 if eval "test \"`echo '$''{'ac_cv_path_SHELL'+set}'`\" = set"; then
980 echo $ac_n "(cached) $ac_c" 1>&6
984 ac_cv_path_SHELL
="$SHELL" # Let the user override the test with a path.
987 ac_cv_path_SHELL
="$SHELL" # Let the user override the test with a dos path.
990 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
992 for ac_dir
in $ac_dummy; do
993 test -z "$ac_dir" && ac_dir
=.
994 if test -f $ac_dir/$ac_word; then
995 ac_cv_path_SHELL
="$ac_dir/$ac_word"
1000 test -z "$ac_cv_path_SHELL" && ac_cv_path_SHELL
="/bin/ksh"
1004 SHELL
="$ac_cv_path_SHELL"
1005 if test -n "$SHELL"; then
1006 echo "$ac_t""$SHELL" 1>&6
1008 echo "$ac_t""no" 1>&6
1012 # Extract the first word of "bash", so it can be a program name with args.
1013 set dummy bash
; ac_word
=$2
1014 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1015 echo "configure:1016: checking for $ac_word" >&5
1016 if eval "test \"`echo '$''{'ac_cv_path_BASH'+set}'`\" = set"; then
1017 echo $ac_n "(cached) $ac_c" 1>&6
1021 ac_cv_path_BASH
="$BASH" # Let the user override the test with a path.
1024 ac_cv_path_BASH
="$BASH" # Let the user override the test with a dos path.
1027 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1029 for ac_dir
in $ac_dummy; do
1030 test -z "$ac_dir" && ac_dir
=.
1031 if test -f $ac_dir/$ac_word; then
1032 ac_cv_path_BASH
="$ac_dir/$ac_word"
1037 test -z "$ac_cv_path_BASH" && ac_cv_path_BASH
="/bin/sh"
1041 BASH
="$ac_cv_path_BASH"
1042 if test -n "$BASH"; then
1043 echo "$ac_t""$BASH" 1>&6
1045 echo "$ac_t""no" 1>&6
1053 # Extract the first word of "${PYTHON:-python}", so it can be a program name with args.
1054 set dummy
${PYTHON:-python}; ac_word
=$2
1055 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1056 echo "configure:1057: checking for $ac_word" >&5
1057 if eval "test \"`echo '$''{'ac_cv_path_PYTHON'+set}'`\" = set"; then
1058 echo $ac_n "(cached) $ac_c" 1>&6
1062 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
1065 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a dos path.
1068 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1070 for ac_dir
in $ac_dummy; do
1071 test -z "$ac_dir" && ac_dir
=.
1072 if test -f $ac_dir/$ac_word; then
1073 ac_cv_path_PYTHON
="$ac_dir/$ac_word"
1078 test -z "$ac_cv_path_PYTHON" && ac_cv_path_PYTHON
="-echo no python"
1082 PYTHON
="$ac_cv_path_PYTHON"
1083 if test -n "$PYTHON"; then
1084 echo "$ac_t""$PYTHON" 1>&6
1086 echo "$ac_t""no" 1>&6
1091 if test $MAKE != "error" ; then
1092 $MAKE -v 2> /dev
/null |
grep GNU
> /dev
/null
1096 echo "configure: warning: Please install *GNU* make" 1>&2
1103 result
="`echo \"$PYTHON\" | grep echo`"
1104 if test "x$PYTHON" = "xerror" -o "x$result" != "x"; then
1106 echo "configure: warning: can\'t find python. You should install Python" 1>&2
1112 if test "x$OSTYPE" = "xcygwin32" ||
test "x$OSTYPE" = "xWindows_NT"; then
1113 LN
=cp # hard link does not work under cygnus-nt
1114 LN_S
='cp -r' # symbolic link does not work for native nt
1121 # cygwin fixes all these things.
1122 # it seems these were used because of dos-style TEXINPUTS and
1123 # MFINPUTS needed for miktex.
1124 # but this breaks parsing of all other cygwin/unix style paths.
1126 # if your (mik)tex breaks, make a:
1127 # /usr/local/bin/tex:
1129 # TEXINPUTS=`cygpath -pw $TEXINPUTS` /texmf/miktex/bin/tex
1133 # /usr/local/bin/mf:
1135 # MFINPUTS=`cygpath -pw $MFINPUTS` /texmf/miktex/bin/mf
1137 # this way, you may have buildscripts/out/lilypond-profile
1138 # 'automatically' sourced from /usr/etc/profile.d/ too.
1142 INSTALL
="\$(SHELL) \$(stepdir)/../bin/install-dot-exe.sh -c"
1149 INSTALL
="\$(SHELL) \$(stepdir)/../bin/install-sh -c"
1157 cat >> confdefs.h
<<EOF
1158 #define DIRSEP '${DIRSEP}'
1161 cat >> confdefs.h
<<EOF
1162 #define PATHSEP '${PATHSEP}'
1169 if test "$datadir" = "\${prefix}/share"; then
1170 datadir
='${prefix}/share/'$package
1172 DIR_DATADIR
=${datadir}
1174 if test "$prefix" = "NONE"; then
1175 presome
=${ac_default_prefix}
1177 DIR_DATADIR
=`echo ${DIR_DATADIR} | sed "s!\\\${prefix}!$presome!"`
1180 cat >> confdefs.h
<<EOF
1181 #define DIR_DATADIR "${DIR_DATADIR}"
1187 # For all packages except the StepMake package itself
1191 # Uncomment the configuration options your package needs.
1193 # -O is necessary to get inlining
1195 CFLAGS
=${CFLAGS:-""}
1196 CXXFLAGS
=${CXXFLAGS:-$CFLAGS}
1197 LDFLAGS
=${LDFLAGS:-""}
1203 # Check whether --enable-checking or --disable-checking was given.
1204 if test "${enable_checking+set}" = set; then
1205 enableval
="$enable_checking"
1206 checking_b
=$enableval
1210 # actually, the default is: tja='-O' to get inlining...
1213 #actually, that sucks.
1214 # tja looks like a typo. Default is optimisation off. --hwn
1216 # Check whether --enable-optimise or --disable-optimise was given.
1217 if test "${enable_optimise+set}" = set; then
1218 enableval
="$enable_optimise"
1219 optimise_b
=$enableval
1223 # Check whether --enable-profiling or --disable-profiling was given.
1224 if test "${enable_profiling+set}" = set; then
1225 enableval
="$enable_profiling"
1226 profile_b
=$enableval
1230 # Check whether --enable-debugging or --disable-debugging was given.
1231 if test "${enable_debugging+set}" = set; then
1232 enableval
="$enable_debugging"
1237 # Check whether --enable-mingw-prefix or --disable-mingw-prefix was given.
1238 if test "${enable_mingw_prefix+set}" = set; then
1239 enableval
="$enable_mingw_prefix"
1240 MINGWPREFIX
=$enableval
1246 if test "$checking_b" = no
; then
1248 cat >> confdefs.h
<<\EOF
1252 DEFINES
="$DEFINES -DNDEBUG"
1255 if test "$optimise_b" = yes; then
1256 OPTIMIZE
="-O2 -finline-functions"
1259 if test "$optimise_b" = no
; then
1263 if test $profile_b = yes; then
1265 OPTIMIZE
="$OPTIMIZE -pg"
1268 if test $debug_b = yes; then
1269 OPTIMIZE
="$OPTIMIZE -g"
1272 # however, C++ support in mingw32 v 0.1.4 is still flaky
1273 if test x
$MINGWPREFIX != xno
; then
1274 ICFLAGS
="-I$MINGWPREFIX/include"
1275 ILDFLAGS
="-$MINGWPREFIX/lib"
1278 # Extract the first word of "gcc", so it can be a program name with args.
1279 set dummy gcc
; ac_word
=$2
1280 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1281 echo "configure:1282: checking for $ac_word" >&5
1282 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1283 echo $ac_n "(cached) $ac_c" 1>&6
1285 if test -n "$CC"; then
1286 ac_cv_prog_CC
="$CC" # Let the user override the test.
1288 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1290 for ac_dir
in $ac_dummy; do
1291 test -z "$ac_dir" && ac_dir
=.
1292 if test -f $ac_dir/$ac_word; then
1301 if test -n "$CC"; then
1302 echo "$ac_t""$CC" 1>&6
1304 echo "$ac_t""no" 1>&6
1307 if test -z "$CC"; then
1308 # Extract the first word of "cc", so it can be a program name with args.
1309 set dummy cc
; ac_word
=$2
1310 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1311 echo "configure:1312: checking for $ac_word" >&5
1312 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1313 echo $ac_n "(cached) $ac_c" 1>&6
1315 if test -n "$CC"; then
1316 ac_cv_prog_CC
="$CC" # Let the user override the test.
1318 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1321 for ac_dir
in $ac_dummy; do
1322 test -z "$ac_dir" && ac_dir
=.
1323 if test -f $ac_dir/$ac_word; then
1324 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1325 ac_prog_rejected
=yes
1333 if test $ac_prog_rejected = yes; then
1334 # We found a bogon in the path, so make sure we never use it.
1335 set dummy
$ac_cv_prog_CC
1337 if test $# -gt 0; then
1338 # We chose a different compiler from the bogus one.
1339 # However, it has the same basename, so the bogon will be chosen
1340 # first if we set CC to just the basename; use the full file name.
1342 set dummy
"$ac_dir/$ac_word" "$@"
1350 if test -n "$CC"; then
1351 echo "$ac_t""$CC" 1>&6
1353 echo "$ac_t""no" 1>&6
1356 if test -z "$CC"; then
1357 case "`uname -s`" in
1359 # Extract the first word of "cl", so it can be a program name with args.
1360 set dummy cl
; ac_word
=$2
1361 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1362 echo "configure:1363: checking for $ac_word" >&5
1363 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1364 echo $ac_n "(cached) $ac_c" 1>&6
1366 if test -n "$CC"; then
1367 ac_cv_prog_CC
="$CC" # Let the user override the test.
1369 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1371 for ac_dir
in $ac_dummy; do
1372 test -z "$ac_dir" && ac_dir
=.
1373 if test -f $ac_dir/$ac_word; then
1382 if test -n "$CC"; then
1383 echo "$ac_t""$CC" 1>&6
1385 echo "$ac_t""no" 1>&6
1390 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1393 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
1394 echo "configure:1395: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
1397 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1398 ac_cpp
='$CPP $CPPFLAGS'
1399 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1400 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1401 cross_compiling
=$ac_cv_prog_cc_cross
1403 cat > conftest.
$ac_ext << EOF
1405 #line 1406 "configure"
1406 #include "confdefs.h"
1410 if { (eval echo configure
:1411: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
1411 ac_cv_prog_cc_works
=yes
1412 # If we can't run a trivial program, we are probably using a cross compiler.
1413 if (.
/conftest
; exit) 2>/dev
/null
; then
1414 ac_cv_prog_cc_cross
=no
1416 ac_cv_prog_cc_cross
=yes
1419 echo "configure: failed program was:" >&5
1420 cat conftest.
$ac_ext >&5
1421 ac_cv_prog_cc_works
=no
1425 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1426 ac_cpp
='$CPP $CPPFLAGS'
1427 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1428 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1429 cross_compiling
=$ac_cv_prog_cc_cross
1431 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
1432 if test $ac_cv_prog_cc_works = no
; then
1433 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
1435 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
1436 echo "configure:1437: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
1437 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
1438 cross_compiling
=$ac_cv_prog_cc_cross
1440 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1441 echo "configure:1442: checking whether we are using GNU C" >&5
1442 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1443 echo $ac_n "(cached) $ac_c" 1>&6
1445 cat > conftest.c
<<EOF
1450 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:1451: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } |
egrep yes >/dev
/null
2>&1; then
1457 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1459 if test $ac_cv_prog_gcc = yes; then
1465 ac_test_CFLAGS
="${CFLAGS+set}"
1466 ac_save_CFLAGS
="$CFLAGS"
1468 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1469 echo "configure:1470: checking whether ${CC-cc} accepts -g" >&5
1470 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1471 echo $ac_n "(cached) $ac_c" 1>&6
1473 echo 'void f(){}' > conftest.c
1474 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1483 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1484 if test "$ac_test_CFLAGS" = set; then
1485 CFLAGS
="$ac_save_CFLAGS"
1486 elif test $ac_cv_prog_cc_g = yes; then
1487 if test "$GCC" = yes; then
1493 if test "$GCC" = yes; then
1503 CFLAGS
="$CFLAGS $OPTIMIZE"
1504 CPPFLAGS
=${CPPFLAGS:-""}
1513 # AC_HAVE_HEADERS(limits.h malloc.h string.h unistd.h values.h)
1514 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
1515 echo "configure:1516: checking how to run the C preprocessor" >&5
1516 # On Suns, sometimes $CPP names a directory.
1517 if test -n "$CPP" && test -d "$CPP"; then
1520 if test -z "$CPP"; then
1521 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
1522 echo $ac_n "(cached) $ac_c" 1>&6
1524 # This must be in double quotes, not single quotes, because CPP may get
1525 # substituted into the Makefile and "${CC-cc}" will confuse make.
1527 # On the NeXT, cc -E runs the code through the compiler's parser,
1528 # not just through cpp.
1529 cat > conftest.
$ac_ext <<EOF
1530 #line 1531 "configure"
1531 #include "confdefs.h"
1535 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1536 { (eval echo configure
:1537: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1537 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1538 if test -z "$ac_err"; then
1542 echo "configure: failed program was:" >&5
1543 cat conftest.
$ac_ext >&5
1545 CPP
="${CC-cc} -E -traditional-cpp"
1546 cat > conftest.
$ac_ext <<EOF
1547 #line 1548 "configure"
1548 #include "confdefs.h"
1552 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1553 { (eval echo configure
:1554: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1554 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1555 if test -z "$ac_err"; then
1559 echo "configure: failed program was:" >&5
1560 cat conftest.
$ac_ext >&5
1562 CPP
="${CC-cc} -nologo -E"
1563 cat > conftest.
$ac_ext <<EOF
1564 #line 1565 "configure"
1565 #include "confdefs.h"
1569 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1570 { (eval echo configure
:1571: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1571 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1572 if test -z "$ac_err"; then
1576 echo "configure: failed program was:" >&5
1577 cat conftest.
$ac_ext >&5
1586 ac_cv_prog_CPP
="$CPP"
1588 CPP
="$ac_cv_prog_CPP"
1590 ac_cv_prog_CPP
="$CPP"
1592 echo "$ac_t""$CPP" 1>&6
1594 for ac_hdr
in assert.h
1596 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
1597 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
1598 echo "configure:1599: checking for $ac_hdr" >&5
1599 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1600 echo $ac_n "(cached) $ac_c" 1>&6
1602 cat > conftest.
$ac_ext <<EOF
1603 #line 1604 "configure"
1604 #include "confdefs.h"
1607 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1608 { (eval echo configure
:1609: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1609 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1610 if test -z "$ac_err"; then
1612 eval "ac_cv_header_$ac_safe=yes"
1615 echo "configure: failed program was:" >&5
1616 cat conftest.
$ac_ext >&5
1618 eval "ac_cv_header_$ac_safe=no"
1622 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
1623 echo "$ac_t""yes" 1>&6
1624 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
1625 cat >> confdefs.h
<<EOF
1626 #define $ac_tr_hdr 1
1630 echo "$ac_t""no" 1>&6
1636 # Check whether --enable-printing or --disable-printing was given.
1637 if test "${enable_printing+set}" = set; then
1638 enableval
="$enable_printing"
1639 printing_b
=$enableval
1643 if test "$optimise_b" = yes; then
1644 DEFINES
="$DEFINES -DSTRING_UTILS_INLINED"
1645 cat >> confdefs.h
<<\EOF
1646 #define STRINGS_UTILS_INLINED 1
1651 if test "$printing_b" = no
; then
1653 cat >> confdefs.h
<<\EOF
1657 DEFINES
="$DEFINES -DNPRINT"
1660 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
1661 echo "configure:1662: checking how to run the C++ preprocessor" >&5
1662 if test -z "$CXXCPP"; then
1663 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
1664 echo $ac_n "(cached) $ac_c" 1>&6
1667 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1668 ac_cpp
='$CXXCPP $CPPFLAGS'
1669 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1670 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1671 cross_compiling
=$ac_cv_prog_cxx_cross
1672 CXXCPP
="${CXX-g++} -E"
1673 cat > conftest.
$ac_ext <<EOF
1674 #line 1675 "configure"
1675 #include "confdefs.h"
1678 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1679 { (eval echo configure
:1680: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1680 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1681 if test -z "$ac_err"; then
1685 echo "configure: failed program was:" >&5
1686 cat conftest.
$ac_ext >&5
1691 ac_cv_prog_CXXCPP
="$CXXCPP"
1693 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1694 ac_cpp
='$CXXCPP $CPPFLAGS'
1695 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1696 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1697 cross_compiling
=$ac_cv_prog_cxx_cross
1700 CXXCPP
="$ac_cv_prog_CXXCPP"
1701 echo "$ac_t""$CXXCPP" 1>&6
1705 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1706 ac_cpp
='$CXXCPP $CPPFLAGS'
1707 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1708 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1709 cross_compiling
=$ac_cv_prog_cxx_cross
1711 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
1713 # Extract the first word of "$ac_prog", so it can be a program name with args.
1714 set dummy
$ac_prog; ac_word
=$2
1715 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1716 echo "configure:1717: checking for $ac_word" >&5
1717 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
1718 echo $ac_n "(cached) $ac_c" 1>&6
1720 if test -n "$CXX"; then
1721 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
1723 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1725 for ac_dir
in $ac_dummy; do
1726 test -z "$ac_dir" && ac_dir
=.
1727 if test -f $ac_dir/$ac_word; then
1728 ac_cv_prog_CXX
="$ac_prog"
1735 CXX
="$ac_cv_prog_CXX"
1736 if test -n "$CXX"; then
1737 echo "$ac_t""$CXX" 1>&6
1739 echo "$ac_t""no" 1>&6
1742 test -n "$CXX" && break
1744 test -n "$CXX" || CXX
="gcc"
1747 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
1748 echo "configure:1749: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
1751 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1752 ac_cpp
='$CXXCPP $CPPFLAGS'
1753 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1754 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1755 cross_compiling
=$ac_cv_prog_cxx_cross
1757 cat > conftest.
$ac_ext << EOF
1759 #line 1760 "configure"
1760 #include "confdefs.h"
1762 int main(){return(0);}
1764 if { (eval echo configure
:1765: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
1765 ac_cv_prog_cxx_works
=yes
1766 # If we can't run a trivial program, we are probably using a cross compiler.
1767 if (.
/conftest
; exit) 2>/dev
/null
; then
1768 ac_cv_prog_cxx_cross
=no
1770 ac_cv_prog_cxx_cross
=yes
1773 echo "configure: failed program was:" >&5
1774 cat conftest.
$ac_ext >&5
1775 ac_cv_prog_cxx_works
=no
1779 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1780 ac_cpp
='$CXXCPP $CPPFLAGS'
1781 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1782 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1783 cross_compiling
=$ac_cv_prog_cxx_cross
1785 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
1786 if test $ac_cv_prog_cxx_works = no
; then
1787 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
1789 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
1790 echo "configure:1791: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
1791 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
1792 cross_compiling
=$ac_cv_prog_cxx_cross
1794 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
1795 echo "configure:1796: checking whether we are using GNU C++" >&5
1796 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
1797 echo $ac_n "(cached) $ac_c" 1>&6
1799 cat > conftest.C
<<EOF
1804 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:1805: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } |
egrep yes >/dev
/null
2>&1; then
1811 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
1813 if test $ac_cv_prog_gxx = yes; then
1819 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
1820 ac_save_CXXFLAGS
="$CXXFLAGS"
1822 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
1823 echo "configure:1824: checking whether ${CXX-g++} accepts -g" >&5
1824 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
1825 echo $ac_n "(cached) $ac_c" 1>&6
1827 echo 'void f(){}' > conftest.cc
1828 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
1829 ac_cv_prog_cxx_g
=yes
1837 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
1838 if test "$ac_test_CXXFLAGS" = set; then
1839 CXXFLAGS
="$ac_save_CXXFLAGS"
1840 elif test $ac_cv_prog_cxx_g = yes; then
1841 if test "$GXX" = yes; then
1847 if test "$GXX" = yes; then
1855 ac_safe
=`echo "FlexLexer.h" | sed 'y%./+-%__p_%'`
1856 echo $ac_n "checking for FlexLexer.h""... $ac_c" 1>&6
1857 echo "configure:1858: checking for FlexLexer.h" >&5
1858 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1859 echo $ac_n "(cached) $ac_c" 1>&6
1861 cat > conftest.
$ac_ext <<EOF
1862 #line 1863 "configure"
1863 #include "confdefs.h"
1864 #include <FlexLexer.h>
1866 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1867 { (eval echo configure
:1868: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1868 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1869 if test -z "$ac_err"; then
1871 eval "ac_cv_header_$ac_safe=yes"
1874 echo "configure: failed program was:" >&5
1875 cat conftest.
$ac_ext >&5
1877 eval "ac_cv_header_$ac_safe=no"
1881 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
1882 echo "$ac_t""yes" 1>&6
1885 echo "$ac_t""no" 1>&6
1887 echo "configure: warning: can"\'"t find flex header. Please install Flex headers correctly" 1>&2
1893 CPPFLAGS
="$CPPFLAGS $DEFINES"
1894 CXXFLAGS
="$CXXFLAGS $OPTIMIZE"
1895 LDFLAGS
="$LDFLAGS $EXTRA_LIBES"
1904 # urg, egcs: how to check for egcs >= 1.1?
1905 if $CXX --version |
egrep '2\.[89]' > /dev
/null ||
1906 $CXX --version |
grep 'egcs' > /dev
/null
1911 echo "configure: warning: can\'t find g++ 2.8" 1>&2
1917 echo $ac_n "checking whether explicit instantiation is needed""... $ac_c" 1>&6
1918 echo "configure:1919: checking whether explicit instantiation is needed" >&5
1919 if eval "test \"`echo '$''{'lily_cv_need_explicit_instantiation'+set}'`\" = set"; then
1920 echo $ac_n "(cached) $ac_c" 1>&6
1922 cat > conftest.
$ac_ext <<EOF
1923 #line 1924 "configure"
1924 #include "confdefs.h"
1926 template <class T> struct foo { static int baz; };
1927 template <class T> int foo<T>::baz = 1;
1930 return foo<int>::baz;
1933 if { (eval echo configure
:1934: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
1935 lily_cv_need_explicit_instantiation
=no
1937 echo "configure: failed program was:" >&5
1938 cat conftest.
$ac_ext >&5
1940 lily_cv_need_explicit_instantiation
=yes
1945 echo "$ac_t""$lily_cv_need_explicit_instantiation" 1>&6
1946 if test x
"$lily_cv_need_explicit_instantiation"x
= x
"yes"x
; then
1947 cat >> confdefs.h
<<\EOF
1948 #define NEED_EXPLICIT_INSTANTIATION 1
1954 # ugh, automake: we want (and check for) bison
1955 for ac_prog
in 'bison -y' byacc
1957 # Extract the first word of "$ac_prog", so it can be a program name with args.
1958 set dummy
$ac_prog; ac_word
=$2
1959 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1960 echo "configure:1961: checking for $ac_word" >&5
1961 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
1962 echo $ac_n "(cached) $ac_c" 1>&6
1964 if test -n "$YACC"; then
1965 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
1967 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1969 for ac_dir
in $ac_dummy; do
1970 test -z "$ac_dir" && ac_dir
=.
1971 if test -f $ac_dir/$ac_word; then
1972 ac_cv_prog_YACC
="$ac_prog"
1979 YACC
="$ac_cv_prog_YACC"
1980 if test -n "$YACC"; then
1981 echo "$ac_t""$YACC" 1>&6
1983 echo "$ac_t""no" 1>&6
1986 test -n "$YACC" && break
1988 test -n "$YACC" || YACC
="yacc"
1990 # ugh, automake: we want (and check for) flex
1992 # urg: automake 1.3: hope this doesn't break 1.2 ac_cv_pro_lex_root hack...
1996 ac_cv_prog_lex_root
=lex.yy
1998 for ac_prog
in bison
2000 # Extract the first word of "$ac_prog", so it can be a program name with args.
2001 set dummy
$ac_prog; ac_word
=$2
2002 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2003 echo "configure:2004: checking for $ac_word" >&5
2004 if eval "test \"`echo '$''{'ac_cv_prog_BISON'+set}'`\" = set"; then
2005 echo $ac_n "(cached) $ac_c" 1>&6
2007 if test -n "$BISON"; then
2008 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
2010 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2012 for ac_dir
in $ac_dummy; do
2013 test -z "$ac_dir" && ac_dir
=.
2014 if test -f $ac_dir/$ac_word; then
2015 ac_cv_prog_BISON
="$ac_prog"
2022 BISON
="$ac_cv_prog_BISON"
2023 if test -n "$BISON"; then
2024 echo "$ac_t""$BISON" 1>&6
2026 echo "$ac_t""no" 1>&6
2029 test -n "$BISON" && break
2031 test -n "$BISON" || BISON
="error"
2035 # Extract the first word of "$ac_prog", so it can be a program name with args.
2036 set dummy
$ac_prog; ac_word
=$2
2037 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2038 echo "configure:2039: checking for $ac_word" >&5
2039 if eval "test \"`echo '$''{'ac_cv_prog_FLEX'+set}'`\" = set"; then
2040 echo $ac_n "(cached) $ac_c" 1>&6
2042 if test -n "$FLEX"; then
2043 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
2045 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2047 for ac_dir
in $ac_dummy; do
2048 test -z "$ac_dir" && ac_dir
=.
2049 if test -f $ac_dir/$ac_word; then
2050 ac_cv_prog_FLEX
="$ac_prog"
2057 FLEX
="$ac_cv_prog_FLEX"
2058 if test -n "$FLEX"; then
2059 echo "$ac_t""$FLEX" 1>&6
2061 echo "$ac_t""no" 1>&6
2064 test -n "$FLEX" && break
2066 test -n "$FLEX" || FLEX
="error"
2069 result
="`echo \"$BISON\" | grep echo`"
2070 if test "x$BISON" = "xerror" -o "x$result" != "x"; then
2072 echo "configure: warning: can\'t find bison. Please install Bison" 1>&2
2078 result
="`echo \"$FLEX\" | grep echo`"
2079 if test "x$FLEX" = "xerror" -o "x$result" != "x"; then
2081 echo "configure: warning: can\'t find flex. Please install Flex" 1>&2
2087 if test $BISON != "error"; then
2088 bison_version
=`$BISON --version | sed 's/^.*version 1.//g'`
2089 if test `echo $bison_version | sed 's/\..*$//g'` -lt 25; then
2091 echo "configure: warning: Your bison is a bit old (1.$bison_version). You might have to install 1.25" 1>&2
2103 # Extract the first word of "$ac_prog", so it can be a program name with args.
2104 set dummy
$ac_prog; ac_word
=$2
2105 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2106 echo "configure:2107: checking for $ac_word" >&5
2107 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
2108 echo $ac_n "(cached) $ac_c" 1>&6
2110 if test -n "$AR"; then
2111 ac_cv_prog_AR
="$AR" # Let the user override the test.
2113 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2115 for ac_dir
in $ac_dummy; do
2116 test -z "$ac_dir" && ac_dir
=.
2117 if test -f $ac_dir/$ac_word; then
2118 ac_cv_prog_AR
="$ac_prog"
2126 if test -n "$AR"; then
2127 echo "$ac_t""$AR" 1>&6
2129 echo "$ac_t""no" 1>&6
2132 test -n "$AR" && break
2134 test -n "$AR" || AR
="error"
2136 # Extract the first word of "ranlib", so it can be a program name with args.
2137 set dummy ranlib
; ac_word
=$2
2138 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2139 echo "configure:2140: checking for $ac_word" >&5
2140 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2141 echo $ac_n "(cached) $ac_c" 1>&6
2143 if test -n "$RANLIB"; then
2144 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
2146 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2148 for ac_dir
in $ac_dummy; do
2149 test -z "$ac_dir" && ac_dir
=.
2150 if test -f $ac_dir/$ac_word; then
2151 ac_cv_prog_RANLIB
="ranlib"
2156 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
2159 RANLIB
="$ac_cv_prog_RANLIB"
2160 if test -n "$RANLIB"; then
2161 echo "$ac_t""$RANLIB" 1>&6
2163 echo "$ac_t""no" 1>&6
2170 # AC_STEPMAKE_LIBTOOL
2176 # Check whether --with-localedir or --without-localedir was given.
2177 if test "${with_localedir+set}" = set; then
2178 withval
="$with_localedir"
2179 localedir
=$with_localedir
2181 localedir
='${prefix}/share/locale'
2185 # Check whether --with-lang or --without-lang was given.
2186 if test "${with_lang+set}" = set; then
2187 withval
="$with_lang"
2194 echo $ac_n "checking language""... $ac_c" 1>&6
2195 echo "configure:2196: checking language" >&5
2197 En
* | en
* | Am
* | am
* | US
* | us
*)
2199 NL |
nl | Du
* | du
* | Ned
* | ned
*)
2206 echo "$ac_t""$lang" 1>&6
2208 if test "$lang" = "unknown" ; then
2210 echo "configure: warning: $language not supported; available are: $ALL_LINGUAS" 1>&2
2217 DIR_LOCALEDIR
=${localedir}
2219 if test "$prefix" = "NONE"; then
2220 presome
=${ac_default_prefix}
2222 DIR_LOCALEDIR
=`echo ${DIR_LOCALEDIR} | sed "s!\\\${prefix}!$presome!"`
2225 cat >> confdefs.h
<<EOF
2226 #define DIR_LOCALEDIR "${DIR_LOCALEDIR}"
2230 echo $ac_n "checking for gettext in -lintl""... $ac_c" 1>&6
2231 echo "configure:2232: checking for gettext in -lintl" >&5
2232 ac_lib_var
=`echo intl'_'gettext | sed 'y%./+-%__p_%'`
2233 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2234 echo $ac_n "(cached) $ac_c" 1>&6
2236 ac_save_LIBS
="$LIBS"
2238 cat > conftest.
$ac_ext <<EOF
2239 #line 2240 "configure"
2240 #include "confdefs.h"
2241 /* Override any gcc2 internal prototype to avoid an error. */
2245 /* We use char because int might match the return type of a gcc2
2246 builtin and then its argument prototype would still apply. */
2253 if { (eval echo configure
:2254: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
2255 eval "ac_cv_lib_$ac_lib_var=yes"
2257 echo "configure: failed program was:" >&5
2258 cat conftest.
$ac_ext >&5
2260 eval "ac_cv_lib_$ac_lib_var=no"
2263 LIBS
="$ac_save_LIBS"
2266 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2267 echo "$ac_t""yes" 1>&6
2268 ac_tr_lib
=HAVE_LIB
`echo intl | sed -e 's/[^a-zA-Z0-9_]/_/g' \
2269 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
2270 cat >> confdefs.h
<<EOF
2271 #define $ac_tr_lib 1
2277 echo "$ac_t""no" 1>&6
2280 for ac_func
in gettext
2282 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
2283 echo "configure:2284: checking for $ac_func" >&5
2284 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
2285 echo $ac_n "(cached) $ac_c" 1>&6
2287 cat > conftest.
$ac_ext <<EOF
2288 #line 2289 "configure"
2289 #include "confdefs.h"
2290 /* System header to define __stub macros and hopefully few prototypes,
2291 which can conflict with char $ac_func(); below. */
2293 /* Override any gcc2 internal prototype to avoid an error. */
2297 /* We use char because int might match the return type of a gcc2
2298 builtin and then its argument prototype would still apply. */
2303 /* The GNU C library defines this for functions which it implements
2304 to always fail with ENOSYS. Some functions are actually named
2305 something starting with __ and the normal name is an alias. */
2306 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
2314 if { (eval echo configure
:2315: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
2316 eval "ac_cv_func_$ac_func=yes"
2318 echo "configure: failed program was:" >&5
2319 cat conftest.
$ac_ext >&5
2321 eval "ac_cv_func_$ac_func=no"
2326 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
2327 echo "$ac_t""yes" 1>&6
2328 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
2329 cat >> confdefs.h
<<EOF
2330 #define $ac_tr_func 1
2334 echo "$ac_t""no" 1>&6
2340 # AC_CHECK_PROGS(MSGFMT, msgfmt, -echo no msgfmt)
2341 for ac_prog
in msgfmt
2343 # Extract the first word of "$ac_prog", so it can be a program name with args.
2344 set dummy
$ac_prog; ac_word
=$2
2345 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2346 echo "configure:2347: checking for $ac_word" >&5
2347 if eval "test \"`echo '$''{'ac_cv_prog_MSGFMT'+set}'`\" = set"; then
2348 echo $ac_n "(cached) $ac_c" 1>&6
2350 if test -n "$MSGFMT"; then
2351 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
2353 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2355 for ac_dir
in $ac_dummy; do
2356 test -z "$ac_dir" && ac_dir
=.
2357 if test -f $ac_dir/$ac_word; then
2358 ac_cv_prog_MSGFMT
="$ac_prog"
2365 MSGFMT
="$ac_cv_prog_MSGFMT"
2366 if test -n "$MSGFMT"; then
2367 echo "$ac_t""$MSGFMT" 1>&6
2369 echo "$ac_t""no" 1>&6
2372 test -n "$MSGFMT" && break
2374 test -n "$MSGFMT" || MSGFMT
="\$(SHELL) \$(step-bindir)/fake-msgfmt.sh "
2376 echo $ac_n "checking whether msgfmt accepts -o""... $ac_c" 1>&6
2377 echo "configure:2378: checking whether msgfmt accepts -o" >&5
2378 msgfmt_output
="`msgfmt -o bla 2>&1 | grep usage`"
2379 if test "$msgfmt_output" = ""; then
2380 echo "$ac_t""yes" 1>&6
2383 MSGFMT
="\$(SHELL) \$(step-bindir)/fake-msgfmt.sh"
2384 echo "$ac_t""no" 1>&6
2386 echo "configure: warning: please install msgfmt from GNU gettext" 1>&2
2390 if test ! -n "$MSGFMT"; then
2392 echo "configure: warning: please install msgfmt from GNU gettext" 1>&2
2398 # urg, never know what names these teTeX guys will think up
2402 # Extract the first word of "$ac_prog", so it can be a program name with args.
2403 set dummy
$ac_prog; ac_word
=$2
2404 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2405 echo "configure:2406: checking for $ac_word" >&5
2406 if eval "test \"`echo '$''{'ac_cv_prog_METAFONT'+set}'`\" = set"; then
2407 echo $ac_n "(cached) $ac_c" 1>&6
2409 if test -n "$METAFONT"; then
2410 ac_cv_prog_METAFONT
="$METAFONT" # Let the user override the test.
2412 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2414 for ac_dir
in $ac_dummy; do
2415 test -z "$ac_dir" && ac_dir
=.
2416 if test -f $ac_dir/$ac_word; then
2417 ac_cv_prog_METAFONT
="$ac_prog"
2424 METAFONT
="$ac_cv_prog_METAFONT"
2425 if test -n "$METAFONT"; then
2426 echo "$ac_t""$METAFONT" 1>&6
2428 echo "$ac_t""no" 1>&6
2431 test -n "$METAFONT" && break
2433 test -n "$METAFONT" || METAFONT
="no"
2435 if test "x$METAFONT" = "xno"; then
2436 for ac_prog
in mfont
2438 # Extract the first word of "$ac_prog", so it can be a program name with args.
2439 set dummy
$ac_prog; ac_word
=$2
2440 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2441 echo "configure:2442: checking for $ac_word" >&5
2442 if eval "test \"`echo '$''{'ac_cv_prog_MFONT'+set}'`\" = set"; then
2443 echo $ac_n "(cached) $ac_c" 1>&6
2445 if test -n "$MFONT"; then
2446 ac_cv_prog_MFONT
="$MFONT" # Let the user override the test.
2448 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2450 for ac_dir
in $ac_dummy; do
2451 test -z "$ac_dir" && ac_dir
=.
2452 if test -f $ac_dir/$ac_word; then
2453 ac_cv_prog_MFONT
="$ac_prog"
2460 MFONT
="$ac_cv_prog_MFONT"
2461 if test -n "$MFONT"; then
2462 echo "$ac_t""$MFONT" 1>&6
2464 echo "$ac_t""no" 1>&6
2467 test -n "$MFONT" && break
2469 test -n "$MFONT" || MFONT
="-echo no mf or mfont"
2476 # Extract the first word of "$ac_prog", so it can be a program name with args.
2477 set dummy
$ac_prog; ac_word
=$2
2478 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2479 echo "configure:2480: checking for $ac_word" >&5
2480 if eval "test \"`echo '$''{'ac_cv_prog_METAPOST'+set}'`\" = set"; then
2481 echo $ac_n "(cached) $ac_c" 1>&6
2483 if test -n "$METAPOST"; then
2484 ac_cv_prog_METAPOST
="$METAPOST" # Let the user override the test.
2486 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2488 for ac_dir
in $ac_dummy; do
2489 test -z "$ac_dir" && ac_dir
=.
2490 if test -f $ac_dir/$ac_word; then
2491 ac_cv_prog_METAPOST
="$ac_prog"
2498 METAPOST
="$ac_cv_prog_METAPOST"
2499 if test -n "$METAPOST"; then
2500 echo "$ac_t""$METAPOST" 1>&6
2502 echo "$ac_t""no" 1>&6
2505 test -n "$METAPOST" && break
2507 test -n "$METAPOST" || METAPOST
="no"
2509 if test "x$METAPOST" = "xno"; then
2510 for ac_prog
in mpost
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_MPOST'+set}'`\" = set"; then
2517 echo $ac_n "(cached) $ac_c" 1>&6
2519 if test -n "$MPOST"; then
2520 ac_cv_prog_MPOST
="$MPOST" # 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_MPOST
="$ac_prog"
2534 MPOST
="$ac_cv_prog_MPOST"
2535 if test -n "$MPOST"; then
2536 echo "$ac_t""$MPOST" 1>&6
2538 echo "$ac_t""no" 1>&6
2541 test -n "$MPOST" && break
2543 test -n "$MPOST" || MPOST
="-echo no mp or mpost"
2549 for ac_prog
in inimf
2551 # Extract the first word of "$ac_prog", so it can be a program name with args.
2552 set dummy
$ac_prog; ac_word
=$2
2553 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2554 echo "configure:2555: checking for $ac_word" >&5
2555 if eval "test \"`echo '$''{'ac_cv_prog_INIMETAFONT'+set}'`\" = set"; then
2556 echo $ac_n "(cached) $ac_c" 1>&6
2558 if test -n "$INIMETAFONT"; then
2559 ac_cv_prog_INIMETAFONT
="$INIMETAFONT" # Let the user override the test.
2561 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2563 for ac_dir
in $ac_dummy; do
2564 test -z "$ac_dir" && ac_dir
=.
2565 if test -f $ac_dir/$ac_word; then
2566 ac_cv_prog_INIMETAFONT
="$ac_prog"
2573 INIMETAFONT
="$ac_cv_prog_INIMETAFONT"
2574 if test -n "$INIMETAFONT"; then
2575 echo "$ac_t""$INIMETAFONT" 1>&6
2577 echo "$ac_t""no" 1>&6
2580 test -n "$INIMETAFONT" && break
2582 test -n "$INIMETAFONT" || INIMETAFONT
="no"
2584 if test "x$INIMETAFONT" = "xno"; then
2585 for ac_prog
in inimfont
2587 # Extract the first word of "$ac_prog", so it can be a program name with args.
2588 set dummy
$ac_prog; ac_word
=$2
2589 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2590 echo "configure:2591: checking for $ac_word" >&5
2591 if eval "test \"`echo '$''{'ac_cv_prog_INIMFONT'+set}'`\" = set"; then
2592 echo $ac_n "(cached) $ac_c" 1>&6
2594 if test -n "$INIMFONT"; then
2595 ac_cv_prog_INIMFONT
="$INIMFONT" # Let the user override the test.
2597 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2599 for ac_dir
in $ac_dummy; do
2600 test -z "$ac_dir" && ac_dir
=.
2601 if test -f $ac_dir/$ac_word; then
2602 ac_cv_prog_INIMFONT
="$ac_prog"
2609 INIMFONT
="$ac_cv_prog_INIMFONT"
2610 if test -n "$INIMFONT"; then
2611 echo "$ac_t""$INIMFONT" 1>&6
2613 echo "$ac_t""no" 1>&6
2616 test -n "$INIMFONT" && break
2618 test -n "$INIMFONT" || INIMFONT
="-echo no inimf or inimfont"
2620 INIMETAFONT
=$INIMFONT
2623 for ac_prog
in inimp
2625 # Extract the first word of "$ac_prog", so it can be a program name with args.
2626 set dummy
$ac_prog; ac_word
=$2
2627 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2628 echo "configure:2629: checking for $ac_word" >&5
2629 if eval "test \"`echo '$''{'ac_cv_prog_INIMETAPOST'+set}'`\" = set"; then
2630 echo $ac_n "(cached) $ac_c" 1>&6
2632 if test -n "$INIMETAPOST"; then
2633 ac_cv_prog_INIMETAPOST
="$INIMETAPOST" # Let the user override the test.
2635 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2637 for ac_dir
in $ac_dummy; do
2638 test -z "$ac_dir" && ac_dir
=.
2639 if test -f $ac_dir/$ac_word; then
2640 ac_cv_prog_INIMETAPOST
="$ac_prog"
2647 INIMETAPOST
="$ac_cv_prog_INIMETAPOST"
2648 if test -n "$INIMETAPOST"; then
2649 echo "$ac_t""$INIMETAPOST" 1>&6
2651 echo "$ac_t""no" 1>&6
2654 test -n "$INIMETAPOST" && break
2656 test -n "$INIMETAPOST" || INIMETAPOST
="no"
2658 if test "x$INIMETAPOST" = "xno"; then
2659 for ac_prog
in inimpost
2661 # Extract the first word of "$ac_prog", so it can be a program name with args.
2662 set dummy
$ac_prog; ac_word
=$2
2663 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2664 echo "configure:2665: checking for $ac_word" >&5
2665 if eval "test \"`echo '$''{'ac_cv_prog_INIMPOST'+set}'`\" = set"; then
2666 echo $ac_n "(cached) $ac_c" 1>&6
2668 if test -n "$INIMPOST"; then
2669 ac_cv_prog_INIMPOST
="$INIMPOST" # Let the user override the test.
2671 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2673 for ac_dir
in $ac_dummy; do
2674 test -z "$ac_dir" && ac_dir
=.
2675 if test -f $ac_dir/$ac_word; then
2676 ac_cv_prog_INIMPOST
="$ac_prog"
2683 INIMPOST
="$ac_cv_prog_INIMPOST"
2684 if test -n "$INIMPOST"; then
2685 echo "$ac_t""$INIMPOST" 1>&6
2687 echo "$ac_t""no" 1>&6
2690 test -n "$INIMPOST" && break
2692 test -n "$INIMPOST" || INIMPOST
="-echo no inimp or inimpost"
2694 INIMETAPOST
=$INIMPOST
2697 echo $ac_n "checking for working metafont mode""... $ac_c" 1>&6
2698 echo "configure:2699: checking for working metafont mode" >&5
2699 modelist
='ljfour lj4 lj3 lj2 ljet laserjet'
2700 for MFMODE
in $modelist; do
2701 $METAFONT "\mode:=$MFMODE; mode_setup; end." > /dev
/null
2>&1
2702 if test -f mfput.tfm
; then
2708 # For now let people define these in their environments
2710 : ${MFPLAIN_MP=`kpsewhich mp mfplain.mp`}
2712 if test ${INIMETAPOST} = "inimp" ; then
2713 : ${INIMETAPOST_FLAGS=''}
2715 : ${INIMETAPOST_FLAGS='-interaction=nonstopmode'}
2719 echo "$ac_t""$MFMODE" 1>&6
2730 # Check whether --enable-tfm-path or --disable-tfm-path was given.
2731 if test "${enable_tfm_path+set}" = set; then
2732 enableval
="$enable_tfm_path"
2739 for ac_prog
in kpsewhich
2741 # Extract the first word of "$ac_prog", so it can be a program name with args.
2742 set dummy
$ac_prog; ac_word
=$2
2743 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2744 echo "configure:2745: checking for $ac_word" >&5
2745 if eval "test \"`echo '$''{'ac_cv_prog_KPSEWHICH'+set}'`\" = set"; then
2746 echo $ac_n "(cached) $ac_c" 1>&6
2748 if test -n "$KPSEWHICH"; then
2749 ac_cv_prog_KPSEWHICH
="$KPSEWHICH" # Let the user override the test.
2751 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2753 for ac_dir
in $ac_dummy; do
2754 test -z "$ac_dir" && ac_dir
=.
2755 if test -f $ac_dir/$ac_word; then
2756 ac_cv_prog_KPSEWHICH
="$ac_prog"
2763 KPSEWHICH
="$ac_cv_prog_KPSEWHICH"
2764 if test -n "$KPSEWHICH"; then
2765 echo "$ac_t""$KPSEWHICH" 1>&6
2767 echo "$ac_t""no" 1>&6
2770 test -n "$KPSEWHICH" && break
2772 test -n "$KPSEWHICH" || KPSEWHICH
="no"
2774 echo $ac_n "checking for tfm path""... $ac_c" 1>&6
2775 echo "configure:2776: checking for tfm path" >&5
2777 TFM_FONTS
="cmr msam"
2779 if test "x$tfm_path" = xauto
; then
2780 if test "x$KPSEWHICH" != "xno" ; then
2781 for i
in $TFM_FONTS; do
2782 dir
=`$KPSEWHICH tfm ${i}10.tfm`
2783 TFM_PATH
="$TFM_PATH `dirname $dir`"
2787 echo "configure: warning: Please specify where cmr10.tfm lives:
2788 ./configure --enable-tfm-path=/usr/local/TeX/lib/tex/fonts" 1>&2
2796 TFM_PATH
=`echo $TFM_PATH | tr ':' ' '`
2797 echo "$ac_t""$TFM_PATH" 1>&6
2801 ## First, let's just see if we can find Guile at all.
2802 echo $ac_n "checking "for guile-config
"""... $ac_c" 1>&6
2803 echo "configure:2804: checking "for guile-config
"" >&5
2804 for guile_config
in guile-config
$target-guile-config $build-guile-config; do
2805 echo "$ac_t"""$guile_config"" 1>&6
2806 if ! $guile_config --version > /dev
/null
2>&1 ; then
2807 echo "configure: warning: "cannot execute
$guile_config"" 1>&2
2808 echo $ac_n "checking "if we are cross compiling
"""... $ac_c" 1>&6
2809 echo "configure:2810: checking "if we are cross compiling
"" >&5
2815 if test "$guile_config" = "error"; then
2816 { echo "configure: error: "cannot
find guile-config
; is Guile installed?
"" 1>&2; exit 1; }
2819 echo $ac_n "checking "Guile version
"""... $ac_c" 1>&6
2820 echo "configure:2821: checking "Guile version
"" >&5
2821 need_guile_version
="1.3.4"
2822 guile_version
=`expr "\`$guile_config --version 2>&1\
`" : ".*\($need_guile_version\).*"`
2823 echo "$ac_t"""$guile_version"" 1>&6
2824 if test "$guile_version" != "$need_guile_version"; then
2826 echo "configure: warning: "Guile version
"$need_guile_version" or newer is needed
"" 1>&2
2831 ## The GUILE_FLAGS macro.
2832 echo $ac_n "checking for Guile""... $ac_c" 1>&6
2833 echo "configure:2834: checking for Guile" >&5
2834 if ! $guile_config link
> /dev
/null
; then
2835 echo "$ac_t"""cannot execute
$guile_config"" 1>&6
2836 { echo "configure: error: "cannot
find guile-config
; is Guile installed?
"" 1>&2; exit 1; }
2839 GUILE_CFLAGS
="`$guile_config compile`"
2840 GUILE_LDFLAGS
="`$guile_config link`"
2843 echo "$ac_t""yes" 1>&6
2845 # Extract the first word of "guile", so it can be a program name with args.
2846 set dummy guile
; ac_word
=$2
2847 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2848 echo "configure:2849: checking for $ac_word" >&5
2849 if eval "test \"`echo '$''{'ac_cv_path_GUILE'+set}'`\" = set"; then
2850 echo $ac_n "(cached) $ac_c" 1>&6
2854 ac_cv_path_GUILE
="$GUILE" # Let the user override the test with a path.
2857 ac_cv_path_GUILE
="$GUILE" # Let the user override the test with a dos path.
2860 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2862 for ac_dir
in $ac_dummy; do
2863 test -z "$ac_dir" && ac_dir
=.
2864 if test -f $ac_dir/$ac_word; then
2865 ac_cv_path_GUILE
="$ac_dir/$ac_word"
2870 test -z "$ac_cv_path_GUILE" && ac_cv_path_GUILE
="error"
2874 GUILE
="$ac_cv_path_GUILE"
2875 if test -n "$GUILE"; then
2876 echo "$ac_t""$GUILE" 1>&6
2878 echo "$ac_t""no" 1>&6
2886 # Check whether --enable-kpathsea or --disable-kpathsea was given.
2887 if test "${enable_kpathsea+set}" = set; then
2888 enableval
="$enable_kpathsea"
2889 kpathsea_b
=$enableval
2893 if test $kpathsea_b = yes; then
2894 for ac_hdr
in kpathsea
/kpathsea.h
2896 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2897 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2898 echo "configure:2899: checking for $ac_hdr" >&5
2899 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2900 echo $ac_n "(cached) $ac_c" 1>&6
2902 cat > conftest.
$ac_ext <<EOF
2903 #line 2904 "configure"
2904 #include "confdefs.h"
2907 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2908 { (eval echo configure
:2909: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2909 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2910 if test -z "$ac_err"; then
2912 eval "ac_cv_header_$ac_safe=yes"
2915 echo "configure: failed program was:" >&5
2916 cat conftest.
$ac_ext >&5
2918 eval "ac_cv_header_$ac_safe=no"
2922 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2923 echo "$ac_t""yes" 1>&6
2924 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2925 cat >> confdefs.h
<<EOF
2926 #define $ac_tr_hdr 1
2930 echo "$ac_t""no" 1>&6
2934 echo $ac_n "checking for kpse_find_file in -lkpathsea""... $ac_c" 1>&6
2935 echo "configure:2936: checking for kpse_find_file in -lkpathsea" >&5
2936 ac_lib_var
=`echo kpathsea'_'kpse_find_file | sed 'y%./+-%__p_%'`
2937 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2938 echo $ac_n "(cached) $ac_c" 1>&6
2940 ac_save_LIBS
="$LIBS"
2941 LIBS
="-lkpathsea $LIBS"
2942 cat > conftest.
$ac_ext <<EOF
2943 #line 2944 "configure"
2944 #include "confdefs.h"
2945 /* Override any gcc2 internal prototype to avoid an error. */
2949 /* We use char because int might match the return type of a gcc2
2950 builtin and then its argument prototype would still apply. */
2951 char kpse_find_file();
2957 if { (eval echo configure
:2958: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
2959 eval "ac_cv_lib_$ac_lib_var=yes"
2961 echo "configure: failed program was:" >&5
2962 cat conftest.
$ac_ext >&5
2964 eval "ac_cv_lib_$ac_lib_var=no"
2967 LIBS
="$ac_save_LIBS"
2970 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2971 echo "$ac_t""yes" 1>&6
2972 ac_tr_lib
=HAVE_LIB
`echo kpathsea | sed -e 's/[^a-zA-Z0-9_]/_/g' \
2973 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
2974 cat >> confdefs.h
<<EOF
2975 #define $ac_tr_lib 1
2978 LIBS
="-lkpathsea $LIBS"
2981 echo "$ac_t""no" 1>&6
2984 # urg: kpse_find_tfm is a #define, how to check for this?
2985 # AC_CHECK_LIB(kpathsea, kpse_find_tfm)
2986 # AC_CHECK_FUNCS(kpse_find_file kpse_find_tfm,, AC_STEPMAKE_WARN(Cannot find kpathsea functions. You may have to create TFM files manually.))
2987 for ac_func
in kpse_find_file
2989 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
2990 echo "configure:2991: checking for $ac_func" >&5
2991 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
2992 echo $ac_n "(cached) $ac_c" 1>&6
2994 cat > conftest.
$ac_ext <<EOF
2995 #line 2996 "configure"
2996 #include "confdefs.h"
2997 /* System header to define __stub macros and hopefully few prototypes,
2998 which can conflict with char $ac_func(); below. */
3000 /* Override any gcc2 internal prototype to avoid an error. */
3004 /* We use char because int might match the return type of a gcc2
3005 builtin and then its argument prototype would still apply. */
3010 /* The GNU C library defines this for functions which it implements
3011 to always fail with ENOSYS. Some functions are actually named
3012 something starting with __ and the normal name is an alias. */
3013 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3021 if { (eval echo configure
:3022: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
3023 eval "ac_cv_func_$ac_func=yes"
3025 echo "configure: failed program was:" >&5
3026 cat conftest.
$ac_ext >&5
3028 eval "ac_cv_func_$ac_func=no"
3033 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
3034 echo "$ac_t""yes" 1>&6
3035 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3036 cat >> confdefs.h
<<EOF
3037 #define $ac_tr_func 1
3041 echo "$ac_t""no" 1>&6
3042 echo "configure: warning: Cannot find kpathsea functions. You may have to create TFM files manually." 1>&2
3049 echo $ac_n "checking whether to use kpathsea""... $ac_c" 1>&6
3050 echo "configure:3051: checking whether to use kpathsea" >&5
3051 if test $kpathsea_b = yes; then
3052 echo "$ac_t""yes" 1>&6
3055 echo "$ac_t""no" 1>&6
3060 cat >> confdefs.h
<<EOF
3061 #define KPATHSEA $KPATHSEA
3067 echo $ac_n "checking for 8-bit clean memcmp""... $ac_c" 1>&6
3068 echo "configure:3069: checking for 8-bit clean memcmp" >&5
3069 if eval "test \"`echo '$''{'ac_cv_func_memcmp_clean'+set}'`\" = set"; then
3070 echo $ac_n "(cached) $ac_c" 1>&6
3072 if test "$cross_compiling" = yes; then
3073 ac_cv_func_memcmp_clean
=no
3075 cat > conftest.
$ac_ext <<EOF
3076 #line 3077 "configure"
3077 #include "confdefs.h"
3079 extern "C" void exit(int);
3084 char c0 = 0x40, c1 = 0x80, c2 = 0x81;
3085 exit(memcmp(&c0, &c2, 1) < 0 && memcmp(&c1, &c2, 1) < 0 ? 0 : 1);
3089 if { (eval echo configure
:3090: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
3091 ac_cv_func_memcmp_clean
=yes
3093 echo "configure: failed program was:" >&5
3094 cat conftest.
$ac_ext >&5
3096 ac_cv_func_memcmp_clean
=no
3103 echo "$ac_t""$ac_cv_func_memcmp_clean" 1>&6
3104 test $ac_cv_func_memcmp_clean = no
&& LIBOBJS
="$LIBOBJS memcmp.${ac_objext}"
3106 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
3107 echo "configure:3108: checking for vprintf" >&5
3108 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
3109 echo $ac_n "(cached) $ac_c" 1>&6
3111 cat > conftest.
$ac_ext <<EOF
3112 #line 3113 "configure"
3113 #include "confdefs.h"
3114 /* System header to define __stub macros and hopefully few prototypes,
3115 which can conflict with char vprintf(); below. */
3117 /* Override any gcc2 internal prototype to avoid an error. */
3121 /* We use char because int might match the return type of a gcc2
3122 builtin and then its argument prototype would still apply. */
3127 /* The GNU C library defines this for functions which it implements
3128 to always fail with ENOSYS. Some functions are actually named
3129 something starting with __ and the normal name is an alias. */
3130 #if defined (__stub_vprintf) || defined (__stub___vprintf)
3138 if { (eval echo configure
:3139: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
3140 eval "ac_cv_func_vprintf=yes"
3142 echo "configure: failed program was:" >&5
3143 cat conftest.
$ac_ext >&5
3145 eval "ac_cv_func_vprintf=no"
3150 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
3151 echo "$ac_t""yes" 1>&6
3152 cat >> confdefs.h
<<\EOF
3153 #define HAVE_VPRINTF 1
3157 echo "$ac_t""no" 1>&6
3160 if test "$ac_cv_func_vprintf" != yes; then
3161 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
3162 echo "configure:3163: checking for _doprnt" >&5
3163 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
3164 echo $ac_n "(cached) $ac_c" 1>&6
3166 cat > conftest.
$ac_ext <<EOF
3167 #line 3168 "configure"
3168 #include "confdefs.h"
3169 /* System header to define __stub macros and hopefully few prototypes,
3170 which can conflict with char _doprnt(); below. */
3172 /* Override any gcc2 internal prototype to avoid an error. */
3176 /* We use char because int might match the return type of a gcc2
3177 builtin and then its argument prototype would still apply. */
3182 /* The GNU C library defines this for functions which it implements
3183 to always fail with ENOSYS. Some functions are actually named
3184 something starting with __ and the normal name is an alias. */
3185 #if defined (__stub__doprnt) || defined (__stub____doprnt)
3193 if { (eval echo configure
:3194: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
3195 eval "ac_cv_func__doprnt=yes"
3197 echo "configure: failed program was:" >&5
3198 cat conftest.
$ac_ext >&5
3200 eval "ac_cv_func__doprnt=no"
3205 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
3206 echo "$ac_t""yes" 1>&6
3207 cat >> confdefs.h
<<\EOF
3208 #define HAVE_DOPRNT 1
3212 echo "$ac_t""no" 1>&6
3217 for ac_func
in memmem snprintf vsnprintf
gettext isinf
3219 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
3220 echo "configure:3221: checking for $ac_func" >&5
3221 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
3222 echo $ac_n "(cached) $ac_c" 1>&6
3224 cat > conftest.
$ac_ext <<EOF
3225 #line 3226 "configure"
3226 #include "confdefs.h"
3227 /* System header to define __stub macros and hopefully few prototypes,
3228 which can conflict with char $ac_func(); below. */
3230 /* Override any gcc2 internal prototype to avoid an error. */
3234 /* We use char because int might match the return type of a gcc2
3235 builtin and then its argument prototype would still apply. */
3240 /* The GNU C library defines this for functions which it implements
3241 to always fail with ENOSYS. Some functions are actually named
3242 something starting with __ and the normal name is an alias. */
3243 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3251 if { (eval echo configure
:3252: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
3253 eval "ac_cv_func_$ac_func=yes"
3255 echo "configure: failed program was:" >&5
3256 cat conftest.
$ac_ext >&5
3258 eval "ac_cv_func_$ac_func=no"
3263 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
3264 echo "$ac_t""yes" 1>&6
3265 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3266 cat >> confdefs.h
<<EOF
3267 #define $ac_tr_func 1
3271 echo "$ac_t""no" 1>&6
3276 cat >> confdefs.h
<<EOF
3277 #define TOPLEVEL_VERSION "${FULL_VERSION}"
3280 cat >> confdefs.h
<<EOF
3281 #define FLOWER_VERSION "${FULL_FLOWER_VERSION}"
3285 for ac_prog
in makeinfo
3287 # Extract the first word of "$ac_prog", so it can be a program name with args.
3288 set dummy
$ac_prog; ac_word
=$2
3289 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3290 echo "configure:3291: checking for $ac_word" >&5
3291 if eval "test \"`echo '$''{'ac_cv_prog_MAKEINFO'+set}'`\" = set"; then
3292 echo $ac_n "(cached) $ac_c" 1>&6
3294 if test -n "$MAKEINFO"; then
3295 ac_cv_prog_MAKEINFO
="$MAKEINFO" # Let the user override the test.
3297 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
3299 for ac_dir
in $ac_dummy; do
3300 test -z "$ac_dir" && ac_dir
=.
3301 if test -f $ac_dir/$ac_word; then
3302 ac_cv_prog_MAKEINFO
="$ac_prog"
3309 MAKEINFO
="$ac_cv_prog_MAKEINFO"
3310 if test -n "$MAKEINFO"; then
3311 echo "$ac_t""$MAKEINFO" 1>&6
3313 echo "$ac_t""no" 1>&6
3316 test -n "$MAKEINFO" && break
3318 test -n "$MAKEINFO" || MAKEINFO
="error"
3320 # Extract the first word of "perl", so it can be a program name with args.
3321 set dummy perl
; ac_word
=$2
3322 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3323 echo "configure:3324: checking for $ac_word" >&5
3324 if eval "test \"`echo '$''{'ac_cv_path_PERL'+set}'`\" = set"; then
3325 echo $ac_n "(cached) $ac_c" 1>&6
3329 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
3332 ac_cv_path_PERL
="$PERL" # Let the user override the test with a dos path.
3335 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
3337 for ac_dir
in $ac_dummy; do
3338 test -z "$ac_dir" && ac_dir
=.
3339 if test -f $ac_dir/$ac_word; then
3340 ac_cv_path_PERL
="$ac_dir/$ac_word"
3345 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL
="error"
3349 PERL
="$ac_cv_path_PERL"
3350 if test -n "$PERL"; then
3351 echo "$ac_t""$PERL" 1>&6
3353 echo "$ac_t""no" 1>&6
3359 cat > confcache
<<\EOF
3360 # This file is a shell script that caches the results of configure
3361 # tests run on this system so they can be shared between configure
3362 # scripts and configure runs. It is not useful on other systems.
3363 # If it contains results you don't want to keep, you may remove or edit it.
3365 # By default, configure uses ./config.cache as the cache file,
3366 # creating it if it does not exist already. You can give configure
3367 # the --cache-file=FILE option to use a different cache file; that is
3368 # what configure does when it calls configure scripts in
3369 # subdirectories, so they share the cache.
3370 # Giving --cache-file=/dev/null disables caching, for debugging configure.
3371 # config.status only pays attention to the cache file if you give it the
3372 # --recheck option to rerun configure.
3375 # The following way of writing the cache mishandles newlines in values,
3376 # but we know of no workaround that is simple, portable, and efficient.
3377 # So, don't put newlines in cache variables' values.
3378 # Ultrix sh set writes to stderr and can't be redirected directly,
3379 # and sets the high bit in the cache file unless we assign to the vars.
3381 case `(ac_space=' '; set | grep ac_space) 2>&1` in
3383 # `set' does not quote correctly, so add quotes (double-quote substitution
3384 # turns \\\\ into \\, and sed turns \\ into \).
3386 -e "s/'/'\\\\''/g" \
3387 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
3390 # `set' quotes correctly as required by POSIX, so do not add quotes.
3391 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
3394 if cmp -s $cache_file confcache
; then
3397 if test -w $cache_file; then
3398 echo "updating cache $cache_file"
3399 cat confcache
> $cache_file
3401 echo "not updating unwritable cache $cache_file"
3406 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
3408 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
3409 # Let make expand exec_prefix.
3410 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
3412 # Any assignment to VPATH causes Sun make to only execute
3413 # the first set of double-colon rules, so remove it if not needed.
3414 # If there is a colon in the path, we need to keep it.
3415 if test "x$srcdir" = x.
; then
3416 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
3419 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
3421 DEFS
=-DHAVE_CONFIG_H
3423 # Without the "./", some shells look in PATH for config.status.
3424 : ${CONFIG_STATUS=./config.status}
3426 echo creating
$CONFIG_STATUS
3427 rm -f $CONFIG_STATUS
3428 cat > $CONFIG_STATUS <<EOF
3430 # Generated automatically by configure.
3431 # Run this file to recreate the current configuration.
3432 # This directory was configured as follows,
3433 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
3435 # $0 $ac_configure_args
3437 # Compiler output produced by configure, useful for debugging
3438 # configure, is in ./config.log if it exists.
3440 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
3443 case "\$ac_option" in
3444 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3445 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
3446 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
3447 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
3448 echo "$CONFIG_STATUS generated by autoconf version 2.13"
3450 -help | --help | --hel | --he | --h)
3451 echo "\$ac_cs_usage"; exit 0 ;;
3452 *) echo "\$ac_cs_usage"; exit 1 ;;
3456 ac_given_srcdir=$srcdir
3458 trap 'rm -fr `echo "$CONFIGFILE.make:config.make.in $CONFIGFILE.h:config.hh.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
3460 cat >> $CONFIG_STATUS <<EOF
3462 # Protect against being on the right side of a sed subst in config.status.
3463 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
3464 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
3468 s%@CFLAGS@%$CFLAGS%g
3469 s%@CPPFLAGS@%$CPPFLAGS%g
3470 s%@CXXFLAGS@%$CXXFLAGS%g
3471 s%@FFLAGS@%$FFLAGS%g
3473 s%@LDFLAGS@%$LDFLAGS%g
3475 s%@exec_prefix@%$exec_prefix%g
3476 s%@prefix@%$prefix%g
3477 s%@program_transform_name@%$program_transform_name%g
3478 s%@bindir@%$bindir%g
3479 s%@sbindir@%$sbindir%g
3480 s%@libexecdir@%$libexecdir%g
3481 s%@datadir@%$datadir%g
3482 s%@sysconfdir@%$sysconfdir%g
3483 s%@sharedstatedir@%$sharedstatedir%g
3484 s%@localstatedir@%$localstatedir%g
3485 s%@libdir@%$libdir%g
3486 s%@includedir@%$includedir%g
3487 s%@oldincludedir@%$oldincludedir%g
3488 s%@infodir@%$infodir%g
3489 s%@mandir@%$mandir%g
3490 s%@builddir@%$builddir%g
3491 s%@stepmake@%$stepmake%g
3492 s%@package@%$package%g
3493 s%@PACKAGE@%$PACKAGE%g
3494 s%@PACKAGE_NAME@%$PACKAGE_NAME%g
3495 s%@package_depth@%$package_depth%g
3496 s%@AUTOGENERATE@%$AUTOGENERATE%g
3497 s%@STATE_VECTOR@%$STATE_VECTOR%g
3498 s%@CONFIGSUFFIX@%$CONFIGSUFFIX%g
3500 s%@host_alias@%$host_alias%g
3501 s%@host_cpu@%$host_cpu%g
3502 s%@host_vendor@%$host_vendor%g
3503 s%@host_os@%$host_os%g
3508 s%@PYTHON@%$PYTHON%g
3509 s%@program_prefix@%$program_prefix%g
3510 s%@program_suffix@%$program_suffix%g
3514 s%@INSTALL@%$INSTALL%g
3515 s%@PATHSEP@%$PATHSEP%g
3516 s%@DIRSEP@%$DIRSEP%g
3517 s%@DIR_DATADIR@%$DIR_DATADIR%g
3518 s%@subdirs@%$subdirs%g
3521 s%@ICFLAGS@%$ICFLAGS%g
3522 s%@ILDFLAGS@%$ILDFLAGS%g
3523 s%@DEFINES@%$DEFINES%g
3524 s%@EXTRA_LIBES@%$EXTRA_LIBES%g
3527 s%@CXXCPP@%$CXXCPP%g
3532 s%@RANLIB@%$RANLIB%g
3533 s%@localedir@%$localedir%g
3534 s%@DIR_LOCALEDIR@%$DIR_LOCALEDIR%g
3535 s%@MSGFMT@%$MSGFMT%g
3536 s%@METAFONT@%$METAFONT%g
3538 s%@METAPOST@%$METAPOST%g
3540 s%@INIMETAFONT@%$INIMETAFONT%g
3541 s%@INIMFONT@%$INIMFONT%g
3542 s%@INIMETAPOST@%$INIMETAPOST%g
3543 s%@INIMPOST@%$INIMPOST%g
3544 s%@MFMODE@%$MFMODE%g
3545 s%@MFPLAIN_MP@%$MFPLAIN_MP%g
3546 s%@INIMETAPOST_FLAGS@%$INIMETAPOST_FLAGS%g
3547 s%@KPSEWHICH@%$KPSEWHICH%g
3548 s%@TFM_PATH@%$TFM_PATH%g
3549 s%@GUILE_CFLAGS@%$GUILE_CFLAGS%g
3550 s%@GUILE_LDFLAGS@%$GUILE_LDFLAGS%g
3552 s%@KPATHSEA@%$KPATHSEA%g
3553 s%@LIBOBJS@%$LIBOBJS%g
3554 s%@MAKEINFO@%$MAKEINFO%g
3560 cat >> $CONFIG_STATUS <<\EOF
3562 # Split the substitutions into bite-sized pieces for seds with
3563 # small command number limits, like on Digital OSF/1 and HP-UX.
3564 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
3565 ac_file
=1 # Number of current file.
3566 ac_beg
=1 # First line for current file.
3567 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
3570 while $ac_more_lines; do
3571 if test $ac_beg -gt 1; then
3572 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
3574 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
3576 if test ! -s conftest.s
$ac_file; then
3578 rm -f conftest.s
$ac_file
3580 if test -z "$ac_sed_cmds"; then
3581 ac_sed_cmds
="sed -f conftest.s$ac_file"
3583 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
3585 ac_file
=`expr $ac_file + 1`
3587 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
3590 if test -z "$ac_sed_cmds"; then
3595 cat >> $CONFIG_STATUS <<EOF
3597 CONFIG_FILES=\${CONFIG_FILES-"$CONFIGFILE.make:config.make.in"}
3599 cat >> $CONFIG_STATUS <<\EOF
3600 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
3601 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3603 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
3604 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
3605 *) ac_file_in
="${ac_file}.in" ;;
3608 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
3610 # Remove last slash and all that follows it. Not all systems have dirname.
3611 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
3612 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
3613 # The file is in a subdirectory.
3614 test ! -d "$ac_dir" && mkdir
"$ac_dir"
3615 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
3616 # A "../" for each directory in $ac_dir_suffix.
3617 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
3619 ac_dir_suffix
= ac_dots
=
3622 case "$ac_given_srcdir" in
3624 if test -z "$ac_dots"; then top_srcdir
=.
3625 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
3626 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
3628 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
3629 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
3633 echo creating
"$ac_file"
3635 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
3637 *Makefile
*) ac_comsub
="1i\\
3638 # $configure_input" ;;
3642 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
3644 s%@configure_input@%$configure_input%g
3645 s%@srcdir@%$srcdir%g
3646 s%@top_srcdir@%$top_srcdir%g
3647 " $ac_file_inputs |
(eval "$ac_sed_cmds") > $ac_file
3651 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
3652 # NAME is the cpp macro being defined and VALUE is the value it is being given.
3654 # ac_d sets the value in "#define NAME VALUE" lines.
3655 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
3656 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
3659 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
3660 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
3661 ac_uB
='\([ ]\)%\1#\2define\3'
3664 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
3665 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
3666 ac_eB
='$%\1#\2define\3'
3670 if test "${CONFIG_HEADERS+set}" != set; then
3672 cat >> $CONFIG_STATUS <<EOF
3673 CONFIG_HEADERS="$CONFIGFILE.h:config.hh.in"
3675 cat >> $CONFIG_STATUS <<\EOF
3677 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
3678 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3680 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
3681 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
3682 *) ac_file_in
="${ac_file}.in" ;;
3685 echo creating
$ac_file
3687 rm -f conftest.frag conftest.
in conftest.out
3688 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
3689 cat $ac_file_inputs > conftest.
in
3693 # Transform confdefs.h into a sed script conftest.vals that substitutes
3694 # the proper values into config.h.in to produce config.h. And first:
3695 # Protect against being on the right side of a sed subst in config.status.
3696 # Protect against being in an unquoted here document in config.status.
3698 cat > conftest.hdr
<<\EOF
3701 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
3705 sed -n -f conftest.hdr confdefs.h > conftest.vals
3708 # This sed command replaces #undef with comments. This is necessary, for
3709 # example, in the case of _POSIX_SOURCE, which is predefined and required
3710 # on some systems where configure will not decide to define it.
3711 cat >> conftest.vals <<\EOF
3712 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
3715 # Break up conftest.vals because some shells have a limit on
3716 # the size of here documents, and old seds have small limits too.
3721 ac_lines=`grep -c . conftest.vals
`
3722 # grep -c gives empty output for an empty file on some AIX systems.
3723 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
3724 # Write a limited-size here document to conftest.frag.
3725 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
3726 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
3728 sed -f conftest.frag conftest.in > conftest.out
3730 mv conftest.out conftest.in
3732 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
3734 mv conftest.tail conftest.vals
3738 cat >> $CONFIG_STATUS <<\EOF
3739 rm -f conftest.frag conftest.h
3740 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
3741 cat conftest.in >> conftest.h
3743 if cmp -s $ac_file conftest.h 2>/dev/null; then
3744 echo "$ac_file is unchanged"
3747 # Remove last slash and all that follows it. Not all systems have dirname.
3748 ac_dir=`echo $ac_file|
sed 's%/[^/][^/]*$%%'`
3749 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
3750 # The file is in a subdirectory.
3751 test ! -d "$ac_dir" && mkdir "$ac_dir"
3754 mv conftest.h $ac_file
3759 cat >> $CONFIG_STATUS <<EOF
3762 cat >> $CONFIG_STATUS <<\EOF
3766 chmod +x $CONFIG_STATUS
3767 rm -fr confdefs* $ac_clean_files
3768 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
3770 if test "$no_recursion" != yes; then
3772 # Remove --cache-file and --srcdir arguments so they do not pile up.
3773 ac_sub_configure_args=
3775 for ac_arg in $ac_configure_args; do
3776 if test -n "$ac_prev"; then
3781 -cache-file | --cache-file | --cache-fil | --cache-fi \
3782 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
3783 ac_prev=cache_file ;;
3784 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
3785 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
3787 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
3789 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
3791 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
3795 for ac_config_dir in stepmake; do
3797 # Do not complain, so a configure script can configure whichever
3798 # parts of a large source tree are present.
3799 if test ! -d $srcdir/$ac_config_dir; then
3803 echo configuring in $ac_config_dir
3808 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
3810 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
3818 # A "../" for each directory in /$ac_config_dir.
3819 ac_dots=`echo $ac_config_dir|
sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
3822 .) # No --srcdir option. We are building in place.
3823 ac_sub_srcdir=$srcdir ;;
3824 /*) # Absolute path.
3825 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
3827 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
3830 # Check for guested configure; otherwise get Cygnus style configure.
3831 if test -f $ac_sub_srcdir/configure; then
3832 ac_sub_configure=$ac_sub_srcdir/configure
3833 elif test -f $ac_sub_srcdir/configure.in; then
3834 ac_sub_configure=$ac_configure
3836 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
3840 # The recursion is here.
3841 if test -n "$ac_sub_configure"; then
3843 # Make the cache file name correct relative to the subdirectory.
3844 case "$cache_file" in
3845 /*) ac_sub_cache_file=$cache_file ;;
3847 ac_sub_cache_file="$ac_dots$cache_file" ;;
3850 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
3851 # The eval makes quoting arguments work.
3852 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
3855 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }
3864 rm -f $srcdir/GNUmakefile
3865 cp $srcdir/make/toplevel.make.in $srcdir/GNUmakefile
3866 chmod 444 $srcdir/GNUmakefile
3867 if test "$builddir" != "."; then
3869 cp $srcdir/make/srcdir.make.in GNUmakefile
3870 chmod 444 GNUmakefile