~ubuntu-branches/ubuntu/karmic/mono-addins/karmic

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Mirco Bauer
  • Date: 2007-07-14 12:07:48 UTC
  • Revision ID: james.westby@ubuntu.com-20070714120748-2elczfsjlrdsrpms
Tags: upstream-0.2
ImportĀ upstreamĀ versionĀ 0.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#! /bin/sh
 
2
# Guess values for system-dependent variables and create Makefiles.
 
3
# Generated by GNU Autoconf 2.59 for mono-addins 0.2.
 
4
#
 
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
## --------------------- ##
 
11
 
 
12
# Be Bourne compatible
 
13
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
14
  emulate sh
 
15
  NULLCMD=:
 
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
 
20
  set -o posix
 
21
fi
 
22
DUALCASE=1; export DUALCASE # for MKS sh
 
23
 
 
24
# Support unset when possible.
 
25
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 
26
  as_unset=unset
 
27
else
 
28
  as_unset=false
 
29
fi
 
30
 
 
31
 
 
32
# Work around bugs in pre-3.0 UWIN ksh.
 
33
$as_unset ENV MAIL MAILPATH
 
34
PS1='$ '
 
35
PS2='> '
 
36
PS4='+ '
 
37
 
 
38
# NLS nuisances.
 
39
for as_var in \
 
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 \
 
42
  LC_TELEPHONE LC_TIME
 
43
do
 
44
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
 
45
    eval $as_var=C; export $as_var
 
46
  else
 
47
    $as_unset $as_var
 
48
  fi
 
49
done
 
50
 
 
51
# Required to use basename.
 
52
if expr a : '\(a\)' >/dev/null 2>&1; then
 
53
  as_expr=expr
 
54
else
 
55
  as_expr=false
 
56
fi
 
57
 
 
58
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
59
  as_basename=basename
 
60
else
 
61
  as_basename=false
 
62
fi
 
63
 
 
64
 
 
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 ||
 
71
echo X/"$0" |
 
72
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
 
73
          /^X\/\(\/\/\)$/{ s//\1/; q; }
 
74
          /^X\/\(\/\).*/{ s//\1/; q; }
 
75
          s/.*/./; q'`
 
76
 
 
77
 
 
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
 
85
 
 
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
 
90
  chmod +x conf$$.sh
 
91
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
92
    PATH_SEPARATOR=';'
 
93
  else
 
94
    PATH_SEPARATOR=:
 
95
  fi
 
96
  rm -f conf$$.sh
 
97
fi
 
98
 
 
99
 
 
100
  as_lineno_1=$LINENO
 
101
  as_lineno_2=$LINENO
 
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
 
106
  # relative or not.
 
107
  case $0 in
 
108
    *[\\/]* ) as_myself=$0 ;;
 
109
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
110
for as_dir in $PATH
 
111
do
 
112
  IFS=$as_save_IFS
 
113
  test -z "$as_dir" && as_dir=.
 
114
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
115
done
 
116
 
 
117
       ;;
 
118
  esac
 
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
 
122
    as_myself=$0
 
123
  fi
 
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; }; }
 
127
  fi
 
128
  case $CONFIG_SHELL in
 
129
  '')
 
130
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
131
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
 
132
do
 
133
  IFS=$as_save_IFS
 
134
  test -z "$as_dir" && as_dir=.
 
135
  for as_base in sh bash ksh sh5; do
 
136
         case $as_dir in
 
137
         /*)
 
138
           if ("$as_dir/$as_base" -c '
 
139
  as_lineno_1=$LINENO
 
140
  as_lineno_2=$LINENO
 
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
 
147
             export CONFIG_SHELL
 
148
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
 
149
           fi;;
 
150
         esac
 
151
       done
 
152
done
 
153
;;
 
154
  esac
 
155
 
 
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 |
 
165
    sed '
 
166
      N
 
167
      s,$,-,
 
168
      : loop
 
169
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
 
170
      t loop
 
171
      s,-$,,
 
172
      s,^['$as_cr_digits']*\n,,
 
173
    ' >$as_me.lineno &&
 
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; }; }
 
177
 
 
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).
 
181
  . ./$as_me.lineno
 
182
  # Exit status is that of the last command.
 
183
  exit
 
184
}
 
185
 
 
186
 
 
187
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
 
188
  *c*,-n*) ECHO_N= ECHO_C='
 
189
' ECHO_T='      ' ;;
 
190
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
 
191
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
 
192
esac
 
193
 
 
194
if expr a : '\(a\)' >/dev/null 2>&1; then
 
195
  as_expr=expr
 
196
else
 
197
  as_expr=false
 
198
fi
 
199
 
 
200
rm -f conf$$ conf$$.exe conf$$.file
 
201
echo >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
 
207
    as_ln_s='cp -p'
 
208
  else
 
209
    as_ln_s='ln -s'
 
210
  fi
 
211
elif ln conf$$.file conf$$ 2>/dev/null; then
 
212
  as_ln_s=ln
 
213
else
 
214
  as_ln_s='cp -p'
 
215
fi
 
216
rm -f conf$$ conf$$.exe conf$$.file
 
217
 
 
218
if mkdir -p . 2>/dev/null; then
 
219
  as_mkdir_p=:
 
220
else
 
221
  test -d ./-p && rmdir ./-p
 
222
  as_mkdir_p=false
 
223
fi
 
224
 
 
225
as_executable_p="test -f"
 
226
 
 
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'"
 
229
 
 
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'"
 
232
 
 
233
 
 
234
# IFS
 
235
# We need space, tab and new line, in precisely that order.
 
236
as_nl='
 
237
'
 
238
IFS="   $as_nl"
 
239
 
 
240
# CDPATH.
 
241
$as_unset CDPATH
 
242
 
 
243
 
 
244
# Name of the host.
 
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`
 
248
 
 
249
exec 6>&1
 
250
 
 
251
#
 
252
# Initializations.
 
253
#
 
254
ac_default_prefix=/usr/local
 
255
ac_config_libobj_dir=.
 
256
cross_compiling=no
 
257
subdirs=
 
258
MFLAGS=
 
259
MAKEFLAGS=
 
260
SHELL=${CONFIG_SHELL-/bin/sh}
 
261
 
 
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}
 
266
 
 
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'
 
272
PACKAGE_BUGREPORT=''
 
273
 
 
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'
 
275
ac_subst_files=''
 
276
 
 
277
# Initialize some variables set by options.
 
278
ac_init_help=
 
279
ac_init_version=false
 
280
# The variables have the same names as the options, with
 
281
# dashes changed to underlines.
 
282
cache_file=/dev/null
 
283
exec_prefix=NONE
 
284
no_create=
 
285
no_recursion=
 
286
prefix=NONE
 
287
program_prefix=NONE
 
288
program_suffix=NONE
 
289
program_transform_name=s,x,x,
 
290
silent=
 
291
site=
 
292
srcdir=
 
293
verbose=
 
294
x_includes=NONE
 
295
x_libraries=NONE
 
296
 
 
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'
 
314
 
 
315
ac_prev=
 
316
for ac_option
 
317
do
 
318
  # If the previous option needs an argument, assign it.
 
319
  if test -n "$ac_prev"; then
 
320
    eval "$ac_prev=\$ac_option"
 
321
    ac_prev=
 
322
    continue
 
323
  fi
 
324
 
 
325
  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
 
326
 
 
327
  # Accept the important Cygnus configure options, so we can diagnose typos.
 
328
 
 
329
  case $ac_option in
 
330
 
 
331
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
 
332
    ac_prev=bindir ;;
 
333
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
 
334
    bindir=$ac_optarg ;;
 
335
 
 
336
  -build | --build | --buil | --bui | --bu)
 
337
    ac_prev=build_alias ;;
 
338
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
 
339
    build_alias=$ac_optarg ;;
 
340
 
 
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 ;;
 
347
 
 
348
  --config-cache | -C)
 
349
    cache_file=config.cache ;;
 
350
 
 
351
  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
 
352
    ac_prev=datadir ;;
 
353
  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
 
354
  | --da=*)
 
355
    datadir=$ac_optarg ;;
 
356
 
 
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" ;;
 
365
 
 
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'`
 
373
    case $ac_option in
 
374
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
 
375
      *) ac_optarg=yes ;;
 
376
    esac
 
377
    eval "enable_$ac_feature='$ac_optarg'" ;;
 
378
 
 
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 ;;
 
387
 
 
388
  -gas | --gas | --ga | --g)
 
389
    # Obsolete; use --with-gas.
 
390
    with_gas=yes ;;
 
391
 
 
392
  -help | --help | --hel | --he | -h)
 
393
    ac_init_help=long ;;
 
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 ;;
 
398
 
 
399
  -host | --host | --hos | --ho)
 
400
    ac_prev=host_alias ;;
 
401
  -host=* | --host=* | --hos=* | --ho=*)
 
402
    host_alias=$ac_optarg ;;
 
403
 
 
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 ;;
 
410
 
 
411
  -infodir | --infodir | --infodi | --infod | --info | --inf)
 
412
    ac_prev=infodir ;;
 
413
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
 
414
    infodir=$ac_optarg ;;
 
415
 
 
416
  -libdir | --libdir | --libdi | --libd)
 
417
    ac_prev=libdir ;;
 
418
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
 
419
    libdir=$ac_optarg ;;
 
420
 
 
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 ;;
 
427
 
 
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 ;;
 
436
 
 
437
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
 
438
    ac_prev=mandir ;;
 
439
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
 
440
    mandir=$ac_optarg ;;
 
441
 
 
442
  -nfp | --nfp | --nf)
 
443
    # Obsolete; use --without-fp.
 
444
    with_fp=no ;;
 
445
 
 
446
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
 
447
  | --no-cr | --no-c | -n)
 
448
    no_create=yes ;;
 
449
 
 
450
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
 
451
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
 
452
    no_recursion=yes ;;
 
453
 
 
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 ;;
 
462
 
 
463
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
 
464
    ac_prev=prefix ;;
 
465
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
 
466
    prefix=$ac_optarg ;;
 
467
 
 
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 ;;
 
474
 
 
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 ;;
 
481
 
 
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 ;;
 
498
 
 
499
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
500
  | -silent | --silent | --silen | --sile | --sil)
 
501
    silent=yes ;;
 
502
 
 
503
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
 
504
    ac_prev=sbindir ;;
 
505
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
 
506
  | --sbi=* | --sb=*)
 
507
    sbindir=$ac_optarg ;;
 
508
 
 
509
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
 
510
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
 
511
  | --sharedst | --shareds | --shared | --share | --shar \
 
512
  | --sha | --sh)
 
513
    ac_prev=sharedstatedir ;;
 
514
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
 
515
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
 
516
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
 
517
  | --sha=* | --sh=*)
 
518
    sharedstatedir=$ac_optarg ;;
 
519
 
 
520
  -site | --site | --sit)
 
521
    ac_prev=site ;;
 
522
  -site=* | --site=* | --sit=*)
 
523
    site=$ac_optarg ;;
 
524
 
 
525
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
 
526
    ac_prev=srcdir ;;
 
527
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
 
528
    srcdir=$ac_optarg ;;
 
529
 
 
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 ;;
 
536
 
 
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 ;;
 
541
 
 
542
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
 
543
    verbose=yes ;;
 
544
 
 
545
  -version | --version | --versio | --versi | --vers | -V)
 
546
    ac_init_version=: ;;
 
547
 
 
548
  -with-* | --with-*)
 
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'`
 
555
    case $ac_option in
 
556
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
 
557
      *) ac_optarg=yes ;;
 
558
    esac
 
559
    eval "with_$ac_package='$ac_optarg'" ;;
 
560
 
 
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" ;;
 
569
 
 
570
  --x)
 
571
    # Obsolete; use --with-x.
 
572
    with_x=yes ;;
 
573
 
 
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 ;;
 
580
 
 
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 ;;
 
587
 
 
588
  -*) { echo "$as_me: error: unrecognized option: $ac_option
 
589
Try \`$0 --help' for more information." >&2
 
590
   { (exit 1); exit 1; }; }
 
591
    ;;
 
592
 
 
593
  *=*)
 
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'"
 
601
    export $ac_envvar ;;
 
602
 
 
603
  *)
 
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}
 
609
    ;;
 
610
 
 
611
  esac
 
612
done
 
613
 
 
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; }; }
 
618
fi
 
619
 
 
620
# Be sure to have absolute paths.
 
621
for ac_var in exec_prefix prefix
 
622
do
 
623
  eval ac_val=$`echo $ac_var`
 
624
  case $ac_val in
 
625
    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
 
626
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
 
627
   { (exit 1); exit 1; }; };;
 
628
  esac
 
629
done
 
630
 
 
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
 
634
do
 
635
  eval ac_val=$`echo $ac_var`
 
636
  case $ac_val in
 
637
    [\\/$]* | ?:[\\/]* ) ;;
 
638
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
 
639
   { (exit 1); exit 1; }; };;
 
640
  esac
 
641
done
 
642
 
 
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.
 
646
build=$build_alias
 
647
host=$host_alias
 
648
target=$target_alias
 
649
 
 
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
 
657
    cross_compiling=yes
 
658
  fi
 
659
fi
 
660
 
 
661
ac_tool_prefix=
 
662
test -n "$host_alias" && ac_tool_prefix=$host_alias-
 
663
 
 
664
test "$silent" = yes && exec 6>/dev/null
 
665
 
 
666
 
 
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 ||
 
677
echo X"$0" |
 
678
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
679
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
680
          /^X\(\/\/\)$/{ s//\1/; q; }
 
681
          /^X\(\/\).*/{ s//\1/; q; }
 
682
          s/.*/./; q'`
 
683
  srcdir=$ac_confdir
 
684
  if test ! -r $srcdir/$ac_unique_file; then
 
685
    srcdir=..
 
686
  fi
 
687
else
 
688
  ac_srcdir_defaulted=no
 
689
fi
 
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; }; }
 
