4 --with-gtkmm-prefix=PREFIX
5 Prefix where GTK-- is installed (optional)"
6 # Check whether --with-gtkmm-prefix or --without-gtkmm-prefix was given.
7 if test "${with_gtkmm_prefix+set}" = set; then
8 withval
="$with_gtkmm_prefix"
9 gtkmm_config_prefix
="$withval"
11 gtkmm_config_prefix
=""
15 --with-gtkmm-exec-prefix=PREFIX
16 Exec prefix where GTK-- is installed (optional)"
17 # Check whether --with-gtkmm-exec-prefix or --without-gtkmm-exec-prefix was given.
18 if test "${with_gtkmm_exec_prefix+set}" = set; then
19 withval
="$with_gtkmm_exec_prefix"
20 gtkmm_config_exec_prefix
="$withval"
22 gtkmm_config_exec_prefix
=""
26 --disable-gtkmmtest Do not try to compile and run a test GTK-- program"
27 # Check whether --enable-gtkmmtest or --disable-gtkmmtest was given.
28 if test "${enable_gtkmmtest+set}" = set; then
29 enableval
="$enable_gtkmmtest"
36 if test x
$gtkmm_config_exec_prefix != x
; then
37 gtkmm_config_args
="$gtkmm_config_args --exec-prefix=$gtkmm_config_exec_prefix"
38 if test x
${GTKMM_CONFIG+set} != xset
; then
39 GTKMM_CONFIG
=$gtkmm_config_exec_prefix/bin
/gtkmm-config
42 if test x
$gtkmm_config_prefix != x
; then
43 gtkmm_config_args
="$gtkmm_config_args --prefix=$gtkmm_config_prefix"
44 if test x
${GTKMM_CONFIG+set} != xset
; then
45 GTKMM_CONFIG
=$gtkmm_config_prefix/bin
/gtkmm-config
52 # Configure paths for GTK--DRAW
53 # Derek Quinn Wyatt 98-08-21 (adapted from Jan Nieuwenhuizen's code)
56 # Guess values for system-dependent variables and create Makefiles.
57 # Generated automatically using autoconf version 2.13
58 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
60 # This configure script is free software; the Free Software Foundation
61 # gives unlimited permission to copy, distribute and modify it.
65 ac_default_prefix
=/usr
/local
66 # Any additions from configure.in:
68 --enable-config=CONF put settings in config-CONF.make and config-CONF.h;
69 do \`make conf=CONF' to get output in ./out-CONF"
71 --with-localedir=LOCALE use LOCALE as locale dir. Default:
74 --with-lang=LANG use LANG as language to emit messages"
76 # Initialize some variables set by options.
77 # The variables have the same names as the options, with
78 # dashes changed to underlines.
80 cache_file
=.
/config.cache
89 program_transform_name
=s
,x
,x
,
97 bindir
='${exec_prefix}/bin'
98 sbindir
='${exec_prefix}/sbin'
99 libexecdir
='${exec_prefix}/libexec'
100 datadir
='${prefix}/share'
101 sysconfdir
='${prefix}/etc'
102 sharedstatedir
='${prefix}/com'
103 localstatedir
='${prefix}/var'
104 libdir
='${exec_prefix}/lib'
105 includedir
='${prefix}/include'
106 oldincludedir
='/usr/include'
107 infodir
='${prefix}/info'
108 mandir
='${prefix}/man'
110 # Initialize some other variables.
113 SHELL
=${CONFIG_SHELL-/bin/sh}
114 # Maximum number of lines to put in a shell here document.
121 # If the previous option needs an argument, assign it.
122 if test -n "$ac_prev"; then
123 eval "$ac_prev=\$ac_option"
129 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
133 # Accept the important Cygnus configure options, so we can diagnose typos.
137 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
139 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
140 bindir
="$ac_optarg" ;;
142 -build |
--build |
--buil |
--bui |
--bu)
144 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
145 build
="$ac_optarg" ;;
147 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
148 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
149 ac_prev
=cache_file
;;
150 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
151 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
152 cache_file
="$ac_optarg" ;;
154 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
156 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
158 datadir
="$ac_optarg" ;;
160 -disable-* |
--disable-*)
161 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
162 # Reject names that are not valid shell variable names.
163 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
164 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
166 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
167 eval "enable_${ac_feature}=no" ;;
169 -enable-* |
--enable-*)
170 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
171 # Reject names that are not valid shell variable names.
172 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
173 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
175 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
180 eval "enable_${ac_feature}='$ac_optarg'" ;;
182 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
183 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
184 |
--exec |
--exe |
--ex)
185 ac_prev
=exec_prefix
;;
186 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
187 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
188 |
--exec=* |
--exe=* |
--ex=*)
189 exec_prefix
="$ac_optarg" ;;
191 -gas |
--gas |
--ga |
--g)
192 # Obsolete; use --with-gas.
195 -help |
--help |
--hel |
--he)
196 # Omit some internal or obsolete options to make the list less imposing.
197 # This message is too long to be a string in the A/UX 3.1 sh.
199 Usage: configure [options] [host]
200 Options: [defaults in brackets after descriptions]
202 --cache-file=FILE cache test results in FILE
203 --help print this message
204 --no-create do not create output files
205 --quiet, --silent do not print \`checking...' messages
206 --version print the version of autoconf that created configure
207 Directory and file names:
208 --prefix=PREFIX install architecture-independent files in PREFIX
210 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
212 --bindir=DIR user executables in DIR [EPREFIX/bin]
213 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
214 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
215 --datadir=DIR read-only architecture-independent data in DIR
217 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
218 --sharedstatedir=DIR modifiable architecture-independent data in DIR
220 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
221 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
222 --includedir=DIR C header files in DIR [PREFIX/include]
223 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
224 --infodir=DIR info documentation in DIR [PREFIX/info]
225 --mandir=DIR man documentation in DIR [PREFIX/man]
226 --srcdir=DIR find the sources in DIR [configure dir or ..]
227 --program-prefix=PREFIX prepend PREFIX to installed program names
228 --program-suffix=SUFFIX append SUFFIX to installed program names
229 --program-transform-name=PROGRAM
230 run sed PROGRAM on installed program names
234 --build=BUILD configure for building on BUILD [BUILD=HOST]
235 --host=HOST configure for HOST [guessed]
236 --target=TARGET configure for TARGET [TARGET=HOST]
237 Features and packages:
238 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
239 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
240 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
241 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
242 --x-includes=DIR X include files are in DIR
243 --x-libraries=DIR X library files are in DIR
245 if test -n "$ac_help"; then
246 echo "--enable and --with options recognized:$ac_help"
250 -host |
--host |
--hos |
--ho)
252 -host=* |
--host=* |
--hos=* |
--ho=*)
255 -includedir |
--includedir |
--includedi |
--included |
--include \
256 |
--includ |
--inclu |
--incl |
--inc)
257 ac_prev
=includedir
;;
258 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
259 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
260 includedir
="$ac_optarg" ;;
262 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
264 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
265 infodir
="$ac_optarg" ;;
267 -libdir |
--libdir |
--libdi |
--libd)
269 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
270 libdir
="$ac_optarg" ;;
272 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
273 |
--libexe |
--libex |
--libe)
274 ac_prev
=libexecdir
;;
275 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
276 |
--libexe=* |
--libex=* |
--libe=*)
277 libexecdir
="$ac_optarg" ;;
279 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
280 |
--localstate |
--localstat |
--localsta |
--localst \
281 |
--locals |
--local |
--loca |
--loc |
--lo)
282 ac_prev
=localstatedir
;;
283 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
284 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
285 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
286 localstatedir
="$ac_optarg" ;;
288 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
290 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
291 mandir
="$ac_optarg" ;;
294 # Obsolete; use --without-fp.
297 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
301 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
302 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
305 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
306 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
307 |
--oldin |
--oldi |
--old |
--ol |
--o)
308 ac_prev
=oldincludedir
;;
309 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
310 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
311 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
312 oldincludedir
="$ac_optarg" ;;
314 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
316 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
317 prefix
="$ac_optarg" ;;
319 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
320 |
--program-pre |
--program-pr |
--program-p)
321 ac_prev
=program_prefix
;;
322 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
323 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
324 program_prefix
="$ac_optarg" ;;
326 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
327 |
--program-suf |
--program-su |
--program-s)
328 ac_prev
=program_suffix
;;
329 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
330 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
331 program_suffix
="$ac_optarg" ;;
333 -program-transform-name |
--program-transform-name \
334 |
--program-transform-nam |
--program-transform-na \
335 |
--program-transform-n |
--program-transform- \
336 |
--program-transform |
--program-transfor \
337 |
--program-transfo |
--program-transf \
338 |
--program-trans |
--program-tran \
339 |
--progr-tra |
--program-tr |
--program-t)
340 ac_prev
=program_transform_name
;;
341 -program-transform-name=* |
--program-transform-name=* \
342 |
--program-transform-nam=* |
--program-transform-na=* \
343 |
--program-transform-n=* |
--program-transform-=* \
344 |
--program-transform=* |
--program-transfor=* \
345 |
--program-transfo=* |
--program-transf=* \
346 |
--program-trans=* |
--program-tran=* \
347 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
348 program_transform_name
="$ac_optarg" ;;
350 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
351 |
-silent |
--silent |
--silen |
--sile |
--sil)
354 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
356 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
358 sbindir
="$ac_optarg" ;;
360 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
361 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
362 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
364 ac_prev
=sharedstatedir
;;
365 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
366 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
367 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
369 sharedstatedir
="$ac_optarg" ;;
371 -site |
--site |
--sit)
373 -site=* |
--site=* |
--sit=*)
376 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
378 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
379 srcdir
="$ac_optarg" ;;
381 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
382 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
383 ac_prev
=sysconfdir
;;
384 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
385 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
386 sysconfdir
="$ac_optarg" ;;
388 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
390 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
391 target
="$ac_optarg" ;;
393 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
396 -version |
--version |
--versio |
--versi |
--vers)
397 echo "configure generated by autoconf version 2.13"
401 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
402 # Reject names that are not valid shell variable names.
403 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
404 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
406 ac_package
=`echo $ac_package| sed 's/-/_/g'`
411 eval "with_${ac_package}='$ac_optarg'" ;;
413 -without-* |
--without-*)
414 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
415 # Reject names that are not valid shell variable names.
416 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
417 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
419 ac_package
=`echo $ac_package| sed 's/-/_/g'`
420 eval "with_${ac_package}=no" ;;
423 # Obsolete; use --with-x.
426 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
427 |
--x-incl |
--x-inc |
--x-in |
--x-i)
428 ac_prev
=x_includes
;;
429 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
430 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
431 x_includes
="$ac_optarg" ;;
433 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
434 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
435 ac_prev
=x_libraries
;;
436 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
437 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
438 x_libraries
="$ac_optarg" ;;
440 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
444 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
445 echo "configure: warning: $ac_option: invalid host type" 1>&2
447 if test "x$nonopt" != xNONE
; then
448 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
456 if test -n "$ac_prev"; then
457 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
460 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
462 # File descriptor usage:
465 # 2 errors and warnings
466 # 3 some systems may open it to /dev/tty
467 # 4 used on the Kubota Titan
468 # 6 checking for... messages and results
469 # 5 compiler messages saved in config.log
470 if test "$silent" = yes; then
478 This file contains any messages produced by compilers while
479 running configure, to aid debugging if configure makes a mistake.
482 # Strip out --no-create and --no-recursion so they do not pile up.
483 # Also quote any args containing shell metacharacters.
488 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
489 |
--no-cr |
--no-c) ;;
490 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
491 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r) ;;
492 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
493 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
494 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
499 # Only set these to C if already set. These must not be set unconditionally
500 # because not all systems understand e.g. LANG=C (notably SCO).
501 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
502 # Non-C LC_CTYPE values break the ctype check.
503 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
504 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
505 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
506 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
508 # confdefs.h avoids OS command line length limits that DEFS can exceed.
509 rm -rf conftest
* confdefs.h
510 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
513 # A filename unique to this package, relative to the directory that
514 # configure is in, which we can look for to find out if srcdir is correct.
515 ac_unique_file
=make
/stepmake.lsm.
in
517 # Find the source files, if location was not specified.
518 if test -z "$srcdir"; then
519 ac_srcdir_defaulted
=yes
520 # Try the directory containing this script, then its parent.
522 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
523 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
525 if test ! -r $srcdir/$ac_unique_file; then
529 ac_srcdir_defaulted
=no
531 if test ! -r $srcdir/$ac_unique_file; then
532 if test "$ac_srcdir_defaulted" = yes; then
533 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
535 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
538 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
540 # Prefer explicitly selected file to automatically selected ones.
541 if test -z "$CONFIG_SITE"; then
542 if test "x$prefix" != xNONE
; then
543 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
545 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
548 for ac_site_file
in $CONFIG_SITE; do
549 if test -r "$ac_site_file"; then
550 echo "loading site script $ac_site_file"
555 if test -r "$cache_file"; then
556 echo "loading cache $cache_file"
559 echo "creating cache $cache_file"
564 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
565 ac_cpp
='$CPP $CPPFLAGS'
566 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
567 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
568 cross_compiling
=$ac_cv_prog_cc_cross
572 if (echo "testing\c"; echo 1,2,3) |
grep c
>/dev
/null
; then
573 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
574 if (echo -n testing
; echo 1,2,3) |
sed s
/-n/xn
/ |
grep xn
>/dev
/null
; then
581 ac_n
= ac_c
='\c' ac_t
=
587 # Bootstrap StepMake configure
591 FULL_VERSION
=$MAJOR_VERSION.
$MINOR_VERSION.
$PATCH_LEVEL
592 if test x
$MY_PATCH_LEVEL != x
; then
593 FULL_VERSION
=$FULL_VERSION.
$MY_PATCH_LEVEL
596 # urg: don't "fix" this: irix doesn't know about [:lower:] and [:upper:]
597 PACKAGE
=`echo $PACKAGE_NAME | tr '[a-z]' '[A-Z]'`
598 package
=`echo $PACKAGE_NAME | tr '[A-Z]' '[a-z]'`
600 # No versioning on directory names of sub-packages
602 stepmake
=${datadir}/stepmake
604 if test "$prefix" = "NONE"; then
605 presome
=${ac_default_prefix}
607 stepmake
=`echo ${stepmake} | sed "s!\\\${prefix}!$presome!"`
609 # urg, how is this supposed to work?
610 if test "$program_prefix" = "NONE"; then
613 if test "$program_suffix" = "NONE"; then
617 echo $ac_n "checking Package""... $ac_c" 1>&6
618 echo "configure:619: checking Package" >&5
619 if test "x$PACKAGE" = "xSTEPMAKE"; then
620 echo "$ac_t""Stepmake package!" 1>&6
622 echo $ac_n "checking builddir""... $ac_c" 1>&6
623 echo "configure:624: checking builddir" >&5
624 if test "$srcdir" = "."; then
627 absolute_builddir
="`pwd`"
628 package_absolute_builddir
="`dirname $absolute_builddir`"
629 package_srcdir
="`dirname $srcdir`"
630 builddir
="`dirname $package_srcdir`/`basename $package_absolute_builddir`/`basename $absolute_builddir`"
632 echo "$ac_t""$builddir" 1>&6
634 (cd stepmake
2>/dev
/null || mkdir stepmake
)
635 (cd stepmake
; rm -f stepmake
; ln -s ..
/$srcdir/stepmake .
)
636 (cd stepmake
; rm -f bin
; ln -s ..
/$srcdir/bin .
)
638 for ac_dir
in bin
$srcdir/bin
; do
639 if test -f $ac_dir/install-sh
; then
641 ac_install_sh
="$ac_aux_dir/install-sh -c"
643 elif test -f $ac_dir/install.sh
; then
645 ac_install_sh
="$ac_aux_dir/install.sh -c"
649 if test -z "$ac_aux_dir"; then
650 { echo "configure: error: can not find install-sh or install.sh in bin $srcdir/bin" 1>&2; exit 1; }
652 ac_config_guess
=$ac_aux_dir/config.guess
653 ac_config_sub
=$ac_aux_dir/config.sub
654 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
658 echo "$ac_t""$PACKAGE" 1>&6
660 echo $ac_n "checking builddir""... $ac_c" 1>&6
661 echo "configure:662: checking builddir" >&5
662 if test "$srcdir" = "."; then
666 absolute_builddir
="`pwd`"
667 # builddir="`dirname $srcdir`/`basename $absolute_builddir`"
668 builddir
="`bash $srcdir/buildscripts/walk.sh \"$srcdir\"`"
671 echo "$ac_t""$builddir" 1>&6
672 if expr "$srcdir" : '/' > /dev
/null
2>&1; then
675 echo "configure: warning: Absolute --srcdir specified: $srcdir" 1>&2
680 echo $ac_n "checking for stepmake""... $ac_c" 1>&6
681 echo "configure:682: checking for stepmake" >&5
682 # Check for installed stepmake
683 if test -d $stepmake; then
684 echo "$ac_t""$stepmake" 1>&6
686 if test "$absolute_srcdir" != "yes"; then
687 stepmake
='$(depth)'/$srcdir/stepmake
689 stepmake
=$srcdir/stepmake
691 echo "$ac_t""$srcdir/stepmake ($datadir/stepmake not found)" 1>&6
696 $HOME/usr
/local
/share
/stepmake
/bin\
697 $HOME/usr
/local
/lib
/stepmake
/bin\
698 $HOME/usr
/share
/stepmake
/bin\
699 $HOME/usr
/lib
/stepmake
/bin\
700 /usr
/local
/share
/stepmake
/bin\
701 /usr
/local
/lib
/stepmake
/bin\
702 /usr
/share
/stepmake
/bin\
703 /usr
/lib
/stepmake
/bin\
705 $srcdir/stepmake
/bin\
707 $HOME/usr
/local
/share
/stepmake
/bin\
708 $HOME/usr
/local
/lib
/stepmake
/bin\
709 $HOME/usr
/share
/stepmake
/bin\
710 $HOME/usr
/lib
/stepmake
/bin\
711 /usr
/local
/share
/stepmake
/bin\
712 /usr
/local
/lib
/stepmake
/bin\
713 /usr
/share
/stepmake
/bin\
714 /usr
/lib
/stepmake
/bin\
716 $srcdir/stepmake
/bin\
718 if test -f $ac_dir/install-sh
; then
720 ac_install_sh
="$ac_aux_dir/install-sh -c"
722 elif test -f $ac_dir/install.sh
; then
724 ac_install_sh
="$ac_aux_dir/install.sh -c"
728 if test -z "$ac_aux_dir"; then
729 { echo "configure: error: can not find install-sh or install.sh in \
730 $HOME/usr/local/share/stepmake/bin\
731 $HOME/usr/local/lib/stepmake/bin\
732 $HOME/usr/share/stepmake/bin\
733 $HOME/usr/lib/stepmake/bin\
734 /usr/local/share/stepmake/bin\
735 /usr/local/lib/stepmake/bin\
736 /usr/share/stepmake/bin\
737 /usr/lib/stepmake/bin\
739 $srcdir/stepmake/bin\
741 $HOME/usr/local/share/stepmake/bin\
742 $HOME/usr/local/lib/stepmake/bin\
743 $HOME/usr/share/stepmake/bin\
744 $HOME/usr/lib/stepmake/bin\
745 /usr/local/share/stepmake/bin\
746 /usr/local/lib/stepmake/bin\
747 /usr/share/stepmake/bin\
748 /usr/lib/stepmake/bin\
750 $srcdir/stepmake/bin\
753 ac_config_guess
=$ac_aux_dir/config.guess
754 ac_config_sub
=$ac_aux_dir/config.sub
755 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
764 cat >> confdefs.h
<<EOF
765 #define PACKAGE "${PACKAGE_NAME}"
768 cat >> confdefs.h
<<EOF
769 #define TOPLEVEL_VERSION "${FULL_VERSION}"
773 if test "$package_depth" = "" ; then
776 package_depth
="../$package_depth"
781 AUTOGENERATE
="This file was automatically generated by configure"
785 # Check whether --enable-config or --disable-config was given.
786 if test "${enable_config+set}" = set; then
787 enableval
="$enable_config"
788 CONFIGSUFFIX
=-$enableval
792 CONFIGFILE
=config
$CONFIGSUFFIX
796 # Make sure we can run config.sub.
797 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
798 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
801 echo $ac_n "checking host system type""... $ac_c" 1>&6
802 echo "configure:803: checking host system type" >&5
805 case "$host_alias" in
809 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
810 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
812 *) host_alias
=$nonopt ;;
816 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
817 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
818 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
819 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
820 echo "$ac_t""$host" 1>&6
822 for ac_prog
in gmake
make
824 # Extract the first word of "$ac_prog", so it can be a program name with args.
825 set dummy
$ac_prog; ac_word
=$2
826 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
827 echo "configure:828: checking for $ac_word" >&5
828 if eval "test \"`echo '$''{'ac_cv_prog_MAKE'+set}'`\" = set"; then
829 echo $ac_n "(cached) $ac_c" 1>&6
831 if test -n "$MAKE"; then
832 ac_cv_prog_MAKE
="$MAKE" # Let the user override the test.
834 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
836 for ac_dir
in $ac_dummy; do
837 test -z "$ac_dir" && ac_dir
=.
838 if test -f $ac_dir/$ac_word; then
839 ac_cv_prog_MAKE
="$ac_prog"
846 MAKE
="$ac_cv_prog_MAKE"
847 if test -n "$MAKE"; then
848 echo "$ac_t""$MAKE" 1>&6
850 echo "$ac_t""no" 1>&6
853 test -n "$MAKE" && break
855 test -n "$MAKE" || MAKE
="error"
859 # Extract the first word of "$ac_prog", so it can be a program name with args.
860 set dummy
$ac_prog; ac_word
=$2
861 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
862 echo "configure:863: checking for $ac_word" >&5
863 if eval "test \"`echo '$''{'ac_cv_prog_FIND'+set}'`\" = set"; then
864 echo $ac_n "(cached) $ac_c" 1>&6
866 if test -n "$FIND"; then
867 ac_cv_prog_FIND
="$FIND" # Let the user override the test.
869 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
871 for ac_dir
in $ac_dummy; do
872 test -z "$ac_dir" && ac_dir
=.
873 if test -f $ac_dir/$ac_word; then
874 ac_cv_prog_FIND
="$ac_prog"
881 FIND
="$ac_cv_prog_FIND"
882 if test -n "$FIND"; then
883 echo "$ac_t""$FIND" 1>&6
885 echo "$ac_t""no" 1>&6
888 test -n "$FIND" && break
890 test -n "$FIND" || FIND
="error"
896 # Extract the first word of "$ac_prog", so it can be a program name with args.
897 set dummy
$ac_prog; ac_word
=$2
898 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
899 echo "configure:900: checking for $ac_word" >&5
900 if eval "test \"`echo '$''{'ac_cv_prog_TAR'+set}'`\" = set"; then
901 echo $ac_n "(cached) $ac_c" 1>&6
903 if test -n "$TAR"; then
904 ac_cv_prog_TAR
="$TAR" # Let the user override the test.
906 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
908 for ac_dir
in $ac_dummy; do
909 test -z "$ac_dir" && ac_dir
=.
910 if test -f $ac_dir/$ac_word; then
911 ac_cv_prog_TAR
="$ac_prog"
918 TAR
="$ac_cv_prog_TAR"
919 if test -n "$TAR"; then
920 echo "$ac_t""$TAR" 1>&6
922 echo "$ac_t""no" 1>&6
925 test -n "$TAR" && break
927 test -n "$TAR" || TAR
="error"
930 if test "x`uname`" = "xHP-UX"; then
931 # Extract the first word of "bash", so it can be a program name with args.
932 set dummy bash
; ac_word
=$2
933 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
934 echo "configure:935: checking for $ac_word" >&5
935 if eval "test \"`echo '$''{'ac_cv_path_BASH'+set}'`\" = set"; then
936 echo $ac_n "(cached) $ac_c" 1>&6
940 ac_cv_path_BASH
="$BASH" # Let the user override the test with a path.
943 ac_cv_path_BASH
="$BASH" # Let the user override the test with a dos path.
946 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
948 for ac_dir
in $ac_dummy; do
949 test -z "$ac_dir" && ac_dir
=.
950 if test -f $ac_dir/$ac_word; then
951 ac_cv_path_BASH
="$ac_dir/$ac_word"
956 test -z "$ac_cv_path_BASH" && ac_cv_path_BASH
="/bin/sh"
960 BASH
="$ac_cv_path_BASH"
961 if test -n "$BASH"; then
962 echo "$ac_t""$BASH" 1>&6
964 echo "$ac_t""no" 1>&6
968 echo "configure: warning: avoiding buggy /bin/sh" 1>&2
971 # Extract the first word of "bash", so it can be a program name with args.
972 set dummy bash
; ac_word
=$2
973 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
974 echo "configure:975: checking for $ac_word" >&5
975 if eval "test \"`echo '$''{'ac_cv_path_SHELL'+set}'`\" = set"; then
976 echo $ac_n "(cached) $ac_c" 1>&6
980 ac_cv_path_SHELL
="$SHELL" # Let the user override the test with a path.
983 ac_cv_path_SHELL
="$SHELL" # Let the user override the test with a dos path.
986 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
988 for ac_dir
in $ac_dummy; do
989 test -z "$ac_dir" && ac_dir
=.
990 if test -f $ac_dir/$ac_word; then
991 ac_cv_path_SHELL
="$ac_dir/$ac_word"
996 test -z "$ac_cv_path_SHELL" && ac_cv_path_SHELL
="/bin/ksh"
1000 SHELL
="$ac_cv_path_SHELL"
1001 if test -n "$SHELL"; then
1002 echo "$ac_t""$SHELL" 1>&6
1004 echo "$ac_t""no" 1>&6
1008 # Extract the first word of "bash", so it can be a program name with args.
1009 set dummy bash
; ac_word
=$2
1010 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1011 echo "configure:1012: checking for $ac_word" >&5
1012 if eval "test \"`echo '$''{'ac_cv_path_BASH'+set}'`\" = set"; then
1013 echo $ac_n "(cached) $ac_c" 1>&6
1017 ac_cv_path_BASH
="$BASH" # Let the user override the test with a path.
1020 ac_cv_path_BASH
="$BASH" # Let the user override the test with a dos path.
1023 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1025 for ac_dir
in $ac_dummy; do
1026 test -z "$ac_dir" && ac_dir
=.
1027 if test -f $ac_dir/$ac_word; then
1028 ac_cv_path_BASH
="$ac_dir/$ac_word"
1033 test -z "$ac_cv_path_BASH" && ac_cv_path_BASH
="/bin/sh"
1037 BASH
="$ac_cv_path_BASH"
1038 if test -n "$BASH"; then
1039 echo "$ac_t""$BASH" 1>&6
1041 echo "$ac_t""no" 1>&6
1049 # Extract the first word of "${PYTHON:-python}", so it can be a program name with args.
1050 set dummy
${PYTHON:-python}; ac_word
=$2
1051 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1052 echo "configure:1053: checking for $ac_word" >&5
1053 if eval "test \"`echo '$''{'ac_cv_path_PYTHON'+set}'`\" = set"; then
1054 echo $ac_n "(cached) $ac_c" 1>&6
1058 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
1061 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a dos path.
1064 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1066 for ac_dir
in $ac_dummy; do
1067 test -z "$ac_dir" && ac_dir
=.
1068 if test -f $ac_dir/$ac_word; then
1069 ac_cv_path_PYTHON
="$ac_dir/$ac_word"
1074 test -z "$ac_cv_path_PYTHON" && ac_cv_path_PYTHON
="-echo no python"
1078 PYTHON
="$ac_cv_path_PYTHON"
1079 if test -n "$PYTHON"; then
1080 echo "$ac_t""$PYTHON" 1>&6
1082 echo "$ac_t""no" 1>&6
1087 if test $MAKE != "error" ; then
1088 $MAKE -v 2> /dev
/null |
grep GNU
> /dev
/null
1092 echo "configure: warning: Please install *GNU* make" 1>&2
1099 result
="`echo \"$PYTHON\" | grep echo`"
1100 if test "x$PYTHON" = "xerror" -o "x$result" != "x"; then
1102 echo "configure: warning: can\'t find python. You should install Python" 1>&2
1108 if test "x$OSTYPE" = "xcygwin32" ||
test "x$OSTYPE" = "xWindows_NT"; then
1109 LN
=cp # hard link does not work under cygnus-nt
1110 LN_S
='cp -r' # symbolic link does not work for native nt
1118 # cygwin fixes all these things.
1119 # it seems these were used because of dos-style TEXINPUTS and
1120 # MFINPUTS needed for miktex.
1121 # but this breaks parsing of all other cygwin/unix style paths.
1123 # if your (mik)tex breaks, make a:
1124 # /usr/local/bin/tex:
1126 # TEXINPUTS=`cygpath -pw $TEXINPUTS` /texmf/miktex/bin/tex
1130 # /usr/local/bin/mf:
1132 # MFINPUTS=`cygpath -pw $MFINPUTS` /texmf/miktex/bin/mf
1134 # this way, you may have buildscripts/out/lilypond-profile
1135 # 'automatically' sourced from /usr/etc/profile.d/ too.
1140 INSTALL
="\$(SHELL) \$(stepdir)/../bin/install-dot-exe.sh -c"
1148 INSTALL
="\$(SHELL) \$(stepdir)/../bin/install-sh -c"
1156 cat >> confdefs.h
<<EOF
1157 #define DIRSEP '${DIRSEP}'
1160 cat >> confdefs.h
<<EOF
1161 #define PATHSEP '${PATHSEP}'
1168 if test "$datadir" = "\${prefix}/share"; then
1169 datadir
='${prefix}/share/'$package
1171 DIR_DATADIR
=${datadir}
1173 if test "$prefix" = "NONE"; then
1174 presome
=${ac_default_prefix}
1176 DIR_DATADIR
=`echo ${DIR_DATADIR} | sed "s!\\\${prefix}!$presome!"`
1182 cat >> confdefs.h
<<EOF
1183 #define DIR_DATADIR "${DIR_DATADIR}"
1189 # For all packages except the StepMake package itself
1190 # AC_CONFIG_SUBDIRS(stepmake)
1192 # Uncomment the configuration options your package needs.
1193 # AC_STEPMAKE_COMPILE
1194 # AC_HAVE_HEADERS(limits.h malloc.h string.h unistd.h values.h)
1197 # AC_STEPMAKE_CXXTEMPLATE
1198 # AC_STEPMAKE_LEXYACC
1200 # AC_STEPMAKE_LIBTOOL
1206 # Check whether --with-localedir or --without-localedir was given.
1207 if test "${with_localedir+set}" = set; then
1208 withval
="$with_localedir"
1209 localedir
=$with_localedir
1211 localedir
='${prefix}/share/locale'
1215 # Check whether --with-lang or --without-lang was given.
1216 if test "${with_lang+set}" = set; then
1217 withval
="$with_lang"
1224 echo $ac_n "checking language""... $ac_c" 1>&6
1225 echo "configure:1226: checking language" >&5
1227 En
* | en
* | Am
* | am
* | US
* | us
*)
1229 NL |
nl | Du
* | du
* | Ned
* | ned
*)
1236 echo "$ac_t""$lang" 1>&6
1238 if test "$lang" = "unknown" ; then
1240 echo "configure: warning: $language not supported; available are: $ALL_LINGUAS" 1>&2
1246 # AC_STEPMAKE_GETTEXT
1248 # AC_STEPMAKE_MSGFMT
1250 # AC_STEPMAKE_TEXMF_DIRS
1252 # AM_PATH_GTK(1.0.0,,AC_MSG_ERROR([please install proper version of gtk]))
1253 # AM_PATH_GTK__(0.9.4,,AC_MSG_ERROR([please install proper version of gtk--]))
1255 for ac_prog
in makeinfo
1257 # Extract the first word of "$ac_prog", so it can be a program name with args.
1258 set dummy
$ac_prog; ac_word
=$2
1259 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1260 echo "configure:1261: checking for $ac_word" >&5
1261 if eval "test \"`echo '$''{'ac_cv_prog_MAKEINFO'+set}'`\" = set"; then
1262 echo $ac_n "(cached) $ac_c" 1>&6
1264 if test -n "$MAKEINFO"; then
1265 ac_cv_prog_MAKEINFO
="$MAKEINFO" # Let the user override the test.
1267 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1269 for ac_dir
in $ac_dummy; do
1270 test -z "$ac_dir" && ac_dir
=.
1271 if test -f $ac_dir/$ac_word; then
1272 ac_cv_prog_MAKEINFO
="$ac_prog"
1279 MAKEINFO
="$ac_cv_prog_MAKEINFO"
1280 if test -n "$MAKEINFO"; then
1281 echo "$ac_t""$MAKEINFO" 1>&6
1283 echo "$ac_t""no" 1>&6
1286 test -n "$MAKEINFO" && break
1288 test -n "$MAKEINFO" || MAKEINFO
="error"
1293 cat > confcache
<<\EOF
1294 # This file is a shell script that caches the results of configure
1295 # tests run on this system so they can be shared between configure
1296 # scripts and configure runs. It is not useful on other systems.
1297 # If it contains results you don't want to keep, you may remove or edit it.
1299 # By default, configure uses ./config.cache as the cache file,
1300 # creating it if it does not exist already. You can give configure
1301 # the --cache-file=FILE option to use a different cache file; that is
1302 # what configure does when it calls configure scripts in
1303 # subdirectories, so they share the cache.
1304 # Giving --cache-file=/dev/null disables caching, for debugging configure.
1305 # config.status only pays attention to the cache file if you give it the
1306 # --recheck option to rerun configure.
1309 # The following way of writing the cache mishandles newlines in values,
1310 # but we know of no workaround that is simple, portable, and efficient.
1311 # So, don't put newlines in cache variables' values.
1312 # Ultrix sh set writes to stderr and can't be redirected directly,
1313 # and sets the high bit in the cache file unless we assign to the vars.
1315 case `(ac_space=' '; set | grep ac_space) 2>&1` in
1317 # `set' does not quote correctly, so add quotes (double-quote substitution
1318 # turns \\\\ into \\, and sed turns \\ into \).
1320 -e "s/'/'\\\\''/g" \
1321 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
1324 # `set' quotes correctly as required by POSIX, so do not add quotes.
1325 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
1328 if cmp -s $cache_file confcache
; then
1331 if test -w $cache_file; then
1332 echo "updating cache $cache_file"
1333 cat confcache
> $cache_file
1335 echo "not updating unwritable cache $cache_file"
1340 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
1342 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
1343 # Let make expand exec_prefix.
1344 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
1346 # Any assignment to VPATH causes Sun make to only execute
1347 # the first set of double-colon rules, so remove it if not needed.
1348 # If there is a colon in the path, we need to keep it.
1349 if test "x$srcdir" = x.
; then
1350 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
1353 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
1355 DEFS
=-DHAVE_CONFIG_H
1357 # Without the "./", some shells look in PATH for config.status.
1358 : ${CONFIG_STATUS=./config.status}
1360 echo creating
$CONFIG_STATUS
1361 rm -f $CONFIG_STATUS
1362 cat > $CONFIG_STATUS <<EOF
1364 # Generated automatically by configure.
1365 # Run this file to recreate the current configuration.
1366 # This directory was configured as follows,
1367 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
1369 # $0 $ac_configure_args
1371 # Compiler output produced by configure, useful for debugging
1372 # configure, is in ./config.log if it exists.
1374 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
1377 case "\$ac_option" in
1378 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
1379 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
1380 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
1381 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
1382 echo "$CONFIG_STATUS generated by autoconf version 2.13"
1384 -help | --help | --hel | --he | --h)
1385 echo "\$ac_cs_usage"; exit 0 ;;
1386 *) echo "\$ac_cs_usage"; exit 1 ;;
1390 ac_given_srcdir=$srcdir
1392 trap 'rm -fr `echo "$CONFIGFILE.make:config.make.in $CONFIGFILE.h:config.hh.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
1394 cat >> $CONFIG_STATUS <<EOF
1396 # Protect against being on the right side of a sed subst in config.status.
1397 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
1398 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
1402 s%@CFLAGS@%$CFLAGS%g
1403 s%@CPPFLAGS@%$CPPFLAGS%g
1404 s%@CXXFLAGS@%$CXXFLAGS%g
1405 s%@FFLAGS@%$FFLAGS%g
1407 s%@LDFLAGS@%$LDFLAGS%g
1409 s%@exec_prefix@%$exec_prefix%g
1410 s%@prefix@%$prefix%g
1411 s%@program_transform_name@%$program_transform_name%g
1412 s%@bindir@%$bindir%g
1413 s%@sbindir@%$sbindir%g
1414 s%@libexecdir@%$libexecdir%g
1415 s%@datadir@%$datadir%g
1416 s%@sysconfdir@%$sysconfdir%g
1417 s%@sharedstatedir@%$sharedstatedir%g
1418 s%@localstatedir@%$localstatedir%g
1419 s%@libdir@%$libdir%g
1420 s%@includedir@%$includedir%g
1421 s%@oldincludedir@%$oldincludedir%g
1422 s%@infodir@%$infodir%g
1423 s%@mandir@%$mandir%g
1424 s%@builddir@%$builddir%g
1425 s%@stepmake@%$stepmake%g
1426 s%@package@%$package%g
1427 s%@PACKAGE@%$PACKAGE%g
1428 s%@PACKAGE_NAME@%$PACKAGE_NAME%g
1429 s%@package_depth@%$package_depth%g
1430 s%@AUTOGENERATE@%$AUTOGENERATE%g
1431 s%@CONFIGSUFFIX@%$CONFIGSUFFIX%g
1433 s%@host_alias@%$host_alias%g
1434 s%@host_cpu@%$host_cpu%g
1435 s%@host_vendor@%$host_vendor%g
1436 s%@host_os@%$host_os%g
1441 s%@PYTHON@%$PYTHON%g
1442 s%@program_prefix@%$program_prefix%g
1443 s%@program_suffix@%$program_suffix%g
1447 s%@INSTALL@%$INSTALL%g
1448 s%@PATHSEP@%$PATHSEP%g
1449 s%@DIRSEP@%$DIRSEP%g
1450 s%@DIR_DATADIR@%$DIR_DATADIR%g
1451 s%@MAKEINFO@%$MAKEINFO%g
1456 cat >> $CONFIG_STATUS <<\EOF
1458 # Split the substitutions into bite-sized pieces for seds with
1459 # small command number limits, like on Digital OSF/1 and HP-UX.
1460 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
1461 ac_file
=1 # Number of current file.
1462 ac_beg
=1 # First line for current file.
1463 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
1466 while $ac_more_lines; do
1467 if test $ac_beg -gt 1; then
1468 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
1470 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
1472 if test ! -s conftest.s
$ac_file; then
1474 rm -f conftest.s
$ac_file
1476 if test -z "$ac_sed_cmds"; then
1477 ac_sed_cmds
="sed -f conftest.s$ac_file"
1479 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
1481 ac_file
=`expr $ac_file + 1`
1483 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
1486 if test -z "$ac_sed_cmds"; then
1491 cat >> $CONFIG_STATUS <<EOF
1493 CONFIG_FILES=\${CONFIG_FILES-"$CONFIGFILE.make:config.make.in"}
1495 cat >> $CONFIG_STATUS <<\EOF
1496 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
1497 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
1499 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
1500 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
1501 *) ac_file_in
="${ac_file}.in" ;;
1504 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
1506 # Remove last slash and all that follows it. Not all systems have dirname.
1507 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
1508 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
1509 # The file is in a subdirectory.
1510 test ! -d "$ac_dir" && mkdir
"$ac_dir"
1511 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
1512 # A "../" for each directory in $ac_dir_suffix.
1513 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
1515 ac_dir_suffix
= ac_dots
=
1518 case "$ac_given_srcdir" in
1520 if test -z "$ac_dots"; then top_srcdir
=.
1521 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
1522 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
1524 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
1525 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
1529 echo creating
"$ac_file"
1531 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
1533 *Makefile
*) ac_comsub
="1i\\
1534 # $configure_input" ;;
1538 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
1540 s%@configure_input@%$configure_input%g
1541 s%@srcdir@%$srcdir%g
1542 s%@top_srcdir@%$top_srcdir%g
1543 " $ac_file_inputs |
(eval "$ac_sed_cmds") > $ac_file
1547 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
1548 # NAME is the cpp macro being defined and VALUE is the value it is being given.
1550 # ac_d sets the value in "#define NAME VALUE" lines.
1551 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
1552 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
1555 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
1556 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
1557 ac_uB
='\([ ]\)%\1#\2define\3'
1560 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
1561 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
1562 ac_eB
='$%\1#\2define\3'
1566 if test "${CONFIG_HEADERS+set}" != set; then
1568 cat >> $CONFIG_STATUS <<EOF
1569 CONFIG_HEADERS="$CONFIGFILE.h:config.hh.in"
1571 cat >> $CONFIG_STATUS <<\EOF
1573 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
1574 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
1576 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
1577 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
1578 *) ac_file_in
="${ac_file}.in" ;;
1581 echo creating
$ac_file
1583 rm -f conftest.frag conftest.
in conftest.out
1584 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
1585 cat $ac_file_inputs > conftest.
in
1589 # Transform confdefs.h into a sed script conftest.vals that substitutes
1590 # the proper values into config.h.in to produce config.h. And first:
1591 # Protect against being on the right side of a sed subst in config.status.
1592 # Protect against being in an unquoted here document in config.status.
1594 cat > conftest.hdr
<<\EOF
1597 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
1601 sed -n -f conftest.hdr confdefs.h > conftest.vals
1604 # This sed command replaces #undef with comments. This is necessary, for
1605 # example, in the case of _POSIX_SOURCE, which is predefined and required
1606 # on some systems where configure will not decide to define it.
1607 cat >> conftest.vals <<\EOF
1608 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
1611 # Break up conftest.vals because some shells have a limit on
1612 # the size of here documents, and old seds have small limits too.
1617 ac_lines=`grep -c . conftest.vals
`
1618 # grep -c gives empty output for an empty file on some AIX systems.
1619 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
1620 # Write a limited-size here document to conftest.frag.
1621 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
1622 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
1624 sed -f conftest.frag conftest.in > conftest.out
1626 mv conftest.out conftest.in
1628 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
1630 mv conftest.tail conftest.vals
1634 cat >> $CONFIG_STATUS <<\EOF
1635 rm -f conftest.frag conftest.h
1636 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
1637 cat conftest.in >> conftest.h
1639 if cmp -s $ac_file conftest.h 2>/dev/null; then
1640 echo "$ac_file is unchanged"
1643 # Remove last slash and all that follows it. Not all systems have dirname.
1644 ac_dir=`echo $ac_file|
sed 's%/[^/][^/]*$%%'`
1645 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
1646 # The file is in a subdirectory.
1647 test ! -d "$ac_dir" && mkdir "$ac_dir"
1650 mv conftest.h $ac_file
1655 cat >> $CONFIG_STATUS <<EOF
1658 cat >> $CONFIG_STATUS <<\EOF
1662 chmod +x $CONFIG_STATUS
1663 rm -fr confdefs* $ac_clean_files
1664 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
1667 # regular in-place build
1668 # test for srcdir_build = yes ?
1669 if test "$builddir" = "."; then
1670 rm -f $srcdir/GNUmakefile
1671 cp $srcdir/GNUmakefile.in $srcdir/GNUmakefile
1672 chmod 444 $srcdir/GNUmakefile
1673 else # --srcdir build
1675 cp $srcdir/make/srcdir.make.in GNUmakefile
1676 chmod 444 GNUmakefile