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 # Initialize some variables set by options.
89 # The variables have the same names as the options, with
90 # dashes changed to underlines.
92 cache_file
=.
/config.cache
101 program_transform_name
=s
,x
,x
,
109 bindir
='${exec_prefix}/bin'
110 sbindir
='${exec_prefix}/sbin'
111 libexecdir
='${exec_prefix}/libexec'
112 datadir
='${prefix}/share'
113 sysconfdir
='${prefix}/etc'
114 sharedstatedir
='${prefix}/com'
115 localstatedir
='${prefix}/var'
116 libdir
='${exec_prefix}/lib'
117 includedir
='${prefix}/include'
118 oldincludedir
='/usr/include'
119 infodir
='${prefix}/info'
120 mandir
='${prefix}/man'
122 # Initialize some other variables.
125 SHELL
=${CONFIG_SHELL-/bin/sh}
126 # Maximum number of lines to put in a shell here document.
133 # If the previous option needs an argument, assign it.
134 if test -n "$ac_prev"; then
135 eval "$ac_prev=\$ac_option"
141 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
145 # Accept the important Cygnus configure options, so we can diagnose typos.
149 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
151 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
152 bindir
="$ac_optarg" ;;
154 -build |
--build |
--buil |
--bui |
--bu)
156 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
157 build
="$ac_optarg" ;;
159 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
160 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
161 ac_prev
=cache_file
;;
162 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
163 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
164 cache_file
="$ac_optarg" ;;
166 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
168 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
170 datadir
="$ac_optarg" ;;
172 -disable-* |
--disable-*)
173 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
174 # Reject names that are not valid shell variable names.
175 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
176 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
178 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
179 eval "enable_${ac_feature}=no" ;;
181 -enable-* |
--enable-*)
182 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
183 # Reject names that are not valid shell variable names.
184 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
185 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
187 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
192 eval "enable_${ac_feature}='$ac_optarg'" ;;
194 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
195 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
196 |
--exec |
--exe |
--ex)
197 ac_prev
=exec_prefix
;;
198 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
199 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
200 |
--exec=* |
--exe=* |
--ex=*)
201 exec_prefix
="$ac_optarg" ;;
203 -gas |
--gas |
--ga |
--g)
204 # Obsolete; use --with-gas.
207 -help |
--help |
--hel |
--he)
208 # Omit some internal or obsolete options to make the list less imposing.
209 # This message is too long to be a string in the A/UX 3.1 sh.
211 Usage: configure [options] [host]
212 Options: [defaults in brackets after descriptions]
214 --cache-file=FILE cache test results in FILE
215 --help print this message
216 --no-create do not create output files
217 --quiet, --silent do not print \`checking...' messages
218 --version print the version of autoconf that created configure
219 Directory and file names:
220 --prefix=PREFIX install architecture-independent files in PREFIX
222 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
224 --bindir=DIR user executables in DIR [EPREFIX/bin]
225 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
226 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
227 --datadir=DIR read-only architecture-independent data in DIR
229 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
230 --sharedstatedir=DIR modifiable architecture-independent data in DIR
232 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
233 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
234 --includedir=DIR C header files in DIR [PREFIX/include]
235 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
236 --infodir=DIR info documentation in DIR [PREFIX/info]
237 --mandir=DIR man documentation in DIR [PREFIX/man]
238 --srcdir=DIR find the sources in DIR [configure dir or ..]
239 --program-prefix=PREFIX prepend PREFIX to installed program names
240 --program-suffix=SUFFIX append SUFFIX to installed program names
241 --program-transform-name=PROGRAM
242 run sed PROGRAM on installed program names
246 --build=BUILD configure for building on BUILD [BUILD=HOST]
247 --host=HOST configure for HOST [guessed]
248 --target=TARGET configure for TARGET [TARGET=HOST]
249 Features and packages:
250 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
251 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
252 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
253 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
254 --x-includes=DIR X include files are in DIR
255 --x-libraries=DIR X library files are in DIR
257 if test -n "$ac_help"; then
258 echo "--enable and --with options recognized:$ac_help"
262 -host |
--host |
--hos |
--ho)
264 -host=* |
--host=* |
--hos=* |
--ho=*)
267 -includedir |
--includedir |
--includedi |
--included |
--include \
268 |
--includ |
--inclu |
--incl |
--inc)
269 ac_prev
=includedir
;;
270 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
271 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
272 includedir
="$ac_optarg" ;;
274 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
276 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
277 infodir
="$ac_optarg" ;;
279 -libdir |
--libdir |
--libdi |
--libd)
281 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
282 libdir
="$ac_optarg" ;;
284 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
285 |
--libexe |
--libex |
--libe)
286 ac_prev
=libexecdir
;;
287 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
288 |
--libexe=* |
--libex=* |
--libe=*)
289 libexecdir
="$ac_optarg" ;;
291 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
292 |
--localstate |
--localstat |
--localsta |
--localst \
293 |
--locals |
--local |
--loca |
--loc |
--lo)
294 ac_prev
=localstatedir
;;
295 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
296 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
297 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
298 localstatedir
="$ac_optarg" ;;
300 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
302 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
303 mandir
="$ac_optarg" ;;
306 # Obsolete; use --without-fp.
309 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
313 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
314 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
317 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
318 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
319 |
--oldin |
--oldi |
--old |
--ol |
--o)
320 ac_prev
=oldincludedir
;;
321 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
322 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
323 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
324 oldincludedir
="$ac_optarg" ;;
326 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
328 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
329 prefix
="$ac_optarg" ;;
331 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
332 |
--program-pre |
--program-pr |
--program-p)
333 ac_prev
=program_prefix
;;
334 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
335 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
336 program_prefix
="$ac_optarg" ;;
338 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
339 |
--program-suf |
--program-su |
--program-s)
340 ac_prev
=program_suffix
;;
341 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
342 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
343 program_suffix
="$ac_optarg" ;;
345 -program-transform-name |
--program-transform-name \
346 |
--program-transform-nam |
--program-transform-na \
347 |
--program-transform-n |
--program-transform- \
348 |
--program-transform |
--program-transfor \
349 |
--program-transfo |
--program-transf \
350 |
--program-trans |
--program-tran \
351 |
--progr-tra |
--program-tr |
--program-t)
352 ac_prev
=program_transform_name
;;
353 -program-transform-name=* |
--program-transform-name=* \
354 |
--program-transform-nam=* |
--program-transform-na=* \
355 |
--program-transform-n=* |
--program-transform-=* \
356 |
--program-transform=* |
--program-transfor=* \
357 |
--program-transfo=* |
--program-transf=* \
358 |
--program-trans=* |
--program-tran=* \
359 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
360 program_transform_name
="$ac_optarg" ;;
362 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
363 |
-silent |
--silent |
--silen |
--sile |
--sil)
366 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
368 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
370 sbindir
="$ac_optarg" ;;
372 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
373 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
374 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
376 ac_prev
=sharedstatedir
;;
377 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
378 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
379 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
381 sharedstatedir
="$ac_optarg" ;;
383 -site |
--site |
--sit)
385 -site=* |
--site=* |
--sit=*)
388 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
390 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
391 srcdir
="$ac_optarg" ;;
393 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
394 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
395 ac_prev
=sysconfdir
;;
396 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
397 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
398 sysconfdir
="$ac_optarg" ;;
400 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
402 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
403 target
="$ac_optarg" ;;
405 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
408 -version |
--version |
--versio |
--versi |
--vers)
409 echo "configure generated by autoconf version 2.13"
413 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
414 # Reject names that are not valid shell variable names.
415 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
416 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
418 ac_package
=`echo $ac_package| sed 's/-/_/g'`
423 eval "with_${ac_package}='$ac_optarg'" ;;
425 -without-* |
--without-*)
426 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
427 # Reject names that are not valid shell variable names.
428 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
429 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
431 ac_package
=`echo $ac_package| sed 's/-/_/g'`
432 eval "with_${ac_package}=no" ;;
435 # Obsolete; use --with-x.
438 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
439 |
--x-incl |
--x-inc |
--x-in |
--x-i)
440 ac_prev
=x_includes
;;
441 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
442 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
443 x_includes
="$ac_optarg" ;;
445 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
446 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
447 ac_prev
=x_libraries
;;
448 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
449 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
450 x_libraries
="$ac_optarg" ;;
452 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
456 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
457 echo "configure: warning: $ac_option: invalid host type" 1>&2
459 if test "x$nonopt" != xNONE
; then
460 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
468 if test -n "$ac_prev"; then
469 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
472 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
474 # File descriptor usage:
477 # 2 errors and warnings
478 # 3 some systems may open it to /dev/tty
479 # 4 used on the Kubota Titan
480 # 6 checking for... messages and results
481 # 5 compiler messages saved in config.log
482 if test "$silent" = yes; then
490 This file contains any messages produced by compilers while
491 running configure, to aid debugging if configure makes a mistake.
494 # Strip out --no-create and --no-recursion so they do not pile up.
495 # Also quote any args containing shell metacharacters.
500 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
501 |
--no-cr |
--no-c) ;;
502 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
503 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r) ;;
504 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
505 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
506 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
511 # Only set these to C if already set. These must not be set unconditionally
512 # because not all systems understand e.g. LANG=C (notably SCO).
513 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
514 # Non-C LC_CTYPE values break the ctype check.
515 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
516 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
517 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
518 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
520 # confdefs.h avoids OS command line length limits that DEFS can exceed.
521 rm -rf conftest
* confdefs.h
522 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
525 # A filename unique to this package, relative to the directory that
526 # configure is in, which we can look for to find out if srcdir is correct.
527 ac_unique_file
=make
/lilypond.lsm.
in
529 # Find the source files, if location was not specified.
530 if test -z "$srcdir"; then
531 ac_srcdir_defaulted
=yes
532 # Try the directory containing this script, then its parent.
534 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
535 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
537 if test ! -r $srcdir/$ac_unique_file; then
541 ac_srcdir_defaulted
=no
543 if test ! -r $srcdir/$ac_unique_file; then
544 if test "$ac_srcdir_defaulted" = yes; then
545 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
547 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
550 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
552 # Prefer explicitly selected file to automatically selected ones.
553 if test -z "$CONFIG_SITE"; then
554 if test "x$prefix" != xNONE
; then
555 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
557 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
560 for ac_site_file
in $CONFIG_SITE; do
561 if test -r "$ac_site_file"; then
562 echo "loading site script $ac_site_file"
567 if test -r "$cache_file"; then
568 echo "loading cache $cache_file"
571 echo "creating cache $cache_file"
576 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
577 ac_cpp
='$CPP $CPPFLAGS'
578 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
579 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
580 cross_compiling
=$ac_cv_prog_cc_cross
584 if (echo "testing\c"; echo 1,2,3) |
grep c
>/dev
/null
; then
585 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
586 if (echo -n testing
; echo 1,2,3) |
sed s
/-n/xn
/ |
grep xn
>/dev
/null
; then
593 ac_n
= ac_c
='\c' ac_t
=
599 # Bootstrap StepMake configure
603 FULL_VERSION
=$MAJOR_VERSION.
$MINOR_VERSION.
$PATCH_LEVEL
604 if test x
$MY_PATCH_LEVEL != x
; then
605 FULL_VERSION
=$FULL_VERSION.
$MY_PATCH_LEVEL
608 # urg: don't "fix" this: irix doesn't know about [:lower:] and [:upper:]
609 PACKAGE
=`echo $PACKAGE_NAME | tr '[a-z]' '[A-Z]'`
610 package
=`echo $PACKAGE_NAME | tr '[A-Z]' '[a-z]'`
612 # No versioning on directory names of sub-packages
614 stepmake
=${datadir}/stepmake
616 if test "$prefix" = "NONE"; then
617 presome
=${ac_default_prefix}
619 stepmake
=`echo ${stepmake} | sed "s!\\\${prefix}!$presome!"`
621 # urg, how is this supposed to work?
622 if test "$program_prefix" = "NONE"; then
625 if test "$program_suffix" = "NONE"; then
629 echo $ac_n "checking Package""... $ac_c" 1>&6
630 echo "configure:631: checking Package" >&5
631 if test "x$PACKAGE" = "xSTEPMAKE"; then
632 echo "$ac_t""Stepmake package!" 1>&6
634 #if test "x$builddir" != "x"; then
635 # builddir="../$builddir"
639 if test "$srcdir" != "."; then
640 absolute_builddir
="`pwd`"
641 package_absolute_builddir
="`dirname $absolute_builddir`"
642 package_srcdir
="`dirname $srcdir`"
643 builddir
="`dirname $package_srcdir`/`basename $package_absolute_builddir`/`basename $absolute_builddir`"
648 (cd stepmake
2>/dev
/null || mkdir stepmake
)
649 (cd stepmake
; rm -f stepmake
; ln -s ..
/$srcdir/stepmake .
)
650 (cd stepmake
; rm -f bin
; ln -s ..
/$srcdir/bin .
)
652 for ac_dir
in bin
$srcdir/bin
; do
653 if test -f $ac_dir/install-sh
; then
655 ac_install_sh
="$ac_aux_dir/install-sh -c"
657 elif test -f $ac_dir/install.sh
; then
659 ac_install_sh
="$ac_aux_dir/install.sh -c"
663 if test -z "$ac_aux_dir"; then
664 { echo "configure: error: can not find install-sh or install.sh in bin $srcdir/bin" 1>&2; exit 1; }
666 ac_config_guess
=$ac_aux_dir/config.guess
667 ac_config_sub
=$ac_aux_dir/config.sub
668 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
672 echo "$ac_t""$PACKAGE" 1>&6
674 if test "$srcdir" != "."; then
675 absolute_builddir
="`pwd`"
676 builddir
="`dirname $srcdir`/`basename $absolute_builddir`"
681 echo $ac_n "checking for stepmake""... $ac_c" 1>&6
682 echo "configure:683: checking for stepmake" >&5
683 # Check for installed stepmake
684 if test -d $stepmake; then
685 echo "$ac_t""$stepmake" 1>&6
687 stepmake
='$(depth)'/$srcdir/stepmake
688 echo "$ac_t""$srcdir/stepmake ($datadir/stepmake not found)" 1>&6
692 $HOME/usr
/local
/share
/stepmake
/bin\
693 $HOME/usr
/local
/lib
/stepmake
/bin\
694 $HOME/usr
/share
/stepmake
/bin\
695 $HOME/usr
/lib
/stepmake
/bin\
696 /usr
/local
/share
/stepmake
/bin\
697 /usr
/local
/lib
/stepmake
/bin\
698 /usr
/share
/stepmake
/bin\
699 /usr
/lib
/stepmake
/bin\
701 $srcdir/stepmake
/bin\
703 $HOME/usr
/local
/share
/stepmake
/bin\
704 $HOME/usr
/local
/lib
/stepmake
/bin\
705 $HOME/usr
/share
/stepmake
/bin\
706 $HOME/usr
/lib
/stepmake
/bin\
707 /usr
/local
/share
/stepmake
/bin\
708 /usr
/local
/lib
/stepmake
/bin\
709 /usr
/share
/stepmake
/bin\
710 /usr
/lib
/stepmake
/bin\
712 $srcdir/stepmake
/bin\
714 if test -f $ac_dir/install-sh
; then
716 ac_install_sh
="$ac_aux_dir/install-sh -c"
718 elif test -f $ac_dir/install.sh
; then
720 ac_install_sh
="$ac_aux_dir/install.sh -c"
724 if test -z "$ac_aux_dir"; then
725 { echo "configure: error: can not find install-sh or install.sh in \
726 $HOME/usr/local/share/stepmake/bin\
727 $HOME/usr/local/lib/stepmake/bin\
728 $HOME/usr/share/stepmake/bin\
729 $HOME/usr/lib/stepmake/bin\
730 /usr/local/share/stepmake/bin\
731 /usr/local/lib/stepmake/bin\
732 /usr/share/stepmake/bin\
733 /usr/lib/stepmake/bin\
735 $srcdir/stepmake/bin\
737 $HOME/usr/local/share/stepmake/bin\
738 $HOME/usr/local/lib/stepmake/bin\
739 $HOME/usr/share/stepmake/bin\
740 $HOME/usr/lib/stepmake/bin\
741 /usr/local/share/stepmake/bin\
742 /usr/local/lib/stepmake/bin\
743 /usr/share/stepmake/bin\
744 /usr/lib/stepmake/bin\
746 $srcdir/stepmake/bin\
749 ac_config_guess
=$ac_aux_dir/config.guess
750 ac_config_sub
=$ac_aux_dir/config.sub
751 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
760 cat >> confdefs.h
<<EOF
761 #define PACKAGE "${PACKAGE_NAME}"
764 cat >> confdefs.h
<<EOF
765 #define TOPLEVEL_VERSION "${FULL_VERSION}"
769 if test "$package_depth" = "" ; then
772 package_depth
="../$package_depth"
777 AUTOGENERATE
="This file was automatically generated by configure"
780 STATE_VECTOR
=`ls make/STATE-VECTOR 2>/dev/null`
781 if test "x$STATE_VECTOR" != "x"; then
782 STATE_VECTOR
="\$(depth)/$STATE_VECTOR"
787 # Check whether --enable-config or --disable-config was given.
788 if test "${enable_config+set}" = set; then
789 enableval
="$enable_config"
790 CONFIGSUFFIX
=-$enableval
794 CONFIGFILE
=config
$CONFIGSUFFIX
798 # Make sure we can run config.sub.
799 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
800 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
803 echo $ac_n "checking host system type""... $ac_c" 1>&6
804 echo "configure:805: checking host system type" >&5
807 case "$host_alias" in
811 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
812 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
814 *) host_alias
=$nonopt ;;
818 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
819 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
820 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
821 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
822 echo "$ac_t""$host" 1>&6
824 for ac_prog
in gmake
make
826 # Extract the first word of "$ac_prog", so it can be a program name with args.
827 set dummy
$ac_prog; ac_word
=$2
828 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
829 echo "configure:830: checking for $ac_word" >&5
830 if eval "test \"`echo '$''{'ac_cv_prog_MAKE'+set}'`\" = set"; then
831 echo $ac_n "(cached) $ac_c" 1>&6
833 if test -n "$MAKE"; then
834 ac_cv_prog_MAKE
="$MAKE" # Let the user override the test.
836 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
838 for ac_dir
in $ac_dummy; do
839 test -z "$ac_dir" && ac_dir
=.
840 if test -f $ac_dir/$ac_word; then
841 ac_cv_prog_MAKE
="$ac_prog"
848 MAKE
="$ac_cv_prog_MAKE"
849 if test -n "$MAKE"; then
850 echo "$ac_t""$MAKE" 1>&6
852 echo "$ac_t""no" 1>&6
855 test -n "$MAKE" && break
857 test -n "$MAKE" || MAKE
="error"
861 # Extract the first word of "$ac_prog", so it can be a program name with args.
862 set dummy
$ac_prog; ac_word
=$2
863 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
864 echo "configure:865: checking for $ac_word" >&5
865 if eval "test \"`echo '$''{'ac_cv_prog_FIND'+set}'`\" = set"; then
866 echo $ac_n "(cached) $ac_c" 1>&6
868 if test -n "$FIND"; then
869 ac_cv_prog_FIND
="$FIND" # Let the user override the test.
871 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
873 for ac_dir
in $ac_dummy; do
874 test -z "$ac_dir" && ac_dir
=.
875 if test -f $ac_dir/$ac_word; then
876 ac_cv_prog_FIND
="$ac_prog"
883 FIND
="$ac_cv_prog_FIND"
884 if test -n "$FIND"; then
885 echo "$ac_t""$FIND" 1>&6
887 echo "$ac_t""no" 1>&6
890 test -n "$FIND" && break
892 test -n "$FIND" || FIND
="error"
898 # Extract the first word of "$ac_prog", so it can be a program name with args.
899 set dummy
$ac_prog; ac_word
=$2
900 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
901 echo "configure:902: checking for $ac_word" >&5
902 if eval "test \"`echo '$''{'ac_cv_prog_TAR'+set}'`\" = set"; then
903 echo $ac_n "(cached) $ac_c" 1>&6
905 if test -n "$TAR"; then
906 ac_cv_prog_TAR
="$TAR" # Let the user override the test.
908 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
910 for ac_dir
in $ac_dummy; do
911 test -z "$ac_dir" && ac_dir
=.
912 if test -f $ac_dir/$ac_word; then
913 ac_cv_prog_TAR
="$ac_prog"
920 TAR
="$ac_cv_prog_TAR"
921 if test -n "$TAR"; then
922 echo "$ac_t""$TAR" 1>&6
924 echo "$ac_t""no" 1>&6
927 test -n "$TAR" && break
929 test -n "$TAR" || TAR
="error"
932 if test "x`uname`" = "xHP-UX"; then
933 # Extract the first word of "bash", so it can be a program name with args.
934 set dummy bash
; ac_word
=$2
935 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
936 echo "configure:937: checking for $ac_word" >&5
937 if eval "test \"`echo '$''{'ac_cv_path_BASH'+set}'`\" = set"; then
938 echo $ac_n "(cached) $ac_c" 1>&6
942 ac_cv_path_BASH
="$BASH" # Let the user override the test with a path.
945 ac_cv_path_BASH
="$BASH" # Let the user override the test with a dos path.
948 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
950 for ac_dir
in $ac_dummy; do
951 test -z "$ac_dir" && ac_dir
=.
952 if test -f $ac_dir/$ac_word; then
953 ac_cv_path_BASH
="$ac_dir/$ac_word"
958 test -z "$ac_cv_path_BASH" && ac_cv_path_BASH
="/bin/sh"
962 BASH
="$ac_cv_path_BASH"
963 if test -n "$BASH"; then
964 echo "$ac_t""$BASH" 1>&6
966 echo "$ac_t""no" 1>&6
970 echo "configure: warning: avoiding buggy /bin/sh" 1>&2
973 # Extract the first word of "bash", so it can be a program name with args.
974 set dummy bash
; ac_word
=$2
975 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
976 echo "configure:977: checking for $ac_word" >&5
977 if eval "test \"`echo '$''{'ac_cv_path_SHELL'+set}'`\" = set"; then
978 echo $ac_n "(cached) $ac_c" 1>&6
982 ac_cv_path_SHELL
="$SHELL" # Let the user override the test with a path.
985 ac_cv_path_SHELL
="$SHELL" # Let the user override the test with a dos path.
988 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
990 for ac_dir
in $ac_dummy; do
991 test -z "$ac_dir" && ac_dir
=.
992 if test -f $ac_dir/$ac_word; then
993 ac_cv_path_SHELL
="$ac_dir/$ac_word"
998 test -z "$ac_cv_path_SHELL" && ac_cv_path_SHELL
="/bin/ksh"
1002 SHELL
="$ac_cv_path_SHELL"
1003 if test -n "$SHELL"; then
1004 echo "$ac_t""$SHELL" 1>&6
1006 echo "$ac_t""no" 1>&6
1010 # Extract the first word of "bash", so it can be a program name with args.
1011 set dummy bash
; ac_word
=$2
1012 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1013 echo "configure:1014: checking for $ac_word" >&5
1014 if eval "test \"`echo '$''{'ac_cv_path_BASH'+set}'`\" = set"; then
1015 echo $ac_n "(cached) $ac_c" 1>&6
1019 ac_cv_path_BASH
="$BASH" # Let the user override the test with a path.
1022 ac_cv_path_BASH
="$BASH" # Let the user override the test with a dos path.
1025 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1027 for ac_dir
in $ac_dummy; do
1028 test -z "$ac_dir" && ac_dir
=.
1029 if test -f $ac_dir/$ac_word; then
1030 ac_cv_path_BASH
="$ac_dir/$ac_word"
1035 test -z "$ac_cv_path_BASH" && ac_cv_path_BASH
="/bin/sh"
1039 BASH
="$ac_cv_path_BASH"
1040 if test -n "$BASH"; then
1041 echo "$ac_t""$BASH" 1>&6
1043 echo "$ac_t""no" 1>&6
1051 # Extract the first word of "${PYTHON:-python}", so it can be a program name with args.
1052 set dummy
${PYTHON:-python}; ac_word
=$2
1053 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1054 echo "configure:1055: checking for $ac_word" >&5
1055 if eval "test \"`echo '$''{'ac_cv_path_PYTHON'+set}'`\" = set"; then
1056 echo $ac_n "(cached) $ac_c" 1>&6
1060 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
1063 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a dos path.
1066 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1068 for ac_dir
in $ac_dummy; do
1069 test -z "$ac_dir" && ac_dir
=.
1070 if test -f $ac_dir/$ac_word; then
1071 ac_cv_path_PYTHON
="$ac_dir/$ac_word"
1076 test -z "$ac_cv_path_PYTHON" && ac_cv_path_PYTHON
="-echo no python"
1080 PYTHON
="$ac_cv_path_PYTHON"
1081 if test -n "$PYTHON"; then
1082 echo "$ac_t""$PYTHON" 1>&6
1084 echo "$ac_t""no" 1>&6
1089 if test $MAKE != "error" ; then
1090 $MAKE -v 2> /dev
/null |
grep GNU
> /dev
/null
1094 echo "configure: warning: Please install *GNU* make" 1>&2
1101 result
="`echo \"$PYTHON\" | grep echo`"
1102 if test "x$PYTHON" = "xerror" -o "x$result" != "x"; then
1104 echo "configure: warning: can\'t find python. You should install Python" 1>&2
1110 if test "x$OSTYPE" = "xcygwin32" ||
test "x$OSTYPE" = "xWindows_NT"; then
1111 LN
=cp # hard link does not work under cygnus-nt
1112 LN_S
='cp -r' # symbolic link does not work for native nt
1119 # cygwin fixes all these things.
1120 # it seems these were used because of dos-style TEXINPUTS and
1121 # MFINPUTS needed for miktex.
1122 # but this breaks parsing of all other cygwin/unix style paths.
1124 # if your (mik)tex breaks, make a:
1125 # /usr/local/bin/tex:
1127 # TEXINPUTS=`cygpath -pw $TEXINPUTS` /texmf/miktex/bin/tex
1131 # /usr/local/bin/mf:
1133 # MFINPUTS=`cygpath -pw $MFINPUTS` /texmf/miktex/bin/mf
1135 # this way, you may have buildscripts/out/lilypond-profile
1136 # 'automatically' sourced from /usr/etc/profile.d/ too.
1140 INSTALL
="\$(SHELL) \$(stepdir)/../bin/install-dot-exe.sh -c"
1147 INSTALL
="\$(SHELL) \$(stepdir)/../bin/install-sh -c"
1155 cat >> confdefs.h
<<EOF
1156 #define DIRSEP '${DIRSEP}'
1159 cat >> confdefs.h
<<EOF
1160 #define PATHSEP '${PATHSEP}'
1167 if test "$datadir" = "\${prefix}/share"; then
1168 datadir
='${prefix}/share/'$package
1170 DIR_DATADIR
=${datadir}
1172 if test "$prefix" = "NONE"; then
1173 presome
=${ac_default_prefix}
1175 DIR_DATADIR
=`echo ${DIR_DATADIR} | sed "s!\\\${prefix}!$presome!"`
1178 cat >> confdefs.h
<<EOF
1179 #define DIR_DATADIR "${DIR_DATADIR}"
1185 # For all packages except the StepMake package itself
1189 # Uncomment the configuration options your package needs.
1191 # -O is necessary to get inlining
1193 CFLAGS
=${CFLAGS:-""}
1194 CXXFLAGS
=${CXXFLAGS:-$CFLAGS}
1195 LDFLAGS
=${LDFLAGS:-""}
1201 # Check whether --enable-checking or --disable-checking was given.
1202 if test "${enable_checking+set}" = set; then
1203 enableval
="$enable_checking"
1204 checking_b
=$enableval
1208 # actually, the default is: tja='-O' to get inlining...
1211 #actually, that sucks.
1212 # tja looks like a typo. Default is optimisation off. --hwn
1214 # Check whether --enable-optimise or --disable-optimise was given.
1215 if test "${enable_optimise+set}" = set; then
1216 enableval
="$enable_optimise"
1217 optimise_b
=$enableval
1221 # Check whether --enable-profiling or --disable-profiling was given.
1222 if test "${enable_profiling+set}" = set; then
1223 enableval
="$enable_profiling"
1224 profile_b
=$enableval
1228 # Check whether --enable-debugging or --disable-debugging was given.
1229 if test "${enable_debugging+set}" = set; then
1230 enableval
="$enable_debugging"
1235 # Check whether --enable-mingw-prefix or --disable-mingw-prefix was given.
1236 if test "${enable_mingw_prefix+set}" = set; then
1237 enableval
="$enable_mingw_prefix"
1238 MINGWPREFIX
=$enableval
1244 if test "$checking_b" = no
; then
1246 cat >> confdefs.h
<<\EOF
1250 DEFINES
="$DEFINES -DNDEBUG"
1253 if test "$optimise_b" = yes; then
1254 OPTIMIZE
="-O2 -finline-functions"
1257 if test "$optimise_b" = no
; then
1261 if test $profile_b = yes; then
1263 OPTIMIZE
="$OPTIMIZE -pg"
1266 if test $debug_b = yes; then
1267 OPTIMIZE
="$OPTIMIZE -g"
1270 # however, C++ support in mingw32 v 0.1.4 is still flaky
1271 if test x
$MINGWPREFIX != xno
; then
1272 ICFLAGS
="-I$MINGWPREFIX/include"
1273 ILDFLAGS
="-$MINGWPREFIX/lib"
1276 # Extract the first word of "gcc", so it can be a program name with args.
1277 set dummy gcc
; ac_word
=$2
1278 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1279 echo "configure:1280: checking for $ac_word" >&5
1280 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1281 echo $ac_n "(cached) $ac_c" 1>&6
1283 if test -n "$CC"; then
1284 ac_cv_prog_CC
="$CC" # Let the user override the test.
1286 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1288 for ac_dir
in $ac_dummy; do
1289 test -z "$ac_dir" && ac_dir
=.
1290 if test -f $ac_dir/$ac_word; then
1299 if test -n "$CC"; then
1300 echo "$ac_t""$CC" 1>&6
1302 echo "$ac_t""no" 1>&6
1305 if test -z "$CC"; then
1306 # Extract the first word of "cc", so it can be a program name with args.
1307 set dummy cc
; ac_word
=$2
1308 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1309 echo "configure:1310: checking for $ac_word" >&5
1310 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1311 echo $ac_n "(cached) $ac_c" 1>&6
1313 if test -n "$CC"; then
1314 ac_cv_prog_CC
="$CC" # Let the user override the test.
1316 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1319 for ac_dir
in $ac_dummy; do
1320 test -z "$ac_dir" && ac_dir
=.
1321 if test -f $ac_dir/$ac_word; then
1322 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1323 ac_prog_rejected
=yes
1331 if test $ac_prog_rejected = yes; then
1332 # We found a bogon in the path, so make sure we never use it.
1333 set dummy
$ac_cv_prog_CC
1335 if test $# -gt 0; then
1336 # We chose a different compiler from the bogus one.
1337 # However, it has the same basename, so the bogon will be chosen
1338 # first if we set CC to just the basename; use the full file name.
1340 set dummy
"$ac_dir/$ac_word" "$@"
1348 if test -n "$CC"; then
1349 echo "$ac_t""$CC" 1>&6
1351 echo "$ac_t""no" 1>&6
1354 if test -z "$CC"; then
1355 case "`uname -s`" in
1357 # Extract the first word of "cl", so it can be a program name with args.
1358 set dummy cl
; ac_word
=$2
1359 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1360 echo "configure:1361: checking for $ac_word" >&5
1361 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1362 echo $ac_n "(cached) $ac_c" 1>&6
1364 if test -n "$CC"; then
1365 ac_cv_prog_CC
="$CC" # Let the user override the test.
1367 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1369 for ac_dir
in $ac_dummy; do
1370 test -z "$ac_dir" && ac_dir
=.
1371 if test -f $ac_dir/$ac_word; then
1380 if test -n "$CC"; then
1381 echo "$ac_t""$CC" 1>&6
1383 echo "$ac_t""no" 1>&6
1388 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1391 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
1392 echo "configure:1393: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
1395 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1396 ac_cpp
='$CPP $CPPFLAGS'
1397 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1398 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1399 cross_compiling
=$ac_cv_prog_cc_cross
1401 cat > conftest.
$ac_ext << EOF
1403 #line 1404 "configure"
1404 #include "confdefs.h"
1408 if { (eval echo configure
:1409: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
1409 ac_cv_prog_cc_works
=yes
1410 # If we can't run a trivial program, we are probably using a cross compiler.
1411 if (.
/conftest
; exit) 2>/dev
/null
; then
1412 ac_cv_prog_cc_cross
=no
1414 ac_cv_prog_cc_cross
=yes
1417 echo "configure: failed program was:" >&5
1418 cat conftest.
$ac_ext >&5
1419 ac_cv_prog_cc_works
=no
1423 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1424 ac_cpp
='$CPP $CPPFLAGS'
1425 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1426 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1427 cross_compiling
=$ac_cv_prog_cc_cross
1429 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
1430 if test $ac_cv_prog_cc_works = no
; then
1431 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
1433 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
1434 echo "configure:1435: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
1435 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
1436 cross_compiling
=$ac_cv_prog_cc_cross
1438 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1439 echo "configure:1440: checking whether we are using GNU C" >&5
1440 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1441 echo $ac_n "(cached) $ac_c" 1>&6
1443 cat > conftest.c
<<EOF
1448 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:1449: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } |
egrep yes >/dev
/null
2>&1; then
1455 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1457 if test $ac_cv_prog_gcc = yes; then
1463 ac_test_CFLAGS
="${CFLAGS+set}"
1464 ac_save_CFLAGS
="$CFLAGS"
1466 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1467 echo "configure:1468: checking whether ${CC-cc} accepts -g" >&5
1468 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1469 echo $ac_n "(cached) $ac_c" 1>&6
1471 echo 'void f(){}' > conftest.c
1472 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1481 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1482 if test "$ac_test_CFLAGS" = set; then
1483 CFLAGS
="$ac_save_CFLAGS"
1484 elif test $ac_cv_prog_cc_g = yes; then
1485 if test "$GCC" = yes; then
1491 if test "$GCC" = yes; then
1501 CFLAGS
="$CFLAGS $OPTIMIZE"
1502 CPPFLAGS
=${CPPFLAGS:-""}
1511 # AC_HAVE_HEADERS(limits.h malloc.h string.h unistd.h values.h)
1514 # Check whether --enable-printing or --disable-printing was given.
1515 if test "${enable_printing+set}" = set; then
1516 enableval
="$enable_printing"
1517 printing_b
=$enableval
1521 if test "$optimise_b" = yes; then
1522 DEFINES
="$DEFINES -DSTRING_UTILS_INLINED"
1523 cat >> confdefs.h
<<\EOF
1524 #define STRINGS_UTILS_INLINED 1
1529 if test "$printing_b" = no
; then
1531 cat >> confdefs.h
<<\EOF
1535 DEFINES
="$DEFINES -DNPRINT"
1538 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
1539 echo "configure:1540: checking how to run the C++ preprocessor" >&5
1540 if test -z "$CXXCPP"; then
1541 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
1542 echo $ac_n "(cached) $ac_c" 1>&6
1545 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1546 ac_cpp
='$CXXCPP $CPPFLAGS'
1547 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1548 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1549 cross_compiling
=$ac_cv_prog_cxx_cross
1550 CXXCPP
="${CXX-g++} -E"
1551 cat > conftest.
$ac_ext <<EOF
1552 #line 1553 "configure"
1553 #include "confdefs.h"
1556 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1557 { (eval echo configure
:1558: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1558 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1559 if test -z "$ac_err"; then
1563 echo "configure: failed program was:" >&5
1564 cat conftest.
$ac_ext >&5
1569 ac_cv_prog_CXXCPP
="$CXXCPP"
1571 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1572 ac_cpp
='$CXXCPP $CPPFLAGS'
1573 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1574 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1575 cross_compiling
=$ac_cv_prog_cxx_cross
1578 CXXCPP
="$ac_cv_prog_CXXCPP"
1579 echo "$ac_t""$CXXCPP" 1>&6
1583 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1584 ac_cpp
='$CXXCPP $CPPFLAGS'
1585 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1586 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1587 cross_compiling
=$ac_cv_prog_cxx_cross
1589 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
1591 # Extract the first word of "$ac_prog", so it can be a program name with args.
1592 set dummy
$ac_prog; ac_word
=$2
1593 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1594 echo "configure:1595: checking for $ac_word" >&5
1595 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
1596 echo $ac_n "(cached) $ac_c" 1>&6
1598 if test -n "$CXX"; then
1599 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
1601 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1603 for ac_dir
in $ac_dummy; do
1604 test -z "$ac_dir" && ac_dir
=.
1605 if test -f $ac_dir/$ac_word; then
1606 ac_cv_prog_CXX
="$ac_prog"
1613 CXX
="$ac_cv_prog_CXX"
1614 if test -n "$CXX"; then
1615 echo "$ac_t""$CXX" 1>&6
1617 echo "$ac_t""no" 1>&6
1620 test -n "$CXX" && break
1622 test -n "$CXX" || CXX
="gcc"
1625 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
1626 echo "configure:1627: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
1629 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1630 ac_cpp
='$CXXCPP $CPPFLAGS'
1631 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1632 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1633 cross_compiling
=$ac_cv_prog_cxx_cross
1635 cat > conftest.
$ac_ext << EOF
1637 #line 1638 "configure"
1638 #include "confdefs.h"
1640 int main(){return(0);}
1642 if { (eval echo configure
:1643: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
1643 ac_cv_prog_cxx_works
=yes
1644 # If we can't run a trivial program, we are probably using a cross compiler.
1645 if (.
/conftest
; exit) 2>/dev
/null
; then
1646 ac_cv_prog_cxx_cross
=no
1648 ac_cv_prog_cxx_cross
=yes
1651 echo "configure: failed program was:" >&5
1652 cat conftest.
$ac_ext >&5
1653 ac_cv_prog_cxx_works
=no
1657 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1658 ac_cpp
='$CXXCPP $CPPFLAGS'
1659 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1660 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1661 cross_compiling
=$ac_cv_prog_cxx_cross
1663 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
1664 if test $ac_cv_prog_cxx_works = no
; then
1665 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
1667 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
1668 echo "configure:1669: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
1669 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
1670 cross_compiling
=$ac_cv_prog_cxx_cross
1672 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
1673 echo "configure:1674: checking whether we are using GNU C++" >&5
1674 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
1675 echo $ac_n "(cached) $ac_c" 1>&6
1677 cat > conftest.C
<<EOF
1682 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:1683: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } |
egrep yes >/dev
/null
2>&1; then
1689 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
1691 if test $ac_cv_prog_gxx = yes; then
1697 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
1698 ac_save_CXXFLAGS
="$CXXFLAGS"
1700 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
1701 echo "configure:1702: checking whether ${CXX-g++} accepts -g" >&5
1702 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
1703 echo $ac_n "(cached) $ac_c" 1>&6
1705 echo 'void f(){}' > conftest.cc
1706 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
1707 ac_cv_prog_cxx_g
=yes
1715 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
1716 if test "$ac_test_CXXFLAGS" = set; then
1717 CXXFLAGS
="$ac_save_CXXFLAGS"
1718 elif test $ac_cv_prog_cxx_g = yes; then
1719 if test "$GXX" = yes; then
1725 if test "$GXX" = yes; then
1733 ac_safe
=`echo "FlexLexer.h" | sed 'y%./+-%__p_%'`
1734 echo $ac_n "checking for FlexLexer.h""... $ac_c" 1>&6
1735 echo "configure:1736: checking for FlexLexer.h" >&5
1736 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1737 echo $ac_n "(cached) $ac_c" 1>&6
1739 cat > conftest.
$ac_ext <<EOF
1740 #line 1741 "configure"
1741 #include "confdefs.h"
1742 #include <FlexLexer.h>
1744 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1745 { (eval echo configure
:1746: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1746 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1747 if test -z "$ac_err"; then
1749 eval "ac_cv_header_$ac_safe=yes"
1752 echo "configure: failed program was:" >&5
1753 cat conftest.
$ac_ext >&5
1755 eval "ac_cv_header_$ac_safe=no"
1759 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
1760 echo "$ac_t""yes" 1>&6
1763 echo "$ac_t""no" 1>&6
1765 echo "configure: warning: can"\'"t find flex header. Please install Flex headers correctly" 1>&2
1771 CPPFLAGS
="$CPPFLAGS $DEFINES"
1772 CXXFLAGS
="$CXXFLAGS $OPTIMIZE"
1773 LDFLAGS
="$LDFLAGS $EXTRA_LIBES"
1782 # urg, egcs: how to check for egcs >= 1.1?
1783 if $CXX --version |
egrep '2\.[89]' > /dev
/null ||
1784 $CXX --version |
grep 'egcs' > /dev
/null
1789 echo "configure: warning: can\'t find g++ 2.8 or egcs 1.1" 1>&2
1795 echo $ac_n "checking whether explicit instantiation is needed""... $ac_c" 1>&6
1796 echo "configure:1797: checking whether explicit instantiation is needed" >&5
1797 if eval "test \"`echo '$''{'lily_cv_need_explicit_instantiation'+set}'`\" = set"; then
1798 echo $ac_n "(cached) $ac_c" 1>&6
1800 cat > conftest.
$ac_ext <<EOF
1801 #line 1802 "configure"
1802 #include "confdefs.h"
1804 template <class T> struct foo { static int baz; };
1805 template <class T> int foo<T>::baz = 1;
1808 return foo<int>::baz;
1811 if { (eval echo configure
:1812: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
1813 lily_cv_need_explicit_instantiation
=no
1815 echo "configure: failed program was:" >&5
1816 cat conftest.
$ac_ext >&5
1818 lily_cv_need_explicit_instantiation
=yes
1823 echo "$ac_t""$lily_cv_need_explicit_instantiation" 1>&6
1824 if test x
"$lily_cv_need_explicit_instantiation"x
= x
"yes"x
; then
1825 cat >> confdefs.h
<<\EOF
1826 #define NEED_EXPLICIT_INSTANTIATION 1
1832 # ugh, automake: we want (and check for) bison
1833 for ac_prog
in 'bison -y' byacc
1835 # Extract the first word of "$ac_prog", so it can be a program name with args.
1836 set dummy
$ac_prog; ac_word
=$2
1837 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1838 echo "configure:1839: checking for $ac_word" >&5
1839 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
1840 echo $ac_n "(cached) $ac_c" 1>&6
1842 if test -n "$YACC"; then
1843 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
1845 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1847 for ac_dir
in $ac_dummy; do
1848 test -z "$ac_dir" && ac_dir
=.
1849 if test -f $ac_dir/$ac_word; then
1850 ac_cv_prog_YACC
="$ac_prog"
1857 YACC
="$ac_cv_prog_YACC"
1858 if test -n "$YACC"; then
1859 echo "$ac_t""$YACC" 1>&6
1861 echo "$ac_t""no" 1>&6
1864 test -n "$YACC" && break
1866 test -n "$YACC" || YACC
="yacc"
1868 # ugh, automake: we want (and check for) flex
1870 # urg: automake 1.3: hope this doesn't break 1.2 ac_cv_pro_lex_root hack...
1874 ac_cv_prog_lex_root
=lex.yy
1876 for ac_prog
in bison
1878 # Extract the first word of "$ac_prog", so it can be a program name with args.
1879 set dummy
$ac_prog; ac_word
=$2
1880 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1881 echo "configure:1882: checking for $ac_word" >&5
1882 if eval "test \"`echo '$''{'ac_cv_prog_BISON'+set}'`\" = set"; then
1883 echo $ac_n "(cached) $ac_c" 1>&6
1885 if test -n "$BISON"; then
1886 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
1888 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1890 for ac_dir
in $ac_dummy; do
1891 test -z "$ac_dir" && ac_dir
=.
1892 if test -f $ac_dir/$ac_word; then
1893 ac_cv_prog_BISON
="$ac_prog"
1900 BISON
="$ac_cv_prog_BISON"
1901 if test -n "$BISON"; then
1902 echo "$ac_t""$BISON" 1>&6
1904 echo "$ac_t""no" 1>&6
1907 test -n "$BISON" && break
1909 test -n "$BISON" || BISON
="error"
1913 # Extract the first word of "$ac_prog", so it can be a program name with args.
1914 set dummy
$ac_prog; ac_word
=$2
1915 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1916 echo "configure:1917: checking for $ac_word" >&5
1917 if eval "test \"`echo '$''{'ac_cv_prog_FLEX'+set}'`\" = set"; then
1918 echo $ac_n "(cached) $ac_c" 1>&6
1920 if test -n "$FLEX"; then
1921 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
1923 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1925 for ac_dir
in $ac_dummy; do
1926 test -z "$ac_dir" && ac_dir
=.
1927 if test -f $ac_dir/$ac_word; then
1928 ac_cv_prog_FLEX
="$ac_prog"
1935 FLEX
="$ac_cv_prog_FLEX"
1936 if test -n "$FLEX"; then
1937 echo "$ac_t""$FLEX" 1>&6
1939 echo "$ac_t""no" 1>&6
1942 test -n "$FLEX" && break
1944 test -n "$FLEX" || FLEX
="error"
1947 result
="`echo \"$BISON\" | grep echo`"
1948 if test "x$BISON" = "xerror" -o "x$result" != "x"; then
1950 echo "configure: warning: can\'t find bison. Please install Bison" 1>&2
1956 result
="`echo \"$FLEX\" | grep echo`"
1957 if test "x$FLEX" = "xerror" -o "x$result" != "x"; then
1959 echo "configure: warning: can\'t find flex. Please install Flex" 1>&2
1965 if test $BISON != "error"; then
1966 bison_version
=`$BISON --version | sed 's/^.*version 1.//g'`
1967 if test `echo $bison_version | sed 's/\..*$//g'` -lt 25; then
1969 echo "configure: warning: Your bison is a bit old (1.$bison_version). You might have to install 1.25" 1>&2
1981 # Extract the first word of "$ac_prog", so it can be a program name with args.
1982 set dummy
$ac_prog; ac_word
=$2
1983 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1984 echo "configure:1985: checking for $ac_word" >&5
1985 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1986 echo $ac_n "(cached) $ac_c" 1>&6
1988 if test -n "$AR"; then
1989 ac_cv_prog_AR
="$AR" # Let the user override the test.
1991 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1993 for ac_dir
in $ac_dummy; do
1994 test -z "$ac_dir" && ac_dir
=.
1995 if test -f $ac_dir/$ac_word; then
1996 ac_cv_prog_AR
="$ac_prog"
2004 if test -n "$AR"; then
2005 echo "$ac_t""$AR" 1>&6
2007 echo "$ac_t""no" 1>&6
2010 test -n "$AR" && break
2012 test -n "$AR" || AR
="error"
2014 # Extract the first word of "ranlib", so it can be a program name with args.
2015 set dummy ranlib
; ac_word
=$2
2016 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2017 echo "configure:2018: checking for $ac_word" >&5
2018 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2019 echo $ac_n "(cached) $ac_c" 1>&6
2021 if test -n "$RANLIB"; then
2022 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
2024 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2026 for ac_dir
in $ac_dummy; do
2027 test -z "$ac_dir" && ac_dir
=.
2028 if test -f $ac_dir/$ac_word; then
2029 ac_cv_prog_RANLIB
="ranlib"
2034 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
2037 RANLIB
="$ac_cv_prog_RANLIB"
2038 if test -n "$RANLIB"; then
2039 echo "$ac_t""$RANLIB" 1>&6
2041 echo "$ac_t""no" 1>&6
2048 # AC_STEPMAKE_LIBTOOL
2054 # Check whether --with-localedir or --without-localedir was given.
2055 if test "${with_localedir+set}" = set; then
2056 withval
="$with_localedir"
2057 localedir
=$with_localedir
2059 localedir
='${prefix}/share/locale'
2063 # Check whether --with-lang or --without-lang was given.
2064 if test "${with_lang+set}" = set; then
2065 withval
="$with_lang"
2072 echo $ac_n "checking language""... $ac_c" 1>&6
2073 echo "configure:2074: checking language" >&5
2075 En
* | en
* | Am
* | am
* | US
* | us
*)
2077 NL |
nl | Du
* | du
* | Ned
* | ned
*)
2084 echo "$ac_t""$lang" 1>&6
2086 if test "$lang" = "unknown" ; then
2088 echo "configure: warning: $language not supported; available are: $ALL_LINGUAS" 1>&2
2095 DIR_LOCALEDIR
=${localedir}
2097 if test "$prefix" = "NONE"; then
2098 presome
=${ac_default_prefix}
2100 DIR_LOCALEDIR
=`echo ${DIR_LOCALEDIR} | sed "s!\\\${prefix}!$presome!"`
2103 cat >> confdefs.h
<<EOF
2104 #define DIR_LOCALEDIR "${DIR_LOCALEDIR}"
2108 echo $ac_n "checking for gettext in -lintl""... $ac_c" 1>&6
2109 echo "configure:2110: checking for gettext in -lintl" >&5
2110 ac_lib_var
=`echo intl'_'gettext | sed 'y%./+-%__p_%'`
2111 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2112 echo $ac_n "(cached) $ac_c" 1>&6
2114 ac_save_LIBS
="$LIBS"
2116 cat > conftest.
$ac_ext <<EOF
2117 #line 2118 "configure"
2118 #include "confdefs.h"
2119 /* Override any gcc2 internal prototype to avoid an error. */
2123 /* We use char because int might match the return type of a gcc2
2124 builtin and then its argument prototype would still apply. */
2131 if { (eval echo configure
:2132: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
2133 eval "ac_cv_lib_$ac_lib_var=yes"
2135 echo "configure: failed program was:" >&5
2136 cat conftest.
$ac_ext >&5
2138 eval "ac_cv_lib_$ac_lib_var=no"
2141 LIBS
="$ac_save_LIBS"
2144 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2145 echo "$ac_t""yes" 1>&6
2146 ac_tr_lib
=HAVE_LIB
`echo intl | sed -e 's/[^a-zA-Z0-9_]/_/g' \
2147 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
2148 cat >> confdefs.h
<<EOF
2149 #define $ac_tr_lib 1
2155 echo "$ac_t""no" 1>&6
2158 for ac_func
in gettext
2160 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
2161 echo "configure:2162: checking for $ac_func" >&5
2162 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
2163 echo $ac_n "(cached) $ac_c" 1>&6
2165 cat > conftest.
$ac_ext <<EOF
2166 #line 2167 "configure"
2167 #include "confdefs.h"
2168 /* System header to define __stub macros and hopefully few prototypes,
2169 which can conflict with char $ac_func(); below. */
2171 /* Override any gcc2 internal prototype to avoid an error. */
2175 /* We use char because int might match the return type of a gcc2
2176 builtin and then its argument prototype would still apply. */
2181 /* The GNU C library defines this for functions which it implements
2182 to always fail with ENOSYS. Some functions are actually named
2183 something starting with __ and the normal name is an alias. */
2184 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
2192 if { (eval echo configure
:2193: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
2194 eval "ac_cv_func_$ac_func=yes"
2196 echo "configure: failed program was:" >&5
2197 cat conftest.
$ac_ext >&5
2199 eval "ac_cv_func_$ac_func=no"
2204 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
2205 echo "$ac_t""yes" 1>&6
2206 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
2207 cat >> confdefs.h
<<EOF
2208 #define $ac_tr_func 1
2212 echo "$ac_t""no" 1>&6
2218 # AC_CHECK_PROGS(MSGFMT, msgfmt, -echo no msgfmt)
2219 for ac_prog
in msgfmt
2221 # Extract the first word of "$ac_prog", so it can be a program name with args.
2222 set dummy
$ac_prog; ac_word
=$2
2223 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2224 echo "configure:2225: checking for $ac_word" >&5
2225 if eval "test \"`echo '$''{'ac_cv_prog_MSGFMT'+set}'`\" = set"; then
2226 echo $ac_n "(cached) $ac_c" 1>&6
2228 if test -n "$MSGFMT"; then
2229 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
2231 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2233 for ac_dir
in $ac_dummy; do
2234 test -z "$ac_dir" && ac_dir
=.
2235 if test -f $ac_dir/$ac_word; then
2236 ac_cv_prog_MSGFMT
="$ac_prog"
2243 MSGFMT
="$ac_cv_prog_MSGFMT"
2244 if test -n "$MSGFMT"; then
2245 echo "$ac_t""$MSGFMT" 1>&6
2247 echo "$ac_t""no" 1>&6
2250 test -n "$MSGFMT" && break
2252 test -n "$MSGFMT" || MSGFMT
="\$(SHELL) \$(step-bindir)/fake-msgfmt.sh "
2254 echo $ac_n "checking whether msgfmt accepts -o""... $ac_c" 1>&6
2255 echo "configure:2256: checking whether msgfmt accepts -o" >&5
2256 msgfmt_output
="`msgfmt -o bla 2>&1 | grep usage`"
2257 if test "$msgfmt_output" = ""; then
2258 echo "$ac_t""yes" 1>&6
2261 MSGFMT
="\$(SHELL) \$(step-bindir)/fake-msgfmt.sh"
2262 echo "$ac_t""no" 1>&6
2264 echo "configure: warning: please install msgfmt from GNU gettext" 1>&2
2268 if test ! -n "$MSGFMT"; then
2270 echo "configure: warning: please install msgfmt from GNU gettext" 1>&2
2276 # urg, never know what names these teTeX guys will think up
2280 # Extract the first word of "$ac_prog", so it can be a program name with args.
2281 set dummy
$ac_prog; ac_word
=$2
2282 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2283 echo "configure:2284: checking for $ac_word" >&5
2284 if eval "test \"`echo '$''{'ac_cv_prog_METAFONT'+set}'`\" = set"; then
2285 echo $ac_n "(cached) $ac_c" 1>&6
2287 if test -n "$METAFONT"; then
2288 ac_cv_prog_METAFONT
="$METAFONT" # Let the user override the test.
2290 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2292 for ac_dir
in $ac_dummy; do
2293 test -z "$ac_dir" && ac_dir
=.
2294 if test -f $ac_dir/$ac_word; then
2295 ac_cv_prog_METAFONT
="$ac_prog"
2302 METAFONT
="$ac_cv_prog_METAFONT"
2303 if test -n "$METAFONT"; then
2304 echo "$ac_t""$METAFONT" 1>&6
2306 echo "$ac_t""no" 1>&6
2309 test -n "$METAFONT" && break
2311 test -n "$METAFONT" || METAFONT
="no"
2313 if test "x$METAFONT" = "xno"; then
2314 for ac_prog
in mfont
2316 # Extract the first word of "$ac_prog", so it can be a program name with args.
2317 set dummy
$ac_prog; ac_word
=$2
2318 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2319 echo "configure:2320: checking for $ac_word" >&5
2320 if eval "test \"`echo '$''{'ac_cv_prog_MFONT'+set}'`\" = set"; then
2321 echo $ac_n "(cached) $ac_c" 1>&6
2323 if test -n "$MFONT"; then
2324 ac_cv_prog_MFONT
="$MFONT" # Let the user override the test.
2326 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2328 for ac_dir
in $ac_dummy; do
2329 test -z "$ac_dir" && ac_dir
=.
2330 if test -f $ac_dir/$ac_word; then
2331 ac_cv_prog_MFONT
="$ac_prog"
2338 MFONT
="$ac_cv_prog_MFONT"
2339 if test -n "$MFONT"; then
2340 echo "$ac_t""$MFONT" 1>&6
2342 echo "$ac_t""no" 1>&6
2345 test -n "$MFONT" && break
2347 test -n "$MFONT" || MFONT
="-echo no mf or mfont"
2354 # Extract the first word of "$ac_prog", so it can be a program name with args.
2355 set dummy
$ac_prog; ac_word
=$2
2356 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2357 echo "configure:2358: checking for $ac_word" >&5
2358 if eval "test \"`echo '$''{'ac_cv_prog_METAPOST'+set}'`\" = set"; then
2359 echo $ac_n "(cached) $ac_c" 1>&6
2361 if test -n "$METAPOST"; then
2362 ac_cv_prog_METAPOST
="$METAPOST" # Let the user override the test.
2364 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2366 for ac_dir
in $ac_dummy; do
2367 test -z "$ac_dir" && ac_dir
=.
2368 if test -f $ac_dir/$ac_word; then
2369 ac_cv_prog_METAPOST
="$ac_prog"
2376 METAPOST
="$ac_cv_prog_METAPOST"
2377 if test -n "$METAPOST"; then
2378 echo "$ac_t""$METAPOST" 1>&6
2380 echo "$ac_t""no" 1>&6
2383 test -n "$METAPOST" && break
2385 test -n "$METAPOST" || METAPOST
="no"
2387 if test "x$METAPOST" = "xno"; then
2388 for ac_prog
in mpost
2390 # Extract the first word of "$ac_prog", so it can be a program name with args.
2391 set dummy
$ac_prog; ac_word
=$2
2392 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2393 echo "configure:2394: checking for $ac_word" >&5
2394 if eval "test \"`echo '$''{'ac_cv_prog_MPOST'+set}'`\" = set"; then
2395 echo $ac_n "(cached) $ac_c" 1>&6
2397 if test -n "$MPOST"; then
2398 ac_cv_prog_MPOST
="$MPOST" # Let the user override the test.
2400 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2402 for ac_dir
in $ac_dummy; do
2403 test -z "$ac_dir" && ac_dir
=.
2404 if test -f $ac_dir/$ac_word; then
2405 ac_cv_prog_MPOST
="$ac_prog"
2412 MPOST
="$ac_cv_prog_MPOST"
2413 if test -n "$MPOST"; then
2414 echo "$ac_t""$MPOST" 1>&6
2416 echo "$ac_t""no" 1>&6
2419 test -n "$MPOST" && break
2421 test -n "$MPOST" || MPOST
="-echo no mp or mpost"
2427 for ac_prog
in inimf
2429 # Extract the first word of "$ac_prog", so it can be a program name with args.
2430 set dummy
$ac_prog; ac_word
=$2
2431 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2432 echo "configure:2433: checking for $ac_word" >&5
2433 if eval "test \"`echo '$''{'ac_cv_prog_INIMETAFONT'+set}'`\" = set"; then
2434 echo $ac_n "(cached) $ac_c" 1>&6
2436 if test -n "$INIMETAFONT"; then
2437 ac_cv_prog_INIMETAFONT
="$INIMETAFONT" # Let the user override the test.
2439 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2441 for ac_dir
in $ac_dummy; do
2442 test -z "$ac_dir" && ac_dir
=.
2443 if test -f $ac_dir/$ac_word; then
2444 ac_cv_prog_INIMETAFONT
="$ac_prog"
2451 INIMETAFONT
="$ac_cv_prog_INIMETAFONT"
2452 if test -n "$INIMETAFONT"; then
2453 echo "$ac_t""$INIMETAFONT" 1>&6
2455 echo "$ac_t""no" 1>&6
2458 test -n "$INIMETAFONT" && break
2460 test -n "$INIMETAFONT" || INIMETAFONT
="no"
2462 if test "x$INIMETAFONT" = "xno"; then
2463 for ac_prog
in inimfont
2465 # Extract the first word of "$ac_prog", so it can be a program name with args.
2466 set dummy
$ac_prog; ac_word
=$2
2467 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2468 echo "configure:2469: checking for $ac_word" >&5
2469 if eval "test \"`echo '$''{'ac_cv_prog_INIMFONT'+set}'`\" = set"; then
2470 echo $ac_n "(cached) $ac_c" 1>&6
2472 if test -n "$INIMFONT"; then
2473 ac_cv_prog_INIMFONT
="$INIMFONT" # Let the user override the test.
2475 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2477 for ac_dir
in $ac_dummy; do
2478 test -z "$ac_dir" && ac_dir
=.
2479 if test -f $ac_dir/$ac_word; then
2480 ac_cv_prog_INIMFONT
="$ac_prog"
2487 INIMFONT
="$ac_cv_prog_INIMFONT"
2488 if test -n "$INIMFONT"; then
2489 echo "$ac_t""$INIMFONT" 1>&6
2491 echo "$ac_t""no" 1>&6
2494 test -n "$INIMFONT" && break
2496 test -n "$INIMFONT" || INIMFONT
="-echo no inimf or inimfont"
2498 INIMETAFONT
=$INIMFONT
2501 for ac_prog
in inimp
2503 # Extract the first word of "$ac_prog", so it can be a program name with args.
2504 set dummy
$ac_prog; ac_word
=$2
2505 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2506 echo "configure:2507: checking for $ac_word" >&5
2507 if eval "test \"`echo '$''{'ac_cv_prog_INIMETAPOST'+set}'`\" = set"; then
2508 echo $ac_n "(cached) $ac_c" 1>&6
2510 if test -n "$INIMETAPOST"; then
2511 ac_cv_prog_INIMETAPOST
="$INIMETAPOST" # Let the user override the test.
2513 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2515 for ac_dir
in $ac_dummy; do
2516 test -z "$ac_dir" && ac_dir
=.
2517 if test -f $ac_dir/$ac_word; then
2518 ac_cv_prog_INIMETAPOST
="$ac_prog"
2525 INIMETAPOST
="$ac_cv_prog_INIMETAPOST"
2526 if test -n "$INIMETAPOST"; then
2527 echo "$ac_t""$INIMETAPOST" 1>&6
2529 echo "$ac_t""no" 1>&6
2532 test -n "$INIMETAPOST" && break
2534 test -n "$INIMETAPOST" || INIMETAPOST
="no"
2536 if test "x$INIMETAPOST" = "xno"; then
2537 for ac_prog
in inimpost
2539 # Extract the first word of "$ac_prog", so it can be a program name with args.
2540 set dummy
$ac_prog; ac_word
=$2
2541 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2542 echo "configure:2543: checking for $ac_word" >&5
2543 if eval "test \"`echo '$''{'ac_cv_prog_INIMPOST'+set}'`\" = set"; then
2544 echo $ac_n "(cached) $ac_c" 1>&6
2546 if test -n "$INIMPOST"; then
2547 ac_cv_prog_INIMPOST
="$INIMPOST" # Let the user override the test.
2549 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2551 for ac_dir
in $ac_dummy; do
2552 test -z "$ac_dir" && ac_dir
=.
2553 if test -f $ac_dir/$ac_word; then
2554 ac_cv_prog_INIMPOST
="$ac_prog"
2561 INIMPOST
="$ac_cv_prog_INIMPOST"
2562 if test -n "$INIMPOST"; then
2563 echo "$ac_t""$INIMPOST" 1>&6
2565 echo "$ac_t""no" 1>&6
2568 test -n "$INIMPOST" && break
2570 test -n "$INIMPOST" || INIMPOST
="-echo no inimp or inimpost"
2572 INIMETAPOST
=$INIMPOST
2575 echo $ac_n "checking for working metafont mode""... $ac_c" 1>&6
2576 echo "configure:2577: checking for working metafont mode" >&5
2577 modelist
='ljfour lj4 lj3 lj2 ljet laserjet'
2578 for MFMODE
in $modelist; do
2579 $METAFONT "\mode:=$MFMODE; mode_setup; end." > /dev
/null
2>&1
2580 if test -f mfput.tfm
; then
2586 # For now let people define these in their environments
2588 : ${MFPLAIN_MP=`kpsewhich mp mfplain.mp`}
2590 if test ${INIMETAPOST} = "inimp" ; then
2591 : ${INIMETAPOST_FLAGS=''}
2593 : ${INIMETAPOST_FLAGS='-interaction=nonstopmode'}
2597 echo "$ac_t""$MFMODE" 1>&6
2608 # Check whether --enable-tfm-path or --disable-tfm-path was given.
2609 if test "${enable_tfm_path+set}" = set; then
2610 enableval
="$enable_tfm_path"
2617 for ac_prog
in kpsewhich
2619 # Extract the first word of "$ac_prog", so it can be a program name with args.
2620 set dummy
$ac_prog; ac_word
=$2
2621 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2622 echo "configure:2623: checking for $ac_word" >&5
2623 if eval "test \"`echo '$''{'ac_cv_prog_KPSEWHICH'+set}'`\" = set"; then
2624 echo $ac_n "(cached) $ac_c" 1>&6
2626 if test -n "$KPSEWHICH"; then
2627 ac_cv_prog_KPSEWHICH
="$KPSEWHICH" # Let the user override the test.
2629 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2631 for ac_dir
in $ac_dummy; do
2632 test -z "$ac_dir" && ac_dir
=.
2633 if test -f $ac_dir/$ac_word; then
2634 ac_cv_prog_KPSEWHICH
="$ac_prog"
2641 KPSEWHICH
="$ac_cv_prog_KPSEWHICH"
2642 if test -n "$KPSEWHICH"; then
2643 echo "$ac_t""$KPSEWHICH" 1>&6
2645 echo "$ac_t""no" 1>&6
2648 test -n "$KPSEWHICH" && break
2650 test -n "$KPSEWHICH" || KPSEWHICH
="no"
2652 echo $ac_n "checking for tfm path""... $ac_c" 1>&6
2653 echo "configure:2654: checking for tfm path" >&5
2655 TFM_FONTS
="cmr msam"
2657 if test "x$tfm_path" = xauto
; then
2658 if test "x$KPSEWHICH" != "xno" ; then
2659 for i
in $TFM_FONTS; do
2660 dir
=`$KPSEWHICH tfm ${i}10.tfm`
2661 TFM_PATH
="$TFM_PATH `dirname $dir`"
2665 echo "configure: warning: Please specify where cmr10.tfm lives:
2666 ./configure --enable-tfm-path=/usr/local/TeX/lib/tex/fonts" 1>&2
2674 TFM_PATH
=`echo $TFM_PATH | tr ':' ' '`
2675 echo "$ac_t""$TFM_PATH" 1>&6
2679 ## First, let's just see if we can find Guile at all.
2680 echo $ac_n "checking "for guile-config
"""... $ac_c" 1>&6
2681 echo "configure:2682: checking "for guile-config
"" >&5
2682 for guile_config
in guile-config
$target-guile-config $build-guile-config; do
2683 echo "$ac_t"""$guile_config"" 1>&6
2684 if ! $guile_config --version > /dev
/null
2>&1 ; then
2685 echo "configure: warning: "cannot execute
$guile_config"" 1>&2
2686 echo $ac_n "checking "if we are cross compiling
"""... $ac_c" 1>&6
2687 echo "configure:2688: checking "if we are cross compiling
"" >&5
2693 if test "$guile_config" = "error"; then
2694 { echo "configure: error: "cannot
find guile-config
; is Guile installed?
"" 1>&2; exit 1; }
2697 echo $ac_n "checking "Guile version
"""... $ac_c" 1>&6
2698 echo "configure:2699: checking "Guile version
"" >&5
2699 need_guile_version
="1.3.4"
2700 guile_version
=`expr "\`$guile_config --version 2>&1\
`" : ".*\($need_guile_version\).*"`
2701 echo "$ac_t"""$guile_version"" 1>&6
2702 if test "$guile_version" != "$need_guile_version"; then
2704 echo "configure: warning: "Guile version
"$need_guile_version" or newer is needed
"" 1>&2
2709 ## The GUILE_FLAGS macro.
2710 echo $ac_n "checking for Guile""... $ac_c" 1>&6
2711 echo "configure:2712: checking for Guile" >&5
2712 if ! $guile_config link
> /dev
/null
; then
2713 echo "$ac_t"""cannot execute
$guile_config"" 1>&6
2714 { echo "configure: error: "cannot
find guile-config
; is Guile installed?
"" 1>&2; exit 1; }
2717 GUILE_CFLAGS
="`$guile_config compile`"
2718 GUILE_LDFLAGS
="`$guile_config link`"
2721 echo "$ac_t""yes" 1>&6
2723 # Extract the first word of "guile", so it can be a program name with args.
2724 set dummy guile
; ac_word
=$2
2725 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2726 echo "configure:2727: checking for $ac_word" >&5
2727 if eval "test \"`echo '$''{'ac_cv_path_GUILE'+set}'`\" = set"; then
2728 echo $ac_n "(cached) $ac_c" 1>&6
2732 ac_cv_path_GUILE
="$GUILE" # Let the user override the test with a path.
2735 ac_cv_path_GUILE
="$GUILE" # Let the user override the test with a dos path.
2738 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2740 for ac_dir
in $ac_dummy; do
2741 test -z "$ac_dir" && ac_dir
=.
2742 if test -f $ac_dir/$ac_word; then
2743 ac_cv_path_GUILE
="$ac_dir/$ac_word"
2748 test -z "$ac_cv_path_GUILE" && ac_cv_path_GUILE
="error"
2752 GUILE
="$ac_cv_path_GUILE"
2753 if test -n "$GUILE"; then
2754 echo "$ac_t""$GUILE" 1>&6
2756 echo "$ac_t""no" 1>&6
2763 echo $ac_n "checking for 8-bit clean memcmp""... $ac_c" 1>&6
2764 echo "configure:2765: checking for 8-bit clean memcmp" >&5
2765 if eval "test \"`echo '$''{'ac_cv_func_memcmp_clean'+set}'`\" = set"; then
2766 echo $ac_n "(cached) $ac_c" 1>&6
2768 if test "$cross_compiling" = yes; then
2769 ac_cv_func_memcmp_clean
=no
2771 cat > conftest.
$ac_ext <<EOF
2772 #line 2773 "configure"
2773 #include "confdefs.h"
2775 extern "C" void exit(int);
2780 char c0 = 0x40, c1 = 0x80, c2 = 0x81;
2781 exit(memcmp(&c0, &c2, 1) < 0 && memcmp(&c1, &c2, 1) < 0 ? 0 : 1);
2785 if { (eval echo configure
:2786: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
2787 ac_cv_func_memcmp_clean
=yes
2789 echo "configure: failed program was:" >&5
2790 cat conftest.
$ac_ext >&5
2792 ac_cv_func_memcmp_clean
=no
2799 echo "$ac_t""$ac_cv_func_memcmp_clean" 1>&6
2800 test $ac_cv_func_memcmp_clean = no
&& LIBOBJS
="$LIBOBJS memcmp.${ac_objext}"
2802 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
2803 echo "configure:2804: checking for vprintf" >&5
2804 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
2805 echo $ac_n "(cached) $ac_c" 1>&6
2807 cat > conftest.
$ac_ext <<EOF
2808 #line 2809 "configure"
2809 #include "confdefs.h"
2810 /* System header to define __stub macros and hopefully few prototypes,
2811 which can conflict with char vprintf(); below. */
2813 /* Override any gcc2 internal prototype to avoid an error. */
2817 /* We use char because int might match the return type of a gcc2
2818 builtin and then its argument prototype would still apply. */
2823 /* The GNU C library defines this for functions which it implements
2824 to always fail with ENOSYS. Some functions are actually named
2825 something starting with __ and the normal name is an alias. */
2826 #if defined (__stub_vprintf) || defined (__stub___vprintf)
2834 if { (eval echo configure
:2835: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
2836 eval "ac_cv_func_vprintf=yes"
2838 echo "configure: failed program was:" >&5
2839 cat conftest.
$ac_ext >&5
2841 eval "ac_cv_func_vprintf=no"
2846 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
2847 echo "$ac_t""yes" 1>&6
2848 cat >> confdefs.h
<<\EOF
2849 #define HAVE_VPRINTF 1
2853 echo "$ac_t""no" 1>&6
2856 if test "$ac_cv_func_vprintf" != yes; then
2857 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
2858 echo "configure:2859: checking for _doprnt" >&5
2859 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
2860 echo $ac_n "(cached) $ac_c" 1>&6
2862 cat > conftest.
$ac_ext <<EOF
2863 #line 2864 "configure"
2864 #include "confdefs.h"
2865 /* System header to define __stub macros and hopefully few prototypes,
2866 which can conflict with char _doprnt(); below. */
2868 /* Override any gcc2 internal prototype to avoid an error. */
2872 /* We use char because int might match the return type of a gcc2
2873 builtin and then its argument prototype would still apply. */
2878 /* The GNU C library defines this for functions which it implements
2879 to always fail with ENOSYS. Some functions are actually named
2880 something starting with __ and the normal name is an alias. */
2881 #if defined (__stub__doprnt) || defined (__stub____doprnt)
2889 if { (eval echo configure
:2890: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
2891 eval "ac_cv_func__doprnt=yes"
2893 echo "configure: failed program was:" >&5
2894 cat conftest.
$ac_ext >&5
2896 eval "ac_cv_func__doprnt=no"
2901 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
2902 echo "$ac_t""yes" 1>&6
2903 cat >> confdefs.h
<<\EOF
2904 #define HAVE_DOPRNT 1
2908 echo "$ac_t""no" 1>&6
2913 for ac_func
in memmem snprintf vsnprintf
gettext isinf
2915 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
2916 echo "configure:2917: checking for $ac_func" >&5
2917 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
2918 echo $ac_n "(cached) $ac_c" 1>&6
2920 cat > conftest.
$ac_ext <<EOF
2921 #line 2922 "configure"
2922 #include "confdefs.h"
2923 /* System header to define __stub macros and hopefully few prototypes,
2924 which can conflict with char $ac_func(); below. */
2926 /* Override any gcc2 internal prototype to avoid an error. */
2930 /* We use char because int might match the return type of a gcc2
2931 builtin and then its argument prototype would still apply. */
2936 /* The GNU C library defines this for functions which it implements
2937 to always fail with ENOSYS. Some functions are actually named
2938 something starting with __ and the normal name is an alias. */
2939 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
2947 if { (eval echo configure
:2948: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
2949 eval "ac_cv_func_$ac_func=yes"
2951 echo "configure: failed program was:" >&5
2952 cat conftest.
$ac_ext >&5
2954 eval "ac_cv_func_$ac_func=no"
2959 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
2960 echo "$ac_t""yes" 1>&6
2961 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
2962 cat >> confdefs.h
<<EOF
2963 #define $ac_tr_func 1
2967 echo "$ac_t""no" 1>&6
2972 cat >> confdefs.h
<<EOF
2973 #define TOPLEVEL_VERSION "${FULL_VERSION}"
2976 cat >> confdefs.h
<<EOF
2977 #define FLOWER_VERSION "${FULL_FLOWER_VERSION}"
2981 for ac_prog
in makeinfo
2983 # Extract the first word of "$ac_prog", so it can be a program name with args.
2984 set dummy
$ac_prog; ac_word
=$2
2985 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2986 echo "configure:2987: checking for $ac_word" >&5
2987 if eval "test \"`echo '$''{'ac_cv_prog_MAKEINFO'+set}'`\" = set"; then
2988 echo $ac_n "(cached) $ac_c" 1>&6
2990 if test -n "$MAKEINFO"; then
2991 ac_cv_prog_MAKEINFO
="$MAKEINFO" # Let the user override the test.
2993 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2995 for ac_dir
in $ac_dummy; do
2996 test -z "$ac_dir" && ac_dir
=.
2997 if test -f $ac_dir/$ac_word; then
2998 ac_cv_prog_MAKEINFO
="$ac_prog"
3005 MAKEINFO
="$ac_cv_prog_MAKEINFO"
3006 if test -n "$MAKEINFO"; then
3007 echo "$ac_t""$MAKEINFO" 1>&6
3009 echo "$ac_t""no" 1>&6
3012 test -n "$MAKEINFO" && break
3014 test -n "$MAKEINFO" || MAKEINFO
="error"
3016 # Extract the first word of "perl", so it can be a program name with args.
3017 set dummy perl
; ac_word
=$2
3018 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3019 echo "configure:3020: checking for $ac_word" >&5
3020 if eval "test \"`echo '$''{'ac_cv_path_PERL'+set}'`\" = set"; then
3021 echo $ac_n "(cached) $ac_c" 1>&6
3025 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
3028 ac_cv_path_PERL
="$PERL" # Let the user override the test with a dos path.
3031 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
3033 for ac_dir
in $ac_dummy; do
3034 test -z "$ac_dir" && ac_dir
=.
3035 if test -f $ac_dir/$ac_word; then
3036 ac_cv_path_PERL
="$ac_dir/$ac_word"
3041 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL
="error"
3045 PERL
="$ac_cv_path_PERL"
3046 if test -n "$PERL"; then
3047 echo "$ac_t""$PERL" 1>&6
3049 echo "$ac_t""no" 1>&6
3056 cat > confcache
<<\EOF
3057 # This file is a shell script that caches the results of configure
3058 # tests run on this system so they can be shared between configure
3059 # scripts and configure runs. It is not useful on other systems.
3060 # If it contains results you don't want to keep, you may remove or edit it.
3062 # By default, configure uses ./config.cache as the cache file,
3063 # creating it if it does not exist already. You can give configure
3064 # the --cache-file=FILE option to use a different cache file; that is
3065 # what configure does when it calls configure scripts in
3066 # subdirectories, so they share the cache.
3067 # Giving --cache-file=/dev/null disables caching, for debugging configure.
3068 # config.status only pays attention to the cache file if you give it the
3069 # --recheck option to rerun configure.
3072 # The following way of writing the cache mishandles newlines in values,
3073 # but we know of no workaround that is simple, portable, and efficient.
3074 # So, don't put newlines in cache variables' values.
3075 # Ultrix sh set writes to stderr and can't be redirected directly,
3076 # and sets the high bit in the cache file unless we assign to the vars.
3078 case `(ac_space=' '; set | grep ac_space) 2>&1` in
3080 # `set' does not quote correctly, so add quotes (double-quote substitution
3081 # turns \\\\ into \\, and sed turns \\ into \).
3083 -e "s/'/'\\\\''/g" \
3084 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
3087 # `set' quotes correctly as required by POSIX, so do not add quotes.
3088 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
3091 if cmp -s $cache_file confcache
; then
3094 if test -w $cache_file; then
3095 echo "updating cache $cache_file"
3096 cat confcache
> $cache_file
3098 echo "not updating unwritable cache $cache_file"
3103 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
3105 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
3106 # Let make expand exec_prefix.
3107 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
3109 # Any assignment to VPATH causes Sun make to only execute
3110 # the first set of double-colon rules, so remove it if not needed.
3111 # If there is a colon in the path, we need to keep it.
3112 if test "x$srcdir" = x.
; then
3113 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
3116 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
3118 DEFS
=-DHAVE_CONFIG_H
3120 # Without the "./", some shells look in PATH for config.status.
3121 : ${CONFIG_STATUS=./config.status}
3123 echo creating
$CONFIG_STATUS
3124 rm -f $CONFIG_STATUS
3125 cat > $CONFIG_STATUS <<EOF
3127 # Generated automatically by configure.
3128 # Run this file to recreate the current configuration.
3129 # This directory was configured as follows,
3130 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
3132 # $0 $ac_configure_args
3134 # Compiler output produced by configure, useful for debugging
3135 # configure, is in ./config.log if it exists.
3137 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
3140 case "\$ac_option" in
3141 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3142 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
3143 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
3144 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
3145 echo "$CONFIG_STATUS generated by autoconf version 2.13"
3147 -help | --help | --hel | --he | --h)
3148 echo "\$ac_cs_usage"; exit 0 ;;
3149 *) echo "\$ac_cs_usage"; exit 1 ;;
3153 ac_given_srcdir=$srcdir
3155 trap 'rm -fr `echo "$CONFIGFILE.make:config.make.in $CONFIGFILE.h:config.hh.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
3157 cat >> $CONFIG_STATUS <<EOF
3159 # Protect against being on the right side of a sed subst in config.status.
3160 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
3161 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
3165 s%@CFLAGS@%$CFLAGS%g
3166 s%@CPPFLAGS@%$CPPFLAGS%g
3167 s%@CXXFLAGS@%$CXXFLAGS%g
3168 s%@FFLAGS@%$FFLAGS%g
3170 s%@LDFLAGS@%$LDFLAGS%g
3172 s%@exec_prefix@%$exec_prefix%g
3173 s%@prefix@%$prefix%g
3174 s%@program_transform_name@%$program_transform_name%g
3175 s%@bindir@%$bindir%g
3176 s%@sbindir@%$sbindir%g
3177 s%@libexecdir@%$libexecdir%g
3178 s%@datadir@%$datadir%g
3179 s%@sysconfdir@%$sysconfdir%g
3180 s%@sharedstatedir@%$sharedstatedir%g
3181 s%@localstatedir@%$localstatedir%g
3182 s%@libdir@%$libdir%g
3183 s%@includedir@%$includedir%g
3184 s%@oldincludedir@%$oldincludedir%g
3185 s%@infodir@%$infodir%g
3186 s%@mandir@%$mandir%g
3187 s%@builddir@%$builddir%g
3188 s%@stepmake@%$stepmake%g
3189 s%@package@%$package%g
3190 s%@PACKAGE@%$PACKAGE%g
3191 s%@PACKAGE_NAME@%$PACKAGE_NAME%g
3192 s%@package_depth@%$package_depth%g
3193 s%@AUTOGENERATE@%$AUTOGENERATE%g
3194 s%@STATE_VECTOR@%$STATE_VECTOR%g
3195 s%@CONFIGSUFFIX@%$CONFIGSUFFIX%g
3197 s%@host_alias@%$host_alias%g
3198 s%@host_cpu@%$host_cpu%g
3199 s%@host_vendor@%$host_vendor%g
3200 s%@host_os@%$host_os%g
3205 s%@PYTHON@%$PYTHON%g
3206 s%@program_prefix@%$program_prefix%g
3207 s%@program_suffix@%$program_suffix%g
3211 s%@INSTALL@%$INSTALL%g
3212 s%@PATHSEP@%$PATHSEP%g
3213 s%@DIRSEP@%$DIRSEP%g
3214 s%@DIR_DATADIR@%$DIR_DATADIR%g
3215 s%@subdirs@%$subdirs%g
3218 s%@ICFLAGS@%$ICFLAGS%g
3219 s%@ILDFLAGS@%$ILDFLAGS%g
3220 s%@DEFINES@%$DEFINES%g
3221 s%@EXTRA_LIBES@%$EXTRA_LIBES%g
3223 s%@CXXCPP@%$CXXCPP%g
3228 s%@RANLIB@%$RANLIB%g
3229 s%@localedir@%$localedir%g
3230 s%@DIR_LOCALEDIR@%$DIR_LOCALEDIR%g
3231 s%@MSGFMT@%$MSGFMT%g
3232 s%@METAFONT@%$METAFONT%g
3234 s%@METAPOST@%$METAPOST%g
3236 s%@INIMETAFONT@%$INIMETAFONT%g
3237 s%@INIMFONT@%$INIMFONT%g
3238 s%@INIMETAPOST@%$INIMETAPOST%g
3239 s%@INIMPOST@%$INIMPOST%g
3240 s%@MFMODE@%$MFMODE%g
3241 s%@MFPLAIN_MP@%$MFPLAIN_MP%g
3242 s%@INIMETAPOST_FLAGS@%$INIMETAPOST_FLAGS%g
3243 s%@KPSEWHICH@%$KPSEWHICH%g
3244 s%@TFM_PATH@%$TFM_PATH%g
3245 s%@GUILE_CFLAGS@%$GUILE_CFLAGS%g
3246 s%@GUILE_LDFLAGS@%$GUILE_LDFLAGS%g
3248 s%@LIBOBJS@%$LIBOBJS%g
3249 s%@MAKEINFO@%$MAKEINFO%g
3255 cat >> $CONFIG_STATUS <<\EOF
3257 # Split the substitutions into bite-sized pieces for seds with
3258 # small command number limits, like on Digital OSF/1 and HP-UX.
3259 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
3260 ac_file
=1 # Number of current file.
3261 ac_beg
=1 # First line for current file.
3262 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
3265 while $ac_more_lines; do
3266 if test $ac_beg -gt 1; then
3267 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
3269 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
3271 if test ! -s conftest.s
$ac_file; then
3273 rm -f conftest.s
$ac_file
3275 if test -z "$ac_sed_cmds"; then
3276 ac_sed_cmds
="sed -f conftest.s$ac_file"
3278 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
3280 ac_file
=`expr $ac_file + 1`
3282 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
3285 if test -z "$ac_sed_cmds"; then
3290 cat >> $CONFIG_STATUS <<EOF
3292 CONFIG_FILES=\${CONFIG_FILES-"$CONFIGFILE.make:config.make.in"}
3294 cat >> $CONFIG_STATUS <<\EOF
3295 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
3296 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3298 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
3299 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
3300 *) ac_file_in
="${ac_file}.in" ;;
3303 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
3305 # Remove last slash and all that follows it. Not all systems have dirname.
3306 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
3307 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
3308 # The file is in a subdirectory.
3309 test ! -d "$ac_dir" && mkdir
"$ac_dir"
3310 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
3311 # A "../" for each directory in $ac_dir_suffix.
3312 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
3314 ac_dir_suffix
= ac_dots
=
3317 case "$ac_given_srcdir" in
3319 if test -z "$ac_dots"; then top_srcdir
=.
3320 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
3321 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
3323 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
3324 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
3328 echo creating
"$ac_file"
3330 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
3332 *Makefile
*) ac_comsub
="1i\\
3333 # $configure_input" ;;
3337 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
3339 s%@configure_input@%$configure_input%g
3340 s%@srcdir@%$srcdir%g
3341 s%@top_srcdir@%$top_srcdir%g
3342 " $ac_file_inputs |
(eval "$ac_sed_cmds") > $ac_file
3346 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
3347 # NAME is the cpp macro being defined and VALUE is the value it is being given.
3349 # ac_d sets the value in "#define NAME VALUE" lines.
3350 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
3351 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
3354 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
3355 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
3356 ac_uB
='\([ ]\)%\1#\2define\3'
3359 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
3360 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
3361 ac_eB
='$%\1#\2define\3'
3365 if test "${CONFIG_HEADERS+set}" != set; then
3367 cat >> $CONFIG_STATUS <<EOF
3368 CONFIG_HEADERS="$CONFIGFILE.h:config.hh.in"
3370 cat >> $CONFIG_STATUS <<\EOF
3372 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
3373 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3375 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
3376 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
3377 *) ac_file_in
="${ac_file}.in" ;;
3380 echo creating
$ac_file
3382 rm -f conftest.frag conftest.
in conftest.out
3383 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
3384 cat $ac_file_inputs > conftest.
in
3388 # Transform confdefs.h into a sed script conftest.vals that substitutes
3389 # the proper values into config.h.in to produce config.h. And first:
3390 # Protect against being on the right side of a sed subst in config.status.
3391 # Protect against being in an unquoted here document in config.status.
3393 cat > conftest.hdr
<<\EOF
3396 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
3400 sed -n -f conftest.hdr confdefs.h > conftest.vals
3403 # This sed command replaces #undef with comments. This is necessary, for
3404 # example, in the case of _POSIX_SOURCE, which is predefined and required
3405 # on some systems where configure will not decide to define it.
3406 cat >> conftest.vals <<\EOF
3407 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
3410 # Break up conftest.vals because some shells have a limit on
3411 # the size of here documents, and old seds have small limits too.
3416 ac_lines=`grep -c . conftest.vals
`
3417 # grep -c gives empty output for an empty file on some AIX systems.
3418 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
3419 # Write a limited-size here document to conftest.frag.
3420 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
3421 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
3423 sed -f conftest.frag conftest.in > conftest.out
3425 mv conftest.out conftest.in
3427 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
3429 mv conftest.tail conftest.vals
3433 cat >> $CONFIG_STATUS <<\EOF
3434 rm -f conftest.frag conftest.h
3435 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
3436 cat conftest.in >> conftest.h
3438 if cmp -s $ac_file conftest.h 2>/dev/null; then
3439 echo "$ac_file is unchanged"
3442 # Remove last slash and all that follows it. Not all systems have dirname.
3443 ac_dir=`echo $ac_file|
sed 's%/[^/][^/]*$%%'`
3444 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
3445 # The file is in a subdirectory.
3446 test ! -d "$ac_dir" && mkdir "$ac_dir"
3449 mv conftest.h $ac_file
3454 cat >> $CONFIG_STATUS <<EOF
3457 cat >> $CONFIG_STATUS <<\EOF
3461 chmod +x $CONFIG_STATUS
3462 rm -fr confdefs* $ac_clean_files
3463 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
3465 if test "$no_recursion" != yes; then
3467 # Remove --cache-file and --srcdir arguments so they do not pile up.
3468 ac_sub_configure_args=
3470 for ac_arg in $ac_configure_args; do
3471 if test -n "$ac_prev"; then
3476 -cache-file | --cache-file | --cache-fil | --cache-fi \
3477 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
3478 ac_prev=cache_file ;;
3479 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
3480 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
3482 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
3484 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
3486 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
3490 for ac_config_dir in stepmake; do
3492 # Do not complain, so a configure script can configure whichever
3493 # parts of a large source tree are present.
3494 if test ! -d $srcdir/$ac_config_dir; then
3498 echo configuring in $ac_config_dir
3503 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
3505 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
3513 # A "../" for each directory in /$ac_config_dir.
3514 ac_dots=`echo $ac_config_dir|
sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
3517 .) # No --srcdir option. We are building in place.
3518 ac_sub_srcdir=$srcdir ;;
3519 /*) # Absolute path.
3520 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
3522 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
3525 # Check for guested configure; otherwise get Cygnus style configure.
3526 if test -f $ac_sub_srcdir/configure; then
3527 ac_sub_configure=$ac_sub_srcdir/configure
3528 elif test -f $ac_sub_srcdir/configure.in; then
3529 ac_sub_configure=$ac_configure
3531 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
3535 # The recursion is here.
3536 if test -n "$ac_sub_configure"; then
3538 # Make the cache file name correct relative to the subdirectory.
3539 case "$cache_file" in
3540 /*) ac_sub_cache_file=$cache_file ;;
3542 ac_sub_cache_file="$ac_dots$cache_file" ;;
3545 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
3546 # The eval makes quoting arguments work.
3547 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
3550 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }
3559 rm -f $srcdir/GNUmakefile
3560 cp $srcdir/make/toplevel.make.in $srcdir/GNUmakefile
3561 chmod 444 $srcdir/GNUmakefile
3562 if test "$builddir" != "."; then
3564 cp $srcdir/make/srcdir.make.in GNUmakefile
3565 chmod 444 GNUmakefile