694
  else
 
695
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
 
696
   { (exit 1); exit 1; }; }
 
697
  fi
 
698
fi
 
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
 
735
 
 
736
#
 
737
# Report the --help message.
 
738
#
 
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.
 
742
  cat <<_ACEOF
 
743
\`configure' configures mono-addins 0.2 to adapt to many kinds of systems.
 
744
 
 
745
Usage: $0 [OPTION]... [VAR=VALUE]...
 
746
 
 
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.
 
749
 
 
750
Defaults for the options are specified in brackets.
 
751
 
 
752
Configuration:
 
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 \`..']
 
762
 
 
763
_ACEOF
 
764
 
 
765
  cat <<_ACEOF
 
766
Installation directories:
 
767
  --prefix=PREFIX         install architecture-independent files in PREFIX
 
768
                          [$ac_default_prefix]
 
769
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
 
770
                          [PREFIX]
 
771
 
 
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'.
 
776
 
 
777
For better control, use the options below.
 
778
 
 
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]
 
792
_ACEOF
 
793
 
 
794
  cat <<\_ACEOF
 
795
 
 
796
Program names:
 
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
 
800
_ACEOF
 
801
fi
 
802
 
 
803
if test -n "$ac_init_help"; then
 
804
  case $ac_init_help in
 
805
     short | recursive ) echo "Configuration of mono-addins 0.2:";;
 
806
   esac
 
807
  cat <<\_ACEOF
 
808
 
 
809
Optional Features:
 
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
 
813
                          default=yes
 
814
  --enable-tests          build unit tests default=yes
 
815
 
 
816
Some influential environment variables:
 
817
  PKG_CONFIG  path to pkg-config utility
 
818
  GTK_SHARP_20_CFLAGS
 
819
              C compiler flags for GTK_SHARP_20, overriding pkg-config
 
820
  GTK_SHARP_20_LIBS
 
821
              linker flags for GTK_SHARP_20, overriding pkg-config
 
822
  MONO_NUNIT_CFLAGS
 
823
              C compiler flags for MONO_NUNIT, overriding pkg-config
 
824
  MONO_NUNIT_LIBS
 
825
              linker flags for MONO_NUNIT, overriding pkg-config
 
826
 
 
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.
 
829
 
 
830
_ACEOF
 
831
fi
 
832
 
 
833
if test "$ac_init_help" = "recursive"; then
 
834
  # If there are subdirs, report their specific --help.
 
835
  ac_popdir=`pwd`
 
836
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
 
837
    test -d $ac_dir || continue
 
838
    ac_builddir=.
 
839
 
 
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'`
 
844
else
 
845
  ac_dir_suffix= ac_top_builddir=
 
846
fi
 
847
 
 
848
case $srcdir in
 
849
  .)  # No --srcdir option.  We are building in place.
 
850
    ac_srcdir=.
 
851
    if test -z "$ac_top_builddir"; then
 
852
       ac_top_srcdir=.
 
853
    else
 
854
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
 
855
    fi ;;
 
856
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
857
    ac_srcdir=$srcdir$ac_dir_suffix;
 
858
    ac_top_srcdir=$srcdir ;;
 
859
  *) # Relative path.
 
860
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
 
861
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
 
862
esac
 
863
 
 
864
# Do not use `cd foo && pwd` to compute absolute paths, because
 
865
# the directories may not exist.
 
866
case `pwd` in
 
867
.) ac_abs_builddir="$ac_dir";;
 
868
*)
 
869
  case "$ac_dir" in
 
870
  .) ac_abs_builddir=`pwd`;;
 
871
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
 
872
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
 
873
  esac;;
 
874
esac
 
875
case $ac_abs_builddir in
 
