3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated automatically using autoconf version 2.10
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-printing set debug printing"
17 disable-checking set runtime checks"
19 disable-debug set debug info"
21 enable-optimise use maximal speed optimisations"
23 enable-profiling compile with gprof support"
25 texprefix=DIR set the tex-directory to put the lilypond subdir in."
27 # Initialize some variables set by options.
28 # The variables have the same names as the options, with
29 # dashes changed to underlines.
31 cache_file=./config.cache
40 program_transform_name=s,x,x,
48 bindir='${exec_prefix}/bin'
49 sbindir='${exec_prefix}/sbin'
50 libexecdir='${exec_prefix}/libexec'
51 datadir='${prefix}/share'
52 sysconfdir='${prefix}/etc'
53 sharedstatedir='${prefix}/com'
54 localstatedir='${prefix}/var'
55 libdir='${exec_prefix}/lib'
56 includedir='${prefix}/include'
57 oldincludedir='/usr/include'
58 infodir='${prefix}/info'
59 mandir='${prefix}/man'
61 # Initialize some other variables.
69 # If the previous option needs an argument, assign it.
70 if test -n "$ac_prev"; then
71 eval "$ac_prev=\$ac_option"
77 -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
81 # Accept the important Cygnus configure options, so we can diagnose typos.
85 -bindir | --bindir | --bindi | --bind | --bin | --bi)
87 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
88 bindir="$ac_optarg" ;;
90 -build | --build | --buil | --bui | --bu)
92 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
95 -cache-file | --cache-file | --cache-fil | --cache-fi \
96 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
98 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
99 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
100 cache_file="$ac_optarg" ;;
102 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
104 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
106 datadir="$ac_optarg" ;;
108 -disable-* | --disable-*)
109 ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
110 # Reject names that are not valid shell variable names.
111 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
112 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
114 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
115 eval "enable_${ac_feature}=no" ;;
117 -enable-* | --enable-*)
118 ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
119 # Reject names that are not valid shell variable names.
120 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
121 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
123 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
128 eval "enable_${ac_feature}='$ac_optarg'" ;;
130 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
131 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
132 | --exec | --exe | --ex)
133 ac_prev=exec_prefix ;;
134 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
135 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
136 | --exec=* | --exe=* | --ex=*)
137 exec_prefix="$ac_optarg" ;;
139 -gas | --gas | --ga | --g)
140 # Obsolete; use --with-gas.
143 -help | --help | --hel | --he)
144 # Omit some internal or obsolete options to make the list less imposing.
145 # This message is too long to be a string in the A/UX 3.1 sh.
147 Usage: configure [options] [host]
148 Options: [defaults in brackets after descriptions]
150 --cache-file=FILE cache test results in FILE
151 --help print this message
152 --no-create do not create output files
153 --quiet, --silent do not print \`checking...' messages
154 --version print the version of autoconf that created configure
155 Directory and file names:
156 --prefix=PREFIX install architecture-independent files in PREFIX
158 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
160 --bindir=DIR user executables in DIR [EPREFIX/bin]
161 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
162 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
163 --datadir=DIR read-only architecture-independent data in DIR
165 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
166 --sharedstatedir=DIR modifiable architecture-independent data in DIR
168 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
169 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
170 --includedir=DIR C header files in DIR [PREFIX/include]
171 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
172 --infodir=DIR info documentation in DIR [PREFIX/info]
173 --mandir=DIR man documentation in DIR [PREFIX/man]
174 --srcdir=DIR find the sources in DIR [configure dir or ..]
175 --program-prefix=PREFIX prepend PREFIX to installed program names
176 --program-suffix=SUFFIX append SUFFIX to installed program names
177 --program-transform-name=PROGRAM
178 run sed PROGRAM on installed program names
182 --build=BUILD configure for building on BUILD [BUILD=HOST]
183 --host=HOST configure for HOST [guessed]
184 --target=TARGET configure for TARGET [TARGET=HOST]
185 Features and packages:
186 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
187 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
188 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
189 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
190 --x-includes=DIR X include files are in DIR
191 --x-libraries=DIR X library files are in DIR
193 if test -n "$ac_help"; then
194 echo "--enable and --with options recognized:$ac_help"
198 -host | --host | --hos | --ho)
200 -host=* | --host=* | --hos=* | --ho=*)
203 -includedir | --includedir | --includedi | --included | --include \
204 | --includ | --inclu | --incl | --inc)
205 ac_prev=includedir ;;
206 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
207 | --includ=* | --inclu=* | --incl=* | --inc=*)
208 includedir="$ac_optarg" ;;
210 -infodir | --infodir | --infodi | --infod | --info | --inf)
212 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
213 infodir="$ac_optarg" ;;
215 -libdir | --libdir | --libdi | --libd)
217 -libdir=* | --libdir=* | --libdi=* | --libd=*)
218 libdir="$ac_optarg" ;;
220 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
221 | --libexe | --libex | --libe)
222 ac_prev=libexecdir ;;
223 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
224 | --libexe=* | --libex=* | --libe=*)
225 libexecdir="$ac_optarg" ;;
227 -localstatedir | --localstatedir | --localstatedi | --localstated \
228 | --localstate | --localstat | --localsta | --localst \
229 | --locals | --local | --loca | --loc | --lo)
230 ac_prev=localstatedir ;;
231 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
232 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
233 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
234 localstatedir="$ac_optarg" ;;
236 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
238 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
239 mandir="$ac_optarg" ;;
242 # Obsolete; use --without-fp.
245 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
249 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
250 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
253 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
254 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
255 | --oldin | --oldi | --old | --ol | --o)
256 ac_prev=oldincludedir ;;
257 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
258 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
259 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
260 oldincludedir="$ac_optarg" ;;
262 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
264 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
265 prefix="$ac_optarg" ;;
267 -program-prefix | --program-prefix | --program-prefi | --program-pref \
268 | --program-pre | --program-pr | --program-p)
269 ac_prev=program_prefix ;;
270 -program-prefix=* | --program-prefix=* | --program-prefi=* \
271 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
272 program_prefix="$ac_optarg" ;;
274 -program-suffix | --program-suffix | --program-suffi | --program-suff \
275 | --program-suf | --program-su | --program-s)
276 ac_prev=program_suffix ;;
277 -program-suffix=* | --program-suffix=* | --program-suffi=* \
278 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
279 program_suffix="$ac_optarg" ;;
281 -program-transform-name | --program-transform-name \
282 | --program-transform-nam | --program-transform-na \
283 | --program-transform-n | --program-transform- \
284 | --program-transform | --program-transfor \
285 | --program-transfo | --program-transf \
286 | --program-trans | --program-tran \
287 | --progr-tra | --program-tr | --program-t)
288 ac_prev=program_transform_name ;;
289 -program-transform-name=* | --program-transform-name=* \
290 | --program-transform-nam=* | --program-transform-na=* \
291 | --program-transform-n=* | --program-transform-=* \
292 | --program-transform=* | --program-transfor=* \
293 | --program-transfo=* | --program-transf=* \
294 | --program-trans=* | --program-tran=* \
295 | --progr-tra=* | --program-tr=* | --program-t=*)
296 program_transform_name="$ac_optarg" ;;
298 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
299 | -silent | --silent | --silen | --sile | --sil)
302 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
304 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
306 sbindir="$ac_optarg" ;;
308 -sharedstatedir | --sharedstatedir | --sharedstatedi \
309 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
310 | --sharedst | --shareds | --shared | --share | --shar \
312 ac_prev=sharedstatedir ;;
313 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
314 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
315 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
317 sharedstatedir="$ac_optarg" ;;
319 -site | --site | --sit)
321 -site=* | --site=* | --sit=*)
324 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
326 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
327 srcdir="$ac_optarg" ;;
329 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
330 | --syscon | --sysco | --sysc | --sys | --sy)
331 ac_prev=sysconfdir ;;
332 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
333 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
334 sysconfdir="$ac_optarg" ;;
336 -target | --target | --targe | --targ | --tar | --ta | --t)
338 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
339 target="$ac_optarg" ;;
341 -v | -verbose | --verbose | --verbos | --verbo | --verb)
344 -version | --version | --versio | --versi | --vers)
345 echo "configure generated by autoconf version 2.10"
349 ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
350 # Reject names that are not valid shell variable names.
351 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
352 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
354 ac_package=`echo $ac_package| sed 's/-/_/g'`
359 eval "with_${ac_package}='$ac_optarg'" ;;
361 -without-* | --without-*)
362 ac_package=`echo $ac_option|sed -e 's/-*without-//'`
363 # Reject names that are not valid shell variable names.
364 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
365 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
367 ac_package=`echo $ac_package| sed 's/-/_/g'`
368 eval "with_${ac_package}=no" ;;
371 # Obsolete; use --with-x.
374 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
375 | --x-incl | --x-inc | --x-in | --x-i)
376 ac_prev=x_includes ;;
377 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
378 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
379 x_includes="$ac_optarg" ;;
381 -x-libraries | --x-libraries | --x-librarie | --x-librari \
382 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
383 ac_prev=x_libraries ;;
384 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
385 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
386 x_libraries="$ac_optarg" ;;
388 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
392 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
393 echo "configure: warning: $ac_option: invalid host type" 1>&2
395 if test "x$nonopt" != xNONE; then
396 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
404 if test -n "$ac_prev"; then
405 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
408 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
410 # File descriptor usage:
413 # 2 errors and warnings
414 # 3 some systems may open it to /dev/tty
415 # 4 used on the Kubota Titan
416 # 6 checking for... messages and results
417 # 5 compiler messages saved in config.log
418 if test "$silent" = yes; then
426 This file contains any messages produced by compilers while
427 running configure, to aid debugging if configure makes a mistake.
430 # Strip out --no-create and --no-recursion so they do not pile up.
431 # Also quote any args containing shell metacharacters.
436 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
437 | --no-cr | --no-c) ;;
438 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
439 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
440 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
441 ac_configure_args="$ac_configure_args '$ac_arg'" ;;
442 *) ac_configure_args="$ac_configure_args $ac_arg" ;;
447 # Only set LANG and LC_ALL to C if already set.
448 # These must not be set unconditionally because not all systems understand
449 # e.g. LANG=C (notably SCO).
450 if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
451 if test "${LANG+set}" = set; then LANG=C; export LANG; fi
453 # confdefs.h avoids OS command line length limits that DEFS can exceed.
454 rm -rf conftest* confdefs.h
455 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
458 # A filename unique to this package, relative to the directory that
459 # configure is in, which we can look for to find out if srcdir is correct.
460 ac_unique_file=flower/choleski.cc
462 # Find the source files, if location was not specified.
463 if test -z "$srcdir"; then
464 ac_srcdir_defaulted=yes
465 # Try the directory containing this script, then its parent.
467 ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
468 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
470 if test ! -r $srcdir/$ac_unique_file; then
474 ac_srcdir_defaulted=no
476 if test ! -r $srcdir/$ac_unique_file; then
477 if test "$ac_srcdir_defaulted" = yes; then
478 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
480 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
483 srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
485 # Prefer explicitly selected file to automatically selected ones.
486 if test -z "$CONFIG_SITE"; then
487 if test "x$prefix" != xNONE; then
488 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
490 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
493 for ac_site_file in $CONFIG_SITE; do
494 if test -r "$ac_site_file"; then
495 echo "loading site script $ac_site_file"
500 if test -r "$cache_file"; then
501 echo "loading cache $cache_file"
504 echo "creating cache $cache_file"
509 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
510 ac_cpp='$CPP $CPPFLAGS'
511 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
512 ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
514 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
515 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
516 if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
523 ac_n= ac_c='\c' ac_t=
530 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
531 ac_cpp='$CXXCPP $CPPFLAGS'
532 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
533 ac_link='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
536 # Check whether --enable-printing or --disable-printing was given.
537 if test "${enable_printing+set}" = set; then
538 enableval="$enable_printing"
541 DEFINES="$DEFINES -DNPRINT=1"
544 # Check whether --enable-checking or --disable-checking was given.
545 if test "${enable_checking+set}" = set; then
546 enableval="$enable_checking"
547 DEFINES="$DEFINES -DNDEBUG=1"
550 # Check whether --enable-debug or --disable-debug was given.
551 if test "${enable_debug+set}" = set; then
552 enableval="$enable_debug"
555 DEFINES="$DEFINES -g"
558 # Check whether --enable-optimise or --disable-optimise was given.
559 if test "${enable_optimise+set}" = set; then
560 enableval="$enable_optimise"
561 DEFINES="$DEFINES -O2 -DSTRING_UTILS_INLINED"
564 # Check whether --enable-profiling or --disable-profiling was given.
565 if test "${enable_profiling+set}" = set; then
566 enableval="$enable_profiling"
567 DEFINES="$DEFINES -pg"
570 # Check whether --enable-texprefix or --disable-texprefix was given.
571 if test "${enable_texprefix+set}" = set; then
572 enableval="$enable_texprefix"
579 AUTOHEADER="This file was automatically generated by configure"
580 CXXFLAGS=${CXXFLAGS:-""} # we don't want -g -O junk
581 for ac_prog in $CCC c++ g++ gcc CC cxx
583 # Extract the first word of "$ac_prog", so it can be a program name with args.
584 set dummy $ac_prog; ac_word=$2
585 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
586 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
587 echo $ac_n "(cached) $ac_c" 1>&6
589 if test -n "$CXX"; then
590 ac_cv_prog_CXX="$CXX" # Let the user override the test.
592 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
593 for ac_dir in $PATH; do
594 test -z "$ac_dir" && ac_dir=.
595 if test -f $ac_dir/$ac_word; then
596 ac_cv_prog_CXX="$ac_prog"
603 CXX="$ac_cv_prog_CXX"
604 if test -n "$CXX"; then
605 echo "$ac_t""$CXX" 1>&6
607 echo "$ac_t""no" 1>&6
610 test -n "$CXX" && break
612 test -n "$CXX" || CXX="gcc"
615 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
616 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
617 echo $ac_n "(cached) $ac_c" 1>&6
619 cat > conftest.C <<EOF
624 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:625: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
631 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
632 if test $ac_cv_prog_gxx = yes; then
634 if test "${CXXFLAGS+set}" != set; then
635 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
636 if eval "test \"`echo '$''{'ac_cv_prog_gxx_g'+set}'`\" = set"; then
637 echo $ac_n "(cached) $ac_c" 1>&6
639 echo 'void f(){}' > conftest.cc
640 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
649 echo "$ac_t""$ac_cv_prog_gxx_g" 1>&6
650 if test $ac_cv_prog_gxx_g = yes; then
658 test "${CXXFLAGS+set}" = set || CXXFLAGS="-g"
661 # Extract the first word of "ranlib", so it can be a program name with args.
662 set dummy ranlib; ac_word=$2
663 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
664 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
665 echo $ac_n "(cached) $ac_c" 1>&6
667 if test -n "$RANLIB"; then
668 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
670 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
671 for ac_dir in $PATH; do
672 test -z "$ac_dir" && ac_dir=.
673 if test -f $ac_dir/$ac_word; then
674 ac_cv_prog_RANLIB="ranlib"
679 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
682 RANLIB="$ac_cv_prog_RANLIB"
683 if test -n "$RANLIB"; then
684 echo "$ac_t""$RANLIB" 1>&6
686 echo "$ac_t""no" 1>&6
690 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
691 if test -f $ac_dir/install-sh; then
693 ac_install_sh="$ac_aux_dir/install-sh -c"
695 elif test -f $ac_dir/install.sh; then
697 ac_install_sh="$ac_aux_dir/install.sh -c"
701 if test -z "$ac_aux_dir"; then
702 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
704 ac_config_guess=$ac_aux_dir/config.guess
705 ac_config_sub=$ac_aux_dir/config.sub
706 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
708 # Find a good install program. We prefer a C program (faster),
709 # so one script is as good as another. But avoid the broken or
710 # incompatible versions:
711 # SysV /etc/install, /usr/sbin/install
712 # SunOS /usr/etc/install
715 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
716 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
717 # ./install, which can be erroneously created by make from ./install.sh.
718 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
719 if test -z "$INSTALL"; then
720 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
721 echo $ac_n "(cached) $ac_c" 1>&6
723 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
724 for ac_dir in $PATH; do
725 # Account for people who put trailing slashes in PATH elements.
727 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
729 # OSF1 and SCO ODT 3.0 have their own names for install.
730 for ac_prog in ginstall installbsd scoinst install; do
731 if test -f $ac_dir/$ac_prog; then
732 if test $ac_prog = install &&
733 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
734 # AIX install. It has an incompatible calling convention.
735 # OSF/1 installbsd also uses dspmsg, but is usable.
738 ac_cv_path_install="$ac_dir/$ac_prog -c"
749 if test "${ac_cv_path_install+set}" = set; then
750 INSTALL="$ac_cv_path_install"
752 # As a last resort, use the slow shell script. We don't cache a
753 # path for INSTALL within a source directory, because that will
754 # break other packages using the cache if that directory is
755 # removed, or if the path is relative.
756 INSTALL="$ac_install_sh"
759 echo "$ac_t""$INSTALL" 1>&6
761 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
762 # It thinks the first close brace ends the variable substitution.
763 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
765 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
769 # Extract the first word of "$ac_prog", so it can be a program name with args.
770 set dummy $ac_prog; ac_word=$2
771 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
772 if eval "test \"`echo '$''{'ac_cv_prog_FIND'+set}'`\" = set"; then
773 echo $ac_n "(cached) $ac_c" 1>&6
775 if test -n "$FIND"; then
776 ac_cv_prog_FIND="$FIND" # Let the user override the test.
778 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
779 for ac_dir in $PATH; do
780 test -z "$ac_dir" && ac_dir=.
781 if test -f $ac_dir/$ac_word; then
782 ac_cv_prog_FIND="$ac_prog"
789 FIND="$ac_cv_prog_FIND"
790 if test -n "$FIND"; then
791 echo "$ac_t""$FIND" 1>&6
793 echo "$ac_t""no" 1>&6
796 test -n "$FIND" && break
798 test -n "$FIND" || FIND="error"
801 if test FIND = error; then
802 echo "configure: warning: Couldn't find \`find'. Please use --enable-texprefix" 1>&2
816 # Extract the first word of "$ac_prog", so it can be a program name with args.
817 set dummy $ac_prog; ac_word=$2
818 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
819 if eval "test \"`echo '$''{'ac_cv_prog_BISON'+set}'`\" = set"; then
820 echo $ac_n "(cached) $ac_c" 1>&6
822 if test -n "$BISON"; then
823 ac_cv_prog_BISON="$BISON" # Let the user override the test.
825 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
826 for ac_dir in $PATH; do
827 test -z "$ac_dir" && ac_dir=.
828 if test -f $ac_dir/$ac_word; then
829 ac_cv_prog_BISON="$ac_prog"
836 BISON="$ac_cv_prog_BISON"
837 if test -n "$BISON"; then
838 echo "$ac_t""$BISON" 1>&6
840 echo "$ac_t""no" 1>&6
843 test -n "$BISON" && break
845 test -n "$BISON" || BISON="error"
849 # Extract the first word of "$ac_prog", so it can be a program name with args.
850 set dummy $ac_prog; ac_word=$2
851 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
852 if eval "test \"`echo '$''{'ac_cv_prog_FLEX'+set}'`\" = set"; then
853 echo $ac_n "(cached) $ac_c" 1>&6
855 if test -n "$FLEX"; then
856 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
858 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
859 for ac_dir in $PATH; do
860 test -z "$ac_dir" && ac_dir=.
861 if test -f $ac_dir/$ac_word; then
862 ac_cv_prog_FLEX="$ac_prog"
869 FLEX="$ac_cv_prog_FLEX"
870 if test -n "$FLEX"; then
871 echo "$ac_t""$FLEX" 1>&6
873 echo "$ac_t""no" 1>&6
876 test -n "$FLEX" && break
878 test -n "$FLEX" || FLEX="error"
882 # Extract the first word of "$ac_prog", so it can be a program name with args.
883 set dummy $ac_prog; ac_word=$2
884 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
885 if eval "test \"`echo '$''{'ac_cv_prog_MAKE'+set}'`\" = set"; then
886 echo $ac_n "(cached) $ac_c" 1>&6
888 if test -n "$MAKE"; then
889 ac_cv_prog_MAKE="$MAKE" # Let the user override the test.
891 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
892 for ac_dir in $PATH; do
893 test -z "$ac_dir" && ac_dir=.
894 if test -f $ac_dir/$ac_word; then
895 ac_cv_prog_MAKE="$ac_prog"
902 MAKE="$ac_cv_prog_MAKE"
903 if test -n "$MAKE"; then
904 echo "$ac_t""$MAKE" 1>&6
906 echo "$ac_t""no" 1>&6
909 test -n "$MAKE" && break
911 test -n "$MAKE" || MAKE="error"
913 for ac_prog in pod2man
915 # Extract the first word of "$ac_prog", so it can be a program name with args.
916 set dummy $ac_prog; ac_word=$2
917 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
918 if eval "test \"`echo '$''{'ac_cv_prog_PODMAN'+set}'`\" = set"; then
919 echo $ac_n "(cached) $ac_c" 1>&6
921 if test -n "$PODMAN"; then
922 ac_cv_prog_PODMAN="$PODMAN" # Let the user override the test.
924 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
925 for ac_dir in $PATH; do
926 test -z "$ac_dir" && ac_dir=.
927 if test -f $ac_dir/$ac_word; then
928 ac_cv_prog_PODMAN="$ac_prog"
935 PODMAN="$ac_cv_prog_PODMAN"
936 if test -n "$PODMAN"; then
937 echo "$ac_t""$PODMAN" 1>&6
939 echo "$ac_t""no" 1>&6
942 test -n "$PODMAN" && break
944 test -n "$PODMAN" || PODMAN="error"
947 if test $TEXPREFIX = auto ; then
950 # do something sensible if root hasn't specced dir yet attempts install
952 echo $ac_n "checking TeX installation directory""... $ac_c" 1>&6
954 ac_tmp_prefix=$prefix
955 test "x$ac_tmp_prefix" = xNONE && ac_tmp_prefix=$ac_default_prefix
957 for texdir in $ac_tmp_prefix $ac_tmp_prefix/lib; do
958 if test -d $texdir/texmf; then
962 if test -d $texdir/tex; then
968 TEXPREFIX=$ac_tmp_prefix/lib/texmf/tex
969 if test x = "x$TEXTOP"; then
970 echo "configure: warning: Cannot determine a tex-directory. Please use --enable-texprefix" 1>&2
972 TEXPREFIX=`$FIND $TEXTOP -type d -a -name tex -print |sort|head -1`
976 echo "$ac_t""$TEXPREFIX" 1>&6
980 if test $MAKE = "error"
982 { echo "configure: error: Please install GNU make" 1>&2; exit 1; }
984 $MAKE -v| grep -q GNU
987 echo "configure: warning: Please install *GNU* make" 1>&2
992 if test $BISON = "error"
994 echo "configure: warning: can't find bison. Please install Bison (1.24 or better)" 1>&2
997 if test $PODMAN = "error"
999 echo "configure: warning: can't find pod. You should install Perl (version 5 or better)" 1>&2
1002 if test $FLEX = "error"
1004 echo "configure: warning: can't find flex. Please install Flex (2.5 or better)" 1>&2
1007 if $CXX --version | grep -q '2\.7'
1011 echo "configure: warning: can't find g++ 2.7" 1>&2
1014 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
1015 if test -z "$CXXCPP"; then
1016 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
1017 echo $ac_n "(cached) $ac_c" 1>&6
1020 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1021 ac_cpp='$CXXCPP $CPPFLAGS'
1022 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1023 ac_link='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1024 CXXCPP="${CXX-g++} -E"
1025 cat > conftest.$ac_ext <<EOF
1026 #line 1027 "configure"
1027 #include "confdefs.h"
1030 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1031 { (eval echo configure:1032: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1032 ac_err=`grep -v '^ *+' conftest.out`
1033 if test -z "$ac_err"; then
1041 ac_cv_prog_CXXCPP="$CXXCPP"
1044 CXXCPP="$ac_cv_prog_CXXCPP"
1045 echo "$ac_t""$CXXCPP" 1>&6
1047 ac_safe=`echo "FlexLexer.h" | tr './\055' '___'`
1048 echo $ac_n "checking for FlexLexer.h""... $ac_c" 1>&6
1049 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1050 echo $ac_n "(cached) $ac_c" 1>&6
1052 cat > conftest.$ac_ext <<EOF
1053 #line 1054 "configure"
1054 #include "confdefs.h"
1055 #include <FlexLexer.h>
1057 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1058 { (eval echo configure:1059: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1059 ac_err=`grep -v '^ *+' conftest.out`
1060 if test -z "$ac_err"; then
1062 eval "ac_cv_header_$ac_safe=yes"
1066 eval "ac_cv_header_$ac_safe=no"
1070 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
1071 echo "$ac_t""yes" 1>&6
1074 echo "$ac_t""no" 1>&6
1075 { echo "configure: error: can't find flex header. Please install Flex headers correctly" 1>&2; exit 1; }
1081 cat > confcache <<\EOF
1082 # This file is a shell script that caches the results of configure
1083 # tests run on this system so they can be shared between configure
1084 # scripts and configure runs. It is not useful on other systems.
1085 # If it contains results you don't want to keep, you may remove or edit it.
1087 # By default, configure uses ./config.cache as the cache file,
1088 # creating it if it does not exist already. You can give configure
1089 # the --cache-file=FILE option to use a different cache file; that is
1090 # what configure does when it calls configure scripts in
1091 # subdirectories, so they share the cache.
1092 # Giving --cache-file=/dev/null disables caching, for debugging configure.
1093 # config.status only pays attention to the cache file if you give it the
1094 # --recheck option to rerun configure.
1097 # Ultrix sh set writes to stderr and can't be redirected directly,
1098 # and sets the high bit in the cache file unless we assign to the vars.
1100 sed -n "s/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=\${\1='\2'}/p" \
1102 if cmp -s $cache_file confcache; then
1105 if test -w $cache_file; then
1106 echo "updating cache $cache_file"
1107 cat confcache > $cache_file
1109 echo "not updating unwritable cache $cache_file"
1114 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
1116 test "x$prefix" = xNONE && prefix=$ac_default_prefix
1117 # Let make expand exec_prefix.
1118 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1120 # Any assignment to VPATH causes Sun make to only execute
1121 # the first set of double-colon rules, so remove it if not needed.
1122 # If there is a colon in the path, we need to keep it.
1123 if test "x$srcdir" = x.; then
1124 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
1127 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
1129 # Transform confdefs.h into DEFS.
1130 # Protect against shell expansion while executing Makefile rules.
1131 # Protect against Makefile macro expansion.
1132 cat > conftest.defs <<\EOF
1133 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g
1134 s%[ `~#$^&*(){}\\|;'"<>?]%\\&%g
1139 DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '`
1143 # Without the "./", some shells look in PATH for config.status.
1144 : ${CONFIG_STATUS=./config.status}
1146 echo creating $CONFIG_STATUS
1147 rm -f $CONFIG_STATUS
1148 cat > $CONFIG_STATUS <<EOF
1150 # Generated automatically by configure.
1151 # Run this file to recreate the current configuration.
1152 # This directory was configured as follows,
1153 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
1155 # $0 $ac_configure_args
1157 # Compiler output produced by configure, useful for debugging
1158 # configure, is in ./config.log if it exists.
1160 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
1163 case "\$ac_option" in
1164 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
1165 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
1166 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
1167 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
1168 echo "$CONFIG_STATUS generated by autoconf version 2.10"
1170 -help | --help | --hel | --he | --h)
1171 echo "\$ac_cs_usage"; exit 0 ;;
1172 *) echo "\$ac_cs_usage"; exit 1 ;;
1176 ac_given_srcdir=$srcdir
1177 ac_given_INSTALL="$INSTALL"
1179 trap 'rm -fr `echo "make/out/Configure_variables.make:make/Configure_variables.make.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
1181 cat >> $CONFIG_STATUS <<EOF
1183 # Protect against being on the right side of a sed subst in config.status.
1184 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
1185 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
1188 s%@CFLAGS@%$CFLAGS%g
1189 s%@CPPFLAGS@%$CPPFLAGS%g
1190 s%@CXXFLAGS@%$CXXFLAGS%g
1192 s%@LDFLAGS@%$LDFLAGS%g
1194 s%@exec_prefix@%$exec_prefix%g
1195 s%@prefix@%$prefix%g
1196 s%@program_transform_name@%$program_transform_name%g
1197 s%@bindir@%$bindir%g
1198 s%@sbindir@%$sbindir%g
1199 s%@libexecdir@%$libexecdir%g
1200 s%@datadir@%$datadir%g
1201 s%@sysconfdir@%$sysconfdir%g
1202 s%@sharedstatedir@%$sharedstatedir%g
1203 s%@localstatedir@%$localstatedir%g
1204 s%@libdir@%$libdir%g
1205 s%@includedir@%$includedir%g
1206 s%@oldincludedir@%$oldincludedir%g
1207 s%@infodir@%$infodir%g
1208 s%@mandir@%$mandir%g
1210 s%@RANLIB@%$RANLIB%g
1211 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
1212 s%@INSTALL_DATA@%$INSTALL_DATA%g
1214 s%@DEFINES@%$DEFINES%g
1215 s%@COMPILEINFO@%$COMPILEINFO%g
1216 s%@AUTOHEADER@%$AUTOHEADER%g
1219 s%@TEXPREFIX@%$TEXPREFIX%g
1221 s%@PODMAN@%$PODMAN%g
1222 s%@CXXCPP@%$CXXCPP%g
1223 s%@subdirs@%$subdirs%g
1227 cat >> $CONFIG_STATUS <<EOF
1229 CONFIG_FILES=\${CONFIG_FILES-"make/out/Configure_variables.make:make/Configure_variables.make.in"}
1231 cat >> $CONFIG_STATUS <<\EOF
1232 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
1233 # Support "outfile[:infile]", defaulting infile="outfile.in".
1235 *:*) ac_file_in=`echo "$ac_file"|sed 's%.*:%%'`
1236 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
1237 *) ac_file_in="${ac_file}.in" ;;
1240 # Adjust relative srcdir, etc. for subdirectories.
1242 # Remove last slash and all that follows it. Not all systems have dirname.
1243 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
1244 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
1245 # The file is in a subdirectory.
1246 test ! -d "$ac_dir" && mkdir "$ac_dir"
1247 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
1248 # A "../" for each directory in $ac_dir_suffix.
1249 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
1251 ac_dir_suffix= ac_dots=
1254 case "$ac_given_srcdir" in
1256 if test -z "$ac_dots"; then top_srcdir=.
1257 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
1258 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
1260 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
1261 top_srcdir="$ac_dots$ac_given_srcdir" ;;
1264 case "$ac_given_INSTALL" in
1265 [/$]*) INSTALL="$ac_given_INSTALL" ;;
1266 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
1268 echo creating "$ac_file"
1270 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
1272 *Makefile*) ac_comsub="1i\\
1273 # $configure_input" ;;
1277 s%@configure_input@%$configure_input%g
1278 s%@srcdir@%$srcdir%g
1279 s%@top_srcdir@%$top_srcdir%g
1280 s%@INSTALL@%$INSTALL%g
1281 " -f conftest.subs $ac_given_srcdir/$ac_file_in > $ac_file
1289 chmod +x $CONFIG_STATUS
1290 rm -fr confdefs* $ac_clean_files
1291 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
1293 if test "$no_recursion" != yes; then
1295 # Remove --cache-file and --srcdir arguments so they do not pile up.
1296 ac_sub_configure_args=
1298 for ac_arg in $ac_configure_args; do
1299 if test -n "$ac_prev"; then
1304 -cache-file | --cache-file | --cache-fil | --cache-fi \
1305 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1306 ac_prev=cache_file ;;
1307 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1308 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1310 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1312 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1314 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
1318 for ac_config_dir in flower; do
1320 # Do not complain, so a configure script can configure whichever
1321 # parts of a large source tree are present.
1322 if test ! -d $srcdir/$ac_config_dir; then
1326 echo configuring in $ac_config_dir
1331 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
1333 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
1342 .) # No --srcdir option. We are building in place.
1343 ac_sub_srcdir=$srcdir ;;
1344 /*) # Absolute path.
1345 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
1347 ac_sub_srcdir=../$srcdir/$ac_config_dir ;;
1350 # Check for guested configure; otherwise get Cygnus style configure.
1351 if test -f $ac_sub_srcdir/configure; then
1352 ac_sub_configure=$ac_sub_srcdir/configure
1353 elif test -f $ac_sub_srcdir/configure.in; then
1354 ac_sub_configure=$ac_configure
1356 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
1360 # The recursion is here.
1361 if test -n "$ac_sub_configure"; then
1363 # Make the cache file name correct relative to the subdirectory.
1364 # A "../" for each directory in /$ac_config_dir.
1365 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
1366 case "$cache_file" in
1367 /*) ac_sub_cache_file=$cache_file ;;
1369 ac_sub_cache_file="$ac_dots$cache_file" ;;
1371 case "$ac_given_INSTALL" in
1372 [/$]*) INSTALL="$ac_given_INSTALL" ;;
1373 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
1376 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
1377 # The eval makes quoting arguments work.
1378 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
1381 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }
1392 eval "DIR_DATADIR=$datadir"
1393 DIR_DATADIR="$DIR_DATADIR/lilypond"
1394 echo $ac_n "checking ""... $ac_c" 1>&6
1396 cat << EOF > lib/out/config.hh
1398 /* automatically generated by configure */
1399 /* include this file only once! */
1401 #define DIR_DATADIR "$DIR_DATADIR"
1405 CXX="$ac_cv_prog_CXX" bin/make_version >> lib/out/config.hh
1407 touch make/out/Site.make
1410 (cd mi2mu; CXX="$ac_cv_prog_CXX" ../bin/make_version > out/version.hh
1413 sed 's/TOPLEVEL_//g' < .version > lily/.version
1414 (cd lily; CXX="$ac_cv_prog_CXX" ../bin/make_version > out/version.hh
1420 Finished configuring. For making everything, do:
1424 If you only want help on the make targets, do a