2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.59 for mono-addins 0.2.
5
# Copyright (C) 2003 Free Software Foundation, Inc.
6
# This configure script is free software; the Free Software Foundation
7
# gives unlimited permission to copy, distribute and modify it.
8
## --------------------- ##
9
## M4sh Initialization. ##
10
## --------------------- ##
12
# Be Bourne compatible
13
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17
# is contrary to our usage. Disable this feature.
18
alias -g '${1+"$@"}'='"$@"'
19
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22
DUALCASE=1; export DUALCASE # for MKS sh
24
# Support unset when possible.
25
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
32
# Work around bugs in pre-3.0 UWIN ksh.
33
$as_unset ENV MAIL MAILPATH
40
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45
eval $as_var=C; export $as_var
51
# Required to use basename.
52
if expr a : '\(a\)' >/dev/null 2>&1; then
58
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
65
# Name of the executable.
66
as_me=`$as_basename "$0" ||
67
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68
X"$0" : 'X\(//\)$' \| \
69
X"$0" : 'X\(/\)$' \| \
70
. : '\(.\)' 2>/dev/null ||
72
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73
/^X\/\(\/\/\)$/{ s//\1/; q; }
74
/^X\/\(\/\).*/{ s//\1/; q; }
78
# PATH needs CR, and LINENO needs CR and PATH.
79
# Avoid depending upon Character Ranges.
80
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83
as_cr_digits='0123456789'
84
as_cr_alnum=$as_cr_Letters$as_cr_digits
86
# The user is always right.
87
if test "${PATH_SEPARATOR+set}" != set; then
88
echo "#! /bin/sh" >conf$$.sh
89
echo "exit 0" >>conf$$.sh
91
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
102
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103
test "x$as_lineno_1" != "x$as_lineno_2" &&
104
test "x$as_lineno_3" = "x$as_lineno_2" || {
105
# Find who we are. Look in the path if we contain no path at all
108
*[\\/]* ) as_myself=$0 ;;
109
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113
test -z "$as_dir" && as_dir=.
114
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
119
# We did not find ourselves, most probably we were run as `sh COMMAND'
120
# in which case we are not to be found in the path.
121
if test "x$as_myself" = x; then
124
if test ! -f "$as_myself"; then
125
{ echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126
{ (exit 1); exit 1; }; }
128
case $CONFIG_SHELL in
130
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134
test -z "$as_dir" && as_dir=.
135
for as_base in sh bash ksh sh5; do
138
if ("$as_dir/$as_base" -c '
141
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142
test "x$as_lineno_1" != "x$as_lineno_2" &&
143
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
144
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146
CONFIG_SHELL=$as_dir/$as_base
148
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157
# uniformly replaced by the line number. The first 'sed' inserts a
158
# line-number line before each line; the second 'sed' does the real
159
# work. The second script uses 'N' to pair each line-number line
160
# with the numbered line, and appends trailing '-' during
161
# substitution so that $LINENO is not a special case at line end.
162
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164
sed '=' <$as_myself |
169
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172
s,^['$as_cr_digits']*\n,,
174
chmod +x $as_me.lineno ||
175
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176
{ (exit 1); exit 1; }; }
178
# Don't try to exec as it changes $[0], causing all sort of problems
179
# (the dirname of $[0] is not the place where we might find the
180
# original and so on. Autoconf is especially sensible to this).
182
# Exit status is that of the last command.
187
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188
*c*,-n*) ECHO_N= ECHO_C='
190
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
194
if expr a : '\(a\)' >/dev/null 2>&1; then
200
rm -f conf$$ conf$$.exe conf$$.file
202
if ln -s conf$$.file conf$$ 2>/dev/null; then
203
# We could just check for DJGPP; but this test a) works b) is more generic
204
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205
if test -f conf$$.exe; then
206
# Don't use ln at all; we don't have any links
211
elif ln conf$$.file conf$$ 2>/dev/null; then
216
rm -f conf$$ conf$$.exe conf$$.file
218
if mkdir -p . 2>/dev/null; then
221
test -d ./-p && rmdir ./-p
225
as_executable_p="test -f"
227
# Sed expression to map a string onto a valid CPP name.
228
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230
# Sed expression to map a string onto a valid variable name.
231
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235
# We need space, tab and new line, in precisely that order.
245
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246
# so uname gets run too.
247
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
254
ac_default_prefix=/usr/local
255
ac_config_libobj_dir=.
260
SHELL=${CONFIG_SHELL-/bin/sh}
262
# Maximum number of lines to put in a shell here document.
263
# This variable seems obsolete. It should probably be removed, and
264
# only ac_max_sed_lines should be used.
265
: ${ac_max_here_lines=38}
267
# Identity of this package.
268
PACKAGE_NAME='mono-addins'
269
PACKAGE_TARNAME='mono-addins'
270
PACKAGE_VERSION='0.2'
271
PACKAGE_STRING='mono-addins 0.2'
274
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar PKG_CONFIG MCS GACUTIL GACUTIL_FLAGS ENABLE_GUI_TRUE ENABLE_GUI_FALSE ENABLE_TESTS_TRUE ENABLE_TESTS_FALSE ac_pt_PKG_CONFIG GTK_SHARP_20_CFLAGS GTK_SHARP_20_LIBS MONO_NUNIT_CFLAGS MONO_NUNIT_LIBS MONO_ADDINS_DEFAULT_LIB MONO_ADDINS_GUI_DEFAULT_LIB LIBOBJS LTLIBOBJS'
277
# Initialize some variables set by options.
279
ac_init_version=false
280
# The variables have the same names as the options, with
281
# dashes changed to underlines.
289
program_transform_name=s,x,x,
297
# Installation directory options.
298
# These are left unexpanded so users can "make install exec_prefix=/foo"
299
# and all the variables that are supposed to be based on exec_prefix
300
# by default will actually change.
301
# Use braces instead of parens because sh, perl, etc. also accept them.
302
bindir='${exec_prefix}/bin'
303
sbindir='${exec_prefix}/sbin'
304
libexecdir='${exec_prefix}/libexec'
305
datadir='${prefix}/share'
306
sysconfdir='${prefix}/etc'
307
sharedstatedir='${prefix}/com'
308
localstatedir='${prefix}/var'
309
libdir='${exec_prefix}/lib'
310
includedir='${prefix}/include'
311
oldincludedir='/usr/include'
312
infodir='${prefix}/info'
313
mandir='${prefix}/man'
318
# If the previous option needs an argument, assign it.
319
if test -n "$ac_prev"; then
320
eval "$ac_prev=\$ac_option"
325
ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
327
# Accept the important Cygnus configure options, so we can diagnose typos.
331
-bindir | --bindir | --bindi | --bind | --bin | --bi)
333
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
336
-build | --build | --buil | --bui | --bu)
337
ac_prev=build_alias ;;
338
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
339
build_alias=$ac_optarg ;;
341
-cache-file | --cache-file | --cache-fil | --cache-fi \
342
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
343
ac_prev=cache_file ;;
344
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
345
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
346
cache_file=$ac_optarg ;;
349
cache_file=config.cache ;;
351
-datadir | --datadir | --datadi | --datad | --data | --dat | --da)
353
-datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
355
datadir=$ac_optarg ;;
357
-disable-* | --disable-*)
358
ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
359
# Reject names that are not valid shell variable names.
360
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
361
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
362
{ (exit 1); exit 1; }; }
363
ac_feature=`echo $ac_feature | sed 's/-/_/g'`
364
eval "enable_$ac_feature=no" ;;
366
-enable-* | --enable-*)
367
ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
368
# Reject names that are not valid shell variable names.
369
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
370
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
371
{ (exit 1); exit 1; }; }
372
ac_feature=`echo $ac_feature | sed 's/-/_/g'`
374
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
377
eval "enable_$ac_feature='$ac_optarg'" ;;
379
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
380
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
381
| --exec | --exe | --ex)
382
ac_prev=exec_prefix ;;
383
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
384
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
385
| --exec=* | --exe=* | --ex=*)
386
exec_prefix=$ac_optarg ;;
388
-gas | --gas | --ga | --g)
389
# Obsolete; use --with-gas.
392
-help | --help | --hel | --he | -h)
394
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
395
ac_init_help=recursive ;;
396
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
397
ac_init_help=short ;;
399
-host | --host | --hos | --ho)
400
ac_prev=host_alias ;;
401
-host=* | --host=* | --hos=* | --ho=*)
402
host_alias=$ac_optarg ;;
404
-includedir | --includedir | --includedi | --included | --include \
405
| --includ | --inclu | --incl | --inc)
406
ac_prev=includedir ;;
407
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
408
| --includ=* | --inclu=* | --incl=* | --inc=*)
409
includedir=$ac_optarg ;;
411
-infodir | --infodir | --infodi | --infod | --info | --inf)
413
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
414
infodir=$ac_optarg ;;
416
-libdir | --libdir | --libdi | --libd)
418
-libdir=* | --libdir=* | --libdi=* | --libd=*)
421
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
422
| --libexe | --libex | --libe)
423
ac_prev=libexecdir ;;
424
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
425
| --libexe=* | --libex=* | --libe=*)
426
libexecdir=$ac_optarg ;;
428
-localstatedir | --localstatedir | --localstatedi | --localstated \
429
| --localstate | --localstat | --localsta | --localst \
430
| --locals | --local | --loca | --loc | --lo)
431
ac_prev=localstatedir ;;
432
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
433
| --localstate=* | --localstat=* | --localsta=* | --localst=* \
434
| --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
435
localstatedir=$ac_optarg ;;
437
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
439
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
443
# Obsolete; use --without-fp.
446
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
447
| --no-cr | --no-c | -n)
450
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
451
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
454
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
455
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
456
| --oldin | --oldi | --old | --ol | --o)
457
ac_prev=oldincludedir ;;
458
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
459
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
460
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
461
oldincludedir=$ac_optarg ;;
463
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
465
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
468
-program-prefix | --program-prefix | --program-prefi | --program-pref \
469
| --program-pre | --program-pr | --program-p)
470
ac_prev=program_prefix ;;
471
-program-prefix=* | --program-prefix=* | --program-prefi=* \
472
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
473
program_prefix=$ac_optarg ;;
475
-program-suffix | --program-suffix | --program-suffi | --program-suff \
476
| --program-suf | --program-su | --program-s)
477
ac_prev=program_suffix ;;
478
-program-suffix=* | --program-suffix=* | --program-suffi=* \
479
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
480
program_suffix=$ac_optarg ;;
482
-program-transform-name | --program-transform-name \
483
| --program-transform-nam | --program-transform-na \
484
| --program-transform-n | --program-transform- \
485
| --program-transform | --program-transfor \
486
| --program-transfo | --program-transf \
487
| --program-trans | --program-tran \
488
| --progr-tra | --program-tr | --program-t)
489
ac_prev=program_transform_name ;;
490
-program-transform-name=* | --program-transform-name=* \
491
| --program-transform-nam=* | --program-transform-na=* \
492
| --program-transform-n=* | --program-transform-=* \
493
| --program-transform=* | --program-transfor=* \
494
| --program-transfo=* | --program-transf=* \
495
| --program-trans=* | --program-tran=* \
496
| --progr-tra=* | --program-tr=* | --program-t=*)
497
program_transform_name=$ac_optarg ;;
499
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
500
| -silent | --silent | --silen | --sile | --sil)
503
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
505
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
507
sbindir=$ac_optarg ;;
509
-sharedstatedir | --sharedstatedir | --sharedstatedi \
510
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
511
| --sharedst | --shareds | --shared | --share | --shar \
513
ac_prev=sharedstatedir ;;
514
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
515
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
516
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
518
sharedstatedir=$ac_optarg ;;
520
-site | --site | --sit)
522
-site=* | --site=* | --sit=*)
525
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
527
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
530
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
531
| --syscon | --sysco | --sysc | --sys | --sy)
532
ac_prev=sysconfdir ;;
533
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
534
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
535
sysconfdir=$ac_optarg ;;
537
-target | --target | --targe | --targ | --tar | --ta | --t)
538
ac_prev=target_alias ;;
539
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
540
target_alias=$ac_optarg ;;
542
-v | -verbose | --verbose | --verbos | --verbo | --verb)
545
-version | --version | --versio | --versi | --vers | -V)
549
ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
550
# Reject names that are not valid shell variable names.
551
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
552
{ echo "$as_me: error: invalid package name: $ac_package" >&2
553
{ (exit 1); exit 1; }; }
554
ac_package=`echo $ac_package| sed 's/-/_/g'`
556
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
559
eval "with_$ac_package='$ac_optarg'" ;;
561
-without-* | --without-*)
562
ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
563
# Reject names that are not valid shell variable names.
564
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
565
{ echo "$as_me: error: invalid package name: $ac_package" >&2
566
{ (exit 1); exit 1; }; }
567
ac_package=`echo $ac_package | sed 's/-/_/g'`
568
eval "with_$ac_package=no" ;;
571
# Obsolete; use --with-x.
574
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
575
| --x-incl | --x-inc | --x-in | --x-i)
576
ac_prev=x_includes ;;
577
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
578
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
579
x_includes=$ac_optarg ;;
581
-x-libraries | --x-libraries | --x-librarie | --x-librari \
582
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
583
ac_prev=x_libraries ;;
584
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
585
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
586
x_libraries=$ac_optarg ;;
588
-*) { echo "$as_me: error: unrecognized option: $ac_option
589
Try \`$0 --help' for more information." >&2
590
{ (exit 1); exit 1; }; }
594
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
595
# Reject names that are not valid shell variable names.
596
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
597
{ echo "$as_me: error: invalid variable name: $ac_envvar" >&2
598
{ (exit 1); exit 1; }; }
599
ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
600
eval "$ac_envvar='$ac_optarg'"
604
# FIXME: should be removed in autoconf 3.0.
605
echo "$as_me: WARNING: you should use --build, --host, --target" >&2
606
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
607
echo "$as_me: WARNING: invalid host type: $ac_option" >&2
608
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
614
if test -n "$ac_prev"; then
615
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
616
{ echo "$as_me: error: missing argument to $ac_option" >&2
617
{ (exit 1); exit 1; }; }
620
# Be sure to have absolute paths.
621
for ac_var in exec_prefix prefix
623
eval ac_val=$`echo $ac_var`
625
[\\/$]* | ?:[\\/]* | NONE | '' ) ;;
626
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
627
{ (exit 1); exit 1; }; };;
631
# Be sure to have absolute paths.
632
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
633
localstatedir libdir includedir oldincludedir infodir mandir
635
eval ac_val=$`echo $ac_var`
637
[\\/$]* | ?:[\\/]* ) ;;
638
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
639
{ (exit 1); exit 1; }; };;
643
# There might be people who depend on the old broken behavior: `$host'
644
# used to hold the argument of --host etc.
645
# FIXME: To remove some day.
650
# FIXME: To remove some day.
651
if test "x$host_alias" != x; then
652
if test "x$build_alias" = x; then
653
cross_compiling=maybe
654
echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
655
If a cross compiler is detected then cross compile mode will be used." >&2
656
elif test "x$build_alias" != "x$host_alias"; then
662
test -n "$host_alias" && ac_tool_prefix=$host_alias-
664
test "$silent" = yes && exec 6>/dev/null
667
# Find the source files, if location was not specified.
668
if test -z "$srcdir"; then
669
ac_srcdir_defaulted=yes
670
# Try the directory containing this script, then its parent.
671
ac_confdir=`(dirname "$0") 2>/dev/null ||
672
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
673
X"$0" : 'X\(//\)[^/]' \| \
674
X"$0" : 'X\(//\)$' \| \
675
X"$0" : 'X\(/\)' \| \
676
. : '\(.\)' 2>/dev/null ||
678
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
679
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
680
/^X\(\/\/\)$/{ s//\1/; q; }
681
/^X\(\/\).*/{ s//\1/; q; }
684
if test ! -r $srcdir/$ac_unique_file; then
688
ac_srcdir_defaulted=no
690
if test ! -r $srcdir/$ac_unique_file; then
691
if test "$ac_srcdir_defaulted" = yes; then
692
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
693
{ (exit 1); exit 1; }; }
695
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
696
{ (exit 1); exit 1; }; }
699
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
700
{ echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
701
{ (exit 1); exit 1; }; }
702
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
703
ac_env_build_alias_set=${build_alias+set}
704
ac_env_build_alias_value=$build_alias
705
ac_cv_env_build_alias_set=${build_alias+set}
706
ac_cv_env_build_alias_value=$build_alias
707
ac_env_host_alias_set=${host_alias+set}
708
ac_env_host_alias_value=$host_alias
709
ac_cv_env_host_alias_set=${host_alias+set}
710
ac_cv_env_host_alias_value=$host_alias
711
ac_env_target_alias_set=${target_alias+set}
712
ac_env_target_alias_value=$target_alias
713
ac_cv_env_target_alias_set=${target_alias+set}
714
ac_cv_env_target_alias_value=$target_alias
715
ac_env_PKG_CONFIG_set=${PKG_CONFIG+set}
716
ac_env_PKG_CONFIG_value=$PKG_CONFIG
717
ac_cv_env_PKG_CONFIG_set=${PKG_CONFIG+set}
718
ac_cv_env_PKG_CONFIG_value=$PKG_CONFIG
719
ac_env_GTK_SHARP_20_CFLAGS_set=${GTK_SHARP_20_CFLAGS+set}
720
ac_env_GTK_SHARP_20_CFLAGS_value=$GTK_SHARP_20_CFLAGS
721
ac_cv_env_GTK_SHARP_20_CFLAGS_set=${GTK_SHARP_20_CFLAGS+set}
722
ac_cv_env_GTK_SHARP_20_CFLAGS_value=$GTK_SHARP_20_CFLAGS
723
ac_env_GTK_SHARP_20_LIBS_set=${GTK_SHARP_20_LIBS+set}
724
ac_env_GTK_SHARP_20_LIBS_value=$GTK_SHARP_20_LIBS
725
ac_cv_env_GTK_SHARP_20_LIBS_set=${GTK_SHARP_20_LIBS+set}
726
ac_cv_env_GTK_SHARP_20_LIBS_value=$GTK_SHARP_20_LIBS
727
ac_env_MONO_NUNIT_CFLAGS_set=${MONO_NUNIT_CFLAGS+set}
728
ac_env_MONO_NUNIT_CFLAGS_value=$MONO_NUNIT_CFLAGS
729
ac_cv_env_MONO_NUNIT_CFLAGS_set=${MONO_NUNIT_CFLAGS+set}
730
ac_cv_env_MONO_NUNIT_CFLAGS_value=$MONO_NUNIT_CFLAGS
731
ac_env_MONO_NUNIT_LIBS_set=${MONO_NUNIT_LIBS+set}
732
ac_env_MONO_NUNIT_LIBS_value=$MONO_NUNIT_LIBS
733
ac_cv_env_MONO_NUNIT_LIBS_set=${MONO_NUNIT_LIBS+set}
734
ac_cv_env_MONO_NUNIT_LIBS_value=$MONO_NUNIT_LIBS
737
# Report the --help message.
739
if test "$ac_init_help" = "long"; then
740
# Omit some internal or obsolete options to make the list less imposing.
741
# This message is too long to be a string in the A/UX 3.1 sh.
743
\`configure' configures mono-addins 0.2 to adapt to many kinds of systems.
745
Usage: $0 [OPTION]... [VAR=VALUE]...
747
To assign environment variables (e.g., CC, CFLAGS...), specify them as
748
VAR=VALUE. See below for descriptions of some of the useful variables.
750
Defaults for the options are specified in brackets.
753
-h, --help display this help and exit
754
--help=short display options specific to this package
755
--help=recursive display the short help of all the included packages
756
-V, --version display version information and exit
757
-q, --quiet, --silent do not print \`checking...' messages
758
--cache-file=FILE cache test results in FILE [disabled]
759
-C, --config-cache alias for \`--cache-file=config.cache'
760
-n, --no-create do not create output files
761
--srcdir=DIR find the sources in DIR [configure dir or \`..']
766
Installation directories:
767
--prefix=PREFIX install architecture-independent files in PREFIX
769
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
772
By default, \`make install' will install all the files in
773
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
774
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
775
for instance \`--prefix=\$HOME'.
777
For better control, use the options below.
779
Fine tuning of the installation directories:
780
--bindir=DIR user executables [EPREFIX/bin]
781
--sbindir=DIR system admin executables [EPREFIX/sbin]
782
--libexecdir=DIR program executables [EPREFIX/libexec]
783
--datadir=DIR read-only architecture-independent data [PREFIX/share]
784
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
785
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
786
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
787
--libdir=DIR object code libraries [EPREFIX/lib]
788
--includedir=DIR C header files [PREFIX/include]
789
--oldincludedir=DIR C header files for non-gcc [/usr/include]
790
--infodir=DIR info documentation [PREFIX/info]
791
--mandir=DIR man documentation [PREFIX/man]
797
--program-prefix=PREFIX prepend PREFIX to installed program names
798
--program-suffix=SUFFIX append SUFFIX to installed program names
799
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
803
if test -n "$ac_init_help"; then
804
case $ac_init_help in
805
short | recursive ) echo "Configuration of mono-addins 0.2:";;
810
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
811
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
812
--enable-gui enable support for GTK dependent libraries
814
--enable-tests build unit tests default=yes
816
Some influential environment variables:
817
PKG_CONFIG path to pkg-config utility
819
C compiler flags for GTK_SHARP_20, overriding pkg-config
821
linker flags for GTK_SHARP_20, overriding pkg-config
823
C compiler flags for MONO_NUNIT, overriding pkg-config
825
linker flags for MONO_NUNIT, overriding pkg-config
827
Use these variables to override the choices made by `configure' or to help
828
it to find libraries and programs with nonstandard names/locations.
833
if test "$ac_init_help" = "recursive"; then
834
# If there are subdirs, report their specific --help.
836
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
837
test -d $ac_dir || continue
840
if test "$ac_dir" != .; then
841
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
842
# A "../" for each directory in $ac_dir_suffix.
843
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
845
ac_dir_suffix= ac_top_builddir=
849
.) # No --srcdir option. We are building in place.
851
if test -z "$ac_top_builddir"; then
854
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
856
[\\/]* | ?:[\\/]* ) # Absolute path.
857
ac_srcdir=$srcdir$ac_dir_suffix;
858
ac_top_srcdir=$srcdir ;;
860
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
861
ac_top_srcdir=$ac_top_builddir$srcdir ;;
864
# Do not use `cd foo && pwd` to compute absolute paths, because
865
# the directories may not exist.
867
.) ac_abs_builddir="$ac_dir";;
870
.) ac_abs_builddir=`pwd`;;
871
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
872
*) ac_abs_builddir=`pwd`/"$ac_dir";;
875
case $ac_abs_builddir in
876
.) ac_abs_top_builddir=${ac_top_builddir}.;;
878
case ${ac_top_builddir}. in
879
.) ac_abs_top_builddir=$ac_abs_builddir;;
880
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
881
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
884
case $ac_abs_builddir in
885
.) ac_abs_srcdir=$ac_srcdir;;
888
.) ac_abs_srcdir=$ac_abs_builddir;;
889
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
890
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
893
case $ac_abs_builddir in
894
.) ac_abs_top_srcdir=$ac_top_srcdir;;
896
case $ac_top_srcdir in
897
.) ac_abs_top_srcdir=$ac_abs_builddir;;
898
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
899
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
904
# Check for guested configure; otherwise get Cygnus style configure.
905
if test -f $ac_srcdir/configure.gnu; then
907
$SHELL $ac_srcdir/configure.gnu --help=recursive
908
elif test -f $ac_srcdir/configure; then
910
$SHELL $ac_srcdir/configure --help=recursive
911
elif test -f $ac_srcdir/configure.ac ||
912
test -f $ac_srcdir/configure.in; then
916
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
922
test -n "$ac_init_help" && exit 0
923
if $ac_init_version; then
925
mono-addins configure 0.2
926
generated by GNU Autoconf 2.59
928
Copyright (C) 2003 Free Software Foundation, Inc.
929
This configure script is free software; the Free Software Foundation
930
gives unlimited permission to copy, distribute and modify it.
936
This file contains any messages produced by compilers while
937
running configure, to aid debugging if configure makes a mistake.
939
It was created by mono-addins $as_me 0.2, which was
940
generated by GNU Autoconf 2.59. Invocation command line was
951
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
952
uname -m = `(uname -m) 2>/dev/null || echo unknown`
953
uname -r = `(uname -r) 2>/dev/null || echo unknown`
954
uname -s = `(uname -s) 2>/dev/null || echo unknown`
955
uname -v = `(uname -v) 2>/dev/null || echo unknown`
957
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
958
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
960
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
961
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
962
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
963
hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
964
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
965
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
966
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
970
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
974
test -z "$as_dir" && as_dir=.
990
# Keep a trace of the command line.
991
# Strip out --no-create and --no-recursion so they do not pile up.
992
# Strip out --silent because we don't want to record it for future runs.
993
# Also quote any args containing shell meta-characters.
994
# Make two passes to allow for proper duplicate-argument suppression.
999
ac_must_keep_next=false
1005
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1006
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1007
| -silent | --silent | --silen | --sile | --sil)
1009
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1010
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1013
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1015
ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1016
if test $ac_must_keep_next = true; then
1017
ac_must_keep_next=false # Got value, back to normal.
1020
*=* | --config-cache | -C | -disable-* | --disable-* \
1021
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1022
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1023
| -with-* | --with-* | -without-* | --without-* | --x)
1024
case "$ac_configure_args0 " in
1025
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1028
-* ) ac_must_keep_next=true ;;
1031
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1032
# Get rid of the leading space.
1038
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1039
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1041
# When interrupted or exit'd, cleanup temporary files, and complete
1042
# config.log. We remove comments because anyway the quotes in there
1043
# would cause problems or look ugly.
1044
# WARNING: Be sure not to use single quotes in there, as some shells,
1045
# such as our DU 5.0 friend, will then `close' the trap.
1046
trap 'exit_status=$?
1047
# Save into config.log some information that might help in debugging.
1052
## ---------------- ##
1053
## Cache variables. ##
1054
## ---------------- ##
1057
# The following way of writing the cache mishandles newlines in values,
1060
case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1063
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1064
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1068
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1075
## ----------------- ##
1076
## Output variables. ##
1077
## ----------------- ##
1080
for ac_var in $ac_subst_vars
1082
eval ac_val=$`echo $ac_var`
1083
echo "$ac_var='"'"'$ac_val'"'"'"
1087
if test -n "$ac_subst_files"; then
1094
for ac_var in $ac_subst_files
1096
eval ac_val=$`echo $ac_var`
1097
echo "$ac_var='"'"'$ac_val'"'"'"
1102
if test -s confdefs.h; then
1109
sed "/^$/d" confdefs.h | sort
1112
test "$ac_signal" != 0 &&
1113
echo "$as_me: caught signal $ac_signal"
1114
echo "$as_me: exit $exit_status"
1116
rm -f core *.core &&
1117
rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1120
for ac_signal in 1 2 13 15; do
1121
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1125
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1126
rm -rf conftest* confdefs.h
1127
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1130
# Predefined preprocessor variables.
1132
cat >>confdefs.h <<_ACEOF
1133
#define PACKAGE_NAME "$PACKAGE_NAME"
1137
cat >>confdefs.h <<_ACEOF
1138
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1142
cat >>confdefs.h <<_ACEOF
1143
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1147
cat >>confdefs.h <<_ACEOF
1148
#define PACKAGE_STRING "$PACKAGE_STRING"
1152
cat >>confdefs.h <<_ACEOF
1153
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1157
# Let the site file select an alternate cache file if it wants to.
1158
# Prefer explicitly selected file to automatically selected ones.
1159
if test -z "$CONFIG_SITE"; then
1160
if test "x$prefix" != xNONE; then
1161
CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1163
CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1166
for ac_site_file in $CONFIG_SITE; do
1167
if test -r "$ac_site_file"; then
1168
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1169
echo "$as_me: loading site script $ac_site_file" >&6;}
1170
sed 's/^/| /' "$ac_site_file" >&5
1175
if test -r "$cache_file"; then
1176
# Some versions of bash will fail to source /dev/null (special
1177
# files actually), so we avoid doing that.
1178
if test -f "$cache_file"; then
1179
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5
1180
echo "$as_me: loading cache $cache_file" >&6;}
1182
[\\/]* | ?:[\\/]* ) . $cache_file;;
1183
*) . ./$cache_file;;
1187
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5
1188
echo "$as_me: creating cache $cache_file" >&6;}
1192
# Check that the precious variables saved in the cache have kept the same
1194
ac_cache_corrupted=false
1195
for ac_var in `(set) 2>&1 |
1196
sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1197
eval ac_old_set=\$ac_cv_env_${ac_var}_set
1198
eval ac_new_set=\$ac_env_${ac_var}_set
1199
eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1200
eval ac_new_val="\$ac_env_${ac_var}_value"
1201
case $ac_old_set,$ac_new_set in
1203
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1204
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1205
ac_cache_corrupted=: ;;
1207
{ echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1208
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1209
ac_cache_corrupted=: ;;
1212
if test "x$ac_old_val" != "x$ac_new_val"; then
1213
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1214
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1215
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1216
echo "$as_me: former value: $ac_old_val" >&2;}
1217
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1218
echo "$as_me: current value: $ac_new_val" >&2;}
1219
ac_cache_corrupted=:
1222
# Pass precious variables to config.status.
1223
if test "$ac_new_set" = set; then
1225
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1226
ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1227
*) ac_arg=$ac_var=$ac_new_val ;;
1229
case " $ac_configure_args " in
1230
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1231
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1235
if $ac_cache_corrupted; then
1236
{ echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1237
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1238
{ { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1239
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1240
{ (exit 1); exit 1; }; }
1244
ac_cpp='$CPP $CPPFLAGS'
1245
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1246
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1247
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1275
am__api_version="1.9"
1277
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1278
if test -f $ac_dir/install-sh; then
1280
ac_install_sh="$ac_aux_dir/install-sh -c"
1282
elif test -f $ac_dir/install.sh; then
1284
ac_install_sh="$ac_aux_dir/install.sh -c"
1286
elif test -f $ac_dir/shtool; then
1288
ac_install_sh="$ac_aux_dir/shtool install -c"
1292
if test -z "$ac_aux_dir"; then
1293
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1294
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1295
{ (exit 1); exit 1; }; }
1297
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1298
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1299
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1301
# Find a good install program. We prefer a C program (faster),
1302
# so one script is as good as another. But avoid the broken or
1303
# incompatible versions:
1304
# SysV /etc/install, /usr/sbin/install
1305
# SunOS /usr/etc/install
1306
# IRIX /sbin/install
1308
# AmigaOS /C/install, which installs bootblocks on floppy discs
1309
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1310
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1311
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1312
# OS/2's system install, which has a completely different semantic
1313
# ./install, which can be erroneously created by make from ./install.sh.
1314
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1315
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1316
if test -z "$INSTALL"; then
1317
if test "${ac_cv_path_install+set}" = set; then
1318
echo $ECHO_N "(cached) $ECHO_C" >&6
1320
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1324
test -z "$as_dir" && as_dir=.
1325
# Account for people who put trailing slashes in PATH elements.
1327
./ | .// | /cC/* | \
1328
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1329
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1332
# OSF1 and SCO ODT 3.0 have their own names for install.
1333
# Don't use installbsd from OSF since it installs stuff as root
1335
for ac_prog in ginstall scoinst install; do
1336
for ac_exec_ext in '' $ac_executable_extensions; do
1337
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1338
if test $ac_prog = install &&
1339
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1340
# AIX install. It has an incompatible calling convention.
1342
elif test $ac_prog = install &&
1343
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1344
# program-specific install script used by HP pwplus--don't use.
1347
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1359
if test "${ac_cv_path_install+set}" = set; then
1360
INSTALL=$ac_cv_path_install
1362
# As a last resort, use the slow shell script. We don't cache a
1363
# path for INSTALL within a source directory, because that will
1364
# break other packages using the cache if that directory is
1365
# removed, or if the path is relative.
1366
INSTALL=$ac_install_sh
1369
echo "$as_me:$LINENO: result: $INSTALL" >&5
1370
echo "${ECHO_T}$INSTALL" >&6
1372
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1373
# It thinks the first close brace ends the variable substitution.
1374
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1376
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1378
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1380
echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1381
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1384
echo timestamp > conftest.file
1385
# Do `set' in a subshell so we don't clobber the current shell's
1386
# arguments. Must try -L first in case configure is actually a
1387
# symlink; some systems play weird games with the mod time of symlinks
1388
# (eg FreeBSD returns the mod time of the symlink's containing
1391
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1392
if test "$*" = "X"; then
1394
set X `ls -t $srcdir/configure conftest.file`
1397
if test "$*" != "X $srcdir/configure conftest.file" \
1398
&& test "$*" != "X conftest.file $srcdir/configure"; then
1400
# If neither matched, then we have a broken ls. This can happen
1401
# if, for instance, CONFIG_SHELL is bash and it inherits a
1402
# broken ls alias from the environment. This has actually
1403
# happened. Such a system could not be considered "sane".
1404
{ { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1405
alias in your environment" >&5
1406
echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1407
alias in your environment" >&2;}
1408
{ (exit 1); exit 1; }; }
1411
test "$2" = conftest.file
1417
{ { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1418
Check your system clock" >&5
1419
echo "$as_me: error: newly created file is older than distributed files!
1420
Check your system clock" >&2;}
1421
{ (exit 1); exit 1; }; }
1423
echo "$as_me:$LINENO: result: yes" >&5
1424
echo "${ECHO_T}yes" >&6
1425
test "$program_prefix" != NONE &&
1426
program_transform_name="s,^,$program_prefix,;$program_transform_name"
1427
# Use a double $ so make ignores it.
1428
test "$program_suffix" != NONE &&
1429
program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1430
# Double any \ or $. echo might interpret backslashes.
1431
# By default was `s,x,x', remove it if useless.
1432
cat <<\_ACEOF >conftest.sed
1433
s/[\\$]/&&/g;s/;s,x,x,$//
1435
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1438
# expand $ac_aux_dir to an absolute path
1439
am_aux_dir=`cd $ac_aux_dir && pwd`
1441
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1442
# Use eval to expand $SHELL
1443
if eval "$MISSING --run true"; then
1444
am_missing_run="$MISSING --run "
1447
{ echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1448
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1451
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1452
# We used to keeping the `.' as first argument, in order to
1453
# allow $(mkdir_p) to be used without argument. As in
1454
# $(mkdir_p) $(somedir)
1455
# where $(somedir) is conditionally defined. However this is wrong
1457
# 1. if the package is installed by a user who cannot write `.'
1458
# make install will fail,
1459
# 2. the above comment should most certainly read
1460
# $(mkdir_p) $(DESTDIR)$(somedir)
1461
# so it does not work when $(somedir) is undefined and
1462
# $(DESTDIR) is not.
1463
# To support the latter case, we have to write
1464
# test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1465
# so the `.' trick is pointless.
1466
mkdir_p='mkdir -p --'
1468
# On NextStep and OpenStep, the `mkdir' command does not
1469
# recognize any option. It will interpret all options as
1470
# directories to create, and then abort because `.' already
1472
for d in ./-p ./--version;
1474
test -d $d && rmdir $d
1476
# $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1477
if test -f "$ac_aux_dir/mkinstalldirs"; then
1478
mkdir_p='$(mkinstalldirs)'
1480
mkdir_p='$(install_sh) -d'
1484
for ac_prog in gawk mawk nawk awk
1486
# Extract the first word of "$ac_prog", so it can be a program name with args.
1487
set dummy $ac_prog; ac_word=$2
1488
echo "$as_me:$LINENO: checking for $ac_word" >&5
1489
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1490
if test "${ac_cv_prog_AWK+set}" = set; then
1491
echo $ECHO_N "(cached) $ECHO_C" >&6
1493
if test -n "$AWK"; then
1494
ac_cv_prog_AWK="$AWK" # Let the user override the test.
1496
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1500
test -z "$as_dir" && as_dir=.
1501
for ac_exec_ext in '' $ac_executable_extensions; do
1502
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1503
ac_cv_prog_AWK="$ac_prog"
1504
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1513
if test -n "$AWK"; then
1514
echo "$as_me:$LINENO: result: $AWK" >&5
1515
echo "${ECHO_T}$AWK" >&6
1517
echo "$as_me:$LINENO: result: no" >&5
1518
echo "${ECHO_T}no" >&6
1521
test -n "$AWK" && break
1524
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1525
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1526
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1527
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1528
echo $ECHO_N "(cached) $ECHO_C" >&6
1530
cat >conftest.make <<\_ACEOF
1532
@echo 'ac_maketemp="$(MAKE)"'
1534
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1535
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1536
if test -n "$ac_maketemp"; then
1537
eval ac_cv_prog_make_${ac_make}_set=yes
1539
eval ac_cv_prog_make_${ac_make}_set=no
1543
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1544
echo "$as_me:$LINENO: result: yes" >&5
1545
echo "${ECHO_T}yes" >&6
1548
echo "$as_me:$LINENO: result: no" >&5
1549
echo "${ECHO_T}no" >&6
1550
SET_MAKE="MAKE=${MAKE-make}"
1553
rm -rf .tst 2>/dev/null
1554
mkdir .tst 2>/dev/null
1555
if test -d .tst; then
1560
rmdir .tst 2>/dev/null
1562
# test to see if srcdir already configured
1563
if test "`cd $srcdir && pwd`" != "`pwd`" &&
1564
test -f $srcdir/config.status; then
1565
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1566
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1567
{ (exit 1); exit 1; }; }
1570
# test whether we have cygpath
1571
if test -z "$CYGPATH_W"; then
1572
if (cygpath --version) >/dev/null 2>/dev/null; then
1573
CYGPATH_W='cygpath -w'
1580
# Define the identity of the package.
1581
PACKAGE='mono-addins'
1585
cat >>confdefs.h <<_ACEOF
1586
#define PACKAGE "$PACKAGE"
1590
cat >>confdefs.h <<_ACEOF
1591
#define VERSION "$VERSION"
1594
# Some tools Automake needs.
1596
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1599
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1602
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1605
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1608
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1610
install_sh=${install_sh-"$am_aux_dir/install-sh"}
1612
# Installed binaries are usually stripped using `strip' when the user
1613
# run `make install-strip'. However `strip' might not be the right
1614
# tool to use in cross-compilation environments, therefore Automake
1615
# will honor the `STRIP' environment variable to overrule this program.
1616
if test "$cross_compiling" != no; then
1617
if test -n "$ac_tool_prefix"; then
1618
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1619
set dummy ${ac_tool_prefix}strip; ac_word=$2
1620
echo "$as_me:$LINENO: checking for $ac_word" >&5
1621
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1622
if test "${ac_cv_prog_STRIP+set}" = set; then
1623
echo $ECHO_N "(cached) $ECHO_C" >&6
1625
if test -n "$STRIP"; then
1626
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1628
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1632
test -z "$as_dir" && as_dir=.
1633
for ac_exec_ext in '' $ac_executable_extensions; do
1634
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1635
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1636
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1644
STRIP=$ac_cv_prog_STRIP
1645
if test -n "$STRIP"; then
1646
echo "$as_me:$LINENO: result: $STRIP" >&5
1647
echo "${ECHO_T}$STRIP" >&6
1649
echo "$as_me:$LINENO: result: no" >&5
1650
echo "${ECHO_T}no" >&6
1654
if test -z "$ac_cv_prog_STRIP"; then
1656
# Extract the first word of "strip", so it can be a program name with args.
1657
set dummy strip; ac_word=$2
1658
echo "$as_me:$LINENO: checking for $ac_word" >&5
1659
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1660
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1661
echo $ECHO_N "(cached) $ECHO_C" >&6
1663
if test -n "$ac_ct_STRIP"; then
1664
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1666
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1670
test -z "$as_dir" && as_dir=.
1671
for ac_exec_ext in '' $ac_executable_extensions; do
1672
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1673
ac_cv_prog_ac_ct_STRIP="strip"
1674
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1680
test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1683
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1684
if test -n "$ac_ct_STRIP"; then
1685
echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1686
echo "${ECHO_T}$ac_ct_STRIP" >&6
1688
echo "$as_me:$LINENO: result: no" >&5
1689
echo "${ECHO_T}no" >&6
1694
STRIP="$ac_cv_prog_STRIP"
1698
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1700
# We need awk for the "check" target. The system "awk" is bad on
1702
# Always define AMTAR for backward compatibility.
1704
AMTAR=${AMTAR-"${am_missing_run}tar"}
1706
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1713
# Extract the first word of "pkg-config", so it can be a program name with args.
1714
set dummy pkg-config; ac_word=$2
1715
echo "$as_me:$LINENO: checking for $ac_word" >&5
1716
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1717
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
1718
echo $ECHO_N "(cached) $ECHO_C" >&6
1722
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
1725
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1729
test -z "$as_dir" && as_dir=.
1730
for ac_exec_ext in '' $ac_executable_extensions; do
1731
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1732
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
1733
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1739
test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
1743
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
1745
if test -n "$PKG_CONFIG"; then
1746
echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
1747
echo "${ECHO_T}$PKG_CONFIG" >&6
1749
echo "$as_me:$LINENO: result: no" >&5
1750
echo "${ECHO_T}no" >&6
1753
if test "x$PKG_CONFIG" = "xno"; then
1754
{ { echo "$as_me:$LINENO: error: You need to install pkg-config" >&5
1755
echo "$as_me: error: You need to install pkg-config" >&2;}
1756
{ (exit 1); exit 1; }; }
1759
# Find a good install program. We prefer a C program (faster),
1760
# so one script is as good as another. But avoid the broken or
1761
# incompatible versions:
1762
# SysV /etc/install, /usr/sbin/install
1763
# SunOS /usr/etc/install
1764
# IRIX /sbin/install
1766
# AmigaOS /C/install, which installs bootblocks on floppy discs
1767
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1768
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1769
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1770
# OS/2's system install, which has a completely different semantic
1771
# ./install, which can be erroneously created by make from ./install.sh.
1772
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1773
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1774
if test -z "$INSTALL"; then
1775
if test "${ac_cv_path_install+set}" = set; then
1776
echo $ECHO_N "(cached) $ECHO_C" >&6
1778
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1782
test -z "$as_dir" && as_dir=.
1783
# Account for people who put trailing slashes in PATH elements.
1785
./ | .// | /cC/* | \
1786
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1787
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1790
# OSF1 and SCO ODT 3.0 have their own names for install.
1791
# Don't use installbsd from OSF since it installs stuff as root
1793
for ac_prog in ginstall scoinst install; do
1794
for ac_exec_ext in '' $ac_executable_extensions; do
1795
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1796
if test $ac_prog = install &&
1797
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1798
# AIX install. It has an incompatible calling convention.
1800
elif test $ac_prog = install &&
1801
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1802
# program-specific install script used by HP pwplus--don't use.
1805
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1817
if test "${ac_cv_path_install+set}" = set; then
1818
INSTALL=$ac_cv_path_install
1820
# As a last resort, use the slow shell script. We don't cache a
1821
# path for INSTALL within a source directory, because that will
1822
# break other packages using the cache if that directory is
1823
# removed, or if the path is relative.
1824
INSTALL=$ac_install_sh
1827
echo "$as_me:$LINENO: result: $INSTALL" >&5
1828
echo "${ECHO_T}$INSTALL" >&6
1830
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1831
# It thinks the first close brace ends the variable substitution.
1832
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1834
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1836
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1839
# Extract the first word of "mcs", so it can be a program name with args.
1840
set dummy mcs; ac_word=$2
1841
echo "$as_me:$LINENO: checking for $ac_word" >&5
1842
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1843
if test "${ac_cv_path_MCS+set}" = set; then
1844
echo $ECHO_N "(cached) $ECHO_C" >&6
1848
ac_cv_path_MCS="$MCS" # Let the user override the test with a path.
1851
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1855
test -z "$as_dir" && as_dir=.
1856
for ac_exec_ext in '' $ac_executable_extensions; do
1857
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1858
ac_cv_path_MCS="$as_dir/$ac_word$ac_exec_ext"
1859
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1865
test -z "$ac_cv_path_MCS" && ac_cv_path_MCS="no"
1871
if test -n "$MCS"; then
1872
echo "$as_me:$LINENO: result: $MCS" >&5
1873
echo "${ECHO_T}$MCS" >&6
1875
echo "$as_me:$LINENO: result: no" >&5
1876
echo "${ECHO_T}no" >&6
1879
if test "x$MCS" = "xno"; then
1880
{ { echo "$as_me:$LINENO: error: mcs Not found" >&5
1881
echo "$as_me: error: mcs Not found" >&2;}
1882
{ (exit 1); exit 1; }; }
1885
# Extract the first word of "gacutil", so it can be a program name with args.
1886
set dummy gacutil; ac_word=$2
1887
echo "$as_me:$LINENO: checking for $ac_word" >&5
1888
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1889
if test "${ac_cv_path_GACUTIL+set}" = set; then
1890
echo $ECHO_N "(cached) $ECHO_C" >&6
1894
ac_cv_path_GACUTIL="$GACUTIL" # Let the user override the test with a path.
1897
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1901
test -z "$as_dir" && as_dir=.
1902
for ac_exec_ext in '' $ac_executable_extensions; do
1903
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1904
ac_cv_path_GACUTIL="$as_dir/$ac_word$ac_exec_ext"
1905
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1911
test -z "$ac_cv_path_GACUTIL" && ac_cv_path_GACUTIL="no"
1915
GACUTIL=$ac_cv_path_GACUTIL
1917
if test -n "$GACUTIL"; then
1918
echo "$as_me:$LINENO: result: $GACUTIL" >&5
1919
echo "${ECHO_T}$GACUTIL" >&6
1921
echo "$as_me:$LINENO: result: no" >&5
1922
echo "${ECHO_T}no" >&6
1925
if test "x$GACUTIL" = "xno" ; then
1926
{ { echo "$as_me:$LINENO: error: No gacutil tool found" >&5
1927
echo "$as_me: error: No gacutil tool found" >&2;}
1928
{ (exit 1); exit 1; }; }
1931
GACUTIL_FLAGS='/package mono-addins /root $(DESTDIR)$(prefix)/lib'
1936
# Check whether --enable-gui or --disable-gui was given.
1937
if test "${enable_gui+set}" = set; then
1938
enableval="$enable_gui"
1939
enable_gui=${enableval}
1946
if test x$enable_gui = xyes; then
1948
ENABLE_GUI_FALSE='#'
1955
# Check whether --enable-tests or --disable-tests was given.
1956
if test "${enable_tests+set}" = set; then
1957
enableval="$enable_tests"
1958
enable_tests=${enableval}
1965
if test x$enable_tests = xyes; then
1967
ENABLE_TESTS_FALSE='#'
1969
ENABLE_TESTS_TRUE='#'
1974
if test "x$enable_gui" = "xyes"; then
1977
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
1978
if test -n "$ac_tool_prefix"; then
1979
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
1980
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
1981
echo "$as_me:$LINENO: checking for $ac_word" >&5
1982
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1983
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
1984
echo $ECHO_N "(cached) $ECHO_C" >&6
1988
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
1991
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1995
test -z "$as_dir" && as_dir=.
1996
for ac_exec_ext in '' $ac_executable_extensions; do
1997
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1998
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
1999
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2008
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
2010
if test -n "$PKG_CONFIG"; then
2011
echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
2012
echo "${ECHO_T}$PKG_CONFIG" >&6
2014
echo "$as_me:$LINENO: result: no" >&5
2015
echo "${ECHO_T}no" >&6
2019
if test -z "$ac_cv_path_PKG_CONFIG"; then
2020
ac_pt_PKG_CONFIG=$PKG_CONFIG
2021
# Extract the first word of "pkg-config", so it can be a program name with args.
2022
set dummy pkg-config; ac_word=$2
2023
echo "$as_me:$LINENO: checking for $ac_word" >&5
2024
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2025
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
2026
echo $ECHO_N "(cached) $ECHO_C" >&6
2028
case $ac_pt_PKG_CONFIG in
2030
ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
2033
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2037
test -z "$as_dir" && as_dir=.
2038
for ac_exec_ext in '' $ac_executable_extensions; do
2039
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2040
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
2041
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2050
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
2052
if test -n "$ac_pt_PKG_CONFIG"; then
2053
echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
2054
echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
2056
echo "$as_me:$LINENO: result: no" >&5
2057
echo "${ECHO_T}no" >&6
2060
PKG_CONFIG=$ac_pt_PKG_CONFIG
2062
PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
2066
if test -n "$PKG_CONFIG"; then
2067
_pkg_min_version=0.9.0
2068
echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
2069
echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
2070
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
2071
echo "$as_me:$LINENO: result: yes" >&5
2072
echo "${ECHO_T}yes" >&6
2074
echo "$as_me:$LINENO: result: no" >&5
2075
echo "${ECHO_T}no" >&6
2082
echo "$as_me:$LINENO: checking for GTK_SHARP_20" >&5
2083
echo $ECHO_N "checking for GTK_SHARP_20... $ECHO_C" >&6
2085
if test -n "$PKG_CONFIG"; then
2086
if test -n "$GTK_SHARP_20_CFLAGS"; then
2087
pkg_cv_GTK_SHARP_20_CFLAGS="$GTK_SHARP_20_CFLAGS"
2089
if test -n "$PKG_CONFIG" && \
2090
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk-sharp-2.0\"") >&5
2091
($PKG_CONFIG --exists --print-errors "gtk-sharp-2.0") 2>&5
2093
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2094
(exit $ac_status); }; then
2095
pkg_cv_GTK_SHARP_20_CFLAGS=`$PKG_CONFIG --cflags "gtk-sharp-2.0" 2>/dev/null`
2103
if test -n "$PKG_CONFIG"; then
2104
if test -n "$GTK_SHARP_20_LIBS"; then
2105
pkg_cv_GTK_SHARP_20_LIBS="$GTK_SHARP_20_LIBS"
2107
if test -n "$PKG_CONFIG" && \
2108
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk-sharp-2.0\"") >&5
2109
($PKG_CONFIG --exists --print-errors "gtk-sharp-2.0") 2>&5
2111
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2112
(exit $ac_status); }; then
2113
pkg_cv_GTK_SHARP_20_LIBS=`$PKG_CONFIG --libs "gtk-sharp-2.0" 2>/dev/null`
2124
if test $pkg_failed = yes; then
2126
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
2127
_pkg_short_errors_supported=yes
2129
_pkg_short_errors_supported=no
2131
if test $_pkg_short_errors_supported = yes; then
2132
GTK_SHARP_20_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk-sharp-2.0"`
2134
GTK_SHARP_20_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk-sharp-2.0"`
2136
# Put the nasty error message in config.log where it belongs
2137
echo "$GTK_SHARP_20_PKG_ERRORS" >&5
2139
{ { echo "$as_me:$LINENO: error: Package requirements (gtk-sharp-2.0) were not met:
2141
$GTK_SHARP_20_PKG_ERRORS
2143
Consider adjusting the PKG_CONFIG_PATH environment variable if you
2144
installed software in a non-standard prefix.
2146
Alternatively, you may set the environment variables GTK_SHARP_20_CFLAGS
2147
and GTK_SHARP_20_LIBS to avoid the need to call pkg-config.
2148
See the pkg-config man page for more details.
2150
echo "$as_me: error: Package requirements (gtk-sharp-2.0) were not met:
2152
$GTK_SHARP_20_PKG_ERRORS
2154
Consider adjusting the PKG_CONFIG_PATH environment variable if you
2155
installed software in a non-standard prefix.
2157
Alternatively, you may set the environment variables GTK_SHARP_20_CFLAGS
2158
and GTK_SHARP_20_LIBS to avoid the need to call pkg-config.
2159
See the pkg-config man page for more details.
2161
{ (exit 1); exit 1; }; }
2162
elif test $pkg_failed = untried; then
2163
{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
2164
is in your PATH or set the PKG_CONFIG environment variable to the full
2167
Alternatively, you may set the environment variables GTK_SHARP_20_CFLAGS
2168
and GTK_SHARP_20_LIBS to avoid the need to call pkg-config.
2169
See the pkg-config man page for more details.
2171
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
2172
See \`config.log' for more details." >&5
2173
echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
2174
is in your PATH or set the PKG_CONFIG environment variable to the full
2177
Alternatively, you may set the environment variables GTK_SHARP_20_CFLAGS
2178
and GTK_SHARP_20_LIBS to avoid the need to call pkg-config.
2179
See the pkg-config man page for more details.
2181
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
2182
See \`config.log' for more details." >&2;}
2183
{ (exit 1); exit 1; }; }
2185
GTK_SHARP_20_CFLAGS=$pkg_cv_GTK_SHARP_20_CFLAGS
2186
GTK_SHARP_20_LIBS=$pkg_cv_GTK_SHARP_20_LIBS
2187
echo "$as_me:$LINENO: result: yes" >&5
2188
echo "${ECHO_T}yes" >&6
2193
if test "x$enable_tests" = "xyes"; then
2196
echo "$as_me:$LINENO: checking for MONO_NUNIT" >&5
2197
echo $ECHO_N "checking for MONO_NUNIT... $ECHO_C" >&6
2199
if test -n "$PKG_CONFIG"; then
2200
if test -n "$MONO_NUNIT_CFLAGS"; then
2201
pkg_cv_MONO_NUNIT_CFLAGS="$MONO_NUNIT_CFLAGS"
2203
if test -n "$PKG_CONFIG" && \
2204
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"mono-nunit\"") >&5
2205
($PKG_CONFIG --exists --print-errors "mono-nunit") 2>&5
2207
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2208
(exit $ac_status); }; then
2209
pkg_cv_MONO_NUNIT_CFLAGS=`$PKG_CONFIG --cflags "mono-nunit" 2>/dev/null`
2217
if test -n "$PKG_CONFIG"; then
2218
if test -n "$MONO_NUNIT_LIBS"; then
2219
pkg_cv_MONO_NUNIT_LIBS="$MONO_NUNIT_LIBS"
2221
if test -n "$PKG_CONFIG" && \
2222
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"mono-nunit\"") >&5
2223
($PKG_CONFIG --exists --print-errors "mono-nunit") 2>&5
2225
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2226
(exit $ac_status); }; then
2227
pkg_cv_MONO_NUNIT_LIBS=`$PKG_CONFIG --libs "mono-nunit" 2>/dev/null`
2238
if test $pkg_failed = yes; then
2240
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
2241
_pkg_short_errors_supported=yes
2243
_pkg_short_errors_supported=no
2245
if test $_pkg_short_errors_supported = yes; then
2246
MONO_NUNIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "mono-nunit"`
2248
MONO_NUNIT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "mono-nunit"`
2250
# Put the nasty error message in config.log where it belongs
2251
echo "$MONO_NUNIT_PKG_ERRORS" >&5
2253
{ { echo "$as_me:$LINENO: error: Package requirements (mono-nunit) were not met:
2255
$MONO_NUNIT_PKG_ERRORS
2257
Consider adjusting the PKG_CONFIG_PATH environment variable if you
2258
installed software in a non-standard prefix.
2260
Alternatively, you may set the environment variables MONO_NUNIT_CFLAGS
2261
and MONO_NUNIT_LIBS to avoid the need to call pkg-config.
2262
See the pkg-config man page for more details.
2264
echo "$as_me: error: Package requirements (mono-nunit) were not met:
2266
$MONO_NUNIT_PKG_ERRORS
2268
Consider adjusting the PKG_CONFIG_PATH environment variable if you
2269
installed software in a non-standard prefix.
2271
Alternatively, you may set the environment variables MONO_NUNIT_CFLAGS
2272
and MONO_NUNIT_LIBS to avoid the need to call pkg-config.
2273
See the pkg-config man page for more details.
2275
{ (exit 1); exit 1; }; }
2276
elif test $pkg_failed = untried; then
2277
{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
2278
is in your PATH or set the PKG_CONFIG environment variable to the full
2281
Alternatively, you may set the environment variables MONO_NUNIT_CFLAGS
2282
and MONO_NUNIT_LIBS to avoid the need to call pkg-config.
2283
See the pkg-config man page for more details.
2285
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
2286
See \`config.log' for more details." >&5
2287
echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
2288
is in your PATH or set the PKG_CONFIG environment variable to the full
2291
Alternatively, you may set the environment variables MONO_NUNIT_CFLAGS
2292
and MONO_NUNIT_LIBS to avoid the need to call pkg-config.
2293
See the pkg-config man page for more details.
2295
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
2296
See \`config.log' for more details." >&2;}
2297
{ (exit 1); exit 1; }; }
2299
MONO_NUNIT_CFLAGS=$pkg_cv_MONO_NUNIT_CFLAGS
2300
MONO_NUNIT_LIBS=$pkg_cv_MONO_NUNIT_LIBS
2301
echo "$as_me:$LINENO: result: yes" >&5
2302
echo "${ECHO_T}yes" >&6
2310
MONO_ADDINS_DEFAULT_LIB='Mono.Addins.dll'
2311
MONO_ADDINS_SETUP_DEFAULT_LIB='Mono.Addins.Setup.dll'
2312
MONO_ADDINS_GUI_DEFAULT_LIB='Mono.Addins.Gui.dll'
2316
ac_config_files="$ac_config_files ./Mono.Addins/mono-addins.pc ./Mono.Addins.Gui/mono-addins-gui.pc ./Mono.Addins.Setup/mono-addins-setup.pc ./Makefile ./Mono.Addins.Gui/Makefile ./Mono.Addins.Setup/Makefile ./Mono.Addins/Makefile ./mautil/Makefile ./mautil/mautil ./Test/HelloWorldExtension/Makefile ./Test/FileContentExtension/Makefile ./Test/UnitTests/Makefile ./Test/CommandExtension/Makefile ./Test/SystemInfoExtension/Makefile ./Test/FileExtender/Makefile ./Test/Makefile ./Samples/TextEditor.Xml/Makefile ./Samples/TextEditor/Makefile ./Samples/TextEditor.CompilerService/Makefile ./Samples/WriterServiceHost/Makefile ./Samples/TextEditor.CompilerService.CSharp/Makefile ./Samples/WriterService.SampleExtender/Makefile ./Samples/Makefile ./Samples/TextEditorLib/Makefile ./Samples/WriterService/Makefile"
2319
cat >confcache <<\_ACEOF
2320
# This file is a shell script that caches the results of configure
2321
# tests run on this system so they can be shared between configure
2322
# scripts and configure runs, see configure's option --config-cache.
2323
# It is not useful on other systems. If it contains results you don't
2324
# want to keep, you may remove or edit it.
2326
# config.status only pays attention to the cache file if you give it
2327
# the --recheck option to rerun configure.
2329
# `ac_cv_env_foo' variables (set or unset) will be overridden when
2330
# loading this file, other *unset* `ac_cv_foo' will be assigned the
2335
# The following way of writing the cache mishandles newlines in values,
2336
# but we know of no workaround that is simple, portable, and efficient.
2337
# So, don't put newlines in cache variables' values.
2338
# Ultrix sh set writes to stderr and can't be redirected directly,
2339
# and sets the high bit in the cache file unless we assign to the vars.
2342
case `(ac_space=' '; set | grep ac_space) 2>&1` in
2344
# `set' does not quote correctly, so add quotes (double-quote
2345
# substitution turns \\\\ into \\, and sed turns \\ into \).
2348
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2351
# `set' quotes correctly as required by POSIX, so do not add quotes.
2353
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
2360
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2362
/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2364
if diff $cache_file confcache >/dev/null 2>&1; then :; else
2365
if test -w $cache_file; then
2366
test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
2367
cat confcache >$cache_file
2369
echo "not updating unwritable cache $cache_file"
2374
test "x$prefix" = xNONE && prefix=$ac_default_prefix
2375
# Let make expand exec_prefix.
2376
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2378
# VPATH may cause trouble with some makes, so we remove $(srcdir),
2379
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2380
# trailing colons and then remove the whole line if VPATH becomes empty
2381
# (actually we leave an empty line to preserve line numbers).
2382
if test "x$srcdir" = x.; then
2383
ac_vpsub='/^[ ]*VPATH[ ]*=/{
2384
s/:*\$(srcdir):*/:/;
2385
s/:*\${srcdir}:*/:/;
2387
s/^\([^=]*=[ ]*\):*/\1/;
2393
# Transform confdefs.h into DEFS.
2394
# Protect against shell expansion while executing Makefile rules.
2395
# Protect against Makefile macro expansion.
2397
# If the first sed substitution is executed (which looks for macros that
2398
# take arguments), then we branch to the quote section. Otherwise,
2399
# look for a macro that doesn't take arguments.
2400
cat >confdef2opt.sed <<\_ACEOF
2403
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
2405
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
2409
s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
2415
# We use echo to avoid assuming a particular line-breaking character.
2416
# The extra dot is to prevent the shell from consuming trailing
2417
# line-breaks from the sub-command output. A line-break within
2418
# single-quotes doesn't work because, if this script is created in a
2419
# platform that uses two characters for line-breaks (e.g., DOS), tr
2421
ac_LF_and_DOT=`echo; echo .`
2422
DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
2423
rm -f confdef2opt.sed
2428
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2429
# 1. Remove the extension, and $U if already installed.
2430
ac_i=`echo "$ac_i" |
2431
sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
2433
ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
2434
ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
2438
LTLIBOBJS=$ac_ltlibobjs
2441
if test -z "${ENABLE_GUI_TRUE}" && test -z "${ENABLE_GUI_FALSE}"; then
2442
{ { echo "$as_me:$LINENO: error: conditional \"ENABLE_GUI\" was never defined.
2443
Usually this means the macro was only invoked conditionally." >&5
2444
echo "$as_me: error: conditional \"ENABLE_GUI\" was never defined.
2445
Usually this means the macro was only invoked conditionally." >&2;}
2446
{ (exit 1); exit 1; }; }
2448
if test -z "${ENABLE_TESTS_TRUE}" && test -z "${ENABLE_TESTS_FALSE}"; then
2449
{ { echo "$as_me:$LINENO: error: conditional \"ENABLE_TESTS\" was never defined.
2450
Usually this means the macro was only invoked conditionally." >&5
2451
echo "$as_me: error: conditional \"ENABLE_TESTS\" was never defined.
2452
Usually this means the macro was only invoked conditionally." >&2;}
2453
{ (exit 1); exit 1; }; }
2456
: ${CONFIG_STATUS=./config.status}
2457
ac_clean_files_save=$ac_clean_files
2458
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2459
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2460
echo "$as_me: creating $CONFIG_STATUS" >&6;}
2461
cat >$CONFIG_STATUS <<_ACEOF
2463
# Generated by $as_me.
2464
# Run this file to recreate the current configuration.
2465
# Compiler output produced by configure, useful for debugging
2466
# configure, is in config.log if it exists.
2471
SHELL=\${CONFIG_SHELL-$SHELL}
2474
cat >>$CONFIG_STATUS <<\_ACEOF
2475
## --------------------- ##
2476
## M4sh Initialization. ##
2477
## --------------------- ##
2479
# Be Bourne compatible
2480
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2483
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2484
# is contrary to our usage. Disable this feature.
2485
alias -g '${1+"$@"}'='"$@"'
2486
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
2489
DUALCASE=1; export DUALCASE # for MKS sh
2491
# Support unset when possible.
2492
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2499
# Work around bugs in pre-3.0 UWIN ksh.
2500
$as_unset ENV MAIL MAILPATH
2507
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
2508
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
2509
LC_TELEPHONE LC_TIME
2511
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
2512
eval $as_var=C; export $as_var
2518
# Required to use basename.
2519
if expr a : '\(a\)' >/dev/null 2>&1; then
2525
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
2526
as_basename=basename
2532
# Name of the executable.
2533
as_me=`$as_basename "$0" ||
2534
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2535
X"$0" : 'X\(//\)$' \| \
2536
X"$0" : 'X\(/\)$' \| \
2537
. : '\(.\)' 2>/dev/null ||
2539
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
2540
/^X\/\(\/\/\)$/{ s//\1/; q; }
2541
/^X\/\(\/\).*/{ s//\1/; q; }
2545
# PATH needs CR, and LINENO needs CR and PATH.
2546
# Avoid depending upon Character Ranges.
2547
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2548
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2549
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2550
as_cr_digits='0123456789'
2551
as_cr_alnum=$as_cr_Letters$as_cr_digits
2553
# The user is always right.
2554
if test "${PATH_SEPARATOR+set}" != set; then
2555
echo "#! /bin/sh" >conf$$.sh
2556
echo "exit 0" >>conf$$.sh
2558
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2569
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2570
test "x$as_lineno_1" != "x$as_lineno_2" &&
2571
test "x$as_lineno_3" = "x$as_lineno_2" || {
2572
# Find who we are. Look in the path if we contain no path at all
2575
*[\\/]* ) as_myself=$0 ;;
2576
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2580
test -z "$as_dir" && as_dir=.
2581
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2586
# We did not find ourselves, most probably we were run as `sh COMMAND'
2587
# in which case we are not to be found in the path.
2588
if test "x$as_myself" = x; then
2591
if test ! -f "$as_myself"; then
2592
{ { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
2593
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
2594
{ (exit 1); exit 1; }; }
2596
case $CONFIG_SHELL in
2598
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2599
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
2602
test -z "$as_dir" && as_dir=.
2603
for as_base in sh bash ksh sh5; do
2606
if ("$as_dir/$as_base" -c '
2609
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2610
test "x$as_lineno_1" != "x$as_lineno_2" &&
2611
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
2612
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
2613
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
2614
CONFIG_SHELL=$as_dir/$as_base
2616
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
2624
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2625
# uniformly replaced by the line number. The first 'sed' inserts a
2626
# line-number line before each line; the second 'sed' does the real
2627
# work. The second script uses 'N' to pair each line-number line
2628
# with the numbered line, and appends trailing '-' during
2629
# substitution so that $LINENO is not a special case at line end.
2630
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
2631
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
2632
sed '=' <$as_myself |
2637
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
2640
s,^['$as_cr_digits']*\n,,
2642
chmod +x $as_me.lineno ||
2643
{ { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
2644
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
2645
{ (exit 1); exit 1; }; }
2647
# Don't try to exec as it changes $[0], causing all sort of problems
2648
# (the dirname of $[0] is not the place where we might find the
2649
# original and so on. Autoconf is especially sensible to this).
2651
# Exit status is that of the last command.
2656
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
2657
*c*,-n*) ECHO_N= ECHO_C='
2659
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
2660
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
2663
if expr a : '\(a\)' >/dev/null 2>&1; then
2669
rm -f conf$$ conf$$.exe conf$$.file
2671
if ln -s conf$$.file conf$$ 2>/dev/null; then
2672
# We could just check for DJGPP; but this test a) works b) is more generic
2673
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
2674
if test -f conf$$.exe; then
2675
# Don't use ln at all; we don't have any links
2680
elif ln conf$$.file conf$$ 2>/dev/null; then
2685
rm -f conf$$ conf$$.exe conf$$.file
2687
if mkdir -p . 2>/dev/null; then
2690
test -d ./-p && rmdir ./-p
2694
as_executable_p="test -f"
2696
# Sed expression to map a string onto a valid CPP name.
2697
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2699
# Sed expression to map a string onto a valid variable name.
2700
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2704
# We need space, tab and new line, in precisely that order.
2714
# Open the log real soon, to keep \$[0] and so on meaningful, and to
2715
# report actual input values of CONFIG_FILES etc. instead of their
2716
# values after options handling. Logging --version etc. is OK.
2720
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2721
## Running $as_me. ##
2726
This file was extended by mono-addins $as_me 0.2, which was
2727
generated by GNU Autoconf 2.59. Invocation command line was
2729
CONFIG_FILES = $CONFIG_FILES
2730
CONFIG_HEADERS = $CONFIG_HEADERS
2731
CONFIG_LINKS = $CONFIG_LINKS
2732
CONFIG_COMMANDS = $CONFIG_COMMANDS
2736
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
2740
# Files that config.status was made for.
2741
if test -n "$ac_config_files"; then
2742
echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
2745
if test -n "$ac_config_headers"; then
2746
echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
2749
if test -n "$ac_config_links"; then
2750
echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
2753
if test -n "$ac_config_commands"; then
2754
echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
2757
cat >>$CONFIG_STATUS <<\_ACEOF
2760
\`$as_me' instantiates files from templates according to the
2761
current configuration.
2763
Usage: $0 [OPTIONS] [FILE]...
2765
-h, --help print this help, then exit
2766
-V, --version print version number, then exit
2767
-q, --quiet do not print progress messages
2768
-d, --debug don't remove temporary files
2769
--recheck update $as_me by reconfiguring in the same conditions
2770
--file=FILE[:TEMPLATE]
2771
instantiate the configuration file FILE
2773
Configuration files:
2776
Report bugs to <bug-autoconf@gnu.org>."
2779
cat >>$CONFIG_STATUS <<_ACEOF
2781
mono-addins config.status 0.2
2782
configured by $0, generated by GNU Autoconf 2.59,
2783
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
2785
Copyright (C) 2003 Free Software Foundation, Inc.
2786
This config.status script is free software; the Free Software Foundation
2787
gives unlimited permission to copy, distribute and modify it."
2792
cat >>$CONFIG_STATUS <<\_ACEOF
2793
# If no file are specified by the user, then we need to provide default
2794
# value. By we need to know if files were specified by the user.
2800
ac_option=`expr "x$1" : 'x\([^=]*\)='`
2801
ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
2809
*) # This is not an option, so the user has probably given explicit
2812
ac_need_defaults=false;;
2816
# Handling of the options.
2818
cat >>$CONFIG_STATUS <<\_ACEOF
2819
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2821
--version | --vers* | -V )
2822
echo "$ac_cs_version"; exit 0 ;;
2824
# Conflict between --help and --header
2825
{ { echo "$as_me:$LINENO: error: ambiguous option: $1
2826
Try \`$0 --help' for more information." >&5
2827
echo "$as_me: error: ambiguous option: $1
2828
Try \`$0 --help' for more information." >&2;}
2829
{ (exit 1); exit 1; }; };;
2830
--help | --hel | -h )
2831
echo "$ac_cs_usage"; exit 0 ;;
2832
--debug | --d* | -d )
2834
--file | --fil | --fi | --f )
2836
CONFIG_FILES="$CONFIG_FILES $ac_optarg"
2837
ac_need_defaults=false;;
2838
--header | --heade | --head | --hea )
2840
CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
2841
ac_need_defaults=false;;
2842
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
2843
| -silent | --silent | --silen | --sile | --sil | --si | --s)
2847
-*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
2848
Try \`$0 --help' for more information." >&5
2849
echo "$as_me: error: unrecognized option: $1
2850
Try \`$0 --help' for more information." >&2;}
2851
{ (exit 1); exit 1; }; } ;;
2853
*) ac_config_targets="$ac_config_targets $1" ;;
2859
ac_configure_extra_args=
2861
if $ac_cs_silent; then
2863
ac_configure_extra_args="$ac_configure_extra_args --silent"
2867
cat >>$CONFIG_STATUS <<_ACEOF
2868
if \$ac_cs_recheck; then
2869
echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
2870
exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2879
cat >>$CONFIG_STATUS <<\_ACEOF
2880
for ac_config_target in $ac_config_targets
2882
case "$ac_config_target" in
2883
# Handling of arguments.
2884
"./Mono.Addins/mono-addins.pc" ) CONFIG_FILES="$CONFIG_FILES ./Mono.Addins/mono-addins.pc" ;;
2885
"./Mono.Addins.Gui/mono-addins-gui.pc" ) CONFIG_FILES="$CONFIG_FILES ./Mono.Addins.Gui/mono-addins-gui.pc" ;;
2886
"./Mono.Addins.Setup/mono-addins-setup.pc" ) CONFIG_FILES="$CONFIG_FILES ./Mono.Addins.Setup/mono-addins-setup.pc" ;;
2887
"./Makefile" ) CONFIG_FILES="$CONFIG_FILES ./Makefile" ;;
2888
"./Mono.Addins.Gui/Makefile" ) CONFIG_FILES="$CONFIG_FILES ./Mono.Addins.Gui/Makefile" ;;
2889
"./Mono.Addins.Setup/Makefile" ) CONFIG_FILES="$CONFIG_FILES ./Mono.Addins.Setup/Makefile" ;;
2890
"./Mono.Addins/Makefile" ) CONFIG_FILES="$CONFIG_FILES ./Mono.Addins/Makefile" ;;
2891
"./mautil/Makefile" ) CONFIG_FILES="$CONFIG_FILES ./mautil/Makefile" ;;
2892
"./mautil/mautil" ) CONFIG_FILES="$CONFIG_FILES ./mautil/mautil" ;;
2893
"./Test/HelloWorldExtension/Makefile" ) CONFIG_FILES="$CONFIG_FILES ./Test/HelloWorldExtension/Makefile" ;;
2894
"./Test/FileContentExtension/Makefile" ) CONFIG_FILES="$CONFIG_FILES ./Test/FileContentExtension/Makefile" ;;
2895
"./Test/UnitTests/Makefile" ) CONFIG_FILES="$CONFIG_FILES ./Test/UnitTests/Makefile" ;;
2896
"./Test/CommandExtension/Makefile" ) CONFIG_FILES="$CONFIG_FILES ./Test/CommandExtension/Makefile" ;;
2897
"./Test/SystemInfoExtension/Makefile" ) CONFIG_FILES="$CONFIG_FILES ./Test/SystemInfoExtension/Makefile" ;;
2898
"./Test/FileExtender/Makefile" ) CONFIG_FILES="$CONFIG_FILES ./Test/FileExtender/Makefile" ;;
2899
"./Test/Makefile" ) CONFIG_FILES="$CONFIG_FILES ./Test/Makefile" ;;
2900
"./Samples/TextEditor.Xml/Makefile" ) CONFIG_FILES="$CONFIG_FILES ./Samples/TextEditor.Xml/Makefile" ;;
2901
"./Samples/TextEditor/Makefile" ) CONFIG_FILES="$CONFIG_FILES ./Samples/TextEditor/Makefile" ;;
2902
"./Samples/TextEditor.CompilerService/Makefile" ) CONFIG_FILES="$CONFIG_FILES ./Samples/TextEditor.CompilerService/Makefile" ;;
2903
"./Samples/WriterServiceHost/Makefile" ) CONFIG_FILES="$CONFIG_FILES ./Samples/WriterServiceHost/Makefile" ;;
2904
"./Samples/TextEditor.CompilerService.CSharp/Makefile" ) CONFIG_FILES="$CONFIG_FILES ./Samples/TextEditor.CompilerService.CSharp/Makefile" ;;
2905
"./Samples/WriterService.SampleExtender/Makefile" ) CONFIG_FILES="$CONFIG_FILES ./Samples/WriterService.SampleExtender/Makefile" ;;
2906
"./Samples/Makefile" ) CONFIG_FILES="$CONFIG_FILES ./Samples/Makefile" ;;
2907
"./Samples/TextEditorLib/Makefile" ) CONFIG_FILES="$CONFIG_FILES ./Samples/TextEditorLib/Makefile" ;;
2908
"./Samples/WriterService/Makefile" ) CONFIG_FILES="$CONFIG_FILES ./Samples/WriterService/Makefile" ;;
2909
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
2910
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
2911
{ (exit 1); exit 1; }; };;
2915
# If the user did not use the arguments to specify the items to instantiate,
2916
# then the envvar interface is used. Set only those that are not.
2917
# We use the long form for the default assignment because of an extremely
2918
# bizarre bug on SunOS 4.1.3.
2919
if $ac_need_defaults; then
2920
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2923
# Have a temporary directory for convenience. Make it in the build tree
2924
# simply because there is no reason to put it here, and in addition,
2925
# creating and moving files from /tmp can sometimes cause problems.
2926
# Create a temporary directory, and hook for its removal unless debugging.
2929
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
2930
trap '{ (exit 1); exit 1; }' 1 2 13 15
2933
# Create a (secure) tmp directory for tmp files.
2936
tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
2937
test -n "$tmp" && test -d "$tmp"
2940
tmp=./confstat$$-$RANDOM
2941
(umask 077 && mkdir $tmp)
2944
echo "$me: cannot create a temporary directory in ." >&2
2945
{ (exit 1); exit 1; }
2950
cat >>$CONFIG_STATUS <<_ACEOF
2953
# CONFIG_FILES section.
2956
# No need to generate the scripts if there are no CONFIG_FILES.
2957
# This happens for instance when ./config.status config.h
2958
if test -n "\$CONFIG_FILES"; then
2959
# Protect against being on the right side of a sed subst in config.status.
2960
sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
2961
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
2962
s,@SHELL@,$SHELL,;t t
2963
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
2964
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
2965
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
2966
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
2967
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
2968
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
2969
s,@exec_prefix@,$exec_prefix,;t t
2970
s,@prefix@,$prefix,;t t
2971
s,@program_transform_name@,$program_transform_name,;t t
2972
s,@bindir@,$bindir,;t t
2973
s,@sbindir@,$sbindir,;t t
2974
s,@libexecdir@,$libexecdir,;t t
2975
s,@datadir@,$datadir,;t t
2976
s,@sysconfdir@,$sysconfdir,;t t
2977
s,@sharedstatedir@,$sharedstatedir,;t t
2978
s,@localstatedir@,$localstatedir,;t t
2979
s,@libdir@,$libdir,;t t
2980
s,@includedir@,$includedir,;t t
2981
s,@oldincludedir@,$oldincludedir,;t t
2982
s,@infodir@,$infodir,;t t
2983
s,@mandir@,$mandir,;t t
2984
s,@build_alias@,$build_alias,;t t
2985
s,@host_alias@,$host_alias,;t t
2986
s,@target_alias@,$target_alias,;t t
2988
s,@ECHO_C@,$ECHO_C,;t t
2989
s,@ECHO_N@,$ECHO_N,;t t
2990
s,@ECHO_T@,$ECHO_T,;t t
2992
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
2993
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
2994
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
2995
s,@CYGPATH_W@,$CYGPATH_W,;t t
2996
s,@PACKAGE@,$PACKAGE,;t t
2997
s,@VERSION@,$VERSION,;t t
2998
s,@ACLOCAL@,$ACLOCAL,;t t
2999
s,@AUTOCONF@,$AUTOCONF,;t t
3000
s,@AUTOMAKE@,$AUTOMAKE,;t t
3001
s,@AUTOHEADER@,$AUTOHEADER,;t t
3002
s,@MAKEINFO@,$MAKEINFO,;t t
3003
s,@install_sh@,$install_sh,;t t
3004
s,@STRIP@,$STRIP,;t t
3005
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
3006
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
3007
s,@mkdir_p@,$mkdir_p,;t t
3009
s,@SET_MAKE@,$SET_MAKE,;t t
3010
s,@am__leading_dot@,$am__leading_dot,;t t
3011
s,@AMTAR@,$AMTAR,;t t
3012
s,@am__tar@,$am__tar,;t t
3013
s,@am__untar@,$am__untar,;t t
3014
s,@PKG_CONFIG@,$PKG_CONFIG,;t t
3016
s,@GACUTIL@,$GACUTIL,;t t
3017
s,@GACUTIL_FLAGS@,$GACUTIL_FLAGS,;t t
3018
s,@ENABLE_GUI_TRUE@,$ENABLE_GUI_TRUE,;t t
3019
s,@ENABLE_GUI_FALSE@,$ENABLE_GUI_FALSE,;t t
3020
s,@ENABLE_TESTS_TRUE@,$ENABLE_TESTS_TRUE,;t t
3021
s,@ENABLE_TESTS_FALSE@,$ENABLE_TESTS_FALSE,;t t
3022
s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
3023
s,@GTK_SHARP_20_CFLAGS@,$GTK_SHARP_20_CFLAGS,;t t
3024
s,@GTK_SHARP_20_LIBS@,$GTK_SHARP_20_LIBS,;t t
3025
s,@MONO_NUNIT_CFLAGS@,$MONO_NUNIT_CFLAGS,;t t
3026
s,@MONO_NUNIT_LIBS@,$MONO_NUNIT_LIBS,;t t
3027
s,@MONO_ADDINS_DEFAULT_LIB@,$MONO_ADDINS_DEFAULT_LIB,;t t
3028
s,@MONO_ADDINS_GUI_DEFAULT_LIB@,$MONO_ADDINS_GUI_DEFAULT_LIB,;t t
3029
s,@LIBOBJS@,$LIBOBJS,;t t
3030
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
3035
cat >>$CONFIG_STATUS <<\_ACEOF
3036
# Split the substitutions into bite-sized pieces for seds with
3037
# small command number limits, like on Digital OSF/1 and HP-UX.
3039
ac_sed_frag=1 # Number of current file.
3040
ac_beg=1 # First line for current file.
3041
ac_end=$ac_max_sed_lines # Line after last line for current file.
3044
while $ac_more_lines; do
3045
if test $ac_beg -gt 1; then
3046
sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3048
sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3050
if test ! -s $tmp/subs.frag; then
3053
# The purpose of the label and of the branching condition is to
3054
# speed up the sed processing (if there are no `@' at all, there
3055
# is no need to browse any of the substitutions).
3056
# These are the two extra sed commands mentioned above.
3058
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
3059
if test -z "$ac_sed_cmds"; then
3060
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
3062
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
3064
ac_sed_frag=`expr $ac_sed_frag + 1`
3066
ac_end=`expr $ac_end + $ac_max_sed_lines`
3069
if test -z "$ac_sed_cmds"; then
3072
fi # test -n "$CONFIG_FILES"
3075
cat >>$CONFIG_STATUS <<\_ACEOF
3076
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
3077
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3079
- | *:- | *:-:* ) # input from stdin
3081
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3082
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3083
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3084
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3085
* ) ac_file_in=$ac_file.in ;;
3088
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
3089
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
3090
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3091
X"$ac_file" : 'X\(//\)[^/]' \| \
3092
X"$ac_file" : 'X\(//\)$' \| \
3093
X"$ac_file" : 'X\(/\)' \| \
3094
. : '\(.\)' 2>/dev/null ||
3096
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3097
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
3098
/^X\(\/\/\)$/{ s//\1/; q; }
3099
/^X\(\/\).*/{ s//\1/; q; }
3101
{ if $as_mkdir_p; then
3106
while test ! -d "$as_dir"; do
3107
as_dirs="$as_dir $as_dirs"
3108
as_dir=`(dirname "$as_dir") 2>/dev/null ||
3109
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3110
X"$as_dir" : 'X\(//\)[^/]' \| \
3111
X"$as_dir" : 'X\(//\)$' \| \
3112
X"$as_dir" : 'X\(/\)' \| \
3113
. : '\(.\)' 2>/dev/null ||
3115
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3116
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
3117
/^X\(\/\/\)$/{ s//\1/; q; }
3118
/^X\(\/\).*/{ s//\1/; q; }
3121
test ! -n "$as_dirs" || mkdir $as_dirs
3122
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3123
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3124
{ (exit 1); exit 1; }; }; }
3128
if test "$ac_dir" != .; then
3129
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3130
# A "../" for each directory in $ac_dir_suffix.
3131
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
3133
ac_dir_suffix= ac_top_builddir=
3137
.) # No --srcdir option. We are building in place.
3139
if test -z "$ac_top_builddir"; then
3142
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
3144
[\\/]* | ?:[\\/]* ) # Absolute path.
3145
ac_srcdir=$srcdir$ac_dir_suffix;
3146
ac_top_srcdir=$srcdir ;;
3148
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
3149
ac_top_srcdir=$ac_top_builddir$srcdir ;;
3152
# Do not use `cd foo && pwd` to compute absolute paths, because
3153
# the directories may not exist.
3155
.) ac_abs_builddir="$ac_dir";;
3158
.) ac_abs_builddir=`pwd`;;
3159
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
3160
*) ac_abs_builddir=`pwd`/"$ac_dir";;
3163
case $ac_abs_builddir in
3164
.) ac_abs_top_builddir=${ac_top_builddir}.;;
3166
case ${ac_top_builddir}. in
3167
.) ac_abs_top_builddir=$ac_abs_builddir;;
3168
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
3169
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
3172
case $ac_abs_builddir in
3173
.) ac_abs_srcdir=$ac_srcdir;;
3176
.) ac_abs_srcdir=$ac_abs_builddir;;
3177
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
3178
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
3181
case $ac_abs_builddir in
3182
.) ac_abs_top_srcdir=$ac_top_srcdir;;
3184
case $ac_top_srcdir in
3185
.) ac_abs_top_srcdir=$ac_abs_builddir;;
3186
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
3187
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
3193
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3194
*) ac_INSTALL=$ac_top_builddir$INSTALL ;;
3197
if test x"$ac_file" != x-; then
3198
{ echo "$as_me:$LINENO: creating $ac_file" >&5
3199
echo "$as_me: creating $ac_file" >&6;}
3202
# Let's still pretend it is `configure' which instantiates (i.e., don't
3203
# use $as_me), people would be surprised to read:
3204
# /* config.h. Generated by config.status. */
3205
if test x"$ac_file" = x-; then
3208
configure_input="$ac_file. "
3210
configure_input=$configure_input"Generated from `echo $ac_file_in |
3211
sed 's,.*/,,'` by configure."
3213
# First look for the input files in the build tree, otherwise in the
3215
ac_file_inputs=`IFS=:
3216
for f in $ac_file_in; do
3218
-) echo $tmp/stdin ;;
3220
# Absolute (can't be DOS-style, as IFS=:)
3221
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3222
echo "$as_me: error: cannot find input file: $f" >&2;}
3223
{ (exit 1); exit 1; }; }
3226
if test -f "$f"; then
3229
elif test -f "$srcdir/$f"; then
3234
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3235
echo "$as_me: error: cannot find input file: $f" >&2;}
3236
{ (exit 1); exit 1; }; }
3239
done` || { (exit 1); exit 1; }
3241
cat >>$CONFIG_STATUS <<_ACEOF
3245
cat >>$CONFIG_STATUS <<\_ACEOF
3247
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3248
s,@configure_input@,$configure_input,;t t
3249
s,@srcdir@,$ac_srcdir,;t t
3250
s,@abs_srcdir@,$ac_abs_srcdir,;t t
3251
s,@top_srcdir@,$ac_top_srcdir,;t t
3252
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
3253
s,@builddir@,$ac_builddir,;t t
3254
s,@abs_builddir@,$ac_abs_builddir,;t t
3255
s,@top_builddir@,$ac_top_builddir,;t t
3256
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
3257
s,@INSTALL@,$ac_INSTALL,;t t
3258
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
3260
if test x"$ac_file" != x-; then
3261
mv $tmp/out $ac_file
3270
cat >>$CONFIG_STATUS <<\_ACEOF
3272
{ (exit 0); exit 0; }
3274
chmod +x $CONFIG_STATUS
3275
ac_clean_files=$ac_clean_files_save
3278
# configure is writing to config.log, and then calls config.status.
3279
# config.status does its own redirection, appending to config.log.
3280
# Unfortunately, on DOS this fails, as config.log is still kept open
3281
# by configure, so config.status won't be able to write to it; its
3282
# output is simply discarded. So we exec the FD to /dev/null,
3283
# effectively closing config.log, so it can be properly (re)opened and
3284
# appended to by config.status. When coming back to configure, we
3285
# need to make the FD available again.
3286
if test "$no_create" != yes; then
3288
ac_config_status_args=
3289
test "$silent" = yes &&
3290
ac_config_status_args="$ac_config_status_args --quiet"
3292
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3294
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
3295
# would make configure fail if this is the last instruction.
3296
$ac_cs_success || { (exit 1); exit 1; }
3301
echo "Configuration summary"
3303
echo " * Installation prefix = $prefix"
3304
echo " * gui support: $enable_gui"
3305
echo " * unit tests: $enable_tests"