876
.) ac_abs_top_builddir=${ac_top_builddir}.;;
 
877
*)
 
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}.;;
 
882
  esac;;
 
883
esac
 
884
case $ac_abs_builddir in
 
885
.) ac_abs_srcdir=$ac_srcdir;;
 
886
*)
 
887
  case $ac_srcdir in
 
888
  .) ac_abs_srcdir=$ac_abs_builddir;;
 
889
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
 
890
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
 
891
  esac;;
 
892
esac
 
893
case $ac_abs_builddir in
 
894
.) ac_abs_top_srcdir=$ac_top_srcdir;;
 
895
*)
 
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;;
 
900
  esac;;
 
901
esac
 
902
 
 
903
    cd $ac_dir
 
904
    # Check for guested configure; otherwise get Cygnus style configure.
 
905
    if test -f $ac_srcdir/configure.gnu; then
 
906
      echo
 
907
      $SHELL $ac_srcdir/configure.gnu  --help=recursive
 
908
    elif test -f $ac_srcdir/configure; then
 
909
      echo
 
910
      $SHELL $ac_srcdir/configure  --help=recursive
 
911
    elif test -f $ac_srcdir/configure.ac ||
 
912
           test -f $ac_srcdir/configure.in; then
 
913
      echo
 
914
      $ac_configure --help
 
915
    else
 
916
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 
917
    fi
 
918
    cd $ac_popdir
 
919
  done
 
920
fi
 
921
 
 
922
test -n "$ac_init_help" && exit 0
 
923
if $ac_init_version; then
 
924
  cat <<\_ACEOF
 
925
mono-addins configure 0.2
 
926
generated by GNU Autoconf 2.59
 
927
 
 
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.
 
931
_ACEOF
 
932
  exit 0
 
933
fi
 
934
exec 5>config.log
 
935
cat >&5 <<_ACEOF
 
936
This file contains any messages produced by compilers while
 
937
running configure, to aid debugging if configure makes a mistake.
 
938
 
 
939
It was created by mono-addins $as_me 0.2, which was
 
940
generated by GNU Autoconf 2.59.  Invocation command line was
 
941
 
 
942
  $ $0 $@
 
943
 
 
944
_ACEOF
 
