/gtk/prep-images

To get this branch, use:
bzr branch http://bzr.ed.am/gtk/prep-images
1 by edam
- initial commit, includes project and build setup
1
#! /bin/sh
2
# Guess values for system-dependent variables and create Makefiles.
3 by edam
- renamed project from add-copyright-to-images to prep-images
3
# Generated by GNU Autoconf 2.67 for prep-images 0.1.0.
1 by edam
- initial commit, includes project and build setup
4
#
5
# Report bugs to <edam@waxworlds.org>.
6
#
7
#
8
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
10
# Foundation, Inc.
11
#
12
#
13
# This configure script is free software; the Free Software Foundation
14
# gives unlimited permission to copy, distribute and modify it.
15
## -------------------- ##
16
## M4sh Initialization. ##
17
## -------------------- ##
18
19
# Be more Bourne compatible
20
DUALCASE=1; export DUALCASE # for MKS sh
21
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22
  emulate sh
23
  NULLCMD=:
24
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25
  # is contrary to our usage.  Disable this feature.
26
  alias -g '${1+"$@"}'='"$@"'
27
  setopt NO_GLOB_SUBST
28
else
29
  case `(set -o) 2>/dev/null` in #(
30
  *posix*) :
31
    set -o posix ;; #(
32
  *) :
33
     ;;
34
esac
35
fi
36
37
38
as_nl='
39
'
40
export as_nl
41
# Printing a long string crashes Solaris 7 /usr/bin/printf.
42
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45
# Prefer a ksh shell builtin over an external printf program on Solaris,
46
# but without wasting forks for bash or zsh.
47
if test -z "$BASH_VERSION$ZSH_VERSION" \
48
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49
  as_echo='print -r --'
50
  as_echo_n='print -rn --'
51
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52
  as_echo='printf %s\n'
53
  as_echo_n='printf %s'
54
else
55
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57
    as_echo_n='/usr/ucb/echo -n'
58
  else
59
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60
    as_echo_n_body='eval
61
      arg=$1;
62
      case $arg in #(
63
      *"$as_nl"*)
64
	expr "X$arg" : "X\\(.*\\)$as_nl";
65
	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66
      esac;
67
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68
    '
69
    export as_echo_n_body
70
    as_echo_n='sh -c $as_echo_n_body as_echo'
71
  fi
72
  export as_echo_body
73
  as_echo='sh -c $as_echo_body as_echo'
74
fi
75
76
# The user is always right.
77
if test "${PATH_SEPARATOR+set}" != set; then
78
  PATH_SEPARATOR=:
79
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81
      PATH_SEPARATOR=';'
82
  }
83
fi
84
85
86
# IFS
87
# We need space, tab and new line, in precisely that order.  Quoting is
88
# there to prevent editors from complaining about space-tab.
89
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
90
# splitting by setting IFS to empty value.)
91
IFS=" ""	$as_nl"
92
93
# Find who we are.  Look in the path if we contain no directory separator.
94
case $0 in #((
95
  *[\\/]* ) as_myself=$0 ;;
96
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97
for as_dir in $PATH
98
do
99
  IFS=$as_save_IFS
100
  test -z "$as_dir" && as_dir=.
101
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
102
  done
103
IFS=$as_save_IFS
104
105
     ;;
106
esac
107
# We did not find ourselves, most probably we were run as `sh COMMAND'
108
# in which case we are not to be found in the path.
109
if test "x$as_myself" = x; then
110
  as_myself=$0
111
fi
112
if test ! -f "$as_myself"; then
113
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114
  exit 1
115
fi
116
117
# Unset variables that we do not need and which cause bugs (e.g. in
118
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
119
# suppresses any "Segmentation fault" message there.  '((' could
120
# trigger a bug in pdksh 5.2.14.
121
for as_var in BASH_ENV ENV MAIL MAILPATH
122
do eval test x\${$as_var+set} = xset \
123
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
124
done
125
PS1='$ '
126
PS2='> '
127
PS4='+ '
128
129
# NLS nuisances.
130
LC_ALL=C
131
export LC_ALL
132
LANGUAGE=C
133
export LANGUAGE
134
135
# CDPATH.
136
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137
138
if test "x$CONFIG_SHELL" = x; then
139
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140
  emulate sh
141
  NULLCMD=:
142
  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143
  # is contrary to our usage.  Disable this feature.
144
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
145
  setopt NO_GLOB_SUBST
146
else
147
  case \`(set -o) 2>/dev/null\` in #(
148
  *posix*) :
149
    set -o posix ;; #(
150
  *) :
151
     ;;
152
esac
153
fi
154
"
155
  as_required="as_fn_return () { (exit \$1); }
156
as_fn_success () { as_fn_return 0; }
157
as_fn_failure () { as_fn_return 1; }
158
as_fn_ret_success () { return 0; }
159
as_fn_ret_failure () { return 1; }
160
161
exitcode=0
162
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167
168
else
169
  exitcode=1; echo positional parameters were not saved.
170
fi
171
test x\$exitcode = x0 || exit 1"
172
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
173
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
174
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
176
  if (eval "$as_required") 2>/dev/null; then :
177
  as_have_required=yes
178
else
179
  as_have_required=no
180
fi
181
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
182
183
else
184
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
185
as_found=false
186
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
187
do
188
  IFS=$as_save_IFS
189
  test -z "$as_dir" && as_dir=.
190
  as_found=:
191
  case $as_dir in #(
192
	 /*)
193
	   for as_base in sh bash ksh sh5; do
194
	     # Try only shells that exist, to save several forks.
195
	     as_shell=$as_dir/$as_base
196
	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
197
		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
198
  CONFIG_SHELL=$as_shell as_have_required=yes
199
		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
200
  break 2
201
fi
202
fi
203
	   done;;
204
       esac
205
  as_found=false
206
done
207
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
208
	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
209
  CONFIG_SHELL=$SHELL as_have_required=yes
210
fi; }
211
IFS=$as_save_IFS
212
213
214
      if test "x$CONFIG_SHELL" != x; then :
215
  # We cannot yet assume a decent shell, so we have to provide a
216
	# neutralization value for shells without unset; and this also
217
	# works around shells that cannot unset nonexistent variables.
218
	BASH_ENV=/dev/null
219
	ENV=/dev/null
220
	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
221
	export CONFIG_SHELL
222
	exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
223
fi
224
225
    if test x$as_have_required = xno; then :
226
  $as_echo "$0: This script requires a shell more modern than all"
227
  $as_echo "$0: the shells that I found on your system."
228
  if test x${ZSH_VERSION+set} = xset ; then
229
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
230
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
231
  else
232
    $as_echo "$0: Please tell bug-autoconf@gnu.org and edam@waxworlds.org
233
$0: about your system, including any error possibly output
234
$0: before this message. Then install a modern shell, or
235
$0: manually run the script under such a shell if you do
236
$0: have one."
237
  fi
238
  exit 1
239
fi
240
fi
241
fi
242
SHELL=${CONFIG_SHELL-/bin/sh}
243
export SHELL
244
# Unset more variables known to interfere with behavior of common tools.
245
CLICOLOR_FORCE= GREP_OPTIONS=
246
unset CLICOLOR_FORCE GREP_OPTIONS
247
248
## --------------------- ##
249
## M4sh Shell Functions. ##
250
## --------------------- ##
251
# as_fn_unset VAR
252
# ---------------
253
# Portably unset VAR.
254
as_fn_unset ()
255
{
256
  { eval $1=; unset $1;}
257
}
258
as_unset=as_fn_unset
259
260
# as_fn_set_status STATUS
261
# -----------------------
262
# Set $? to STATUS, without forking.
263
as_fn_set_status ()
264
{
265
  return $1
266
} # as_fn_set_status
267
268
# as_fn_exit STATUS
269
# -----------------
270
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
271
as_fn_exit ()
272
{
273
  set +e
274
  as_fn_set_status $1
275
  exit $1
276
} # as_fn_exit
277
278
# as_fn_mkdir_p
279
# -------------
280
# Create "$as_dir" as a directory, including parents if necessary.
281
as_fn_mkdir_p ()
282
{
283
284
  case $as_dir in #(
285
  -*) as_dir=./$as_dir;;
286
  esac
287
  test -d "$as_dir" || eval $as_mkdir_p || {
288
    as_dirs=
289
    while :; do
290
      case $as_dir in #(
291
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
292
      *) as_qdir=$as_dir;;
293
      esac
294
      as_dirs="'$as_qdir' $as_dirs"
295
      as_dir=`$as_dirname -- "$as_dir" ||
296
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
297
	 X"$as_dir" : 'X\(//\)[^/]' \| \
298
	 X"$as_dir" : 'X\(//\)$' \| \
299
	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
300
$as_echo X"$as_dir" |
301
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
302
	    s//\1/
303
	    q
304
	  }
305
	  /^X\(\/\/\)[^/].*/{
306
	    s//\1/
307
	    q
308
	  }
309
	  /^X\(\/\/\)$/{
310
	    s//\1/
311
	    q
312
	  }
313
	  /^X\(\/\).*/{
314
	    s//\1/
315
	    q
316
	  }
317
	  s/.*/./; q'`
318
      test -d "$as_dir" && break
319
    done
320
    test -z "$as_dirs" || eval "mkdir $as_dirs"
321
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
322
323
324
} # as_fn_mkdir_p
325
# as_fn_append VAR VALUE
326
# ----------------------
327
# Append the text in VALUE to the end of the definition contained in VAR. Take
328
# advantage of any shell optimizations that allow amortized linear growth over
329
# repeated appends, instead of the typical quadratic growth present in naive
330
# implementations.
331
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
332
  eval 'as_fn_append ()
333
  {
334
    eval $1+=\$2
335
  }'
336
else
337
  as_fn_append ()
338
  {
339
    eval $1=\$$1\$2
340
  }
341
fi # as_fn_append
342
343
# as_fn_arith ARG...
344
# ------------------
345
# Perform arithmetic evaluation on the ARGs, and store the result in the
346
# global $as_val. Take advantage of shells that can avoid forks. The arguments
347
# must be portable across $(()) and expr.
348
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
349
  eval 'as_fn_arith ()
350
  {
351
    as_val=$(( $* ))
352
  }'
353
else
354
  as_fn_arith ()
355
  {
356
    as_val=`expr "$@" || test $? -eq 1`
357
  }
358
fi # as_fn_arith
359
360
361
# as_fn_error STATUS ERROR [LINENO LOG_FD]
362
# ----------------------------------------
363
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
364
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
365
# script with STATUS, using 1 if that was 0.
366
as_fn_error ()
367
{
368
  as_status=$1; test $as_status -eq 0 && as_status=1
369
  if test "$4"; then
370
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
371
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
372
  fi
373
  $as_echo "$as_me: error: $2" >&2
374
  as_fn_exit $as_status
375
} # as_fn_error
376
377
if expr a : '\(a\)' >/dev/null 2>&1 &&
378
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
379
  as_expr=expr
380
else
381
  as_expr=false
382
fi
383
384
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
385
  as_basename=basename
386
else
387
  as_basename=false
388
fi
389
390
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
391
  as_dirname=dirname
392
else
393
  as_dirname=false
394
fi
395
396
as_me=`$as_basename -- "$0" ||
397
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
398
	 X"$0" : 'X\(//\)$' \| \
399
	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
400
$as_echo X/"$0" |
401
    sed '/^.*\/\([^/][^/]*\)\/*$/{
402
	    s//\1/
403
	    q
404
	  }
405
	  /^X\/\(\/\/\)$/{
406
	    s//\1/
407
	    q
408
	  }
409
	  /^X\/\(\/\).*/{
410
	    s//\1/
411
	    q
412
	  }
413
	  s/.*/./; q'`
414
415
# Avoid depending upon Character Ranges.
416
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
417
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
418
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
419
as_cr_digits='0123456789'
420
as_cr_alnum=$as_cr_Letters$as_cr_digits
421
422
423
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
424
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
425
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
426
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
427
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
428
  sed -n '
429
    p
430
    /[$]LINENO/=
431
  ' <$as_myself |
432
    sed '
433
      s/[$]LINENO.*/&-/
434
      t lineno
435
      b
436
      :lineno
437
      N
438
      :loop
439
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
440
      t loop
441
      s/-\n.*//
442
    ' >$as_me.lineno &&
443
  chmod +x "$as_me.lineno" ||
444
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
445
446
  # Don't try to exec as it changes $[0], causing all sort of problems
447
  # (the dirname of $[0] is not the place where we might find the
448
  # original and so on.  Autoconf is especially sensitive to this).
449
  . "./$as_me.lineno"
450
  # Exit status is that of the last command.
451
  exit
452
}
453
454
ECHO_C= ECHO_N= ECHO_T=
455
case `echo -n x` in #(((((
456
-n*)
457
  case `echo 'xy\c'` in
458
  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
459
  xy)  ECHO_C='\c';;
460
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
461
       ECHO_T='	';;
462
  esac;;
463
*)
464
  ECHO_N='-n';;
465
esac
466
467
rm -f conf$$ conf$$.exe conf$$.file
468
if test -d conf$$.dir; then
469
  rm -f conf$$.dir/conf$$.file
470
else
471
  rm -f conf$$.dir
472
  mkdir conf$$.dir 2>/dev/null
473
fi
474
if (echo >conf$$.file) 2>/dev/null; then
475
  if ln -s conf$$.file conf$$ 2>/dev/null; then
476
    as_ln_s='ln -s'
477
    # ... but there are two gotchas:
478
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
479
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
480
    # In both cases, we have to default to `cp -p'.
481
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
482
      as_ln_s='cp -p'
483
  elif ln conf$$.file conf$$ 2>/dev/null; then
484
    as_ln_s=ln
485
  else
486
    as_ln_s='cp -p'
