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-tex-tfmdir=DIR set the tex-directory where cmr10.tfm lives (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 echo $ac_n "checking Package""... $ac_c" 1>&6
622 echo "configure:623: checking Package" >&5
623 if test "x$PACKAGE" = "xSTEPMAKE"; then
624 echo "$ac_t""Stepmake package!" 1>&6
625 (cd stepmake
; rm -f stepmake
; ln -s ..
/stepmake .
)
626 (cd stepmake
; rm -f bin
; ln -s ..
/bin .
)
628 for ac_dir
in bin
$srcdir/bin
; do
629 if test -f $ac_dir/install-sh
; then
631 ac_install_sh
="$ac_aux_dir/install-sh -c"
633 elif test -f $ac_dir/install.sh
; then
635 ac_install_sh
="$ac_aux_dir/install.sh -c"
639 if test -z "$ac_aux_dir"; then
640 { echo "configure: error: can not find install-sh or install.sh in bin $srcdir/bin" 1>&2; exit 1; }
642 ac_config_guess
=$ac_aux_dir/config.guess
643 ac_config_sub
=$ac_aux_dir/config.sub
644 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
648 echo "$ac_t""$PACKAGE" 1>&6
649 echo $ac_n "checking for stepmake""... $ac_c" 1>&6
650 echo "configure:651: checking for stepmake" >&5
651 # Check for installed stepmake
652 if test -d $stepmake; then
653 echo "$ac_t""$stepmake" 1>&6
655 stepmake
='$(depth)'/stepmake
656 echo "$ac_t""./stepmake ($datadir/stepmake not found)" 1>&6
660 $HOME/usr
/local
/share
/stepmake
/bin\
661 $HOME/usr
/local
/lib
/stepmake
/bin\
662 $HOME/usr
/share
/stepmake
/bin\
663 $HOME/usr
/lib
/stepmake
/bin\
664 /usr
/local
/share
/stepmake
/bin\
665 /usr
/local
/lib
/stepmake
/bin\
666 /usr
/share
/stepmake
/bin\
667 /usr
/lib
/stepmake
/bin\
670 $HOME/usr
/local
/share
/stepmake
/bin\
671 $HOME/usr
/local
/lib
/stepmake
/bin\
672 $HOME/usr
/share
/stepmake
/bin\
673 $HOME/usr
/lib
/stepmake
/bin\
674 /usr
/local
/share
/stepmake
/bin\
675 /usr
/local
/lib
/stepmake
/bin\
676 /usr
/share
/stepmake
/bin\
677 /usr
/lib
/stepmake
/bin\
680 if test -f $ac_dir/install-sh
; then
682 ac_install_sh
="$ac_aux_dir/install-sh -c"
684 elif test -f $ac_dir/install.sh
; then
686 ac_install_sh
="$ac_aux_dir/install.sh -c"
690 if test -z "$ac_aux_dir"; then
691 { echo "configure: error: can not find install-sh or install.sh in \
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\
702 $HOME/usr/local/share/stepmake/bin\
703 $HOME/usr/local/lib/stepmake/bin\
704 $HOME/usr/share/stepmake/bin\
705 $HOME/usr/lib/stepmake/bin\
706 /usr/local/share/stepmake/bin\
707 /usr/local/lib/stepmake/bin\
708 /usr/share/stepmake/bin\
709 /usr/lib/stepmake/bin\
713 ac_config_guess
=$ac_aux_dir/config.guess
714 ac_config_sub
=$ac_aux_dir/config.sub
715 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
723 cat >> confdefs.h
<<EOF
724 #define PACKAGE "${PACKAGE_NAME}"
727 cat >> confdefs.h
<<EOF
728 #define TOPLEVEL_VERSION "${FULL_VERSION}"
732 if test "$package_depth" = "" ; then
735 package_depth
="../$package_depth"
740 AUTOGENERATE
="This file was automatically generated by configure"
742 absolute_builddir
="`pwd`"
745 STATE_VECTOR
=`ls make/STATE-VECTOR 2>/dev/null`
746 if test "x$STATE_VECTOR" != "x"; then
747 STATE_VECTOR
="\$(depth)/$STATE_VECTOR"
752 # Check whether --enable-config or --disable-config was given.
753 if test "${enable_config+set}" = set; then
754 enableval
="$enable_config"
755 CONFIGSUFFIX
=$enableval
759 if test "$CONFIGSUFFIX" != "" ; then
760 CONFIGFILE
=config-
$CONFIGSUFFIX
767 # Make sure we can run config.sub.
768 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
769 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
772 echo $ac_n "checking host system type""... $ac_c" 1>&6
773 echo "configure:774: checking host system type" >&5
776 case "$host_alias" in
780 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
781 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
783 *) host_alias
=$nonopt ;;
787 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
788 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
789 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
790 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
791 echo "$ac_t""$host" 1>&6
793 for ac_prog
in gmake
make
795 # Extract the first word of "$ac_prog", so it can be a program name with args.
796 set dummy
$ac_prog; ac_word
=$2
797 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
798 echo "configure:799: checking for $ac_word" >&5
799 if eval "test \"`echo '$''{'ac_cv_prog_MAKE'+set}'`\" = set"; then
800 echo $ac_n "(cached) $ac_c" 1>&6
802 if test -n "$MAKE"; then
803 ac_cv_prog_MAKE
="$MAKE" # Let the user override the test.
805 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
807 for ac_dir
in $ac_dummy; do
808 test -z "$ac_dir" && ac_dir
=.
809 if test -f $ac_dir/$ac_word; then
810 ac_cv_prog_MAKE
="$ac_prog"
817 MAKE
="$ac_cv_prog_MAKE"
818 if test -n "$MAKE"; then
819 echo "$ac_t""$MAKE" 1>&6
821 echo "$ac_t""no" 1>&6
824 test -n "$MAKE" && break
826 test -n "$MAKE" || MAKE
="error"
830 # Extract the first word of "$ac_prog", so it can be a program name with args.
831 set dummy
$ac_prog; ac_word
=$2
832 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
833 echo "configure:834: checking for $ac_word" >&5
834 if eval "test \"`echo '$''{'ac_cv_prog_FIND'+set}'`\" = set"; then
835 echo $ac_n "(cached) $ac_c" 1>&6
837 if test -n "$FIND"; then
838 ac_cv_prog_FIND
="$FIND" # Let the user override the test.
840 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
842 for ac_dir
in $ac_dummy; do
843 test -z "$ac_dir" && ac_dir
=.
844 if test -f $ac_dir/$ac_word; then
845 ac_cv_prog_FIND
="$ac_prog"
852 FIND
="$ac_cv_prog_FIND"
853 if test -n "$FIND"; then
854 echo "$ac_t""$FIND" 1>&6
856 echo "$ac_t""no" 1>&6
859 test -n "$FIND" && break
861 test -n "$FIND" || FIND
="error"
867 # Extract the first word of "$ac_prog", so it can be a program name with args.
868 set dummy
$ac_prog; ac_word
=$2
869 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
870 echo "configure:871: checking for $ac_word" >&5
871 if eval "test \"`echo '$''{'ac_cv_prog_TAR'+set}'`\" = set"; then
872 echo $ac_n "(cached) $ac_c" 1>&6
874 if test -n "$TAR"; then
875 ac_cv_prog_TAR
="$TAR" # Let the user override the test.
877 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
879 for ac_dir
in $ac_dummy; do
880 test -z "$ac_dir" && ac_dir
=.
881 if test -f $ac_dir/$ac_word; then
882 ac_cv_prog_TAR
="$ac_prog"
889 TAR
="$ac_cv_prog_TAR"
890 if test -n "$TAR"; then
891 echo "$ac_t""$TAR" 1>&6
893 echo "$ac_t""no" 1>&6
896 test -n "$TAR" && break
898 test -n "$TAR" || TAR
="error"
901 if test "x`uname`" = "xHP-UX"; then
902 # Extract the first word of "bash", so it can be a program name with args.
903 set dummy bash
; ac_word
=$2
904 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
905 echo "configure:906: checking for $ac_word" >&5
906 if eval "test \"`echo '$''{'ac_cv_path_BASH'+set}'`\" = set"; then
907 echo $ac_n "(cached) $ac_c" 1>&6
911 ac_cv_path_BASH
="$BASH" # Let the user override the test with a path.
914 ac_cv_path_BASH
="$BASH" # Let the user override the test with a dos path.
917 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
919 for ac_dir
in $ac_dummy; do
920 test -z "$ac_dir" && ac_dir
=.
921 if test -f $ac_dir/$ac_word; then
922 ac_cv_path_BASH
="$ac_dir/$ac_word"
927 test -z "$ac_cv_path_BASH" && ac_cv_path_BASH
="/bin/sh"
931 BASH
="$ac_cv_path_BASH"
932 if test -n "$BASH"; then
933 echo "$ac_t""$BASH" 1>&6
935 echo "$ac_t""no" 1>&6
939 echo "configure: warning: avoiding buggy /bin/sh" 1>&2
942 # Extract the first word of "bash", so it can be a program name with args.
943 set dummy bash
; ac_word
=$2
944 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
945 echo "configure:946: checking for $ac_word" >&5
946 if eval "test \"`echo '$''{'ac_cv_path_SHELL'+set}'`\" = set"; then
947 echo $ac_n "(cached) $ac_c" 1>&6
951 ac_cv_path_SHELL
="$SHELL" # Let the user override the test with a path.
954 ac_cv_path_SHELL
="$SHELL" # Let the user override the test with a dos path.
957 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
959 for ac_dir
in $ac_dummy; do
960 test -z "$ac_dir" && ac_dir
=.
961 if test -f $ac_dir/$ac_word; then
962 ac_cv_path_SHELL
="$ac_dir/$ac_word"
967 test -z "$ac_cv_path_SHELL" && ac_cv_path_SHELL
="/bin/ksh"
971 SHELL
="$ac_cv_path_SHELL"
972 if test -n "$SHELL"; then
973 echo "$ac_t""$SHELL" 1>&6
975 echo "$ac_t""no" 1>&6
979 # Extract the first word of "bash", so it can be a program name with args.
980 set dummy bash
; ac_word
=$2
981 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
982 echo "configure:983: checking for $ac_word" >&5
983 if eval "test \"`echo '$''{'ac_cv_path_BASH'+set}'`\" = set"; then
984 echo $ac_n "(cached) $ac_c" 1>&6
988 ac_cv_path_BASH
="$BASH" # Let the user override the test with a path.
991 ac_cv_path_BASH
="$BASH" # Let the user override the test with a dos path.
994 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
996 for ac_dir
in $ac_dummy; do
997 test -z "$ac_dir" && ac_dir
=.
998 if test -f $ac_dir/$ac_word; then
999 ac_cv_path_BASH
="$ac_dir/$ac_word"
1004 test -z "$ac_cv_path_BASH" && ac_cv_path_BASH
="/bin/sh"
1008 BASH
="$ac_cv_path_BASH"
1009 if test -n "$BASH"; then
1010 echo "$ac_t""$BASH" 1>&6
1012 echo "$ac_t""no" 1>&6
1020 # Extract the first word of "${PYTHON:-python}", so it can be a program name with args.
1021 set dummy
${PYTHON:-python}; ac_word
=$2
1022 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1023 echo "configure:1024: checking for $ac_word" >&5
1024 if eval "test \"`echo '$''{'ac_cv_path_PYTHON'+set}'`\" = set"; then
1025 echo $ac_n "(cached) $ac_c" 1>&6
1029 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
1032 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a dos path.
1035 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1037 for ac_dir
in $ac_dummy; do
1038 test -z "$ac_dir" && ac_dir
=.
1039 if test -f $ac_dir/$ac_word; then
1040 ac_cv_path_PYTHON
="$ac_dir/$ac_word"
1045 test -z "$ac_cv_path_PYTHON" && ac_cv_path_PYTHON
="-echo no python"
1049 PYTHON
="$ac_cv_path_PYTHON"
1050 if test -n "$PYTHON"; then
1051 echo "$ac_t""$PYTHON" 1>&6
1053 echo "$ac_t""no" 1>&6
1058 if test $MAKE != "error" ; then
1059 $MAKE -v 2> /dev
/null |
grep GNU
> /dev
/null
1063 echo "configure: warning: Please install *GNU* make" 1>&2
1070 result
="`echo \"$PYTHON\" | grep echo`"
1071 if test "x$PYTHON" = "xerror" -o "x$result" != "x"; then
1073 echo "configure: warning: can\'t find python. You should install Python" 1>&2
1079 if test "x$OSTYPE" = "xcygwin32" ||
test "x$OSTYPE" = "xWindows_NT"; then
1080 LN
=cp # hard link does not work under cygnus-nt
1081 LN_S
='cp -r' # symbolic link does not work for native nt
1088 # cygwin fixes all these things.
1089 # it seems these were used because of dos-style TEXINPUTS and
1090 # MFINPUTS needed for miktex.
1091 # but this breaks parsing of all other cygwin/unix style paths.
1093 # if your (mik)tex breaks, make a:
1094 # /usr/local/bin/tex:
1096 # TEXINPUTS=`cygpath -pw $TEXINPUTS` /texmf/miktex/bin/tex
1100 # /usr/local/bin/mf:
1102 # MFINPUTS=`cygpath -pw $MFINPUTS` /texmf/miktex/bin/mf
1104 # this way, you may have buildscripts/out/lilypond-profile
1105 # 'automatically' sourced from /usr/etc/profile.d/ too.
1109 INSTALL
="\$(SHELL) \$(stepdir)/../bin/install-dot-exe.sh -c"
1116 INSTALL
="\$(SHELL) \$(stepdir)/../bin/install-sh -c"
1123 cat >> confdefs.h
<<EOF
1124 #define DIRSEP '${DIRSEP}'
1127 cat >> confdefs.h
<<EOF
1128 #define PATHSEP '${PATHSEP}'
1135 if test "$datadir" = "\${prefix}/share"; then
1136 datadir
='${prefix}/share/'$package
1138 DIR_DATADIR
=${datadir}
1140 if test "$prefix" = "NONE"; then
1141 presome
=${ac_default_prefix}
1143 DIR_DATADIR
=`echo ${DIR_DATADIR} | sed "s!\\\${prefix}!$presome!"`
1146 cat >> confdefs.h
<<EOF
1147 #define DIR_DATADIR "${DIR_DATADIR}"
1153 # For all packages except the StepMake package itself
1157 # Uncomment the configuration options your package needs.
1159 # -O is necessary to get inlining
1161 CFLAGS
=${CFLAGS:-""}
1162 CXXFLAGS
=${CXXFLAGS:-$CFLAGS}
1163 LDFLAGS
=${LDFLAGS:-""}
1169 # Check whether --enable-checking or --disable-checking was given.
1170 if test "${enable_checking+set}" = set; then
1171 enableval
="$enable_checking"
1172 checking_b
=$enableval
1176 # actually, the default is: tja='-O' to get inlining...
1179 #actually, that sucks.
1180 # tja looks like a typo. Default is optimisation off. --hwn
1182 # Check whether --enable-optimise or --disable-optimise was given.
1183 if test "${enable_optimise+set}" = set; then
1184 enableval
="$enable_optimise"
1185 optimise_b
=$enableval
1189 # Check whether --enable-profiling or --disable-profiling was given.
1190 if test "${enable_profiling+set}" = set; then
1191 enableval
="$enable_profiling"
1192 profile_b
=$enableval
1196 # Check whether --enable-debugging or --disable-debugging was given.
1197 if test "${enable_debugging+set}" = set; then
1198 enableval
="$enable_debugging"
1203 # Check whether --enable-mingw-prefix or --disable-mingw-prefix was given.
1204 if test "${enable_mingw_prefix+set}" = set; then
1205 enableval
="$enable_mingw_prefix"
1206 MINGWPREFIX
=$enableval
1212 if test "$checking_b" = no
; then
1214 cat >> confdefs.h
<<\EOF
1218 DEFINES
="$DEFINES -DNDEBUG"
1221 if test "$optimise_b" = yes; then
1222 OPTIMIZE
="-O2 -finline-functions"
1225 if test "$optimise_b" = no
; then
1229 if test $profile_b = yes; then
1231 OPTIMIZE
="$OPTIMIZE -pg"
1234 if test $debug_b = yes; then
1235 OPTIMIZE
="$OPTIMIZE -g"
1238 # however, C++ support in mingw32 v 0.1.4 is still flaky
1239 if test x
$MINGWPREFIX != xno
; then
1240 ICFLAGS
="-I$MINGWPREFIX/include"
1241 ILDFLAGS
="-$MINGWPREFIX/lib"
1244 # Extract the first word of "gcc", so it can be a program name with args.
1245 set dummy gcc
; ac_word
=$2
1246 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1247 echo "configure:1248: checking for $ac_word" >&5
1248 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1249 echo $ac_n "(cached) $ac_c" 1>&6
1251 if test -n "$CC"; then
1252 ac_cv_prog_CC
="$CC" # Let the user override the test.
1254 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1256 for ac_dir
in $ac_dummy; do
1257 test -z "$ac_dir" && ac_dir
=.
1258 if test -f $ac_dir/$ac_word; then
1267 if test -n "$CC"; then
1268 echo "$ac_t""$CC" 1>&6
1270 echo "$ac_t""no" 1>&6
1273 if test -z "$CC"; then
1274 # Extract the first word of "cc", so it can be a program name with args.
1275 set dummy cc
; ac_word
=$2
1276 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1277 echo "configure:1278: checking for $ac_word" >&5
1278 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1279 echo $ac_n "(cached) $ac_c" 1>&6
1281 if test -n "$CC"; then
1282 ac_cv_prog_CC
="$CC" # Let the user override the test.
1284 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1287 for ac_dir
in $ac_dummy; do
1288 test -z "$ac_dir" && ac_dir
=.
1289 if test -f $ac_dir/$ac_word; then
1290 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1291 ac_prog_rejected
=yes
1299 if test $ac_prog_rejected = yes; then
1300 # We found a bogon in the path, so make sure we never use it.
1301 set dummy
$ac_cv_prog_CC
1303 if test $# -gt 0; then
1304 # We chose a different compiler from the bogus one.
1305 # However, it has the same basename, so the bogon will be chosen
1306 # first if we set CC to just the basename; use the full file name.
1308 set dummy
"$ac_dir/$ac_word" "$@"
1316 if test -n "$CC"; then
1317 echo "$ac_t""$CC" 1>&6
1319 echo "$ac_t""no" 1>&6
1322 if test -z "$CC"; then
1323 case "`uname -s`" in
1325 # Extract the first word of "cl", so it can be a program name with args.
1326 set dummy cl
; ac_word
=$2
1327 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1328 echo "configure:1329: checking for $ac_word" >&5
1329 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1330 echo $ac_n "(cached) $ac_c" 1>&6
1332 if test -n "$CC"; then
1333 ac_cv_prog_CC
="$CC" # Let the user override the test.
1335 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1337 for ac_dir
in $ac_dummy; do
1338 test -z "$ac_dir" && ac_dir
=.
1339 if test -f $ac_dir/$ac_word; then
1348 if test -n "$CC"; then
1349 echo "$ac_t""$CC" 1>&6
1351 echo "$ac_t""no" 1>&6
1356 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1359 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
1360 echo "configure:1361: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
1363 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1364 ac_cpp
='$CPP $CPPFLAGS'
1365 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1366 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1367 cross_compiling
=$ac_cv_prog_cc_cross
1369 cat > conftest.
$ac_ext << EOF
1371 #line 1372 "configure"
1372 #include "confdefs.h"
1376 if { (eval echo configure
:1377: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
1377 ac_cv_prog_cc_works
=yes
1378 # If we can't run a trivial program, we are probably using a cross compiler.
1379 if (.
/conftest
; exit) 2>/dev
/null
; then
1380 ac_cv_prog_cc_cross
=no
1382 ac_cv_prog_cc_cross
=yes
1385 echo "configure: failed program was:" >&5
1386 cat conftest.
$ac_ext >&5
1387 ac_cv_prog_cc_works
=no
1391 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1392 ac_cpp
='$CPP $CPPFLAGS'
1393 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1394 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1395 cross_compiling
=$ac_cv_prog_cc_cross
1397 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
1398 if test $ac_cv_prog_cc_works = no
; then
1399 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
1401 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
1402 echo "configure:1403: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
1403 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
1404 cross_compiling
=$ac_cv_prog_cc_cross
1406 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1407 echo "configure:1408: checking whether we are using GNU C" >&5
1408 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1409 echo $ac_n "(cached) $ac_c" 1>&6
1411 cat > conftest.c
<<EOF
1416 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:1417: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } |
egrep yes >/dev
/null
2>&1; then
1423 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1425 if test $ac_cv_prog_gcc = yes; then
1431 ac_test_CFLAGS
="${CFLAGS+set}"
1432 ac_save_CFLAGS
="$CFLAGS"
1434 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1435 echo "configure:1436: checking whether ${CC-cc} accepts -g" >&5
1436 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1437 echo $ac_n "(cached) $ac_c" 1>&6
1439 echo 'void f(){}' > conftest.c
1440 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1449 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1450 if test "$ac_test_CFLAGS" = set; then
1451 CFLAGS
="$ac_save_CFLAGS"
1452 elif test $ac_cv_prog_cc_g = yes; then
1453 if test "$GCC" = yes; then
1459 if test "$GCC" = yes; then
1469 CFLAGS
="$CFLAGS $OPTIMIZE"
1470 CPPFLAGS
=${CPPFLAGS:-""}
1479 # AC_HAVE_HEADERS(limits.h malloc.h string.h unistd.h values.h)
1482 # Check whether --enable-printing or --disable-printing was given.
1483 if test "${enable_printing+set}" = set; then
1484 enableval
="$enable_printing"
1485 printing_b
=$enableval
1489 if test "$optimise_b" = yes; then
1490 DEFINES
="$DEFINES -DSTRING_UTILS_INLINED"
1491 cat >> confdefs.h
<<\EOF
1492 #define STRINGS_UTILS_INLINED 1
1497 if test "$printing_b" = no
; then
1499 cat >> confdefs.h
<<\EOF
1503 DEFINES
="$DEFINES -DNPRINT"
1506 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
1507 echo "configure:1508: checking how to run the C++ preprocessor" >&5
1508 if test -z "$CXXCPP"; then
1509 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
1510 echo $ac_n "(cached) $ac_c" 1>&6
1513 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1514 ac_cpp
='$CXXCPP $CPPFLAGS'
1515 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1516 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1517 cross_compiling
=$ac_cv_prog_cxx_cross
1518 CXXCPP
="${CXX-g++} -E"
1519 cat > conftest.
$ac_ext <<EOF
1520 #line 1521 "configure"
1521 #include "confdefs.h"
1524 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1525 { (eval echo configure
:1526: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1526 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1527 if test -z "$ac_err"; then
1531 echo "configure: failed program was:" >&5
1532 cat conftest.
$ac_ext >&5
1537 ac_cv_prog_CXXCPP
="$CXXCPP"
1539 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1540 ac_cpp
='$CXXCPP $CPPFLAGS'
1541 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1542 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1543 cross_compiling
=$ac_cv_prog_cxx_cross
1546 CXXCPP
="$ac_cv_prog_CXXCPP"
1547 echo "$ac_t""$CXXCPP" 1>&6
1551 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1552 ac_cpp
='$CXXCPP $CPPFLAGS'
1553 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1554 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1555 cross_compiling
=$ac_cv_prog_cxx_cross
1557 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
1559 # Extract the first word of "$ac_prog", so it can be a program name with args.
1560 set dummy
$ac_prog; ac_word
=$2
1561 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1562 echo "configure:1563: checking for $ac_word" >&5
1563 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
1564 echo $ac_n "(cached) $ac_c" 1>&6
1566 if test -n "$CXX"; then
1567 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
1569 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1571 for ac_dir
in $ac_dummy; do
1572 test -z "$ac_dir" && ac_dir
=.
1573 if test -f $ac_dir/$ac_word; then
1574 ac_cv_prog_CXX
="$ac_prog"
1581 CXX
="$ac_cv_prog_CXX"
1582 if test -n "$CXX"; then
1583 echo "$ac_t""$CXX" 1>&6
1585 echo "$ac_t""no" 1>&6
1588 test -n "$CXX" && break
1590 test -n "$CXX" || CXX
="gcc"
1593 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
1594 echo "configure:1595: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
1597 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1598 ac_cpp
='$CXXCPP $CPPFLAGS'
1599 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1600 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1601 cross_compiling
=$ac_cv_prog_cxx_cross
1603 cat > conftest.
$ac_ext << EOF
1605 #line 1606 "configure"
1606 #include "confdefs.h"
1608 int main(){return(0);}
1610 if { (eval echo configure
:1611: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
1611 ac_cv_prog_cxx_works
=yes
1612 # If we can't run a trivial program, we are probably using a cross compiler.
1613 if (.
/conftest
; exit) 2>/dev
/null
; then
1614 ac_cv_prog_cxx_cross
=no
1616 ac_cv_prog_cxx_cross
=yes
1619 echo "configure: failed program was:" >&5
1620 cat conftest.
$ac_ext >&5
1621 ac_cv_prog_cxx_works
=no
1625 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1626 ac_cpp
='$CXXCPP $CPPFLAGS'
1627 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1628 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1629 cross_compiling
=$ac_cv_prog_cxx_cross
1631 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
1632 if test $ac_cv_prog_cxx_works = no
; then
1633 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
1635 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
1636 echo "configure:1637: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
1637 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
1638 cross_compiling
=$ac_cv_prog_cxx_cross
1640 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
1641 echo "configure:1642: checking whether we are using GNU C++" >&5
1642 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
1643 echo $ac_n "(cached) $ac_c" 1>&6
1645 cat > conftest.C
<<EOF
1650 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:1651: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } |
egrep yes >/dev
/null
2>&1; then
1657 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
1659 if test $ac_cv_prog_gxx = yes; then
1665 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
1666 ac_save_CXXFLAGS
="$CXXFLAGS"
1668 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
1669 echo "configure:1670: checking whether ${CXX-g++} accepts -g" >&5
1670 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
1671 echo $ac_n "(cached) $ac_c" 1>&6
1673 echo 'void f(){}' > conftest.cc
1674 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
1675 ac_cv_prog_cxx_g
=yes
1683 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
1684 if test "$ac_test_CXXFLAGS" = set; then
1685 CXXFLAGS
="$ac_save_CXXFLAGS"
1686 elif test $ac_cv_prog_cxx_g = yes; then
1687 if test "$GXX" = yes; then
1693 if test "$GXX" = yes; then
1701 ac_safe
=`echo "FlexLexer.h" | sed 'y%./+-%__p_%'`
1702 echo $ac_n "checking for FlexLexer.h""... $ac_c" 1>&6
1703 echo "configure:1704: checking for FlexLexer.h" >&5
1704 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1705 echo $ac_n "(cached) $ac_c" 1>&6
1707 cat > conftest.
$ac_ext <<EOF
1708 #line 1709 "configure"
1709 #include "confdefs.h"
1710 #include <FlexLexer.h>
1712 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1713 { (eval echo configure
:1714: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1714 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1715 if test -z "$ac_err"; then
1717 eval "ac_cv_header_$ac_safe=yes"
1720 echo "configure: failed program was:" >&5
1721 cat conftest.
$ac_ext >&5
1723 eval "ac_cv_header_$ac_safe=no"
1727 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
1728 echo "$ac_t""yes" 1>&6
1731 echo "$ac_t""no" 1>&6
1733 echo "configure: warning: can"\'"t find flex header. Please install Flex headers correctly" 1>&2
1739 CPPFLAGS
="$CPPFLAGS $DEFINES"
1740 CXXFLAGS
="$CXXFLAGS $OPTIMIZE"
1741 LDFLAGS
="$LDFLAGS $EXTRA_LIBES"
1750 # urg, egcs: how to check for egcs >= 1.1?
1751 if $CXX --version |
egrep '2\.[89]' > /dev
/null ||
1752 $CXX --version |
grep 'egcs' > /dev
/null
1757 echo "configure: warning: can\'t find g++ 2.8 or egcs 1.1" 1>&2
1763 echo $ac_n "checking whether explicit instantiation is needed""... $ac_c" 1>&6
1764 echo "configure:1765: checking whether explicit instantiation is needed" >&5
1765 if eval "test \"`echo '$''{'lily_cv_need_explicit_instantiation'+set}'`\" = set"; then
1766 echo $ac_n "(cached) $ac_c" 1>&6
1768 cat > conftest.
$ac_ext <<EOF
1769 #line 1770 "configure"
1770 #include "confdefs.h"
1772 template <class T> struct foo { static int baz; };
1773 template <class T> int foo<T>::baz = 1;
1776 return foo<int>::baz;
1779 if { (eval echo configure
:1780: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
1781 lily_cv_need_explicit_instantiation
=no
1783 echo "configure: failed program was:" >&5
1784 cat conftest.
$ac_ext >&5
1786 lily_cv_need_explicit_instantiation
=yes
1791 echo "$ac_t""$lily_cv_need_explicit_instantiation" 1>&6
1792 if test x
"$lily_cv_need_explicit_instantiation"x
= x
"yes"x
; then
1793 cat >> confdefs.h
<<\EOF
1794 #define NEED_EXPLICIT_INSTANTIATION 1
1800 # ugh, automake: we want (and check for) bison
1801 for ac_prog
in 'bison -y' byacc
1803 # Extract the first word of "$ac_prog", so it can be a program name with args.
1804 set dummy
$ac_prog; ac_word
=$2
1805 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1806 echo "configure:1807: checking for $ac_word" >&5
1807 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
1808 echo $ac_n "(cached) $ac_c" 1>&6
1810 if test -n "$YACC"; then
1811 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
1813 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1815 for ac_dir
in $ac_dummy; do
1816 test -z "$ac_dir" && ac_dir
=.
1817 if test -f $ac_dir/$ac_word; then
1818 ac_cv_prog_YACC
="$ac_prog"
1825 YACC
="$ac_cv_prog_YACC"
1826 if test -n "$YACC"; then
1827 echo "$ac_t""$YACC" 1>&6
1829 echo "$ac_t""no" 1>&6
1832 test -n "$YACC" && break
1834 test -n "$YACC" || YACC
="yacc"
1836 # ugh, automake: we want (and check for) flex
1838 # urg: automake 1.3: hope this doesn't break 1.2 ac_cv_pro_lex_root hack...
1842 ac_cv_prog_lex_root
=lex.yy
1844 for ac_prog
in bison
1846 # Extract the first word of "$ac_prog", so it can be a program name with args.
1847 set dummy
$ac_prog; ac_word
=$2
1848 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1849 echo "configure:1850: checking for $ac_word" >&5
1850 if eval "test \"`echo '$''{'ac_cv_prog_BISON'+set}'`\" = set"; then
1851 echo $ac_n "(cached) $ac_c" 1>&6
1853 if test -n "$BISON"; then
1854 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
1856 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1858 for ac_dir
in $ac_dummy; do
1859 test -z "$ac_dir" && ac_dir
=.
1860 if test -f $ac_dir/$ac_word; then
1861 ac_cv_prog_BISON
="$ac_prog"
1868 BISON
="$ac_cv_prog_BISON"
1869 if test -n "$BISON"; then
1870 echo "$ac_t""$BISON" 1>&6
1872 echo "$ac_t""no" 1>&6
1875 test -n "$BISON" && break
1877 test -n "$BISON" || BISON
="error"
1881 # Extract the first word of "$ac_prog", so it can be a program name with args.
1882 set dummy
$ac_prog; ac_word
=$2
1883 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1884 echo "configure:1885: checking for $ac_word" >&5
1885 if eval "test \"`echo '$''{'ac_cv_prog_FLEX'+set}'`\" = set"; then
1886 echo $ac_n "(cached) $ac_c" 1>&6
1888 if test -n "$FLEX"; then
1889 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
1891 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1893 for ac_dir
in $ac_dummy; do
1894 test -z "$ac_dir" && ac_dir
=.
1895 if test -f $ac_dir/$ac_word; then
1896 ac_cv_prog_FLEX
="$ac_prog"
1903 FLEX
="$ac_cv_prog_FLEX"
1904 if test -n "$FLEX"; then
1905 echo "$ac_t""$FLEX" 1>&6
1907 echo "$ac_t""no" 1>&6
1910 test -n "$FLEX" && break
1912 test -n "$FLEX" || FLEX
="error"
1915 result
="`echo \"$BISON\" | grep echo`"
1916 if test "x$BISON" = "xerror" -o "x$result" != "x"; then
1918 echo "configure: warning: can\'t find bison. Please install Bison" 1>&2
1924 result
="`echo \"$FLEX\" | grep echo`"
1925 if test "x$FLEX" = "xerror" -o "x$result" != "x"; then
1927 echo "configure: warning: can\'t find flex. Please install Flex" 1>&2
1933 if test $BISON != "error"; then
1934 bison_version
=`$BISON --version | sed 's/^.*version 1.//g'`
1935 if test `echo $bison_version | sed 's/\..*$//g'` -lt 25; then
1937 echo "configure: warning: Your bison is a bit old (1.$bison_version). You might have to install 1.25" 1>&2
1949 # Extract the first word of "$ac_prog", so it can be a program name with args.
1950 set dummy
$ac_prog; ac_word
=$2
1951 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1952 echo "configure:1953: checking for $ac_word" >&5
1953 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1954 echo $ac_n "(cached) $ac_c" 1>&6
1956 if test -n "$AR"; then
1957 ac_cv_prog_AR
="$AR" # Let the user override the test.
1959 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1961 for ac_dir
in $ac_dummy; do
1962 test -z "$ac_dir" && ac_dir
=.
1963 if test -f $ac_dir/$ac_word; then
1964 ac_cv_prog_AR
="$ac_prog"
1972 if test -n "$AR"; then
1973 echo "$ac_t""$AR" 1>&6
1975 echo "$ac_t""no" 1>&6
1978 test -n "$AR" && break
1980 test -n "$AR" || AR
="error"
1982 # Extract the first word of "ranlib", so it can be a program name with args.
1983 set dummy ranlib
; ac_word
=$2
1984 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1985 echo "configure:1986: checking for $ac_word" >&5
1986 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1987 echo $ac_n "(cached) $ac_c" 1>&6
1989 if test -n "$RANLIB"; then
1990 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
1992 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1994 for ac_dir
in $ac_dummy; do
1995 test -z "$ac_dir" && ac_dir
=.
1996 if test -f $ac_dir/$ac_word; then
1997 ac_cv_prog_RANLIB
="ranlib"
2002 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
2005 RANLIB
="$ac_cv_prog_RANLIB"
2006 if test -n "$RANLIB"; then
2007 echo "$ac_t""$RANLIB" 1>&6
2009 echo "$ac_t""no" 1>&6
2016 # AC_STEPMAKE_LIBTOOL
2022 # Check whether --with-localedir or --without-localedir was given.
2023 if test "${with_localedir+set}" = set; then
2024 withval
="$with_localedir"
2025 localedir
=$with_localedir
2027 localedir
='${prefix}/share/locale'
2031 # Check whether --with-lang or --without-lang was given.
2032 if test "${with_lang+set}" = set; then
2033 withval
="$with_lang"
2040 echo $ac_n "checking language""... $ac_c" 1>&6
2041 echo "configure:2042: checking language" >&5
2043 En
* | en
* | Am
* | am
* | US
* | us
*)
2045 NL |
nl | Du
* | du
* | Ned
* | ned
*)
2052 echo "$ac_t""$lang" 1>&6
2054 if test "$lang" = "unknown" ; then
2056 echo "configure: warning: $language not supported; available are: $ALL_LINGUAS" 1>&2
2063 DIR_LOCALEDIR
=${localedir}
2065 if test "$prefix" = "NONE"; then
2066 presome
=${ac_default_prefix}
2068 DIR_LOCALEDIR
=`echo ${DIR_LOCALEDIR} | sed "s!\\\${prefix}!$presome!"`
2071 cat >> confdefs.h
<<EOF
2072 #define DIR_LOCALEDIR "${DIR_LOCALEDIR}"
2076 echo $ac_n "checking for gettext in -lintl""... $ac_c" 1>&6
2077 echo "configure:2078: checking for gettext in -lintl" >&5
2078 ac_lib_var
=`echo intl'_'gettext | sed 'y%./+-%__p_%'`
2079 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2080 echo $ac_n "(cached) $ac_c" 1>&6
2082 ac_save_LIBS
="$LIBS"
2084 cat > conftest.
$ac_ext <<EOF
2085 #line 2086 "configure"
2086 #include "confdefs.h"
2087 /* Override any gcc2 internal prototype to avoid an error. */
2091 /* We use char because int might match the return type of a gcc2
2092 builtin and then its argument prototype would still apply. */
2099 if { (eval echo configure
:2100: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
2101 eval "ac_cv_lib_$ac_lib_var=yes"
2103 echo "configure: failed program was:" >&5
2104 cat conftest.
$ac_ext >&5
2106 eval "ac_cv_lib_$ac_lib_var=no"
2109 LIBS
="$ac_save_LIBS"
2112 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2113 echo "$ac_t""yes" 1>&6
2114 ac_tr_lib
=HAVE_LIB
`echo intl | sed -e 's/[^a-zA-Z0-9_]/_/g' \
2115 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
2116 cat >> confdefs.h
<<EOF
2117 #define $ac_tr_lib 1
2123 echo "$ac_t""no" 1>&6
2126 for ac_func
in gettext
2128 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
2129 echo "configure:2130: checking for $ac_func" >&5
2130 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
2131 echo $ac_n "(cached) $ac_c" 1>&6
2133 cat > conftest.
$ac_ext <<EOF
2134 #line 2135 "configure"
2135 #include "confdefs.h"
2136 /* System header to define __stub macros and hopefully few prototypes,
2137 which can conflict with char $ac_func(); below. */
2139 /* Override any gcc2 internal prototype to avoid an error. */
2143 /* We use char because int might match the return type of a gcc2
2144 builtin and then its argument prototype would still apply. */
2149 /* The GNU C library defines this for functions which it implements
2150 to always fail with ENOSYS. Some functions are actually named
2151 something starting with __ and the normal name is an alias. */
2152 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
2160 if { (eval echo configure
:2161: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
2162 eval "ac_cv_func_$ac_func=yes"
2164 echo "configure: failed program was:" >&5
2165 cat conftest.
$ac_ext >&5
2167 eval "ac_cv_func_$ac_func=no"
2172 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
2173 echo "$ac_t""yes" 1>&6
2174 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
2175 cat >> confdefs.h
<<EOF
2176 #define $ac_tr_func 1
2180 echo "$ac_t""no" 1>&6
2186 # AC_CHECK_PROGS(MSGFMT, msgfmt, -echo no msgfmt)
2187 for ac_prog
in msgfmt
2189 # Extract the first word of "$ac_prog", so it can be a program name with args.
2190 set dummy
$ac_prog; ac_word
=$2
2191 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2192 echo "configure:2193: checking for $ac_word" >&5
2193 if eval "test \"`echo '$''{'ac_cv_prog_MSGFMT'+set}'`\" = set"; then
2194 echo $ac_n "(cached) $ac_c" 1>&6
2196 if test -n "$MSGFMT"; then
2197 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
2199 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2201 for ac_dir
in $ac_dummy; do
2202 test -z "$ac_dir" && ac_dir
=.
2203 if test -f $ac_dir/$ac_word; then
2204 ac_cv_prog_MSGFMT
="$ac_prog"
2211 MSGFMT
="$ac_cv_prog_MSGFMT"
2212 if test -n "$MSGFMT"; then
2213 echo "$ac_t""$MSGFMT" 1>&6
2215 echo "$ac_t""no" 1>&6
2218 test -n "$MSGFMT" && break
2220 test -n "$MSGFMT" || MSGFMT
="\$(SHELL) \$(step-bindir)/fake-msgfmt.sh "
2222 echo $ac_n "checking whether msgfmt accepts -o""... $ac_c" 1>&6
2223 echo "configure:2224: checking whether msgfmt accepts -o" >&5
2224 msgfmt_output
="`msgfmt -o bla 2>&1 | grep usage`"
2225 if test "$msgfmt_output" = ""; then
2226 echo "$ac_t""yes" 1>&6
2229 MSGFMT
="\$(SHELL) \$(step-bindir)/fake-msgfmt.sh"
2230 echo "$ac_t""no" 1>&6
2232 echo "configure: warning: please install msgfmt from GNU gettext" 1>&2
2236 if test ! -n "$MSGFMT"; then
2238 echo "configure: warning: please install msgfmt from GNU gettext" 1>&2
2244 # urg, never know what names these teTeX guys will think up
2248 # Extract the first word of "$ac_prog", so it can be a program name with args.
2249 set dummy
$ac_prog; ac_word
=$2
2250 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2251 echo "configure:2252: checking for $ac_word" >&5
2252 if eval "test \"`echo '$''{'ac_cv_prog_METAFONT'+set}'`\" = set"; then
2253 echo $ac_n "(cached) $ac_c" 1>&6
2255 if test -n "$METAFONT"; then
2256 ac_cv_prog_METAFONT
="$METAFONT" # Let the user override the test.
2258 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2260 for ac_dir
in $ac_dummy; do
2261 test -z "$ac_dir" && ac_dir
=.
2262 if test -f $ac_dir/$ac_word; then
2263 ac_cv_prog_METAFONT
="$ac_prog"
2270 METAFONT
="$ac_cv_prog_METAFONT"
2271 if test -n "$METAFONT"; then
2272 echo "$ac_t""$METAFONT" 1>&6
2274 echo "$ac_t""no" 1>&6
2277 test -n "$METAFONT" && break
2279 test -n "$METAFONT" || METAFONT
="no"
2281 if test "x$METAFONT" = "xno"; then
2282 for ac_prog
in mfont
2284 # Extract the first word of "$ac_prog", so it can be a program name with args.
2285 set dummy
$ac_prog; ac_word
=$2
2286 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2287 echo "configure:2288: checking for $ac_word" >&5
2288 if eval "test \"`echo '$''{'ac_cv_prog_MFONT'+set}'`\" = set"; then
2289 echo $ac_n "(cached) $ac_c" 1>&6
2291 if test -n "$MFONT"; then
2292 ac_cv_prog_MFONT
="$MFONT" # Let the user override the test.
2294 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2296 for ac_dir
in $ac_dummy; do
2297 test -z "$ac_dir" && ac_dir
=.
2298 if test -f $ac_dir/$ac_word; then
2299 ac_cv_prog_MFONT
="$ac_prog"
2306 MFONT
="$ac_cv_prog_MFONT"
2307 if test -n "$MFONT"; then
2308 echo "$ac_t""$MFONT" 1>&6
2310 echo "$ac_t""no" 1>&6
2313 test -n "$MFONT" && break
2315 test -n "$MFONT" || MFONT
="-echo no mf or mfont"
2322 # Extract the first word of "$ac_prog", so it can be a program name with args.
2323 set dummy
$ac_prog; ac_word
=$2
2324 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2325 echo "configure:2326: checking for $ac_word" >&5
2326 if eval "test \"`echo '$''{'ac_cv_prog_METAPOST'+set}'`\" = set"; then
2327 echo $ac_n "(cached) $ac_c" 1>&6
2329 if test -n "$METAPOST"; then
2330 ac_cv_prog_METAPOST
="$METAPOST" # Let the user override the test.
2332 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2334 for ac_dir
in $ac_dummy; do
2335 test -z "$ac_dir" && ac_dir
=.
2336 if test -f $ac_dir/$ac_word; then
2337 ac_cv_prog_METAPOST
="$ac_prog"
2344 METAPOST
="$ac_cv_prog_METAPOST"
2345 if test -n "$METAPOST"; then
2346 echo "$ac_t""$METAPOST" 1>&6
2348 echo "$ac_t""no" 1>&6
2351 test -n "$METAPOST" && break
2353 test -n "$METAPOST" || METAPOST
="no"
2355 if test "x$METAPOST" = "xno"; then
2356 for ac_prog
in mpost
2358 # Extract the first word of "$ac_prog", so it can be a program name with args.
2359 set dummy
$ac_prog; ac_word
=$2
2360 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2361 echo "configure:2362: checking for $ac_word" >&5
2362 if eval "test \"`echo '$''{'ac_cv_prog_MPOST'+set}'`\" = set"; then
2363 echo $ac_n "(cached) $ac_c" 1>&6
2365 if test -n "$MPOST"; then
2366 ac_cv_prog_MPOST
="$MPOST" # Let the user override the test.
2368 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2370 for ac_dir
in $ac_dummy; do
2371 test -z "$ac_dir" && ac_dir
=.
2372 if test -f $ac_dir/$ac_word; then
2373 ac_cv_prog_MPOST
="$ac_prog"
2380 MPOST
="$ac_cv_prog_MPOST"
2381 if test -n "$MPOST"; then
2382 echo "$ac_t""$MPOST" 1>&6
2384 echo "$ac_t""no" 1>&6
2387 test -n "$MPOST" && break
2389 test -n "$MPOST" || MPOST
="-echo no mp or mpost"
2395 for ac_prog
in inimf
2397 # Extract the first word of "$ac_prog", so it can be a program name with args.
2398 set dummy
$ac_prog; ac_word
=$2
2399 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2400 echo "configure:2401: checking for $ac_word" >&5
2401 if eval "test \"`echo '$''{'ac_cv_prog_INIMETAFONT'+set}'`\" = set"; then
2402 echo $ac_n "(cached) $ac_c" 1>&6
2404 if test -n "$INIMETAFONT"; then
2405 ac_cv_prog_INIMETAFONT
="$INIMETAFONT" # Let the user override the test.
2407 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2409 for ac_dir
in $ac_dummy; do
2410 test -z "$ac_dir" && ac_dir
=.
2411 if test -f $ac_dir/$ac_word; then
2412 ac_cv_prog_INIMETAFONT
="$ac_prog"
2419 INIMETAFONT
="$ac_cv_prog_INIMETAFONT"
2420 if test -n "$INIMETAFONT"; then
2421 echo "$ac_t""$INIMETAFONT" 1>&6
2423 echo "$ac_t""no" 1>&6
2426 test -n "$INIMETAFONT" && break
2428 test -n "$INIMETAFONT" || INIMETAFONT
="no"
2430 if test "x$INIMETAFONT" = "xno"; then
2431 for ac_prog
in inimfont
2433 # Extract the first word of "$ac_prog", so it can be a program name with args.
2434 set dummy
$ac_prog; ac_word
=$2
2435 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2436 echo "configure:2437: checking for $ac_word" >&5
2437 if eval "test \"`echo '$''{'ac_cv_prog_INIMFONT'+set}'`\" = set"; then
2438 echo $ac_n "(cached) $ac_c" 1>&6
2440 if test -n "$INIMFONT"; then
2441 ac_cv_prog_INIMFONT
="$INIMFONT" # Let the user override the test.
2443 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2445 for ac_dir
in $ac_dummy; do
2446 test -z "$ac_dir" && ac_dir
=.
2447 if test -f $ac_dir/$ac_word; then
2448 ac_cv_prog_INIMFONT
="$ac_prog"
2455 INIMFONT
="$ac_cv_prog_INIMFONT"
2456 if test -n "$INIMFONT"; then
2457 echo "$ac_t""$INIMFONT" 1>&6
2459 echo "$ac_t""no" 1>&6
2462 test -n "$INIMFONT" && break
2464 test -n "$INIMFONT" || INIMFONT
="-echo no inimf or inimfont"
2466 INIMETAFONT
=$INIMFONT
2469 for ac_prog
in inimp
2471 # Extract the first word of "$ac_prog", so it can be a program name with args.
2472 set dummy
$ac_prog; ac_word
=$2
2473 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2474 echo "configure:2475: checking for $ac_word" >&5
2475 if eval "test \"`echo '$''{'ac_cv_prog_INIMETAPOST'+set}'`\" = set"; then
2476 echo $ac_n "(cached) $ac_c" 1>&6
2478 if test -n "$INIMETAPOST"; then
2479 ac_cv_prog_INIMETAPOST
="$INIMETAPOST" # Let the user override the test.
2481 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2483 for ac_dir
in $ac_dummy; do
2484 test -z "$ac_dir" && ac_dir
=.
2485 if test -f $ac_dir/$ac_word; then
2486 ac_cv_prog_INIMETAPOST
="$ac_prog"
2493 INIMETAPOST
="$ac_cv_prog_INIMETAPOST"
2494 if test -n "$INIMETAPOST"; then
2495 echo "$ac_t""$INIMETAPOST" 1>&6
2497 echo "$ac_t""no" 1>&6
2500 test -n "$INIMETAPOST" && break
2502 test -n "$INIMETAPOST" || INIMETAPOST
="no"
2504 if test "x$INIMETAPOST" = "xno"; then
2505 for ac_prog
in inimpost
2507 # Extract the first word of "$ac_prog", so it can be a program name with args.
2508 set dummy
$ac_prog; ac_word
=$2
2509 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2510 echo "configure:2511: checking for $ac_word" >&5
2511 if eval "test \"`echo '$''{'ac_cv_prog_INIMPOST'+set}'`\" = set"; then
2512 echo $ac_n "(cached) $ac_c" 1>&6
2514 if test -n "$INIMPOST"; then
2515 ac_cv_prog_INIMPOST
="$INIMPOST" # Let the user override the test.
2517 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2519 for ac_dir
in $ac_dummy; do
2520 test -z "$ac_dir" && ac_dir
=.
2521 if test -f $ac_dir/$ac_word; then
2522 ac_cv_prog_INIMPOST
="$ac_prog"
2529 INIMPOST
="$ac_cv_prog_INIMPOST"
2530 if test -n "$INIMPOST"; then
2531 echo "$ac_t""$INIMPOST" 1>&6
2533 echo "$ac_t""no" 1>&6
2536 test -n "$INIMPOST" && break
2538 test -n "$INIMPOST" || INIMPOST
="-echo no inimp or inimpost"
2540 INIMETAPOST
=$INIMPOST
2543 echo $ac_n "checking for working metafont mode""... $ac_c" 1>&6
2544 echo "configure:2545: checking for working metafont mode" >&5
2545 modelist
='ljfour lj4 lj3 lj2 ljet laserjet'
2546 for MFMODE
in $modelist; do
2547 $METAFONT "\mode:=$MFMODE; mode_setup; end." > /dev
/null
2>&1
2548 if test -f mfput.tfm
; then
2554 # For now let people define these in their environments
2556 : ${MFPLAIN_MP=`kpsewhich mp mfplain.mp`}
2557 : ${INIMETAPOST_FLAGS='-interaction=nonstopmode'}
2560 echo "$ac_t""$MFMODE" 1>&6
2571 # Check whether --enable-tex-tfmdir or --disable-tex-tfmdir was given.
2572 if test "${enable_tex_tfmdir+set}" = set; then
2573 enableval
="$enable_tex_tfmdir"
2580 for ac_prog
in kpsewhich
2582 # Extract the first word of "$ac_prog", so it can be a program name with args.
2583 set dummy
$ac_prog; ac_word
=$2
2584 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2585 echo "configure:2586: checking for $ac_word" >&5
2586 if eval "test \"`echo '$''{'ac_cv_prog_KPSEWHICH'+set}'`\" = set"; then
2587 echo $ac_n "(cached) $ac_c" 1>&6
2589 if test -n "$KPSEWHICH"; then
2590 ac_cv_prog_KPSEWHICH
="$KPSEWHICH" # Let the user override the test.
2592 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2594 for ac_dir
in $ac_dummy; do
2595 test -z "$ac_dir" && ac_dir
=.
2596 if test -f $ac_dir/$ac_word; then
2597 ac_cv_prog_KPSEWHICH
="$ac_prog"
2604 KPSEWHICH
="$ac_cv_prog_KPSEWHICH"
2605 if test -n "$KPSEWHICH"; then
2606 echo "$ac_t""$KPSEWHICH" 1>&6
2608 echo "$ac_t""no" 1>&6
2611 test -n "$KPSEWHICH" && break
2613 test -n "$KPSEWHICH" || KPSEWHICH
="no"
2615 echo $ac_n "checking for TeX TFM directory""... $ac_c" 1>&6
2616 echo "configure:2617: checking for TeX TFM directory" >&5
2617 if test "x$TFMDIR" = xauto
; then
2618 if test "x$TEX_TFMDIR" = "x" ; then
2619 if test "x$KPSEWHICH" != "xno" ; then
2620 CMR10
=`kpsewhich tfm cmr10.tfm`
2621 TEX_TFMDIR
=`dirname $CMR10`
2624 echo "configure: warning: Please set TEX_TFMDIR (to where cmr10.tfm lives):
2625 TEX_TFMDIR=/usr/local/TeX/lib/tex/fonts ./configure" 1>&2
2631 echo "$ac_t""$TEX_TFMDIR" 1>&6
2636 ## The GUILE_FLAGS macro.
2637 ## First, let's just see if we can find Guile at all.
2638 echo $ac_n "checking for Guile""... $ac_c" 1>&6
2639 echo "configure:2640: checking for Guile" >&5
2640 guile-config link
> /dev
/null ||
{
2641 echo "configure: cannot find guile-config; is Guile installed?" 1>&2
2644 GUILE_CFLAGS
="`guile-config compile`"
2645 GUILE_LDFLAGS
="`guile-config link`"
2648 echo "$ac_t""yes" 1>&6
2650 if guile-config
--version 2>&1 |
grep -q 'version 1\.012'; then
2652 echo "configure: warning: Guile version 1.3 or better needed" 1>&2
2659 echo $ac_n "checking for 8-bit clean memcmp""... $ac_c" 1>&6
2660 echo "configure:2661: checking for 8-bit clean memcmp" >&5
2661 if eval "test \"`echo '$''{'ac_cv_func_memcmp_clean'+set}'`\" = set"; then
2662 echo $ac_n "(cached) $ac_c" 1>&6
2664 if test "$cross_compiling" = yes; then
2665 ac_cv_func_memcmp_clean
=no
2667 cat > conftest.
$ac_ext <<EOF
2668 #line 2669 "configure"
2669 #include "confdefs.h"
2671 extern "C" void exit(int);
2676 char c0 = 0x40, c1 = 0x80, c2 = 0x81;
2677 exit(memcmp(&c0, &c2, 1) < 0 && memcmp(&c1, &c2, 1) < 0 ? 0 : 1);
2681 if { (eval echo configure
:2682: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
2683 ac_cv_func_memcmp_clean
=yes
2685 echo "configure: failed program was:" >&5
2686 cat conftest.
$ac_ext >&5
2688 ac_cv_func_memcmp_clean
=no
2695 echo "$ac_t""$ac_cv_func_memcmp_clean" 1>&6
2696 test $ac_cv_func_memcmp_clean = no
&& LIBOBJS
="$LIBOBJS memcmp.${ac_objext}"
2698 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
2699 echo "configure:2700: checking for vprintf" >&5
2700 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
2701 echo $ac_n "(cached) $ac_c" 1>&6
2703 cat > conftest.
$ac_ext <<EOF
2704 #line 2705 "configure"
2705 #include "confdefs.h"
2706 /* System header to define __stub macros and hopefully few prototypes,
2707 which can conflict with char vprintf(); below. */
2709 /* Override any gcc2 internal prototype to avoid an error. */
2713 /* We use char because int might match the return type of a gcc2
2714 builtin and then its argument prototype would still apply. */
2719 /* The GNU C library defines this for functions which it implements
2720 to always fail with ENOSYS. Some functions are actually named
2721 something starting with __ and the normal name is an alias. */
2722 #if defined (__stub_vprintf) || defined (__stub___vprintf)
2730 if { (eval echo configure
:2731: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
2732 eval "ac_cv_func_vprintf=yes"
2734 echo "configure: failed program was:" >&5
2735 cat conftest.
$ac_ext >&5
2737 eval "ac_cv_func_vprintf=no"
2742 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
2743 echo "$ac_t""yes" 1>&6
2744 cat >> confdefs.h
<<\EOF
2745 #define HAVE_VPRINTF 1
2749 echo "$ac_t""no" 1>&6
2752 if test "$ac_cv_func_vprintf" != yes; then
2753 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
2754 echo "configure:2755: checking for _doprnt" >&5
2755 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
2756 echo $ac_n "(cached) $ac_c" 1>&6
2758 cat > conftest.
$ac_ext <<EOF
2759 #line 2760 "configure"
2760 #include "confdefs.h"
2761 /* System header to define __stub macros and hopefully few prototypes,
2762 which can conflict with char _doprnt(); below. */
2764 /* Override any gcc2 internal prototype to avoid an error. */
2768 /* We use char because int might match the return type of a gcc2
2769 builtin and then its argument prototype would still apply. */
2774 /* The GNU C library defines this for functions which it implements
2775 to always fail with ENOSYS. Some functions are actually named
2776 something starting with __ and the normal name is an alias. */
2777 #if defined (__stub__doprnt) || defined (__stub____doprnt)
2785 if { (eval echo configure
:2786: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
2787 eval "ac_cv_func__doprnt=yes"
2789 echo "configure: failed program was:" >&5
2790 cat conftest.
$ac_ext >&5
2792 eval "ac_cv_func__doprnt=no"
2797 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
2798 echo "$ac_t""yes" 1>&6
2799 cat >> confdefs.h
<<\EOF
2800 #define HAVE_DOPRNT 1
2804 echo "$ac_t""no" 1>&6
2809 for ac_func
in memmem snprintf vsnprintf
gettext
2811 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
2812 echo "configure:2813: checking for $ac_func" >&5
2813 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
2814 echo $ac_n "(cached) $ac_c" 1>&6
2816 cat > conftest.
$ac_ext <<EOF
2817 #line 2818 "configure"
2818 #include "confdefs.h"
2819 /* System header to define __stub macros and hopefully few prototypes,
2820 which can conflict with char $ac_func(); below. */
2822 /* Override any gcc2 internal prototype to avoid an error. */
2826 /* We use char because int might match the return type of a gcc2
2827 builtin and then its argument prototype would still apply. */
2832 /* The GNU C library defines this for functions which it implements
2833 to always fail with ENOSYS. Some functions are actually named
2834 something starting with __ and the normal name is an alias. */
2835 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
2843 if { (eval echo configure
:2844: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
2845 eval "ac_cv_func_$ac_func=yes"
2847 echo "configure: failed program was:" >&5
2848 cat conftest.
$ac_ext >&5
2850 eval "ac_cv_func_$ac_func=no"
2855 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
2856 echo "$ac_t""yes" 1>&6
2857 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
2858 cat >> confdefs.h
<<EOF
2859 #define $ac_tr_func 1
2863 echo "$ac_t""no" 1>&6
2868 cat >> confdefs.h
<<EOF
2869 #define TOPLEVEL_VERSION "${FULL_VERSION}"
2872 cat >> confdefs.h
<<EOF
2873 #define FLOWER_VERSION "${FULL_FLOWER_VERSION}"
2877 for ac_prog
in makeinfo
2879 # Extract the first word of "$ac_prog", so it can be a program name with args.
2880 set dummy
$ac_prog; ac_word
=$2
2881 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2882 echo "configure:2883: checking for $ac_word" >&5
2883 if eval "test \"`echo '$''{'ac_cv_prog_MAKEINFO'+set}'`\" = set"; then
2884 echo $ac_n "(cached) $ac_c" 1>&6
2886 if test -n "$MAKEINFO"; then
2887 ac_cv_prog_MAKEINFO
="$MAKEINFO" # Let the user override the test.
2889 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2891 for ac_dir
in $ac_dummy; do
2892 test -z "$ac_dir" && ac_dir
=.
2893 if test -f $ac_dir/$ac_word; then
2894 ac_cv_prog_MAKEINFO
="$ac_prog"
2901 MAKEINFO
="$ac_cv_prog_MAKEINFO"
2902 if test -n "$MAKEINFO"; then
2903 echo "$ac_t""$MAKEINFO" 1>&6
2905 echo "$ac_t""no" 1>&6
2908 test -n "$MAKEINFO" && break
2910 test -n "$MAKEINFO" || MAKEINFO
="error"
2914 # Extract the first word of "$ac_prog", so it can be a program name with args.
2915 set dummy
$ac_prog; ac_word
=$2
2916 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2917 echo "configure:2918: checking for $ac_word" >&5
2918 if eval "test \"`echo '$''{'ac_cv_prog_PERL'+set}'`\" = set"; then
2919 echo $ac_n "(cached) $ac_c" 1>&6
2921 if test -n "$PERL"; then
2922 ac_cv_prog_PERL
="$PERL" # Let the user override the test.
2924 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2926 for ac_dir
in $ac_dummy; do
2927 test -z "$ac_dir" && ac_dir
=.
2928 if test -f $ac_dir/$ac_word; then
2929 ac_cv_prog_PERL
="$ac_prog"
2936 PERL
="$ac_cv_prog_PERL"
2937 if test -n "$PERL"; then
2938 echo "$ac_t""$PERL" 1>&6
2940 echo "$ac_t""no" 1>&6
2943 test -n "$PERL" && break
2945 test -n "$PERL" || PERL
="error"
2951 cat > confcache
<<\EOF
2952 # This file is a shell script that caches the results of configure
2953 # tests run on this system so they can be shared between configure
2954 # scripts and configure runs. It is not useful on other systems.
2955 # If it contains results you don't want to keep, you may remove or edit it.
2957 # By default, configure uses ./config.cache as the cache file,
2958 # creating it if it does not exist already. You can give configure
2959 # the --cache-file=FILE option to use a different cache file; that is
2960 # what configure does when it calls configure scripts in
2961 # subdirectories, so they share the cache.
2962 # Giving --cache-file=/dev/null disables caching, for debugging configure.
2963 # config.status only pays attention to the cache file if you give it the
2964 # --recheck option to rerun configure.
2967 # The following way of writing the cache mishandles newlines in values,
2968 # but we know of no workaround that is simple, portable, and efficient.
2969 # So, don't put newlines in cache variables' values.
2970 # Ultrix sh set writes to stderr and can't be redirected directly,
2971 # and sets the high bit in the cache file unless we assign to the vars.
2973 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2975 # `set' does not quote correctly, so add quotes (double-quote substitution
2976 # turns \\\\ into \\, and sed turns \\ into \).
2978 -e "s/'/'\\\\''/g" \
2979 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
2982 # `set' quotes correctly as required by POSIX, so do not add quotes.
2983 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2986 if cmp -s $cache_file confcache
; then
2989 if test -w $cache_file; then
2990 echo "updating cache $cache_file"
2991 cat confcache
> $cache_file
2993 echo "not updating unwritable cache $cache_file"
2998 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
3000 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
3001 # Let make expand exec_prefix.
3002 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
3004 # Any assignment to VPATH causes Sun make to only execute
3005 # the first set of double-colon rules, so remove it if not needed.
3006 # If there is a colon in the path, we need to keep it.
3007 if test "x$srcdir" = x.
; then
3008 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
3011 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
3013 DEFS
=-DHAVE_CONFIG_H
3015 # Without the "./", some shells look in PATH for config.status.
3016 : ${CONFIG_STATUS=./config.status}
3018 echo creating
$CONFIG_STATUS
3019 rm -f $CONFIG_STATUS
3020 cat > $CONFIG_STATUS <<EOF
3022 # Generated automatically by configure.
3023 # Run this file to recreate the current configuration.
3024 # This directory was configured as follows,
3025 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
3027 # $0 $ac_configure_args
3029 # Compiler output produced by configure, useful for debugging
3030 # configure, is in ./config.log if it exists.
3032 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
3035 case "\$ac_option" in
3036 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3037 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
3038 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
3039 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
3040 echo "$CONFIG_STATUS generated by autoconf version 2.13"
3042 -help | --help | --hel | --he | --h)
3043 echo "\$ac_cs_usage"; exit 0 ;;
3044 *) echo "\$ac_cs_usage"; exit 1 ;;
3048 ac_given_srcdir=$srcdir
3050 trap 'rm -fr `echo "$CONFIGFILE.make:config.make.in $CONFIGFILE.h:config.hh.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
3052 cat >> $CONFIG_STATUS <<EOF
3054 # Protect against being on the right side of a sed subst in config.status.
3055 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
3056 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
3060 s%@CFLAGS@%$CFLAGS%g
3061 s%@CPPFLAGS@%$CPPFLAGS%g
3062 s%@CXXFLAGS@%$CXXFLAGS%g
3063 s%@FFLAGS@%$FFLAGS%g
3065 s%@LDFLAGS@%$LDFLAGS%g
3067 s%@exec_prefix@%$exec_prefix%g
3068 s%@prefix@%$prefix%g
3069 s%@program_transform_name@%$program_transform_name%g
3070 s%@bindir@%$bindir%g
3071 s%@sbindir@%$sbindir%g
3072 s%@libexecdir@%$libexecdir%g
3073 s%@datadir@%$datadir%g
3074 s%@sysconfdir@%$sysconfdir%g
3075 s%@sharedstatedir@%$sharedstatedir%g
3076 s%@localstatedir@%$localstatedir%g
3077 s%@libdir@%$libdir%g
3078 s%@includedir@%$includedir%g
3079 s%@oldincludedir@%$oldincludedir%g
3080 s%@infodir@%$infodir%g
3081 s%@mandir@%$mandir%g
3082 s%@stepmake@%$stepmake%g
3083 s%@package@%$package%g
3084 s%@PACKAGE@%$PACKAGE%g
3085 s%@PACKAGE_NAME@%$PACKAGE_NAME%g
3086 s%@package_depth@%$package_depth%g
3087 s%@AUTOGENERATE@%$AUTOGENERATE%g
3088 s%@absolute_builddir@%$absolute_builddir%g
3089 s%@STATE_VECTOR@%$STATE_VECTOR%g
3090 s%@CONFIGSUFFIX@%$CONFIGSUFFIX%g
3092 s%@host_alias@%$host_alias%g
3093 s%@host_cpu@%$host_cpu%g
3094 s%@host_vendor@%$host_vendor%g
3095 s%@host_os@%$host_os%g
3100 s%@PYTHON@%$PYTHON%g
3101 s%@DOTEXE@%$DOTEXE%g
3105 s%@INSTALL@%$INSTALL%g
3106 s%@PATHSEP@%$PATHSEP%g
3107 s%@DIRSEP@%$DIRSEP%g
3108 s%@DIR_DATADIR@%$DIR_DATADIR%g
3109 s%@subdirs@%$subdirs%g
3112 s%@ICFLAGS@%$ICFLAGS%g
3113 s%@ILDFLAGS@%$ILDFLAGS%g
3114 s%@DEFINES@%$DEFINES%g
3115 s%@EXTRA_LIBES@%$EXTRA_LIBES%g
3117 s%@CXXCPP@%$CXXCPP%g
3122 s%@RANLIB@%$RANLIB%g
3123 s%@localedir@%$localedir%g
3124 s%@DIR_LOCALEDIR@%$DIR_LOCALEDIR%g
3125 s%@MSGFMT@%$MSGFMT%g
3126 s%@METAFONT@%$METAFONT%g
3128 s%@METAPOST@%$METAPOST%g
3130 s%@INIMETAFONT@%$INIMETAFONT%g
3131 s%@INIMFONT@%$INIMFONT%g
3132 s%@INIMETAPOST@%$INIMETAPOST%g
3133 s%@INIMPOST@%$INIMPOST%g
3134 s%@MFMODE@%$MFMODE%g
3135 s%@MFPLAIN_MP@%$MFPLAIN_MP%g
3136 s%@INIMETAPOST_FLAGS@%$INIMETAPOST_FLAGS%g
3137 s%@KPSEWHICH@%$KPSEWHICH%g
3138 s%@TEX_TFMDIR@%$TEX_TFMDIR%g
3139 s%@GUILE_CFLAGS@%$GUILE_CFLAGS%g
3140 s%@GUILE_LDFLAGS@%$GUILE_LDFLAGS%g
3141 s%@LIBOBJS@%$LIBOBJS%g
3142 s%@MAKEINFO@%$MAKEINFO%g
3148 cat >> $CONFIG_STATUS <<\EOF
3150 # Split the substitutions into bite-sized pieces for seds with
3151 # small command number limits, like on Digital OSF/1 and HP-UX.
3152 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
3153 ac_file
=1 # Number of current file.
3154 ac_beg
=1 # First line for current file.
3155 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
3158 while $ac_more_lines; do
3159 if test $ac_beg -gt 1; then
3160 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
3162 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
3164 if test ! -s conftest.s
$ac_file; then
3166 rm -f conftest.s
$ac_file
3168 if test -z "$ac_sed_cmds"; then
3169 ac_sed_cmds
="sed -f conftest.s$ac_file"
3171 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
3173 ac_file
=`expr $ac_file + 1`
3175 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
3178 if test -z "$ac_sed_cmds"; then
3183 cat >> $CONFIG_STATUS <<EOF
3185 CONFIG_FILES=\${CONFIG_FILES-"$CONFIGFILE.make:config.make.in"}
3187 cat >> $CONFIG_STATUS <<\EOF
3188 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
3189 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3191 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
3192 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
3193 *) ac_file_in
="${ac_file}.in" ;;
3196 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
3198 # Remove last slash and all that follows it. Not all systems have dirname.
3199 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
3200 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
3201 # The file is in a subdirectory.
3202 test ! -d "$ac_dir" && mkdir
"$ac_dir"
3203 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
3204 # A "../" for each directory in $ac_dir_suffix.
3205 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
3207 ac_dir_suffix
= ac_dots
=
3210 case "$ac_given_srcdir" in
3212 if test -z "$ac_dots"; then top_srcdir
=.
3213 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
3214 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
3216 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
3217 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
3221 echo creating
"$ac_file"
3223 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
3225 *Makefile
*) ac_comsub
="1i\\
3226 # $configure_input" ;;
3230 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
3232 s%@configure_input@%$configure_input%g
3233 s%@srcdir@%$srcdir%g
3234 s%@top_srcdir@%$top_srcdir%g
3235 " $ac_file_inputs |
(eval "$ac_sed_cmds") > $ac_file
3239 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
3240 # NAME is the cpp macro being defined and VALUE is the value it is being given.
3242 # ac_d sets the value in "#define NAME VALUE" lines.
3243 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
3244 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
3247 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
3248 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
3249 ac_uB
='\([ ]\)%\1#\2define\3'
3252 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
3253 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
3254 ac_eB
='$%\1#\2define\3'
3258 if test "${CONFIG_HEADERS+set}" != set; then
3260 cat >> $CONFIG_STATUS <<EOF
3261 CONFIG_HEADERS="$CONFIGFILE.h:config.hh.in"
3263 cat >> $CONFIG_STATUS <<\EOF
3265 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
3266 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3268 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
3269 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
3270 *) ac_file_in
="${ac_file}.in" ;;
3273 echo creating
$ac_file
3275 rm -f conftest.frag conftest.
in conftest.out
3276 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
3277 cat $ac_file_inputs > conftest.
in
3281 # Transform confdefs.h into a sed script conftest.vals that substitutes
3282 # the proper values into config.h.in to produce config.h. And first:
3283 # Protect against being on the right side of a sed subst in config.status.
3284 # Protect against being in an unquoted here document in config.status.
3286 cat > conftest.hdr
<<\EOF
3289 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
3293 sed -n -f conftest.hdr confdefs.h > conftest.vals
3296 # This sed command replaces #undef with comments. This is necessary, for
3297 # example, in the case of _POSIX_SOURCE, which is predefined and required
3298 # on some systems where configure will not decide to define it.
3299 cat >> conftest.vals <<\EOF
3300 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
3303 # Break up conftest.vals because some shells have a limit on
3304 # the size of here documents, and old seds have small limits too.
3309 ac_lines=`grep -c . conftest.vals
`
3310 # grep -c gives empty output for an empty file on some AIX systems.
3311 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
3312 # Write a limited-size here document to conftest.frag.
3313 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
3314 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
3316 sed -f conftest.frag conftest.in > conftest.out
3318 mv conftest.out conftest.in
3320 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
3322 mv conftest.tail conftest.vals
3326 cat >> $CONFIG_STATUS <<\EOF
3327 rm -f conftest.frag conftest.h
3328 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
3329 cat conftest.in >> conftest.h
3331 if cmp -s $ac_file conftest.h 2>/dev/null; then
3332 echo "$ac_file is unchanged"
3335 # Remove last slash and all that follows it. Not all systems have dirname.
3336 ac_dir=`echo $ac_file|
sed 's%/[^/][^/]*$%%'`
3337 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
3338 # The file is in a subdirectory.
3339 test ! -d "$ac_dir" && mkdir "$ac_dir"
3342 mv conftest.h $ac_file
3347 cat >> $CONFIG_STATUS <<EOF
3350 cat >> $CONFIG_STATUS <<\EOF
3354 chmod +x $CONFIG_STATUS
3355 rm -fr confdefs* $ac_clean_files
3356 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
3358 if test "$no_recursion" != yes; then
3360 # Remove --cache-file and --srcdir arguments so they do not pile up.
3361 ac_sub_configure_args=
3363 for ac_arg in $ac_configure_args; do
3364 if test -n "$ac_prev"; then
3369 -cache-file | --cache-file | --cache-fil | --cache-fi \
3370 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
3371 ac_prev=cache_file ;;
3372 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
3373 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
3375 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
3377 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
3379 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
3383 for ac_config_dir in stepmake; do
3385 # Do not complain, so a configure script can configure whichever
3386 # parts of a large source tree are present.
3387 if test ! -d $srcdir/$ac_config_dir; then
3391 echo configuring in $ac_config_dir
3396 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
3398 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
3406 # A "../" for each directory in /$ac_config_dir.
3407 ac_dots=`echo $ac_config_dir|
sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
3410 .) # No --srcdir option. We are building in place.
3411 ac_sub_srcdir=$srcdir ;;
3412 /*) # Absolute path.
3413 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
3415 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
3418 # Check for guested configure; otherwise get Cygnus style configure.
3419 if test -f $ac_sub_srcdir/configure; then
3420 ac_sub_configure=$ac_sub_srcdir/configure
3421 elif test -f $ac_sub_srcdir/configure.in; then
3422 ac_sub_configure=$ac_configure
3424 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
3428 # The recursion is here.
3429 if test -n "$ac_sub_configure"; then
3431 # Make the cache file name correct relative to the subdirectory.
3432 case "$cache_file" in
3433 /*) ac_sub_cache_file=$cache_file ;;
3435 ac_sub_cache_file="$ac_dots$cache_file" ;;
3438 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
3439 # The eval makes quoting arguments work.
3440 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
3443 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }
3453 cp make/toplevel.make.in ./GNUmakefile
3454 chmod 444 GNUmakefile