945
{
 
946
cat <<_ASUNAME
 
947
## --------- ##
 
948
## Platform. ##
 
949
## --------- ##
 
950
 
 
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`
 
956
 
 
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`
 
959
 
 
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`
 
967
 
 
968
_ASUNAME
 
969
 
 
970
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
971
for as_dir in $PATH
 
972
do
 
973
  IFS=$as_save_IFS
 
974
  test -z "$as_dir" && as_dir=.
 
975
  echo "PATH: $as_dir"
 
976
done
 
977
 
 
978
} >&5
 
979
 
 
980
cat >&5 <<_ACEOF
 
981
 
 
982
 
 
983
## ----------- ##
 
984
## Core tests. ##
 
985
## ----------- ##
 
986
 
 
987
_ACEOF
 
988
 
 
989
 
 
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.
 
995
ac_configure_args=
 
996
ac_configure_args0=
 
997
ac_configure_args1=
 
998
ac_sep=
 
999
ac_must_keep_next=false
 
1000
for ac_pass in 1 2
 
1001
do
 
1002
  for ac_arg
 
1003
  do
 
1004
    case $ac_arg in
 
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)
 
1008
      continue ;;
 
1009
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
 
1010
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1011
    esac
 
1012
    case $ac_pass in
 
1013
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
 
1014
    2)
 
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.
 
1018
      else
 
1019
        case $ac_arg in
 
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 ;;
 
1026
            esac
 
1027
            ;;
 
1028
          -* ) ac_must_keep_next=true ;;
 
1029
        esac
 
1030
      fi
 
1031
      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
 
1032
      # Get rid of the leading space.
 
1033
      ac_sep=" "
 
1034
      ;;
 
1035
    esac
 
1036
  done
 
1037
done
 
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; }
 
1040
 
 
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.
 
1048
  {
 
1049
    echo
 
1050
 
 
1051
    cat <<\_ASBOX
 
1052
## ---------------- ##
 
1053
## Cache variables. ##
 
1054
## ---------------- ##
 
1055
_ASBOX
 
1056
    echo
 
1057
    # The following way of writing the cache mishandles newlines in values,
 
1058
{
 
1059
  (set) 2>&1 |
 
1060
    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
 
1061
    *ac_space=\ *)
 
1062
      sed -n \
 
1063
        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
 
1064
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
 
1065
      ;;
 
1066
    *)
 
1067
      sed -n \
 
1068
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
1069
      ;;
 
1070
    esac;
 
1071
}
 
1072
    echo
 
1073
 
 
1074
    cat <<\_ASBOX
 
1075
## ----------------- ##
 
1076
## Output variables. ##
 
1077
## ----------------- ##
 
1078
_ASBOX
 
1079
    echo
 
1080
    for ac_var in $ac_subst_vars
 
1081
    do
 
1082
      eval ac_val=$`echo $ac_var`
 
1083
      echo "$ac_var='"'"'$ac_val'"'"'"
 
1084
    done | sort
 
1085
    echo
 
1086
 
 
1087
    if test -n "$ac_subst_files"; then
 
1088
      cat <<\_ASBOX
 
1089
## ------------- ##
 
1090
## Output files. ##
 
1091
## ------------- ##
 
1092
_ASBOX
 
1093
      echo
 
1094
      for ac_var in $ac_subst_files
 
1095
      do
 
1096
        eval ac_val=$`echo $ac_var`
 
1097
        echo "$ac_var='"'"'$ac_val'"'"'"
 
1098
      done | sort
 
1099
      echo
 
1100
    fi
 
1101
 
 
1102
    if test -s confdefs.h; then
 
1103
      cat <<\_ASBOX
 
1104
## ----------- ##
 
1105
## confdefs.h. ##
 
1106
## ----------- ##
 
1107
_ASBOX
 
1108
      echo
 
1109
      sed "/^$/d" confdefs.h | sort
 
1110
      echo
 
1111
    fi
 
1112
    test "$ac_signal" != 0 &&
 
1113
      echo "$as_me: caught signal $ac_signal"
 
1114
    echo "$as_me: exit $exit_status"
 
1115
  } >&5
 
1116
  rm -f core *.core &&
 
1117
  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
 
1118
    exit $exit_status
 
1119
     ' 0
 
1120
for ac_signal in 1 2 13 15; do
 
1121
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
 
1122
done
 
1123
ac_signal=0
 
1124
 
 
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.
 
1128
echo >confdefs.h
 
1129
 
 
1130
# Predefined preprocessor variables.
 
1131
 
 
1132
cat >>confdefs.h <<_ACEOF
 
1133
#define PACKAGE_NAME "$PACKAGE_NAME"
 
1134
_ACEOF
 
1135
 
 
1136
 
 
1137
cat >>confdefs.h <<_ACEOF
 
1138
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
 
1139
_ACEOF
 
1140
 
 
1141
 
 
1142
cat >>confdefs.h <<_ACEOF
 
1143
#define PACKAGE_VERSION "$PACKAGE_VERSION"
 
1144
_ACEOF
 
1145
 
 
1146
 
 
1147
cat >>confdefs.h <<_ACEOF
 
1148
#define PACKAGE_STRING "$PACKAGE_STRING"
 
1149
_ACEOF
 
1150
 
 
1151
 
 
1152
cat >>confdefs.h <<_ACEOF
 
1153
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
 
1154
_ACEOF
 
1155
 
 
1156
 
 
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"
 
1162
  else
 
1163
    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
 
1164
  fi
 
1165
fi
 
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
 
1171
    . "$ac_site_file"
 
1172
  fi
 
1173
done
 
1174
 
 
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;}
 
1181
    case $cache_file in
 
1182
      [\\/]* | ?:[\\/]* ) . $cache_file;;
 
1183
      *)                      . ./$cache_file;;
 
1184
    esac
 
1185
  fi
 
1186
else
 
1187
  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
 
1188
echo "$as_me: creating cache $cache_file" >&6;}
 
1189
  >$cache_file
 
1190
fi
 
1191
 
 
1192
# Check that the precious variables saved in the cache have kept the same
 
1193
# value.
 
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
 
1202
    set,)
 
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=: ;;
 
1206
    ,set)
 
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=: ;;
 
1210
    ,);;
 
1211
    *)
 
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=:
 
1220
      fi;;
 
1221
  esac
 
1222
  # Pass precious variables to config.status.
 
1223
  if test "$ac_new_set" = set; then
 
1224
    case $ac_new_val in
 
1225
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
 
1226
      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1227
    *) ac_arg=$ac_var=$ac_new_val ;;
 
1228
    esac
 
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'" ;;
 
1232
    esac
 
1233
  fi
 
1234
done
 
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; }; }
 
1241
fi
 
1242
 
 
1243
ac_ext=c
 
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
 
1248
 
 
1249
 
 
1250
 
 
1251
 
 
1252
 
 
1253
 
 
1254
 
 
1255
 
 
1256
 
 
1257
 
 
1258
 
 
1259
 
 
1260
 
 
1261
 
 
1262
 
 
1263
 
 
1264
 
 
1265
 
 
1266
 
 
1267
 
 
1268
 
 
1269
 
 
1270
 
 
1271
 
 
1272
 
 
1273
 
 
1274
 
 
1275
am__api_version="1.9"
 
1276
ac_aux_dir=
 
1277
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
 
1278
  if test -f $ac_dir/install-sh; then
 
1279
    ac_aux_dir=$ac_dir
 
1280
    ac_install_sh="$ac_aux_dir/install-sh -c"
 
1281
    break
 
1282
  elif test -f $ac_dir/install.sh; then
 
1283
    ac_aux_dir=$ac_dir
 
1284
    ac_install_sh="$ac_aux_dir/install.sh -c"
 
1285
    break
 
1286
  elif test -f $ac_dir/shtool; then
 
1287
    ac_aux_dir=$ac_dir
 
1288
    ac_install_sh="$ac_aux_dir/shtool install -c"
 
1289
    break
 
1290
  fi
 
1291
done
 
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; }; }
 
1296
fi
 
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.
 
1300
 
 
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
 
1307
# AIX /bin/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
 
1319
else
 
1320
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1321
for as_dir in $PATH
 
1322
do
 
1323
  IFS=$as_save_IFS
 
1324
  test -z "$as_dir" && as_dir=.
 
1325
  # Account for people who put trailing slashes in PATH elements.
 
1326
case $as_dir/ in
 
1327
  ./ | .// | /cC/* | \
 
1328
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 
1329
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
 
1330
  /usr/ucb/* ) ;;
 
1331
  *)
 
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
 
1334
    # by default.
 
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.
 
1341
            :
 
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.
 
1345
            :
 
1346
          else
 
1347
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
1348
            break 3
 
1349
          fi
 
1350
        fi
 
1351
      done
 
1352
    done
 
1353
    ;;
 
1354
esac
 
1355
done
 
1356
 
 
1357
 
 
1358
fi
 
1359
  if test "${ac_cv_path_install+set}" = set; then
 
1360
    INSTALL=$ac_cv_path_install
 
1361
  else
 
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
 
1367
  fi
 
1368
fi
 
1369
echo "$as_me:$LINENO: result: $INSTALL" >&5
 
1370
echo "${ECHO_T}$INSTALL" >&6
 
1371
 
 
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}'
 
1375
 
 
1376
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 
1377
 
 
1378
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 
1379
 
 
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
 
1382
# Just in case
 
1383
sleep 1
 
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
 
1389
# directory).
 
1390
if (
 
1391
   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
 
1392
   if test "$*" = "X"; then
 
1393
      # -L didn't work.
 
1394
      set X `ls -t $srcdir/configure conftest.file`
 
1395
   fi
 
1396
   rm -f conftest.file
 
1397
   if test "$*" != "X $srcdir/configure conftest.file" \
 
1398
      && test "$*" != "X conftest.file $srcdir/configure"; then
 
1399
 
 
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; }; }
 
1409
   fi
 
1410
 
 
1411
   test "$2" = conftest.file
 
1412
   )
 
1413
then
 
1414
   # Ok.
 
1415
   :
 
1416
else
 
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; }; }
 
1422
fi
 
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,$//
 
1434
_ACEOF
 
1435
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
 
1436
rm conftest.sed
 
1437
 
 
1438
# expand $ac_aux_dir to an absolute path
 
1439
am_aux_dir=`cd $ac_aux_dir && pwd`
 
1440
 
 
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 "
 
1445
else
 
1446
  am_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;}
 
1449
fi
 
1450
 
 
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
 
1456
  # for two reasons:
 
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 --'
 
1467
else
 
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
 
1471
  # exists.
 
1472
  for d in ./-p ./--version;
 
1473
  do
 
1474
    test -d $d && rmdir $d
 
1475
  done
 
1476
  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
 
1477
  if test -f "$ac_aux_dir/mkinstalldirs"; then
 
1478
    mkdir_p='$(mkinstalldirs)'
 
1479
  else
 
1480
    mkdir_p='$(install_sh) -d'
 
1481
  fi
 
1482
fi
 
1483
 
 
1484
for ac_prog in gawk mawk nawk awk
 
1485
do
 
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
 
1492
else
 
1493
  if test -n "$AWK"; then
 
1494
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
 
1495
else
 
1496
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1497
for as_dir in $PATH
 
1498
do
 
1499
  IFS=$as_save_IFS
 
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
 
1505
    break 2
 
1506
  fi
 
1507
done
 
1508
done
 
1509
 
 
1510
fi
 
1511
fi
 
1512
AWK=$ac_cv_prog_AWK
 
1513
if test -n "$AWK"; then
 
1514
  echo "$as_me:$LINENO: result: $AWK" >&5
 
1515
echo "${ECHO_T}$AWK" >&6
 
1516
else
 
1517
  echo "$as_me:$LINENO: result: no" >&5
 
1518
echo "${ECHO_T}no" >&6
 
1519
fi
 
1520
 
 
1521
  test -n "$AWK" && break
 
1522
done
 
1523
 
 
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
 
1529
else
 
1530
  cat >conftest.make <<\_ACEOF
 
1531
all:
 
1532
        @echo 'ac_maketemp="$(MAKE)"'
 
1533
_ACEOF
 
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
 
1538
else
 
1539
  eval ac_cv_prog_make_${ac_make}_set=no
 
1540
fi
 
1541
rm -f conftest.make
 
1542
fi
 
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
 
1546
  SET_MAKE=
 
1547
else
 
1548
  echo "$as_me:$LINENO: result: no" >&5
 
1549
echo "${ECHO_T}no" >&6
 
1550
  SET_MAKE="MAKE=${MAKE-make}"
 
1551
fi
 
1552
 
 
1553
rm -rf .tst 2>/dev/null
 
1554
mkdir .tst 2>/dev/null
 
1555
if test -d .tst; then
 
1556
  am__leading_dot=.
 
1557
else
 
1558
  am__leading_dot=_
 
1559
fi
 
1560
rmdir .tst 2>/dev/null
 
1561
 
 
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; }; }
 
1568
fi
 
1569
 
 
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'
 
1574
  else
 
1575
    CYGPATH_W=echo
 
1576
  fi
 
1577
fi
 
1578
 
 
1579
 
 
1580
# Define the identity of the package.
 
1581
 PACKAGE='mono-addins'
 
1582
 VERSION='0.2'
 
1583
 
 
1584
 
 
1585
cat >>confdefs.h <<_ACEOF
 
1586
#define PACKAGE "$PACKAGE"
 
1587
_ACEOF
 
1588
 
 
1589
 
 
1590
cat >>confdefs.h <<_ACEOF
 
1591
#define VERSION "$VERSION"
 
1592
_ACEOF
 
1593
 
 
1594
# Some tools Automake needs.
 
1595
 
 
1596
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
 
1597
 
 
1598
 
 
1599
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
 
1600
 
 
1601
 
 
1602
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
 
1603
 
 
1604
 
 
1605
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
 
1606
 
 
1607
 
 
1608
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
 
1609
 
 
1610
install_sh=${install_sh-"$am_aux_dir/install-sh"}
 
1611
 
 
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
 
1624
else
 
1625
  if test -n "$STRIP"; then
 
1626
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
1627
else
 
1628
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1629
for as_dir in $PATH
 
1630
do
 
1631
  IFS=$as_save_IFS
 
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
 
1637
    break 2
 
1638
  fi
 
1639
done
 
1640
done
 
1641
 
 
1642
fi
 
1643
fi
 
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
 
1648
else
 
1649
  echo "$as_me:$LINENO: result: no" >&5
 
1650
echo "${ECHO_T}no" >&6
 
1651
fi
 
1652
 
 
1653
fi
 
1654
if test -z "$ac_cv_prog_STRIP"; then
 
1655
  ac_ct_STRIP=$STRIP
 
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
 
1662
else
 
1663
  if test -n "$ac_ct_STRIP"; then
 
1664
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
1665
else
 
1666
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1667
for as_dir in $PATH
 
1668
do
 
1669
  IFS=$as_save_IFS
 
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
 
1675
    break 2
 
1676
  fi
 
1677
done
 
1678
done
 
1679
 
 
1680
  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
 
1681
fi
 
1682
fi
 
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
 
1687
else
 
1688
  echo "$as_me:$LINENO: result: no" >&5
 
1689
echo "${ECHO_T}no" >&6
 
1690
fi
 
1691
 
 
1692
  STRIP=$ac_ct_STRIP
 
1693
else
 
1694
  STRIP="$ac_cv_prog_STRIP"
 
1695
fi
 
1696
 
 
1697
fi
 
1698
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
 
1699
 
 
1700
# We need awk for the "check" target.  The system "awk" is bad on
 
1701
# some platforms.
 
1702
# Always define AMTAR for backward compatibility.
 
1703
 
 
1704
AMTAR=${AMTAR-"${am_missing_run}tar"}
 
1705
 
 
1706
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
 
1707
 
 
1708
 
 
1709
 
 
1710
 
 
1711
 
 
1712
 
 
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
 
1719
else
 
1720
  case $PKG_CONFIG in
 
1721
  [\\/]* | ?:[\\/]*)
 
1722
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
 
1723
  ;;
 
1724
  *)
 
1725
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1726
for as_dir in $PATH
 
1727
do
 
1728
  IFS=$as_save_IFS
 
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
 
1734
    break 2
 
1735
  fi
 
1736
done
 
1737
done
 
1738
 
 
1739
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
 
1740
  ;;
 
1741
esac
 
1742
fi
 
1743
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
 
1744
 
 
1745
if test -n "$PKG_CONFIG"; then
 
1746
  echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
 
1747
echo "${ECHO_T}$PKG_CONFIG" >&6
 
1748
else
 
1749
  echo "$as_me:$LINENO: result: no" >&5
 
1750
echo "${ECHO_T}no" >&6
 
1751
fi
 
1752
 
 
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; }; }
 
1757
fi
 
1758
 
 
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
 
1765
# AIX /bin/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
 
1777
else
 
1778
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1779
for as_dir in $PATH
 
1780
do
 
1781
  IFS=$as_save_IFS
 
1782
  test -z "$as_dir" && as_dir=.
 
1783
  # Account for people who put trailing slashes in PATH elements.
 
1784
case $as_dir/ in
 
1785
  ./ | .// | /cC/* | \
 
1786
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 
1787
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
 
1788
  /usr/ucb/* ) ;;
 
1789
  *)
 
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
 
1792
    # by default.
 
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.
 
1799
            :
 
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.
 
1803
            :
 
1804
          else
 
1805
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
1806
            break 3
 
1807
          fi
 
1808
        fi
 
1809
      done
 
1810
    done
 
1811
    ;;
 
1812
esac
 
1813
done
 
1814
 
 
1815
 
 
1816
fi
 
1817
  if test "${ac_cv_path_install+set}" = set; then
 
1818
    INSTALL=$ac_cv_path_install
 
1819
  else
 
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
 
1825
  fi
 
1826
fi
 
1827
echo "$as_me:$LINENO: result: $INSTALL" >&5
 
1828
echo "${ECHO_T}$INSTALL" >&6
 
1829
 
 
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}'
 
1833
 
 
1834
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 
1835
 
 
1836
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 
1837
 
 
1838
 
 
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
 
1845
else
 
1846
  case $MCS in
 
1847
  [\\/]* | ?:[\\/]*)
 
1848
  ac_cv_path_MCS="$MCS" # Let the user override the test with a path.
 
1849
  ;;
 
1850
  *)
 
1851
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1852
for as_dir in $PATH
 
1853
do
 
1854
  IFS=$as_save_IFS
 
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
 
1860
    break 2
 
1861
  fi
 
1862
done
 
1863
done
 
1864
 
 
1865
  test -z "$ac_cv_path_MCS" && ac_cv_path_MCS="no"
 
1866
  ;;
 
1867
esac
 
1868
fi
 
1869
MCS=$ac_cv_path_MCS
 
1870
 
 
1871
if test -n "$MCS"; then
 
1872
  echo "$as_me:$LINENO: result: $MCS" >&5
 
1873
echo "${ECHO_T}$MCS" >&6
 
1874
else
 
1875
  echo "$as_me:$LINENO: result: no" >&5
 
1876
echo "${ECHO_T}no" >&6
 
1877
fi
 
1878
 
 
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; }; }
 
1883
fi
 
1884
 
 
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
 
1891
else
 
1892
  case $GACUTIL in
 
1893
  [\\/]* | ?:[\\/]*)
 
1894
  ac_cv_path_GACUTIL="$GACUTIL" # Let the user override the test with a path.
 
1895
  ;;
 
1896
  *)
 
1897
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1898
for as_dir in $PATH
 
1899
do
 
1900
  IFS=$as_save_IFS
 
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
 
1906
    break 2
 
1907
  fi
 
1908
done
 
1909
done
 
1910
 
 
1911
  test -z "$ac_cv_path_GACUTIL" && ac_cv_path_GACUTIL="no"
 
1912
  ;;
 
1913
esac
 
1914
fi
 
1915
GACUTIL=$ac_cv_path_GACUTIL
 
1916
 
 
1917
if test -n "$GACUTIL"; then
 
1918
  echo "$as_me:$LINENO: result: $GACUTIL" >&5
 
1919
echo "${ECHO_T}$GACUTIL" >&6
 
1920
else
 
1921
  echo "$as_me:$LINENO: result: no" >&5
 
1922
echo "${ECHO_T}no" >&6
 
1923
fi
 
1924
 
 
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; }; }
 
1929
fi
 
1930
 
 
1931
GACUTIL_FLAGS='/package mono-addins /root $(DESTDIR)$(prefix)/lib'
 
1932
 
 
1933
 
 
1934
 
 
1935
 
 
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}
 
1940
else
 
1941
  enable_gui=yes
 
1942
fi;
 
1943
 
 
1944
 
 
1945
 
 
1946
if test x$enable_gui = xyes; then
 
1947
  ENABLE_GUI_TRUE=
 
1948
  ENABLE_GUI_FALSE='#'
 
1949
else
 
1950
  ENABLE_GUI_TRUE='#'
 
1951
  ENABLE_GUI_FALSE=
 
1952
fi
 
1953
 
 
1954
 
 
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}
 
1959
else
 
1960
  enable_tests=yes
 
1961
fi;
 
1962
 
 
1963
 
 
1964
 
 
1965
if test x$enable_tests = xyes; then
 
1966
  ENABLE_TESTS_TRUE=
 
1967
  ENABLE_TESTS_FALSE='#'
 
1968
else
 
1969
  ENABLE_TESTS_TRUE='#'
 
1970
  ENABLE_TESTS_FALSE=
 
1971
fi
 
1972
 
 
1973
 
 
1974
if test "x$enable_gui" = "xyes"; then
 
1975
 
 
1976
 
 
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
 
1985
else
 
1986
  case $PKG_CONFIG in
 
1987
  [\\/]* | ?:[\\/]*)
 
1988
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
 
1989
  ;;
 
1990
  *)
 
1991
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1992
for as_dir in $PATH
 
1993
do
 
1994
  IFS=$as_save_IFS
 
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
 
2000
    break 2
 
2001
  fi
 
2002
done
 
2003
done
 
2004
 
 
2005
  ;;
 
2006
esac
 
2007
fi
 
2008
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
 
2009
 
 
2010
if test -n "$PKG_CONFIG"; then
 
2011
  echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
 
2012
echo "${ECHO_T}$PKG_CONFIG" >&6
 
2013
else
 
2014
  echo "$as_me:$LINENO: result: no" >&5
 
2015
echo "${ECHO_T}no" >&6
 
2016
fi
 
2017
 
 
2018
fi
 
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
 
2027
else
 
2028
  case $ac_pt_PKG_CONFIG in
 
2029
  [\\/]* | ?:[\\/]*)
 
2030
  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
 
2031
  ;;
 
2032
  *)
 
2033
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2034
for as_dir in $PATH
 
2035
do
 
2036
  IFS=$as_save_IFS
 
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
 
2042
    break 2
 
2043
  fi
 
2044
done
 
2045
done
 
2046
 
 
2047
  ;;
 
2048
esac
 
2049
fi
 
2050
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
 
2051
 
 
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
 
2055
else
 
2056
  echo "$as_me:$LINENO: result: no" >&5
 
2057
echo "${ECHO_T}no" >&6
 
2058
fi
 
2059
 
 
2060
  PKG_CONFIG=$ac_pt_PKG_CONFIG
 
2061
else
 
2062
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
 
2063
fi
 
2064
 
 
2065
fi
 
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
 
2073
        else
 
2074
                echo "$as_me:$LINENO: result: no" >&5
 
2075
echo "${ECHO_T}no" >&6
 
2076
                PKG_CONFIG=""
 
2077
        fi
 
2078
 
 
2079
fi
 
2080
 
 
2081
pkg_failed=no
 
2082
echo "$as_me:$LINENO: checking for GTK_SHARP_20" >&5
 
2083
echo $ECHO_N "checking for GTK_SHARP_20... $ECHO_C" >&6
 
2084
 
 
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"
 
2088
    else
 
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
 
2092
  ac_status=$?
 
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`
 
2096
else
 
2097
  pkg_failed=yes
 
2098
fi
 
2099
    fi
 
2100
else
 
2101
        pkg_failed=untried
 
2102
fi
 
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"
 
2106
    else
 
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
 
2110
  ac_status=$?
 
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`
 
2114
else
 
2115
  pkg_failed=yes
 
2116
fi
 
2117
    fi
 
2118
else
 
2119
        pkg_failed=untried
 
2120
fi
 
2121
 
 
2122
 
 
2123
 
 
2124
if test $pkg_failed = yes; then
 
2125
 
 
2126
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
2127
        _pkg_short_errors_supported=yes
 
2128
else
 
2129
        _pkg_short_errors_supported=no
 
2130
fi
 
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"`
 
2133
        else
 
2134
                GTK_SHARP_20_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk-sharp-2.0"`
 
2135
        fi
 
2136
        # Put the nasty error message in config.log where it belongs
 
2137
        echo "$GTK_SHARP_20_PKG_ERRORS" >&5
 
2138
 
 
2139
        { { echo "$as_me:$LINENO: error: Package requirements (gtk-sharp-2.0) were not met:
 
2140
 
 
2141
$GTK_SHARP_20_PKG_ERRORS
 
2142
 
 
2143
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
2144
installed software in a non-standard prefix.
 
2145
 
 
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.
 
2149
" >&5
 
2150
echo "$as_me: error: Package requirements (gtk-sharp-2.0) were not met:
 
2151
 
 
2152
$GTK_SHARP_20_PKG_ERRORS
 
2153
 
 
2154
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
2155
installed software in a non-standard prefix.
 
2156
 
 
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.
 
2160
" >&2;}
 
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
 
2165
path to pkg-config.
 
2166
 
 
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.
 
2170
 
 
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
 
2175
path to pkg-config.
 
2176
 
 
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.
 
2180
 
 
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; }; }
 
2184
else
 
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
 
2189
        :
 
2190
fi
 
2191
fi
 
2192
 
 
2193
if test "x$enable_tests" = "xyes"; then
 
2194
 
 
2195
pkg_failed=no
 
2196
echo "$as_me:$LINENO: checking for MONO_NUNIT" >&5
 
2197
echo $ECHO_N "checking for MONO_NUNIT... $ECHO_C" >&6
 
2198
 
 
2199
if test -n "$PKG_CONFIG"; then
 
2200
    if test -n "$MONO_NUNIT_CFLAGS"; then
 
2201
        pkg_cv_MONO_NUNIT_CFLAGS="$MONO_NUNIT_CFLAGS"
 
2202
    else
 
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
 
2206
  ac_status=$?
 
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`
 
2210
else
 
2211
  pkg_failed=yes
 
2212
fi
 
2213
    fi
 
2214
else
 
2215
        pkg_failed=untried
 
2216
fi
 
2217
if test -n "$PKG_CONFIG"; then
 
2218
    if test -n "$MONO_NUNIT_LIBS"; then
 
2219
        pkg_cv_MONO_NUNIT_LIBS="$MONO_NUNIT_LIBS"
 
2220
    else
 
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
 
2224
  ac_status=$?
 
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`
 
2228
else
 
2229
  pkg_failed=yes
 
2230
fi
 
2231
    fi
 
2232
else
 
2233
        pkg_failed=untried
 
2234
fi
 
2235
 
 
2236
 
 
2237
 
 
2238
if test $pkg_failed = yes; then
 
2239
 
 
2240
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
2241
        _pkg_short_errors_supported=yes
 
2242
else
 
2243
        _pkg_short_errors_supported=no
 
2244
fi
 
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"`
 
2247
        else
 
2248
                MONO_NUNIT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "mono-nunit"`
 
2249
        fi
 
2250
        # Put the nasty error message in config.log where it belongs
 
2251
        echo "$MONO_NUNIT_PKG_ERRORS" >&5
 
2252
 
 
2253
        { { echo "$as_me:$LINENO: error: Package requirements (mono-nunit) were not met:
 
2254
 
 
2255
$MONO_NUNIT_PKG_ERRORS
 
2256
 
 
2257
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
2258
installed software in a non-standard prefix.
 
2259
 
 
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.
 
2263
" >&5
 
2264
echo "$as_me: error: Package requirements (mono-nunit) were not met:
 
2265
 
 
2266
$MONO_NUNIT_PKG_ERRORS
 
2267
 
 
2268
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
2269
installed software in a non-standard prefix.
 
2270
 
 
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.
 
2274
" >&2;}
 
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
 
2279
path to pkg-config.
 
2280
 
 
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.
 
2284
 
 
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
 
2289
path to pkg-config.
 
2290
 
 
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.
 
2294
 
 
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; }; }
 
2298
else
 
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
 
2303
        :
 
2304
fi
 
2305
fi
 
2306
 
 
2307
 
 
2308
 
 
2309
 
 
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'
 
2313
 
 
2314
 
 
2315
 
 
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"
 
2317
 
 
2318
 
 
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.
 
2325
#
 
2326
# config.status only pays attention to the cache file if you give it
 
2327
# the --recheck option to rerun configure.
 
2328
#
 
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
 
2331
# following values.
 
2332
 
 
2333
_ACEOF
 
2334
 
 
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.
 
2340
{
 
2341
  (set) 2>&1 |
 
2342
    case `(ac_space=' '; set | grep ac_space) 2>&1` in
 
2343
    *ac_space=\ *)
 
2344
      # `set' does not quote correctly, so add quotes (double-quote
 
2345
      # substitution turns \\\\ into \\, and sed turns \\ into \).
 
2346
      sed -n \
 
2347
        "s/'/'\\\\''/g;
 
2348
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
 
2349
      ;;
 
2350
    *)
 