487
  fi
488
else
489
  as_ln_s='cp -p'
490
fi
491
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
492
rmdir conf$$.dir 2>/dev/null
493
494
if mkdir -p . 2>/dev/null; then
495
  as_mkdir_p='mkdir -p "$as_dir"'
496
else
497
  test -d ./-p && rmdir ./-p
498
  as_mkdir_p=false
499
fi
500
501
if test -x / >/dev/null 2>&1; then
502
  as_test_x='test -x'
503
else
504
  if ls -dL / >/dev/null 2>&1; then
505
    as_ls_L_option=L
506
  else
507
    as_ls_L_option=
508
  fi
509
  as_test_x='
510
    eval sh -c '\''
511
      if test -d "$1"; then
512
	test -d "$1/.";
513
      else
514
	case $1 in #(
515
	-*)set "./$1";;
516
	esac;
517
	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
518
	???[sx]*):;;*)false;;esac;fi
519
    '\'' sh
520
  '
521
fi
522
as_executable_p=$as_test_x
523
524
# Sed expression to map a string onto a valid CPP name.
525
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
526
527
# Sed expression to map a string onto a valid variable name.
528
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
529
530
531
test -n "$DJDIR" || exec 7<&0 </dev/null
532
exec 6>&1
533
534
# Name of the host.
535
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
536
# so uname gets run too.
537
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
538
539
#
540
# Initializations.
541
#
542
ac_default_prefix=/usr/local
543
ac_clean_files=
544
ac_config_libobj_dir=.
545
LIBOBJS=
546
cross_compiling=no
547
subdirs=
548
MFLAGS=
549
MAKEFLAGS=
550
551
# Identity of this package.
3 by edam
- renamed project from add-copyright-to-images to prep-images
552
PACKAGE_NAME='prep-images'
553
PACKAGE_TARNAME='prep-images'
1 by edam
- initial commit, includes project and build setup
554
PACKAGE_VERSION='0.1.0'
3 by edam
- renamed project from add-copyright-to-images to prep-images
555
PACKAGE_STRING='prep-images 0.1.0'
1 by edam
- initial commit, includes project and build setup
556
PACKAGE_BUGREPORT='edam@waxworlds.org'
3 by edam
- renamed project from add-copyright-to-images to prep-images
557
PACKAGE_URL='http://www.waxworlds.org/edam/software/gtk/prep-images'
1 by edam
- initial commit, includes project and build setup
558
559
ac_subst_vars='LTLIBOBJS
560
LIBOBJS
561
pkgpyexecdir
562
pyexecdir
563
pkgpythondir
564
pythondir
565
PYTHON_PLATFORM
566
PYTHON_EXEC_PREFIX
567
PYTHON_PREFIX
568
PYTHON_VERSION
569
PYTHON
570
am__untar
571
am__tar
572
AMTAR
573
am__leading_dot
574
SET_MAKE
575
AWK
576
mkdir_p
577
MKDIR_P
578
INSTALL_STRIP_PROGRAM
579
STRIP
580
install_sh
581
MAKEINFO
582
AUTOHEADER
583
AUTOMAKE
584
AUTOCONF
585
ACLOCAL
586
VERSION
587
PACKAGE
588
CYGPATH_W
589
am__isrc
590
INSTALL_DATA
591
INSTALL_SCRIPT
592
INSTALL_PROGRAM
593
target_alias
594
host_alias
595
build_alias
596
LIBS
597
ECHO_T
598
ECHO_N
599
ECHO_C
600
DEFS
601
mandir
602
localedir
603
libdir
604
psdir
605
pdfdir
606
dvidir
607
htmldir
608
infodir
609
docdir
610
oldincludedir
611
includedir
612
localstatedir
613
sharedstatedir
614
sysconfdir
615
datadir
616
datarootdir
617
libexecdir
618
sbindir
619
bindir
620
program_transform_name
621
prefix
622
exec_prefix
623
PACKAGE_URL
624
PACKAGE_BUGREPORT
625
PACKAGE_STRING
626
PACKAGE_VERSION
627
PACKAGE_TARNAME
628
PACKAGE_NAME
629
PATH_SEPARATOR
630
SHELL'
631
ac_subst_files=''
632
ac_user_opts='
633
enable_option_checking
634
'
635
      ac_precious_vars='build_alias
636
host_alias
637
target_alias'
638
639
640
# Initialize some variables set by options.
641
ac_init_help=
642
ac_init_version=false
643
ac_unrecognized_opts=
644
ac_unrecognized_sep=
645
# The variables have the same names as the options, with
646
# dashes changed to underlines.
647
cache_file=/dev/null
648
exec_prefix=NONE
649
no_create=
650
no_recursion=
651
prefix=NONE
652
program_prefix=NONE
653
program_suffix=NONE
654
program_transform_name=s,x,x,
655
silent=
656
site=
657
srcdir=
658
verbose=
659
x_includes=NONE
660
x_libraries=NONE
661
662
# Installation directory options.
663
# These are left unexpanded so users can "make install exec_prefix=/foo"
664
# and all the variables that are supposed to be based on exec_prefix
665
# by default will actually change.
666
# Use braces instead of parens because sh, perl, etc. also accept them.
667
# (The list follows the same order as the GNU Coding Standards.)
668
bindir='${exec_prefix}/bin'
669
sbindir='${exec_prefix}/sbin'
670
libexecdir='${exec_prefix}/libexec'
671
datarootdir='${prefix}/share'
672
datadir='${datarootdir}'
673
sysconfdir='${prefix}/etc'
674
sharedstatedir='${prefix}/com'
675
localstatedir='${prefix}/var'
676
includedir='${prefix}/include'
677
oldincludedir='/usr/include'
678
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
679
infodir='${datarootdir}/info'
680
htmldir='${docdir}'
681
dvidir='${docdir}'
682
pdfdir='${docdir}'
683
psdir='${docdir}'
684
libdir='${exec_prefix}/lib'
685
localedir='${datarootdir}/locale'
686
mandir='${datarootdir}/man'
687
688
ac_prev=
689
ac_dashdash=
690
for ac_option
691
do
692
  # If the previous option needs an argument, assign it.
693
  if test -n "$ac_prev"; then
694
    eval $ac_prev=\$ac_option
695
    ac_prev=
696
    continue
697
  fi
698
699
  case $ac_option in
700
  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
701
  *=)   ac_optarg= ;;
702
  *)    ac_optarg=yes ;;
703
  esac
704
705
  # Accept the important Cygnus configure options, so we can diagnose typos.
706
707
  case $ac_dashdash$ac_option in
708
  --)
709
    ac_dashdash=yes ;;
710
711
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
712
    ac_prev=bindir ;;
713
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
714
    bindir=$ac_optarg ;;
715
716
  -build | --build | --buil | --bui | --bu)
717
    ac_prev=build_alias ;;
718
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
719
    build_alias=$ac_optarg ;;
720
721
  -cache-file | --cache-file | --cache-fil | --cache-fi \
722
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
723
    ac_prev=cache_file ;;
724
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
725
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
726
    cache_file=$ac_optarg ;;
727
728
  --config-cache | -C)
729
    cache_file=config.cache ;;
730
731
  -datadir | --datadir | --datadi | --datad)
732
    ac_prev=datadir ;;
733
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
734
    datadir=$ac_optarg ;;
735
736
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
737
  | --dataroo | --dataro | --datar)
738
    ac_prev=datarootdir ;;
739
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
740
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
741
    datarootdir=$ac_optarg ;;
742
743
  -disable-* | --disable-*)
744
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
745
    # Reject names that are not valid shell variable names.
746
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
747
      as_fn_error $? "invalid feature name: $ac_useropt"
748
    ac_useropt_orig=$ac_useropt
749
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
750
    case $ac_user_opts in
751
      *"
752
"enable_$ac_useropt"
753
"*) ;;
754
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
755
	 ac_unrecognized_sep=', ';;
756
    esac
757
    eval enable_$ac_useropt=no ;;
758
759
  -docdir | --docdir | --docdi | --doc | --do)
760
    ac_prev=docdir ;;
761
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
762
    docdir=$ac_optarg ;;
763
764
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
765
    ac_prev=dvidir ;;
766
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
767
    dvidir=$ac_optarg ;;
768
769
  -enable-* | --enable-*)
770
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
771
    # Reject names that are not valid shell variable names.
772
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
773
      as_fn_error $? "invalid feature name: $ac_useropt"
774
    ac_useropt_orig=$ac_useropt
775
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
776
    case $ac_user_opts in
777
      *"
778
"enable_$ac_useropt"
779
"*) ;;
780
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
781
	 ac_unrecognized_sep=', ';;
782
    esac
783
    eval enable_$ac_useropt=\$ac_optarg ;;
784
785
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
786
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
787
  | --exec | --exe | --ex)
788
    ac_prev=exec_prefix ;;
789
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
790
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
791
  | --exec=* | --exe=* | --ex=*)
792
    exec_prefix=$ac_optarg ;;
793
794
  -gas | --gas | --ga | --g)
795
    # Obsolete; use --with-gas.
796
    with_gas=yes ;;
797
798
  -help | --help | --hel | --he | -h)
799
    ac_init_help=long ;;
800
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
801
    ac_init_help=recursive ;;
802
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
803
    ac_init_help=short ;;
804
805
  -host | --host | --hos | --ho)
806
    ac_prev=host_alias ;;
807
  -host=* | --host=* | --hos=* | --ho=*)
808
    host_alias=$ac_optarg ;;
809
810
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
811
    ac_prev=htmldir ;;
812
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
813
  | --ht=*)
814
    htmldir=$ac_optarg ;;
815
816
  -includedir | --includedir | --includedi | --included | --include \
817
  | --includ | --inclu | --incl | --inc)
818
    ac_prev=includedir ;;
819
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
820
  | --includ=* | --inclu=* | --incl=* | --inc=*)
821
    includedir=$ac_optarg ;;
822
823
  -infodir | --infodir | --infodi | --infod | --info | --inf)
824
    ac_prev=infodir ;;
825
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
826
    infodir=$ac_optarg ;;
827
828
  -libdir | --libdir | --libdi | --libd)
829
    ac_prev=libdir ;;
830
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
831
    libdir=$ac_optarg ;;
832
833
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
834
  | --libexe | --libex | --libe)
835
    ac_prev=libexecdir ;;
836
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
837
  | --libexe=* | --libex=* | --libe=*)
838
    libexecdir=$ac_optarg ;;
839
840
  -localedir | --localedir | --localedi | --localed | --locale)
841
    ac_prev=localedir ;;
842
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
843
    localedir=$ac_optarg ;;
844
845
  -localstatedir | --localstatedir | --localstatedi | --localstated \
846
  | --localstate | --localstat | --localsta | --localst | --locals)
847
    ac_prev=localstatedir ;;
848
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
849
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
850
    localstatedir=$ac_optarg ;;
851
852
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
853
    ac_prev=mandir ;;
854
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
855
    mandir=$ac_optarg ;;
856
857
  -nfp | --nfp | --nf)
858
    # Obsolete; use --without-fp.
859
    with_fp=no ;;
860
861
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
862
  | --no-cr | --no-c | -n)
863
    no_create=yes ;;
864
865
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
866
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
867
    no_recursion=yes ;;
868
869
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
870
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
871
  | --oldin | --oldi | --old | --ol | --o)
872
    ac_prev=oldincludedir ;;
873
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
874
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
875
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
876
    oldincludedir=$ac_optarg ;;
877
878
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
879
    ac_prev=prefix ;;
880
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
881
    prefix=$ac_optarg ;;
882
883
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
884
  | --program-pre | --program-pr | --program-p)
885
    ac_prev=program_prefix ;;
886
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
887
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
888
    program_prefix=$ac_optarg ;;
889
890
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
891
  | --program-suf | --program-su | --program-s)
892
    ac_prev=program_suffix ;;
893
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
894
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
895
    program_suffix=$ac_optarg ;;
896
897
  -program-transform-name | --program-transform-name \
898
  | --program-transform-nam | --program-transform-na \
899
  | --program-transform-n | --program-transform- \
900
  | --program-transform | --program-transfor \
901
  | --program-transfo | --program-transf \
902
  | --program-trans | --program-tran \
903
  | --progr-tra | --program-tr | --program-t)
904
    ac_prev=program_transform_name ;;
905
  -program-transform-name=* | --program-transform-name=* \
906
  | --program-transform-nam=* | --program-transform-na=* \
907
  | --program-transform-n=* | --program-transform-=* \
908
  | --program-transform=* | --program-transfor=* \
909
  | --program-transfo=* | --program-transf=* \
910
  | --program-trans=* | --program-tran=* \
911
  | --progr-tra=* | --program-tr=* | --program-t=*)
912
    program_transform_name=$ac_optarg ;;
913
914
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
915
    ac_prev=pdfdir ;;
916
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
917
    pdfdir=$ac_optarg ;;
918
919
  -psdir | --psdir | --psdi | --psd | --ps)
920
    ac_prev=psdir ;;
921
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
922
    psdir=$ac_optarg ;;
923
924
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
925
  | -silent | --silent | --silen | --sile | --sil)
926
    silent=yes ;;
927
928
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
929
    ac_prev=sbindir ;;
930
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
931
  | --sbi=* | --sb=*)
932
    sbindir=$ac_optarg ;;
933
934
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
935
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
936
  | --sharedst | --shareds | --shared | --share | --shar \
937
  | --sha | --sh)
938
    ac_prev=sharedstatedir ;;
939
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
940
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
941
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
942
  | --sha=* | --sh=*)
943
    sharedstatedir=$ac_optarg ;;
944
945
  -site | --site | --sit)
946
    ac_prev=site ;;
947
  -site=* | --site=* | --sit=*)
948
    site=$ac_optarg ;;
