3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated automatically using autoconf version 2.12
5 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
12 ac_default_prefix
=/usr
/local
13 # Any additions from configure.in:
15 --enable-shared build shared libraries [default=no]
16 --enable-shared=PKGS only build shared libraries if the current package
17 appears as an element in the PKGS list"
19 --enable-static build static libraries [default=yes]
20 --enable-static=PKGS only build shared libraries if the current package
21 appears as an element in the PKGS list"
23 --with-gnu-ld assume the C compiler uses GNU ld [default=no]"
25 enable-printing turn on debug printing. Default: off"
27 enable-checking set runtime checks (assert calls). Default: on"
29 enable-optimise use maximal speed optimisations. Default: off"
31 enable-profiling compile with gprof support. Default: off"
33 enable-debugging set debug info. Default: on"
35 enable-mingw-prefix=DIR set the mingw32 directory (standalone windows32 exes)"
37 enable-tex-prefix=DIR set the tex-directory to find TeX subdirectories. (default: PREFIX)"
39 enable-tex-dir=DIR set the directory to put LilyPond TeX files in. "
41 enable-mf-dir=DIR set the directory to put LilyPond MetaFont files in. "
43 # Initialize some variables set by options.
44 # The variables have the same names as the options, with
45 # dashes changed to underlines.
47 cache_file
=.
/config.cache
56 program_transform_name
=s
,x
,x
,
64 bindir
='${exec_prefix}/bin'
65 sbindir
='${exec_prefix}/sbin'
66 libexecdir
='${exec_prefix}/libexec'
67 datadir
='${prefix}/share'
68 sysconfdir
='${prefix}/etc'
69 sharedstatedir
='${prefix}/com'
70 localstatedir
='${prefix}/var'
71 libdir
='${exec_prefix}/lib'
72 includedir
='${prefix}/include'
73 oldincludedir
='/usr/include'
74 infodir
='${prefix}/info'
75 mandir
='${prefix}/man'
77 # Initialize some other variables.
80 # Maximum number of lines to put in a shell here document.
87 # If the previous option needs an argument, assign it.
88 if test -n "$ac_prev"; then
89 eval "$ac_prev=\$ac_option"
95 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
99 # Accept the important Cygnus configure options, so we can diagnose typos.
103 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
105 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
106 bindir
="$ac_optarg" ;;
108 -build |
--build |
--buil |
--bui |
--bu)
110 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
111 build
="$ac_optarg" ;;
113 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
114 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
115 ac_prev
=cache_file
;;
116 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
117 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
118 cache_file
="$ac_optarg" ;;
120 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
122 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
124 datadir
="$ac_optarg" ;;
126 -disable-* |
--disable-*)
127 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
128 # Reject names that are not valid shell variable names.
129 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
130 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
132 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
133 eval "enable_${ac_feature}=no" ;;
135 -enable-* |
--enable-*)
136 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
137 # Reject names that are not valid shell variable names.
138 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
139 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
141 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
146 eval "enable_${ac_feature}='$ac_optarg'" ;;
148 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
149 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
150 |
--exec |
--exe |
--ex)
151 ac_prev
=exec_prefix
;;
152 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
153 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
154 |
--exec=* |
--exe=* |
--ex=*)
155 exec_prefix
="$ac_optarg" ;;
157 -gas |
--gas |
--ga |
--g)
158 # Obsolete; use --with-gas.
161 -help |
--help |
--hel |
--he)
162 # Omit some internal or obsolete options to make the list less imposing.
163 # This message is too long to be a string in the A/UX 3.1 sh.
165 Usage: configure [options] [host]
166 Options: [defaults in brackets after descriptions]
168 --cache-file=FILE cache test results in FILE
169 --help print this message
170 --no-create do not create output files
171 --quiet, --silent do not print \`checking...' messages
172 --version print the version of autoconf that created configure
173 Directory and file names:
174 --prefix=PREFIX install architecture-independent files in PREFIX
176 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
178 --bindir=DIR user executables in DIR [EPREFIX/bin]
179 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
180 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
181 --datadir=DIR read-only architecture-independent data in DIR
183 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
184 --sharedstatedir=DIR modifiable architecture-independent data in DIR
186 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
187 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
188 --includedir=DIR C header files in DIR [PREFIX/include]
189 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
190 --infodir=DIR info documentation in DIR [PREFIX/info]
191 --mandir=DIR man documentation in DIR [PREFIX/man]
192 --srcdir=DIR find the sources in DIR [configure dir or ..]
193 --program-prefix=PREFIX prepend PREFIX to installed program names
194 --program-suffix=SUFFIX append SUFFIX to installed program names
195 --program-transform-name=PROGRAM
196 run sed PROGRAM on installed program names
200 --build=BUILD configure for building on BUILD [BUILD=HOST]
201 --host=HOST configure for HOST [guessed]
202 --target=TARGET configure for TARGET [TARGET=HOST]
203 Features and packages:
204 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
205 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
206 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
207 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
208 --x-includes=DIR X include files are in DIR
209 --x-libraries=DIR X library files are in DIR
211 if test -n "$ac_help"; then
212 echo "--enable and --with options recognized:$ac_help"
216 -host |
--host |
--hos |
--ho)
218 -host=* |
--host=* |
--hos=* |
--ho=*)
221 -includedir |
--includedir |
--includedi |
--included |
--include \
222 |
--includ |
--inclu |
--incl |
--inc)
223 ac_prev
=includedir
;;
224 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
225 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
226 includedir
="$ac_optarg" ;;
228 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
230 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
231 infodir
="$ac_optarg" ;;
233 -libdir |
--libdir |
--libdi |
--libd)
235 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
236 libdir
="$ac_optarg" ;;
238 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
239 |
--libexe |
--libex |
--libe)
240 ac_prev
=libexecdir
;;
241 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
242 |
--libexe=* |
--libex=* |
--libe=*)
243 libexecdir
="$ac_optarg" ;;
245 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
246 |
--localstate |
--localstat |
--localsta |
--localst \
247 |
--locals |
--local |
--loca |
--loc |
--lo)
248 ac_prev
=localstatedir
;;
249 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
250 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
251 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
252 localstatedir
="$ac_optarg" ;;
254 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
256 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
257 mandir
="$ac_optarg" ;;
260 # Obsolete; use --without-fp.
263 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
267 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
268 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
271 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
272 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
273 |
--oldin |
--oldi |
--old |
--ol |
--o)
274 ac_prev
=oldincludedir
;;
275 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
276 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
277 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
278 oldincludedir
="$ac_optarg" ;;
280 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
282 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
283 prefix
="$ac_optarg" ;;
285 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
286 |
--program-pre |
--program-pr |
--program-p)
287 ac_prev
=program_prefix
;;
288 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
289 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
290 program_prefix
="$ac_optarg" ;;
292 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
293 |
--program-suf |
--program-su |
--program-s)
294 ac_prev
=program_suffix
;;
295 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
296 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
297 program_suffix
="$ac_optarg" ;;
299 -program-transform-name |
--program-transform-name \
300 |
--program-transform-nam |
--program-transform-na \
301 |
--program-transform-n |
--program-transform- \
302 |
--program-transform |
--program-transfor \
303 |
--program-transfo |
--program-transf \
304 |
--program-trans |
--program-tran \
305 |
--progr-tra |
--program-tr |
--program-t)
306 ac_prev
=program_transform_name
;;
307 -program-transform-name=* |
--program-transform-name=* \
308 |
--program-transform-nam=* |
--program-transform-na=* \
309 |
--program-transform-n=* |
--program-transform-=* \
310 |
--program-transform=* |
--program-transfor=* \
311 |
--program-transfo=* |
--program-transf=* \
312 |
--program-trans=* |
--program-tran=* \
313 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
314 program_transform_name
="$ac_optarg" ;;
316 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
317 |
-silent |
--silent |
--silen |
--sile |
--sil)
320 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
322 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
324 sbindir
="$ac_optarg" ;;
326 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
327 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
328 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
330 ac_prev
=sharedstatedir
;;
331 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
332 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
333 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
335 sharedstatedir
="$ac_optarg" ;;
337 -site |
--site |
--sit)
339 -site=* |
--site=* |
--sit=*)
342 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
344 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
345 srcdir
="$ac_optarg" ;;
347 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
348 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
349 ac_prev
=sysconfdir
;;
350 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
351 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
352 sysconfdir
="$ac_optarg" ;;
354 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
356 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
357 target
="$ac_optarg" ;;
359 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
362 -version |
--version |
--versio |
--versi |
--vers)
363 echo "configure generated by autoconf version 2.12"
367 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
368 # Reject names that are not valid shell variable names.
369 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
370 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
372 ac_package
=`echo $ac_package| sed 's/-/_/g'`
377 eval "with_${ac_package}='$ac_optarg'" ;;
379 -without-* |
--without-*)
380 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
381 # Reject names that are not valid shell variable names.
382 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
383 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
385 ac_package
=`echo $ac_package| sed 's/-/_/g'`
386 eval "with_${ac_package}=no" ;;
389 # Obsolete; use --with-x.
392 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
393 |
--x-incl |
--x-inc |
--x-in |
--x-i)
394 ac_prev
=x_includes
;;
395 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
396 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
397 x_includes
="$ac_optarg" ;;
399 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
400 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
401 ac_prev
=x_libraries
;;
402 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
403 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
404 x_libraries
="$ac_optarg" ;;
406 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
410 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
411 echo "configure: warning: $ac_option: invalid host type" 1>&2
413 if test "x$nonopt" != xNONE
; then
414 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
422 if test -n "$ac_prev"; then
423 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
426 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
428 # File descriptor usage:
431 # 2 errors and warnings
432 # 3 some systems may open it to /dev/tty
433 # 4 used on the Kubota Titan
434 # 6 checking for... messages and results
435 # 5 compiler messages saved in config.log
436 if test "$silent" = yes; then
444 This file contains any messages produced by compilers while
445 running configure, to aid debugging if configure makes a mistake.
448 # Strip out --no-create and --no-recursion so they do not pile up.
449 # Also quote any args containing shell metacharacters.
454 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
455 |
--no-cr |
--no-c) ;;
456 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
457 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r) ;;
458 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
459 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
460 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
465 # Only set these to C if already set. These must not be set unconditionally
466 # because not all systems understand e.g. LANG=C (notably SCO).
467 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
468 # Non-C LC_CTYPE values break the ctype check.
469 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
470 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
471 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
472 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
474 # confdefs.h avoids OS command line length limits that DEFS can exceed.
475 rm -rf conftest
* confdefs.h
476 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
479 # A filename unique to this package, relative to the directory that
480 # configure is in, which we can look for to find out if srcdir is correct.
481 ac_unique_file
=flower
/choleski.cc
483 # Find the source files, if location was not specified.
484 if test -z "$srcdir"; then
485 ac_srcdir_defaulted
=yes
486 # Try the directory containing this script, then its parent.
488 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
489 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
491 if test ! -r $srcdir/$ac_unique_file; then
495 ac_srcdir_defaulted
=no
497 if test ! -r $srcdir/$ac_unique_file; then
498 if test "$ac_srcdir_defaulted" = yes; then
499 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
501 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
504 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
506 # Prefer explicitly selected file to automatically selected ones.
507 if test -z "$CONFIG_SITE"; then
508 if test "x$prefix" != xNONE
; then
509 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
511 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
514 for ac_site_file
in $CONFIG_SITE; do
515 if test -r "$ac_site_file"; then
516 echo "loading site script $ac_site_file"
521 if test -r "$cache_file"; then
522 echo "loading cache $cache_file"
525 echo "creating cache $cache_file"
530 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
531 ac_cpp
='$CPP $CPPFLAGS'
532 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
533 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
534 cross_compiling
=$ac_cv_prog_cc_cross
536 if (echo "testing\c"; echo 1,2,3) |
grep c
>/dev
/null
; then
537 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
538 if (echo -n testing
; echo 1,2,3) |
sed s
/-n/xn
/ |
grep xn
>/dev
/null
; then
545 ac_n
= ac_c
='\c' ac_t
=
551 FULL_VERSION
=$MAJOR_VERSION.
$MINOR_VERSION.
$PATCH_LEVEL
552 if test x
$MY_PATCH_LEVEL != x
; then
553 FULL_VERSION
=$FULL_VERSION.
$MY_PATCH_LEVEL
556 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
557 if test -f $ac_dir/install-sh
; then
559 ac_install_sh
="$ac_aux_dir/install-sh -c"
561 elif test -f $ac_dir/install.sh
; then
563 ac_install_sh
="$ac_aux_dir/install.sh -c"
567 if test -z "$ac_aux_dir"; then
568 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
570 ac_config_guess
=$ac_aux_dir/config.guess
571 ac_config_sub
=$ac_aux_dir/config.sub
572 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
574 # Find a good install program. We prefer a C program (faster),
575 # so one script is as good as another. But avoid the broken or
576 # incompatible versions:
577 # SysV /etc/install, /usr/sbin/install
578 # SunOS /usr/etc/install
581 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
582 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
583 # ./install, which can be erroneously created by make from ./install.sh.
584 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
585 echo "configure:586: checking for a BSD compatible install" >&5
586 if test -z "$INSTALL"; then
587 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
588 echo $ac_n "(cached) $ac_c" 1>&6
590 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
="${IFS}:"
591 for ac_dir
in $PATH; do
592 # Account for people who put trailing slashes in PATH elements.
594 /|.
/|.
//|
/etc
/*|
/usr
/sbin
/*|
/usr
/etc
/*|
/sbin
/*|
/usr
/afsws
/bin
/*|
/usr
/ucb
/*) ;;
596 # OSF1 and SCO ODT 3.0 have their own names for install.
597 for ac_prog
in ginstall installbsd scoinst
install; do
598 if test -f $ac_dir/$ac_prog; then
599 if test $ac_prog = install &&
600 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
601 # AIX install. It has an incompatible calling convention.
602 # OSF/1 installbsd also uses dspmsg, but is usable.
605 ac_cv_path_install
="$ac_dir/$ac_prog -c"
616 if test "${ac_cv_path_install+set}" = set; then
617 INSTALL
="$ac_cv_path_install"
619 # As a last resort, use the slow shell script. We don't cache a
620 # path for INSTALL within a source directory, because that will
621 # break other packages using the cache if that directory is
622 # removed, or if the path is relative.
623 INSTALL
="$ac_install_sh"
626 echo "$ac_t""$INSTALL" 1>&6
628 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
629 # It thinks the first close brace ends the variable substitution.
630 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
632 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
635 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
637 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
638 echo "configure:639: checking whether build environment is sane" >&5
641 echo timestamp
> conftestfile
642 # Do `set' in a subshell so we don't clobber the current shell's
643 # arguments. Must try -L first in case configure is actually a
644 # symlink; some systems play weird games with the mod time of symlinks
645 # (eg FreeBSD returns the mod time of the symlink's containing
648 set X
`ls -Lt $srcdir/configure conftestfile 2> /dev/null`
649 if test "$*" = "X"; then
651 set X
`ls -t $srcdir/configure conftestfile`
653 if test "$*" != "X $srcdir/configure conftestfile" \
654 && test "$*" != "X conftestfile $srcdir/configure"; then
656 # If neither matched, then we have a broken ls. This can happen
657 # if, for instance, CONFIG_SHELL is bash and it inherits a
658 # broken ls alias from the environment. This has actually
659 # happened. Such a system could not be considered "sane".
660 { echo "configure: error: ls -t appears to fail. Make sure there is not a broken
661 alias in your environment" 1>&2; exit 1; }
664 test "$2" = conftestfile
670 { echo "configure: error: newly created file is older than distributed files!
671 Check your system clock" 1>&2; exit 1; }
674 echo "$ac_t""yes" 1>&6
675 if test "$program_transform_name" = s
,x
,x
,; then
676 program_transform_name
=
678 # Double any \ or $. echo might interpret backslashes.
679 cat <<\EOF_SED
> conftestsed
680 s
,\\,\\\\,g
; s
,\$
,$$
,g
682 program_transform_name
="`echo $program_transform_name|sed -f conftestsed`"
685 test "$program_prefix" != NONE
&&
686 program_transform_name
="s,^,${program_prefix},; $program_transform_name"
687 # Use a double $ so make ignores it.
688 test "$program_suffix" != NONE
&&
689 program_transform_name
="s,\$\$,${program_suffix},; $program_transform_name"
691 # sed with no file args requires a program.
692 test "$program_transform_name" = "" && program_transform_name
="s,x,x,"
694 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
695 echo "configure:696: checking whether ${MAKE-make} sets \${MAKE}" >&5
696 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
697 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
698 echo $ac_n "(cached) $ac_c" 1>&6
700 cat > conftestmake
<<\EOF
702 @
echo 'ac_maketemp="${MAKE}"'
704 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
705 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
706 if test -n "$ac_maketemp"; then
707 eval ac_cv_prog_make_
${ac_make}_set
=yes
709 eval ac_cv_prog_make_
${ac_make}_set
=no
713 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
714 echo "$ac_t""yes" 1>&6
717 echo "$ac_t""no" 1>&6
718 SET_MAKE
="MAKE=${MAKE-make}"
724 VERSION
=$FULL_VERSION
726 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status
; then
727 { echo "configure: error: source directory already configured; run "make distclean
" there first" 1>&2; exit 1; }
729 cat >> confdefs.h
<<EOF
730 #define PACKAGE "$PACKAGE"
733 cat >> confdefs.h
<<EOF
734 #define VERSION "$VERSION"
739 missing_dir
=`cd $ac_aux_dir && pwd`
740 echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
741 echo "configure:742: checking for working aclocal" >&5
742 # Run test in a subshell; some versions of sh will print an error if
743 # an executable is not found, even if stderr is redirected.
744 # Redirect stdin to placate older versions of autoconf. Sigh.
745 if (aclocal
--version) < /dev
/null
> /dev
/null
2>&1; then
747 echo "$ac_t""found" 1>&6
749 ACLOCAL
="$missing_dir/missing aclocal"
750 echo "$ac_t""missing" 1>&6
753 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
754 echo "configure:755: checking for working autoconf" >&5
755 # Run test in a subshell; some versions of sh will print an error if
756 # an executable is not found, even if stderr is redirected.
757 # Redirect stdin to placate older versions of autoconf. Sigh.
758 if (autoconf
--version) < /dev
/null
> /dev
/null
2>&1; then
760 echo "$ac_t""found" 1>&6
762 AUTOCONF
="$missing_dir/missing autoconf"
763 echo "$ac_t""missing" 1>&6
766 echo $ac_n "checking for working automake""... $ac_c" 1>&6
767 echo "configure:768: checking for working automake" >&5
768 # Run test in a subshell; some versions of sh will print an error if
769 # an executable is not found, even if stderr is redirected.
770 # Redirect stdin to placate older versions of autoconf. Sigh.
771 if (automake
--version) < /dev
/null
> /dev
/null
2>&1; then
773 echo "$ac_t""found" 1>&6
775 AUTOMAKE
="$missing_dir/missing automake"
776 echo "$ac_t""missing" 1>&6
779 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
780 echo "configure:781: checking for working autoheader" >&5
781 # Run test in a subshell; some versions of sh will print an error if
782 # an executable is not found, even if stderr is redirected.
783 # Redirect stdin to placate older versions of autoconf. Sigh.
784 if (autoheader
--version) < /dev
/null
> /dev
/null
2>&1; then
785 AUTOHEADER
=autoheader
786 echo "$ac_t""found" 1>&6
788 AUTOHEADER
="$missing_dir/missing autoheader"
789 echo "$ac_t""missing" 1>&6
792 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
793 echo "configure:794: checking for working makeinfo" >&5
794 # Run test in a subshell; some versions of sh will print an error if
795 # an executable is not found, even if stderr is redirected.
796 # Redirect stdin to placate older versions of autoconf. Sigh.
797 if (makeinfo
--version) < /dev
/null
> /dev
/null
2>&1; then
799 echo "$ac_t""found" 1>&6
801 MAKEINFO
="$missing_dir/missing makeinfo"
802 echo "$ac_t""missing" 1>&6
807 .
$srcdir/flower
/VERSION
808 FULL_FLOWER_VERSION
=$MAJOR_VERSION.
$MINOR_VERSION.
$PATCH_LEVEL
811 # **Never** try to set library version numbers so that they correspond
812 # to the release number of your package. This is an abuse that only
813 # fosters misunderstanding of the purpose of library versions.
815 REVISION
=$PATCH_LEVEL
816 # CURRENT=$MINOR_VERSION
817 CURRENT
=`expr $MINOR_VERSION + 1`
818 # AGE=$(expr $MAJOR_VERSION + 1)
824 # turn off shared libraries by default (may be enabled using --enable-shared)
825 # Check whether --enable-shared or --disable-shared was given.
826 if test "${enable_shared+set}" = set; then
827 enableval
="$enable_shared"
830 yes) enable_shared
=yes ;;
831 no
) enable_shared
=no
;;
834 # Look at the argument we got. We use all the common list separators.
835 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
836 for pkg
in $enableval; do
837 if test "X$pkg" = "X$p"; then
848 # Check whether --enable-static or --disable-static was given.
849 if test "${enable_static+set}" = set; then
850 enableval
="$enable_static"
853 yes) enable_static
=yes ;;
854 no
) enable_static
=no
;;
857 # Look at the argument we got. We use all the common list separators.
858 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
859 for pkg
in $enableval; do
860 if test "X$pkg" = "X$p"; then
872 # Make sure we can run config.sub.
873 if $ac_config_sub sun4
>/dev
/null
2>&1; then :
874 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
877 echo $ac_n "checking host system type""... $ac_c" 1>&6
878 echo "configure:879: checking host system type" >&5
881 case "$host_alias" in
885 if host_alias
=`$ac_config_guess`; then :
886 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
888 *) host_alias
=$nonopt ;;
892 host=`$ac_config_sub $host_alias`
893 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
894 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
895 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
896 echo "$ac_t""$host" 1>&6
898 # Extract the first word of "ranlib", so it can be a program name with args.
899 set dummy ranlib
; ac_word
=$2
900 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
901 echo "configure:902: checking for $ac_word" >&5
902 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
903 echo $ac_n "(cached) $ac_c" 1>&6
905 if test -n "$RANLIB"; then
906 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
908 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
909 for ac_dir
in $PATH; do
910 test -z "$ac_dir" && ac_dir
=.
911 if test -f $ac_dir/$ac_word; then
912 ac_cv_prog_RANLIB
="ranlib"
917 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
920 RANLIB
="$ac_cv_prog_RANLIB"
921 if test -n "$RANLIB"; then
922 echo "$ac_t""$RANLIB" 1>&6
924 echo "$ac_t""no" 1>&6
927 # Extract the first word of "gcc", so it can be a program name with args.
928 set dummy gcc
; 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_prog_CC'+set}'`\" = set"; then
932 echo $ac_n "(cached) $ac_c" 1>&6
934 if test -n "$CC"; then
935 ac_cv_prog_CC
="$CC" # Let the user override the test.
937 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
938 for ac_dir
in $PATH; do
939 test -z "$ac_dir" && ac_dir
=.
940 if test -f $ac_dir/$ac_word; then
949 if test -n "$CC"; then
950 echo "$ac_t""$CC" 1>&6
952 echo "$ac_t""no" 1>&6
955 if test -z "$CC"; then
956 # Extract the first word of "cc", so it can be a program name with args.
957 set dummy cc
; ac_word
=$2
958 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
959 echo "configure:960: checking for $ac_word" >&5
960 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
961 echo $ac_n "(cached) $ac_c" 1>&6
963 if test -n "$CC"; then
964 ac_cv_prog_CC
="$CC" # Let the user override the test.
966 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
968 for ac_dir
in $PATH; do
969 test -z "$ac_dir" && ac_dir
=.
970 if test -f $ac_dir/$ac_word; then
971 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
980 if test $ac_prog_rejected = yes; then
981 # We found a bogon in the path, so make sure we never use it.
982 set dummy
$ac_cv_prog_CC
984 if test $# -gt 0; then
985 # We chose a different compiler from the bogus one.
986 # However, it has the same basename, so the bogon will be chosen
987 # first if we set CC to just the basename; use the full file name.
989 set dummy
"$ac_dir/$ac_word" "$@"
997 if test -n "$CC"; then
998 echo "$ac_t""$CC" 1>&6
1000 echo "$ac_t""no" 1>&6
1003 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1006 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
1007 echo "configure:1008: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
1010 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1011 ac_cpp
='$CPP $CPPFLAGS'
1012 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1013 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1014 cross_compiling
=$ac_cv_prog_cc_cross
1016 cat > conftest.
$ac_ext <<EOF
1017 #line 1018 "configure"
1018 #include "confdefs.h"
1021 if { (eval echo configure
:1022: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1022 ac_cv_prog_cc_works
=yes
1023 # If we can't run a trivial program, we are probably using a cross compiler.
1024 if (.
/conftest
; exit) 2>/dev
/null
; then
1025 ac_cv_prog_cc_cross
=no
1027 ac_cv_prog_cc_cross
=yes
1030 echo "configure: failed program was:" >&5
1031 cat conftest.
$ac_ext >&5
1032 ac_cv_prog_cc_works
=no
1036 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
1037 if test $ac_cv_prog_cc_works = no
; then
1038 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
1040 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
1041 echo "configure:1042: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
1042 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
1043 cross_compiling
=$ac_cv_prog_cc_cross
1045 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1046 echo "configure:1047: checking whether we are using GNU C" >&5
1047 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1048 echo $ac_n "(cached) $ac_c" 1>&6
1050 cat > conftest.c
<<EOF
1055 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:1056: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } |
egrep yes >/dev
/null
2>&1; then
1062 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1064 if test $ac_cv_prog_gcc = yes; then
1066 ac_test_CFLAGS
="${CFLAGS+set}"
1067 ac_save_CFLAGS
="$CFLAGS"
1069 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1070 echo "configure:1071: checking whether ${CC-cc} accepts -g" >&5
1071 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1072 echo $ac_n "(cached) $ac_c" 1>&6
1074 echo 'void f(){}' > conftest.c
1075 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1084 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1085 if test "$ac_test_CFLAGS" = set; then
1086 CFLAGS
="$ac_save_CFLAGS"
1087 elif test $ac_cv_prog_cc_g = yes; then
1094 test "${CFLAGS+set}" = set || CFLAGS
="-g"
1097 # Check whether --with-gnu-ld or --without-gnu-ld was given.
1098 if test "${with_gnu_ld+set}" = set; then
1099 withval
="$with_gnu_ld"
1100 test "$withval" = no || with_gnu_ld
=yes
1107 if test "$ac_cv_prog_gcc" = yes; then
1108 # Check if gcc -print-prog-name=ld gives a path.
1109 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
1110 echo "configure:1111: checking for ld used by GCC" >&5
1111 ac_prog
=`($CC -print-prog-name=ld) 2>&5`
1113 # Accept absolute paths.
1115 test -z "$LD" && LD
="$ac_prog"
1118 # If it fails, then pretend we aren't using GCC.
1122 # If it is relative, then search for the first ld in PATH.
1126 elif test "$with_gnu_ld" = yes; then
1127 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
1128 echo "configure:1129: checking for GNU ld" >&5
1130 echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
1131 echo "configure:1132: checking for non-GNU ld" >&5
1133 if eval "test \"`echo '$''{'ac_cv_path_LD'+set}'`\" = set"; then
1134 echo $ac_n "(cached) $ac_c" 1>&6
1136 if test -z "$LD"; then
1137 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1138 for ac_dir
in $PATH; do
1139 test -z "$ac_dir" && ac_dir
=.
1140 if test -f "$ac_dir/$ac_prog"; then
1141 ac_cv_path_LD
="$ac_dir/$ac_prog"
1142 # Check to see if the program is GNU ld. I'd rather use --version,
1143 # but apparently some GNU ld's only accept -v.
1144 # Break only if it was the GNU/non-GNU ld that we prefer.
1145 if "$ac_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
1146 test "$with_gnu_ld" != no
&& break
1148 test "$with_gnu_ld" != yes && break
1154 ac_cv_path_LD
="$LD" # Let the user override the test with a path.
1159 if test -n "$LD"; then
1160 echo "$ac_t""$LD" 1>&6
1162 echo "$ac_t""no" 1>&6
1164 test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
1166 echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
1167 echo "configure:1168: checking if the linker ($LD) is GNU ld" >&5
1168 if eval "test \"`echo '$''{'ac_cv_prog_gnu_ld'+set}'`\" = set"; then
1169 echo $ac_n "(cached) $ac_c" 1>&6
1171 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
1172 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
1173 ac_cv_prog_gnu_ld
=yes
1175 ac_cv_prog_gnu_ld
=no
1179 echo "$ac_t""$ac_cv_prog_gnu_ld" 1>&6
1182 echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
1183 echo "configure:1184: checking for BSD-compatible nm" >&5
1184 if eval "test \"`echo '$''{'ac_cv_path_NM'+set}'`\" = set"; then
1185 echo $ac_n "(cached) $ac_c" 1>&6
1189 ac_cv_path_NM
="$NM" # Let the user override the test with a path.
1192 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1193 for ac_dir
in /usr
/ucb
/usr
/ccs
/bin
$PATH /bin
; do
1194 test -z "$ac_dir" && ac_dir
=.
1195 if test -f $ac_dir/nm
; then
1196 # Check to see if the nm accepts a BSD-compat flag.
1197 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
1198 # nm: unknown option "B" ignored
1199 if ($ac_dir/nm
-B /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep /dev
/null
>/dev
/null
; then
1200 ac_cv_path_NM
="$ac_dir/nm -B"
1201 elif ($ac_dir/nm
-p /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep /dev
/null
>/dev
/null
; then
1202 ac_cv_path_NM
="$ac_dir/nm -p"
1204 ac_cv_path_NM
="$ac_dir/nm"
1210 test -z "$ac_cv_path_NM" && ac_cv_path_NM
=nm
1216 echo "$ac_t""$NM" 1>&6
1219 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
1220 echo "configure:1221: checking whether ln -s works" >&5
1221 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
1222 echo $ac_n "(cached) $ac_c" 1>&6
1225 if ln -s X conftestdata
2>/dev
/null
1228 ac_cv_prog_LN_S
="ln -s"
1233 LN_S
="$ac_cv_prog_LN_S"
1234 if test "$ac_cv_prog_LN_S" = "ln -s"; then
1235 echo "$ac_t""yes" 1>&6
1237 echo "$ac_t""no" 1>&6
1240 # Always use our own libtool.
1241 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
1243 # Check for any special flags to pass to ltconfig.
1245 test "$enable_shared" = no
&& libtool_flags
="$libtool_flags --disable-shared"
1246 test "$enable_static" = no
&& libtool_flags
="$libtool_flags --disable-static"
1247 test "$silent" = yes && libtool_flags
="$libtool_flags --silent"
1248 test "$ac_cv_prog_gcc" = yes && libtool_flags
="$libtool_flags --with-gcc"
1249 test "$ac_cv_prog_gnu_ld" = yes && libtool_flags
="$libtool_flags --with-gnu-ld"
1251 # Some flags need to be propagated to the compiler or linker for good
1255 # Find out which ABI we are using.
1256 echo '#line 1257 "configure"' > conftest.
$ac_ext
1257 if { (eval echo configure
:1258: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1258 case "`/usr/bin/file conftest.o`" in
1274 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
1275 CFLAGS
="$CFLAGS -belf"
1279 # Actually configure libtool. ac_aux_dir is where install-sh is found.
1280 CC
="$CC" CFLAGS
="$CFLAGS" CPPFLAGS
="$CPPFLAGS" \
1281 LD
="$LD" NM
="$NM" RANLIB
="$RANLIB" LN_S
="$LN_S" \
1282 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig \
1283 $libtool_flags --no-verify $ac_aux_dir/ltmain.sh
$host \
1284 ||
{ echo "configure: error: libtool configure failed" 1>&2; exit 1; }
1287 # ugh, automake: we want (and check for) bison
1288 for ac_prog
in 'bison -y' byacc
1290 # Extract the first word of "$ac_prog", so it can be a program name with args.
1291 set dummy
$ac_prog; ac_word
=$2
1292 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1293 echo "configure:1294: checking for $ac_word" >&5
1294 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
1295 echo $ac_n "(cached) $ac_c" 1>&6
1297 if test -n "$YACC"; then
1298 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
1300 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1301 for ac_dir
in $PATH; do
1302 test -z "$ac_dir" && ac_dir
=.
1303 if test -f $ac_dir/$ac_word; then
1304 ac_cv_prog_YACC
="$ac_prog"
1311 YACC
="$ac_cv_prog_YACC"
1312 if test -n "$YACC"; then
1313 echo "$ac_t""$YACC" 1>&6
1315 echo "$ac_t""no" 1>&6
1318 test -n "$YACC" && break
1320 test -n "$YACC" || YACC
="yacc"
1323 # ugh, automake: we want (and check for) flex
1324 # Extract the first word of "flex", so it can be a program name with args.
1325 set dummy flex
; ac_word
=$2
1326 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1327 echo "configure:1328: checking for $ac_word" >&5
1328 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
1329 echo $ac_n "(cached) $ac_c" 1>&6
1331 if test -n "$LEX"; then
1332 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
1334 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1335 for ac_dir
in $PATH; do
1336 test -z "$ac_dir" && ac_dir
=.
1337 if test -f $ac_dir/$ac_word; then
1338 ac_cv_prog_LEX
="flex"
1343 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
1346 LEX
="$ac_cv_prog_LEX"
1347 if test -n "$LEX"; then
1348 echo "$ac_t""$LEX" 1>&6
1350 echo "$ac_t""no" 1>&6
1353 if test -z "$LEXLIB"
1359 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
1360 echo "configure:1361: checking for yywrap in -l$ac_lib" >&5
1361 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
1362 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1363 echo $ac_n "(cached) $ac_c" 1>&6
1365 ac_save_LIBS
="$LIBS"
1366 LIBS
="-l$ac_lib $LIBS"
1367 cat > conftest.
$ac_ext <<EOF
1368 #line 1369 "configure"
1369 #include "confdefs.h"
1370 /* Override any gcc2 internal prototype to avoid an error. */
1371 /* We use char because int might match the return type of a gcc2
1372 builtin and then its argument prototype would still apply. */
1379 if { (eval echo configure
:1380: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1381 eval "ac_cv_lib_$ac_lib_var=yes"
1383 echo "configure: failed program was:" >&5
1384 cat conftest.
$ac_ext >&5
1386 eval "ac_cv_lib_$ac_lib_var=no"
1389 LIBS
="$ac_save_LIBS"
1392 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1393 echo "$ac_t""yes" 1>&6
1396 echo "$ac_t""no" 1>&6
1402 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
1403 echo "configure:1404: checking how to run the C preprocessor" >&5
1404 # On Suns, sometimes $CPP names a directory.
1405 if test -n "$CPP" && test -d "$CPP"; then
1408 if test -z "$CPP"; then
1409 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
1410 echo $ac_n "(cached) $ac_c" 1>&6
1412 # This must be in double quotes, not single quotes, because CPP may get
1413 # substituted into the Makefile and "${CC-cc}" will confuse make.
1415 # On the NeXT, cc -E runs the code through the compiler's parser,
1416 # not just through cpp.
1417 cat > conftest.
$ac_ext <<EOF
1418 #line 1419 "configure"
1419 #include "confdefs.h"
1423 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1424 { (eval echo configure
:1425: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1425 ac_err
=`grep -v '^ *+' conftest.out`
1426 if test -z "$ac_err"; then
1430 echo "configure: failed program was:" >&5
1431 cat conftest.
$ac_ext >&5
1433 CPP
="${CC-cc} -E -traditional-cpp"
1434 cat > conftest.
$ac_ext <<EOF
1435 #line 1436 "configure"
1436 #include "confdefs.h"
1440 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1441 { (eval echo configure
:1442: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1442 ac_err
=`grep -v '^ *+' conftest.out`
1443 if test -z "$ac_err"; then
1447 echo "configure: failed program was:" >&5
1448 cat conftest.
$ac_ext >&5
1455 ac_cv_prog_CPP
="$CPP"
1457 CPP
="$ac_cv_prog_CPP"
1459 ac_cv_prog_CPP
="$CPP"
1461 echo "$ac_t""$CPP" 1>&6
1463 echo $ac_n "checking lex output file root""... $ac_c" 1>&6
1464 echo "configure:1465: checking lex output file root" >&5
1465 if eval "test \"`echo '$''{'ac_cv_prog_lex_root'+set}'`\" = set"; then
1466 echo $ac_n "(cached) $ac_c" 1>&6
1468 # The minimal lex program is just a single line: %%. But some broken lexes
1469 # (Solaris, I think it was) want two %% lines, so accommodate them.
1472 if test -f lex.yy.c
; then
1473 ac_cv_prog_lex_root
=lex.yy
1474 elif test -f lexyy.c
; then
1475 ac_cv_prog_lex_root
=lexyy
1477 { echo "configure: error: cannot find output from $LEX; giving up" 1>&2; exit 1; }
1481 echo "$ac_t""$ac_cv_prog_lex_root" 1>&6
1482 LEX_OUTPUT_ROOT
=$ac_cv_prog_lex_root
1484 echo $ac_n "checking whether yytext is a pointer""... $ac_c" 1>&6
1485 echo "configure:1486: checking whether yytext is a pointer" >&5
1486 if eval "test \"`echo '$''{'ac_cv_prog_lex_yytext_pointer'+set}'`\" = set"; then
1487 echo $ac_n "(cached) $ac_c" 1>&6
1489 # POSIX says lex can declare yytext either as a pointer or an array; the
1490 # default is implementation-dependent. Figure out which it is, since
1491 # not all implementations provide the %pointer and %array declarations.
1492 ac_cv_prog_lex_yytext_pointer
=no
1493 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
1494 ac_save_LIBS
="$LIBS"
1495 LIBS
="$LIBS $LEXLIB"
1496 cat > conftest.
$ac_ext <<EOF
1497 #line 1498 "configure"
1498 #include "confdefs.h"
1499 `cat $LEX_OUTPUT_ROOT.c`
1504 if { (eval echo configure
:1505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1506 ac_cv_prog_lex_yytext_pointer
=yes
1508 echo "configure: failed program was:" >&5
1509 cat conftest.
$ac_ext >&5
1512 LIBS
="$ac_save_LIBS"
1513 rm -f "${LEX_OUTPUT_ROOT}.c"
1517 echo "$ac_t""$ac_cv_prog_lex_yytext_pointer" 1>&6
1518 if test $ac_cv_prog_lex_yytext_pointer = yes; then
1519 cat >> confdefs.h
<<\EOF
1520 #define YYTEXT_POINTER 1
1526 ac_cv_prog_lex_root
=lex.yy
1536 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1537 ac_cpp
='$CXXCPP $CPPFLAGS'
1538 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1539 ac_link
='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1540 cross_compiling
=$ac_cv_prog_cxx_cross
1543 # Check whether --enable-printing or --disable-printing was given.
1544 if test "${enable_printing+set}" = set; then
1545 enableval
="$enable_printing"
1546 printing_b
=$enableval
1550 # Check whether --enable-checking or --disable-checking was given.
1551 if test "${enable_checking+set}" = set; then
1552 enableval
="$enable_checking"
1553 checking_b
=$enableval
1557 # Check whether --enable-optimise or --disable-optimise was given.
1558 if test "${enable_optimise+set}" = set; then
1559 enableval
="$enable_optimise"
1560 optimise_b
=$enableval
1564 # Check whether --enable-profiling or --disable-profiling was given.
1565 if test "${enable_profiling+set}" = set; then
1566 enableval
="$enable_profiling"
1567 profile_b
=$enableval
1571 # Check whether --enable-debugging or --disable-debugging was given.
1572 if test "${enable_debugging+set}" = set; then
1573 enableval
="$enable_debugging"
1578 # Check whether --enable-mingw-prefix or --disable-mingw-prefix was given.
1579 if test "${enable_mingw_prefix+set}" = set; then
1580 enableval
="$enable_mingw_prefix"
1581 MINGWPREFIX
=$enableval
1587 # Check whether --enable-tex-prefix or --disable-tex-prefix was given.
1588 if test "${enable_tex_prefix+set}" = set; then
1589 enableval
="$enable_tex_prefix"
1590 TEXPREFIX
=$enableval
1596 # Check whether --enable-tex-dir or --disable-tex-dir was given.
1597 if test "${enable_tex_dir+set}" = set; then
1598 enableval
="$enable_tex_dir"
1605 # Check whether --enable-mf-dir or --disable-mf-dir was given.
1606 if test "${enable_mf_dir+set}" = set; then
1607 enableval
="$enable_mf_dir"
1614 if test "$printing_b" = no
; then
1615 cat >> confdefs.h
<<\EOF
1621 if test "$checking_b" = no
; then
1622 cat >> confdefs.h
<<\EOF
1628 if test "$optimise_b" = yes; then
1629 DEFINES
="$DEFINES -finline-functions -O2 -DSTRING_UTILS_INLINED"
1630 cat >> confdefs.h
<<\EOF
1631 #define STRINGS_UTILS_INLINED 1
1636 if test $profile_b = yes; then
1638 DEFINES
="$DEFINES -pg"
1641 if test $debug_b = yes; then
1642 DEFINES
="$DEFINES -g"
1645 # however, C++ support in mingw32 v 0.1.4 is still flaky
1646 if test x
$MINGWPREFIX != xno
; then
1647 ICFLAGS
="-I$MINGWPREFIX/include"
1648 ILDFLAGS
="-$MINGWPREFIX/lib"
1651 if test "x$OSTYPE" = "xWindows_NT"; then
1652 LN
=cp # hard link does not work under cygnus-nt (yet?)
1659 AUTOGENERATE
="This file was automatically generated by configure"
1660 CPPFLAGS
=${CPPFLAGS:-""} # we don't want -g -O junk
1661 # CXXFLAGS=${CXXFLAGS:-""} # we don't want -g -O junk
1663 LDFLAGS
=$EXTRA_LIBES
1665 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++
1667 # Extract the first word of "$ac_prog", so it can be a program name with args.
1668 set dummy
$ac_prog; ac_word
=$2
1669 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1670 echo "configure:1671: checking for $ac_word" >&5
1671 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
1672 echo $ac_n "(cached) $ac_c" 1>&6
1674 if test -n "$CXX"; then
1675 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
1677 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1678 for ac_dir
in $PATH; do
1679 test -z "$ac_dir" && ac_dir
=.
1680 if test -f $ac_dir/$ac_word; then
1681 ac_cv_prog_CXX
="$ac_prog"
1688 CXX
="$ac_cv_prog_CXX"
1689 if test -n "$CXX"; then
1690 echo "$ac_t""$CXX" 1>&6
1692 echo "$ac_t""no" 1>&6
1695 test -n "$CXX" && break
1697 test -n "$CXX" || CXX
="gcc"
1700 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
1701 echo "configure:1702: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
1704 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1705 ac_cpp
='$CXXCPP $CPPFLAGS'
1706 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1707 ac_link
='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1708 cross_compiling
=$ac_cv_prog_cxx_cross
1710 cat > conftest.
$ac_ext <<EOF
1711 #line 1712 "configure"
1712 #include "confdefs.h"
1715 if { (eval echo configure
:1716: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1716 ac_cv_prog_cxx_works
=yes
1717 # If we can't run a trivial program, we are probably using a cross compiler.
1718 if (.
/conftest
; exit) 2>/dev
/null
; then
1719 ac_cv_prog_cxx_cross
=no
1721 ac_cv_prog_cxx_cross
=yes
1724 echo "configure: failed program was:" >&5
1725 cat conftest.
$ac_ext >&5
1726 ac_cv_prog_cxx_works
=no
1730 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
1731 if test $ac_cv_prog_cxx_works = no
; then
1732 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
1734 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
1735 echo "configure:1736: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
1736 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
1737 cross_compiling
=$ac_cv_prog_cxx_cross
1739 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
1740 echo "configure:1741: checking whether we are using GNU C++" >&5
1741 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
1742 echo $ac_n "(cached) $ac_c" 1>&6
1744 cat > conftest.C
<<EOF
1749 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:1750: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } |
egrep yes >/dev
/null
2>&1; then
1756 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
1758 if test $ac_cv_prog_gxx = yes; then
1760 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
1761 ac_save_CXXFLAGS
="$CXXFLAGS"
1763 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
1764 echo "configure:1765: checking whether ${CXX-g++} accepts -g" >&5
1765 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
1766 echo $ac_n "(cached) $ac_c" 1>&6
1768 echo 'void f(){}' > conftest.cc
1769 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
1770 ac_cv_prog_cxx_g
=yes
1778 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
1779 if test "$ac_test_CXXFLAGS" = set; then
1780 CXXFLAGS
="$ac_save_CXXFLAGS"
1781 elif test $ac_cv_prog_cxx_g = yes; then
1788 test "${CXXFLAGS+set}" = set || CXXFLAGS
="-g"
1792 # Find a good install program. We prefer a C program (faster),
1793 # so one script is as good as another. But avoid the broken or
1794 # incompatible versions:
1795 # SysV /etc/install, /usr/sbin/install
1796 # SunOS /usr/etc/install
1797 # IRIX /sbin/install
1799 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1800 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1801 # ./install, which can be erroneously created by make from ./install.sh.
1802 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1803 echo "configure:1804: checking for a BSD compatible install" >&5
1804 if test -z "$INSTALL"; then
1805 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1806 echo $ac_n "(cached) $ac_c" 1>&6
1808 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
="${IFS}:"
1809 for ac_dir
in $PATH; do
1810 # Account for people who put trailing slashes in PATH elements.
1812 /|.
/|.
//|
/etc
/*|
/usr
/sbin
/*|
/usr
/etc
/*|
/sbin
/*|
/usr
/afsws
/bin
/*|
/usr
/ucb
/*) ;;
1814 # OSF1 and SCO ODT 3.0 have their own names for install.
1815 for ac_prog
in ginstall installbsd scoinst
install; do
1816 if test -f $ac_dir/$ac_prog; then
1817 if test $ac_prog = install &&
1818 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
1819 # AIX install. It has an incompatible calling convention.
1820 # OSF/1 installbsd also uses dspmsg, but is usable.
1823 ac_cv_path_install
="$ac_dir/$ac_prog -c"
1834 if test "${ac_cv_path_install+set}" = set; then
1835 INSTALL
="$ac_cv_path_install"
1837 # As a last resort, use the slow shell script. We don't cache a
1838 # path for INSTALL within a source directory, because that will
1839 # break other packages using the cache if that directory is
1840 # removed, or if the path is relative.
1841 INSTALL
="$ac_install_sh"
1844 echo "$ac_t""$INSTALL" 1>&6
1846 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1847 # It thinks the first close brace ends the variable substitution.
1848 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1850 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1854 # Extract the first word of "$ac_prog", so it can be a program name with args.
1855 set dummy
$ac_prog; ac_word
=$2
1856 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1857 echo "configure:1858: checking for $ac_word" >&5
1858 if eval "test \"`echo '$''{'ac_cv_prog_TAR'+set}'`\" = set"; then
1859 echo $ac_n "(cached) $ac_c" 1>&6
1861 if test -n "$TAR"; then
1862 ac_cv_prog_TAR
="$TAR" # Let the user override the test.
1864 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1865 for ac_dir
in $PATH; do
1866 test -z "$ac_dir" && ac_dir
=.
1867 if test -f $ac_dir/$ac_word; then
1868 ac_cv_prog_TAR
="$ac_prog"
1875 TAR
="$ac_cv_prog_TAR"
1876 if test -n "$TAR"; then
1877 echo "$ac_t""$TAR" 1>&6
1879 echo "$ac_t""no" 1>&6
1882 test -n "$TAR" && break
1884 test -n "$TAR" || TAR
="error"
1888 # Extract the first word of "$ac_prog", so it can be a program name with args.
1889 set dummy
$ac_prog; ac_word
=$2
1890 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1891 echo "configure:1892: checking for $ac_word" >&5
1892 if eval "test \"`echo '$''{'ac_cv_prog_FIND'+set}'`\" = set"; then
1893 echo $ac_n "(cached) $ac_c" 1>&6
1895 if test -n "$FIND"; then
1896 ac_cv_prog_FIND
="$FIND" # Let the user override the test.
1898 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1899 for ac_dir
in $PATH; do
1900 test -z "$ac_dir" && ac_dir
=.
1901 if test -f $ac_dir/$ac_word; then
1902 ac_cv_prog_FIND
="$ac_prog"
1909 FIND
="$ac_cv_prog_FIND"
1910 if test -n "$FIND"; then
1911 echo "$ac_t""$FIND" 1>&6
1913 echo "$ac_t""no" 1>&6
1916 test -n "$FIND" && break
1918 test -n "$FIND" || FIND
="error"
1922 if test $FIND = "error"
1925 echo "configure: warning: can't find \`find\'. Please use --enable-tex-dir. " 1>&2
1932 cat >> confdefs.h
<<EOF
1933 #define TOPLEVEL_VERSION "${FULL_VERSION}"
1936 cat >> confdefs.h
<<EOF
1937 #define FLOWER_VERSION "${FULL_FLOWER_VERSION}"
1940 # ugh: produces "${prefix}/share/lilypond"
1941 # DIR_DATADIR=$datadir/lilypond
1942 # ugh: produces "NONE/share/lilypond"
1943 # DIR_DATADIR=$prefix/share/lilypond
1945 DIR_DATADIR
=$prefix/share
/lilypond
1946 if test x
$prefix = xNONE
; then
1947 DIR_DATADIR
=/usr
/local
/share
/lilypond
1949 cat >> confdefs.h
<<EOF
1950 #define DIR_DATADIR "${DIR_DATADIR}"
1954 absolute_builddir
="`pwd`"
1978 for ac_prog
in bison
1980 # Extract the first word of "$ac_prog", so it can be a program name with args.
1981 set dummy
$ac_prog; ac_word
=$2
1982 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1983 echo "configure:1984: checking for $ac_word" >&5
1984 if eval "test \"`echo '$''{'ac_cv_prog_BISON'+set}'`\" = set"; then
1985 echo $ac_n "(cached) $ac_c" 1>&6
1987 if test -n "$BISON"; then
1988 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
1990 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1991 for ac_dir
in $PATH; do
1992 test -z "$ac_dir" && ac_dir
=.
1993 if test -f $ac_dir/$ac_word; then
1994 ac_cv_prog_BISON
="$ac_prog"
2001 BISON
="$ac_cv_prog_BISON"
2002 if test -n "$BISON"; then
2003 echo "$ac_t""$BISON" 1>&6
2005 echo "$ac_t""no" 1>&6
2008 test -n "$BISON" && break
2010 test -n "$BISON" || BISON
="error"
2014 # Extract the first word of "$ac_prog", so it can be a program name with args.
2015 set dummy
$ac_prog; ac_word
=$2
2016 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2017 echo "configure:2018: checking for $ac_word" >&5
2018 if eval "test \"`echo '$''{'ac_cv_prog_FLEX'+set}'`\" = set"; then
2019 echo $ac_n "(cached) $ac_c" 1>&6
2021 if test -n "$FLEX"; then
2022 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
2024 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
2025 for ac_dir
in $PATH; do
2026 test -z "$ac_dir" && ac_dir
=.
2027 if test -f $ac_dir/$ac_word; then
2028 ac_cv_prog_FLEX
="$ac_prog"
2035 FLEX
="$ac_cv_prog_FLEX"
2036 if test -n "$FLEX"; then
2037 echo "$ac_t""$FLEX" 1>&6
2039 echo "$ac_t""no" 1>&6
2042 test -n "$FLEX" && break
2044 test -n "$FLEX" || FLEX
="error"
2048 # Extract the first word of "$ac_prog", so it can be a program name with args.
2049 set dummy
$ac_prog; ac_word
=$2
2050 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2051 echo "configure:2052: checking for $ac_word" >&5
2052 if eval "test \"`echo '$''{'ac_cv_prog_MAKE'+set}'`\" = set"; then
2053 echo $ac_n "(cached) $ac_c" 1>&6
2055 if test -n "$MAKE"; then
2056 ac_cv_prog_MAKE
="$MAKE" # Let the user override the test.
2058 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
2059 for ac_dir
in $PATH; do
2060 test -z "$ac_dir" && ac_dir
=.
2061 if test -f $ac_dir/$ac_word; then
2062 ac_cv_prog_MAKE
="$ac_prog"
2069 MAKE
="$ac_cv_prog_MAKE"
2070 if test -n "$MAKE"; then
2071 echo "$ac_t""$MAKE" 1>&6
2073 echo "$ac_t""no" 1>&6
2076 test -n "$MAKE" && break
2078 test -n "$MAKE" || MAKE
="error"
2080 # Extract the first word of "perl", so it can be a program name with args.
2081 set dummy perl
; ac_word
=$2
2082 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2083 echo "configure:2084: checking for $ac_word" >&5
2084 if eval "test \"`echo '$''{'ac_cv_path_PERL'+set}'`\" = set"; then
2085 echo $ac_n "(cached) $ac_c" 1>&6
2089 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
2092 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
2093 for ac_dir
in $PATH; do
2094 test -z "$ac_dir" && ac_dir
=.
2095 if test -f $ac_dir/$ac_word; then
2096 ac_cv_path_PERL
="$ac_dir/$ac_word"
2101 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL
="error"
2105 PERL
="$ac_cv_path_PERL"
2106 if test -n "$PERL"; then
2107 echo "$ac_t""$PERL" 1>&6
2109 echo "$ac_t""no" 1>&6
2112 # Extract the first word of "python", so it can be a program name with args.
2113 set dummy python
; ac_word
=$2
2114 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2115 echo "configure:2116: checking for $ac_word" >&5
2116 if eval "test \"`echo '$''{'ac_cv_path_PYTHON'+set}'`\" = set"; then
2117 echo $ac_n "(cached) $ac_c" 1>&6
2121 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
2124 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
2125 for ac_dir
in $PATH; do
2126 test -z "$ac_dir" && ac_dir
=.
2127 if test -f $ac_dir/$ac_word; then
2128 ac_cv_path_PYTHON
="$ac_dir/$ac_word"
2133 test -z "$ac_cv_path_PYTHON" && ac_cv_path_PYTHON
="error"
2137 PYTHON
="$ac_cv_path_PYTHON"
2138 if test -n "$PYTHON"; then
2139 echo "$ac_t""$PYTHON" 1>&6
2141 echo "$ac_t""no" 1>&6
2144 for ac_prog
in pod2html
2146 # Extract the first word of "$ac_prog", so it can be a program name with args.
2147 set dummy
$ac_prog; ac_word
=$2
2148 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2149 echo "configure:2150: checking for $ac_word" >&5
2150 if eval "test \"`echo '$''{'ac_cv_prog_POD2HTML'+set}'`\" = set"; then
2151 echo $ac_n "(cached) $ac_c" 1>&6
2153 if test -n "$POD2HTML"; then
2154 ac_cv_prog_POD2HTML
="$POD2HTML" # Let the user override the test.
2156 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
2157 for ac_dir
in $PATH; do
2158 test -z "$ac_dir" && ac_dir
=.
2159 if test -f $ac_dir/$ac_word; then
2160 ac_cv_prog_POD2HTML
="$ac_prog"
2167 POD2HTML
="$ac_cv_prog_POD2HTML"
2168 if test -n "$POD2HTML"; then
2169 echo "$ac_t""$POD2HTML" 1>&6
2171 echo "$ac_t""no" 1>&6
2174 test -n "$POD2HTML" && break
2176 test -n "$POD2HTML" || POD2HTML
="error"
2178 for ac_prog
in pod2man
2180 # Extract the first word of "$ac_prog", so it can be a program name with args.
2181 set dummy
$ac_prog; ac_word
=$2
2182 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2183 echo "configure:2184: checking for $ac_word" >&5
2184 if eval "test \"`echo '$''{'ac_cv_prog_POD2MAN'+set}'`\" = set"; then
2185 echo $ac_n "(cached) $ac_c" 1>&6
2187 if test -n "$POD2MAN"; then
2188 ac_cv_prog_POD2MAN
="$POD2MAN" # Let the user override the test.
2190 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
2191 for ac_dir
in $PATH; do
2192 test -z "$ac_dir" && ac_dir
=.
2193 if test -f $ac_dir/$ac_word; then
2194 ac_cv_prog_POD2MAN
="$ac_prog"
2201 POD2MAN
="$ac_cv_prog_POD2MAN"
2202 if test -n "$POD2MAN"; then
2203 echo "$ac_t""$POD2MAN" 1>&6
2205 echo "$ac_t""no" 1>&6
2208 test -n "$POD2MAN" && break
2210 test -n "$POD2MAN" || POD2MAN
="error"
2214 if test "x$TEXPREFIX" = xauto
; then
2218 echo $ac_n "checking TeX/MF root dir directory""... $ac_c" 1>&6
2219 echo "configure:2220: checking TeX/MF root dir directory" >&5
2221 find_root_prefix
="$prefix"
2224 test "x$find_root_prefix" = xNONE
&& find_root_prefix
="$ac_default_prefix"
2226 for postfix
in "/lib/tex/" "/lib/texmf" "/lib" "/tex" "/texmf"; do
2227 find_texprefix
="$find_root_prefix$postfix"
2228 if test -d $find_texprefix; then
2229 find_texpostfix
=$postfix
2234 if test "x$find_texpostfix" = x
; then
2235 find_texpostfix
='/lib/texmf/tex'
2237 echo "configure: warning: Cannot determine the TeX-directory. Please use --enable-tex-prefix" 1>&2
2242 find_texprefix
="$find_root_prefix/$find_texpostfix"
2244 # only assign if variablename not empty
2245 if test x
!= "x$TEXPREFIX"; then
2246 TEXPREFIX
='${prefix}'/"$find_texpostfix"
2248 echo "$ac_t""$find_texprefix" 1>&6
2252 find_texprefix
=$TEXPREFIX
2255 if test "x$MFDIR" = xauto
; then
2259 echo $ac_n "checking MF input directory""... $ac_c" 1>&6
2260 echo "configure:2261: checking MF input directory" >&5
2261 find_dirdir
=`(cd $find_texprefix;
2262 $FIND ./ -type d -a -name source -print |sort|head -1|sed 's#^\./##')`
2265 if test "x$find_dirdir" = x
; then
2266 find_dirdir
="/source";
2268 echo "configure: warning: Cannot determine MF input subdirectory. Please set from command-line" 1>&2
2274 echo "$ac_t""$find_texprefix/$find_dirdir" 1>&6
2276 MFDIR
="$TEXPREFIX/$MFDIR"
2280 if test "x$TEXDIR" = xauto
; then
2284 echo $ac_n "checking TeX input directory""... $ac_c" 1>&6
2285 echo "configure:2286: checking TeX input directory" >&5
2286 find_dirdir
=`(cd $find_texprefix;
2287 $FIND ./ -type d -a -name tex -print |sort|head -1|sed 's#^\./##')`
2290 if test "x$find_dirdir" = x
; then
2293 echo "configure: warning: Cannot determine TeX input subdirectory. Please set from command-line" 1>&2
2299 echo "$ac_t""$find_texprefix/$find_dirdir" 1>&6
2301 TEXDIR
="$TEXPREFIX/$TEXDIR"
2306 # AC_JUNK_ARGS( [if test "x$MFDIR" = xauto; then
2307 # AC_MF_SUBDIR(MFDIR)
2312 if test $MAKE = "error"
2315 echo "configure: warning: can't find GNU make. You should install GNU make" 1>&2
2321 if test $BISON = "error"
2324 echo "configure: warning: can't find bison. Please install Bison" 1>&2
2330 if test $PERL = "error"
2333 echo "configure: warning: can't find perl. You should install Perl" 1>&2
2339 if test $PYTHON = "error"
2342 echo "configure: warning: can't find python. You should install Python" 1>&2
2348 if test $FLEX = "error"
2351 echo "configure: warning: can't find flex. Please install Flex" 1>&2
2357 if test $POD2MAN = "error"
2360 echo "configure: warning: can't find pod. You should install Perl" 1>&2
2367 if test $MAKE != "error" ; then
2368 $MAKE -v|
grep GNU
> /dev
/null
2372 echo "configure: warning: Please install *GNU* make" 1>&2
2378 if test $BISON != "error"; then
2379 bison_version
=`$BISON --version| sed 's/^.*version 1.//g' `
2380 if test $bison_version -lt 25; then
2382 echo "configure: warning: Your bison is too old (1.$bison_version). Please install 1.25" 1>&2
2390 if $CXX --version |
grep '2\.[78]' > /dev
/null
2395 echo "configure: warning: can't find g++ 2.7 or 2.8" 1>&2
2400 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
2401 echo "configure:2402: checking how to run the C++ preprocessor" >&5
2402 if test -z "$CXXCPP"; then
2403 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
2404 echo $ac_n "(cached) $ac_c" 1>&6
2407 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2408 ac_cpp
='$CXXCPP $CPPFLAGS'
2409 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2410 ac_link
='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2411 cross_compiling
=$ac_cv_prog_cxx_cross
2412 CXXCPP
="${CXX-g++} -E"
2413 cat > conftest.
$ac_ext <<EOF
2414 #line 2415 "configure"
2415 #include "confdefs.h"
2418 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2419 { (eval echo configure
:2420: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2420 ac_err
=`grep -v '^ *+' conftest.out`
2421 if test -z "$ac_err"; then
2425 echo "configure: failed program was:" >&5
2426 cat conftest.
$ac_ext >&5
2431 ac_cv_prog_CXXCPP
="$CXXCPP"
2434 CXXCPP
="$ac_cv_prog_CXXCPP"
2435 echo "$ac_t""$CXXCPP" 1>&6
2437 ac_safe
=`echo "FlexLexer.h" | sed 'y%./+-%__p_%'`
2438 echo $ac_n "checking for FlexLexer.h""... $ac_c" 1>&6
2439 echo "configure:2440: checking for FlexLexer.h" >&5
2440 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2441 echo $ac_n "(cached) $ac_c" 1>&6
2443 cat > conftest.
$ac_ext <<EOF
2444 #line 2445 "configure"
2445 #include "confdefs.h"
2446 #include <FlexLexer.h>
2448 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2449 { (eval echo configure
:2450: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2450 ac_err
=`grep -v '^ *+' conftest.out`
2451 if test -z "$ac_err"; then
2453 eval "ac_cv_header_$ac_safe=yes"
2456 echo "configure: failed program was:" >&5
2457 cat conftest.
$ac_ext >&5
2459 eval "ac_cv_header_$ac_safe=no"
2463 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2464 echo "$ac_t""yes" 1>&6
2467 echo "$ac_t""no" 1>&6
2469 echo "configure: warning: can't find flex header. Please install Flex headers correctly" 1>&2
2480 # first do Foobar/Makefile then Foobar/include/Makefile
2482 cat > confcache
<<\EOF
2483 # This file is a shell script that caches the results of configure
2484 # tests run on this system so they can be shared between configure
2485 # scripts and configure runs. It is not useful on other systems.
2486 # If it contains results you don't want to keep, you may remove or edit it.
2488 # By default, configure uses ./config.cache as the cache file,
2489 # creating it if it does not exist already. You can give configure
2490 # the --cache-file=FILE option to use a different cache file; that is
2491 # what configure does when it calls configure scripts in
2492 # subdirectories, so they share the cache.
2493 # Giving --cache-file=/dev/null disables caching, for debugging configure.
2494 # config.status only pays attention to the cache file if you give it the
2495 # --recheck option to rerun configure.
2498 # The following way of writing the cache mishandles newlines in values,
2499 # but we know of no workaround that is simple, portable, and efficient.
2500 # So, don't put newlines in cache variables' values.
2501 # Ultrix sh set writes to stderr and can't be redirected directly,
2502 # and sets the high bit in the cache file unless we assign to the vars.
2504 case `(ac_space=' '; set) 2>&1` in
2506 # `set' does not quote correctly, so add quotes (double-quote substitution
2507 # turns \\\\ into \\, and sed turns \\ into \).
2509 -e "s/'/'\\\\''/g" \
2510 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
2513 # `set' quotes correctly as required by POSIX, so do not add quotes.
2514 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2517 if cmp -s $cache_file confcache
; then
2520 if test -w $cache_file; then
2521 echo "updating cache $cache_file"
2522 cat confcache
> $cache_file
2524 echo "not updating unwritable cache $cache_file"
2529 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
2531 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
2532 # Let make expand exec_prefix.
2533 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
2535 # Any assignment to VPATH causes Sun make to only execute
2536 # the first set of double-colon rules, so remove it if not needed.
2537 # If there is a colon in the path, we need to keep it.
2538 if test "x$srcdir" = x.
; then
2539 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
2542 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
2544 DEFS
=-DHAVE_CONFIG_H
2546 # Without the "./", some shells look in PATH for config.status.
2547 : ${CONFIG_STATUS=./config.status}
2549 echo creating
$CONFIG_STATUS
2550 rm -f $CONFIG_STATUS
2551 cat > $CONFIG_STATUS <<EOF
2553 # Generated automatically by configure.
2554 # Run this file to recreate the current configuration.
2555 # This directory was configured as follows,
2556 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
2558 # $0 $ac_configure_args
2560 # Compiler output produced by configure, useful for debugging
2561 # configure, is in ./config.log if it exists.
2563 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
2566 case "\$ac_option" in
2567 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2568 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
2569 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
2570 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
2571 echo "$CONFIG_STATUS generated by autoconf version 2.12"
2573 -help | --help | --hel | --he | --h)
2574 echo "\$ac_cs_usage"; exit 0 ;;
2575 *) echo "\$ac_cs_usage"; exit 1 ;;
2579 ac_given_srcdir=$srcdir
2580 ac_given_INSTALL="$INSTALL"
2582 trap 'rm -fr `echo "bin/Makefile flower/Makefile flower/include/Makefile
2583 flowertest/Makefile lib/Makefile lib/include/Makefile
2584 lily/Makefile lily/include/Makefile mf/Makefile mi2mu/Makefile
2585 mi2mu/include/Makefile debian/Makefile Documentation/Makefile
2586 init/Makefile input/Makefile tex/Makefile make/Makefile
2587 mutopia/Makefile mutopia/J.S.Bach/Makefile mutopia/Coriolan/Makefile
2588 test/Makefile Makefile
2589 bin/add-URLs bin/clean-diaper bin/clean-embeds bin/clean-fonts
2590 bin/conflily bin/convert-mudela bin/cvm bin/find-typenames bin/foo
2591 bin/genheader bin/ly2dvi bin/make-docxx bin/make-examples
2592 bin/make-patch bin/make-version bin/make-website bin/mf-deps
2593 bin/mf-to-table bin/mudela-book bin/ps-to-gifs bin/release
2594 bin/show-latest flower/config.hh:config.hh.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
2596 cat >> $CONFIG_STATUS <<EOF
2598 # Protect against being on the right side of a sed subst in config.status.
2599 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
2600 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
2603 s%@CFLAGS@%$CFLAGS%g
2604 s%@CPPFLAGS@%$CPPFLAGS%g
2605 s%@CXXFLAGS@%$CXXFLAGS%g
2607 s%@LDFLAGS@%$LDFLAGS%g
2609 s%@exec_prefix@%$exec_prefix%g
2610 s%@prefix@%$prefix%g
2611 s%@program_transform_name@%$program_transform_name%g
2612 s%@bindir@%$bindir%g
2613 s%@sbindir@%$sbindir%g
2614 s%@libexecdir@%$libexecdir%g
2615 s%@datadir@%$datadir%g
2616 s%@sysconfdir@%$sysconfdir%g
2617 s%@sharedstatedir@%$sharedstatedir%g
2618 s%@localstatedir@%$localstatedir%g
2619 s%@libdir@%$libdir%g
2620 s%@includedir@%$includedir%g
2621 s%@oldincludedir@%$oldincludedir%g
2622 s%@infodir@%$infodir%g
2623 s%@mandir@%$mandir%g
2624 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
2625 s%@INSTALL_DATA@%$INSTALL_DATA%g
2626 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
2627 s%@PACKAGE@%$PACKAGE%g
2628 s%@VERSION@%$VERSION%g
2629 s%@ACLOCAL@%$ACLOCAL%g
2630 s%@AUTOCONF@%$AUTOCONF%g
2631 s%@AUTOMAKE@%$AUTOMAKE%g
2632 s%@AUTOHEADER@%$AUTOHEADER%g
2633 s%@MAKEINFO@%$MAKEINFO%g
2634 s%@SET_MAKE@%$SET_MAKE%g
2635 s%@CURRENT@%$CURRENT%g
2636 s%@REVISION@%$REVISION%g
2639 s%@host_alias@%$host_alias%g
2640 s%@host_cpu@%$host_cpu%g
2641 s%@host_vendor@%$host_vendor%g
2642 s%@host_os@%$host_os%g
2643 s%@RANLIB@%$RANLIB%g
2648 s%@LIBTOOL@%$LIBTOOL%g
2651 s%@LEXLIB@%$LEXLIB%g
2653 s%@LEX_OUTPUT_ROOT@%$LEX_OUTPUT_ROOT%g
2657 s%@ICFLAGS@%$ICFLAGS%g
2658 s%@ILDFLAGS@%$ILDFLAGS%g
2659 s%@COMPILEINFO@%$COMPILEINFO%g
2660 s%@AUTOGENERATE@%$AUTOGENERATE%g
2665 s%@PYTHON@%$PYTHON%g
2667 s%@TEXPREFIX@%$TEXPREFIX%g
2668 s%@TEXDIR@%$TEXDIR%g
2670 s%@DIR_DATADIR@%$DIR_DATADIR%g
2671 s%@absolute_builddir@%$absolute_builddir%g
2672 s%@EXTRA_LIBES@%$EXTRA_LIBES%g
2674 s%@POD2HTML@%$POD2HTML%g
2675 s%@POD2MAN@%$POD2MAN%g
2676 s%@CXXCPP@%$CXXCPP%g
2681 cat >> $CONFIG_STATUS <<\EOF
2683 # Split the substitutions into bite-sized pieces for seds with
2684 # small command number limits, like on Digital OSF/1 and HP-UX.
2685 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
2686 ac_file
=1 # Number of current file.
2687 ac_beg
=1 # First line for current file.
2688 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
2691 while $ac_more_lines; do
2692 if test $ac_beg -gt 1; then
2693 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
2695 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
2697 if test ! -s conftest.s
$ac_file; then
2699 rm -f conftest.s
$ac_file
2701 if test -z "$ac_sed_cmds"; then
2702 ac_sed_cmds
="sed -f conftest.s$ac_file"
2704 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
2706 ac_file
=`expr $ac_file + 1`
2708 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
2711 if test -z "$ac_sed_cmds"; then
2716 cat >> $CONFIG_STATUS <<EOF
2718 CONFIG_FILES=\${CONFIG_FILES-"bin/Makefile flower/Makefile flower/include/Makefile
2719 flowertest/Makefile lib/Makefile lib/include/Makefile
2720 lily/Makefile lily/include/Makefile mf/Makefile mi2mu/Makefile
2721 mi2mu/include/Makefile debian/Makefile Documentation/Makefile
2722 init/Makefile input/Makefile tex/Makefile make/Makefile
2723 mutopia/Makefile mutopia/J.S.Bach/Makefile mutopia/Coriolan/Makefile
2724 test/Makefile Makefile
2725 bin/add-URLs bin/clean-diaper bin/clean-embeds bin/clean-fonts
2726 bin/conflily bin/convert-mudela bin/cvm bin/find-typenames bin/foo
2727 bin/genheader bin/ly2dvi bin/make-docxx bin/make-examples
2728 bin/make-patch bin/make-version bin/make-website bin/mf-deps
2729 bin/mf-to-table bin/mudela-book bin/ps-to-gifs bin/release
2732 cat >> $CONFIG_STATUS <<\EOF
2733 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
2734 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2736 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
2737 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
2738 *) ac_file_in
="${ac_file}.in" ;;
2741 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
2743 # Remove last slash and all that follows it. Not all systems have dirname.
2744 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
2745 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
2746 # The file is in a subdirectory.
2747 test ! -d "$ac_dir" && mkdir
"$ac_dir"
2748 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
2749 # A "../" for each directory in $ac_dir_suffix.
2750 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
2752 ac_dir_suffix
= ac_dots
=
2755 case "$ac_given_srcdir" in
2757 if test -z "$ac_dots"; then top_srcdir
=.
2758 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
2759 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
2761 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
2762 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
2765 case "$ac_given_INSTALL" in
2766 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
2767 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
2770 echo creating
"$ac_file"
2772 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
2774 *Makefile
*) ac_comsub
="1i\\
2775 # $configure_input" ;;
2779 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
2781 s%@configure_input@%$configure_input%g
2782 s%@srcdir@%$srcdir%g
2783 s%@top_srcdir@%$top_srcdir%g
2784 s%@INSTALL@%$INSTALL%g
2785 " $ac_file_inputs |
(eval "$ac_sed_cmds") > $ac_file
2789 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
2790 # NAME is the cpp macro being defined and VALUE is the value it is being given.
2792 # ac_d sets the value in "#define NAME VALUE" lines.
2793 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
2794 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
2797 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
2798 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
2799 ac_uB
='\([ ]\)%\1#\2define\3'
2802 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
2803 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
2804 ac_eB
='$%\1#\2define\3'
2808 if test "${CONFIG_HEADERS+set}" != set; then
2810 cat >> $CONFIG_STATUS <<EOF
2811 CONFIG_HEADERS="flower/config.hh:config.hh.in"
2813 cat >> $CONFIG_STATUS <<\EOF
2815 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
2816 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2818 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
2819 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
2820 *) ac_file_in
="${ac_file}.in" ;;
2823 echo creating
$ac_file
2825 rm -f conftest.frag conftest.
in conftest.out
2826 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
2827 cat $ac_file_inputs > conftest.
in
2831 # Transform confdefs.h into a sed script conftest.vals that substitutes
2832 # the proper values into config.h.in to produce config.h. And first:
2833 # Protect against being on the right side of a sed subst in config.status.
2834 # Protect against being in an unquoted here document in config.status.
2836 cat > conftest.hdr
<<\EOF
2839 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
2843 sed -n -f conftest.hdr confdefs.h > conftest.vals
2846 # This sed command replaces #undef with comments. This is necessary, for
2847 # example, in the case of _POSIX_SOURCE, which is predefined and required
2848 # on some systems where configure will not decide to define it.
2849 cat >> conftest.vals <<\EOF
2850 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
2853 # Break up conftest.vals because some shells have a limit on
2854 # the size of here documents, and old seds have small limits too.
2859 ac_lines=`grep -c . conftest.vals
`
2860 # grep -c gives empty output for an empty file on some AIX systems.
2861 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
2862 # Write a limited-size here document to conftest.frag.
2863 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
2864 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
2866 sed -f conftest.frag conftest.in > conftest.out
2868 mv conftest.out conftest.in
2870 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
2872 mv conftest.tail conftest.vals
2876 cat >> $CONFIG_STATUS <<\EOF
2877 rm -f conftest.frag conftest.h
2878 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
2879 cat conftest.in >> conftest.h
2881 if cmp -s $ac_file conftest.h 2>/dev/null; then
2882 echo "$ac_file is unchanged"
2885 # Remove last slash and all that follows it. Not all systems have dirname.
2886 ac_dir=`echo $ac_file|
sed 's%/[^/][^/]*$%%'`
2887 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
2888 # The file is in a subdirectory.
2889 test ! -d "$ac_dir" && mkdir "$ac_dir"
2892 mv conftest.h $ac_file
2897 cat >> $CONFIG_STATUS <<EOF
2901 cat >> $CONFIG_STATUS <<\EOF
2902 test -z "$CONFIG_HEADERS" || echo timestamp > flower/stamp-h
2906 chmod +x $CONFIG_STATUS
2907 rm -fr confdefs* $ac_clean_files
2908 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
2912 chmod 755 bin/add-URLs bin/clean-diaper bin/clean-embeds bin/clean-fonts bin/conflily bin/convert-mudela bin/cvm bin/find-typenames bin/foo bin/genheader bin/ly2dvi bin/make-docxx bin/make-examples bin/make-patch bin/make-version bin/make-website bin/mf-deps bin/mf-to-table bin/mudela-book bin/ps-to-gifs bin/release bin/show-latest