2351
      # `set' quotes correctly as required by POSIX, so do not add quotes.
 
2352
      sed -n \
 
2353
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
2354
      ;;
 
2355
    esac;
 
2356
} |
 
2357
  sed '
 
2358
     t clear
 
2359
     : clear
 
2360
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
 
2361
     t end
 
2362
     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 
2363
     : end' >>confcache
 
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
 
2368
  else
 
2369
    echo "not updating unwritable cache $cache_file"
 
2370
  fi
 
2371
fi
 
2372
rm -f confcache
 
2373
 
 
2374
test "x$prefix" = xNONE && prefix=$ac_default_prefix
 
2375
# Let make expand exec_prefix.
 
2376
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
 
2377
 
 
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}:*/:/;
 
2386
s/:*@srcdir@:*/:/;
 
2387
s/^\([^=]*=[     ]*\):*/\1/;
 
2388
s/:*$//;
 
2389
s/^[^=]*=[       ]*$//;
 
2390
}'
 
2391
fi
 
2392
 
 
2393
# Transform confdefs.h into DEFS.
 
2394
# Protect against shell expansion while executing Makefile rules.
 
2395
# Protect against Makefile macro expansion.
 
2396
#
 
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
 
2401
t clear
 
2402
: clear
 
2403
s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\),-D\1=\2,g
 