949
950
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
951
    ac_prev=srcdir ;;
952
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
953
    srcdir=$ac_optarg ;;
954
955
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
956
  | --syscon | --sysco | --sysc | --sys | --sy)
957
    ac_prev=sysconfdir ;;
958
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
959
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
960
    sysconfdir=$ac_optarg ;;
961
962
  -target | --target | --targe | --targ | --tar | --ta | --t)
963
    ac_prev=target_alias ;;
964
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
965
    target_alias=$ac_optarg ;;
966
967
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
968
    verbose=yes ;;
969
970
  -version | --version | --versio | --versi | --vers | -V)
971
    ac_init_version=: ;;
972
973
  -with-* | --with-*)
974
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
975
    # Reject names that are not valid shell variable names.
976
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
977
      as_fn_error $? "invalid package name: $ac_useropt"
978
    ac_useropt_orig=$ac_useropt
979
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
980
    case $ac_user_opts in
981
      *"
982
"with_$ac_useropt"
983
"*) ;;
984
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
985
	 ac_unrecognized_sep=', ';;
986
    esac
987
    eval with_$ac_useropt=\$ac_optarg ;;
988
989
  -without-* | --without-*)
990
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
991
    # Reject names that are not valid shell variable names.
992
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
993
      as_fn_error $? "invalid package name: $ac_useropt"
994
    ac_useropt_orig=$ac_useropt
995
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
996
    case $ac_user_opts in
997
      *"
998
"with_$ac_useropt"
999
"*) ;;
1000
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1001
	 ac_unrecognized_sep=', ';;
1002
    esac
1003
    eval with_$ac_useropt=no ;;
1004
1005
  --x)
1006
    # Obsolete; use --with-x.
1007
    with_x=yes ;;
1008
1009
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1010
  | --x-incl | --x-inc | --x-in | --x-i)
1011
    ac_prev=x_includes ;;
1012
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1013
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1014
    x_includes=$ac_optarg ;;
1015
1016
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1017
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1018
    ac_prev=x_libraries ;;
1019
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1020
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1021
    x_libraries=$ac_optarg ;;
1022
1023
  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1024
Try \`$0 --help' for more information"
1025
    ;;
1026
1027
  *=*)
1028
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1029
    # Reject names that are not valid shell variable names.
1030
    case $ac_envvar in #(
1031
      '' | [0-9]* | *[!_$as_cr_alnum]* )
1032
      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1033
    esac
1034
    eval $ac_envvar=\$ac_optarg
1035
    export $ac_envvar ;;
1036
1037
  *)
1038
    # FIXME: should be removed in autoconf 3.0.
1039
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1040
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1041
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1042
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1043
    ;;
1044
1045
  esac
1046
done
1047
1048
if test -n "$ac_prev"; then
1049
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1050
  as_fn_error $? "missing argument to $ac_option"
1051
fi
1052
1053
if test -n "$ac_unrecognized_opts"; then
1054
  case $enable_option_checking in
1055
    no) ;;
1056
    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1057
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1058
  esac
1059
fi
1060
1061
# Check all directory arguments for consistency.
1062
for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1063
		datadir sysconfdir sharedstatedir localstatedir includedir \
1064
		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1065
		libdir localedir mandir
1066
do
1067
  eval ac_val=\$$ac_var
1068
  # Remove trailing slashes.
1069
  case $ac_val in
1070
    */ )
1071
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1072
      eval $ac_var=\$ac_val;;
1073
  esac
1074
  # Be sure to have absolute directory names.
1075
  case $ac_val in
1076
    [\\/$]* | ?:[\\/]* )  continue;;
1077
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1078
  esac
1079
  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1080
done
1081
1082
# There might be people who depend on the old broken behavior: `$host'
1083
# used to hold the argument of --host etc.
1084
# FIXME: To remove some day.
1085
build=$build_alias
1086
host=$host_alias
1087
target=$target_alias
1088
1089
# FIXME: To remove some day.
1090
if test "x$host_alias" != x; then
1091
  if test "x$build_alias" = x; then
1092
    cross_compiling=maybe
1093
    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1094
    If a cross compiler is detected then cross compile mode will be used" >&2
1095
  elif test "x$build_alias" != "x$host_alias"; then
1096
    cross_compiling=yes
1097
  fi
1098
fi
1099
1100
ac_tool_prefix=
1101
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1102
1103
test "$silent" = yes && exec 6>/dev/null
1104
1105
1106
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1107
ac_ls_di=`ls -di .` &&
1108
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1109
  as_fn_error $? "working directory cannot be determined"
1110
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1111
  as_fn_error $? "pwd does not report name of working directory"
1112
1113
1114
# Find the source files, if location was not specified.
1115
if test -z "$srcdir"; then
1116
  ac_srcdir_defaulted=yes
1117
  # Try the directory containing this script, then the parent directory.
1118
  ac_confdir=`$as_dirname -- "$as_myself" ||
1119
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1120
	 X"$as_myself" : 'X\(//\)[^/]' \| \
1121
	 X"$as_myself" : 'X\(//\)$' \| \
1122
	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1123
$as_echo X"$as_myself" |
1124
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1125
	    s//\1/
1126
	    q
1127
	  }
1128
	  /^X\(\/\/\)[^/].*/{
1129
	    s//\1/
1130
	    q
1131
	  }
1132
	  /^X\(\/\/\)$/{
1133
	    s//\1/
1134
	    q
1135
	  }
1136
	  /^X\(\/\).*/{
1137
	    s//\1/
1138
	    q
1139
	  }
1140
	  s/.*/./; q'`
1141
  srcdir=$ac_confdir
1142
  if test ! -r "$srcdir/$ac_unique_file"; then
1143
    srcdir=..
1144
  fi
1145
else
1146
  ac_srcdir_defaulted=no
1147
fi
1148
if test ! -r "$srcdir/$ac_unique_file"; then
1149
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1150
  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1151
fi
1152
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1153
ac_abs_confdir=`(
1154
	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1155
	pwd)`
1156
# When building in place, set srcdir=.
1157
if test "$ac_abs_confdir" = "$ac_pwd"; then
1158
  srcdir=.
1159
fi
1160
# Remove unnecessary trailing slashes from srcdir.
1161
# Double slashes in file names in object file debugging info
1162
# mess up M-x gdb in Emacs.
1163
case $srcdir in
1164
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1165
esac
1166
for ac_var in $ac_precious_vars; do
1167
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1168
  eval ac_env_${ac_var}_value=\$${ac_var}
1169
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1170
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1171
done
1172
1173
#
1174
# Report the --help message.
1175
#
1176
if test "$ac_init_help" = "long"; then
1177
  # Omit some internal or obsolete options to make the list less imposing.
1178
  # This message is too long to be a string in the A/UX 3.1 sh.
1179
  cat <<_ACEOF
