4 --with-gtkmm-prefix=PREFIX
5 Prefix where GTK-- is installed (optional)"
6 # Check whether --with-gtkmm-prefix or --without-gtkmm-prefix was given.
7 if test "${with_gtkmm_prefix+set}" = set; then
8 withval
="$with_gtkmm_prefix"
9 gtkmm_config_prefix
="$withval"
11 gtkmm_config_prefix
=""
15 --with-gtkmm-exec-prefix=PREFIX
16 Exec prefix where GTK-- is installed (optional)"
17 # Check whether --with-gtkmm-exec-prefix or --without-gtkmm-exec-prefix was given.
18 if test "${with_gtkmm_exec_prefix+set}" = set; then
19 withval
="$with_gtkmm_exec_prefix"
20 gtkmm_config_exec_prefix
="$withval"
22 gtkmm_config_exec_prefix
=""
26 --disable-gtkmmtest Do not try to compile and run a test GTK-- program"
27 # Check whether --enable-gtkmmtest or --disable-gtkmmtest was given.
28 if test "${enable_gtkmmtest+set}" = set; then
29 enableval
="$enable_gtkmmtest"
36 if test x
$gtkmm_config_exec_prefix != x
; then
37 gtkmm_config_args
="$gtkmm_config_args --exec-prefix=$gtkmm_config_exec_prefix"
38 if test x
${GTKMM_CONFIG+set} != xset
; then
39 GTKMM_CONFIG
=$gtkmm_config_exec_prefix/bin
/gtkmm-config
42 if test x
$gtkmm_config_prefix != x
; then
43 gtkmm_config_args
="$gtkmm_config_args --prefix=$gtkmm_config_prefix"
44 if test x
${GTKMM_CONFIG+set} != xset
; then
45 GTKMM_CONFIG
=$gtkmm_config_prefix/bin
/gtkmm-config
52 # Configure paths for GTK--DRAW
53 # Derek Quinn Wyatt 98-08-21 (adapted from Jan Nieuwenhuizen's code)
60 # Guess values for system-dependent variables and create Makefiles.
61 # Generated automatically using autoconf version 2.12
62 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
64 # This configure script is free software; the Free Software Foundation
65 # gives unlimited permission to copy, distribute and modify it.
69 ac_default_prefix
=/usr
/local
70 # Any additions from configure.in:
72 enable-config=FILE put configure settings in config-FILE.make"
74 enable-checking set runtime checks (assert calls). Default: on"
76 enable-optimise use maximal speed optimisations. Default: off"
78 enable-profiling compile with gprof support. Default: off"
80 enable-debugging set debug info. Default: on"
82 enable-mingw-prefix=DIR set the mingw32 directory (standalone windows32 exes)"
84 enable-printing turn on debug printing. Default: off"
86 with-localedir=LOCALE use LOCALE as locale dir. Default: PREFIX/share/locale "
88 with-lang=LANG use LANG as language to emit messages"
90 # Initialize some variables set by options.
91 # The variables have the same names as the options, with
92 # dashes changed to underlines.
94 cache_file
=.
/config.cache
103 program_transform_name
=s
,x
,x
,
111 bindir
='${exec_prefix}/bin'
112 sbindir
='${exec_prefix}/sbin'
113 libexecdir
='${exec_prefix}/libexec'
114 datadir
='${prefix}/share'
115 sysconfdir
='${prefix}/etc'
116 sharedstatedir
='${prefix}/com'
117 localstatedir
='${prefix}/var'
118 libdir
='${exec_prefix}/lib'
119 includedir
='${prefix}/include'
120 oldincludedir
='/usr/include'
121 infodir
='${prefix}/info'
122 mandir
='${prefix}/man'
124 # Initialize some other variables.
127 # Maximum number of lines to put in a shell here document.
134 # If the previous option needs an argument, assign it.
135 if test -n "$ac_prev"; then
136 eval "$ac_prev=\$ac_option"
142 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
146 # Accept the important Cygnus configure options, so we can diagnose typos.
150 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
152 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
153 bindir
="$ac_optarg" ;;
155 -build |
--build |
--buil |
--bui |
--bu)
157 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
158 build
="$ac_optarg" ;;
160 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
161 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
162 ac_prev
=cache_file
;;
163 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
164 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
165 cache_file
="$ac_optarg" ;;
167 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
169 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
171 datadir
="$ac_optarg" ;;
173 -disable-* |
--disable-*)
174 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
175 # Reject names that are not valid shell variable names.
176 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
177 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
179 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
180 eval "enable_${ac_feature}=no" ;;
182 -enable-* |
--enable-*)
183 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
184 # Reject names that are not valid shell variable names.
185 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
186 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
188 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
193 eval "enable_${ac_feature}='$ac_optarg'" ;;
195 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
196 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
197 |
--exec |
--exe |
--ex)
198 ac_prev
=exec_prefix
;;
199 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
200 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
201 |
--exec=* |
--exe=* |
--ex=*)
202 exec_prefix
="$ac_optarg" ;;
204 -gas |
--gas |
--ga |
--g)
205 # Obsolete; use --with-gas.
208 -help |
--help |
--hel |
--he)
209 # Omit some internal or obsolete options to make the list less imposing.
210 # This message is too long to be a string in the A/UX 3.1 sh.
212 Usage: configure [options] [host]
213 Options: [defaults in brackets after descriptions]
215 --cache-file=FILE cache test results in FILE
216 --help print this message
217 --no-create do not create output files
218 --quiet, --silent do not print \`checking...' messages
219 --version print the version of autoconf that created configure
220 Directory and file names:
221 --prefix=PREFIX install architecture-independent files in PREFIX
223 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
225 --bindir=DIR user executables in DIR [EPREFIX/bin]
226 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
227 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
228 --datadir=DIR read-only architecture-independent data in DIR
230 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
231 --sharedstatedir=DIR modifiable architecture-independent data in DIR
233 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
234 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
235 --includedir=DIR C header files in DIR [PREFIX/include]
236 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
237 --infodir=DIR info documentation in DIR [PREFIX/info]
238 --mandir=DIR man documentation in DIR [PREFIX/man]
239 --srcdir=DIR find the sources in DIR [configure dir or ..]
240 --program-prefix=PREFIX prepend PREFIX to installed program names
241 --program-suffix=SUFFIX append SUFFIX to installed program names
242 --program-transform-name=PROGRAM
243 run sed PROGRAM on installed program names
247 --build=BUILD configure for building on BUILD [BUILD=HOST]
248 --host=HOST configure for HOST [guessed]
249 --target=TARGET configure for TARGET [TARGET=HOST]
250 Features and packages:
251 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
252 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
253 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
254 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
255 --x-includes=DIR X include files are in DIR
256 --x-libraries=DIR X library files are in DIR
258 if test -n "$ac_help"; then
259 echo "--enable and --with options recognized:$ac_help"
263 -host |
--host |
--hos |
--ho)
265 -host=* |
--host=* |
--hos=* |
--ho=*)
268 -includedir |
--includedir |
--includedi |
--included |
--include \
269 |
--includ |
--inclu |
--incl |
--inc)
270 ac_prev
=includedir
;;
271 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
272 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
273 includedir
="$ac_optarg" ;;
275 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
277 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
278 infodir
="$ac_optarg" ;;
280 -libdir |
--libdir |
--libdi |
--libd)
282 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
283 libdir
="$ac_optarg" ;;
285 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
286 |
--libexe |
--libex |
--libe)
287 ac_prev
=libexecdir
;;
288 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
289 |
--libexe=* |
--libex=* |
--libe=*)
290 libexecdir
="$ac_optarg" ;;
292 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
293 |
--localstate |
--localstat |
--localsta |
--localst \
294 |
--locals |
--local |
--loca |
--loc |
--lo)
295 ac_prev
=localstatedir
;;
296 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
297 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
298 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
299 localstatedir
="$ac_optarg" ;;
301 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
303 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
304 mandir
="$ac_optarg" ;;
307 # Obsolete; use --without-fp.
310 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
314 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
315 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
318 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
319 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
320 |
--oldin |
--oldi |
--old |
--ol |
--o)
321 ac_prev
=oldincludedir
;;
322 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
323 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
324 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
325 oldincludedir
="$ac_optarg" ;;
327 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
329 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
330 prefix
="$ac_optarg" ;;
332 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
333 |
--program-pre |
--program-pr |
--program-p)
334 ac_prev
=program_prefix
;;
335 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
336 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
337 program_prefix
="$ac_optarg" ;;
339 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
340 |
--program-suf |
--program-su |
--program-s)
341 ac_prev
=program_suffix
;;
342 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
343 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
344 program_suffix
="$ac_optarg" ;;
346 -program-transform-name |
--program-transform-name \
347 |
--program-transform-nam |
--program-transform-na \
348 |
--program-transform-n |
--program-transform- \
349 |
--program-transform |
--program-transfor \
350 |
--program-transfo |
--program-transf \
351 |
--program-trans |
--program-tran \
352 |
--progr-tra |
--program-tr |
--program-t)
353 ac_prev
=program_transform_name
;;
354 -program-transform-name=* |
--program-transform-name=* \
355 |
--program-transform-nam=* |
--program-transform-na=* \
356 |
--program-transform-n=* |
--program-transform-=* \
357 |
--program-transform=* |
--program-transfor=* \
358 |
--program-transfo=* |
--program-transf=* \
359 |
--program-trans=* |
--program-tran=* \
360 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
361 program_transform_name
="$ac_optarg" ;;
363 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
364 |
-silent |
--silent |
--silen |
--sile |
--sil)
367 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
369 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
371 sbindir
="$ac_optarg" ;;
373 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
374 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
375 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
377 ac_prev
=sharedstatedir
;;
378 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
379 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
380 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
382 sharedstatedir
="$ac_optarg" ;;
384 -site |
--site |
--sit)
386 -site=* |
--site=* |
--sit=*)
389 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
391 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
392 srcdir
="$ac_optarg" ;;
394 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
395 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
396 ac_prev
=sysconfdir
;;
397 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
398 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
399 sysconfdir
="$ac_optarg" ;;
401 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
403 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
404 target
="$ac_optarg" ;;
406 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
409 -version |
--version |
--versio |
--versi |
--vers)
410 echo "configure generated by autoconf version 2.12"
414 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
415 # Reject names that are not valid shell variable names.
416 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
417 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
419 ac_package
=`echo $ac_package| sed 's/-/_/g'`
424 eval "with_${ac_package}='$ac_optarg'" ;;
426 -without-* |
--without-*)
427 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
428 # Reject names that are not valid shell variable names.
429 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
430 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
432 ac_package
=`echo $ac_package| sed 's/-/_/g'`
433 eval "with_${ac_package}=no" ;;
436 # Obsolete; use --with-x.
439 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
440 |
--x-incl |
--x-inc |
--x-in |
--x-i)
441 ac_prev
=x_includes
;;
442 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
443 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
444 x_includes
="$ac_optarg" ;;
446 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
447 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
448 ac_prev
=x_libraries
;;
449 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
450 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
451 x_libraries
="$ac_optarg" ;;
453 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
457 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
458 echo "configure: warning: $ac_option: invalid host type" 1>&2
460 if test "x$nonopt" != xNONE
; then
461 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
469 if test -n "$ac_prev"; then
470 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
473 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
475 # File descriptor usage:
478 # 2 errors and warnings
479 # 3 some systems may open it to /dev/tty
480 # 4 used on the Kubota Titan
481 # 6 checking for... messages and results
482 # 5 compiler messages saved in config.log
483 if test "$silent" = yes; then
491 This file contains any messages produced by compilers while
492 running configure, to aid debugging if configure makes a mistake.
495 # Strip out --no-create and --no-recursion so they do not pile up.
496 # Also quote any args containing shell metacharacters.
501 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
502 |
--no-cr |
--no-c) ;;
503 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
504 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r) ;;
505 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
506 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
507 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
512 # Only set these to C if already set. These must not be set unconditionally
513 # because not all systems understand e.g. LANG=C (notably SCO).
514 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
515 # Non-C LC_CTYPE values break the ctype check.
516 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
517 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
518 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
519 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
521 # confdefs.h avoids OS command line length limits that DEFS can exceed.
522 rm -rf conftest
* confdefs.h
523 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
526 # A filename unique to this package, relative to the directory that
527 # configure is in, which we can look for to find out if srcdir is correct.
528 ac_unique_file
=make
/lilypond.lsm.
in
530 # Find the source files, if location was not specified.
531 if test -z "$srcdir"; then
532 ac_srcdir_defaulted
=yes
533 # Try the directory containing this script, then its parent.
535 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
536 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
538 if test ! -r $srcdir/$ac_unique_file; then
542 ac_srcdir_defaulted
=no
544 if test ! -r $srcdir/$ac_unique_file; then
545 if test "$ac_srcdir_defaulted" = yes; then
546 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
548 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
551 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
553 # Prefer explicitly selected file to automatically selected ones.
554 if test -z "$CONFIG_SITE"; then
555 if test "x$prefix" != xNONE
; then
556 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
558 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
561 for ac_site_file
in $CONFIG_SITE; do
562 if test -r "$ac_site_file"; then
563 echo "loading site script $ac_site_file"
568 if test -r "$cache_file"; then
569 echo "loading cache $cache_file"
572 echo "creating cache $cache_file"
577 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
578 ac_cpp
='$CPP $CPPFLAGS'
579 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
580 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
581 cross_compiling
=$ac_cv_prog_cc_cross
583 if (echo "testing\c"; echo 1,2,3) |
grep c
>/dev
/null
; then
584 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
585 if (echo -n testing
; echo 1,2,3) |
sed s
/-n/xn
/ |
grep xn
>/dev
/null
; then
592 ac_n
= ac_c
='\c' ac_t
=
598 # Bootstrap StepMake configure
602 FULL_VERSION
=$MAJOR_VERSION.
$MINOR_VERSION.
$PATCH_LEVEL
603 if test x
$MY_PATCH_LEVEL != x
; then
604 FULL_VERSION
=$FULL_VERSION.
$MY_PATCH_LEVEL
607 # urg: don't "fix" this: irix doesn't know about [:lower:] and [:upper:]
608 PACKAGE
=`echo $PACKAGE_NAME | tr '[a-z]' '[A-Z]'`
609 package
=`echo $PACKAGE_NAME | tr '[A-Z]' '[a-z]'`
611 # No versioning on directory names of sub-packages
613 stepmake
=${datadir}/stepmake
615 if test "$prefix" = "NONE"; then
616 presome
=${ac_default_prefix}
618 stepmake
=`echo ${stepmake} | sed "s!\\\${prefix}!$presome!"`
620 if test "x$PACKAGE" = "xSTEPMAKE"; then
621 echo Stepmake package
!
622 (cd stepmake
; rm -f stepmake
; ln -s ..
/stepmake .
)
623 (cd stepmake
; rm -f bin
; ln -s ..
/bin .
)
625 for ac_dir
in bin
$srcdir/bin
; do
626 if test -f $ac_dir/install-sh
; then
628 ac_install_sh
="$ac_aux_dir/install-sh -c"
630 elif test -f $ac_dir/install.sh
; then
632 ac_install_sh
="$ac_aux_dir/install.sh -c"
636 if test -z "$ac_aux_dir"; then
637 { echo "configure: error: can not find install-sh or install.sh in bin $srcdir/bin" 1>&2; exit 1; }
639 ac_config_guess
=$ac_aux_dir/config.guess
640 ac_config_sub
=$ac_aux_dir/config.sub
641 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
645 echo Package
: $PACKAGE
646 # Check for installed stepmake
647 if test -d $stepmake; then
648 echo Using installed stepmake
: $stepmake
650 stepmake
='$(depth)'/stepmake
651 echo Using
local stepmake
: $datadir/stepmake not found
655 $HOME/usr
/local
/share
/stepmake
/bin\
656 $HOME/usr
/local
/lib
/stepmake
/bin\
657 $HOME/usr
/share
/stepmake
/bin\
658 $HOME/usr
/lib
/stepmake
/bin\
659 /usr
/local
/share
/stepmake
/bin\
660 /usr
/local
/lib
/stepmake
/bin\
661 /usr
/share
/stepmake
/bin\
662 /usr
/lib
/stepmake
/bin\
665 $HOME/usr
/local
/share
/stepmake
/bin\
666 $HOME/usr
/local
/lib
/stepmake
/bin\
667 $HOME/usr
/share
/stepmake
/bin\
668 $HOME/usr
/lib
/stepmake
/bin\
669 /usr
/local
/share
/stepmake
/bin\
670 /usr
/local
/lib
/stepmake
/bin\
671 /usr
/share
/stepmake
/bin\
672 /usr
/lib
/stepmake
/bin\
675 if test -f $ac_dir/install-sh
; then
677 ac_install_sh
="$ac_aux_dir/install-sh -c"
679 elif test -f $ac_dir/install.sh
; then
681 ac_install_sh
="$ac_aux_dir/install.sh -c"
685 if test -z "$ac_aux_dir"; then
686 { echo "configure: error: can not find install-sh or install.sh in \
687 $HOME/usr/local/share/stepmake/bin\
688 $HOME/usr/local/lib/stepmake/bin\
689 $HOME/usr/share/stepmake/bin\
690 $HOME/usr/lib/stepmake/bin\
691 /usr/local/share/stepmake/bin\
692 /usr/local/lib/stepmake/bin\
693 /usr/share/stepmake/bin\
694 /usr/lib/stepmake/bin\
697 $HOME/usr/local/share/stepmake/bin\
698 $HOME/usr/local/lib/stepmake/bin\
699 $HOME/usr/share/stepmake/bin\
700 $HOME/usr/lib/stepmake/bin\
701 /usr/local/share/stepmake/bin\
702 /usr/local/lib/stepmake/bin\
703 /usr/share/stepmake/bin\
704 /usr/lib/stepmake/bin\
708 ac_config_guess
=$ac_aux_dir/config.guess
709 ac_config_sub
=$ac_aux_dir/config.sub
710 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
718 cat >> confdefs.h
<<EOF
719 #define PACKAGE "${PACKAGE_NAME}"
722 cat >> confdefs.h
<<EOF
723 #define TOPLEVEL_VERSION "${FULL_VERSION}"
727 if test "$package_depth" = "" ; then
730 package_depth
="../$package_depth"
735 AUTOGENERATE
="This file was automatically generated by configure"
737 absolute_builddir
="`pwd`"
740 STATE_VECTOR
=`ls make/STATE-VECTOR 2>/dev/null`
741 if test "x$STATE_VECTOR" != "x"; then
742 STATE_VECTOR
="\$(depth)/$STATE_VECTOR"
747 # Check whether --enable-config or --disable-config was given.
748 if test "${enable_config+set}" = set; then
749 enableval
="$enable_config"
750 CONFIGSUFFIX
=$enableval
754 if test "$CONFIGSUFFIX" != "" ; then
755 CONFIGFILE
=config-
$CONFIGSUFFIX
762 # Make sure we can run config.sub.
763 if $ac_config_sub sun4
>/dev
/null
2>&1; then :
764 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
767 echo $ac_n "checking host system type""... $ac_c" 1>&6
768 echo "configure:769: checking host system type" >&5
771 case "$host_alias" in
775 if host_alias
=`$ac_config_guess`; then :
776 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
778 *) host_alias
=$nonopt ;;
782 host=`$ac_config_sub $host_alias`
783 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
784 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
785 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
786 echo "$ac_t""$host" 1>&6
788 for ac_prog
in gmake
make
790 # Extract the first word of "$ac_prog", so it can be a program name with args.
791 set dummy
$ac_prog; ac_word
=$2
792 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
793 echo "configure:794: checking for $ac_word" >&5
794 if eval "test \"`echo '$''{'ac_cv_prog_MAKE'+set}'`\" = set"; then
795 echo $ac_n "(cached) $ac_c" 1>&6
797 if test -n "$MAKE"; then
798 ac_cv_prog_MAKE
="$MAKE" # Let the user override the test.
800 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
801 for ac_dir
in $PATH; do
802 test -z "$ac_dir" && ac_dir
=.
803 if test -f $ac_dir/$ac_word; then
804 ac_cv_prog_MAKE
="$ac_prog"
811 MAKE
="$ac_cv_prog_MAKE"
812 if test -n "$MAKE"; then
813 echo "$ac_t""$MAKE" 1>&6
815 echo "$ac_t""no" 1>&6
818 test -n "$MAKE" && break
820 test -n "$MAKE" || MAKE
="error"
824 # Extract the first word of "$ac_prog", so it can be a program name with args.
825 set dummy
$ac_prog; ac_word
=$2
826 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
827 echo "configure:828: checking for $ac_word" >&5
828 if eval "test \"`echo '$''{'ac_cv_prog_FIND'+set}'`\" = set"; then
829 echo $ac_n "(cached) $ac_c" 1>&6
831 if test -n "$FIND"; then
832 ac_cv_prog_FIND
="$FIND" # Let the user override the test.
834 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
835 for ac_dir
in $PATH; do
836 test -z "$ac_dir" && ac_dir
=.
837 if test -f $ac_dir/$ac_word; then
838 ac_cv_prog_FIND
="$ac_prog"
845 FIND
="$ac_cv_prog_FIND"
846 if test -n "$FIND"; then
847 echo "$ac_t""$FIND" 1>&6
849 echo "$ac_t""no" 1>&6
852 test -n "$FIND" && break
854 test -n "$FIND" || FIND
="error"
860 # Extract the first word of "$ac_prog", so it can be a program name with args.
861 set dummy
$ac_prog; ac_word
=$2
862 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
863 echo "configure:864: checking for $ac_word" >&5
864 if eval "test \"`echo '$''{'ac_cv_prog_TAR'+set}'`\" = set"; then
865 echo $ac_n "(cached) $ac_c" 1>&6
867 if test -n "$TAR"; then
868 ac_cv_prog_TAR
="$TAR" # Let the user override the test.
870 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
871 for ac_dir
in $PATH; do
872 test -z "$ac_dir" && ac_dir
=.
873 if test -f $ac_dir/$ac_word; then
874 ac_cv_prog_TAR
="$ac_prog"
881 TAR
="$ac_cv_prog_TAR"
882 if test -n "$TAR"; then
883 echo "$ac_t""$TAR" 1>&6
885 echo "$ac_t""no" 1>&6
888 test -n "$TAR" && break
890 test -n "$TAR" || TAR
="error"
894 # Extract the first word of "$ac_prog", so it can be a program name with args.
895 set dummy
$ac_prog; ac_word
=$2
896 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
897 echo "configure:898: checking for $ac_word" >&5
898 if eval "test \"`echo '$''{'ac_cv_prog_BASH'+set}'`\" = set"; then
899 echo $ac_n "(cached) $ac_c" 1>&6
901 if test -n "$BASH"; then
902 ac_cv_prog_BASH
="$BASH" # Let the user override the test.
904 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
905 for ac_dir
in $PATH; do
906 test -z "$ac_dir" && ac_dir
=.
907 if test -f $ac_dir/$ac_word; then
908 ac_cv_prog_BASH
="$ac_prog"
915 BASH
="$ac_cv_prog_BASH"
916 if test -n "$BASH"; then
917 echo "$ac_t""$BASH" 1>&6
919 echo "$ac_t""no" 1>&6
922 test -n "$BASH" && break
924 test -n "$BASH" || BASH
="/bin/sh"
927 # Extract the first word of "${PYTHON:-python}", so it can be a program name with args.
928 set dummy
${PYTHON:-python}; ac_word
=$2
929 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
930 echo "configure:931: checking for $ac_word" >&5
931 if eval "test \"`echo '$''{'ac_cv_path_PYTHON'+set}'`\" = set"; then
932 echo $ac_n "(cached) $ac_c" 1>&6
936 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
939 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
940 for ac_dir
in $PATH; do
941 test -z "$ac_dir" && ac_dir
=.
942 if test -f $ac_dir/$ac_word; then
943 ac_cv_path_PYTHON
="$ac_dir/$ac_word"
948 test -z "$ac_cv_path_PYTHON" && ac_cv_path_PYTHON
="-echo no python"
952 PYTHON
="$ac_cv_path_PYTHON"
953 if test -n "$PYTHON"; then
954 echo "$ac_t""$PYTHON" 1>&6
956 echo "$ac_t""no" 1>&6
961 if test $MAKE != "error" ; then
962 $MAKE -v 2> /dev
/null |
grep GNU
> /dev
/null
966 echo "configure: warning: Please install *GNU* make" 1>&2
973 result
="`echo \"$PYTHON\" | grep echo`"
974 if test "x$PYTHON" = "xerror" -o "x$result" != "x"; then
976 echo "configure: warning: can\'t find python. You should install Python" 1>&2
982 if test "x$OSTYPE" = "xcygwin32" ||
test "x$OSTYPE" = "xWindows_NT"; then
983 LN
=cp # hard link does not work under cygnus-nt
984 LN_S
=cp # symbolic link does not work for native nt
991 # cygwin fixes all these things.
992 # it seems these were used because of dos-style TEXINPUTS and
993 # MFINPUTS needed for miktex.
994 # but this breaks parsing of all other cygwin/unix style paths.
996 # if your (mik)tex breaks, make a:
997 # /usr/local/bin/tex:
999 # TEXINPUTS=`cygpath -pw $TEXINPUTS` /texmf/miktex/bin/tex
1003 # /usr/local/bin/mf:
1005 # MFINPUTS=`cygpath -pw $MFINPUTS` /texmf/miktex/bin/mf
1007 # this way, you may have buildscripts/out/lilypond-profile
1008 # 'automatically' sourced from /usr/etc/profile.d/ too.
1012 INSTALL
="\$(SHELL) \$(stepdir)/../bin/install-dot-exe.sh -c"
1019 INSTALL
="\$(SHELL) \$(stepdir)/../bin/install-sh -c"
1026 cat >> confdefs.h
<<EOF
1027 #define DIRSEP '${DIRSEP}'
1030 cat >> confdefs.h
<<EOF
1031 #define PATHSEP '${PATHSEP}'
1039 if test "$datadir" = "\${prefix}/share"; then
1040 datadir
='${prefix}/share/'$package
1042 DIR_DATADIR
=${datadir}
1044 if test "$prefix" = "NONE"; then
1045 presome
=${ac_default_prefix}
1047 DIR_DATADIR
=`echo ${DIR_DATADIR} | sed "s!\\\${prefix}!$presome!"`
1050 cat >> confdefs.h
<<EOF
1051 #define DIR_DATADIR "${DIR_DATADIR}"
1057 # For all packages except the StepMake package itself
1061 # Uncomment the configuration options your package needs.
1063 # -O is necessary to get inlining
1065 CXXFLAGS
=${CXXFLAGS:-""}
1066 CFLAGS
=${CFLAGS:-""}
1072 # Check whether --enable-checking or --disable-checking was given.
1073 if test "${enable_checking+set}" = set; then
1074 enableval
="$enable_checking"
1075 checking_b
=$enableval
1079 # actually, the default is: tja='-O' to get inlining...
1082 #actually, that sucks.
1083 # tja looks like a typo. Default is optimisation off. --hwn
1085 # Check whether --enable-optimise or --disable-optimise was given.
1086 if test "${enable_optimise+set}" = set; then
1087 enableval
="$enable_optimise"
1088 optimise_b
=$enableval
1092 # Check whether --enable-profiling or --disable-profiling was given.
1093 if test "${enable_profiling+set}" = set; then
1094 enableval
="$enable_profiling"
1095 profile_b
=$enableval
1099 # Check whether --enable-debugging or --disable-debugging was given.
1100 if test "${enable_debugging+set}" = set; then
1101 enableval
="$enable_debugging"
1106 # Check whether --enable-mingw-prefix or --disable-mingw-prefix was given.
1107 if test "${enable_mingw_prefix+set}" = set; then
1108 enableval
="$enable_mingw_prefix"
1109 MINGWPREFIX
=$enableval
1115 if test "$printing_b" = no
; then
1117 cat >> confdefs.h
<<\EOF
1121 DEFINES
="$DEFINES -DNPRINT"
1124 if test "$checking_b" = no
; then
1126 cat >> confdefs.h
<<\EOF
1130 DEFINES
="$DEFINES -DNDEBUG"
1133 if test "$optimise_b" = yes; then
1134 OPTIMIZE
="-O2 -finline-functions"
1137 if test "$optimise_b" = no
; then
1141 if test $profile_b = yes; then
1143 OPTIMIZE
="$OPTIMIZE -pg"
1146 if test $debug_b = yes; then
1147 OPTIMIZE
="$OPTIMIZE -g"
1150 # however, C++ support in mingw32 v 0.1.4 is still flaky
1151 if test x
$MINGWPREFIX != xno
; then
1152 ICFLAGS
="-I$MINGWPREFIX/include"
1153 ILDFLAGS
="-$MINGWPREFIX/lib"
1156 # Extract the first word of "gcc", so it can be a program name with args.
1157 set dummy gcc
; ac_word
=$2
1158 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1159 echo "configure:1160: checking for $ac_word" >&5
1160 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1161 echo $ac_n "(cached) $ac_c" 1>&6
1163 if test -n "$CC"; then
1164 ac_cv_prog_CC
="$CC" # Let the user override the test.
1166 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1167 for ac_dir
in $PATH; do
1168 test -z "$ac_dir" && ac_dir
=.
1169 if test -f $ac_dir/$ac_word; then
1178 if test -n "$CC"; then
1179 echo "$ac_t""$CC" 1>&6
1181 echo "$ac_t""no" 1>&6
1184 if test -z "$CC"; then
1185 # Extract the first word of "cc", so it can be a program name with args.
1186 set dummy cc
; ac_word
=$2
1187 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1188 echo "configure:1189: checking for $ac_word" >&5
1189 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1190 echo $ac_n "(cached) $ac_c" 1>&6
1192 if test -n "$CC"; then
1193 ac_cv_prog_CC
="$CC" # Let the user override the test.
1195 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1197 for ac_dir
in $PATH; do
1198 test -z "$ac_dir" && ac_dir
=.
1199 if test -f $ac_dir/$ac_word; then
1200 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1201 ac_prog_rejected
=yes
1209 if test $ac_prog_rejected = yes; then
1210 # We found a bogon in the path, so make sure we never use it.
1211 set dummy
$ac_cv_prog_CC
1213 if test $# -gt 0; then
1214 # We chose a different compiler from the bogus one.
1215 # However, it has the same basename, so the bogon will be chosen
1216 # first if we set CC to just the basename; use the full file name.
1218 set dummy
"$ac_dir/$ac_word" "$@"
1226 if test -n "$CC"; then
1227 echo "$ac_t""$CC" 1>&6
1229 echo "$ac_t""no" 1>&6
1232 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1235 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
1236 echo "configure:1237: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
1239 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1240 ac_cpp
='$CPP $CPPFLAGS'
1241 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1242 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1243 cross_compiling
=$ac_cv_prog_cc_cross
1245 cat > conftest.
$ac_ext <<EOF
1246 #line 1247 "configure"
1247 #include "confdefs.h"
1250 if { (eval echo configure
:1251: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1251 ac_cv_prog_cc_works
=yes
1252 # If we can't run a trivial program, we are probably using a cross compiler.
1253 if (.
/conftest
; exit) 2>/dev
/null
; then
1254 ac_cv_prog_cc_cross
=no
1256 ac_cv_prog_cc_cross
=yes
1259 echo "configure: failed program was:" >&5
1260 cat conftest.
$ac_ext >&5
1261 ac_cv_prog_cc_works
=no
1265 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
1266 if test $ac_cv_prog_cc_works = no
; then
1267 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
1269 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
1270 echo "configure:1271: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
1271 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
1272 cross_compiling
=$ac_cv_prog_cc_cross
1274 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1275 echo "configure:1276: checking whether we are using GNU C" >&5
1276 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1277 echo $ac_n "(cached) $ac_c" 1>&6
1279 cat > conftest.c
<<EOF
1284 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:1285: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } |
egrep yes >/dev
/null
2>&1; then
1291 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1293 if test $ac_cv_prog_gcc = yes; then
1295 ac_test_CFLAGS
="${CFLAGS+set}"
1296 ac_save_CFLAGS
="$CFLAGS"
1298 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1299 echo "configure:1300: checking whether ${CC-cc} accepts -g" >&5
1300 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1301 echo $ac_n "(cached) $ac_c" 1>&6
1303 echo 'void f(){}' > conftest.c
1304 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1313 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1314 if test "$ac_test_CFLAGS" = set; then
1315 CFLAGS
="$ac_save_CFLAGS"
1316 elif test $ac_cv_prog_cc_g = yes; then
1323 test "${CFLAGS+set}" = set || CFLAGS
="-g"
1329 CFLAGS
="$CFLAGS $OPTIMIZE"
1330 CPPFLAGS
=${CPPFLAGS:-""}
1339 # AC_HAVE_HEADERS(limits.h malloc.h string.h unistd.h values.h)
1342 # Check whether --enable-printing or --disable-printing was given.
1343 if test "${enable_printing+set}" = set; then
1344 enableval
="$enable_printing"
1345 printing_b
=$enableval
1349 if test "$optimise_b" = yes; then
1350 DEFINES
="$DEFINES -DSTRING_UTILS_INLINED"
1351 cat >> confdefs.h
<<\EOF
1352 #define STRINGS_UTILS_INLINED 1
1357 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
1358 echo "configure:1359: checking how to run the C++ preprocessor" >&5
1359 if test -z "$CXXCPP"; then
1360 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
1361 echo $ac_n "(cached) $ac_c" 1>&6
1364 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1365 ac_cpp
='$CXXCPP $CPPFLAGS'
1366 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1367 ac_link
='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1368 cross_compiling
=$ac_cv_prog_cxx_cross
1369 CXXCPP
="${CXX-g++} -E"
1370 cat > conftest.
$ac_ext <<EOF
1371 #line 1372 "configure"
1372 #include "confdefs.h"
1375 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1376 { (eval echo configure
:1377: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1377 ac_err
=`grep -v '^ *+' conftest.out`
1378 if test -z "$ac_err"; then
1382 echo "configure: failed program was:" >&5
1383 cat conftest.
$ac_ext >&5
1388 ac_cv_prog_CXXCPP
="$CXXCPP"
1391 CXXCPP
="$ac_cv_prog_CXXCPP"
1392 echo "$ac_t""$CXXCPP" 1>&6
1396 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1397 ac_cpp
='$CXXCPP $CPPFLAGS'
1398 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1399 ac_link
='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1400 cross_compiling
=$ac_cv_prog_cxx_cross
1402 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++
1404 # Extract the first word of "$ac_prog", so it can be a program name with args.
1405 set dummy
$ac_prog; ac_word
=$2
1406 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1407 echo "configure:1408: checking for $ac_word" >&5
1408 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
1409 echo $ac_n "(cached) $ac_c" 1>&6
1411 if test -n "$CXX"; then
1412 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
1414 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1415 for ac_dir
in $PATH; do
1416 test -z "$ac_dir" && ac_dir
=.
1417 if test -f $ac_dir/$ac_word; then
1418 ac_cv_prog_CXX
="$ac_prog"
1425 CXX
="$ac_cv_prog_CXX"
1426 if test -n "$CXX"; then
1427 echo "$ac_t""$CXX" 1>&6
1429 echo "$ac_t""no" 1>&6
1432 test -n "$CXX" && break
1434 test -n "$CXX" || CXX
="gcc"
1437 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
1438 echo "configure:1439: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
1441 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1442 ac_cpp
='$CXXCPP $CPPFLAGS'
1443 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1444 ac_link
='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1445 cross_compiling
=$ac_cv_prog_cxx_cross
1447 cat > conftest.
$ac_ext <<EOF
1448 #line 1449 "configure"
1449 #include "confdefs.h"
1452 if { (eval echo configure
:1453: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1453 ac_cv_prog_cxx_works
=yes
1454 # If we can't run a trivial program, we are probably using a cross compiler.
1455 if (.
/conftest
; exit) 2>/dev
/null
; then
1456 ac_cv_prog_cxx_cross
=no
1458 ac_cv_prog_cxx_cross
=yes
1461 echo "configure: failed program was:" >&5
1462 cat conftest.
$ac_ext >&5
1463 ac_cv_prog_cxx_works
=no
1467 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
1468 if test $ac_cv_prog_cxx_works = no
; then
1469 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
1471 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
1472 echo "configure:1473: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
1473 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
1474 cross_compiling
=$ac_cv_prog_cxx_cross
1476 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
1477 echo "configure:1478: checking whether we are using GNU C++" >&5
1478 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
1479 echo $ac_n "(cached) $ac_c" 1>&6
1481 cat > conftest.C
<<EOF
1486 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:1487: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } |
egrep yes >/dev
/null
2>&1; then
1493 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
1495 if test $ac_cv_prog_gxx = yes; then
1497 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
1498 ac_save_CXXFLAGS
="$CXXFLAGS"
1500 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
1501 echo "configure:1502: checking whether ${CXX-g++} accepts -g" >&5
1502 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
1503 echo $ac_n "(cached) $ac_c" 1>&6
1505 echo 'void f(){}' > conftest.cc
1506 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
1507 ac_cv_prog_cxx_g
=yes
1515 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
1516 if test "$ac_test_CXXFLAGS" = set; then
1517 CXXFLAGS
="$ac_save_CXXFLAGS"
1518 elif test $ac_cv_prog_cxx_g = yes; then
1525 test "${CXXFLAGS+set}" = set || CXXFLAGS
="-g"
1529 ac_safe
=`echo "FlexLexer.h" | sed 'y%./+-%__p_%'`
1530 echo $ac_n "checking for FlexLexer.h""... $ac_c" 1>&6
1531 echo "configure:1532: checking for FlexLexer.h" >&5
1532 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1533 echo $ac_n "(cached) $ac_c" 1>&6
1535 cat > conftest.
$ac_ext <<EOF
1536 #line 1537 "configure"
1537 #include "confdefs.h"
1538 #include <FlexLexer.h>
1540 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1541 { (eval echo configure
:1542: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1542 ac_err
=`grep -v '^ *+' conftest.out`
1543 if test -z "$ac_err"; then
1545 eval "ac_cv_header_$ac_safe=yes"
1548 echo "configure: failed program was:" >&5
1549 cat conftest.
$ac_ext >&5
1551 eval "ac_cv_header_$ac_safe=no"
1555 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
1556 echo "$ac_t""yes" 1>&6
1559 echo "$ac_t""no" 1>&6
1561 echo "configure: warning: can"\'"t find flex header. Please install Flex headers correctly" 1>&2
1567 CPPFLAGS
="$CPPFLAGS $DEFINES"
1568 CXXFLAGS
="$CXXFLAGS $OPTIMIZE"
1569 LDFLAGS
=$EXTRA_LIBES
1578 # urg, egcs: how to check for egcs >= 1.1?
1579 if $CXX --version |
grep '2\.8' > /dev
/null ||
1580 $CXX --version |
grep 'egcs' > /dev
/null
1585 echo "configure: warning: can\'t find g++ 2.8 or egcs 1.1" 1>&2
1591 echo $ac_n "checking whether explicit instantiation is needed""... $ac_c" 1>&6
1592 echo "configure:1593: checking whether explicit instantiation is needed" >&5
1593 if eval "test \"`echo '$''{'lily_cv_need_explicit_instantiation'+set}'`\" = set"; then
1594 echo $ac_n "(cached) $ac_c" 1>&6
1596 cat > conftest.
$ac_ext <<EOF
1597 #line 1598 "configure"
1598 #include "confdefs.h"
1600 template <class T> struct foo { static int baz; };
1601 template <class T> int foo<T>::baz = 1;
1604 return foo<int>::baz;
1607 if { (eval echo configure
:1608: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1609 lily_cv_need_explicit_instantiation
=no
1611 echo "configure: failed program was:" >&5
1612 cat conftest.
$ac_ext >&5
1614 lily_cv_need_explicit_instantiation
=yes
1619 echo "$ac_t""$lily_cv_need_explicit_instantiation" 1>&6
1620 if test x
"$lily_cv_need_explicit_instantiation"x
= x
"yes"x
; then
1621 cat >> confdefs.h
<<\EOF
1622 #define NEED_EXPLICIT_INSTANTIATION 1
1628 # ugh, automake: we want (and check for) bison
1629 for ac_prog
in 'bison -y' byacc
1631 # Extract the first word of "$ac_prog", so it can be a program name with args.
1632 set dummy
$ac_prog; ac_word
=$2
1633 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1634 echo "configure:1635: checking for $ac_word" >&5
1635 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
1636 echo $ac_n "(cached) $ac_c" 1>&6
1638 if test -n "$YACC"; then
1639 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
1641 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1642 for ac_dir
in $PATH; do
1643 test -z "$ac_dir" && ac_dir
=.
1644 if test -f $ac_dir/$ac_word; then
1645 ac_cv_prog_YACC
="$ac_prog"
1652 YACC
="$ac_cv_prog_YACC"
1653 if test -n "$YACC"; then
1654 echo "$ac_t""$YACC" 1>&6
1656 echo "$ac_t""no" 1>&6
1659 test -n "$YACC" && break
1661 test -n "$YACC" || YACC
="yacc"
1663 # ugh, automake: we want (and check for) flex
1665 # urg: automake 1.3: hope this doesn't break 1.2 ac_cv_pro_lex_root hack...
1669 ac_cv_prog_lex_root
=lex.yy
1671 for ac_prog
in bison
1673 # Extract the first word of "$ac_prog", so it can be a program name with args.
1674 set dummy
$ac_prog; ac_word
=$2
1675 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1676 echo "configure:1677: checking for $ac_word" >&5
1677 if eval "test \"`echo '$''{'ac_cv_prog_BISON'+set}'`\" = set"; then
1678 echo $ac_n "(cached) $ac_c" 1>&6
1680 if test -n "$BISON"; then
1681 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
1683 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1684 for ac_dir
in $PATH; do
1685 test -z "$ac_dir" && ac_dir
=.
1686 if test -f $ac_dir/$ac_word; then
1687 ac_cv_prog_BISON
="$ac_prog"
1694 BISON
="$ac_cv_prog_BISON"
1695 if test -n "$BISON"; then
1696 echo "$ac_t""$BISON" 1>&6
1698 echo "$ac_t""no" 1>&6
1701 test -n "$BISON" && break
1703 test -n "$BISON" || BISON
="error"
1707 # Extract the first word of "$ac_prog", so it can be a program name with args.
1708 set dummy
$ac_prog; ac_word
=$2
1709 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1710 echo "configure:1711: checking for $ac_word" >&5
1711 if eval "test \"`echo '$''{'ac_cv_prog_FLEX'+set}'`\" = set"; then
1712 echo $ac_n "(cached) $ac_c" 1>&6
1714 if test -n "$FLEX"; then
1715 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
1717 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1718 for ac_dir
in $PATH; do
1719 test -z "$ac_dir" && ac_dir
=.
1720 if test -f $ac_dir/$ac_word; then
1721 ac_cv_prog_FLEX
="$ac_prog"
1728 FLEX
="$ac_cv_prog_FLEX"
1729 if test -n "$FLEX"; then
1730 echo "$ac_t""$FLEX" 1>&6
1732 echo "$ac_t""no" 1>&6
1735 test -n "$FLEX" && break
1737 test -n "$FLEX" || FLEX
="error"
1740 result
="`echo \"$BISON\" | grep echo`"
1741 if test "x$BISON" = "xerror" -o "x$result" != "x"; then
1743 echo "configure: warning: can\'t find bison. Please install Bison" 1>&2
1749 result
="`echo \"$FLEX\" | grep echo`"
1750 if test "x$FLEX" = "xerror" -o "x$result" != "x"; then
1752 echo "configure: warning: can\'t find flex. Please install Flex" 1>&2
1758 if test $BISON != "error"; then
1759 bison_version
=`$BISON --version| sed 's/^.*version 1.//g' `
1760 if test $bison_version -lt 25; then
1762 echo "configure: warning: Your bison is a bit old (1.$bison_version). You might have to install 1.25" 1>&2
1774 # Extract the first word of "$ac_prog", so it can be a program name with args.
1775 set dummy
$ac_prog; ac_word
=$2
1776 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1777 echo "configure:1778: checking for $ac_word" >&5
1778 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1779 echo $ac_n "(cached) $ac_c" 1>&6
1781 if test -n "$AR"; then
1782 ac_cv_prog_AR
="$AR" # Let the user override the test.
1784 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1785 for ac_dir
in $PATH; do
1786 test -z "$ac_dir" && ac_dir
=.
1787 if test -f $ac_dir/$ac_word; then
1788 ac_cv_prog_AR
="$ac_prog"
1796 if test -n "$AR"; then
1797 echo "$ac_t""$AR" 1>&6
1799 echo "$ac_t""no" 1>&6
1802 test -n "$AR" && break
1804 test -n "$AR" || AR
="error"
1806 # Extract the first word of "ranlib", so it can be a program name with args.
1807 set dummy ranlib
; ac_word
=$2
1808 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1809 echo "configure:1810: checking for $ac_word" >&5
1810 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1811 echo $ac_n "(cached) $ac_c" 1>&6
1813 if test -n "$RANLIB"; then
1814 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
1816 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1817 for ac_dir
in $PATH; do
1818 test -z "$ac_dir" && ac_dir
=.
1819 if test -f $ac_dir/$ac_word; then
1820 ac_cv_prog_RANLIB
="ranlib"
1825 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
1828 RANLIB
="$ac_cv_prog_RANLIB"
1829 if test -n "$RANLIB"; then
1830 echo "$ac_t""$RANLIB" 1>&6
1832 echo "$ac_t""no" 1>&6
1839 # AC_STEPMAKE_LIBTOOL
1845 # Check whether --with-localedir or --without-localedir was given.
1846 if test "${with_localedir+set}" = set; then
1847 withval
="$with_localedir"
1848 localedir
=$with_localedir
1850 localedir
='${prefix}/share/locale'
1854 # Check whether --with-lang or --without-lang was given.
1855 if test "${with_lang+set}" = set; then
1856 withval
="$with_lang"
1863 echo $ac_n "checking language""... $ac_c" 1>&6
1864 echo "configure:1865: checking language" >&5
1866 En
* | en
* | Am
* | am
* | US
* | us
*)
1868 NL |
nl | Du
* | du
* | Ned
* | ned
*)
1875 echo "$ac_t""$lang" 1>&6
1877 if test "$lang" = "unknown" ; then
1879 echo "configure: warning: $language not supported; available are: $ALL_LINGUAS" 1>&2
1886 DIR_LOCALEDIR
=${localedir}
1888 if test "$prefix" = "NONE"; then
1889 presome
=${ac_default_prefix}
1891 DIR_LOCALEDIR
=`echo ${DIR_LOCALEDIR} | sed "s!\\\${prefix}!$presome!"`
1894 cat >> confdefs.h
<<EOF
1895 #define DIR_LOCALEDIR "${DIR_LOCALEDIR}"
1899 echo $ac_n "checking for gettext in -lintl""... $ac_c" 1>&6
1900 echo "configure:1901: checking for gettext in -lintl" >&5
1901 ac_lib_var
=`echo intl'_'gettext | sed 'y%./+-%__p_%'`
1902 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1903 echo $ac_n "(cached) $ac_c" 1>&6
1905 ac_save_LIBS
="$LIBS"
1907 cat > conftest.
$ac_ext <<EOF
1908 #line 1909 "configure"
1909 #include "confdefs.h"
1910 /* Override any gcc2 internal prototype to avoid an error. */
1914 /* We use char because int might match the return type of a gcc2
1915 builtin and then its argument prototype would still apply. */
1922 if { (eval echo configure
:1923: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1924 eval "ac_cv_lib_$ac_lib_var=yes"
1926 echo "configure: failed program was:" >&5
1927 cat conftest.
$ac_ext >&5
1929 eval "ac_cv_lib_$ac_lib_var=no"
1932 LIBS
="$ac_save_LIBS"
1935 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1936 echo "$ac_t""yes" 1>&6
1937 ac_tr_lib
=HAVE_LIB
`echo intl | sed -e 's/[^a-zA-Z0-9_]/_/g' \
1938 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
1939 cat >> confdefs.h
<<EOF
1940 #define $ac_tr_lib 1
1946 echo "$ac_t""no" 1>&6
1949 for ac_func
in gettext
1951 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
1952 echo "configure:1953: checking for $ac_func" >&5
1953 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
1954 echo $ac_n "(cached) $ac_c" 1>&6
1956 cat > conftest.
$ac_ext <<EOF
1957 #line 1958 "configure"
1958 #include "confdefs.h"
1959 /* System header to define __stub macros and hopefully few prototypes,
1960 which can conflict with char $ac_func(); below. */
1962 /* Override any gcc2 internal prototype to avoid an error. */
1966 /* We use char because int might match the return type of a gcc2
1967 builtin and then its argument prototype would still apply. */
1972 /* The GNU C library defines this for functions which it implements
1973 to always fail with ENOSYS. Some functions are actually named
1974 something starting with __ and the normal name is an alias. */
1975 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
1983 if { (eval echo configure
:1984: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1985 eval "ac_cv_func_$ac_func=yes"
1987 echo "configure: failed program was:" >&5
1988 cat conftest.
$ac_ext >&5
1990 eval "ac_cv_func_$ac_func=no"
1995 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
1996 echo "$ac_t""yes" 1>&6
1997 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
1998 cat >> confdefs.h
<<EOF
1999 #define $ac_tr_func 1
2003 echo "$ac_t""no" 1>&6
2009 # AC_CHECK_PROGS(MSGFMT, msgfmt, -echo no msgfmt)
2010 for ac_prog
in msgfmt
2012 # Extract the first word of "$ac_prog", so it can be a program name with args.
2013 set dummy
$ac_prog; ac_word
=$2
2014 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2015 echo "configure:2016: checking for $ac_word" >&5
2016 if eval "test \"`echo '$''{'ac_cv_prog_MSGFMT'+set}'`\" = set"; then
2017 echo $ac_n "(cached) $ac_c" 1>&6
2019 if test -n "$MSGFMT"; then
2020 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
2022 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
2023 for ac_dir
in $PATH; do
2024 test -z "$ac_dir" && ac_dir
=.
2025 if test -f $ac_dir/$ac_word; then
2026 ac_cv_prog_MSGFMT
="$ac_prog"
2033 MSGFMT
="$ac_cv_prog_MSGFMT"
2034 if test -n "$MSGFMT"; then
2035 echo "$ac_t""$MSGFMT" 1>&6
2037 echo "$ac_t""no" 1>&6
2040 test -n "$MSGFMT" && break
2042 test -n "$MSGFMT" || MSGFMT
="\$(SHELL) \$(step-bindir)/fake-msgfmt.sh "
2044 echo $ac_n "checking whether msgfmt accepts -o""... $ac_c" 1>&6
2045 echo "configure:2046: checking whether msgfmt accepts -o" >&5
2046 msgfmt_output
="`msgfmt -o bla 2>&1 | grep usage`"
2047 if test "$msgfmt_output" = ""; then
2048 echo "$ac_t""yes" 1>&6
2051 MSGFMT
="\$(SHELL) \$(step-bindir)/fake-msgfmt.sh"
2052 echo "$ac_t""no" 1>&6
2054 echo "configure: warning: please install msgfmt from GNU gettext" 1>&2
2058 if test ! -n "$MSGFMT"; then
2060 echo "configure: warning: please install msgfmt from GNU gettext" 1>&2
2066 # urg, never know what names these teTeX guys will think up
2069 # Extract the first word of "$ac_prog", so it can be a program name with args.
2070 set dummy
$ac_prog; ac_word
=$2
2071 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2072 echo "configure:2073: checking for $ac_word" >&5
2073 if eval "test \"`echo '$''{'ac_cv_prog_METAFONT'+set}'`\" = set"; then
2074 echo $ac_n "(cached) $ac_c" 1>&6
2076 if test -n "$METAFONT"; then
2077 ac_cv_prog_METAFONT
="$METAFONT" # Let the user override the test.
2079 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
2080 for ac_dir
in $PATH; do
2081 test -z "$ac_dir" && ac_dir
=.
2082 if test -f $ac_dir/$ac_word; then
2083 ac_cv_prog_METAFONT
="$ac_prog"
2090 METAFONT
="$ac_cv_prog_METAFONT"
2091 if test -n "$METAFONT"; then
2092 echo "$ac_t""$METAFONT" 1>&6
2094 echo "$ac_t""no" 1>&6
2097 test -n "$METAFONT" && break
2099 test -n "$METAFONT" || METAFONT
="no"
2101 if test "x$METAFONT" = "xno"; then
2102 for ac_prog
in mfont
2104 # Extract the first word of "$ac_prog", so it can be a program name with args.
2105 set dummy
$ac_prog; ac_word
=$2
2106 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2107 echo "configure:2108: checking for $ac_word" >&5
2108 if eval "test \"`echo '$''{'ac_cv_prog_MFONT'+set}'`\" = set"; then
2109 echo $ac_n "(cached) $ac_c" 1>&6
2111 if test -n "$MFONT"; then
2112 ac_cv_prog_MFONT
="$MFONT" # Let the user override the test.
2114 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
2115 for ac_dir
in $PATH; do
2116 test -z "$ac_dir" && ac_dir
=.
2117 if test -f $ac_dir/$ac_word; then
2118 ac_cv_prog_MFONT
="$ac_prog"
2125 MFONT
="$ac_cv_prog_MFONT"
2126 if test -n "$MFONT"; then
2127 echo "$ac_t""$MFONT" 1>&6
2129 echo "$ac_t""no" 1>&6
2132 test -n "$MFONT" && break
2134 test -n "$MFONT" || MFONT
="-echo no mf or mfont"
2141 # Extract the first word of "$ac_prog", so it can be a program name with args.
2142 set dummy
$ac_prog; ac_word
=$2
2143 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2144 echo "configure:2145: checking for $ac_word" >&5
2145 if eval "test \"`echo '$''{'ac_cv_prog_METAPOST'+set}'`\" = set"; then
2146 echo $ac_n "(cached) $ac_c" 1>&6
2148 if test -n "$METAPOST"; then
2149 ac_cv_prog_METAPOST
="$METAPOST" # Let the user override the test.
2151 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
2152 for ac_dir
in $PATH; do
2153 test -z "$ac_dir" && ac_dir
=.
2154 if test -f $ac_dir/$ac_word; then
2155 ac_cv_prog_METAPOST
="$ac_prog"
2162 METAPOST
="$ac_cv_prog_METAPOST"
2163 if test -n "$METAPOST"; then
2164 echo "$ac_t""$METAPOST" 1>&6
2166 echo "$ac_t""no" 1>&6
2169 test -n "$METAPOST" && break
2171 test -n "$METAPOST" || METAPOST
="no"
2173 if test "x$METAPOST" = "xno"; then
2174 for ac_prog
in mpost
2176 # Extract the first word of "$ac_prog", so it can be a program name with args.
2177 set dummy
$ac_prog; ac_word
=$2
2178 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2179 echo "configure:2180: checking for $ac_word" >&5
2180 if eval "test \"`echo '$''{'ac_cv_prog_MPOST'+set}'`\" = set"; then
2181 echo $ac_n "(cached) $ac_c" 1>&6
2183 if test -n "$MPOST"; then
2184 ac_cv_prog_MPOST
="$MPOST" # Let the user override the test.
2186 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
2187 for ac_dir
in $PATH; do
2188 test -z "$ac_dir" && ac_dir
=.
2189 if test -f $ac_dir/$ac_word; then
2190 ac_cv_prog_MPOST
="$ac_prog"
2197 MPOST
="$ac_cv_prog_MPOST"
2198 if test -n "$MPOST"; then
2199 echo "$ac_t""$MPOST" 1>&6
2201 echo "$ac_t""no" 1>&6
2204 test -n "$MPOST" && break
2206 test -n "$MPOST" || MPOST
="-echo no mp or mpost"
2214 # AC_STEPMAKE_TEXMF_DIRS
2216 if test "x$YODL" = "x"; then
2217 for ac_prog
in striproff
2219 # Extract the first word of "$ac_prog", so it can be a program name with args.
2220 set dummy
$ac_prog; ac_word
=$2
2221 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2222 echo "configure:2223: checking for $ac_word" >&5
2223 if eval "test \"`echo '$''{'ac_cv_prog_STRIPROFF'+set}'`\" = set"; then
2224 echo $ac_n "(cached) $ac_c" 1>&6
2226 if test -n "$STRIPROFF"; then
2227 ac_cv_prog_STRIPROFF
="$STRIPROFF" # Let the user override the test.
2229 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
2230 for ac_dir
in $PATH; do
2231 test -z "$ac_dir" && ac_dir
=.
2232 if test -f $ac_dir/$ac_word; then
2233 ac_cv_prog_STRIPROFF
="$ac_prog"
2240 STRIPROFF
="$ac_cv_prog_STRIPROFF"
2241 if test -n "$STRIPROFF"; then
2242 echo "$ac_t""$STRIPROFF" 1>&6
2244 echo "$ac_t""no" 1>&6
2247 test -n "$STRIPROFF" && break
2249 test -n "$STRIPROFF" || STRIPROFF
="-echo no striproff"
2253 # Extract the first word of "$ac_prog", so it can be a program name with args.
2254 set dummy
$ac_prog; ac_word
=$2
2255 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2256 echo "configure:2257: checking for $ac_word" >&5
2257 if eval "test \"`echo '$''{'ac_cv_prog_YODL'+set}'`\" = set"; then
2258 echo $ac_n "(cached) $ac_c" 1>&6
2260 if test -n "$YODL"; then
2261 ac_cv_prog_YODL
="$YODL" # Let the user override the test.
2263 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
2264 for ac_dir
in $PATH; do
2265 test -z "$ac_dir" && ac_dir
=.
2266 if test -f $ac_dir/$ac_word; then
2267 ac_cv_prog_YODL
="$ac_prog"
2274 YODL
="$ac_cv_prog_YODL"
2275 if test -n "$YODL"; then
2276 echo "$ac_t""$YODL" 1>&6
2278 echo "$ac_t""no" 1>&6
2281 test -n "$YODL" && break
2283 test -n "$YODL" || YODL
="-echo no yodl"
2285 for ac_prog
in yodl2html
2287 # Extract the first word of "$ac_prog", so it can be a program name with args.
2288 set dummy
$ac_prog; ac_word
=$2
2289 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2290 echo "configure:2291: checking for $ac_word" >&5
2291 if eval "test \"`echo '$''{'ac_cv_prog_YODL2HTML'+set}'`\" = set"; then
2292 echo $ac_n "(cached) $ac_c" 1>&6
2294 if test -n "$YODL2HTML"; then
2295 ac_cv_prog_YODL2HTML
="$YODL2HTML" # Let the user override the test.
2297 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
2298 for ac_dir
in $PATH; do
2299 test -z "$ac_dir" && ac_dir
=.
2300 if test -f $ac_dir/$ac_word; then
2301 ac_cv_prog_YODL2HTML
="$ac_prog"
2308 YODL2HTML
="$ac_cv_prog_YODL2HTML"
2309 if test -n "$YODL2HTML"; then
2310 echo "$ac_t""$YODL2HTML" 1>&6
2312 echo "$ac_t""no" 1>&6
2315 test -n "$YODL2HTML" && break
2317 test -n "$YODL2HTML" || YODL2HTML
="-echo no yodl"
2319 for ac_prog
in yodl2latex
2321 # Extract the first word of "$ac_prog", so it can be a program name with args.
2322 set dummy
$ac_prog; ac_word
=$2
2323 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2324 echo "configure:2325: checking for $ac_word" >&5
2325 if eval "test \"`echo '$''{'ac_cv_prog_YODL2LATEX'+set}'`\" = set"; then
2326 echo $ac_n "(cached) $ac_c" 1>&6
2328 if test -n "$YODL2LATEX"; then
2329 ac_cv_prog_YODL2LATEX
="$YODL2LATEX" # Let the user override the test.
2331 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
2332 for ac_dir
in $PATH; do
2333 test -z "$ac_dir" && ac_dir
=.
2334 if test -f $ac_dir/$ac_word; then
2335 ac_cv_prog_YODL2LATEX
="$ac_prog"
2342 YODL2LATEX
="$ac_cv_prog_YODL2LATEX"
2343 if test -n "$YODL2LATEX"; then
2344 echo "$ac_t""$YODL2LATEX" 1>&6
2346 echo "$ac_t""no" 1>&6
2349 test -n "$YODL2LATEX" && break
2352 for ac_prog
in yodl2man
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_YODL2MAN'+set}'`\" = set"; then
2359 echo $ac_n "(cached) $ac_c" 1>&6
2361 if test -n "$YODL2MAN"; then
2362 ac_cv_prog_YODL2MAN
="$YODL2MAN" # Let the user override the test.
2364 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
2365 for ac_dir
in $PATH; do
2366 test -z "$ac_dir" && ac_dir
=.
2367 if test -f $ac_dir/$ac_word; then
2368 ac_cv_prog_YODL2MAN
="$ac_prog"
2375 YODL2MAN
="$ac_cv_prog_YODL2MAN"
2376 if test -n "$YODL2MAN"; then
2377 echo "$ac_t""$YODL2MAN" 1>&6
2379 echo "$ac_t""no" 1>&6
2382 test -n "$YODL2MAN" && break
2384 test -n "$YODL2MAN" || YODL2MAN
="-echo no yodl"
2386 for ac_prog
in yodl2msless
2388 # Extract the first word of "$ac_prog", so it can be a program name with args.
2389 set dummy
$ac_prog; ac_word
=$2
2390 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2391 echo "configure:2392: checking for $ac_word" >&5
2392 if eval "test \"`echo '$''{'ac_cv_prog_YODL2MSLESS'+set}'`\" = set"; then
2393 echo $ac_n "(cached) $ac_c" 1>&6
2395 if test -n "$YODL2MSLESS"; then
2396 ac_cv_prog_YODL2MSLESS
="$YODL2MSLESS" # Let the user override the test.
2398 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
2399 for ac_dir
in $PATH; do
2400 test -z "$ac_dir" && ac_dir
=.
2401 if test -f $ac_dir/$ac_word; then
2402 ac_cv_prog_YODL2MSLESS
="$ac_prog"
2409 YODL2MSLESS
="$ac_cv_prog_YODL2MSLESS"
2410 if test -n "$YODL2MSLESS"; then
2411 echo "$ac_t""$YODL2MSLESS" 1>&6
2413 echo "$ac_t""no" 1>&6
2416 test -n "$YODL2MSLESS" && break
2418 test -n "$YODL2MSLESS" || YODL2MSLESS
="-echo no yodl"
2420 for ac_prog
in yodl2texinfo
2422 # Extract the first word of "$ac_prog", so it can be a program name with args.
2423 set dummy
$ac_prog; ac_word
=$2
2424 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2425 echo "configure:2426: checking for $ac_word" >&5
2426 if eval "test \"`echo '$''{'ac_cv_prog_YODL2TEXINFO'+set}'`\" = set"; then
2427 echo $ac_n "(cached) $ac_c" 1>&6
2429 if test -n "$YODL2TEXINFO"; then
2430 ac_cv_prog_YODL2TEXINFO
="$YODL2TEXINFO" # Let the user override the test.
2432 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
2433 for ac_dir
in $PATH; do
2434 test -z "$ac_dir" && ac_dir
=.
2435 if test -f $ac_dir/$ac_word; then
2436 ac_cv_prog_YODL2TEXINFO
="$ac_prog"
2443 YODL2TEXINFO
="$ac_cv_prog_YODL2TEXINFO"
2444 if test -n "$YODL2TEXINFO"; then
2445 echo "$ac_t""$YODL2TEXINFO" 1>&6
2447 echo "$ac_t""no" 1>&6
2450 test -n "$YODL2TEXINFO" && break
2452 test -n "$YODL2TEXINFO" || YODL2TEXINFO
="-echo no yodl"
2454 for ac_prog
in yodl2txt
2456 # Extract the first word of "$ac_prog", so it can be a program name with args.
2457 set dummy
$ac_prog; ac_word
=$2
2458 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2459 echo "configure:2460: checking for $ac_word" >&5
2460 if eval "test \"`echo '$''{'ac_cv_prog_YODL2TXT'+set}'`\" = set"; then
2461 echo $ac_n "(cached) $ac_c" 1>&6
2463 if test -n "$YODL2TXT"; then
2464 ac_cv_prog_YODL2TXT
="$YODL2TXT" # Let the user override the test.
2466 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
2467 for ac_dir
in $PATH; do
2468 test -z "$ac_dir" && ac_dir
=.
2469 if test -f $ac_dir/$ac_word; then
2470 ac_cv_prog_YODL2TXT
="$ac_prog"
2477 YODL2TXT
="$ac_cv_prog_YODL2TXT"
2478 if test -n "$YODL2TXT"; then
2479 echo "$ac_t""$YODL2TXT" 1>&6
2481 echo "$ac_t""no" 1>&6
2484 test -n "$YODL2TXT" && break
2486 test -n "$YODL2TXT" || YODL2TXT
="-echo no yodl"
2488 YODL2LESS_DIR
='$(bindir)/'
2499 export STRIPROFF YODL YODL2HTML YODL2LATEX YODL2MAN YODL2MSLESS YODL2TEXINFO YODL2TXT
2501 if test "x$YODL" = "-echo no yodl"; then
2503 echo "configure: warning: Did not find YODL (Yodl is Yet Oneother Document Language, see http://www.cs.uu.nl/~hanwen/yodl)" 1>&2
2509 # on some systems, -lguile succeeds for guile-1.3
2510 # others need readline, dl (or even more)
2511 # urg, must check for different functions in libguile
2512 # to force new check iso reading from cache
2514 # gh_scm2doubles,gh_doubles2scm are new in 1.3
2516 ## The GUILE_FLAGS macro.
2517 ## First, let's just see if we can find Guile at all.
2518 echo $ac_n "checking for Guile""... $ac_c" 1>&6
2519 echo "configure:2520: checking for Guile" >&5
2520 guile-config link
> /dev
/null ||
{
2521 echo "configure: cannot find guile-config; is Guile installed?" 1>&2
2524 GUILE_CFLAGS
="`guile-config compile`"
2525 GUILE_LDFLAGS
="`guile-config link`"
2528 echo "$ac_t""yes" 1>&6
2530 echo $ac_n "checking for gh_scm2doubles in -lguile""... $ac_c" 1>&6
2531 echo "configure:2532: checking for gh_scm2doubles in -lguile" >&5
2532 ac_lib_var
=`echo guile'_'gh_scm2doubles | sed 'y%./+-%__p_%'`
2533 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2534 echo $ac_n "(cached) $ac_c" 1>&6
2536 ac_save_LIBS
="$LIBS"
2537 LIBS
="-lguile $GUILE_LDFLAGS $LIBS"
2538 cat > conftest.
$ac_ext <<EOF
2539 #line 2540 "configure"
2540 #include "confdefs.h"
2541 /* Override any gcc2 internal prototype to avoid an error. */
2545 /* We use char because int might match the return type of a gcc2
2546 builtin and then its argument prototype would still apply. */
2547 char gh_scm2doubles();
2553 if { (eval echo configure
:2554: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2555 eval "ac_cv_lib_$ac_lib_var=yes"
2557 echo "configure: failed program was:" >&5
2558 cat conftest.
$ac_ext >&5
2560 eval "ac_cv_lib_$ac_lib_var=no"
2563 LIBS
="$ac_save_LIBS"
2566 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2567 echo "$ac_t""yes" 1>&6
2568 LIBS
="`echo $GUILE_LDFLAGS | sed -e 's/-L[/-_a-zA-Z0-9]\+ //g'` $LIBS";
2569 cat >> confdefs.h
<<\EOF
2570 #define HAVE_LIBGUILE 1
2574 echo "$ac_t""no" 1>&6
2577 if test "$ac_cv_lib_guile_gh_scm2doubles" != yes ; then
2579 echo "configure: warning: You should install guile 1.3 or newer" 1>&2
2586 echo $ac_n "checking for 8-bit clean memcmp""... $ac_c" 1>&6
2587 echo "configure:2588: checking for 8-bit clean memcmp" >&5
2588 if eval "test \"`echo '$''{'ac_cv_func_memcmp_clean'+set}'`\" = set"; then
2589 echo $ac_n "(cached) $ac_c" 1>&6
2591 if test "$cross_compiling" = yes; then
2592 ac_cv_func_memcmp_clean
=no
2594 cat > conftest.
$ac_ext <<EOF
2595 #line 2596 "configure"
2596 #include "confdefs.h"
2598 extern "C" void exit(int);
2603 char c0 = 0x40, c1 = 0x80, c2 = 0x81;
2604 exit(memcmp(&c0, &c2, 1) < 0 && memcmp(&c1, &c2, 1) < 0 ? 0 : 1);
2608 if { (eval echo configure
:2609: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
2610 ac_cv_func_memcmp_clean
=yes
2612 echo "configure: failed program was:" >&5
2613 cat conftest.
$ac_ext >&5
2615 ac_cv_func_memcmp_clean
=no
2622 echo "$ac_t""$ac_cv_func_memcmp_clean" 1>&6
2623 test $ac_cv_func_memcmp_clean = no
&& LIBOBJS
="$LIBOBJS memcmp.o"
2625 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
2626 echo "configure:2627: checking for vprintf" >&5
2627 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
2628 echo $ac_n "(cached) $ac_c" 1>&6
2630 cat > conftest.
$ac_ext <<EOF
2631 #line 2632 "configure"
2632 #include "confdefs.h"
2633 /* System header to define __stub macros and hopefully few prototypes,
2634 which can conflict with char vprintf(); below. */
2636 /* Override any gcc2 internal prototype to avoid an error. */
2640 /* We use char because int might match the return type of a gcc2
2641 builtin and then its argument prototype would still apply. */
2646 /* The GNU C library defines this for functions which it implements
2647 to always fail with ENOSYS. Some functions are actually named
2648 something starting with __ and the normal name is an alias. */
2649 #if defined (__stub_vprintf) || defined (__stub___vprintf)
2657 if { (eval echo configure
:2658: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2659 eval "ac_cv_func_vprintf=yes"
2661 echo "configure: failed program was:" >&5
2662 cat conftest.
$ac_ext >&5
2664 eval "ac_cv_func_vprintf=no"
2669 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
2670 echo "$ac_t""yes" 1>&6
2671 cat >> confdefs.h
<<\EOF
2672 #define HAVE_VPRINTF 1
2676 echo "$ac_t""no" 1>&6
2679 if test "$ac_cv_func_vprintf" != yes; then
2680 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
2681 echo "configure:2682: checking for _doprnt" >&5
2682 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
2683 echo $ac_n "(cached) $ac_c" 1>&6
2685 cat > conftest.
$ac_ext <<EOF
2686 #line 2687 "configure"
2687 #include "confdefs.h"
2688 /* System header to define __stub macros and hopefully few prototypes,
2689 which can conflict with char _doprnt(); below. */
2691 /* Override any gcc2 internal prototype to avoid an error. */
2695 /* We use char because int might match the return type of a gcc2
2696 builtin and then its argument prototype would still apply. */
2701 /* The GNU C library defines this for functions which it implements
2702 to always fail with ENOSYS. Some functions are actually named
2703 something starting with __ and the normal name is an alias. */
2704 #if defined (__stub__doprnt) || defined (__stub____doprnt)
2712 if { (eval echo configure
:2713: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2714 eval "ac_cv_func__doprnt=yes"
2716 echo "configure: failed program was:" >&5
2717 cat conftest.
$ac_ext >&5
2719 eval "ac_cv_func__doprnt=no"
2724 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
2725 echo "$ac_t""yes" 1>&6
2726 cat >> confdefs.h
<<\EOF
2727 #define HAVE_DOPRNT 1
2731 echo "$ac_t""no" 1>&6
2736 for ac_func
in memmem snprintf vsnprintf
gettext
2738 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
2739 echo "configure:2740: checking for $ac_func" >&5
2740 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
2741 echo $ac_n "(cached) $ac_c" 1>&6
2743 cat > conftest.
$ac_ext <<EOF
2744 #line 2745 "configure"
2745 #include "confdefs.h"
2746 /* System header to define __stub macros and hopefully few prototypes,
2747 which can conflict with char $ac_func(); below. */
2749 /* Override any gcc2 internal prototype to avoid an error. */
2753 /* We use char because int might match the return type of a gcc2
2754 builtin and then its argument prototype would still apply. */
2759 /* The GNU C library defines this for functions which it implements
2760 to always fail with ENOSYS. Some functions are actually named
2761 something starting with __ and the normal name is an alias. */
2762 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
2770 if { (eval echo configure
:2771: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2772 eval "ac_cv_func_$ac_func=yes"
2774 echo "configure: failed program was:" >&5
2775 cat conftest.
$ac_ext >&5
2777 eval "ac_cv_func_$ac_func=no"
2782 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
2783 echo "$ac_t""yes" 1>&6
2784 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
2785 cat >> confdefs.h
<<EOF
2786 #define $ac_tr_func 1
2790 echo "$ac_t""no" 1>&6
2795 cat >> confdefs.h
<<EOF
2796 #define TOPLEVEL_VERSION "${FULL_VERSION}"
2799 cat >> confdefs.h
<<EOF
2800 #define FLOWER_VERSION "${FULL_FLOWER_VERSION}"
2804 for ac_prog
in makeinfo
2806 # Extract the first word of "$ac_prog", so it can be a program name with args.
2807 set dummy
$ac_prog; ac_word
=$2
2808 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2809 echo "configure:2810: checking for $ac_word" >&5
2810 if eval "test \"`echo '$''{'ac_cv_prog_MAKEINFO'+set}'`\" = set"; then
2811 echo $ac_n "(cached) $ac_c" 1>&6
2813 if test -n "$MAKEINFO"; then
2814 ac_cv_prog_MAKEINFO
="$MAKEINFO" # Let the user override the test.
2816 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
2817 for ac_dir
in $PATH; do
2818 test -z "$ac_dir" && ac_dir
=.
2819 if test -f $ac_dir/$ac_word; then
2820 ac_cv_prog_MAKEINFO
="$ac_prog"
2827 MAKEINFO
="$ac_cv_prog_MAKEINFO"
2828 if test -n "$MAKEINFO"; then
2829 echo "$ac_t""$MAKEINFO" 1>&6
2831 echo "$ac_t""no" 1>&6
2834 test -n "$MAKEINFO" && break
2836 test -n "$MAKEINFO" || MAKEINFO
="error"
2839 result
="`echo \"$YODL2TEXINFO\" | grep echo`"
2840 if test "x$YODL2TEXINFO" = "xerror" -o "x$result" != "x"; then
2842 echo "configure: warning: can\'t find yodl. You should install Yodl 1.30.2 or newer" 1>&2
2850 cat > confcache
<<\EOF
2851 # This file is a shell script that caches the results of configure
2852 # tests run on this system so they can be shared between configure
2853 # scripts and configure runs. It is not useful on other systems.
2854 # If it contains results you don't want to keep, you may remove or edit it.
2856 # By default, configure uses ./config.cache as the cache file,
2857 # creating it if it does not exist already. You can give configure
2858 # the --cache-file=FILE option to use a different cache file; that is
2859 # what configure does when it calls configure scripts in
2860 # subdirectories, so they share the cache.
2861 # Giving --cache-file=/dev/null disables caching, for debugging configure.
2862 # config.status only pays attention to the cache file if you give it the
2863 # --recheck option to rerun configure.
2866 # The following way of writing the cache mishandles newlines in values,
2867 # but we know of no workaround that is simple, portable, and efficient.
2868 # So, don't put newlines in cache variables' values.
2869 # Ultrix sh set writes to stderr and can't be redirected directly,
2870 # and sets the high bit in the cache file unless we assign to the vars.
2872 case `(ac_space=' '; set) 2>&1` in
2874 # `set' does not quote correctly, so add quotes (double-quote substitution
2875 # turns \\\\ into \\, and sed turns \\ into \).
2877 -e "s/'/'\\\\''/g" \
2878 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
2881 # `set' quotes correctly as required by POSIX, so do not add quotes.
2882 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2885 if cmp -s $cache_file confcache
; then
2888 if test -w $cache_file; then
2889 echo "updating cache $cache_file"
2890 cat confcache
> $cache_file
2892 echo "not updating unwritable cache $cache_file"
2897 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
2899 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
2900 # Let make expand exec_prefix.
2901 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
2903 # Any assignment to VPATH causes Sun make to only execute
2904 # the first set of double-colon rules, so remove it if not needed.
2905 # If there is a colon in the path, we need to keep it.
2906 if test "x$srcdir" = x.
; then
2907 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
2910 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
2912 DEFS
=-DHAVE_CONFIG_H
2914 # Without the "./", some shells look in PATH for config.status.
2915 : ${CONFIG_STATUS=./config.status}
2917 echo creating
$CONFIG_STATUS
2918 rm -f $CONFIG_STATUS
2919 cat > $CONFIG_STATUS <<EOF
2921 # Generated automatically by configure.
2922 # Run this file to recreate the current configuration.
2923 # This directory was configured as follows,
2924 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
2926 # $0 $ac_configure_args
2928 # Compiler output produced by configure, useful for debugging
2929 # configure, is in ./config.log if it exists.
2931 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
2934 case "\$ac_option" in
2935 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2936 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
2937 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
2938 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
2939 echo "$CONFIG_STATUS generated by autoconf version 2.12"
2941 -help | --help | --hel | --he | --h)
2942 echo "\$ac_cs_usage"; exit 0 ;;
2943 *) echo "\$ac_cs_usage"; exit 1 ;;
2947 ac_given_srcdir=$srcdir
2949 trap 'rm -fr `echo "$CONFIGFILE.make:config.make.in $CONFIGFILE.h:config.hh.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
2951 cat >> $CONFIG_STATUS <<EOF
2953 # Protect against being on the right side of a sed subst in config.status.
2954 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
2955 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
2958 s%@CFLAGS@%$CFLAGS%g
2959 s%@CPPFLAGS@%$CPPFLAGS%g
2960 s%@CXXFLAGS@%$CXXFLAGS%g
2962 s%@LDFLAGS@%$LDFLAGS%g
2964 s%@exec_prefix@%$exec_prefix%g
2965 s%@prefix@%$prefix%g
2966 s%@program_transform_name@%$program_transform_name%g
2967 s%@bindir@%$bindir%g
2968 s%@sbindir@%$sbindir%g
2969 s%@libexecdir@%$libexecdir%g
2970 s%@datadir@%$datadir%g
2971 s%@sysconfdir@%$sysconfdir%g
2972 s%@sharedstatedir@%$sharedstatedir%g
2973 s%@localstatedir@%$localstatedir%g
2974 s%@libdir@%$libdir%g
2975 s%@includedir@%$includedir%g
2976 s%@oldincludedir@%$oldincludedir%g
2977 s%@infodir@%$infodir%g
2978 s%@mandir@%$mandir%g
2979 s%@stepmake@%$stepmake%g
2980 s%@package@%$package%g
2981 s%@PACKAGE@%$PACKAGE%g
2982 s%@PACKAGE_NAME@%$PACKAGE_NAME%g
2983 s%@package_depth@%$package_depth%g
2984 s%@AUTOGENERATE@%$AUTOGENERATE%g
2985 s%@absolute_builddir@%$absolute_builddir%g
2986 s%@STATE_VECTOR@%$STATE_VECTOR%g
2987 s%@CONFIGSUFFIX@%$CONFIGSUFFIX%g
2989 s%@host_alias@%$host_alias%g
2990 s%@host_cpu@%$host_cpu%g
2991 s%@host_vendor@%$host_vendor%g
2992 s%@host_os@%$host_os%g
2997 s%@PYTHON@%$PYTHON%g
2998 s%@DOTEXE@%$DOTEXE%g
3002 s%@INSTALL@%$INSTALL%g
3003 s%@PATHSEP@%$PATHSEP%g
3004 s%@DIRSEP@%$DIRSEP%g
3005 s%@DIR_DATADIR@%$DIR_DATADIR%g
3006 s%@subdirs@%$subdirs%g
3009 s%@ICFLAGS@%$ICFLAGS%g
3010 s%@ILDFLAGS@%$ILDFLAGS%g
3011 s%@DEFINES@%$DEFINES%g
3012 s%@EXTRA_LIBES@%$EXTRA_LIBES%g
3014 s%@CXXCPP@%$CXXCPP%g
3019 s%@RANLIB@%$RANLIB%g
3020 s%@localedir@%$localedir%g
3021 s%@DIR_LOCALEDIR@%$DIR_LOCALEDIR%g
3022 s%@MSGFMT@%$MSGFMT%g
3023 s%@METAFONT@%$METAFONT%g
3025 s%@METAPOST@%$METAPOST%g
3027 s%@STRIPROFF@%$STRIPROFF%g
3029 s%@YODL2HTML@%$YODL2HTML%g
3030 s%@YODL2LATEX@%$YODL2LATEX%g
3031 s%@YODL2MAN@%$YODL2MAN%g
3032 s%@YODL2MSLESS@%$YODL2MSLESS%g
3033 s%@YODL2TEXINFO@%$YODL2TEXINFO%g
3034 s%@YODL2TXT@%$YODL2TXT%g
3035 s%@YODL2LESS_DIR@%$YODL2LESS_DIR%g
3036 s%@GUILE_CFLAGS@%$GUILE_CFLAGS%g
3037 s%@GUILE_LDFLAGS@%$GUILE_LDFLAGS%g
3038 s%@LIBOBJS@%$LIBOBJS%g
3039 s%@MAKEINFO@%$MAKEINFO%g
3044 cat >> $CONFIG_STATUS <<\EOF
3046 # Split the substitutions into bite-sized pieces for seds with
3047 # small command number limits, like on Digital OSF/1 and HP-UX.
3048 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
3049 ac_file
=1 # Number of current file.
3050 ac_beg
=1 # First line for current file.
3051 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
3054 while $ac_more_lines; do
3055 if test $ac_beg -gt 1; then
3056 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
3058 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
3060 if test ! -s conftest.s
$ac_file; then
3062 rm -f conftest.s
$ac_file
3064 if test -z "$ac_sed_cmds"; then
3065 ac_sed_cmds
="sed -f conftest.s$ac_file"
3067 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
3069 ac_file
=`expr $ac_file + 1`
3071 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
3074 if test -z "$ac_sed_cmds"; then
3079 cat >> $CONFIG_STATUS <<EOF
3081 CONFIG_FILES=\${CONFIG_FILES-"$CONFIGFILE.make:config.make.in"}
3083 cat >> $CONFIG_STATUS <<\EOF
3084 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
3085 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3087 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
3088 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
3089 *) ac_file_in
="${ac_file}.in" ;;
3092 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
3094 # Remove last slash and all that follows it. Not all systems have dirname.
3095 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
3096 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
3097 # The file is in a subdirectory.
3098 test ! -d "$ac_dir" && mkdir
"$ac_dir"
3099 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
3100 # A "../" for each directory in $ac_dir_suffix.
3101 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
3103 ac_dir_suffix
= ac_dots
=
3106 case "$ac_given_srcdir" in
3108 if test -z "$ac_dots"; then top_srcdir
=.
3109 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
3110 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
3112 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
3113 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
3117 echo creating
"$ac_file"
3119 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
3121 *Makefile
*) ac_comsub
="1i\\
3122 # $configure_input" ;;
3126 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
3128 s%@configure_input@%$configure_input%g
3129 s%@srcdir@%$srcdir%g
3130 s%@top_srcdir@%$top_srcdir%g
3131 " $ac_file_inputs |
(eval "$ac_sed_cmds") > $ac_file
3135 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
3136 # NAME is the cpp macro being defined and VALUE is the value it is being given.
3138 # ac_d sets the value in "#define NAME VALUE" lines.
3139 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
3140 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
3143 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
3144 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
3145 ac_uB
='\([ ]\)%\1#\2define\3'
3148 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
3149 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
3150 ac_eB
='$%\1#\2define\3'
3154 if test "${CONFIG_HEADERS+set}" != set; then
3156 cat >> $CONFIG_STATUS <<EOF
3157 CONFIG_HEADERS="$CONFIGFILE.h:config.hh.in"
3159 cat >> $CONFIG_STATUS <<\EOF
3161 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
3162 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3164 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
3165 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
3166 *) ac_file_in
="${ac_file}.in" ;;
3169 echo creating
$ac_file
3171 rm -f conftest.frag conftest.
in conftest.out
3172 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
3173 cat $ac_file_inputs > conftest.
in
3177 # Transform confdefs.h into a sed script conftest.vals that substitutes
3178 # the proper values into config.h.in to produce config.h. And first:
3179 # Protect against being on the right side of a sed subst in config.status.
3180 # Protect against being in an unquoted here document in config.status.
3182 cat > conftest.hdr
<<\EOF
3185 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
3189 sed -n -f conftest.hdr confdefs.h > conftest.vals
3192 # This sed command replaces #undef with comments. This is necessary, for
3193 # example, in the case of _POSIX_SOURCE, which is predefined and required
3194 # on some systems where configure will not decide to define it.
3195 cat >> conftest.vals <<\EOF
3196 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
3199 # Break up conftest.vals because some shells have a limit on
3200 # the size of here documents, and old seds have small limits too.
3205 ac_lines=`grep -c . conftest.vals
`
3206 # grep -c gives empty output for an empty file on some AIX systems.
3207 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
3208 # Write a limited-size here document to conftest.frag.
3209 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
3210 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
3212 sed -f conftest.frag conftest.in > conftest.out
3214 mv conftest.out conftest.in
3216 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
3218 mv conftest.tail conftest.vals
3222 cat >> $CONFIG_STATUS <<\EOF
3223 rm -f conftest.frag conftest.h
3224 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
3225 cat conftest.in >> conftest.h
3227 if cmp -s $ac_file conftest.h 2>/dev/null; then
3228 echo "$ac_file is unchanged"
3231 # Remove last slash and all that follows it. Not all systems have dirname.
3232 ac_dir=`echo $ac_file|
sed 's%/[^/][^/]*$%%'`
3233 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
3234 # The file is in a subdirectory.
3235 test ! -d "$ac_dir" && mkdir "$ac_dir"
3238 mv conftest.h $ac_file
3243 cat >> $CONFIG_STATUS <<EOF
3246 cat >> $CONFIG_STATUS <<\EOF
3250 chmod +x $CONFIG_STATUS
3251 rm -fr confdefs* $ac_clean_files
3252 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
3254 if test "$no_recursion" != yes; then
3256 # Remove --cache-file and --srcdir arguments so they do not pile up.
3257 ac_sub_configure_args=
3259 for ac_arg in $ac_configure_args; do
3260 if test -n "$ac_prev"; then
3265 -cache-file | --cache-file | --cache-fil | --cache-fi \
3266 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
3267 ac_prev=cache_file ;;
3268 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
3269 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
3271 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
3273 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
3275 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
3279 for ac_config_dir in stepmake; do
3281 # Do not complain, so a configure script can configure whichever
3282 # parts of a large source tree are present.
3283 if test ! -d $srcdir/$ac_config_dir; then
3287 echo configuring in $ac_config_dir
3292 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
3294 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
3302 # A "../" for each directory in /$ac_config_dir.
3303 ac_dots=`echo $ac_config_dir|
sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
3306 .) # No --srcdir option. We are building in place.
3307 ac_sub_srcdir=$srcdir ;;
3308 /*) # Absolute path.
3309 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
3311 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
3314 # Check for guested configure; otherwise get Cygnus style configure.
3315 if test -f $ac_sub_srcdir/configure; then
3316 ac_sub_configure=$ac_sub_srcdir/configure
3317 elif test -f $ac_sub_srcdir/configure.in; then
3318 ac_sub_configure=$ac_configure
3320 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
3324 # The recursion is here.
3325 if test -n "$ac_sub_configure"; then
3327 # Make the cache file name correct relative to the subdirectory.
3328 case "$cache_file" in
3329 /*) ac_sub_cache_file=$cache_file ;;
3331 ac_sub_cache_file="$ac_dots$cache_file" ;;
3334 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
3335 # The eval makes quoting arguments work.
3336 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
3339 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }
3349 cp make/toplevel.make.in ./GNUmakefile
3350 chmod 444 GNUmakefile