2404
t quote
 
2405
s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\),-D\1=\2,g
 
2406
t quote
 
2407
d
 
2408
: quote
 
2409
s,[      `~#$^&*(){}\\|;'"<>?],\\&,g
 
2410
s,\[,\\&,g
 
2411
s,\],\\&,g
 
2412
s,\$,$$,g
 
2413
p
 
2414
_ACEOF
 
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
 
2420
# would break.
 
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
 
2424
 
 
2425
 
 
2426
ac_libobjs=
 
2427
ac_ltlibobjs=
 
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$//'`
 
2432
  # 2. Add them.
 
2433
  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
 
2434
  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
 
2435
done
 
2436
LIBOBJS=$ac_libobjs
 
2437
 
 
2438
LTLIBOBJS=$ac_ltlibobjs
 
2439
 
 
2440
 
 
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; }; }
 
2447
fi
 
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; }; }
 
2454
fi
 
2455
 
 
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
 
2462
#! $SHELL
 
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.
 
2467
 
 
2468
debug=false
 
2469
ac_cs_recheck=false
 
2470
ac_cs_silent=false
 
2471
SHELL=\${CONFIG_SHELL-$SHELL}
 
2472
_ACEOF
 
2473
 
 
2474
cat >>$CONFIG_STATUS <<\_ACEOF
 
2475
## --------------------- ##
 
2476
## M4sh Initialization.  ##
 
2477
## --------------------- ##
 
2478
 
 
2479
# Be Bourne compatible
 
2480
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
2481
  emulate sh
 
2482
  NULLCMD=:
 
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
 
2487
  set -o posix
 
2488
fi
 
2489
DUALCASE=1; export DUALCASE # for MKS sh
 
2490
 
 
2491
# Support unset when possible.
 
2492
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 
2493
  as_unset=unset
 
2494
else
 
2495
  as_unset=false
 
2496
fi
 