3 by edam
- renamed project from add-copyright-to-images to prep-images
1180
\`configure' configures prep-images 0.1.0 to adapt to many kinds of systems.
1 by edam
- initial commit, includes project and build setup
1181
1182
Usage: $0 [OPTION]... [VAR=VALUE]...
1183
1184
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1185
VAR=VALUE.  See below for descriptions of some of the useful variables.
1186
1187
Defaults for the options are specified in brackets.
1188
1189
Configuration:
1190
  -h, --help              display this help and exit
1191
      --help=short        display options specific to this package
1192
      --help=recursive    display the short help of all the included packages
1193
  -V, --version           display version information and exit
1194
  -q, --quiet, --silent   do not print \`checking ...' messages
1195
      --cache-file=FILE   cache test results in FILE [disabled]
1196
  -C, --config-cache      alias for \`--cache-file=config.cache'
1197
  -n, --no-create         do not create output files
1198
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1199
1200
Installation directories:
1201
  --prefix=PREFIX         install architecture-independent files in PREFIX
1202
                          [$ac_default_prefix]
1203
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1204
                          [PREFIX]
1205
1206
By default, \`make install' will install all the files in
1207
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1208
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1209
for instance \`--prefix=\$HOME'.
1210
1211
For better control, use the options below.
1212
1213
Fine tuning of the installation directories:
1214
  --bindir=DIR            user executables [EPREFIX/bin]
1215
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1216
  --libexecdir=DIR        program executables [EPREFIX/libexec]
1217
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1218
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1219
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1220
  --libdir=DIR            object code libraries [EPREFIX/lib]
1221
  --includedir=DIR        C header files [PREFIX/include]
1222
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1223
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1224
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1225
  --infodir=DIR           info documentation [DATAROOTDIR/info]
1226
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1227
  --mandir=DIR            man documentation [DATAROOTDIR/man]
3 by edam
- renamed project from add-copyright-to-images to prep-images
1228
  --docdir=DIR            documentation root [DATAROOTDIR/doc/prep-images]
1 by edam
- initial commit, includes project and build setup
1229
  --htmldir=DIR           html documentation [DOCDIR]
1230
  --dvidir=DIR            dvi documentation [DOCDIR]
1231
  --pdfdir=DIR            pdf documentation [DOCDIR]
1232
  --psdir=DIR             ps documentation [DOCDIR]
1233
_ACEOF
1234
1235
  cat <<\_ACEOF
1236
1237
Program names:
1238
  --program-prefix=PREFIX            prepend PREFIX to installed program names
1239
  --program-suffix=SUFFIX            append SUFFIX to installed program names
1240
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1241
_ACEOF
1242
fi
1243
1244
if test -n "$ac_init_help"; then
1245
  case $ac_init_help in
3 by edam
- renamed project from add-copyright-to-images to prep-images
1246
     short | recursive ) echo "Configuration of prep-images 0.1.0:";;
1 by edam
- initial commit, includes project and build setup
1247
   esac
1248
  cat <<\_ACEOF
1249
1250
Report bugs to <edam@waxworlds.org>.
3 by edam
- renamed project from add-copyright-to-images to prep-images
1251
prep-images home page: <http://www.waxworlds.org/edam/software/gtk/prep-images>.
1 by edam
- initial commit, includes project and build setup
1252
_ACEOF
1253
ac_status=$?
1254
fi
1255
1256
if test "$ac_init_help" = "recursive"; then
1257
  # If there are subdirs, report their specific --help.
1258
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1259
    test -d "$ac_dir" ||
1260
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1261
      continue
1262
    ac_builddir=.
1263
1264
case "$ac_dir" in
1265
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1266
*)
1267
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1268
  # A ".." for each directory in $ac_dir_suffix.
1269
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1270
  case $ac_top_builddir_sub in
1271
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1272
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1273
  esac ;;
1274
esac
1275
ac_abs_top_builddir=$ac_pwd
1276
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1277
# for backward compatibility:
1278
ac_top_builddir=$ac_top_build_prefix
1279
1280
case $srcdir in
1281
  .)  # We are building in place.
1282
    ac_srcdir=.
1283
    ac_top_srcdir=$ac_top_builddir_sub
1284
    ac_abs_top_srcdir=$ac_pwd ;;
1285
  [\\/]* | ?:[\\/]* )  # Absolute name.
1286
    ac_srcdir=$srcdir$ac_dir_suffix;
1287
    ac_top_srcdir=$srcdir
1288
    ac_abs_top_srcdir=$srcdir ;;
1289
  *) # Relative name.
1290
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1291
    ac_top_srcdir=$ac_top_build_prefix$srcdir
1292
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1293
esac
1294
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1295
1296
    cd "$ac_dir" || { ac_status=$?; continue; }
1297
    # Check for guested configure.
1298
    if test -f "$ac_srcdir/configure.gnu"; then
1299
      echo &&
1300
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1301
    elif test -f "$ac_srcdir/configure"; then
1302
      echo &&
1303
      $SHELL "$ac_srcdir/configure" --help=recursive
1304
    else
1305
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1306
    fi || ac_status=$?
1307
    cd "$ac_pwd" || { ac_status=$?; break; }
1308
  done
1309
fi
1310
1311
test -n "$ac_init_help" && exit $ac_status
1312
if $ac_init_version; then
1313
  cat <<\_ACEOF
3 by edam
- renamed project from add-copyright-to-images to prep-images
1314
prep-images configure 0.1.0
1 by edam
- initial commit, includes project and build setup
1315
generated by GNU Autoconf 2.67
1316
1317
Copyright (C) 2010 Free Software Foundation, Inc.
1318
This configure script is free software; the Free Software Foundation
1319
gives unlimited permission to copy, distribute and modify it.
1320
_ACEOF
1321
  exit
1322
fi
1323
1324
## ------------------------ ##
1325
## Autoconf initialization. ##
1326
## ------------------------ ##
1327
cat >config.log <<_ACEOF
1328
This file contains any messages produced by compilers while
1329
running configure, to aid debugging if configure makes a mistake.
1330
3 by edam
- renamed project from add-copyright-to-images to prep-images
1331
It was created by prep-images $as_me 0.1.0, which was
1 by edam
- initial commit, includes project and build setup
1332
generated by GNU Autoconf 2.67.  Invocation command line was
1333
1334
  $ $0 $@
1335
1336
_ACEOF
1337
exec 5>>config.log
1338
{
1339
cat <<_ASUNAME
1340
## --------- ##
1341
## Platform. ##
1342
## --------- ##
1343
1344
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1345
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1346
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1347
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1348
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1349
1350
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1351
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1352
1353
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1354
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1355
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1356
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1357
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1358
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1359
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1360
1361
_ASUNAME
1362
1363
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1364
for as_dir in $PATH
1365
do
1366
  IFS=$as_save_IFS
1367
  test -z "$as_dir" && as_dir=.
1368
    $as_echo "PATH: $as_dir"
1369
  done
1370
IFS=$as_save_IFS
1371
1372
} >&5
1373
1374
cat >&5 <<_ACEOF
1375
1376
1377
## ----------- ##
1378
## Core tests. ##
1379
## ----------- ##
1380
1381
_ACEOF
1382
1383
1384
# Keep a trace of the command line.
1385
# Strip out --no-create and --no-recursion so they do not pile up.
1386
# Strip out --silent because we don't want to record it for future runs.
1387
# Also quote any args containing shell meta-characters.
1388
# Make two passes to allow for proper duplicate-argument suppression.
1389
ac_configure_args=
1390
ac_configure_args0=
1391
ac_configure_args1=
1392
ac_must_keep_next=false
1393
for ac_pass in 1 2
1394
do
1395
  for ac_arg
1396
  do
1397
    case $ac_arg in
1398
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1399
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1400
    | -silent | --silent | --silen | --sile | --sil)
1401
      continue ;;
1402
    *\'*)
1403
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1404
    esac
1405
    case $ac_pass in
1406
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1407
    2)
1408
      as_fn_append ac_configure_args1 " '$ac_arg'"
1409
      if test $ac_must_keep_next = true; then
1410
	ac_must_keep_next=false # Got value, back to normal.
1411
      else
1412
	case $ac_arg in
1413
	  *=* | --config-cache | -C | -disable-* | --disable-* \
1414
	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1415
	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1416
	  | -with-* | --with-* | -without-* | --without-* | --x)
1417
	    case "$ac_configure_args0 " in
1418
	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1419
	    esac
1420
	    ;;
1421
	  -* ) ac_must_keep_next=true ;;
1422
	esac
1423
      fi
1424
      as_fn_append ac_configure_args " '$ac_arg'"
1425
      ;;
1426
    esac
1427
  done
1428
done
1429
{ ac_configure_args0=; unset ac_configure_args0;}
1430
{ ac_configure_args1=; unset ac_configure_args1;}
1431
1432
# When interrupted or exit'd, cleanup temporary files, and complete
1433
# config.log.  We remove comments because anyway the quotes in there
1434
# would cause problems or look ugly.
1435
# WARNING: Use '\'' to represent an apostrophe within the trap.
1436
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1437
trap 'exit_status=$?
1438
  # Save into config.log some information that might help in debugging.
1439
  {
1440
    echo
1441
1442
    $as_echo "## ---------------- ##
1443
## Cache variables. ##
1444
## ---------------- ##"
1445
    echo
1446
    # The following way of writing the cache mishandles newlines in values,
1447
(
1448
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1449
    eval ac_val=\$$ac_var
1450
    case $ac_val in #(
1451
    *${as_nl}*)
1452
      case $ac_var in #(
1453
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1454
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1455
      esac
1456
      case $ac_var in #(
1457
      _ | IFS | as_nl) ;; #(
1458
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1459
      *) { eval $ac_var=; unset $ac_var;} ;;
1460
      esac ;;
1461
    esac
1462
  done
1463
  (set) 2>&1 |
1464
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1465
    *${as_nl}ac_space=\ *)
1466
      sed -n \
1467
	"s/'\''/'\''\\\\'\'''\''/g;
1468
	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1469
      ;; #(
1470
    *)
1471
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1472
      ;;
1473
    esac |
1474
    sort
1475
)
1476
    echo
1477
1478
    $as_echo "## ----------------- ##
1479
## Output variables. ##
1480
## ----------------- ##"
1481
    echo
1482
    for ac_var in $ac_subst_vars
1483
    do
1484
      eval ac_val=\$$ac_var
1485
      case $ac_val in
1486
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1487
      esac
1488
      $as_echo "$ac_var='\''$ac_val'\''"
1489
    done | sort
1490
    echo
1491
1492
    if test -n "$ac_subst_files"; then
1493
      $as_echo "## ------------------- ##
1494
## File substitutions. ##
1495
## ------------------- ##"
1496
      echo
1497
      for ac_var in $ac_subst_files
1498
      do
1499
	eval ac_val=\$$ac_var
1500
	case $ac_val in
1501
	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1502
	esac
1503
	$as_echo "$ac_var='\''$ac_val'\''"
1504
      done | sort
1505
      echo
1506
    fi
1507
1508
    if test -s confdefs.h; then
1509
      $as_echo "## ----------- ##
1510
## confdefs.h. ##
1511
## ----------- ##"
1512
      echo
1513
      cat confdefs.h
1514
      echo
1515
    fi
1516
    test "$ac_signal" != 0 &&
1517
      $as_echo "$as_me: caught signal $ac_signal"
1518
    $as_echo "$as_me: exit $exit_status"
1519
  } >&5
1520
  rm -f core *.core core.conftest.* &&
1521
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1522
    exit $exit_status
1523
' 0
1524
for ac_signal in 1 2 13 15; do
1525
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1526
done
1527
ac_signal=0
1528
1529
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1530
rm -f -r conftest* confdefs.h
1531
1532
$as_echo "/* confdefs.h */" > confdefs.h
1533
1534
# Predefined preprocessor variables.
1535
1536
cat >>confdefs.h <<_ACEOF
1537
#define PACKAGE_NAME "$PACKAGE_NAME"
1538
_ACEOF
1539
1540
cat >>confdefs.h <<_ACEOF
1541
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1542
_ACEOF
1543
1544
cat >>confdefs.h <<_ACEOF
1545
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1546
_ACEOF
1547
1548
cat >>confdefs.h <<_ACEOF
1549
#define PACKAGE_STRING "$PACKAGE_STRING"
1550
_ACEOF
1551
1552
cat >>confdefs.h <<_ACEOF
1553
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1554
_ACEOF
1555
1556
cat >>confdefs.h <<_ACEOF
1557
#define PACKAGE_URL "$PACKAGE_URL"
1558
_ACEOF
1559
1560
1561
# Let the site file select an alternate cache file if it wants to.
1562
# Prefer an explicitly selected file to automatically selected ones.
1563
ac_site_file1=NONE
1564
ac_site_file2=NONE
1565
if test -n "$CONFIG_SITE"; then
1566
  # We do not want a PATH search for config.site.
1567
  case $CONFIG_SITE in #((
1568
    -*)  ac_site_file1=./$CONFIG_SITE;;
1569
    */*) ac_site_file1=$CONFIG_SITE;;
1570
    *)   ac_site_file1=./$CONFIG_SITE;;
1571
  esac
1572
elif test "x$prefix" != xNONE; then
1573
  ac_site_file1=$prefix/share/config.site
1574
  ac_site_file2=$prefix/etc/config.site
1575
else
1576
  ac_site_file1=$ac_default_prefix/share/config.site
1577
  ac_site_file2=$ac_default_prefix/etc/config.site
1578
fi
1579
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1580
do
1581
  test "x$ac_site_file" = xNONE && continue
1582
  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1583
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1584
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1585
    sed 's/^/| /' "$ac_site_file" >&5
1586
    . "$ac_site_file" \
1587
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1588
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1589
as_fn_error $? "failed to load site script $ac_site_file
1590
See \`config.log' for more details" "$LINENO" 5 ; }
1591
  fi
1592
done
1593
1594
if test -r "$cache_file"; then
1595
  # Some versions of bash will fail to source /dev/null (special files
1596
  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
1597
  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1598
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1599
$as_echo "$as_me: loading cache $cache_file" >&6;}
1600
    case $cache_file in
1601
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1602
      *)                      . "./$cache_file";;
1603
    esac
1604
  fi
1605
else
1606
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1607
$as_echo "$as_me: creating cache $cache_file" >&6;}
1608
  >$cache_file
1609
fi
1610
1611
# Check that the precious variables saved in the cache have kept the same
1612
# value.
1613
ac_cache_corrupted=false
1614
for ac_var in $ac_precious_vars; do
1615
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1616
  eval ac_new_set=\$ac_env_${ac_var}_set
1617
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1618
  eval ac_new_val=\$ac_env_${ac_var}_value
1619
  case $ac_old_set,$ac_new_set in
1620
    set,)
1621
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1622
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1623
      ac_cache_corrupted=: ;;
1624
    ,set)
1625
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1626
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1627
      ac_cache_corrupted=: ;;
1628
    ,);;
1629
    *)
1630
      if test "x$ac_old_val" != "x$ac_new_val"; then
1631
	# differences in whitespace do not lead to failure.
1632
	ac_old_val_w=`echo x $ac_old_val`
1633
	ac_new_val_w=`echo x $ac_new_val`
1634
	if test "$ac_old_val_w" != "$ac_new_val_w"; then
1635
	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1636
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1637
	  ac_cache_corrupted=:
1638
	else
1639
	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1640
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1641
	  eval $ac_var=\$ac_old_val
1642
	fi
1643
	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
1644
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1645
	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
1646
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1647
      fi;;
1648
  esac
1649
  # Pass precious variables to config.status.
1650
  if test "$ac_new_set" = set; then
1651
    case $ac_new_val in
1652
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1653
    *) ac_arg=$ac_var=$ac_new_val ;;
1654
    esac
1655
    case " $ac_configure_args " in
1656
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1657
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1658
    esac
1659
  fi
1660
done
1661
if $ac_cache_corrupted; then
1662
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1663
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1664
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1665
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1666
  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1667
fi
1668
## -------------------- ##
1669
## Main body of script. ##
1670
## -------------------- ##
1671
1672
ac_ext=c
1673
ac_cpp='$CPP $CPPFLAGS'
1674
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1675
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1676
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1677
1678
1679
1680
ac_aux_dir=
1681
for ac_dir in build-aux "$srcdir"/build-aux; do
1682
  if test -f "$ac_dir/install-sh"; then
1683
    ac_aux_dir=$ac_dir
1684
    ac_install_sh="$ac_aux_dir/install-sh -c"
1685
    break
1686
  elif test -f "$ac_dir/install.sh"; then
1687
    ac_aux_dir=$ac_dir
1688
    ac_install_sh="$ac_aux_dir/install.sh -c"
1689
    break
1690
  elif test -f "$ac_dir/shtool"; then
1691
    ac_aux_dir=$ac_dir
1692
    ac_install_sh="$ac_aux_dir/shtool install -c"
1693
    break
1694
  fi
1695
done
1696
if test -z "$ac_aux_dir"; then
1697
  as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
1698
fi
1699
1700
# These three variables are undocumented and unsupported,
1701
# and are intended to be withdrawn in a future Autoconf release.
1702
# They can cause serious problems if a builder's source tree is in a directory
1703
# whose full name contains unusual characters.
1704
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
1705
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
1706
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
1707
1708
1709
am__api_version='1.11'
1710
1711
# Find a good install program.  We prefer a C program (faster),
1712
# so one script is as good as another.  But avoid the broken or
1713
# incompatible versions:
1714
# SysV /etc/install, /usr/sbin/install
1715
# SunOS /usr/etc/install
1716
# IRIX /sbin/install
1717
# AIX /bin/install
1718
# AmigaOS /C/install, which installs bootblocks on floppy discs
1719
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1720
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1721
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1722
# OS/2's system install, which has a completely different semantic
1723
# ./install, which can be erroneously created by make from ./install.sh.
1724
# Reject install programs that cannot install multiple files.
1725
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1726
$as_echo_n "checking for a BSD-compatible install... " >&6; }
1727
if test -z "$INSTALL"; then
1728
if test "${ac_cv_path_install+set}" = set; then :
1729
  $as_echo_n "(cached) " >&6
1730
else
1731
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1732
for as_dir in $PATH
1733
do
1734
  IFS=$as_save_IFS
1735
  test -z "$as_dir" && as_dir=.
1736
    # Account for people who put trailing slashes in PATH elements.
1737
case $as_dir/ in #((
1738
  ./ | .// | /[cC]/* | \
1739
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1740
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1741
  /usr/ucb/* ) ;;
1742
  *)
1743
    # OSF1 and SCO ODT 3.0 have their own names for install.
1744
    # Don't use installbsd from OSF since it installs stuff as root
1745
    # by default.
1746
    for ac_prog in ginstall scoinst install; do
1747
      for ac_exec_ext in '' $ac_executable_extensions; do
1748
	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1749
	  if test $ac_prog = install &&
1750
	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1751
	    # AIX install.  It has an incompatible calling convention.
1752
	    :
1753
	  elif test $ac_prog = install &&
1754
	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1755
	    # program-specific install script used by HP pwplus--don't use.
1756
	    :
1757
	  else
1758
	    rm -rf conftest.one conftest.two conftest.dir
1759
	    echo one > conftest.one
1760
	    echo two > conftest.two
1761
	    mkdir conftest.dir
1762
	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1763
	      test -s conftest.one && test -s conftest.two &&
1764
	      test -s conftest.dir/conftest.one &&
1765
	      test -s conftest.dir/conftest.two
1766
	    then
1767
	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1768
	      break 3
1769
	    fi
1770
	  fi
1771
	fi
1772
      done
1773
    done
1774
    ;;
1775
esac
1776
1777
  done
1778
IFS=$as_save_IFS
1779
1780
rm -rf conftest.one conftest.two conftest.dir
1781
1782
fi
1783
  if test "${ac_cv_path_install+set}" = set; then
1784
    INSTALL=$ac_cv_path_install
1785
  else
1786
    # As a last resort, use the slow shell script.  Don't cache a
1787
    # value for INSTALL within a source directory, because that will
1788
    # break other packages using the cache if that directory is
1789
    # removed, or if the value is a relative name.
1790
    INSTALL=$ac_install_sh
1791
  fi
1792
fi
1793
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1794
$as_echo "$INSTALL" >&6; }
1795
1796
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1797
# It thinks the first close brace ends the variable substitution.
1798
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1799
1800
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1801
1802
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1803
1804
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
1805
$as_echo_n "checking whether build environment is sane... " >&6; }
1806
# Just in case
1807
sleep 1
1808
echo timestamp > conftest.file
1809
# Reject unsafe characters in $srcdir or the absolute working directory
1810
# name.  Accept space and tab only in the latter.
1811
am_lf='
1812
'
1813
case `pwd` in
1814
  *[\\\"\#\$\&\'\`$am_lf]*)
1815
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
1816
esac
1817
case $srcdir in
1818
  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
1819
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
1820
esac
1821
1822
# Do `set' in a subshell so we don't clobber the current shell's
1823
# arguments.  Must try -L first in case configure is actually a
1824
# symlink; some systems play weird games with the mod time of symlinks
1825
# (eg FreeBSD returns the mod time of the symlink's containing
1826
# directory).
1827
if (
1828
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1829
   if test "$*" = "X"; then
1830
      # -L didn't work.
1831
      set X `ls -t "$srcdir/configure" conftest.file`
1832
   fi
1833
   rm -f conftest.file
1834
   if test "$*" != "X $srcdir/configure conftest.file" \
1835
      && test "$*" != "X conftest.file $srcdir/configure"; then
1836
1837
      # If neither matched, then we have a broken ls.  This can happen
1838
      # if, for instance, CONFIG_SHELL is bash and it inherits a
1839
      # broken ls alias from the environment.  This has actually
1840
      # happened.  Such a system could not be considered "sane".
1841
      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
1842
alias in your environment" "$LINENO" 5
1843
   fi
1844
1845
   test "$2" = conftest.file
1846
   )
1847
then
1848
   # Ok.
1849
   :
1850
else
1851
   as_fn_error $? "newly created file is older than distributed files!
1852
Check your system clock" "$LINENO" 5
1853
fi
1854
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1855
$as_echo "yes" >&6; }
1856
test "$program_prefix" != NONE &&
1857
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
1858
# Use a double $ so make ignores it.
1859
test "$program_suffix" != NONE &&
1860
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1861
# Double any \ or $.
1862
# By default was `s,x,x', remove it if useless.
1863
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
1864
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
1865
1866
# expand $ac_aux_dir to an absolute path
1867
am_aux_dir=`cd $ac_aux_dir && pwd`
1868
1869
if test x"${MISSING+set}" != xset; then
1870
  case $am_aux_dir in
1871
  *\ * | *\	*)
1872
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
1873
  *)
1874
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
1875
  esac
1876
fi
1877
# Use eval to expand $SHELL
1878
if eval "$MISSING --run true"; then
1879
  am_missing_run="$MISSING --run "
1880
else
1881
  am_missing_run=
1882
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
1883
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1884
fi
1885
1886
if test x"${install_sh}" != xset; then
1887
  case $am_aux_dir in
1888
  *\ * | *\	*)
1889
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
1890
  *)
1891
    install_sh="\${SHELL} $am_aux_dir/install-sh"
1892
  esac
1893
fi
1894
1895
# Installed binaries are usually stripped using `strip' when the user
1896
# run `make install-strip'.  However `strip' might not be the right
1897
# tool to use in cross-compilation environments, therefore Automake
1898
# will honor the `STRIP' environment variable to overrule this program.
1899
if test "$cross_compiling" != no; then
1900
  if test -n "$ac_tool_prefix"; then
1901
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1902
set dummy ${ac_tool_prefix}strip; ac_word=$2
1903
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1904
$as_echo_n "checking for $ac_word... " >&6; }
1905
if test "${ac_cv_prog_STRIP+set}" = set; then :
1906
  $as_echo_n "(cached) " >&6
1907
else
1908
  if test -n "$STRIP"; then
1909
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1910
else
1911
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1912
for as_dir in $PATH
1913
do
1914
  IFS=$as_save_IFS
1915
  test -z "$as_dir" && as_dir=.
1916
    for ac_exec_ext in '' $ac_executable_extensions; do
1917
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1918
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1919
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1920
    break 2
1921
  fi
1922
done
1923
  done
1924
IFS=$as_save_IFS
1925
1926
fi
1927
fi
1928
STRIP=$ac_cv_prog_STRIP
1929
if test -n "$STRIP"; then
1930
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
1931
$as_echo "$STRIP" >&6; }
1932
else
1933
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1934
$as_echo "no" >&6; }
1935
fi
1936
1937
1938
fi
1939
if test -z "$ac_cv_prog_STRIP"; then
1940
  ac_ct_STRIP=$STRIP
1941
  # Extract the first word of "strip", so it can be a program name with args.
1942
set dummy strip; ac_word=$2
1943
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1944
$as_echo_n "checking for $ac_word... " >&6; }
1945
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
1946
  $as_echo_n "(cached) " >&6
1947
else
1948
  if test -n "$ac_ct_STRIP"; then
1949
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1950
else
1951
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1952
for as_dir in $PATH
1953
do
1954
  IFS=$as_save_IFS
1955
  test -z "$as_dir" && as_dir=.
1956
    for ac_exec_ext in '' $ac_executable_extensions; do
1957
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1958
    ac_cv_prog_ac_ct_STRIP="strip"
1959
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1960
    break 2
1961
  fi
1962
done
1963
  done
1964
IFS=$as_save_IFS
1965
1966
fi
1967
fi
1968
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1969
if test -n "$ac_ct_STRIP"; then
1970
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
1971
$as_echo "$ac_ct_STRIP" >&6; }
1972
else
1973
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1974
$as_echo "no" >&6; }
1975
fi
1976
1977
  if test "x$ac_ct_STRIP" = x; then
1978
    STRIP=":"
1979
  else
1980
    case $cross_compiling:$ac_tool_warned in
1981
yes:)
1982
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1983
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1984
ac_tool_warned=yes ;;
1985
esac
1986
    STRIP=$ac_ct_STRIP
1987
  fi
1988
else
1989
  STRIP="$ac_cv_prog_STRIP"
1990
fi
1991
1992
fi
1993
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
1994
1995
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
1996
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
1997
if test -z "$MKDIR_P"; then
1998
  if test "${ac_cv_path_mkdir+set}" = set; then :
1999
  $as_echo_n "(cached) " >&6
2000
else
2001
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2002
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2003
do
2004
  IFS=$as_save_IFS
2005
  test -z "$as_dir" && as_dir=.
2006
    for ac_prog in mkdir gmkdir; do
2007
	 for ac_exec_ext in '' $ac_executable_extensions; do
2008
	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2009
	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2010
	     'mkdir (GNU coreutils) '* | \
2011
	     'mkdir (coreutils) '* | \
2012
	     'mkdir (fileutils) '4.1*)
2013
	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2014
	       break 3;;
2015
	   esac
2016
	 done
2017
       done
2018
  done
2019
IFS=$as_save_IFS
2020
2021
fi
2022
2023
  test -d ./--version && rmdir ./--version
2024
  if test "${ac_cv_path_mkdir+set}" = set; then
2025
    MKDIR_P="$ac_cv_path_mkdir -p"
2026
  else
2027
    # As a last resort, use the slow shell script.  Don't cache a
2028
    # value for MKDIR_P within a source directory, because that will
2029
    # break other packages using the cache if that directory is
2030
    # removed, or if the value is a relative name.
2031
    MKDIR_P="$ac_install_sh -d"
2032
  fi
2033
fi
2034
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2035
$as_echo "$MKDIR_P" >&6; }
2036
2037
mkdir_p="$MKDIR_P"
2038
case $mkdir_p in
2039
  [\\/$]* | ?:[\\/]*) ;;
2040
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2041
esac
2042
2043
for ac_prog in gawk mawk nawk awk
2044
do
2045
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2046
set dummy $ac_prog; ac_word=$2
2047
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2048
$as_echo_n "checking for $ac_word... " >&6; }
2049
if test "${ac_cv_prog_AWK+set}" = set; then :
2050
  $as_echo_n "(cached) " >&6
2051
else
2052
  if test -n "$AWK"; then
2053
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2054
else
2055
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2056
for as_dir in $PATH
2057
do
2058
  IFS=$as_save_IFS
2059
  test -z "$as_dir" && as_dir=.
2060
    for ac_exec_ext in '' $ac_executable_extensions; do
2061
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2062
    ac_cv_prog_AWK="$ac_prog"
2063
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2064
    break 2
2065
  fi
2066
done
2067
  done
2068
IFS=$as_save_IFS
2069
2070
fi
2071
fi
2072
AWK=$ac_cv_prog_AWK
2073
if test -n "$AWK"; then
2074
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2075
$as_echo "$AWK" >&6; }
2076
else
2077
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2078
$as_echo "no" >&6; }
2079
fi
2080
2081
2082
  test -n "$AWK" && break
2083
done
2084
2085
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2086
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2087
set x ${MAKE-make}
2088
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2089
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
2090
  $as_echo_n "(cached) " >&6
2091
else
2092
  cat >conftest.make <<\_ACEOF
2093
SHELL = /bin/sh
2094
all:
2095
	@echo '@@@%%%=$(MAKE)=@@@%%%'
2096
_ACEOF
2097
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2098
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2099
  *@@@%%%=?*=@@@%%%*)
2100
    eval ac_cv_prog_make_${ac_make}_set=yes;;
2101
  *)
2102
    eval ac_cv_prog_make_${ac_make}_set=no;;
2103
esac
2104
rm -f conftest.make
2105
fi
2106
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2107
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2108
$as_echo "yes" >&6; }
2109
  SET_MAKE=
2110
else
2111
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2112
$as_echo "no" >&6; }
2113
  SET_MAKE="MAKE=${MAKE-make}"
2114
fi
2115
2116
rm -rf .tst 2>/dev/null
2117
mkdir .tst 2>/dev/null
2118
if test -d .tst; then
2119
  am__leading_dot=.
2120
else
2121
  am__leading_dot=_
2122
fi
2123
rmdir .tst 2>/dev/null
2124
2125
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2126
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2127
  # is not polluted with repeated "-I."
2128
  am__isrc=' -I$(srcdir)'
2129
  # test to see if srcdir already configured
2130
  if test -f $srcdir/config.status; then
2131
    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2132
  fi
2133
fi
2134
2135
# test whether we have cygpath
2136
if test -z "$CYGPATH_W"; then
2137
  if (cygpath --version) >/dev/null 2>/dev/null; then
2138
    CYGPATH_W='cygpath -w'
2139
  else
2140
    CYGPATH_W=echo
2141
  fi
2142
fi
2143
2144
2145
# Define the identity of the package.
3 by edam
- renamed project from add-copyright-to-images to prep-images
2146
 PACKAGE='prep-images'
1 by edam
- initial commit, includes project and build setup
2147
 VERSION='0.1.0'
2148
2149
2150
cat >>confdefs.h <<_ACEOF
2151
#define PACKAGE "$PACKAGE"
2152
_ACEOF
2153
2154
2155
cat >>confdefs.h <<_ACEOF
2156
#define VERSION "$VERSION"
2157
_ACEOF
2158
2159
# Some tools Automake needs.
2160
2161
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2162
2163
2164
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2165
2166
2167
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2168
2169
2170
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2171
2172
2173
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2174
2175
# We need awk for the "check" target.  The system "awk" is bad on
2176
# some platforms.
2177
# Always define AMTAR for backward compatibility.
2178
2179
AMTAR=${AMTAR-"${am_missing_run}tar"}
2180
2181
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2182
2183
2184
2185
2186
2187
2188
# checks for programs.
2189
2190
2191
2192
2193
        if test -n "$PYTHON"; then
2194
      # If the user set $PYTHON, use it and don't search something else.
2195
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version >= 2.6" >&5
2196
$as_echo_n "checking whether $PYTHON version >= 2.6... " >&6; }
2197
      prog="import sys
2198
# split strings by '.' and convert to numeric.  Append some zeros
2199
# because we need at least 4 digits for the hex conversion.
2200
# map returns an iterator in Python 3.0 and a list in 2.x
2201
minver = list(map(int, '2.6'.split('.'))) + [0, 0, 0]
2202
minverhex = 0
2203
# xrange is not present in Python 3.0 and range returns an iterator
2204
for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
2205
sys.exit(sys.hexversion < minverhex)"
2206
  if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
2207
   ($PYTHON -c "$prog") >&5 2>&5
2208
   ac_status=$?
2209
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2210
   (exit $ac_status); }; then :
2211
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2212
$as_echo "yes" >&6; }
2213
else
2214
  as_fn_error $? "too old" "$LINENO" 5
2215
fi
2216
      am_display_PYTHON=$PYTHON
2217
    else
2218
      # Otherwise, try each interpreter until we find one that satisfies
2219
      # VERSION.
2220
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.6" >&5
2221
$as_echo_n "checking for a Python interpreter with version >= 2.6... " >&6; }
2222
if test "${am_cv_pathless_PYTHON+set}" = set; then :
2223
  $as_echo_n "(cached) " >&6
2224
else
2225
2226
	for am_cv_pathless_PYTHON in python python2 python3 python3.0 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 none; do
2227
	  test "$am_cv_pathless_PYTHON" = none && break
2228
	  prog="import sys
2229
# split strings by '.' and convert to numeric.  Append some zeros
2230
# because we need at least 4 digits for the hex conversion.
2231
# map returns an iterator in Python 3.0 and a list in 2.x
2232
minver = list(map(int, '2.6'.split('.'))) + [0, 0, 0]
2233
minverhex = 0
2234
# xrange is not present in Python 3.0 and range returns an iterator
2235
for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
2236
sys.exit(sys.hexversion < minverhex)"
2237
  if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
2238
   ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
2239
   ac_status=$?
2240
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2241
   (exit $ac_status); }; then :
2242
  break
2243
fi
2244
	done
2245
fi
2246
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
2247
$as_echo "$am_cv_pathless_PYTHON" >&6; }
2248
      # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
2249
      if test "$am_cv_pathless_PYTHON" = none; then
2250
	PYTHON=:
2251
      else
2252
        # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