2497
 
 
2498
 
 
2499
# Work around bugs in pre-3.0 UWIN ksh.
 
2500
$as_unset ENV MAIL MAILPATH
 
2501
PS1='$ '
 
2502
PS2='> '
 
2503
PS4='+ '
 
2504
 
 
2505
# NLS nuisances.
 
2506
for as_var in \
 
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
 
2510
do
 
2511
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
 
2512
    eval $as_var=C; export $as_var
 
2513
  else
 
2514
    $as_unset $as_var
 
2515
  fi
 
2516
done
 
2517
 
 
2518
# Required to use basename.
 
2519
if expr a : '\(a\)' >/dev/null 2>&1; then
 
2520
  as_expr=expr
 
2521
else
 
2522
  as_expr=false
 
2523
fi
 
2524
 
 
2525
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
2526
  as_basename=basename
 
2527
else
 
2528
  as_basename=false
 
2529
fi
 
2530
 
 
2531
 
 
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 ||
 
2538
echo X/"$0" |
 
2539
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
 
2540
          /^X\/\(\/\/\)$/{ s//\1/; q; }
 
2541
          /^X\/\(\/\).*/{ s//\1/; q; }
 
2542
          s/.*/./; q'`
 
2543
 
 
2544
 
 
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
 
2552
 
 
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
 
2557
  chmod +x conf$$.sh
 
2558
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
2559
    PATH_SEPARATOR=';'
 
2560
  else
 
2561
    PATH_SEPARATOR=:
 
2562
  fi
 
2563
  rm -f conf$$.sh
 
2564
fi
 
2565
 
 
2566
 
 
2567
  as_lineno_1=$LINENO
 
2568
  as_lineno_2=$LINENO
 
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
 
2573
  # relative or not.
 
2574
  case $0 in
 
2575
    *[\\/]* ) as_myself=$0 ;;
 
2576
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2577
for as_dir in $PATH
 
2578
do
 
2579
  IFS=$as_save_IFS
 
2580
  test -z "$as_dir" && as_dir=.
 
2581
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
2582
done
 
2583
 
 
2584
       ;;
 
2585
  esac
 
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
 
2589
    as_myself=$0
 
2590
  fi
 
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; }; }
 
2595
  fi
 
2596
  case $CONFIG_SHELL in
 
2597
  '')
 
2598
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2599
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
 
2600
do
 
2601
  IFS=$as_save_IFS
 
2602
  test -z "$as_dir" && as_dir=.
 
2603
  for as_base in sh bash ksh sh5; do
 
2604
         case $as_dir in
 
2605
         /*)
 
2606
           if ("$as_dir/$as_base" -c '
 
2607
  as_lineno_1=$LINENO
 
2608
  as_lineno_2=$LINENO
 
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
 
2615
             export CONFIG_SHELL
 
2616
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
 
2617
           fi;;
 
2618
         esac
 
2619
       done
 
2620
done
 
2621
;;
 
2622
  esac
 
2623
 
 
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 |
 
2633
    sed '
 
2634
      N
 
2635
      s,$,-,
 
2636
      : loop
 
2637
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
 
2638
      t loop
 
2639
      s,-$,,
 
2640
      s,^['$as_cr_digits']*\n,,
 
2641
    ' >$as_me.lineno &&
 
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; }; }
 
2646
 
 
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).
 
2650
  . ./$as_me.lineno
 
2651
  # Exit status is that of the last command.
 
2652
  exit
 
2653
}
 
2654
 
 
2655
 
 
2656
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
 
2657
  *c*,-n*) ECHO_N= ECHO_C='
 
2658
' ECHO_T='      ' ;;
 
2659
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
 
2660
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
 
2661
esac
 
2662
 
 
2663
if expr a : '\(a\)' >/dev/null 2>&1; then
 
2664
  as_expr=expr
 
2665
else
 
2666
  as_expr=false
 
2667
fi
 
2668
 
 
2669
rm -f conf$$ conf$$.exe conf$$.file
 
2670
echo >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
 
2676
    as_ln_s='cp -p'
 
2677
  else
 
2678
    as_ln_s='ln -s'
 
2679
  fi
 
2680
elif ln conf$$.file conf$$ 2>/dev/null; then
 
2681
  as_ln_s=ln
 
2682
else
 
2683
  as_ln_s='cp -p'
 
2684
fi
 
2685
rm -f conf$$ conf$$.exe conf$$.file
 
2686
 
 
2687
if mkdir -p . 2>/dev/null; then
 
2688
  as_mkdir_p=:
 
2689
else
 
2690
  test -d ./-p && rmdir ./-p
 
2691
  as_mkdir_p=false
 
2692
fi
 
2693
 
 
2694
as_executable_p="test -f"
 
2695
 
 
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'"
 
2698
 
 
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'"
 
2701
 
 
2702
 
 
2703
# IFS
 
2704
# We need space, tab and new line, in precisely that order.
 
2705
as_nl='
 
2706
'
 
2707
IFS="   $as_nl"
 
2708
 
 
2709
# CDPATH.
 
2710
$as_unset CDPATH
 
2711
 
 
2712
exec 6>&1
 
2713
 
 
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.
 
2717
exec 5>>config.log
 
2718
{
 
2719
  echo
 
2720
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 
2721
## Running $as_me. ##
 
2722
_ASBOX
 
2723
} >&5
 
2724
cat >&5 <<_CSEOF
 
2725
 
 
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
 
2728
 
 
2729
  CONFIG_FILES    = $CONFIG_FILES
 
2730
  CONFIG_HEADERS  = $CONFIG_HEADERS
 
2731
  CONFIG_LINKS    = $CONFIG_LINKS
 
2732
  CONFIG_COMMANDS = $CONFIG_COMMANDS
 
2733
  $ $0 $@
 
2734
 
 
2735
_CSEOF
 
2736
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
 
2737
echo >&5
 
2738
_ACEOF
 
2739
 
 
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
 
2743
fi
 
2744
 
 
2745
if test -n "$ac_config_headers"; then
 
2746
  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
 
2747
fi
 
2748
 
 
2749
if test -n "$ac_config_links"; then
 
2750
  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
 
2751
fi
 
2752
 
 
2753
if test -n "$ac_config_commands"; then
 
2754
  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
 
2755
fi
 
2756
 
 
2757
cat >>$CONFIG_STATUS <<\_ACEOF
 
2758
 
 
2759
ac_cs_usage="\
 
2760
\`$as_me' instantiates files from templates according to the
 
2761
current configuration.
 
2762
 
 
2763
Usage: $0 [OPTIONS] [FILE]...
 
2764
 
 
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
 
2772
 
 
2773
Configuration files:
 
2774
$config_files
 
2775
 
 
2776
Report bugs to <bug-autoconf@gnu.org>."
 
2777
_ACEOF
 
2778
 
 
2779
cat >>$CONFIG_STATUS <<_ACEOF
 
2780
ac_cs_version="\\
 
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'`\\"
 
2784
 
 
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."
 
2788
srcdir=$srcdir
 
2789
INSTALL="$INSTALL"
 
2790
_ACEOF
 
2791
 
 
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.
 
2795
ac_need_defaults=:
 
2796
while test $# != 0
 
2797
do
 
2798
  case $1 in
 
2799
  --*=*)
 
2800
    ac_option=`expr "x$1" : 'x\([^=]*\)='`
 
2801
    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
 
2802
    ac_shift=:
 
2803
    ;;
 
2804
  -*)
 
2805
    ac_option=$1
 
2806
    ac_optarg=$2
 
2807
    ac_shift=shift
 
2808
    ;;
 
2809
  *) # This is not an option, so the user has probably given explicit
 
2810
     # arguments.
 
2811
     ac_option=$1
 
2812
     ac_need_defaults=false;;
 
2813
  esac
 
2814
 
 
2815
  case $ac_option in
 
2816
  # Handling of the options.
 
2817
_ACEOF
 
2818
cat >>$CONFIG_STATUS <<\_ACEOF
 
2819
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
 
2820
    ac_cs_recheck=: ;;
 
2821
  --version | --vers* | -V )
 
2822
    echo "$ac_cs_version"; exit 0 ;;
 
2823
  --he | --h)
 
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 )
 
2833
    debug=: ;;
 
2834
  --file | --fil | --fi | --f )
 
2835
    $ac_shift
 
2836
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
 
2837
    ac_need_defaults=false;;
 
2838
  --header | --heade | --head | --hea )
 
2839
    $ac_shift
 
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)
 
2844
    ac_cs_silent=: ;;
 
2845
 
 
2846
  # This is an error.
 
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; }; } ;;
 
2852
 
 
2853
  *) ac_config_targets="$ac_config_targets $1" ;;
 
2854
 
 
2855
  esac
 
2856
  shift
 
2857
done
 
2858
 
 
2859
ac_configure_extra_args=
 
2860
 
 
2861
if $ac_cs_silent; then
 
2862
  exec 6>/dev/null
 
2863
  ac_configure_extra_args="$ac_configure_extra_args --silent"
 
2864
fi
 
2865
 
 
2866
_ACEOF
 
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
 
2871
fi
 
2872
 
 
2873
_ACEOF
 
2874
 
 
2875
 
 
2876
 
 
2877
 
 
2878
 
 
2879
cat >>$CONFIG_STATUS <<\_ACEOF
 
2880
for ac_config_target in $ac_config_targets
 
2881
do
 
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; }; };;
 
2912
  esac
 
2913
done
 
2914
 
 
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
 
2921
fi
 
2922
 
 
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.
 
2927
$debug ||
 
2928
{
 
2929
  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
 
2930
  trap '{ (exit 1); exit 1; }' 1 2 13 15
 
2931
}
 
2932
 
 
2933
# Create a (secure) tmp directory for tmp files.
 
2934
 
 
2935
{
 
2936
  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
 
2937
  test -n "$tmp" && test -d "$tmp"
 
2938
}  ||
 
2939
{
 
2940
  tmp=./confstat$$-$RANDOM
 
2941
  (umask 077 && mkdir $tmp)
 
2942
} ||
 
2943
{
 
2944
   echo "$me: cannot create a temporary directory in ." >&2
 
2945
   { (exit 1); exit 1; }
 
2946
}
 
2947
 
 
2948
_ACEOF
 
2949
 
 
2950
cat >>$CONFIG_STATUS <<_ACEOF
 
2951
 
 
2952
#
 
2953
# CONFIG_FILES section.
 
2954
#
 
2955
 
 
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
 
2987
s,@DEFS@,$DEFS,;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
 
2991
s,@LIBS@,$LIBS,;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
 
3008
s,@AWK@,$AWK,;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
 
3015
s,@MCS@,$MCS,;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
 
3031
CEOF
 
3032
 
 
3033
_ACEOF
 
3034
 
 
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.
 
3038
  ac_max_sed_lines=48
 
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.
 
3042
  ac_more_lines=:
 
3043
  ac_sed_cmds=
 
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
 
3047
    else
 
3048
      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
 
3049
    fi
 
3050
    if test ! -s $tmp/subs.frag; then
 
3051
      ac_more_lines=false
 
3052
    else
 
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.
 
3057
      (echo ':t
 
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"
 
3061
      else
 
3062
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
 
3063
      fi
 
3064
      ac_sed_frag=`expr $ac_sed_frag + 1`
 
3065
      ac_beg=$ac_end
 
3066
      ac_end=`expr $ac_end + $ac_max_sed_lines`
 
3067
    fi
 
3068
  done
 
3069
  if test -z "$ac_sed_cmds"; then
 
3070
    ac_sed_cmds=cat
 
3071
  fi
 
3072
fi # test -n "$CONFIG_FILES"
 
3073
 
 
3074
_ACEOF
 
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".
 
3078
  case $ac_file in
 
3079
  - | *:- | *:-:* ) # input from stdin
 
3080
        cat >$tmp/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 ;;
 
3086
  esac
 
3087
 
 
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 ||
 
3095
echo X"$ac_file" |
 
3096
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
3097
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
3098
          /^X\(\/\/\)$/{ s//\1/; q; }
 
3099
          /^X\(\/\).*/{ s//\1/; q; }
 
3100
          s/.*/./; q'`
 
3101
  { if $as_mkdir_p; then
 
3102
    mkdir -p "$ac_dir"
 
3103
  else
 
3104
    as_dir="$ac_dir"
 
3105
    as_dirs=
 
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 ||
 
3114
echo X"$as_dir" |
 
3115
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
3116
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
3117
          /^X\(\/\/\)$/{ s//\1/; q; }
 
3118
          /^X\(\/\).*/{ s//\1/; q; }
 
3119
          s/.*/./; q'`
 
3120
    done
 
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; }; }; }
 
3125
 
 
3126
  ac_builddir=.
 
3127
 
 
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'`
 
3132
else
 
3133
  ac_dir_suffix= ac_top_builddir=
 
3134
fi
 
3135
 
 
3136
case $srcdir in
 
3137
  .)  # No --srcdir option.  We are building in place.
 