2253
set dummy $am_cv_pathless_PYTHON; ac_word=$2
2254
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2255
$as_echo_n "checking for $ac_word... " >&6; }
2256
if test "${ac_cv_path_PYTHON+set}" = set; then :
2257
  $as_echo_n "(cached) " >&6
2258
else
2259
  case $PYTHON in
2260
  [\\/]* | ?:[\\/]*)
2261
  ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
2262
  ;;
2263
  *)
2264
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2265
for as_dir in $PATH
2266
do
2267
  IFS=$as_save_IFS
2268
  test -z "$as_dir" && as_dir=.
2269
    for ac_exec_ext in '' $ac_executable_extensions; do
2270
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2271
    ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
2272
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2273
    break 2
2274
  fi
2275
done
2276
  done
2277
IFS=$as_save_IFS
2278
2279
  ;;
2280
esac
2281
fi
2282
PYTHON=$ac_cv_path_PYTHON
2283
if test -n "$PYTHON"; then
2284
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
2285
$as_echo "$PYTHON" >&6; }
2286
else
2287
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2288
$as_echo "no" >&6; }
2289
fi
2290
2291
2292
      fi
2293
      am_display_PYTHON=$am_cv_pathless_PYTHON
2294
    fi
2295
2296
2297
  if test "$PYTHON" = :; then
2298
      as_fn_error $? "no suitable Python interpreter found" "$LINENO" 5
2299
  else
2300
2301
2302
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
2303
$as_echo_n "checking for $am_display_PYTHON version... " >&6; }
2304
if test "${am_cv_python_version+set}" = set; then :
2305
  $as_echo_n "(cached) " >&6
2306
else
2307
  am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
2308
fi
2309
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
2310
$as_echo "$am_cv_python_version" >&6; }
2311
  PYTHON_VERSION=$am_cv_python_version
2312
2313
2314
2315
  PYTHON_PREFIX='${prefix}'
2316
2317
  PYTHON_EXEC_PREFIX='${exec_prefix}'
2318
2319
2320
2321
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
2322
$as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
2323
if test "${am_cv_python_platform+set}" = set; then :
2324
  $as_echo_n "(cached) " >&6
2325
else
2326
  am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
2327
fi
2328
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
2329
$as_echo "$am_cv_python_platform" >&6; }
2330
  PYTHON_PLATFORM=$am_cv_python_platform
2331
2332
2333
2334
2335
                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
2336
$as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
2337
if test "${am_cv_python_pythondir+set}" = set; then :
2338
  $as_echo_n "(cached) " >&6
2339
else
2340
  if test "x$prefix" = xNONE
2341
     then
2342
       am_py_prefix=$ac_default_prefix
2343
     else
2344
       am_py_prefix=$prefix
2345
     fi
2346
     am_cv_python_pythondir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(0,0,prefix='$am_py_prefix'))" 2>/dev/null ||
2347
     echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
2348
     case $am_cv_python_pythondir in
2349
     $am_py_prefix*)
2350
       am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
2351
       am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
2352
       ;;
2353
     *)
2354
       case $am_py_prefix in
2355
         /usr|/System*) ;;
2356
         *)
2357
	  am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages
2358
	  ;;
2359
       esac
2360
       ;;
2361
     esac
2362
2363
fi
2364
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
2365
$as_echo "$am_cv_python_pythondir" >&6; }
2366
  pythondir=$am_cv_python_pythondir
2367
2368
2369
2370
  pkgpythondir=\${pythondir}/$PACKAGE
2371
2372
2373
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
2374
$as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
2375
if test "${am_cv_python_pyexecdir+set}" = set; then :
2376
  $as_echo_n "(cached) " >&6
2377
else
2378
  if test "x$exec_prefix" = xNONE
2379
     then
2380
       am_py_exec_prefix=$am_py_prefix
2381
     else
2382
       am_py_exec_prefix=$exec_prefix
2383
     fi
2384
     am_cv_python_pyexecdir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(1,0,prefix='$am_py_exec_prefix'))" 2>/dev/null ||
2385
     echo "$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
2386
     case $am_cv_python_pyexecdir in
2387
     $am_py_exec_prefix*)
2388
       am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
2389
       am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
2390
       ;;
2391
     *)
2392
       case $am_py_exec_prefix in
2393
         /usr|/System*) ;;
2394
         *)
2395
	   am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages
2396
	   ;;
2397
       esac
2398
       ;;
2399
     esac
2400
2401
fi
2402
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
2403
$as_echo "$am_cv_python_pyexecdir" >&6; }
2404
  pyexecdir=$am_cv_python_pyexecdir
2405
2406
2407
2408
  pkgpyexecdir=\${pyexecdir}/$PACKAGE
2409
2410
2411
2412
  fi
2413
2414
2415
2416
# checks for libraries.
2417
2418
# checks for header files.
2419
2420
# checks for typedefs, structures, and compiler characteristics.
2421
2422
# checks for library functions.
2423
3 by edam
- renamed project from add-copyright-to-images to prep-images
2424
ac_config_files="$ac_config_files src/prep-images"
2425
2426
ac_config_files="$ac_config_files Makefile src/Makefile"
1 by edam
- initial commit, includes project and build setup
2427
2428
cat >confcache <<\_ACEOF
2429
# This file is a shell script that caches the results of configure
2430
# tests run on this system so they can be shared between configure
2431
# scripts and configure runs, see configure's option --config-cache.
2432
# It is not useful on other systems.  If it contains results you don't
2433
# want to keep, you may remove or edit it.
2434
#
2435
# config.status only pays attention to the cache file if you give it
2436
# the --recheck option to rerun configure.
2437
#
2438
# `ac_cv_env_foo' variables (set or unset) will be overridden when
2439
# loading this file, other *unset* `ac_cv_foo' will be assigned the
2440
# following values.
2441
2442
_ACEOF
2443
2444
# The following way of writing the cache mishandles newlines in values,
2445
# but we know of no workaround that is simple, portable, and efficient.
2446
# So, we kill variables containing newlines.
2447
# Ultrix sh set writes to stderr and can't be redirected directly,
2448
# and sets the high bit in the cache file unless we assign to the vars.
2449
(
2450
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2451
    eval ac_val=\$$ac_var
2452
    case $ac_val in #(
2453
    *${as_nl}*)
2454
      case $ac_var in #(
2455
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2456
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2457
      esac
2458
      case $ac_var in #(
2459
      _ | IFS | as_nl) ;; #(
2460
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2461
      *) { eval $ac_var=; unset $ac_var;} ;;
2462
      esac ;;
2463
    esac
2464
  done
2465
2466
  (set) 2>&1 |
2467
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
2468
    *${as_nl}ac_space=\ *)
2469
      # `set' does not quote correctly, so add quotes: double-quote
2470
      # substitution turns \\\\ into \\, and sed turns \\ into \.
2471
      sed -n \
2472
	"s/'/'\\\\''/g;
2473
	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2474
      ;; #(
2475
    *)
2476
      # `set' quotes correctly as required by POSIX, so do not add quotes.
2477
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2478
      ;;
2479
    esac |
2480
    sort
2481
) |
2482
  sed '
2483
     /^ac_cv_env_/b end
2484
     t clear
2485
     :clear
2486
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2487
     t end
2488
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2489
     :end' >>confcache
2490
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2491
  if test -w "$cache_file"; then
2492
    test "x$cache_file" != "x/dev/null" &&
2493
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
2494
$as_echo "$as_me: updating cache $cache_file" >&6;}
2495
    cat confcache >$cache_file
2496
  else
2497
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
2498
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2499
  fi
2500
fi
2501
rm -f confcache
2502
2503
test "x$prefix" = xNONE && prefix=$ac_default_prefix
2504
# Let make expand exec_prefix.
2505
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2506
2507
# Transform confdefs.h into DEFS.
2508
# Protect against shell expansion while executing Makefile rules.
2509
# Protect against Makefile macro expansion.
2510
#
2511
# If the first sed substitution is executed (which looks for macros that
2512
# take arguments), then branch to the quote section.  Otherwise,
2513
# look for a macro that doesn't take arguments.
2514
ac_script='
2515
:mline
2516
/\\$/{
2517
 N
2518
 s,\\\n,,
2519
 b mline
2520
}
2521
t clear
2522
:clear
2523
s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
2524
t quote
2525
s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
2526
t quote
2527
b any
2528
:quote
2529
s/[	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2530
s/\[/\\&/g
2531
s/\]/\\&/g
2532
s/\$/$$/g
2533
H
2534
:any
2535
${
2536
	g
2537
	s/^\n//
2538
	s/\n/ /g
2539
	p
2540
}
2541
'
2542
DEFS=`sed -n "$ac_script" confdefs.h`
2543
2544
2545
ac_libobjs=
2546
ac_ltlibobjs=
2547
U=
2548
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2549
  # 1. Remove the extension, and $U if already installed.
2550
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2551
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
2552
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
2553
  #    will be set to the directory where LIBOBJS objects are built.
2554
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2555
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
2556
done
2557
LIBOBJS=$ac_libobjs
2558
2559
LTLIBOBJS=$ac_ltlibobjs
2560
2561
2562
2563
2564
: ${CONFIG_STATUS=./config.status}
2565
ac_write_fail=0
2566
ac_clean_files_save=$ac_clean_files
2567
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2568
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
2569
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
2570
as_write_fail=0
2571
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
2572
#! $SHELL
2573
# Generated by $as_me.
2574
# Run this file to recreate the current configuration.
2575
# Compiler output produced by configure, useful for debugging
2576
# configure, is in config.log if it exists.
2577
2578
debug=false
2579
ac_cs_recheck=false
2580
ac_cs_silent=false
2581
2582
SHELL=\${CONFIG_SHELL-$SHELL}
2583
export SHELL
2584
_ASEOF
2585
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
2586
## -------------------- ##
2587
## M4sh Initialization. ##
2588
## -------------------- ##
2589
2590
# Be more Bourne compatible
2591
DUALCASE=1; export DUALCASE # for MKS sh
2592
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
2593
  emulate sh
2594
  NULLCMD=:
2595
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2596
  # is contrary to our usage.  Disable this feature.
2597
  alias -g '${1+"$@"}'='"$@"'
2598
  setopt NO_GLOB_SUBST
2599
else
2600
  case `(set -o) 2>/dev/null` in #(
2601
  *posix*) :
2602
    set -o posix ;; #(
2603
  *) :
2604
     ;;
2605
esac
2606
fi
2607
2608
2609
as_nl='
2610
'
2611
export as_nl
2612
# Printing a long string crashes Solaris 7 /usr/bin/printf.
2613
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2614
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
2615
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
2616
# Prefer a ksh shell builtin over an external printf program on Solaris,
2617
# but without wasting forks for bash or zsh.
2618
if test -z "$BASH_VERSION$ZSH_VERSION" \
2619
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
2620
  as_echo='print -r --'
2621
  as_echo_n='print -rn --'
2622
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
2623
  as_echo='printf %s\n'
2624
  as_echo_n='printf %s'
2625
else
2626
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
2627
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
2628
    as_echo_n='/usr/ucb/echo -n'
2629
  else
2630
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
2631
    as_echo_n_body='eval
2632
      arg=$1;
2633
      case $arg in #(
2634
      *"$as_nl"*)
2635
	expr "X$arg" : "X\\(.*\\)$as_nl";
2636
	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
2637
      esac;
2638
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
2639
    '
2640
    export as_echo_n_body
2641
    as_echo_n='sh -c $as_echo_n_body as_echo'
2642
  fi
2643
  export as_echo_body
2644
  as_echo='sh -c $as_echo_body as_echo'
2645
fi
2646
2647
# The user is always right.
2648
if test "${PATH_SEPARATOR+set}" != set; then
2649
  PATH_SEPARATOR=:
2650
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
2651
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
2652
      PATH_SEPARATOR=';'
2653
  }
2654
fi
2655
2656
2657
# IFS
2658
# We need space, tab and new line, in precisely that order.  Quoting is
2659
# there to prevent editors from complaining about space-tab.
2660
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
2661
# splitting by setting IFS to empty value.)
2662
IFS=" ""	$as_nl"
2663
2664
# Find who we are.  Look in the path if we contain no directory separator.
2665
case $0 in #((
2666
  *[\\/]* ) as_myself=$0 ;;
2667
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2668
for as_dir in $PATH
2669
do
2670
  IFS=$as_save_IFS
2671
  test -z "$as_dir" && as_dir=.
2672
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2673
  done
2674
IFS=$as_save_IFS
2675
2676
     ;;
2677
esac
2678
# We did not find ourselves, most probably we were run as `sh COMMAND'
2679
# in which case we are not to be found in the path.
2680
if test "x$as_myself" = x; then
2681
  as_myself=$0
2682
fi
2683
if test ! -f "$as_myself"; then
2684
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2685
  exit 1
2686
fi
2687
2688
# Unset variables that we do not need and which cause bugs (e.g. in
2689
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
2690
# suppresses any "Segmentation fault" message there.  '((' could
2691
# trigger a bug in pdksh 5.2.14.
2692
for as_var in BASH_ENV ENV MAIL MAILPATH
2693
do eval test x\${$as_var+set} = xset \
2694
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
2695
done
2696
PS1='$ '
2697
PS2='> '
2698
PS4='+ '
2699
2700
# NLS nuisances.
2701
LC_ALL=C
2702
export LC_ALL
2703
LANGUAGE=C
2704
export LANGUAGE
2705
2706
# CDPATH.
2707
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
2708
2709
2710
# as_fn_error STATUS ERROR [LINENO LOG_FD]
2711
# ----------------------------------------
2712
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
2713
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
2714
# script with STATUS, using 1 if that was 0.
2715
as_fn_error ()
2716
{
2717
  as_status=$1; test $as_status -eq 0 && as_status=1
2718
  if test "$4"; then
2719
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2720
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
2721
  fi
2722
  $as_echo "$as_me: error: $2" >&2
2723
  as_fn_exit $as_status
2724
} # as_fn_error
2725
2726
2727
# as_fn_set_status STATUS
2728
# -----------------------
2729
# Set $? to STATUS, without forking.
2730
as_fn_set_status ()
2731
{
2732
  return $1
2733
} # as_fn_set_status
2734
2735
# as_fn_exit STATUS
2736
# -----------------
2737
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
2738
as_fn_exit ()
2739
{
2740
  set +e
2741
  as_fn_set_status $1
2742
  exit $1
2743
} # as_fn_exit
2744
2745
# as_fn_unset VAR
2746
# ---------------
2747
# Portably unset VAR.
2748
as_fn_unset ()
2749
{
2750
  { eval $1=; unset $1;}
2751
}
2752
as_unset=as_fn_unset
2753
# as_fn_append VAR VALUE
2754
# ----------------------
2755
# Append the text in VALUE to the end of the definition contained in VAR. Take
2756
# advantage of any shell optimizations that allow amortized linear growth over
2757
# repeated appends, instead of the typical quadratic growth present in naive
2758
# implementations.
2759
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
2760
  eval 'as_fn_append ()
2761
  {
2762
    eval $1+=\$2
2763
  }'
2764
else
2765
  as_fn_append ()
2766
  {
2767
    eval $1=\$$1\$2
2768
  }
2769
fi # as_fn_append
2770
2771
# as_fn_arith ARG...
2772
# ------------------
2773
# Perform arithmetic evaluation on the ARGs, and store the result in the
2774
# global $as_val. Take advantage of shells that can avoid forks. The arguments
2775
# must be portable across $(()) and expr.
2776
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
2777
  eval 'as_fn_arith ()
2778
  {
2779
    as_val=$(( $* ))
2780
  }'
2781
else
2782
  as_fn_arith ()
2783
  {
2784
    as_val=`expr "$@" || test $? -eq 1`
2785
  }
2786
fi # as_fn_arith
2787
2788
2789
if expr a : '\(a\)' >/dev/null 2>&1 &&
2790
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
2791
  as_expr=expr
2792
else
2793
  as_expr=false
2794
fi
2795
2796
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2797
  as_basename=basename
2798
else
2799
  as_basename=false
2800
fi
2801
2802
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2803
  as_dirname=dirname
2804
else
2805
  as_dirname=false
2806
fi
2807
2808
as_me=`$as_basename -- "$0" ||
2809
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2810
	 X"$0" : 'X\(//\)$' \| \
2811
	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2812
$as_echo X/"$0" |
2813
    sed '/^.*\/\([^/][^/]*\)\/*$/{
2814
	    s//\1/
2815
	    q
2816
	  }
2817
	  /^X\/\(\/\/\)$/{
2818
	    s//\1/
2819
	    q
2820
	  }
2821
	  /^X\/\(\/\).*/{
2822
	    s//\1/
2823
	    q
2824
	  }
2825
	  s/.*/./; q'`
2826
2827
# Avoid depending upon Character Ranges.
2828
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2829
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2830
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2831
as_cr_digits='0123456789'
2832
as_cr_alnum=$as_cr_Letters$as_cr_digits
2833
2834
ECHO_C= ECHO_N= ECHO_T=
2835
case `echo -n x` in #(((((
2836
-n*)
2837
  case `echo 'xy\c'` in
2838
  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
2839
  xy)  ECHO_C='\c';;
2840
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
2841
       ECHO_T='	';;
2842
  esac;;
2843
*)
2844
  ECHO_N='-n';;
2845
esac
2846
2847
rm -f conf$$ conf$$.exe conf$$.file
2848
if test -d conf$$.dir; then
2849
  rm -f conf$$.dir/conf$$.file
2850
else
2851
  rm -f conf$$.dir
2852
  mkdir conf$$.dir 2>/dev/null
2853
fi
2854
if (echo >conf$$.file) 2>/dev/null; then
2855
  if ln -s conf$$.file conf$$ 2>/dev/null; then
2856
    as_ln_s='ln -s'
2857
    # ... but there are two gotchas:
2858
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
2859
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
2860
    # In both cases, we have to default to `cp -p'.
2861
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
2862
      as_ln_s='cp -p'
2863
  elif ln conf$$.file conf$$ 2>/dev/null; then
2864
    as_ln_s=ln
2865
  else
2866
    as_ln_s='cp -p'
2867
  fi
2868
else
2869
  as_ln_s='cp -p'
2870
fi
2871
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2872
rmdir conf$$.dir 2>/dev/null
2873
2874
2875
# as_fn_mkdir_p
2876
# -------------
2877
# Create "$as_dir" as a directory, including parents if necessary.
2878
as_fn_mkdir_p ()
2879
{
2880
2881
  case $as_dir in #(
2882
  -*) as_dir=./$as_dir;;
2883
  esac
2884
  test -d "$as_dir" || eval $as_mkdir_p || {
2885
    as_dirs=
2886
    while :; do
2887
      case $as_dir in #(
2888
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
2889
      *) as_qdir=$as_dir;;
2890
      esac
2891
      as_dirs="'$as_qdir' $as_dirs"
2892
      as_dir=`$as_dirname -- "$as_dir" ||
2893
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2894
	 X"$as_dir" : 'X\(//\)[^/]' \| \
2895
	 X"$as_dir" : 'X\(//\)$' \| \
2896
	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
2897
$as_echo X"$as_dir" |
2898
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2899
	    s//\1/
2900
	    q
2901
	  }
2902
	  /^X\(\/\/\)[^/].*/{
2903
	    s//\1/
2904
	    q
2905
	  }
2906
	  /^X\(\/\/\)$/{
2907
	    s//\1/
2908
	    q
2909
	  }
2910
	  /^X\(\/\).*/{
2911
	    s//\1/
2912
	    q
2913
	  }
2914
	  s/.*/./; q'`
2915
      test -d "$as_dir" && break
2916
    done
2917
    test -z "$as_dirs" || eval "mkdir $as_dirs"
2918
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
2919
2920
2921
} # as_fn_mkdir_p
2922
if mkdir -p . 2>/dev/null; then
2923
  as_mkdir_p='mkdir -p "$as_dir"'
2924
else
2925
  test -d ./-p && rmdir ./-p
2926
  as_mkdir_p=false
2927
fi
2928
2929
if test -x / >/dev/null 2>&1; then
2930
  as_test_x='test -x'
2931
else
2932
  if ls -dL / >/dev/null 2>&1; then
2933
    as_ls_L_option=L
2934
  else
2935
    as_ls_L_option=
2936
  fi
2937
  as_test_x='
2938
    eval sh -c '\''
2939
      if test -d "$1"; then
2940
	test -d "$1/.";
2941
      else
2942
	case $1 in #(
2943
	-*)set "./$1";;
2944
	esac;
2945
	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
2946
	???[sx]*):;;*)false;;esac;fi
2947
    '\'' sh
2948
  '
2949
fi
2950
as_executable_p=$as_test_x
2951
2952
# Sed expression to map a string onto a valid CPP name.
2953
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2954
2955
# Sed expression to map a string onto a valid variable name.
2956
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2957
2958
2959
exec 6>&1
2960
## ----------------------------------- ##
2961
## Main body of $CONFIG_STATUS script. ##
2962
## ----------------------------------- ##
2963
_ASEOF
2964
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
2965
2966
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2967
# Save the log message, to keep $0 and so on meaningful, and to
2968
# report actual input values of CONFIG_FILES etc. instead of their
2969
# values after options handling.
2970
ac_log="
3 by edam
- renamed project from add-copyright-to-images to prep-images
2971
This file was extended by prep-images $as_me 0.1.0, which was
1 by edam
- initial commit, includes project and build setup
2972
generated by GNU Autoconf 2.67.  Invocation command line was
2973
2974
  CONFIG_FILES    = $CONFIG_FILES
2975
  CONFIG_HEADERS  = $CONFIG_HEADERS
2976
  CONFIG_LINKS    = $CONFIG_LINKS
2977
  CONFIG_COMMANDS = $CONFIG_COMMANDS
2978
  $ $0 $@
2979
2980
on `(hostname || uname -n) 2>/dev/null | sed 1q`
2981
"
2982
2983
_ACEOF
2984
2985
case $ac_config_files in *"
2986
"*) set x $ac_config_files; shift; ac_config_files=$*;;
2987
esac
2988
2989
2990
2991
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2992
# Files that config.status was made for.
2993
config_files="$ac_config_files"
2994
2995
_ACEOF
2996
2997
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2998
ac_cs_usage="\
2999
\`$as_me' instantiates files and other configuration actions
3000
from templates according to the current configuration.  Unless the files
3001
and actions are specified as TAGs, all are instantiated by default.
3002
3003
Usage: $0 [OPTION]... [TAG]...
3004
3005
  -h, --help       print this help, then exit
3006
  -V, --version    print version number and configuration settings, then exit
3007
      --config     print configuration, then exit
3008
  -q, --quiet, --silent
3009
                   do not print progress messages
3010
  -d, --debug      don't remove temporary files
3011
      --recheck    update $as_me by reconfiguring in the same conditions
3012
      --file=FILE[:TEMPLATE]
3013
                   instantiate the configuration file FILE
3014
3015
Configuration files:
3016
$config_files
3017
3018
Report bugs to <edam@waxworlds.org>.
3 by edam
- renamed project from add-copyright-to-images to prep-images
3019
prep-images home page: <http://www.waxworlds.org/edam/software/gtk/prep-images>."
1 by edam
- initial commit, includes project and build setup
3020
3021
_ACEOF
3022
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3023
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
3024
ac_cs_version="\\
3 by edam
- renamed project from add-copyright-to-images to prep-images
3025
prep-images config.status 0.1.0
1 by edam
- initial commit, includes project and build setup
3026
configured by $0, generated by GNU Autoconf 2.67,
3027
  with options \\"\$ac_cs_config\\"
3028
3029
Copyright (C) 2010 Free Software Foundation, Inc.
3030
This config.status script is free software; the Free Software Foundation
3031
gives unlimited permission to copy, distribute and modify it."
3032
3033
ac_pwd='$ac_pwd'
3034
srcdir='$srcdir'
3035
INSTALL='$INSTALL'
3036
MKDIR_P='$MKDIR_P'
3037
AWK='$AWK'
3038
test -n "\$AWK" || AWK=awk
3039
_ACEOF
3040
3041
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3042
# The default lists apply if the user does not specify any file.
3043
ac_need_defaults=:
3044
while test $# != 0
3045
do
3046
  case $1 in
3047
  --*=?*)
3048
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
3049
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3050
    ac_shift=:
3051
    ;;
3052
  --*=)
3053
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
3054
    ac_optarg=
3055
    ac_shift=:
3056
    ;;
3057
  *)
3058
    ac_option=$1
3059
    ac_optarg=$2
3060
    ac_shift=shift
3061
    ;;
3062
  esac
3063
3064
  case $ac_option in
3065
  # Handling of the options.
3066
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3067
    ac_cs_recheck=: ;;
3068
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3069
    $as_echo "$ac_cs_version"; exit ;;
3070
  --config | --confi | --conf | --con | --co | --c )
3071
    $as_echo "$ac_cs_config"; exit ;;
3072
  --debug | --debu | --deb | --de | --d | -d )
3073
    debug=: ;;
3074
  --file | --fil | --fi | --f )
3075
    $ac_shift
3076
    case $ac_optarg in
3077
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3078
    '') as_fn_error $? "missing file argument" ;;
3079
    esac
3080
    as_fn_append CONFIG_FILES " '$ac_optarg'"
3081
    ac_need_defaults=false;;
3082
  --he | --h |  --help | --hel | -h )
3083
    $as_echo "$ac_cs_usage"; exit ;;
3084
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3085
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
3086
    ac_cs_silent=: ;;
3087
3088
  # This is an error.
3089
  -*) as_fn_error $? "unrecognized option: \`$1'
3090
Try \`$0 --help' for more information." ;;
3091
3092
  *) as_fn_append ac_config_targets " $1"
3093
     ac_need_defaults=false ;;
3094
3095
  esac
3096
  shift
3097
done
3098
3099
ac_configure_extra_args=
3100
3101
if $ac_cs_silent; then
3102
  exec 6>/dev/null
3103
  ac_configure_extra_args="$ac_configure_extra_args --silent"
3104
fi
3105
3106
_ACEOF
3107
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3108
if \$ac_cs_recheck; then
3109
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3110
  shift
3111
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3112
  CONFIG_SHELL='$SHELL'
3113
  export CONFIG_SHELL
3114
  exec "\$@"
3115
fi
3116
3117
_ACEOF
3118
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3119
exec 5>>config.log
3120
{
3121
  echo
3122
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3123
## Running $as_me. ##
3124
_ASBOX
3125
  $as_echo "$ac_log"
3126
} >&5
3127
3128
_ACEOF
3129
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3130
_ACEOF
3131
3132
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3133
3134
# Handling of arguments.
3135
for ac_config_target in $ac_config_targets
3136
do
3137
  case $ac_config_target in
3 by edam
- renamed project from add-copyright-to-images to prep-images
3138
    "src/prep-images") CONFIG_FILES="$CONFIG_FILES src/prep-images" ;;
1 by edam
- initial commit, includes project and build setup
3139
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3140
    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
3141
3142
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
3143
  esac
3144
done
3145
3146
3147
# If the user did not use the arguments to specify the items to instantiate,
3148
# then the envvar interface is used.  Set only those that are not.
3149
# We use the long form for the default assignment because of an extremely
3150
# bizarre bug on SunOS 4.1.3.
3151
if $ac_need_defaults; then
3152
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3153
fi
3154
3155
# Have a temporary directory for convenience.  Make it in the build tree
3156
# simply because there is no reason against having it here, and in addition,
3157
# creating and moving files from /tmp can sometimes cause problems.
3158
# Hook for its removal unless debugging.
3159
# Note that there is a small window in which the directory will not be cleaned:
3160
# after its creation but before its name has been assigned to `$tmp'.
3161
$debug ||
3162
{
3163
  tmp=
3164
  trap 'exit_status=$?
3165
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
3166
' 0
3167
  trap 'as_fn_exit 1' 1 2 13 15
3168
}
3169
# Create a (secure) tmp directory for tmp files.
3170
3171
{
3172
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3173
  test -n "$tmp" && test -d "$tmp"
3174
}  ||
3175
{
3176
  tmp=./conf$$-$RANDOM
3177
  (umask 077 && mkdir "$tmp")
3178
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
3179
3180
# Set up the scripts for CONFIG_FILES section.
3181
# No need to generate them if there are no CONFIG_FILES.
3182
# This happens for instance with `./config.status config.h'.
3183
if test -n "$CONFIG_FILES"; then
3184
3185
3186
ac_cr=`echo X | tr X '\015'`
3187
# On cygwin, bash can eat \r inside `` if the user requested igncr.
3188
# But we know of no other shell where ac_cr would be empty at this
3189
# point, so we can use a bashism as a fallback.
3190
if test "x$ac_cr" = x; then
3191
  eval ac_cr=\$\'\\r\'
3192
fi
3193
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3194
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3195
  ac_cs_awk_cr='\\r'
3196
else
3197
  ac_cs_awk_cr=$ac_cr
3198
fi
3199
3200
echo 'BEGIN {' >"$tmp/subs1.awk" &&
3201
_ACEOF
3202
3203
3204
{
3205
  echo "cat >conf$$subs.awk <<_ACEOF" &&
3206
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3207
  echo "_ACEOF"
3208
} >conf$$subs.sh ||
3209
  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3210
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
3211
ac_delim='%!_!# '
3212
for ac_last_try in false false false false false :; do
3213
  . ./conf$$subs.sh ||
3214
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3215
3216
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
3217
  if test $ac_delim_n = $ac_delim_num; then
3218
    break
3219
  elif $ac_last_try; then
3220
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3221
  else
3222
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3223
  fi
3224
done
3225
rm -f conf$$subs.sh
3226
3227
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3228
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
3229
_ACEOF
3230
sed -n '
3231
h
3232
s/^/S["/; s/!.*/"]=/
3233
p
3234
g
3235
s/^[^!]*!//
3236
:repl
3237
t repl
3238
s/'"$ac_delim"'$//
3239
t delim
3240
:nl
3241
h
3242
s/\(.\{148\}\)..*/\1/
3243
t more1
3244
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3245
p
3246
n
3247
b repl
3248
:more1
3249
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3250
p
3251
g
3252
s/.\{148\}//
3253
t nl
3254
:delim
3255
h
3256
s/\(.\{148\}\)..*/\1/
3257
t more2
3258
s/["\\]/\\&/g; s/^/"/; s/$/"/
3259
p
3260
b
3261
:more2
3262
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3263
p
3264
g
3265
s/.\{148\}//
3266
t delim
3267
' <conf$$subs.awk | sed '
3268
/^[^""]/{
3269
  N
3270
  s/\n//
3271
}
3272
' >>$CONFIG_STATUS || ac_write_fail=1
3273
rm -f conf$$subs.awk
3274
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3275
_ACAWK
3276
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
3277
  for (key in S) S_is_set[key] = 1
3278
  FS = ""
3279
3280
}
3281
{
3282
  line = $ 0
3283
  nfields = split(line, field, "@")
3284
  substed = 0
3285
  len = length(field[1])
3286
  for (i = 2; i < nfields; i++) {
3287
    key = field[i]
3288
    keylen = length(key)
3289
    if (S_is_set[key]) {
3290
      value = S[key]
3291
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3292
      len += length(value) + length(field[++i])
3293
      substed = 1
3294
    } else
3295
      len += 1 + keylen
3296
  }
3297
3298
  print line
3299
}
3300
3301
_ACAWK
3302
_ACEOF
3303
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3304
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3305
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
3306
else
3307
  cat
3308
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
3309
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
3310
_ACEOF
3311
3312
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
3313
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
3314
# trailing colons and then remove the whole line if VPATH becomes empty
3315
# (actually we leave an empty line to preserve line numbers).
3316
if test "x$srcdir" = x.; then
3317
  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
3318
h
3319
s///
3320
s/^/:/
3321
s/[	 ]*$/:/
3322
s/:\$(srcdir):/:/g
3323
s/:\${srcdir}:/:/g
3324
s/:@srcdir@:/:/g
3325
s/^:*//
3326
s/:*$//
3327
x
3328
s/\(=[	 ]*\).*/\1/
3329
G
3330
s/\n//
3331
s/^[^=]*=[	 ]*$//
3332
}'
3333
fi
3334
3335
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3336
fi # test -n "$CONFIG_FILES"
3337
3338
3339
eval set X "  :F $CONFIG_FILES      "
3340
shift
3341
for ac_tag
3342
do
3343
  case $ac_tag in