3138
    ac_srcdir=.
 
3139
    if test -z "$ac_top_builddir"; then
 
3140
       ac_top_srcdir=.
 
3141
    else
 
3142
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
 
3143
    fi ;;
 
3144
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
3145
    ac_srcdir=$srcdir$ac_dir_suffix;
 
3146
    ac_top_srcdir=$srcdir ;;
 
3147
  *) # Relative path.
 
3148
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
 
3149
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
 
3150
esac
 
3151
 
 
3152
# Do not use `cd foo && pwd` to compute absolute paths, because
 
3153
# the directories may not exist.
 
3154
case `pwd` in
 
3155
.) ac_abs_builddir="$ac_dir";;
 
3156
*)
 
3157
  case "$ac_dir" in
 
3158
  .) ac_abs_builddir=`pwd`;;
 
3159
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
 
3160
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
 
3161
  esac;;
 
3162
esac
 
3163
case $ac_abs_builddir in
 
3164
.) ac_abs_top_builddir=${ac_top_builddir}.;;
 
3165
*)
 
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}.;;
 
3170
  esac;;
 
3171
esac
 
3172
case $ac_abs_builddir in
 
3173
.) ac_abs_srcdir=$ac_srcdir;;
 
3174
*)
 
3175
  case $ac_srcdir in
 
3176
  .) ac_abs_srcdir=$ac_abs_builddir;;
 
3177
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
 
3178
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
 
3179
  esac;;
 
3180
esac
 
3181
case $ac_abs_builddir in
 
3182
.) ac_abs_top_srcdir=$ac_top_srcdir;;
 
3183
*)
 
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;;
 
3188
  esac;;
 
3189
esac
 
3190
 
 
3191
 
 
3192
  case $INSTALL in
 
3193
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
 
3194
  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
 
3195
  esac
 
3196
 
 
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;}
 
3200
    rm -f "$ac_file"
 
3201
  fi
 
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
 
3206
    configure_input=
 
3207
  else
 
3208
    configure_input="$ac_file.  "
 
3209
  fi
 
3210
  configure_input=$configure_input"Generated from `echo $ac_file_in |
 
3211
                                     sed 's,.*/,,'` by configure."
 
3212
 
 
3213
  # First look for the input files in the build tree, otherwise in the
 
3214
  # src tree.
 
3215
  ac_file_inputs=`IFS=:
 
3216
    for f in $ac_file_in; do
 
3217
      case $f in
 
3218
      -) echo $tmp/stdin ;;
 
3219
      [\\/$]*)
 
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; }; }
 
3224
         echo "$f";;
 
3225
      *) # Relative
 
3226
         if test -f "$f"; then
 
3227
           # Build tree
 
3228
           echo "$f"
 
3229
         elif test -f "$srcdir/$f"; then
 
3230
           # Source tree
 
3231
           echo "$srcdir/$f"
 
3232
         else
 
3233
           # /dev/null tree
 
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; }; }
 
3237
         fi;;
 
3238
      esac
 
3239
    done` || { (exit 1); exit 1; }
 
3240
_ACEOF
 
3241
cat >>$CONFIG_STATUS <<_ACEOF
 
3242
  sed "$ac_vpsub
 
3243
$extrasub
 
3244
_ACEOF
 
3245
cat >>$CONFIG_STATUS <<\_ACEOF
 
3246
:t
 
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
 
3259
  rm -f $tmp/stdin
 
3260
  if test x"$ac_file" != x-; then
 
3261
    mv $tmp/out $ac_file
 
3262
  else
 
3263
    cat $tmp/out
 
3264
    rm -f $tmp/out
 
3265
  fi
 
3266
 
 
3267
done
 
3268
_ACEOF
 
3269
 
 
3270
cat >>$CONFIG_STATUS <<\_ACEOF
 
3271
 
 
3272
{ (exit 0); exit 0; }
 
3273
_ACEOF
 
3274
chmod +x $CONFIG_STATUS
 
3275
ac_clean_files=$ac_clean_files_save
 
3276
 
 
3277
 
 
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
 
3287
  ac_cs_success=:
 
3288
  ac_config_status_args=
 
3289
  test "$silent" = yes &&
 
3290
    ac_config_status_args="$ac_config_status_args --quiet"
 
3291
  exec 5>/dev/null
 
3292
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
 
3293
  exec 5>>config.log
 
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; }
 
3297
fi
 
3298
 
 
3299
 
 
3300
echo ""
 
3301
echo "Configuration summary"
 
3302
echo ""
 
3303
echo "   * Installation prefix = $prefix"
 
3304
echo "   * gui support: $enable_gui"
 
3305
echo "   * unit tests: $enable_tests"
 
3306
echo ""
 
3307
 
 
3308