3344
  :[FHLC]) ac_mode=$ac_tag; continue;;
3345
  esac
3346
  case $ac_mode$ac_tag in
3347
  :[FHL]*:*);;
3348
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
3349
  :[FH]-) ac_tag=-:-;;
3350
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3351
  esac
3352
  ac_save_IFS=$IFS
3353
  IFS=:
3354
  set x $ac_tag
3355
  IFS=$ac_save_IFS
3356
  shift
3357
  ac_file=$1
3358
  shift
3359
3360
  case $ac_mode in
3361
  :L) ac_source=$1;;
3362
  :[FH])
3363
    ac_file_inputs=
3364
    for ac_f
3365
    do
3366
      case $ac_f in
3367
      -) ac_f="$tmp/stdin";;
3368
      *) # Look for the file first in the build tree, then in the source tree
3369
	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
3370
	 # because $ac_f cannot contain `:'.
3371
	 test -f "$ac_f" ||
3372
	   case $ac_f in
3373
	   [\\/$]*) false;;
3374
	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3375
	   esac ||
3376
	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
3377
      esac
3378
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
3379
      as_fn_append ac_file_inputs " '$ac_f'"
3380
    done
3381
3382
    # Let's still pretend it is `configure' which instantiates (i.e., don't
3383
    # use $as_me), people would be surprised to read:
3384
    #    /* config.h.  Generated by config.status.  */
3385
    configure_input='Generated from '`
3386
	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3387
	`' by configure.'
3388
    if test x"$ac_file" != x-; then
3389
      configure_input="$ac_file.  $configure_input"
3390
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
3391
$as_echo "$as_me: creating $ac_file" >&6;}
3392
    fi
3393
    # Neutralize special characters interpreted by sed in replacement strings.
3394
    case $configure_input in #(
3395
    *\&* | *\|* | *\\* )
3396
       ac_sed_conf_input=`$as_echo "$configure_input" |
3397
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
3398
    *) ac_sed_conf_input=$configure_input;;
3399
    esac
3400
3401
    case $ac_tag in
3402
    *:-:* | *:-) cat >"$tmp/stdin" \
3403
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5  ;;
3404
    esac
3405
    ;;
3406
  esac
3407
3408
  ac_dir=`$as_dirname -- "$ac_file" ||
3409
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3410
	 X"$ac_file" : 'X\(//\)[^/]' \| \
3411
	 X"$ac_file" : 'X\(//\)$' \| \
3412
	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3413
$as_echo X"$ac_file" |
3414
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3415
	    s//\1/
3416
	    q
3417
	  }
3418
	  /^X\(\/\/\)[^/].*/{
3419
	    s//\1/
3420
	    q
3421
	  }
3422
	  /^X\(\/\/\)$/{
3423
	    s//\1/
3424
	    q
3425
	  }
3426
	  /^X\(\/\).*/{
3427
	    s//\1/
3428
	    q
3429
	  }
3430
	  s/.*/./; q'`
3431
  as_dir="$ac_dir"; as_fn_mkdir_p
3432
  ac_builddir=.
3433
3434
case "$ac_dir" in
3435
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3436
*)
3437
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
3438
  # A ".." for each directory in $ac_dir_suffix.
3439
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3440
  case $ac_top_builddir_sub in
3441
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3442
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3443
  esac ;;
3444
esac
3445
ac_abs_top_builddir=$ac_pwd
3446
ac_abs_builddir=$ac_pwd$ac_dir_suffix
3447
# for backward compatibility:
3448
ac_top_builddir=$ac_top_build_prefix
3449
3450
case $srcdir in
3451
  .)  # We are building in place.
3452
    ac_srcdir=.
3453
    ac_top_srcdir=$ac_top_builddir_sub
3454
    ac_abs_top_srcdir=$ac_pwd ;;
3455
  [\\/]* | ?:[\\/]* )  # Absolute name.
3456
    ac_srcdir=$srcdir$ac_dir_suffix;
3457
    ac_top_srcdir=$srcdir
3458
    ac_abs_top_srcdir=$srcdir ;;
3459
  *) # Relative name.
3460
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3461
    ac_top_srcdir=$ac_top_build_prefix$srcdir
3462
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3463
esac
3464
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3465
3466
3467
  case $ac_mode in
3468
  :F)
3469
  #
3470
  # CONFIG_FILE
3471
  #
3472
3473
  case $INSTALL in
3474
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3475
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3476
  esac
3477
  ac_MKDIR_P=$MKDIR_P
3478
  case $MKDIR_P in
3479
  [\\/$]* | ?:[\\/]* ) ;;
3480
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
3481
  esac
3482
_ACEOF
3483
3484
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3485
# If the template does not know about datarootdir, expand it.
3486
# FIXME: This hack should be removed a few years after 2.60.
3487
ac_datarootdir_hack=; ac_datarootdir_seen=
3488
ac_sed_dataroot='
3489
/datarootdir/ {
3490
  p
3491
  q
3492
}
3493
/@datadir@/p
3494
/@docdir@/p
3495
/@infodir@/p
3496
/@localedir@/p
3497
/@mandir@/p'
3498
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
3499
*datarootdir*) ac_datarootdir_seen=yes;;
3500
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3501
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3502
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3503
_ACEOF
3504
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3505
  ac_datarootdir_hack='
3506
  s&@datadir@&$datadir&g
3507
  s&@docdir@&$docdir&g
3508
  s&@infodir@&$infodir&g
3509
  s&@localedir@&$localedir&g
3510
  s&@mandir@&$mandir&g
3511
  s&\\\${datarootdir}&$datarootdir&g' ;;
3512
esac
3513
_ACEOF
3514
3515
# Neutralize VPATH when `$srcdir' = `.'.
3516
# Shell code in configure.ac might set extrasub.
3517
# FIXME: do we really want to maintain this feature?
3518
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3519
ac_sed_extra="$ac_vpsub
3520
$extrasub
3521
_ACEOF
3522
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3523
:t
3524
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3525
s|@configure_input@|$ac_sed_conf_input|;t t
3526
s&@top_builddir@&$ac_top_builddir_sub&;t t
3527
s&@top_build_prefix@&$ac_top_build_prefix&;t t
3528
s&@srcdir@&$ac_srcdir&;t t
3529
s&@abs_srcdir@&$ac_abs_srcdir&;t t
3530
s&@top_srcdir@&$ac_top_srcdir&;t t
3531
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3532
s&@builddir@&$ac_builddir&;t t
3533
s&@abs_builddir@&$ac_abs_builddir&;t t
3534
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3535
s&@INSTALL@&$ac_INSTALL&;t t
3536
s&@MKDIR_P@&$ac_MKDIR_P&;t t
3537
$ac_datarootdir_hack
3538
"
3539
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
3540
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3541
3542
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3543
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
3544
  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
3545
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3546
which seems to be undefined.  Please make sure it is defined" >&5
3547
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3548
which seems to be undefined.  Please make sure it is defined" >&2;}
3549
3550
  rm -f "$tmp/stdin"
3551
  case $ac_file in
3552
  -) cat "$tmp/out" && rm -f "$tmp/out";;
3553
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
3554
  esac \
3555
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3556
 ;;
3557
3558
3559
3560
  esac
3561
3 by edam
- renamed project from add-copyright-to-images to prep-images
3562
3563
  case $ac_file$ac_mode in
3564
    "src/prep-images":F) chmod +x src/prep-images ;;
3565
3566
  esac
1 by edam
- initial commit, includes project and build setup
3567
done # for ac_tag
3568
3569
3570
as_fn_exit 0
3571
_ACEOF
3572
ac_clean_files=$ac_clean_files_save
3573
3574
test $ac_write_fail = 0 ||
3575
  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
3576
3577
3578
# configure is writing to config.log, and then calls config.status.
3579
# config.status does its own redirection, appending to config.log.
3580
# Unfortunately, on DOS this fails, as config.log is still kept open
3581
# by configure, so config.status won't be able to write to it; its
3582
# output is simply discarded.  So we exec the FD to /dev/null,
3583
# effectively closing config.log, so it can be properly (re)opened and
3584
# appended to by config.status.  When coming back to configure, we
3585
# need to make the FD available again.
3586
if test "$no_create" != yes; then
3587
  ac_cs_success=:
3588
  ac_config_status_args=
3589
  test "$silent" = yes &&
3590
    ac_config_status_args="$ac_config_status_args --quiet"
3591
  exec 5>/dev/null
3592
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3593
  exec 5>>config.log
3594
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3595
  # would make configure fail if this is the last instruction.
3596
  $ac_cs_success || as_fn_exit 1
3597
fi
3598
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
3599
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
3600
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
3601
fi
3602