~ubuntu-branches/ubuntu/hardy/ltspfs/hardy-updates

1.1.6 by Oliver Grawert
Import upstream version 0.5.0~bzr20080109
1
@%:@! /bin/sh
2
@%:@ Guess values for system-dependent variables and create Makefiles.
3
@%:@ Generated by GNU Autoconf 2.61 for ltspfs 0.4.2.
4
@%:@
5
@%:@ Report bugs to <sbalneav@ltsp.org>.
6
@%:@ 
7
@%:@ Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8
@%:@ 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9
@%:@ This configure script is free software; the Free Software Foundation
10
@%:@ gives unlimited permission to copy, distribute and modify it.
11
## --------------------- ##
12
## M4sh Initialization.  ##
13
## --------------------- ##
14
15
# Be more Bourne compatible
16
DUALCASE=1; export DUALCASE # for MKS sh
17
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18
  emulate sh
19
  NULLCMD=:
20
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21
  # is contrary to our usage.  Disable this feature.
22
  alias -g '${1+"$@"}'='"$@"'
23
  setopt NO_GLOB_SUBST
24
else
25
  case `(set -o) 2>/dev/null` in
26
  *posix*) set -o posix ;;
27
esac
28
29
fi
30
31
32
33
34
# PATH needs CR
35
# Avoid depending upon Character Ranges.
36
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39
as_cr_digits='0123456789'
40
as_cr_alnum=$as_cr_Letters$as_cr_digits
41
42
# The user is always right.
43
if test "${PATH_SEPARATOR+set}" != set; then
44
  echo "#! /bin/sh" >conf$$.sh
45
  echo  "exit 0"   >>conf$$.sh
46
  chmod +x conf$$.sh
47
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
48
    PATH_SEPARATOR=';'
49
  else
50
    PATH_SEPARATOR=:
51
  fi
52
  rm -f conf$$.sh
53
fi
54
55
# Support unset when possible.
56
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
57
  as_unset=unset
58
else
59
  as_unset=false
60
fi
61
62
63
# IFS
64
# We need space, tab and new line, in precisely that order.  Quoting is
65
# there to prevent editors from complaining about space-tab.
66
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
67
# splitting by setting IFS to empty value.)
68
as_nl='
69
'
70
IFS=" ""	$as_nl"
71
72
# Find who we are.  Look in the path if we contain no directory separator.
73
case $0 in
74
  *[\\/]* ) as_myself=$0 ;;
75
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
76
for as_dir in $PATH
77
do
78
  IFS=$as_save_IFS
79
  test -z "$as_dir" && as_dir=.
80
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
81
done
82
IFS=$as_save_IFS
83
84
     ;;
85
esac
86
# We did not find ourselves, most probably we were run as `sh COMMAND'
87
# in which case we are not to be found in the path.
88
if test "x$as_myself" = x; then
89
  as_myself=$0
90
fi
91
if test ! -f "$as_myself"; then
92
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
93
  { (exit 1); exit 1; }
94
fi
95
96
# Work around bugs in pre-3.0 UWIN ksh.
97
for as_var in ENV MAIL MAILPATH
98
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
99
done
100
PS1='$ '
101
PS2='> '
102
PS4='+ '
103
104
# NLS nuisances.
105
for as_var in \
106
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108
  LC_TELEPHONE LC_TIME
109
do
110
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111
    eval $as_var=C; export $as_var
112
  else
113
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
114
  fi
115
done
116
117
# Required to use basename.
118
if expr a : '\(a\)' >/dev/null 2>&1 &&
119
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
120
  as_expr=expr
121
else
122
  as_expr=false
123
fi
124
125
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
126
  as_basename=basename
127
else
128
  as_basename=false
129
fi
130
131
132
# Name of the executable.
133
as_me=`$as_basename -- "$0" ||
134
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135
	 X"$0" : 'X\(//\)$' \| \
136
	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
137
echo X/"$0" |
138
    sed '/^.*\/\([^/][^/]*\)\/*$/{
139
	    s//\1/
140
	    q
141
	  }
142
	  /^X\/\(\/\/\)$/{
143
	    s//\1/
144
	    q
145
	  }
146
	  /^X\/\(\/\).*/{
147
	    s//\1/
148
	    q
149
	  }
150
	  s/.*/./; q'`
151
152
# CDPATH.
153
$as_unset CDPATH
154
155
156
if test "x$CONFIG_SHELL" = x; then
157
  if (eval ":") 2>/dev/null; then
158
  as_have_required=yes
159
else
160
  as_have_required=no
161
fi
162
163
  if test $as_have_required = yes && 	 (eval ":
164
(as_func_return () {
165
  (exit \$1)
166
}
167
as_func_success () {
168
  as_func_return 0
169
}
170
as_func_failure () {
171
  as_func_return 1
172
}
173
as_func_ret_success () {
174
  return 0
175
}
176
as_func_ret_failure () {
177
  return 1
178
}
179
180
exitcode=0
181
if as_func_success; then
182
  :
183
else
184
  exitcode=1
185
  echo as_func_success failed.
186
fi
187
188
if as_func_failure; then
189
  exitcode=1
190
  echo as_func_failure succeeded.
191
fi
192
193
if as_func_ret_success; then
194
  :
195
else
196
  exitcode=1
197
  echo as_func_ret_success failed.
198
fi
199
200
if as_func_ret_failure; then
201
  exitcode=1
202
  echo as_func_ret_failure succeeded.
203
fi
204
205
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
206
  :
207
else
208
  exitcode=1
209
  echo positional parameters were not saved.
210
fi
211
212
test \$exitcode = 0) || { (exit 1); exit 1; }
213
214
(
215
  as_lineno_1=\$LINENO
216
  as_lineno_2=\$LINENO
217
  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218
  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219
") 2> /dev/null; then
220
  :
221
else
222
  as_candidate_shells=
223
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
224
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
225
do
226
  IFS=$as_save_IFS
227
  test -z "$as_dir" && as_dir=.
228
  case $as_dir in
229
	 /*)
230
	   for as_base in sh bash ksh sh5; do
231
	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
232
	   done;;
233
       esac
234
done
235
IFS=$as_save_IFS
236
237
238
      for as_shell in $as_candidate_shells $SHELL; do
239
	 # Try only shells that exist, to save several forks.
240
	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
241
		{ ("$as_shell") 2> /dev/null <<\_ASEOF
242
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243
  emulate sh
244
  NULLCMD=:
245
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246
  # is contrary to our usage.  Disable this feature.
247
  alias -g '${1+"$@"}'='"$@"'
248
  setopt NO_GLOB_SUBST
249
else
250
  case `(set -o) 2>/dev/null` in
251
  *posix*) set -o posix ;;
252
esac
253
254
fi
255
256
257
:
258
_ASEOF
259
}; then
260
  CONFIG_SHELL=$as_shell
261
	       as_have_required=yes
262
	       if { "$as_shell" 2> /dev/null <<\_ASEOF
263
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264
  emulate sh
265
  NULLCMD=:
266
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267
  # is contrary to our usage.  Disable this feature.
268
  alias -g '${1+"$@"}'='"$@"'
269
  setopt NO_GLOB_SUBST
270
else
271
  case `(set -o) 2>/dev/null` in
272
  *posix*) set -o posix ;;
273
esac
274
275
fi
276
277
278
:
279
(as_func_return () {
280
  (exit $1)
281
}
282
as_func_success () {
283
  as_func_return 0
284
}
285
as_func_failure () {
286
  as_func_return 1
287
}
288
as_func_ret_success () {
289
  return 0
290
}
291
as_func_ret_failure () {
292
  return 1
293
}
294
295
exitcode=0
296
if as_func_success; then
297
  :
298
else
299
  exitcode=1
300
  echo as_func_success failed.
301
fi
302
303
if as_func_failure; then
304
  exitcode=1
305
  echo as_func_failure succeeded.
306
fi
307
308
if as_func_ret_success; then
309
  :
310
else
311
  exitcode=1
312
  echo as_func_ret_success failed.
313
fi
314
315
if as_func_ret_failure; then
316
  exitcode=1
317
  echo as_func_ret_failure succeeded.
318
fi
319
320
if ( set x; as_func_ret_success y && test x = "$1" ); then
321
  :
322
else
323
  exitcode=1
324
  echo positional parameters were not saved.
325
fi
326
327
test $exitcode = 0) || { (exit 1); exit 1; }
328
329
(
330
  as_lineno_1=$LINENO
331
  as_lineno_2=$LINENO
332
  test "x$as_lineno_1" != "x$as_lineno_2" &&
333
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
334
335
_ASEOF
336
}; then
337
  break
338
fi
339
340
fi
341
342
      done
343
344
      if test "x$CONFIG_SHELL" != x; then
345
  for as_var in BASH_ENV ENV
346
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
347
        done
348
        export CONFIG_SHELL
349
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
350
fi
351
352
353
    if test $as_have_required = no; then
354
  echo This script requires a shell more modern than all the
355
      echo shells that I found on your system.  Please install a
356
      echo modern shell, or manually run the script under such a
357
      echo shell if you do have one.
358
      { (exit 1); exit 1; }
359
fi
360
361
    
362
fi
363
364
fi
365
366
367
368
(eval "as_func_return () {
369
  (exit \$1)
370
}
371
as_func_success () {
372
  as_func_return 0
373
}
374
as_func_failure () {
375
  as_func_return 1
376
}
377
as_func_ret_success () {
378
  return 0
379
}
380
as_func_ret_failure () {
381
  return 1
382
}
383
384
exitcode=0
385
if as_func_success; then
386
  :
387
else
388
  exitcode=1
389
  echo as_func_success failed.
390
fi
391
392
if as_func_failure; then
393
  exitcode=1
394
  echo as_func_failure succeeded.
395
fi
396
397
if as_func_ret_success; then
398
  :
399
else
400
  exitcode=1
401
  echo as_func_ret_success failed.
402
fi
403
404
if as_func_ret_failure; then
405
  exitcode=1
406
  echo as_func_ret_failure succeeded.
407
fi
408
409
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
410
  :
411
else
412
  exitcode=1
413
  echo positional parameters were not saved.
414
fi
415
416
test \$exitcode = 0") || {
417
  echo No shell found that supports shell functions.
418
  echo Please tell autoconf@gnu.org about your system,
419
  echo including any error possibly output before this
420
  echo message
421
}
422
423
424
425
  as_lineno_1=$LINENO
426
  as_lineno_2=$LINENO
427
  test "x$as_lineno_1" != "x$as_lineno_2" &&
428
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
429
430
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431
  # uniformly replaced by the line number.  The first 'sed' inserts a
432
  # line-number line after each line using $LINENO; the second 'sed'
433
  # does the real work.  The second script uses 'N' to pair each
434
  # line-number line with the line containing $LINENO, and appends
435
  # trailing '-' during substitution so that $LINENO is not a special
436
  # case at line end.
437
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
439
  # E. McMahon (1931-1989) for sed's syntax.  :-)
440
  sed -n '
441
    p
442
    /[$]LINENO/=
443
  ' <$as_myself |
444
    sed '
445
      s/[$]LINENO.*/&-/
446
      t lineno
447
      b
448
      :lineno
449
      N
450
      :loop
451
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
452
      t loop
453
      s/-\n.*//
454
    ' >$as_me.lineno &&
455
  chmod +x "$as_me.lineno" ||
456
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457
   { (exit 1); exit 1; }; }
458
459
  # Don't try to exec as it changes $[0], causing all sort of problems
460
  # (the dirname of $[0] is not the place where we might find the
461
  # original and so on.  Autoconf is especially sensitive to this).
462
  . "./$as_me.lineno"
463
  # Exit status is that of the last command.
464
  exit
465
}
466
467
468
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
469
  as_dirname=dirname
470
else
471
  as_dirname=false
472
fi
473
474
ECHO_C= ECHO_N= ECHO_T=
475
case `echo -n x` in
476
-n*)
477
  case `echo 'x\c'` in
478
  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
479
  *)   ECHO_C='\c';;
480
  esac;;
481
*)
482
  ECHO_N='-n';;
483
esac
484
485
if expr a : '\(a\)' >/dev/null 2>&1 &&
486
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
487
  as_expr=expr
488
else
489
  as_expr=false
490
fi
491
492
rm -f conf$$ conf$$.exe conf$$.file
493
if test -d conf$$.dir; then
494
  rm -f conf$$.dir/conf$$.file
495
else
496
  rm -f conf$$.dir
497
  mkdir conf$$.dir
498
fi
499
echo >conf$$.file
500
if ln -s conf$$.file conf$$ 2>/dev/null; then
501
  as_ln_s='ln -s'
502
  # ... but there are two gotchas:
503
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505
  # In both cases, we have to default to `cp -p'.
506
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
507
    as_ln_s='cp -p'
508
elif ln conf$$.file conf$$ 2>/dev/null; then
509
  as_ln_s=ln
510
else
511
  as_ln_s='cp -p'
512
fi
513
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
514
rmdir conf$$.dir 2>/dev/null
515
516
if mkdir -p . 2>/dev/null; then
517
  as_mkdir_p=:
518
else
519
  test -d ./-p && rmdir ./-p
520
  as_mkdir_p=false
521
fi
522
523
if test -x / >/dev/null 2>&1; then
524
  as_test_x='test -x'
525
else
526
  if ls -dL / >/dev/null 2>&1; then
527
    as_ls_L_option=L
528
  else
529
    as_ls_L_option=
530
  fi
531
  as_test_x='
532
    eval sh -c '\''
533
      if test -d "$1"; then
534
        test -d "$1/.";
535
      else
536
	case $1 in
537
        -*)set "./$1";;
538
	esac;
539
	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540
	???[sx]*):;;*)false;;esac;fi
541
    '\'' sh
542
  '
543
fi
544
as_executable_p=$as_test_x
545
546
# Sed expression to map a string onto a valid CPP name.
547
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
548
549
# Sed expression to map a string onto a valid variable name.
550
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
551
552
553
554
exec 7<&0 </dev/null 6>&1
555
556
# Name of the host.
557
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
558
# so uname gets run too.
559
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
560
561
#
562
# Initializations.
563
#
564
ac_default_prefix=/usr/local
565
ac_clean_files=
566
ac_config_libobj_dir=.
567
LIB@&t@OBJS=
568
cross_compiling=no
569
subdirs=
570
MFLAGS=
571
MAKEFLAGS=
572
SHELL=${CONFIG_SHELL-/bin/sh}
573
574
# Identity of this package.
575
PACKAGE_NAME='ltspfs'
576
PACKAGE_TARNAME='ltspfs'
577
PACKAGE_VERSION='0.4.2'
578
PACKAGE_STRING='ltspfs 0.4.2'
579
PACKAGE_BUGREPORT='sbalneav@ltsp.org'
580
581
ac_unique_file="src/ltspfs.c"
582
# Factoring default headers for most tests.
583
ac_includes_default="\
584
#include <stdio.h>
585
#ifdef HAVE_SYS_TYPES_H
586
# include <sys/types.h>
587
#endif
588
#ifdef HAVE_SYS_STAT_H
589
# include <sys/stat.h>
590
#endif
591
#ifdef STDC_HEADERS
592
# include <stdlib.h>
593
# include <stddef.h>
594
#else
595
# ifdef HAVE_STDLIB_H
596
#  include <stdlib.h>
597
# endif
598
#endif
599
#ifdef HAVE_STRING_H
600
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
601
#  include <memory.h>
602
# endif
603
# include <string.h>
604
#endif
605
#ifdef HAVE_STRINGS_H
606
# include <strings.h>
607
#endif
608
#ifdef HAVE_INTTYPES_H
609
# include <inttypes.h>
610
#endif
611
#ifdef HAVE_STDINT_H
612
# include <stdint.h>
613
#endif
614
#ifdef HAVE_UNISTD_H
615
# include <unistd.h>
616
#endif"
617
618
ac_subst_vars='SHELL
619
PATH_SEPARATOR
620
PACKAGE_NAME
621
PACKAGE_TARNAME
622
PACKAGE_VERSION
623
PACKAGE_STRING
624
PACKAGE_BUGREPORT
625
exec_prefix
626
prefix
627
program_transform_name
628
bindir
629
sbindir
630
libexecdir
631
datarootdir
632
datadir
633
sysconfdir
634
sharedstatedir
635
localstatedir
636
includedir
637
oldincludedir
638
docdir
639
infodir
640
htmldir
641
dvidir
642
pdfdir
643
psdir
644
libdir
645
localedir
646
mandir
647
DEFS
648
ECHO_C
649
ECHO_N
650
ECHO_T
651
LIBS
652
build_alias
653
host_alias
654
target_alias
655
INSTALL_PROGRAM
656
INSTALL_SCRIPT
657
INSTALL_DATA
658
CYGPATH_W
659
PACKAGE
660
VERSION
661
ACLOCAL
662
AUTOCONF
663
AUTOMAKE
664
AUTOHEADER
665
MAKEINFO
666
install_sh
667
STRIP
668
INSTALL_STRIP_PROGRAM
669
mkdir_p
670
AWK
671
SET_MAKE
672
am__leading_dot
673
AMTAR
674
am__tar
675
am__untar
676
MAINTAINER_MODE_TRUE
677
MAINTAINER_MODE_FALSE
678
MAINT
679
CC
680
CFLAGS
681
LDFLAGS
682
CPPFLAGS
683
ac_ct_CC
684
EXEEXT
685
OBJEXT
686
DEPDIR
687
am__include
688
am__quote
689
AMDEP_TRUE
690
AMDEP_FALSE
691
AMDEPBACKSLASH
692
CCDEPMODE
693
am__fastdepCC_TRUE
694
am__fastdepCC_FALSE
695
PKG_CONFIG
696
LTSPFS_CFLAGS
697
LTSPFS_LIBS
698
CPP
699
GREP
700
EGREP
701
UDEV_RULES_PATH
702
UDEV_LIB_PATH
703
GLIB_CFLAGS
704
GLIB_LIBS
705
GOBJECT_CFLAGS
706
GOBJECT_LIBS
707
LIB@&t@OBJS
708
LTLIBOBJS'
709
ac_subst_files=''
710
      ac_precious_vars='build_alias
711
host_alias
712
target_alias
713
CC
714
CFLAGS
715
LDFLAGS
716
LIBS
717
CPPFLAGS
718
PKG_CONFIG
719
LTSPFS_CFLAGS
720
LTSPFS_LIBS
721
CPP
722
GLIB_CFLAGS
723
GLIB_LIBS
724
GOBJECT_CFLAGS
725
GOBJECT_LIBS'
726
727
728
# Initialize some variables set by options.
729
ac_init_help=
730
ac_init_version=false
731
# The variables have the same names as the options, with
732
# dashes changed to underlines.
733
cache_file=/dev/null
734
exec_prefix=NONE
735
no_create=
736
no_recursion=
737
prefix=NONE
738
program_prefix=NONE
739
program_suffix=NONE
740
program_transform_name=s,x,x,
741
silent=
742
site=
743
srcdir=
744
verbose=
745
x_includes=NONE
746
x_libraries=NONE
747
748
# Installation directory options.
749
# These are left unexpanded so users can "make install exec_prefix=/foo"
750
# and all the variables that are supposed to be based on exec_prefix
751
# by default will actually change.
752
# Use braces instead of parens because sh, perl, etc. also accept them.
753
# (The list follows the same order as the GNU Coding Standards.)
754
bindir='${exec_prefix}/bin'
755
sbindir='${exec_prefix}/sbin'
756
libexecdir='${exec_prefix}/libexec'
757
datarootdir='${prefix}/share'
758
datadir='${datarootdir}'
759
sysconfdir='${prefix}/etc'
760
sharedstatedir='${prefix}/com'
761
localstatedir='${prefix}/var'
762
includedir='${prefix}/include'
763
oldincludedir='/usr/include'
764
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
765
infodir='${datarootdir}/info'
766
htmldir='${docdir}'
767
dvidir='${docdir}'
768
pdfdir='${docdir}'
769
psdir='${docdir}'
770
libdir='${exec_prefix}/lib'
771
localedir='${datarootdir}/locale'
772
mandir='${datarootdir}/man'
773
774
ac_prev=
775
ac_dashdash=
776
for ac_option
777
do
778
  # If the previous option needs an argument, assign it.
779
  if test -n "$ac_prev"; then
780
    eval $ac_prev=\$ac_option
781
    ac_prev=
782
    continue
783
  fi
784
785
  case $ac_option in
786
  *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
787
  *)	ac_optarg=yes ;;
788
  esac
789
790
  # Accept the important Cygnus configure options, so we can diagnose typos.
791
792
  case $ac_dashdash$ac_option in
793
  --)
794
    ac_dashdash=yes ;;
795
796
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
797
    ac_prev=bindir ;;
798
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
799
    bindir=$ac_optarg ;;
800
801
  -build | --build | --buil | --bui | --bu)
802
    ac_prev=build_alias ;;
803
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
804
    build_alias=$ac_optarg ;;
805
806
  -cache-file | --cache-file | --cache-fil | --cache-fi \
807
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
808
    ac_prev=cache_file ;;
809
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
810
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
811
    cache_file=$ac_optarg ;;
812
813
  --config-cache | -C)
814
    cache_file=config.cache ;;
815
816
  -datadir | --datadir | --datadi | --datad)
817
    ac_prev=datadir ;;
818
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
819
    datadir=$ac_optarg ;;
820
821
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
822
  | --dataroo | --dataro | --datar)
823
    ac_prev=datarootdir ;;
824
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
825
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
826
    datarootdir=$ac_optarg ;;
827
828
  -disable-* | --disable-*)
829
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
830
    # Reject names that are not valid shell variable names.
831
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
832
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
833
   { (exit 1); exit 1; }; }
834
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
835
    eval enable_$ac_feature=no ;;
836
837
  -docdir | --docdir | --docdi | --doc | --do)
838
    ac_prev=docdir ;;
839
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
840
    docdir=$ac_optarg ;;
841
842
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
843
    ac_prev=dvidir ;;
844
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
845
    dvidir=$ac_optarg ;;
846
847
  -enable-* | --enable-*)
848
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
849
    # Reject names that are not valid shell variable names.
850
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
851
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
852
   { (exit 1); exit 1; }; }
853
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
854
    eval enable_$ac_feature=\$ac_optarg ;;
855
856
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
857
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
858
  | --exec | --exe | --ex)
859
    ac_prev=exec_prefix ;;
860
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
861
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
862
  | --exec=* | --exe=* | --ex=*)
863
    exec_prefix=$ac_optarg ;;
864
865
  -gas | --gas | --ga | --g)
866
    # Obsolete; use --with-gas.
867
    with_gas=yes ;;
868
869
  -help | --help | --hel | --he | -h)
870
    ac_init_help=long ;;
871
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
872
    ac_init_help=recursive ;;
873
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
874
    ac_init_help=short ;;
875
876
  -host | --host | --hos | --ho)
877
    ac_prev=host_alias ;;
878
  -host=* | --host=* | --hos=* | --ho=*)
879
    host_alias=$ac_optarg ;;
880
881
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
882
    ac_prev=htmldir ;;
883
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
884
  | --ht=*)
885
    htmldir=$ac_optarg ;;
886
887
  -includedir | --includedir | --includedi | --included | --include \
888
  | --includ | --inclu | --incl | --inc)
889
    ac_prev=includedir ;;
890
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
891
  | --includ=* | --inclu=* | --incl=* | --inc=*)
892
    includedir=$ac_optarg ;;
893
894
  -infodir | --infodir | --infodi | --infod | --info | --inf)
895
    ac_prev=infodir ;;
896
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
897
    infodir=$ac_optarg ;;
898
899
  -libdir | --libdir | --libdi | --libd)
900
    ac_prev=libdir ;;
901
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
902
    libdir=$ac_optarg ;;
903
904
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
905
  | --libexe | --libex | --libe)
906
    ac_prev=libexecdir ;;
907
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
908
  | --libexe=* | --libex=* | --libe=*)
909
    libexecdir=$ac_optarg ;;
910
911
  -localedir | --localedir | --localedi | --localed | --locale)
912
    ac_prev=localedir ;;
913
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
914
    localedir=$ac_optarg ;;
915
916
  -localstatedir | --localstatedir | --localstatedi | --localstated \
917
  | --localstate | --localstat | --localsta | --localst | --locals)
918
    ac_prev=localstatedir ;;
919
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
920
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
921
    localstatedir=$ac_optarg ;;
922
923
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
924
    ac_prev=mandir ;;
925
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
926
    mandir=$ac_optarg ;;
927
928
  -nfp | --nfp | --nf)
929
    # Obsolete; use --without-fp.
930
    with_fp=no ;;
931
932
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
933
  | --no-cr | --no-c | -n)
934
    no_create=yes ;;
935
936
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
937
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
938
    no_recursion=yes ;;
939
940
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
941
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
942
  | --oldin | --oldi | --old | --ol | --o)
943
    ac_prev=oldincludedir ;;
944
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
945
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
946
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
947
    oldincludedir=$ac_optarg ;;
948
949
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
950
    ac_prev=prefix ;;
951
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
952
    prefix=$ac_optarg ;;
953
954
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
955
  | --program-pre | --program-pr | --program-p)
956
    ac_prev=program_prefix ;;
957
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
958
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
959
    program_prefix=$ac_optarg ;;
960
961
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
962
  | --program-suf | --program-su | --program-s)
963
    ac_prev=program_suffix ;;
964
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
965
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
966
    program_suffix=$ac_optarg ;;
967
968
  -program-transform-name | --program-transform-name \
969
  | --program-transform-nam | --program-transform-na \
970
  | --program-transform-n | --program-transform- \
971
  | --program-transform | --program-transfor \
972
  | --program-transfo | --program-transf \
973
  | --program-trans | --program-tran \
974
  | --progr-tra | --program-tr | --program-t)
975
    ac_prev=program_transform_name ;;
976
  -program-transform-name=* | --program-transform-name=* \
977
  | --program-transform-nam=* | --program-transform-na=* \
978
  | --program-transform-n=* | --program-transform-=* \
979
  | --program-transform=* | --program-transfor=* \
980
  | --program-transfo=* | --program-transf=* \
981
  | --program-trans=* | --program-tran=* \
982
  | --progr-tra=* | --program-tr=* | --program-t=*)
983
    program_transform_name=$ac_optarg ;;
984
985
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
986
    ac_prev=pdfdir ;;
987
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
988
    pdfdir=$ac_optarg ;;
989
990
  -psdir | --psdir | --psdi | --psd | --ps)
991
    ac_prev=psdir ;;
992
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
993
    psdir=$ac_optarg ;;
994
995
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
996
  | -silent | --silent | --silen | --sile | --sil)
997
    silent=yes ;;
998
999
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1000
    ac_prev=sbindir ;;
1001
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1002
  | --sbi=* | --sb=*)
1003
    sbindir=$ac_optarg ;;
1004
1005
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1006
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1007
  | --sharedst | --shareds | --shared | --share | --shar \
1008
  | --sha | --sh)
1009
    ac_prev=sharedstatedir ;;
1010
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1011
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1012
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1013
  | --sha=* | --sh=*)
1014
    sharedstatedir=$ac_optarg ;;
1015
1016
  -site | --site | --sit)
1017
    ac_prev=site ;;
1018
  -site=* | --site=* | --sit=*)
1019
    site=$ac_optarg ;;
1020
1021
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1022
    ac_prev=srcdir ;;
1023
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1024
    srcdir=$ac_optarg ;;
1025
1026
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1027
  | --syscon | --sysco | --sysc | --sys | --sy)
1028
    ac_prev=sysconfdir ;;
1029
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1030
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1031
    sysconfdir=$ac_optarg ;;
1032
1033
  -target | --target | --targe | --targ | --tar | --ta | --t)
1034
    ac_prev=target_alias ;;
1035
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1036
    target_alias=$ac_optarg ;;
1037
1038
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1039
    verbose=yes ;;
1040
1041
  -version | --version | --versio | --versi | --vers | -V)
1042
    ac_init_version=: ;;
1043
1044
  -with-* | --with-*)
1045
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1046
    # Reject names that are not valid shell variable names.
1047
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1048
      { echo "$as_me: error: invalid package name: $ac_package" >&2
1049
   { (exit 1); exit 1; }; }
1050
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1051
    eval with_$ac_package=\$ac_optarg ;;
1052
1053
  -without-* | --without-*)
1054
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1055
    # Reject names that are not valid shell variable names.
1056
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1057
      { echo "$as_me: error: invalid package name: $ac_package" >&2
1058
   { (exit 1); exit 1; }; }
1059
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1060
    eval with_$ac_package=no ;;
1061
1062
  --x)
1063
    # Obsolete; use --with-x.
1064
    with_x=yes ;;
1065
1066
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1067
  | --x-incl | --x-inc | --x-in | --x-i)
1068
    ac_prev=x_includes ;;
1069
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1070
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1071
    x_includes=$ac_optarg ;;
1072
1073
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1074
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1075
    ac_prev=x_libraries ;;
1076
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1077
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1078
    x_libraries=$ac_optarg ;;
1079
1080
  -*) { echo "$as_me: error: unrecognized option: $ac_option
1081
Try \`$0 --help' for more information." >&2
1082
   { (exit 1); exit 1; }; }
1083
    ;;
1084
1085
  *=*)
1086
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1087
    # Reject names that are not valid shell variable names.
1088
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1089
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1090
   { (exit 1); exit 1; }; }
1091
    eval $ac_envvar=\$ac_optarg
1092
    export $ac_envvar ;;
1093
1094
  *)
1095
    # FIXME: should be removed in autoconf 3.0.
1096
    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1097
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1098
      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1099
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1100
    ;;
1101
1102
  esac
1103
done
1104
1105
if test -n "$ac_prev"; then
1106
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1107
  { echo "$as_me: error: missing argument to $ac_option" >&2
1108
   { (exit 1); exit 1; }; }
1109
fi
1110
1111
# Be sure to have absolute directory names.
1112
for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1113
		datadir sysconfdir sharedstatedir localstatedir includedir \
1114
		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1115
		libdir localedir mandir
1116
do
1117
  eval ac_val=\$$ac_var
1118
  case $ac_val in
1119
    [\\/$]* | ?:[\\/]* )  continue;;
1120
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1121
  esac
1122
  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1123
   { (exit 1); exit 1; }; }
1124
done
1125
1126
# There might be people who depend on the old broken behavior: `$host'
1127
# used to hold the argument of --host etc.
1128
# FIXME: To remove some day.
1129
build=$build_alias
1130
host=$host_alias
1131
target=$target_alias
1132
1133
# FIXME: To remove some day.
1134
if test "x$host_alias" != x; then
1135
  if test "x$build_alias" = x; then
1136
    cross_compiling=maybe
1137
    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1138
    If a cross compiler is detected then cross compile mode will be used." >&2
1139
  elif test "x$build_alias" != "x$host_alias"; then
1140
    cross_compiling=yes
1141
  fi
1142
fi
1143
1144
ac_tool_prefix=
1145
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1146
1147
test "$silent" = yes && exec 6>/dev/null
1148
1149
1150
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1151
ac_ls_di=`ls -di .` &&
1152
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1153
  { echo "$as_me: error: Working directory cannot be determined" >&2
1154
   { (exit 1); exit 1; }; }
1155
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1156
  { echo "$as_me: error: pwd does not report name of working directory" >&2
1157
   { (exit 1); exit 1; }; }
1158
1159
1160
# Find the source files, if location was not specified.
1161
if test -z "$srcdir"; then
1162
  ac_srcdir_defaulted=yes
1163
  # Try the directory containing this script, then the parent directory.
1164
  ac_confdir=`$as_dirname -- "$0" ||
1165
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1166
	 X"$0" : 'X\(//\)[^/]' \| \
1167
	 X"$0" : 'X\(//\)$' \| \
1168
	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1169
echo X"$0" |
1170
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1171
	    s//\1/
1172
	    q
1173
	  }
1174
	  /^X\(\/\/\)[^/].*/{
1175
	    s//\1/
1176
	    q
1177
	  }
1178
	  /^X\(\/\/\)$/{
1179
	    s//\1/
1180
	    q
1181
	  }
1182
	  /^X\(\/\).*/{
1183
	    s//\1/
1184
	    q
1185
	  }
1186
	  s/.*/./; q'`
1187
  srcdir=$ac_confdir
1188
  if test ! -r "$srcdir/$ac_unique_file"; then
1189
    srcdir=..
1190
  fi
1191
else
1192
  ac_srcdir_defaulted=no
1193
fi
1194
if test ! -r "$srcdir/$ac_unique_file"; then
1195
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1196
  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1197
   { (exit 1); exit 1; }; }
1198
fi
1199
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1200
ac_abs_confdir=`(
1201
	cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1202
   { (exit 1); exit 1; }; }
1203
	pwd)`
1204
# When building in place, set srcdir=.
1205
if test "$ac_abs_confdir" = "$ac_pwd"; then
1206
  srcdir=.
1207
fi
1208
# Remove unnecessary trailing slashes from srcdir.
1209
# Double slashes in file names in object file debugging info
1210
# mess up M-x gdb in Emacs.
1211
case $srcdir in
1212
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1213
esac
1214
for ac_var in $ac_precious_vars; do
1215
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1216
  eval ac_env_${ac_var}_value=\$${ac_var}
1217
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1218
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1219
done
1220
1221
#
1222
# Report the --help message.
1223
#
1224
if test "$ac_init_help" = "long"; then
1225
  # Omit some internal or obsolete options to make the list less imposing.
1226
  # This message is too long to be a string in the A/UX 3.1 sh.
1227
  cat <<_ACEOF
1228
\`configure' configures ltspfs 0.4.2 to adapt to many kinds of systems.
1229
1230
Usage: $0 [OPTION]... [VAR=VALUE]...
1231
1232
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1233
VAR=VALUE.  See below for descriptions of some of the useful variables.
1234
1235
Defaults for the options are specified in brackets.
1236
1237
Configuration:
1238
  -h, --help              display this help and exit
1239
      --help=short        display options specific to this package
1240
      --help=recursive    display the short help of all the included packages
1241
  -V, --version           display version information and exit
1242
  -q, --quiet, --silent   do not print \`checking...' messages
1243
      --cache-file=FILE   cache test results in FILE [disabled]
1244
  -C, --config-cache      alias for \`--cache-file=config.cache'
1245
  -n, --no-create         do not create output files
1246
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1247
1248
Installation directories:
1249
  --prefix=PREFIX         install architecture-independent files in PREFIX
1250
			  [$ac_default_prefix]
1251
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1252
			  [PREFIX]
1253
1254
By default, \`make install' will install all the files in
1255
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1256
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1257
for instance \`--prefix=\$HOME'.
1258
1259
For better control, use the options below.
1260
1261
Fine tuning of the installation directories:
1262
  --bindir=DIR           user executables [EPREFIX/bin]
1263
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
1264
  --libexecdir=DIR       program executables [EPREFIX/libexec]
1265
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1266
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1267
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1268
  --libdir=DIR           object code libraries [EPREFIX/lib]
1269
  --includedir=DIR       C header files [PREFIX/include]
1270
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1271
  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
1272
  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
1273
  --infodir=DIR          info documentation [DATAROOTDIR/info]
1274
  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
1275
  --mandir=DIR           man documentation [DATAROOTDIR/man]
1276
  --docdir=DIR           documentation root @<:@DATAROOTDIR/doc/ltspfs@:>@
1277
  --htmldir=DIR          html documentation [DOCDIR]
1278
  --dvidir=DIR           dvi documentation [DOCDIR]
1279
  --pdfdir=DIR           pdf documentation [DOCDIR]
1280
  --psdir=DIR            ps documentation [DOCDIR]
1281
_ACEOF
1282
1283
  cat <<\_ACEOF
1284
1285
Program names:
1286
  --program-prefix=PREFIX            prepend PREFIX to installed program names
1287
  --program-suffix=SUFFIX            append SUFFIX to installed program names
1288
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1289
_ACEOF
1290
fi
1291
1292
if test -n "$ac_init_help"; then
1293
  case $ac_init_help in
1294
     short | recursive ) echo "Configuration of ltspfs 0.4.2:";;
1295
   esac
1296
  cat <<\_ACEOF
1297
1298
Optional Features:
1299
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1300
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1301
  --enable-maintainer-mode  enable make rules and dependencies not useful
1302
			  (and sometimes confusing) to the casual installer
1303
  --disable-dependency-tracking  speeds up one-time build
1304
  --enable-dependency-tracking   do not reject slow dependency extractors
1305
1306
Some influential environment variables:
1307
  CC          C compiler command
1308
  CFLAGS      C compiler flags
1309
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1310
              nonstandard directory <lib dir>
1311
  LIBS        libraries to pass to the linker, e.g. -l<library>
1312
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1313
              you have headers in a nonstandard directory <include dir>
1314
  PKG_CONFIG  path to pkg-config utility
1315
  LTSPFS_CFLAGS 
1316
              C compiler flags for LTSPFS, overriding pkg-config
1317
  LTSPFS_LIBS linker flags for LTSPFS, overriding pkg-config
1318
  CPP         C preprocessor
1319
  GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1320
  GLIB_LIBS   linker flags for GLIB, overriding pkg-config
1321
  GOBJECT_CFLAGS 
1322
              C compiler flags for GOBJECT, overriding pkg-config
1323
  GOBJECT_LIBS 
1324
              linker flags for GOBJECT, overriding pkg-config
1325
1326
Use these variables to override the choices made by `configure' or to help
1327
it to find libraries and programs with nonstandard names/locations.
1328
1329
Report bugs to <sbalneav@ltsp.org>.
1330
_ACEOF
1331
ac_status=$?
1332
fi
1333
1334
if test "$ac_init_help" = "recursive"; then
1335
  # If there are subdirs, report their specific --help.
1336
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1337
    test -d "$ac_dir" || continue
1338
    ac_builddir=.
1339
1340
case "$ac_dir" in
1341
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1342
*)
1343
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1344
  # A ".." for each directory in $ac_dir_suffix.
1345
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1346
  case $ac_top_builddir_sub in
1347
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1348
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1349
  esac ;;
1350
esac
1351
ac_abs_top_builddir=$ac_pwd
1352
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1353
# for backward compatibility:
1354
ac_top_builddir=$ac_top_build_prefix
1355
1356
case $srcdir in
1357
  .)  # We are building in place.
1358
    ac_srcdir=.
1359
    ac_top_srcdir=$ac_top_builddir_sub
1360
    ac_abs_top_srcdir=$ac_pwd ;;
1361
  [\\/]* | ?:[\\/]* )  # Absolute name.
1362
    ac_srcdir=$srcdir$ac_dir_suffix;
1363
    ac_top_srcdir=$srcdir
1364
    ac_abs_top_srcdir=$srcdir ;;
1365
  *) # Relative name.
1366
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1367
    ac_top_srcdir=$ac_top_build_prefix$srcdir
1368
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1369
esac
1370
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1371
1372
    cd "$ac_dir" || { ac_status=$?; continue; }
1373
    # Check for guested configure.
1374
    if test -f "$ac_srcdir/configure.gnu"; then
1375
      echo &&
1376
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1377
    elif test -f "$ac_srcdir/configure"; then
1378
      echo &&
1379
      $SHELL "$ac_srcdir/configure" --help=recursive
1380
    else
1381
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1382
    fi || ac_status=$?
1383
    cd "$ac_pwd" || { ac_status=$?; break; }
1384
  done
1385
fi
1386
1387
test -n "$ac_init_help" && exit $ac_status
1388
if $ac_init_version; then
1389
  cat <<\_ACEOF
1390
ltspfs configure 0.4.2
1391
generated by GNU Autoconf 2.61
1392
1393
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1394
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1395
This configure script is free software; the Free Software Foundation
1396
gives unlimited permission to copy, distribute and modify it.
1397
_ACEOF
1398
  exit
1399
fi
1400
cat >config.log <<_ACEOF
1401
This file contains any messages produced by compilers while
1402
running configure, to aid debugging if configure makes a mistake.
1403
1404
It was created by ltspfs $as_me 0.4.2, which was
1405
generated by GNU Autoconf 2.61.  Invocation command line was
1406
1407
  $ $0 $@
1408
1409
_ACEOF
1410
exec 5>>config.log
1411
{
1412
cat <<_ASUNAME
1413
@%:@@%:@ --------- @%:@@%:@
1414
@%:@@%:@ Platform. @%:@@%:@
1415
@%:@@%:@ --------- @%:@@%:@
1416
1417
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1418
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1419
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1420
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1421
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1422
1423
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1424
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1425
1426
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1427
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1428
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1429
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1430
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1431
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1432
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1433
1434
_ASUNAME
1435
1436
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1437
for as_dir in $PATH
1438
do
1439
  IFS=$as_save_IFS
1440
  test -z "$as_dir" && as_dir=.
1441
  echo "PATH: $as_dir"
1442
done
1443
IFS=$as_save_IFS
1444
1445
} >&5
1446
1447
cat >&5 <<_ACEOF
1448
1449
1450
@%:@@%:@ ----------- @%:@@%:@
1451
@%:@@%:@ Core tests. @%:@@%:@
1452
@%:@@%:@ ----------- @%:@@%:@
1453
1454
_ACEOF
1455
1456
1457
# Keep a trace of the command line.
1458
# Strip out --no-create and --no-recursion so they do not pile up.
1459
# Strip out --silent because we don't want to record it for future runs.
1460
# Also quote any args containing shell meta-characters.
1461
# Make two passes to allow for proper duplicate-argument suppression.
1462
ac_configure_args=
1463
ac_configure_args0=
1464
ac_configure_args1=
1465
ac_must_keep_next=false
1466
for ac_pass in 1 2
1467
do
1468
  for ac_arg
1469
  do
1470
    case $ac_arg in
1471
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1472
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1473
    | -silent | --silent | --silen | --sile | --sil)
1474
      continue ;;
1475
    *\'*)
1476
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1477
    esac
1478
    case $ac_pass in
1479
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1480
    2)
1481
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1482
      if test $ac_must_keep_next = true; then
1483
	ac_must_keep_next=false # Got value, back to normal.
1484
      else
1485
	case $ac_arg in
1486
	  *=* | --config-cache | -C | -disable-* | --disable-* \
1487
	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1488
	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1489
	  | -with-* | --with-* | -without-* | --without-* | --x)
1490
	    case "$ac_configure_args0 " in
1491
	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1492
	    esac
1493
	    ;;
1494
	  -* ) ac_must_keep_next=true ;;
1495
	esac
1496
      fi
1497
      ac_configure_args="$ac_configure_args '$ac_arg'"
1498
      ;;
1499
    esac
1500
  done
1501
done
1502
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1503
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1504
1505
# When interrupted or exit'd, cleanup temporary files, and complete
1506
# config.log.  We remove comments because anyway the quotes in there
1507
# would cause problems or look ugly.
1508
# WARNING: Use '\'' to represent an apostrophe within the trap.
1509
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1510
trap 'exit_status=$?
1511
  # Save into config.log some information that might help in debugging.
1512
  {
1513
    echo
1514
1515
    cat <<\_ASBOX
1516
@%:@@%:@ ---------------- @%:@@%:@
1517
@%:@@%:@ Cache variables. @%:@@%:@
1518
@%:@@%:@ ---------------- @%:@@%:@
1519
_ASBOX
1520
    echo
1521
    # The following way of writing the cache mishandles newlines in values,
1522
(
1523
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1524
    eval ac_val=\$$ac_var
1525
    case $ac_val in #(
1526
    *${as_nl}*)
1527
      case $ac_var in #(
1528
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1529
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1530
      esac
1531
      case $ac_var in #(
1532
      _ | IFS | as_nl) ;; #(
1533
      *) $as_unset $ac_var ;;
1534
      esac ;;
1535
    esac
1536
  done
1537
  (set) 2>&1 |
1538
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1539
    *${as_nl}ac_space=\ *)
1540
      sed -n \
1541
	"s/'\''/'\''\\\\'\'''\''/g;
1542
	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1543
      ;; #(
1544
    *)
1545
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1546
      ;;
1547
    esac |
1548
    sort
1549
)
1550
    echo
1551
1552
    cat <<\_ASBOX
1553
@%:@@%:@ ----------------- @%:@@%:@
1554
@%:@@%:@ Output variables. @%:@@%:@
1555
@%:@@%:@ ----------------- @%:@@%:@
1556
_ASBOX
1557
    echo
1558
    for ac_var in $ac_subst_vars
1559
    do
1560
      eval ac_val=\$$ac_var
1561
      case $ac_val in
1562
      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1563
      esac
1564
      echo "$ac_var='\''$ac_val'\''"
1565
    done | sort
1566
    echo
1567
1568
    if test -n "$ac_subst_files"; then
1569
      cat <<\_ASBOX
1570
@%:@@%:@ ------------------- @%:@@%:@
1571
@%:@@%:@ File substitutions. @%:@@%:@
1572
@%:@@%:@ ------------------- @%:@@%:@
1573
_ASBOX
1574
      echo
1575
      for ac_var in $ac_subst_files
1576
      do
1577
	eval ac_val=\$$ac_var
1578
	case $ac_val in
1579
	*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1580
	esac
1581
	echo "$ac_var='\''$ac_val'\''"
1582
      done | sort
1583
      echo
1584
    fi
1585
1586
    if test -s confdefs.h; then
1587
      cat <<\_ASBOX
1588
@%:@@%:@ ----------- @%:@@%:@
1589
@%:@@%:@ confdefs.h. @%:@@%:@
1590
@%:@@%:@ ----------- @%:@@%:@
1591
_ASBOX
1592
      echo
1593
      cat confdefs.h
1594
      echo
1595
    fi
1596
    test "$ac_signal" != 0 &&
1597
      echo "$as_me: caught signal $ac_signal"
1598
    echo "$as_me: exit $exit_status"
1599
  } >&5
1600
  rm -f core *.core core.conftest.* &&
1601
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1602
    exit $exit_status
1603
' 0
1604
for ac_signal in 1 2 13 15; do
1605
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1606
done
1607
ac_signal=0
1608
1609
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1610
rm -f -r conftest* confdefs.h
1611
1612
# Predefined preprocessor variables.
1613
1614
cat >>confdefs.h <<_ACEOF
1615
@%:@define PACKAGE_NAME "$PACKAGE_NAME"
1616
_ACEOF
1617
1618
1619
cat >>confdefs.h <<_ACEOF
1620
@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1621
_ACEOF
1622
1623
1624
cat >>confdefs.h <<_ACEOF
1625
@%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
1626
_ACEOF
1627
1628
1629
cat >>confdefs.h <<_ACEOF
1630
@%:@define PACKAGE_STRING "$PACKAGE_STRING"
1631
_ACEOF
1632
1633
1634
cat >>confdefs.h <<_ACEOF
1635
@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1636
_ACEOF
1637
1638
1639
# Let the site file select an alternate cache file if it wants to.
1640
# Prefer explicitly selected file to automatically selected ones.
1641
if test -n "$CONFIG_SITE"; then
1642
  set x "$CONFIG_SITE"
1643
elif test "x$prefix" != xNONE; then
1644
  set x "$prefix/share/config.site" "$prefix/etc/config.site"
1645
else
1646
  set x "$ac_default_prefix/share/config.site" \
1647
	"$ac_default_prefix/etc/config.site"
1648
fi
1649
shift
1650
for ac_site_file
1651
do
1652
  if test -r "$ac_site_file"; then
1653
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1654
echo "$as_me: loading site script $ac_site_file" >&6;}
1655
    sed 's/^/| /' "$ac_site_file" >&5
1656
    . "$ac_site_file"
1657
  fi
1658
done
1659
1660
if test -r "$cache_file"; then
1661
  # Some versions of bash will fail to source /dev/null (special
1662
  # files actually), so we avoid doing that.
1663
  if test -f "$cache_file"; then
1664
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1665
echo "$as_me: loading cache $cache_file" >&6;}
1666
    case $cache_file in
1667
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1668
      *)                      . "./$cache_file";;
1669
    esac
1670
  fi
1671
else
1672
  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1673
echo "$as_me: creating cache $cache_file" >&6;}
1674
  >$cache_file
1675
fi
1676
1677
# Check that the precious variables saved in the cache have kept the same
1678
# value.
1679
ac_cache_corrupted=false
1680
for ac_var in $ac_precious_vars; do
1681
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1682
  eval ac_new_set=\$ac_env_${ac_var}_set
1683
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1684
  eval ac_new_val=\$ac_env_${ac_var}_value
1685
  case $ac_old_set,$ac_new_set in
1686
    set,)
1687
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1688
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1689
      ac_cache_corrupted=: ;;
1690
    ,set)
1691
      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1692
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1693
      ac_cache_corrupted=: ;;
1694
    ,);;
1695
    *)
1696
      if test "x$ac_old_val" != "x$ac_new_val"; then
1697
	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1698
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1699
	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1700
echo "$as_me:   former value:  $ac_old_val" >&2;}
1701
	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1702
echo "$as_me:   current value: $ac_new_val" >&2;}
1703
	ac_cache_corrupted=:
1704
      fi;;
1705
  esac
1706
  # Pass precious variables to config.status.
1707
  if test "$ac_new_set" = set; then
1708
    case $ac_new_val in
1709
    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1710
    *) ac_arg=$ac_var=$ac_new_val ;;
1711
    esac
1712
    case " $ac_configure_args " in
1713
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1714
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1715
    esac
1716
  fi
1717
done
1718
if $ac_cache_corrupted; then
1719
  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1720
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1721
  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1722
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1723
   { (exit 1); exit 1; }; }
1724
fi
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
ac_ext=c
1751
ac_cpp='$CPP $CPPFLAGS'
1752
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1753
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1754
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1755
1756
1757
1758
am__api_version="1.9"
1759
ac_aux_dir=
1760
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1761
  if test -f "$ac_dir/install-sh"; then
1762
    ac_aux_dir=$ac_dir
1763
    ac_install_sh="$ac_aux_dir/install-sh -c"
1764
    break
1765
  elif test -f "$ac_dir/install.sh"; then
1766
    ac_aux_dir=$ac_dir
1767
    ac_install_sh="$ac_aux_dir/install.sh -c"
1768
    break
1769
  elif test -f "$ac_dir/shtool"; then
1770
    ac_aux_dir=$ac_dir
1771
    ac_install_sh="$ac_aux_dir/shtool install -c"
1772
    break
1773
  fi
1774
done
1775
if test -z "$ac_aux_dir"; then
1776
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1777
echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1778
   { (exit 1); exit 1; }; }
1779
fi
1780
1781
# These three variables are undocumented and unsupported,
1782
# and are intended to be withdrawn in a future Autoconf release.
1783
# They can cause serious problems if a builder's source tree is in a directory
1784
# whose full name contains unusual characters.
1785
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
1786
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
1787
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
1788
1789
1790
# Find a good install program.  We prefer a C program (faster),
1791
# so one script is as good as another.  But avoid the broken or
1792
# incompatible versions:
1793
# SysV /etc/install, /usr/sbin/install
1794
# SunOS /usr/etc/install
1795
# IRIX /sbin/install
1796
# AIX /bin/install
1797
# AmigaOS /C/install, which installs bootblocks on floppy discs
1798
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1799
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1800
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1801
# OS/2's system install, which has a completely different semantic
1802
# ./install, which can be erroneously created by make from ./install.sh.
1803
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1804
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1805
if test -z "$INSTALL"; then
1806
if test "${ac_cv_path_install+set}" = set; then
1807
  echo $ECHO_N "(cached) $ECHO_C" >&6
1808
else
1809
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1810
for as_dir in $PATH
1811
do
1812
  IFS=$as_save_IFS
1813
  test -z "$as_dir" && as_dir=.
1814
  # Account for people who put trailing slashes in PATH elements.
1815
case $as_dir/ in
1816
  ./ | .// | /cC/* | \
1817
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1818
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1819
  /usr/ucb/* ) ;;
1820
  *)
1821
    # OSF1 and SCO ODT 3.0 have their own names for install.
1822
    # Don't use installbsd from OSF since it installs stuff as root
1823
    # by default.
1824
    for ac_prog in ginstall scoinst install; do
1825
      for ac_exec_ext in '' $ac_executable_extensions; do
1826
	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1827
	  if test $ac_prog = install &&
1828
	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1829
	    # AIX install.  It has an incompatible calling convention.
1830
	    :
1831
	  elif test $ac_prog = install &&
1832
	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1833
	    # program-specific install script used by HP pwplus--don't use.
1834
	    :
1835
	  else
1836
	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1837
	    break 3
1838
	  fi
1839
	fi
1840
      done
1841
    done
1842
    ;;
1843
esac
1844
done
1845
IFS=$as_save_IFS
1846
1847
1848
fi
1849
  if test "${ac_cv_path_install+set}" = set; then
1850
    INSTALL=$ac_cv_path_install
1851
  else
1852
    # As a last resort, use the slow shell script.  Don't cache a
1853
    # value for INSTALL within a source directory, because that will
1854
    # break other packages using the cache if that directory is
1855
    # removed, or if the value is a relative name.
1856
    INSTALL=$ac_install_sh
1857
  fi
1858
fi
1859
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
1860
echo "${ECHO_T}$INSTALL" >&6; }
1861
1862
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1863
# It thinks the first close brace ends the variable substitution.
1864
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1865
1866
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1867
1868
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1869
1870
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1871
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1872
# Just in case
1873
sleep 1
1874
echo timestamp > conftest.file
1875
# Do `set' in a subshell so we don't clobber the current shell's
1876
# arguments.  Must try -L first in case configure is actually a
1877
# symlink; some systems play weird games with the mod time of symlinks
1878
# (eg FreeBSD returns the mod time of the symlink's containing
1879
# directory).
1880
if (
1881
   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1882
   if test "$*" = "X"; then
1883
      # -L didn't work.
1884
      set X `ls -t $srcdir/configure conftest.file`
1885
   fi
1886
   rm -f conftest.file
1887
   if test "$*" != "X $srcdir/configure conftest.file" \
1888
      && test "$*" != "X conftest.file $srcdir/configure"; then
1889
1890
      # If neither matched, then we have a broken ls.  This can happen
1891
      # if, for instance, CONFIG_SHELL is bash and it inherits a
1892
      # broken ls alias from the environment.  This has actually
1893
      # happened.  Such a system could not be considered "sane".
1894
      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1895
alias in your environment" >&5
1896
echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1897
alias in your environment" >&2;}
1898
   { (exit 1); exit 1; }; }
1899
   fi
1900
1901
   test "$2" = conftest.file
1902
   )
1903
then
1904
   # Ok.
1905
   :
1906
else
1907
   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1908
Check your system clock" >&5
1909
echo "$as_me: error: newly created file is older than distributed files!
1910
Check your system clock" >&2;}
1911
   { (exit 1); exit 1; }; }
1912
fi
1913
{ echo "$as_me:$LINENO: result: yes" >&5
1914
echo "${ECHO_T}yes" >&6; }
1915
test "$program_prefix" != NONE &&
1916
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
1917
# Use a double $ so make ignores it.
1918
test "$program_suffix" != NONE &&
1919
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1920
# Double any \ or $.  echo might interpret backslashes.
1921
# By default was `s,x,x', remove it if useless.
1922
cat <<\_ACEOF >conftest.sed
1923
s/[\\$]/&&/g;s/;s,x,x,$//
1924
_ACEOF
1925
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1926
rm -f conftest.sed
1927
1928
# expand $ac_aux_dir to an absolute path
1929
am_aux_dir=`cd $ac_aux_dir && pwd`
1930
1931
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1932
# Use eval to expand $SHELL
1933
if eval "$MISSING --run true"; then
1934
  am_missing_run="$MISSING --run "
1935
else
1936
  am_missing_run=
1937
  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1938
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1939
fi
1940
1941
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1942
  # We used to keeping the `.' as first argument, in order to
1943
  # allow $(mkdir_p) to be used without argument.  As in
1944
  #   $(mkdir_p) $(somedir)
1945
  # where $(somedir) is conditionally defined.  However this is wrong
1946
  # for two reasons:
1947
  #  1. if the package is installed by a user who cannot write `.'
1948
  #     make install will fail,
1949
  #  2. the above comment should most certainly read
1950
  #     $(mkdir_p) $(DESTDIR)$(somedir)
1951
  #     so it does not work when $(somedir) is undefined and
1952
  #     $(DESTDIR) is not.
1953
  #  To support the latter case, we have to write
1954
  #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1955
  #  so the `.' trick is pointless.
1956
  mkdir_p='mkdir -p --'
1957
else
1958
  # On NextStep and OpenStep, the `mkdir' command does not
1959
  # recognize any option.  It will interpret all options as
1960
  # directories to create, and then abort because `.' already
1961
  # exists.
1962
  for d in ./-p ./--version;
1963
  do
1964
    test -d $d && rmdir $d
1965
  done
1966
  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1967
  if test -f "$ac_aux_dir/mkinstalldirs"; then
1968
    mkdir_p='$(mkinstalldirs)'
1969
  else
1970
    mkdir_p='$(install_sh) -d'
1971
  fi
1972
fi
1973
1974
for ac_prog in gawk mawk nawk awk
1975
do
1976
  # Extract the first word of "$ac_prog", so it can be a program name with args.
1977
set dummy $ac_prog; ac_word=$2
1978
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1979
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1980
if test "${ac_cv_prog_AWK+set}" = set; then
1981
  echo $ECHO_N "(cached) $ECHO_C" >&6
1982
else
1983
  if test -n "$AWK"; then
1984
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
1985
else
1986
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1987
for as_dir in $PATH
1988
do
1989
  IFS=$as_save_IFS
1990
  test -z "$as_dir" && as_dir=.
1991
  for ac_exec_ext in '' $ac_executable_extensions; do
1992
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1993
    ac_cv_prog_AWK="$ac_prog"
1994
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1995
    break 2
1996
  fi
1997
done
1998
done
1999
IFS=$as_save_IFS
2000
2001
fi
2002
fi
2003
AWK=$ac_cv_prog_AWK
2004
if test -n "$AWK"; then
2005
  { echo "$as_me:$LINENO: result: $AWK" >&5
2006
echo "${ECHO_T}$AWK" >&6; }
2007
else
2008
  { echo "$as_me:$LINENO: result: no" >&5
2009
echo "${ECHO_T}no" >&6; }
2010
fi
2011
2012
2013
  test -n "$AWK" && break
2014
done
2015
2016
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2017
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2018
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2019
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2020
  echo $ECHO_N "(cached) $ECHO_C" >&6
2021
else
2022
  cat >conftest.make <<\_ACEOF
2023
SHELL = /bin/sh
2024
all:
2025
	@echo '@@@%%%=$(MAKE)=@@@%%%'
2026
_ACEOF
2027
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2028
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2029
  *@@@%%%=?*=@@@%%%*)
2030
    eval ac_cv_prog_make_${ac_make}_set=yes;;
2031
  *)
2032
    eval ac_cv_prog_make_${ac_make}_set=no;;
2033
esac
2034
rm -f conftest.make
2035
fi
2036
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2037
  { echo "$as_me:$LINENO: result: yes" >&5
2038
echo "${ECHO_T}yes" >&6; }
2039
  SET_MAKE=
2040
else
2041
  { echo "$as_me:$LINENO: result: no" >&5
2042
echo "${ECHO_T}no" >&6; }
2043
  SET_MAKE="MAKE=${MAKE-make}"
2044
fi
2045
2046
rm -rf .tst 2>/dev/null
2047
mkdir .tst 2>/dev/null
2048
if test -d .tst; then
2049
  am__leading_dot=.
2050
else
2051
  am__leading_dot=_
2052
fi
2053
rmdir .tst 2>/dev/null
2054
2055
# test to see if srcdir already configured
2056
if test "`cd $srcdir && pwd`" != "`pwd`" &&
2057
   test -f $srcdir/config.status; then
2058
  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2059
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2060
   { (exit 1); exit 1; }; }
2061
fi
2062
2063
# test whether we have cygpath
2064
if test -z "$CYGPATH_W"; then
2065
  if (cygpath --version) >/dev/null 2>/dev/null; then
2066
    CYGPATH_W='cygpath -w'
2067
  else
2068
    CYGPATH_W=echo
2069
  fi
2070
fi
2071
2072
2073
# Define the identity of the package.
2074
 PACKAGE='ltspfs'
2075
 VERSION='0.4.2'
2076
2077
2078
cat >>confdefs.h <<_ACEOF
2079
@%:@define PACKAGE "$PACKAGE"
2080
_ACEOF
2081
2082
 
2083
cat >>confdefs.h <<_ACEOF
2084
@%:@define VERSION "$VERSION"
2085
_ACEOF
2086
2087
# Some tools Automake needs.
2088
2089
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2090
2091
2092
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2093
2094
2095
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2096
2097
2098
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2099
2100
2101
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2102
2103
install_sh=${install_sh-"$am_aux_dir/install-sh"}
2104
2105
# Installed binaries are usually stripped using `strip' when the user
2106
# run `make install-strip'.  However `strip' might not be the right
2107
# tool to use in cross-compilation environments, therefore Automake
2108
# will honor the `STRIP' environment variable to overrule this program.
2109
if test "$cross_compiling" != no; then
2110
  if test -n "$ac_tool_prefix"; then
2111
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2112
set dummy ${ac_tool_prefix}strip; ac_word=$2
2113
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2114
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2115
if test "${ac_cv_prog_STRIP+set}" = set; then
2116
  echo $ECHO_N "(cached) $ECHO_C" >&6
2117
else
2118
  if test -n "$STRIP"; then
2119
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2120
else
2121
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2122
for as_dir in $PATH
2123
do
2124
  IFS=$as_save_IFS
2125
  test -z "$as_dir" && as_dir=.
2126
  for ac_exec_ext in '' $ac_executable_extensions; do
2127
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2128
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2129
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2130
    break 2
2131
  fi
2132
done
2133
done
2134
IFS=$as_save_IFS
2135
2136
fi
2137
fi
2138
STRIP=$ac_cv_prog_STRIP
2139
if test -n "$STRIP"; then
2140
  { echo "$as_me:$LINENO: result: $STRIP" >&5
2141
echo "${ECHO_T}$STRIP" >&6; }
2142
else
2143
  { echo "$as_me:$LINENO: result: no" >&5
2144
echo "${ECHO_T}no" >&6; }
2145
fi
2146
2147
2148
fi
2149
if test -z "$ac_cv_prog_STRIP"; then
2150
  ac_ct_STRIP=$STRIP
2151
  # Extract the first word of "strip", so it can be a program name with args.
2152
set dummy strip; ac_word=$2
2153
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2154
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2155
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2156
  echo $ECHO_N "(cached) $ECHO_C" >&6
2157
else
2158
  if test -n "$ac_ct_STRIP"; then
2159
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2160
else
2161
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2162
for as_dir in $PATH
2163
do
2164
  IFS=$as_save_IFS
2165
  test -z "$as_dir" && as_dir=.
2166
  for ac_exec_ext in '' $ac_executable_extensions; do
2167
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2168
    ac_cv_prog_ac_ct_STRIP="strip"
2169
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2170
    break 2
2171
  fi
2172
done
2173
done
2174
IFS=$as_save_IFS
2175
2176
fi
2177
fi
2178
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2179
if test -n "$ac_ct_STRIP"; then
2180
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2181
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2182
else
2183
  { echo "$as_me:$LINENO: result: no" >&5
2184
echo "${ECHO_T}no" >&6; }
2185
fi
2186
2187
  if test "x$ac_ct_STRIP" = x; then
2188
    STRIP=":"
2189
  else
2190
    case $cross_compiling:$ac_tool_warned in
2191
yes:)
2192
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2193
whose name does not start with the host triplet.  If you think this
2194
configuration is useful to you, please write to autoconf@gnu.org." >&5
2195
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2196
whose name does not start with the host triplet.  If you think this
2197
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2198
ac_tool_warned=yes ;;
2199
esac
2200
    STRIP=$ac_ct_STRIP
2201
  fi
2202
else
2203
  STRIP="$ac_cv_prog_STRIP"
2204
fi
2205
2206
fi
2207
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2208
2209
# We need awk for the "check" target.  The system "awk" is bad on
2210
# some platforms.
2211
# Always define AMTAR for backward compatibility.
2212
2213
AMTAR=${AMTAR-"${am_missing_run}tar"}
2214
2215
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2216
2217
2218
2219
2220
2221
2222
ac_config_headers="$ac_config_headers config.h"
2223
2224
{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2225
echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
2226
    # Check whether --enable-maintainer-mode was given.
2227
if test "${enable_maintainer_mode+set}" = set; then
2228
  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2229
else
2230
  USE_MAINTAINER_MODE=no
2231
fi
2232
2233
  { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2234
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
2235
   
2236
2237
if test $USE_MAINTAINER_MODE = yes; then
2238
  MAINTAINER_MODE_TRUE=
2239
  MAINTAINER_MODE_FALSE='#'
2240
else
2241
  MAINTAINER_MODE_TRUE='#'
2242
  MAINTAINER_MODE_FALSE=
2243
fi
2244
2245
  MAINT=$MAINTAINER_MODE_TRUE
2246
  
2247
2248
# Checks for programs.
2249
ac_ext=c
2250
ac_cpp='$CPP $CPPFLAGS'
2251
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2252
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2253
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2254
if test -n "$ac_tool_prefix"; then
2255
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2256
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2257
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2258
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2259
if test "${ac_cv_prog_CC+set}" = set; then
2260
  echo $ECHO_N "(cached) $ECHO_C" >&6
2261
else
2262
  if test -n "$CC"; then
2263
  ac_cv_prog_CC="$CC" # Let the user override the test.
2264
else
2265
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2266
for as_dir in $PATH
2267
do
2268
  IFS=$as_save_IFS
2269
  test -z "$as_dir" && as_dir=.
2270
  for ac_exec_ext in '' $ac_executable_extensions; do
2271
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2272
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2273
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2274
    break 2
2275
  fi
2276
done
2277
done
2278
IFS=$as_save_IFS
2279
2280
fi
2281
fi
2282
CC=$ac_cv_prog_CC
2283
if test -n "$CC"; then
2284
  { echo "$as_me:$LINENO: result: $CC" >&5
2285
echo "${ECHO_T}$CC" >&6; }
2286
else
2287
  { echo "$as_me:$LINENO: result: no" >&5
2288
echo "${ECHO_T}no" >&6; }
2289
fi
2290
2291
2292
fi
2293
if test -z "$ac_cv_prog_CC"; then
2294
  ac_ct_CC=$CC
2295
  # Extract the first word of "gcc", so it can be a program name with args.
2296
set dummy gcc; ac_word=$2
2297
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2298
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2299
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2300
  echo $ECHO_N "(cached) $ECHO_C" >&6
2301
else
2302
  if test -n "$ac_ct_CC"; then
2303
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2304
else
2305
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2306
for as_dir in $PATH
2307
do
2308
  IFS=$as_save_IFS
2309
  test -z "$as_dir" && as_dir=.
2310
  for ac_exec_ext in '' $ac_executable_extensions; do
2311
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2312
    ac_cv_prog_ac_ct_CC="gcc"
2313
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2314
    break 2
2315
  fi
2316
done
2317
done
2318
IFS=$as_save_IFS
2319
2320
fi
2321
fi
2322
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2323
if test -n "$ac_ct_CC"; then
2324
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2325
echo "${ECHO_T}$ac_ct_CC" >&6; }
2326
else
2327
  { echo "$as_me:$LINENO: result: no" >&5
2328
echo "${ECHO_T}no" >&6; }
2329
fi
2330
2331
  if test "x$ac_ct_CC" = x; then
2332
    CC=""
2333
  else
2334
    case $cross_compiling:$ac_tool_warned in
2335
yes:)
2336
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2337
whose name does not start with the host triplet.  If you think this
2338
configuration is useful to you, please write to autoconf@gnu.org." >&5
2339
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2340
whose name does not start with the host triplet.  If you think this
2341
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2342
ac_tool_warned=yes ;;
2343
esac
2344
    CC=$ac_ct_CC
2345
  fi
2346
else
2347
  CC="$ac_cv_prog_CC"
2348
fi
2349
2350
if test -z "$CC"; then
2351
          if test -n "$ac_tool_prefix"; then
2352
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2353
set dummy ${ac_tool_prefix}cc; ac_word=$2
2354
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2355
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2356
if test "${ac_cv_prog_CC+set}" = set; then
2357
  echo $ECHO_N "(cached) $ECHO_C" >&6
2358
else
2359
  if test -n "$CC"; then
2360
  ac_cv_prog_CC="$CC" # Let the user override the test.
2361
else
2362
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2363
for as_dir in $PATH
2364
do
2365
  IFS=$as_save_IFS
2366
  test -z "$as_dir" && as_dir=.
2367
  for ac_exec_ext in '' $ac_executable_extensions; do
2368
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2369
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2370
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2371
    break 2
2372
  fi
2373
done
2374
done
2375
IFS=$as_save_IFS
2376
2377
fi
2378
fi
2379
CC=$ac_cv_prog_CC
2380
if test -n "$CC"; then
2381
  { echo "$as_me:$LINENO: result: $CC" >&5
2382
echo "${ECHO_T}$CC" >&6; }
2383
else
2384
  { echo "$as_me:$LINENO: result: no" >&5
2385
echo "${ECHO_T}no" >&6; }
2386
fi
2387
2388
2389
  fi
2390
fi
2391
if test -z "$CC"; then
2392
  # Extract the first word of "cc", so it can be a program name with args.
2393
set dummy cc; ac_word=$2
2394
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2395
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2396
if test "${ac_cv_prog_CC+set}" = set; then
2397
  echo $ECHO_N "(cached) $ECHO_C" >&6
2398
else
2399
  if test -n "$CC"; then
2400
  ac_cv_prog_CC="$CC" # Let the user override the test.
2401
else
2402
  ac_prog_rejected=no
2403
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2404
for as_dir in $PATH
2405
do
2406
  IFS=$as_save_IFS
2407
  test -z "$as_dir" && as_dir=.
2408
  for ac_exec_ext in '' $ac_executable_extensions; do
2409
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2410
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2411
       ac_prog_rejected=yes
2412
       continue
2413
     fi
2414
    ac_cv_prog_CC="cc"
2415
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2416
    break 2
2417
  fi
2418
done
2419
done
2420
IFS=$as_save_IFS
2421
2422
if test $ac_prog_rejected = yes; then
2423
  # We found a bogon in the path, so make sure we never use it.
2424
  set dummy $ac_cv_prog_CC
2425
  shift
2426
  if test $@%:@ != 0; then
2427
    # We chose a different compiler from the bogus one.
2428
    # However, it has the same basename, so the bogon will be chosen
2429
    # first if we set CC to just the basename; use the full file name.
2430
    shift
2431
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2432
  fi
2433
fi
2434
fi
2435
fi
2436
CC=$ac_cv_prog_CC
2437
if test -n "$CC"; then
2438
  { echo "$as_me:$LINENO: result: $CC" >&5
2439
echo "${ECHO_T}$CC" >&6; }
2440
else
2441
  { echo "$as_me:$LINENO: result: no" >&5
2442
echo "${ECHO_T}no" >&6; }
2443
fi
2444
2445
2446
fi
2447
if test -z "$CC"; then
2448
  if test -n "$ac_tool_prefix"; then
2449
  for ac_prog in cl.exe
2450
  do
2451
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2452
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2453
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2454
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2455
if test "${ac_cv_prog_CC+set}" = set; then
2456
  echo $ECHO_N "(cached) $ECHO_C" >&6
2457
else
2458
  if test -n "$CC"; then
2459
  ac_cv_prog_CC="$CC" # Let the user override the test.
2460
else
2461
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2462
for as_dir in $PATH
2463
do
2464
  IFS=$as_save_IFS
2465
  test -z "$as_dir" && as_dir=.
2466
  for ac_exec_ext in '' $ac_executable_extensions; do
2467
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2468
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2469
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2470
    break 2
2471
  fi
2472
done
2473
done
2474
IFS=$as_save_IFS
2475
2476
fi
2477
fi
2478
CC=$ac_cv_prog_CC
2479
if test -n "$CC"; then
2480
  { echo "$as_me:$LINENO: result: $CC" >&5
2481
echo "${ECHO_T}$CC" >&6; }
2482
else
2483
  { echo "$as_me:$LINENO: result: no" >&5
2484
echo "${ECHO_T}no" >&6; }
2485
fi
2486
2487
2488
    test -n "$CC" && break
2489
  done
2490
fi
2491
if test -z "$CC"; then
2492
  ac_ct_CC=$CC
2493
  for ac_prog in cl.exe
2494
do
2495
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2496
set dummy $ac_prog; ac_word=$2
2497
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2498
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2499
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2500
  echo $ECHO_N "(cached) $ECHO_C" >&6
2501
else
2502
  if test -n "$ac_ct_CC"; then
2503
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2504
else
2505
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2506
for as_dir in $PATH
2507
do
2508
  IFS=$as_save_IFS
2509
  test -z "$as_dir" && as_dir=.
2510
  for ac_exec_ext in '' $ac_executable_extensions; do
2511
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2512
    ac_cv_prog_ac_ct_CC="$ac_prog"
2513
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2514
    break 2
2515
  fi
2516
done
2517
done
2518
IFS=$as_save_IFS
2519
2520
fi
2521
fi
2522
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2523
if test -n "$ac_ct_CC"; then
2524
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2525
echo "${ECHO_T}$ac_ct_CC" >&6; }
2526
else
2527
  { echo "$as_me:$LINENO: result: no" >&5
2528
echo "${ECHO_T}no" >&6; }
2529
fi
2530
2531
2532
  test -n "$ac_ct_CC" && break
2533
done
2534
2535
  if test "x$ac_ct_CC" = x; then
2536
    CC=""
2537
  else
2538
    case $cross_compiling:$ac_tool_warned in
2539
yes:)
2540
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2541
whose name does not start with the host triplet.  If you think this
2542
configuration is useful to you, please write to autoconf@gnu.org." >&5
2543
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2544
whose name does not start with the host triplet.  If you think this
2545
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2546
ac_tool_warned=yes ;;
2547
esac
2548
    CC=$ac_ct_CC
2549
  fi
2550
fi
2551
2552
fi
2553
2554
2555
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2556
See \`config.log' for more details." >&5
2557
echo "$as_me: error: no acceptable C compiler found in \$PATH
2558
See \`config.log' for more details." >&2;}
2559
   { (exit 1); exit 1; }; }
2560
2561
# Provide some information about the compiler.
2562
echo "$as_me:$LINENO: checking for C compiler version" >&5
2563
ac_compiler=`set X $ac_compile; echo $2`
2564
{ (ac_try="$ac_compiler --version >&5"
2565
case "(($ac_try" in
2566
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2567
  *) ac_try_echo=$ac_try;;
2568
esac
2569
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2570
  (eval "$ac_compiler --version >&5") 2>&5
2571
  ac_status=$?
2572
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2573
  (exit $ac_status); }
2574
{ (ac_try="$ac_compiler -v >&5"
2575
case "(($ac_try" in
2576
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2577
  *) ac_try_echo=$ac_try;;
2578
esac
2579
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2580
  (eval "$ac_compiler -v >&5") 2>&5
2581
  ac_status=$?
2582
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2583
  (exit $ac_status); }
2584
{ (ac_try="$ac_compiler -V >&5"
2585
case "(($ac_try" in
2586
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2587
  *) ac_try_echo=$ac_try;;
2588
esac
2589
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2590
  (eval "$ac_compiler -V >&5") 2>&5
2591
  ac_status=$?
2592
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2593
  (exit $ac_status); }
2594
2595
cat >conftest.$ac_ext <<_ACEOF
2596
/* confdefs.h.  */
2597
_ACEOF
2598
cat confdefs.h >>conftest.$ac_ext
2599
cat >>conftest.$ac_ext <<_ACEOF
2600
/* end confdefs.h.  */
2601
2602
int
2603
main ()
2604
{
2605
2606
  ;
2607
  return 0;
2608
}
2609
_ACEOF
2610
ac_clean_files_save=$ac_clean_files
2611
ac_clean_files="$ac_clean_files a.out a.exe b.out"
2612
# Try to create an executable without -o first, disregard a.out.
2613
# It will help us diagnose broken compilers, and finding out an intuition
2614
# of exeext.
2615
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2616
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2617
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2618
#
2619
# List of possible output files, starting from the most likely.
2620
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2621
# only as a last resort.  b.out is created by i960 compilers.
2622
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2623
#
2624
# The IRIX 6 linker writes into existing files which may not be
2625
# executable, retaining their permissions.  Remove them first so a
2626
# subsequent execution test works.
2627
ac_rmfiles=
2628
for ac_file in $ac_files
2629
do
2630
  case $ac_file in
2631
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2632
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2633
  esac
2634
done
2635
rm -f $ac_rmfiles
2636
2637
if { (ac_try="$ac_link_default"
2638
case "(($ac_try" in
2639
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2640
  *) ac_try_echo=$ac_try;;
2641
esac
2642
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2643
  (eval "$ac_link_default") 2>&5
2644
  ac_status=$?
2645
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2646
  (exit $ac_status); }; then
2647
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2648
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2649
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
2650
# so that the user can short-circuit this test for compilers unknown to
2651
# Autoconf.
2652
for ac_file in $ac_files ''
2653
do
2654
  test -f "$ac_file" || continue
2655
  case $ac_file in
2656
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2657
	;;
2658
    [ab].out )
2659
	# We found the default executable, but exeext='' is most
2660
	# certainly right.
2661
	break;;
2662
    *.* )
2663
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2664
	then :; else
2665
	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2666
	fi
2667
	# We set ac_cv_exeext here because the later test for it is not
2668
	# safe: cross compilers may not add the suffix if given an `-o'
2669
	# argument, so we may need to know it at that point already.
2670
	# Even if this section looks crufty: it has the advantage of
2671
	# actually working.
2672
	break;;
2673
    * )
2674
	break;;
2675
  esac
2676
done
2677
test "$ac_cv_exeext" = no && ac_cv_exeext=
2678
2679
else
2680
  ac_file=''
2681
fi
2682
2683
{ echo "$as_me:$LINENO: result: $ac_file" >&5
2684
echo "${ECHO_T}$ac_file" >&6; }
2685
if test -z "$ac_file"; then
2686
  echo "$as_me: failed program was:" >&5
2687
sed 's/^/| /' conftest.$ac_ext >&5
2688
2689
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2690
See \`config.log' for more details." >&5
2691
echo "$as_me: error: C compiler cannot create executables
2692
See \`config.log' for more details." >&2;}
2693
   { (exit 77); exit 77; }; }
2694
fi
2695
2696
ac_exeext=$ac_cv_exeext
2697
2698
# Check that the compiler produces executables we can run.  If not, either
2699
# the compiler is broken, or we cross compile.
2700
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2701
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2702
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2703
# If not cross compiling, check that we can run a simple program.
2704
if test "$cross_compiling" != yes; then
2705
  if { ac_try='./$ac_file'
2706
  { (case "(($ac_try" in
2707
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2708
  *) ac_try_echo=$ac_try;;
2709
esac
2710
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2711
  (eval "$ac_try") 2>&5
2712
  ac_status=$?
2713
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2714
  (exit $ac_status); }; }; then
2715
    cross_compiling=no
2716
  else
2717
    if test "$cross_compiling" = maybe; then
2718
	cross_compiling=yes
2719
    else
2720
	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2721
If you meant to cross compile, use \`--host'.
2722
See \`config.log' for more details." >&5
2723
echo "$as_me: error: cannot run C compiled programs.
2724
If you meant to cross compile, use \`--host'.
2725
See \`config.log' for more details." >&2;}
2726
   { (exit 1); exit 1; }; }
2727
    fi
2728
  fi
2729
fi
2730
{ echo "$as_me:$LINENO: result: yes" >&5
2731
echo "${ECHO_T}yes" >&6; }
2732
2733
rm -f a.out a.exe conftest$ac_cv_exeext b.out
2734
ac_clean_files=$ac_clean_files_save
2735
# Check that the compiler produces executables we can run.  If not, either
2736
# the compiler is broken, or we cross compile.
2737
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2738
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2739
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
2740
echo "${ECHO_T}$cross_compiling" >&6; }
2741
2742
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
2743
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2744
if { (ac_try="$ac_link"
2745
case "(($ac_try" in
2746
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2747
  *) ac_try_echo=$ac_try;;
2748
esac
2749
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2750
  (eval "$ac_link") 2>&5
2751
  ac_status=$?
2752
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2753
  (exit $ac_status); }; then
2754
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2755
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2756
# work properly (i.e., refer to `conftest.exe'), while it won't with
2757
# `rm'.
2758
for ac_file in conftest.exe conftest conftest.*; do
2759
  test -f "$ac_file" || continue
2760
  case $ac_file in
2761
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2762
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2763
	  break;;
2764
    * ) break;;
2765
  esac
2766
done
2767
else
2768
  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2769
See \`config.log' for more details." >&5
2770
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2771
See \`config.log' for more details." >&2;}
2772
   { (exit 1); exit 1; }; }
2773
fi
2774
2775
rm -f conftest$ac_cv_exeext
2776
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2777
echo "${ECHO_T}$ac_cv_exeext" >&6; }
2778
2779
rm -f conftest.$ac_ext
2780
EXEEXT=$ac_cv_exeext
2781
ac_exeext=$EXEEXT
2782
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
2783
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2784
if test "${ac_cv_objext+set}" = set; then
2785
  echo $ECHO_N "(cached) $ECHO_C" >&6
2786
else
2787
  cat >conftest.$ac_ext <<_ACEOF
2788
/* confdefs.h.  */
2789
_ACEOF
2790
cat confdefs.h >>conftest.$ac_ext
2791
cat >>conftest.$ac_ext <<_ACEOF
2792
/* end confdefs.h.  */
2793
2794
int
2795
main ()
2796
{
2797
2798
  ;
2799
  return 0;
2800
}
2801
_ACEOF
2802
rm -f conftest.o conftest.obj
2803
if { (ac_try="$ac_compile"
2804
case "(($ac_try" in
2805
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2806
  *) ac_try_echo=$ac_try;;
2807
esac
2808
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2809
  (eval "$ac_compile") 2>&5
2810
  ac_status=$?
2811
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2812
  (exit $ac_status); }; then
2813
  for ac_file in conftest.o conftest.obj conftest.*; do
2814
  test -f "$ac_file" || continue;
2815
  case $ac_file in
2816
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2817
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2818
       break;;
2819
  esac
2820
done
2821
else
2822
  echo "$as_me: failed program was:" >&5
2823
sed 's/^/| /' conftest.$ac_ext >&5
2824
2825
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2826
See \`config.log' for more details." >&5
2827
echo "$as_me: error: cannot compute suffix of object files: cannot compile
2828
See \`config.log' for more details." >&2;}
2829
   { (exit 1); exit 1; }; }
2830
fi
2831
2832
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2833
fi
2834
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2835
echo "${ECHO_T}$ac_cv_objext" >&6; }
2836
OBJEXT=$ac_cv_objext
2837
ac_objext=$OBJEXT
2838
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2839
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2840
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2841
  echo $ECHO_N "(cached) $ECHO_C" >&6
2842
else
2843
  cat >conftest.$ac_ext <<_ACEOF
2844
/* confdefs.h.  */
2845
_ACEOF
2846
cat confdefs.h >>conftest.$ac_ext
2847
cat >>conftest.$ac_ext <<_ACEOF
2848
/* end confdefs.h.  */
2849
2850
int
2851
main ()
2852
{
2853
#ifndef __GNUC__
2854
       choke me
2855
#endif
2856
2857
  ;
2858
  return 0;
2859
}
2860
_ACEOF
2861
rm -f conftest.$ac_objext
2862
if { (ac_try="$ac_compile"
2863
case "(($ac_try" in
2864
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2865
  *) ac_try_echo=$ac_try;;
2866
esac
2867
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2868
  (eval "$ac_compile") 2>conftest.er1
2869
  ac_status=$?
2870
  grep -v '^ *+' conftest.er1 >conftest.err
2871
  rm -f conftest.er1
2872
  cat conftest.err >&5
2873
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2874
  (exit $ac_status); } && {
2875
	 test -z "$ac_c_werror_flag" ||
2876
	 test ! -s conftest.err
2877
       } && test -s conftest.$ac_objext; then
2878
  ac_compiler_gnu=yes
2879
else
2880
  echo "$as_me: failed program was:" >&5
2881
sed 's/^/| /' conftest.$ac_ext >&5
2882
2883
	ac_compiler_gnu=no
2884
fi
2885
2886
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2887
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2888
2889
fi
2890
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2891
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2892
GCC=`test $ac_compiler_gnu = yes && echo yes`
2893
ac_test_CFLAGS=${CFLAGS+set}
2894
ac_save_CFLAGS=$CFLAGS
2895
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2896
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2897
if test "${ac_cv_prog_cc_g+set}" = set; then
2898
  echo $ECHO_N "(cached) $ECHO_C" >&6
2899
else
2900
  ac_save_c_werror_flag=$ac_c_werror_flag
2901
   ac_c_werror_flag=yes
2902
   ac_cv_prog_cc_g=no
2903
   CFLAGS="-g"
2904
   cat >conftest.$ac_ext <<_ACEOF
2905
/* confdefs.h.  */
2906
_ACEOF
2907
cat confdefs.h >>conftest.$ac_ext
2908
cat >>conftest.$ac_ext <<_ACEOF
2909
/* end confdefs.h.  */
2910
2911
int
2912
main ()
2913
{
2914
2915
  ;
2916
  return 0;
2917
}
2918
_ACEOF
2919
rm -f conftest.$ac_objext
2920
if { (ac_try="$ac_compile"
2921
case "(($ac_try" in
2922
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2923
  *) ac_try_echo=$ac_try;;
2924
esac
2925
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2926
  (eval "$ac_compile") 2>conftest.er1
2927
  ac_status=$?
2928
  grep -v '^ *+' conftest.er1 >conftest.err
2929
  rm -f conftest.er1
2930
  cat conftest.err >&5
2931
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2932
  (exit $ac_status); } && {
2933
	 test -z "$ac_c_werror_flag" ||
2934
	 test ! -s conftest.err
2935
       } && test -s conftest.$ac_objext; then
2936
  ac_cv_prog_cc_g=yes
2937
else
2938
  echo "$as_me: failed program was:" >&5
2939
sed 's/^/| /' conftest.$ac_ext >&5
2940
2941
	CFLAGS=""
2942
      cat >conftest.$ac_ext <<_ACEOF
2943
/* confdefs.h.  */
2944
_ACEOF
2945
cat confdefs.h >>conftest.$ac_ext
2946
cat >>conftest.$ac_ext <<_ACEOF
2947
/* end confdefs.h.  */
2948
2949
int
2950
main ()
2951
{
2952
2953
  ;
2954
  return 0;
2955
}
2956
_ACEOF
2957
rm -f conftest.$ac_objext
2958
if { (ac_try="$ac_compile"
2959
case "(($ac_try" in
2960
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2961
  *) ac_try_echo=$ac_try;;
2962
esac
2963
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2964
  (eval "$ac_compile") 2>conftest.er1
2965
  ac_status=$?
2966
  grep -v '^ *+' conftest.er1 >conftest.err
2967
  rm -f conftest.er1
2968
  cat conftest.err >&5
2969
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2970
  (exit $ac_status); } && {
2971
	 test -z "$ac_c_werror_flag" ||
2972
	 test ! -s conftest.err
2973
       } && test -s conftest.$ac_objext; then
2974
  :
2975
else
2976
  echo "$as_me: failed program was:" >&5
2977
sed 's/^/| /' conftest.$ac_ext >&5
2978
2979
	ac_c_werror_flag=$ac_save_c_werror_flag
2980
	 CFLAGS="-g"
2981
	 cat >conftest.$ac_ext <<_ACEOF
2982
/* confdefs.h.  */
2983
_ACEOF
2984
cat confdefs.h >>conftest.$ac_ext
2985
cat >>conftest.$ac_ext <<_ACEOF
2986
/* end confdefs.h.  */
2987
2988
int
2989
main ()
2990
{
2991
2992
  ;
2993
  return 0;
2994
}
2995
_ACEOF
2996
rm -f conftest.$ac_objext
2997
if { (ac_try="$ac_compile"
2998
case "(($ac_try" in
2999
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3000
  *) ac_try_echo=$ac_try;;
3001
esac
3002
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3003
  (eval "$ac_compile") 2>conftest.er1
3004
  ac_status=$?
3005
  grep -v '^ *+' conftest.er1 >conftest.err
3006
  rm -f conftest.er1
3007
  cat conftest.err >&5
3008
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3009
  (exit $ac_status); } && {
3010
	 test -z "$ac_c_werror_flag" ||
3011
	 test ! -s conftest.err
3012
       } && test -s conftest.$ac_objext; then
3013
  ac_cv_prog_cc_g=yes
3014
else
3015
  echo "$as_me: failed program was:" >&5
3016
sed 's/^/| /' conftest.$ac_ext >&5
3017
3018
	
3019
fi
3020
3021
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3022
fi
3023
3024
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3025
fi
3026
3027
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3028
   ac_c_werror_flag=$ac_save_c_werror_flag
3029
fi
3030
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3031
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3032
if test "$ac_test_CFLAGS" = set; then
3033
  CFLAGS=$ac_save_CFLAGS
3034
elif test $ac_cv_prog_cc_g = yes; then
3035
  if test "$GCC" = yes; then
3036
    CFLAGS="-g -O2"
3037
  else
3038
    CFLAGS="-g"
3039
  fi
3040
else
3041
  if test "$GCC" = yes; then
3042
    CFLAGS="-O2"
3043
  else
3044
    CFLAGS=
3045
  fi
3046
fi
3047
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3048
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3049
if test "${ac_cv_prog_cc_c89+set}" = set; then
3050
  echo $ECHO_N "(cached) $ECHO_C" >&6
3051
else
3052
  ac_cv_prog_cc_c89=no
3053
ac_save_CC=$CC
3054
cat >conftest.$ac_ext <<_ACEOF
3055
/* confdefs.h.  */
3056
_ACEOF
3057
cat confdefs.h >>conftest.$ac_ext
3058
cat >>conftest.$ac_ext <<_ACEOF
3059
/* end confdefs.h.  */
3060
#include <stdarg.h>
3061
#include <stdio.h>
3062
#include <sys/types.h>
3063
#include <sys/stat.h>
3064
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3065
struct buf { int x; };
3066
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3067
static char *e (p, i)
3068
     char **p;
3069
     int i;
3070
{
3071
  return p[i];
3072
}
3073
static char *f (char * (*g) (char **, int), char **p, ...)
3074
{
3075
  char *s;
3076
  va_list v;
3077
  va_start (v,p);
3078
  s = g (p, va_arg (v,int));
3079
  va_end (v);
3080
  return s;
3081
}
3082
3083
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3084
   function prototypes and stuff, but not '\xHH' hex character constants.
3085
   These don't provoke an error unfortunately, instead are silently treated
3086
   as 'x'.  The following induces an error, until -std is added to get
3087
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3088
   array size at least.  It's necessary to write '\x00'==0 to get something
3089
   that's true only with -std.  */
3090
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3091
3092
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3093
   inside strings and character constants.  */
3094
#define FOO(x) 'x'
3095
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3096
3097
int test (int i, double x);
3098
struct s1 {int (*f) (int a);};
3099
struct s2 {int (*f) (double a);};
3100
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3101
int argc;
3102
char **argv;
3103
int
3104
main ()
3105
{
3106
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3107
  ;
3108
  return 0;
3109
}
3110
_ACEOF
3111
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3112
	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3113
do
3114
  CC="$ac_save_CC $ac_arg"
3115
  rm -f conftest.$ac_objext
3116
if { (ac_try="$ac_compile"
3117
case "(($ac_try" in
3118
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3119
  *) ac_try_echo=$ac_try;;
3120
esac
3121
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3122
  (eval "$ac_compile") 2>conftest.er1
3123
  ac_status=$?
3124
  grep -v '^ *+' conftest.er1 >conftest.err
3125
  rm -f conftest.er1
3126
  cat conftest.err >&5
3127
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3128
  (exit $ac_status); } && {
3129
	 test -z "$ac_c_werror_flag" ||
3130
	 test ! -s conftest.err
3131
       } && test -s conftest.$ac_objext; then
3132
  ac_cv_prog_cc_c89=$ac_arg
3133
else
3134
  echo "$as_me: failed program was:" >&5
3135
sed 's/^/| /' conftest.$ac_ext >&5
3136
3137
	
3138
fi
3139
3140
rm -f core conftest.err conftest.$ac_objext 
3141
  test "x$ac_cv_prog_cc_c89" != "xno" && break
3142
done
3143
rm -f conftest.$ac_ext
3144
CC=$ac_save_CC
3145
3146
fi
3147
# AC_CACHE_VAL
3148
case "x$ac_cv_prog_cc_c89" in
3149
  x)
3150
    { echo "$as_me:$LINENO: result: none needed" >&5
3151
echo "${ECHO_T}none needed" >&6; } ;;
3152
  xno)
3153
    { echo "$as_me:$LINENO: result: unsupported" >&5
3154
echo "${ECHO_T}unsupported" >&6; } ;;
3155
  *)
3156
    CC="$CC $ac_cv_prog_cc_c89"
3157
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3158
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3159
esac
3160
3161
3162
ac_ext=c
3163
ac_cpp='$CPP $CPPFLAGS'
3164
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3165
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3166
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3167
DEPDIR="${am__leading_dot}deps"
3168
3169
ac_config_commands="$ac_config_commands depfiles"
3170
3171
3172
am_make=${MAKE-make}
3173
cat > confinc << 'END'
3174
am__doit:
3175
	@echo done
3176
.PHONY: am__doit
3177
END
3178
# If we don't find an include directive, just comment out the code.
3179
{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3180
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
3181
am__include="#"
3182
am__quote=
3183
_am_result=none
3184
# First try GNU make style include.
3185
echo "include confinc" > confmf
3186
# We grep out `Entering directory' and `Leaving directory'
3187
# messages which can occur if `w' ends up in MAKEFLAGS.
3188
# In particular we don't look at `^make:' because GNU make might
3189
# be invoked under some other name (usually "gmake"), in which
3190
# case it prints its new name instead of `make'.
3191
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3192
   am__include=include
3193
   am__quote=
3194
   _am_result=GNU
3195
fi
3196
# Now try BSD make style include.
3197
if test "$am__include" = "#"; then
3198
   echo '.include "confinc"' > confmf
3199
   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3200
      am__include=.include
3201
      am__quote="\""
3202
      _am_result=BSD
3203
   fi
3204
fi
3205
3206
3207
{ echo "$as_me:$LINENO: result: $_am_result" >&5
3208
echo "${ECHO_T}$_am_result" >&6; }
3209
rm -f confinc confmf
3210
3211
# Check whether --enable-dependency-tracking was given.
3212
if test "${enable_dependency_tracking+set}" = set; then
3213
  enableval=$enable_dependency_tracking; 
3214
fi
3215
3216
if test "x$enable_dependency_tracking" != xno; then
3217
  am_depcomp="$ac_aux_dir/depcomp"
3218
  AMDEPBACKSLASH='\'
3219
fi
3220
 
3221
3222
if test "x$enable_dependency_tracking" != xno; then
3223
  AMDEP_TRUE=
3224
  AMDEP_FALSE='#'
3225
else
3226
  AMDEP_TRUE='#'
3227
  AMDEP_FALSE=
3228
fi
3229
3230
3231
3232
3233
depcc="$CC"   am_compiler_list=
3234
3235
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3236
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3237
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3238
  echo $ECHO_N "(cached) $ECHO_C" >&6
3239
else
3240
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3241
  # We make a subdir and do the tests there.  Otherwise we can end up
3242
  # making bogus files that we don't know about and never remove.  For
3243
  # instance it was reported that on HP-UX the gcc test will end up
3244
  # making a dummy file named `D' -- because `-MD' means `put the output
3245
  # in D'.
3246
  mkdir conftest.dir
3247
  # Copy depcomp to subdir because otherwise we won't find it if we're
3248
  # using a relative directory.
3249
  cp "$am_depcomp" conftest.dir
3250
  cd conftest.dir
3251
  # We will build objects and dependencies in a subdirectory because
3252
  # it helps to detect inapplicable dependency modes.  For instance
3253
  # both Tru64's cc and ICC support -MD to output dependencies as a
3254
  # side effect of compilation, but ICC will put the dependencies in
3255
  # the current directory while Tru64 will put them in the object
3256
  # directory.
3257
  mkdir sub
3258
3259
  am_cv_CC_dependencies_compiler_type=none
3260
  if test "$am_compiler_list" = ""; then
3261
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3262
  fi
3263
  for depmode in $am_compiler_list; do
3264
    # Setup a source with many dependencies, because some compilers
3265
    # like to wrap large dependency lists on column 80 (with \), and
3266
    # we should not choose a depcomp mode which is confused by this.
3267
    #
3268
    # We need to recreate these files for each test, as the compiler may
3269
    # overwrite some of them when testing with obscure command lines.
3270
    # This happens at least with the AIX C compiler.
3271
    : > sub/conftest.c
3272
    for i in 1 2 3 4 5 6; do
3273
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3274
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3275
      # Solaris 8's {/usr,}/bin/sh.
3276
      touch sub/conftst$i.h
3277
    done
3278
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3279
3280
    case $depmode in
3281
    nosideeffect)
3282
      # after this tag, mechanisms are not by side-effect, so they'll
3283
      # only be used when explicitly requested
3284
      if test "x$enable_dependency_tracking" = xyes; then
3285
	continue
3286
      else
3287
	break
3288
      fi
3289
      ;;
3290
    none) break ;;
3291
    esac
3292
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3293
    # mode.  It turns out that the SunPro C++ compiler does not properly
3294
    # handle `-M -o', and we need to detect this.
3295
    if depmode=$depmode \
3296
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3297
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3298
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3299
         >/dev/null 2>conftest.err &&
3300
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3301
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3302
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3303
      # icc doesn't choke on unknown options, it will just issue warnings
3304
      # or remarks (even with -Werror).  So we grep stderr for any message
3305
      # that says an option was ignored or not supported.
3306
      # When given -MP, icc 7.0 and 7.1 complain thusly:
3307
      #   icc: Command line warning: ignoring option '-M'; no argument required
3308
      # The diagnosis changed in icc 8.0:
3309
      #   icc: Command line remark: option '-MP' not supported
3310
      if (grep 'ignoring option' conftest.err ||
3311
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3312
        am_cv_CC_dependencies_compiler_type=$depmode
3313
        break
3314
      fi
3315
    fi
3316
  done
3317
3318
  cd ..
3319
  rm -rf conftest.dir
3320
else
3321
  am_cv_CC_dependencies_compiler_type=none
3322
fi
3323
3324
fi
3325
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3326
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3327
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3328
3329
 
3330
3331
if 
3332
  test "x$enable_dependency_tracking" != xno \
3333
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3334
  am__fastdepCC_TRUE=
3335
  am__fastdepCC_FALSE='#'
3336
else
3337
  am__fastdepCC_TRUE='#'
3338
  am__fastdepCC_FALSE=
3339
fi
3340
3341
3342
# Find a good install program.  We prefer a C program (faster),
3343
# so one script is as good as another.  But avoid the broken or
3344
# incompatible versions:
3345
# SysV /etc/install, /usr/sbin/install
3346
# SunOS /usr/etc/install
3347
# IRIX /sbin/install
3348
# AIX /bin/install
3349
# AmigaOS /C/install, which installs bootblocks on floppy discs
3350
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3351
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
3352
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3353
# OS/2's system install, which has a completely different semantic
3354
# ./install, which can be erroneously created by make from ./install.sh.
3355
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3356
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
3357
if test -z "$INSTALL"; then
3358
if test "${ac_cv_path_install+set}" = set; then
3359
  echo $ECHO_N "(cached) $ECHO_C" >&6
3360
else
3361
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3362
for as_dir in $PATH
3363
do
3364
  IFS=$as_save_IFS
3365
  test -z "$as_dir" && as_dir=.
3366
  # Account for people who put trailing slashes in PATH elements.
3367
case $as_dir/ in
3368
  ./ | .// | /cC/* | \
3369
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3370
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3371
  /usr/ucb/* ) ;;
3372
  *)
3373
    # OSF1 and SCO ODT 3.0 have their own names for install.
3374
    # Don't use installbsd from OSF since it installs stuff as root
3375
    # by default.
3376
    for ac_prog in ginstall scoinst install; do
3377
      for ac_exec_ext in '' $ac_executable_extensions; do
3378
	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3379
	  if test $ac_prog = install &&
3380
	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3381
	    # AIX install.  It has an incompatible calling convention.
3382
	    :
3383
	  elif test $ac_prog = install &&
3384
	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3385
	    # program-specific install script used by HP pwplus--don't use.
3386
	    :
3387
	  else
3388
	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3389
	    break 3
3390
	  fi
3391
	fi
3392
      done
3393
    done
3394
    ;;
3395
esac
3396
done
3397
IFS=$as_save_IFS
3398
3399
3400
fi
3401
  if test "${ac_cv_path_install+set}" = set; then
3402
    INSTALL=$ac_cv_path_install
3403
  else
3404
    # As a last resort, use the slow shell script.  Don't cache a
3405
    # value for INSTALL within a source directory, because that will
3406
    # break other packages using the cache if that directory is
3407
    # removed, or if the value is a relative name.
3408
    INSTALL=$ac_install_sh
3409
  fi
3410
fi
3411
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
3412
echo "${ECHO_T}$INSTALL" >&6; }
3413
3414
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3415
# It thinks the first close brace ends the variable substitution.
3416
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3417
3418
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3419
3420
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3421
3422
3423
# Checks for libraries.
3424
# Thanks, Ollie!
3425
# PKG_CHECK_MODULES(LTSPFSD, [x11])
3426
3427
3428
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
3429
	if test -n "$ac_tool_prefix"; then
3430
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
3431
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
3432
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3433
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3434
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
3435
  echo $ECHO_N "(cached) $ECHO_C" >&6
3436
else
3437
  case $PKG_CONFIG in
3438
  [\\/]* | ?:[\\/]*)
3439
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
3440
  ;;
3441
  *)
3442
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3443
for as_dir in $PATH
3444
do
3445
  IFS=$as_save_IFS
3446
  test -z "$as_dir" && as_dir=.
3447
  for ac_exec_ext in '' $ac_executable_extensions; do
3448
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3449
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3450
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3451
    break 2
3452
  fi
3453
done
3454
done
3455
IFS=$as_save_IFS
3456
3457
  ;;
3458
esac
3459
fi
3460
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
3461
if test -n "$PKG_CONFIG"; then
3462
  { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
3463
echo "${ECHO_T}$PKG_CONFIG" >&6; }
3464
else
3465
  { echo "$as_me:$LINENO: result: no" >&5
3466
echo "${ECHO_T}no" >&6; }
3467
fi
3468
3469
3470
fi
3471
if test -z "$ac_cv_path_PKG_CONFIG"; then
3472
  ac_pt_PKG_CONFIG=$PKG_CONFIG
3473
  # Extract the first word of "pkg-config", so it can be a program name with args.
3474
set dummy pkg-config; ac_word=$2
3475
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3476
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3477
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
3478
  echo $ECHO_N "(cached) $ECHO_C" >&6
3479
else
3480
  case $ac_pt_PKG_CONFIG in
3481
  [\\/]* | ?:[\\/]*)
3482
  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
3483
  ;;
3484
  *)
3485
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3486
for as_dir in $PATH
3487
do
3488
  IFS=$as_save_IFS
3489
  test -z "$as_dir" && as_dir=.
3490
  for ac_exec_ext in '' $ac_executable_extensions; do
3491
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3492
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3493
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3494
    break 2
3495
  fi
3496
done
3497
done
3498
IFS=$as_save_IFS
3499
3500
  ;;
3501
esac
3502
fi
3503
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
3504
if test -n "$ac_pt_PKG_CONFIG"; then
3505
  { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
3506
echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
3507
else
3508
  { echo "$as_me:$LINENO: result: no" >&5
3509
echo "${ECHO_T}no" >&6; }
3510
fi
3511
3512
  if test "x$ac_pt_PKG_CONFIG" = x; then
3513
    PKG_CONFIG=""
3514
  else
3515
    case $cross_compiling:$ac_tool_warned in
3516
yes:)
3517
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3518
whose name does not start with the host triplet.  If you think this
3519
configuration is useful to you, please write to autoconf@gnu.org." >&5
3520
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3521
whose name does not start with the host triplet.  If you think this
3522
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3523
ac_tool_warned=yes ;;
3524
esac
3525
    PKG_CONFIG=$ac_pt_PKG_CONFIG
3526
  fi
3527
else
3528
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
3529
fi
3530
3531
fi
3532
if test -n "$PKG_CONFIG"; then
3533
	_pkg_min_version=0.9.0
3534
	{ echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
3535
echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
3536
	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
3537
		{ echo "$as_me:$LINENO: result: yes" >&5
3538
echo "${ECHO_T}yes" >&6; }
3539
	else
3540
		{ echo "$as_me:$LINENO: result: no" >&5
3541
echo "${ECHO_T}no" >&6; }
3542
		PKG_CONFIG=""
3543
	fi
3544
		
3545
fi
3546
3547
pkg_failed=no
3548
{ echo "$as_me:$LINENO: checking for LTSPFS" >&5
3549
echo $ECHO_N "checking for LTSPFS... $ECHO_C" >&6; }
3550
3551
if test -n "$PKG_CONFIG"; then
3552
    if test -n "$LTSPFS_CFLAGS"; then
3553
        pkg_cv_LTSPFS_CFLAGS="$LTSPFS_CFLAGS"
3554
    else
3555
        if test -n "$PKG_CONFIG" && \
3556
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"fuse, x11\"") >&5
3557
  ($PKG_CONFIG --exists --print-errors "fuse, x11") 2>&5
3558
  ac_status=$?
3559
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3560
  (exit $ac_status); }; then
3561
  pkg_cv_LTSPFS_CFLAGS=`$PKG_CONFIG --cflags "fuse, x11" 2>/dev/null`
3562
else
3563
  pkg_failed=yes
3564
fi
3565
    fi
3566
else
3567
	pkg_failed=untried
3568
fi
3569
if test -n "$PKG_CONFIG"; then
3570
    if test -n "$LTSPFS_LIBS"; then
3571
        pkg_cv_LTSPFS_LIBS="$LTSPFS_LIBS"
3572
    else
3573
        if test -n "$PKG_CONFIG" && \
3574
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"fuse, x11\"") >&5
3575
  ($PKG_CONFIG --exists --print-errors "fuse, x11") 2>&5
3576
  ac_status=$?
3577
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3578
  (exit $ac_status); }; then
3579
  pkg_cv_LTSPFS_LIBS=`$PKG_CONFIG --libs "fuse, x11" 2>/dev/null`
3580
else
3581
  pkg_failed=yes
3582
fi
3583
    fi
3584
else
3585
	pkg_failed=untried
3586
fi
3587
3588
3589
3590
if test $pkg_failed = yes; then
3591
        
3592
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3593
        _pkg_short_errors_supported=yes
3594
else
3595
        _pkg_short_errors_supported=no
3596
fi
3597
        if test $_pkg_short_errors_supported = yes; then
3598
	        LTSPFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "fuse, x11"`
3599
        else 
3600
	        LTSPFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "fuse, x11"`
3601
        fi
3602
	# Put the nasty error message in config.log where it belongs
3603
	echo "$LTSPFS_PKG_ERRORS" >&5
3604
3605
	{ { echo "$as_me:$LINENO: error: Package requirements (fuse, x11) were not met:
3606
3607
$LTSPFS_PKG_ERRORS
3608
3609
Consider adjusting the PKG_CONFIG_PATH environment variable if you
3610
installed software in a non-standard prefix.
3611
3612
Alternatively, you may set the environment variables LTSPFS_CFLAGS
3613
and LTSPFS_LIBS to avoid the need to call pkg-config.
3614
See the pkg-config man page for more details.
3615
" >&5
3616
echo "$as_me: error: Package requirements (fuse, x11) were not met:
3617
3618
$LTSPFS_PKG_ERRORS
3619
3620
Consider adjusting the PKG_CONFIG_PATH environment variable if you
3621
installed software in a non-standard prefix.
3622
3623
Alternatively, you may set the environment variables LTSPFS_CFLAGS
3624
and LTSPFS_LIBS to avoid the need to call pkg-config.
3625
See the pkg-config man page for more details.
3626
" >&2;}
3627
   { (exit 1); exit 1; }; }
3628
elif test $pkg_failed = untried; then
3629
	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
3630
is in your PATH or set the PKG_CONFIG environment variable to the full
3631
path to pkg-config.
3632
3633
Alternatively, you may set the environment variables LTSPFS_CFLAGS
3634
and LTSPFS_LIBS to avoid the need to call pkg-config.
3635
See the pkg-config man page for more details.
3636
3637
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
3638
See \`config.log' for more details." >&5
3639
echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
3640
is in your PATH or set the PKG_CONFIG environment variable to the full
3641
path to pkg-config.
3642
3643
Alternatively, you may set the environment variables LTSPFS_CFLAGS
3644
and LTSPFS_LIBS to avoid the need to call pkg-config.
3645
See the pkg-config man page for more details.
3646
3647
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
3648
See \`config.log' for more details." >&2;}
3649
   { (exit 1); exit 1; }; }
3650
else
3651
	LTSPFS_CFLAGS=$pkg_cv_LTSPFS_CFLAGS
3652
	LTSPFS_LIBS=$pkg_cv_LTSPFS_LIBS
3653
        { echo "$as_me:$LINENO: result: yes" >&5
3654
echo "${ECHO_T}yes" >&6; }
3655
	:
3656
fi
3657
3658
# Checks for header files.
3659
3660
ac_ext=c
3661
ac_cpp='$CPP $CPPFLAGS'
3662
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3663
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3664
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3665
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3666
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3667
# On Suns, sometimes $CPP names a directory.
3668
if test -n "$CPP" && test -d "$CPP"; then
3669
  CPP=
3670
fi
3671
if test -z "$CPP"; then
3672
  if test "${ac_cv_prog_CPP+set}" = set; then
3673
  echo $ECHO_N "(cached) $ECHO_C" >&6
3674
else
3675
      # Double quotes because CPP needs to be expanded
3676
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3677
    do
3678
      ac_preproc_ok=false
3679
for ac_c_preproc_warn_flag in '' yes
3680
do
3681
  # Use a header file that comes with gcc, so configuring glibc
3682
  # with a fresh cross-compiler works.
3683
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3684
  # <limits.h> exists even on freestanding compilers.
3685
  # On the NeXT, cc -E runs the code through the compiler's parser,
3686
  # not just through cpp. "Syntax error" is here to catch this case.
3687
  cat >conftest.$ac_ext <<_ACEOF
3688
/* confdefs.h.  */
3689
_ACEOF
3690
cat confdefs.h >>conftest.$ac_ext
3691
cat >>conftest.$ac_ext <<_ACEOF
3692
/* end confdefs.h.  */
3693
@%:@ifdef __STDC__
3694
@%:@ include <limits.h>
3695
@%:@else
3696
@%:@ include <assert.h>
3697
@%:@endif
3698
		     Syntax error
3699
_ACEOF
3700
if { (ac_try="$ac_cpp conftest.$ac_ext"
3701
case "(($ac_try" in
3702
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3703
  *) ac_try_echo=$ac_try;;
3704
esac
3705
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3706
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3707
  ac_status=$?
3708
  grep -v '^ *+' conftest.er1 >conftest.err
3709
  rm -f conftest.er1
3710
  cat conftest.err >&5
3711
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3712
  (exit $ac_status); } >/dev/null && {
3713
	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3714
	 test ! -s conftest.err
3715
       }; then
3716
  :
3717
else
3718
  echo "$as_me: failed program was:" >&5
3719
sed 's/^/| /' conftest.$ac_ext >&5
3720
3721
  # Broken: fails on valid input.
3722
continue
3723
fi
3724
3725
rm -f conftest.err conftest.$ac_ext
3726
3727
  # OK, works on sane cases.  Now check whether nonexistent headers
3728
  # can be detected and how.
3729
  cat >conftest.$ac_ext <<_ACEOF
3730
/* confdefs.h.  */
3731
_ACEOF
3732
cat confdefs.h >>conftest.$ac_ext
3733
cat >>conftest.$ac_ext <<_ACEOF
3734
/* end confdefs.h.  */
3735
@%:@include <ac_nonexistent.h>
3736
_ACEOF
3737
if { (ac_try="$ac_cpp conftest.$ac_ext"
3738
case "(($ac_try" in
3739
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3740
  *) ac_try_echo=$ac_try;;
3741
esac
3742
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3743
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3744
  ac_status=$?
3745
  grep -v '^ *+' conftest.er1 >conftest.err
3746
  rm -f conftest.er1
3747
  cat conftest.err >&5
3748
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3749
  (exit $ac_status); } >/dev/null && {
3750
	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3751
	 test ! -s conftest.err
3752
       }; then
3753
  # Broken: success on invalid input.
3754
continue
3755
else
3756
  echo "$as_me: failed program was:" >&5
3757
sed 's/^/| /' conftest.$ac_ext >&5
3758
3759
  # Passes both tests.
3760
ac_preproc_ok=:
3761
break
3762
fi
3763
3764
rm -f conftest.err conftest.$ac_ext
3765
3766
done
3767
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3768
rm -f conftest.err conftest.$ac_ext
3769
if $ac_preproc_ok; then
3770
  break
3771
fi
3772
3773
    done
3774
    ac_cv_prog_CPP=$CPP
3775
  
3776
fi
3777
  CPP=$ac_cv_prog_CPP
3778
else
3779
  ac_cv_prog_CPP=$CPP
3780
fi
3781
{ echo "$as_me:$LINENO: result: $CPP" >&5
3782
echo "${ECHO_T}$CPP" >&6; }
3783
ac_preproc_ok=false
3784
for ac_c_preproc_warn_flag in '' yes
3785
do
3786
  # Use a header file that comes with gcc, so configuring glibc
3787
  # with a fresh cross-compiler works.
3788
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3789
  # <limits.h> exists even on freestanding compilers.
3790
  # On the NeXT, cc -E runs the code through the compiler's parser,
3791
  # not just through cpp. "Syntax error" is here to catch this case.
3792
  cat >conftest.$ac_ext <<_ACEOF
3793
/* confdefs.h.  */
3794
_ACEOF
3795
cat confdefs.h >>conftest.$ac_ext
3796
cat >>conftest.$ac_ext <<_ACEOF
3797
/* end confdefs.h.  */
3798
@%:@ifdef __STDC__
3799
@%:@ include <limits.h>
3800
@%:@else
3801
@%:@ include <assert.h>
3802
@%:@endif
3803
		     Syntax error
3804
_ACEOF
3805
if { (ac_try="$ac_cpp conftest.$ac_ext"
3806
case "(($ac_try" in
3807
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3808
  *) ac_try_echo=$ac_try;;
3809
esac
3810
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3811
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3812
  ac_status=$?
3813
  grep -v '^ *+' conftest.er1 >conftest.err
3814
  rm -f conftest.er1
3815
  cat conftest.err >&5
3816
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3817
  (exit $ac_status); } >/dev/null && {
3818
	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3819
	 test ! -s conftest.err
3820
       }; then
3821
  :
3822
else
3823
  echo "$as_me: failed program was:" >&5
3824
sed 's/^/| /' conftest.$ac_ext >&5
3825
3826
  # Broken: fails on valid input.
3827
continue
3828
fi
3829
3830
rm -f conftest.err conftest.$ac_ext
3831
3832
  # OK, works on sane cases.  Now check whether nonexistent headers
3833
  # can be detected and how.
3834
  cat >conftest.$ac_ext <<_ACEOF
3835
/* confdefs.h.  */
3836
_ACEOF
3837
cat confdefs.h >>conftest.$ac_ext
3838
cat >>conftest.$ac_ext <<_ACEOF
3839
/* end confdefs.h.  */
3840
@%:@include <ac_nonexistent.h>
3841
_ACEOF
3842
if { (ac_try="$ac_cpp conftest.$ac_ext"
3843
case "(($ac_try" in
3844
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3845
  *) ac_try_echo=$ac_try;;
3846
esac
3847
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3848
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3849
  ac_status=$?
3850
  grep -v '^ *+' conftest.er1 >conftest.err
3851
  rm -f conftest.er1
3852
  cat conftest.err >&5
3853
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3854
  (exit $ac_status); } >/dev/null && {
3855
	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3856
	 test ! -s conftest.err
3857
       }; then
3858
  # Broken: success on invalid input.
3859
continue
3860
else
3861
  echo "$as_me: failed program was:" >&5
3862
sed 's/^/| /' conftest.$ac_ext >&5
3863
3864
  # Passes both tests.
3865
ac_preproc_ok=:
3866
break
3867
fi
3868
3869
rm -f conftest.err conftest.$ac_ext
3870
3871
done
3872
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3873
rm -f conftest.err conftest.$ac_ext
3874
if $ac_preproc_ok; then
3875
  :
3876
else
3877
  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3878
See \`config.log' for more details." >&5
3879
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3880
See \`config.log' for more details." >&2;}
3881
   { (exit 1); exit 1; }; }
3882
fi
3883
3884
ac_ext=c
3885
ac_cpp='$CPP $CPPFLAGS'
3886
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3887
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3888
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3889
3890
3891
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3892
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3893
if test "${ac_cv_path_GREP+set}" = set; then
3894
  echo $ECHO_N "(cached) $ECHO_C" >&6
3895
else
3896
  # Extract the first word of "grep ggrep" to use in msg output
3897
if test -z "$GREP"; then
3898
set dummy grep ggrep; ac_prog_name=$2
3899
if test "${ac_cv_path_GREP+set}" = set; then
3900
  echo $ECHO_N "(cached) $ECHO_C" >&6
3901
else
3902
  ac_path_GREP_found=false
3903
# Loop through the user's path and test for each of PROGNAME-LIST
3904
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3905
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3906
do
3907
  IFS=$as_save_IFS
3908
  test -z "$as_dir" && as_dir=.
3909
  for ac_prog in grep ggrep; do
3910
  for ac_exec_ext in '' $ac_executable_extensions; do
3911
    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3912
    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3913
    # Check for GNU ac_path_GREP and select it if it is found.
3914
  # Check for GNU $ac_path_GREP
3915
case `"$ac_path_GREP" --version 2>&1` in
3916
*GNU*)
3917
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3918
*)
3919
  ac_count=0
3920
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3921
  while :
3922
  do
3923
    cat "conftest.in" "conftest.in" >"conftest.tmp"
3924
    mv "conftest.tmp" "conftest.in"
3925
    cp "conftest.in" "conftest.nl"
3926
    echo 'GREP' >> "conftest.nl"
3927
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3928
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3929
    ac_count=`expr $ac_count + 1`
3930
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
3931
      # Best one so far, save it but keep looking for a better one
3932
      ac_cv_path_GREP="$ac_path_GREP"
3933
      ac_path_GREP_max=$ac_count
3934
    fi
3935
    # 10*(2^10) chars as input seems more than enough
3936
    test $ac_count -gt 10 && break
3937
  done
3938
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3939
esac
3940
3941
3942
    $ac_path_GREP_found && break 3
3943
  done
3944
done
3945
3946
done
3947
IFS=$as_save_IFS
3948
3949
3950
fi
3951
3952
GREP="$ac_cv_path_GREP"
3953
if test -z "$GREP"; then
3954
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3955
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3956
   { (exit 1); exit 1; }; }
3957
fi
3958
3959
else
3960
  ac_cv_path_GREP=$GREP
3961
fi
3962
3963
3964
fi
3965
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3966
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3967
 GREP="$ac_cv_path_GREP"
3968
 
3969
3970
{ echo "$as_me:$LINENO: checking for egrep" >&5
3971
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3972
if test "${ac_cv_path_EGREP+set}" = set; then
3973
  echo $ECHO_N "(cached) $ECHO_C" >&6
3974
else
3975
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3976
   then ac_cv_path_EGREP="$GREP -E"
3977
   else
3978
     # Extract the first word of "egrep" to use in msg output
3979
if test -z "$EGREP"; then
3980
set dummy egrep; ac_prog_name=$2
3981
if test "${ac_cv_path_EGREP+set}" = set; then
3982
  echo $ECHO_N "(cached) $ECHO_C" >&6
3983
else
3984
  ac_path_EGREP_found=false
3985
# Loop through the user's path and test for each of PROGNAME-LIST
3986
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3987
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3988
do
3989
  IFS=$as_save_IFS
3990
  test -z "$as_dir" && as_dir=.
3991
  for ac_prog in egrep; do
3992
  for ac_exec_ext in '' $ac_executable_extensions; do
3993
    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3994
    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3995
    # Check for GNU ac_path_EGREP and select it if it is found.
3996
  # Check for GNU $ac_path_EGREP
3997
case `"$ac_path_EGREP" --version 2>&1` in
3998
*GNU*)
3999
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4000
*)
4001
  ac_count=0
4002
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4003
  while :
4004
  do
4005
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4006
    mv "conftest.tmp" "conftest.in"
4007
    cp "conftest.in" "conftest.nl"
4008
    echo 'EGREP' >> "conftest.nl"
4009
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4010
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4011
    ac_count=`expr $ac_count + 1`
4012
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4013
      # Best one so far, save it but keep looking for a better one
4014
      ac_cv_path_EGREP="$ac_path_EGREP"
4015
      ac_path_EGREP_max=$ac_count
4016
    fi
4017
    # 10*(2^10) chars as input seems more than enough
4018
    test $ac_count -gt 10 && break
4019
  done
4020
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4021
esac
4022
4023
4024
    $ac_path_EGREP_found && break 3
4025
  done
4026
done
4027
4028
done
4029
IFS=$as_save_IFS
4030
4031
4032
fi
4033
4034
EGREP="$ac_cv_path_EGREP"
4035
if test -z "$EGREP"; then
4036
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4037
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4038
   { (exit 1); exit 1; }; }
4039
fi
4040
4041
else
4042
  ac_cv_path_EGREP=$EGREP
4043
fi
4044
4045
4046
   fi
4047
fi
4048
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4049
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4050
 EGREP="$ac_cv_path_EGREP"
4051
 
4052
4053
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4054
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4055
if test "${ac_cv_header_stdc+set}" = set; then
4056
  echo $ECHO_N "(cached) $ECHO_C" >&6
4057
else
4058
  cat >conftest.$ac_ext <<_ACEOF
4059
/* confdefs.h.  */
4060
_ACEOF
4061
cat confdefs.h >>conftest.$ac_ext
4062
cat >>conftest.$ac_ext <<_ACEOF
4063
/* end confdefs.h.  */
4064
#include <stdlib.h>
4065
#include <stdarg.h>
4066
#include <string.h>
4067
#include <float.h>
4068
4069
int
4070
main ()
4071
{
4072
4073
  ;
4074
  return 0;
4075
}
4076
_ACEOF
4077
rm -f conftest.$ac_objext
4078
if { (ac_try="$ac_compile"
4079
case "(($ac_try" in
4080
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4081
  *) ac_try_echo=$ac_try;;
4082
esac
4083
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4084
  (eval "$ac_compile") 2>conftest.er1
4085
  ac_status=$?
4086
  grep -v '^ *+' conftest.er1 >conftest.err
4087
  rm -f conftest.er1
4088
  cat conftest.err >&5
4089
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4090
  (exit $ac_status); } && {
4091
	 test -z "$ac_c_werror_flag" ||
4092
	 test ! -s conftest.err
4093
       } && test -s conftest.$ac_objext; then
4094
  ac_cv_header_stdc=yes
4095
else
4096
  echo "$as_me: failed program was:" >&5
4097
sed 's/^/| /' conftest.$ac_ext >&5
4098
4099
	ac_cv_header_stdc=no
4100
fi
4101
4102
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4103
4104
if test $ac_cv_header_stdc = yes; then
4105
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4106
  cat >conftest.$ac_ext <<_ACEOF
4107
/* confdefs.h.  */
4108
_ACEOF
4109
cat confdefs.h >>conftest.$ac_ext
4110
cat >>conftest.$ac_ext <<_ACEOF
4111
/* end confdefs.h.  */
4112
#include <string.h>
4113
4114
_ACEOF
4115
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4116
  $EGREP "memchr" >/dev/null 2>&1; then
4117
  :
4118
else
4119
  ac_cv_header_stdc=no
4120
fi
4121
rm -f conftest*
4122
4123
fi
4124
4125
if test $ac_cv_header_stdc = yes; then
4126
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4127
  cat >conftest.$ac_ext <<_ACEOF
4128
/* confdefs.h.  */
4129
_ACEOF
4130
cat confdefs.h >>conftest.$ac_ext
4131
cat >>conftest.$ac_ext <<_ACEOF
4132
/* end confdefs.h.  */
4133
#include <stdlib.h>
4134
4135
_ACEOF
4136
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4137
  $EGREP "free" >/dev/null 2>&1; then
4138
  :
4139
else
4140
  ac_cv_header_stdc=no
4141
fi
4142
rm -f conftest*
4143
4144
fi
4145
4146
if test $ac_cv_header_stdc = yes; then
4147
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4148
  if test "$cross_compiling" = yes; then
4149
  :
4150
else
4151
  cat >conftest.$ac_ext <<_ACEOF
4152
/* confdefs.h.  */
4153
_ACEOF
4154
cat confdefs.h >>conftest.$ac_ext
4155
cat >>conftest.$ac_ext <<_ACEOF
4156
/* end confdefs.h.  */
4157
#include <ctype.h>
4158
#include <stdlib.h>
4159
#if ((' ' & 0x0FF) == 0x020)
4160
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4161
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4162
#else
4163
# define ISLOWER(c) \
4164
		   (('a' <= (c) && (c) <= 'i') \
4165
		     || ('j' <= (c) && (c) <= 'r') \
4166
		     || ('s' <= (c) && (c) <= 'z'))
4167
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4168
#endif
4169
4170
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4171
int
4172
main ()
4173
{
4174
  int i;
4175
  for (i = 0; i < 256; i++)
4176
    if (XOR (islower (i), ISLOWER (i))
4177
	|| toupper (i) != TOUPPER (i))
4178
      return 2;
4179
  return 0;
4180
}
4181
_ACEOF
4182
rm -f conftest$ac_exeext
4183
if { (ac_try="$ac_link"
4184
case "(($ac_try" in
4185
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4186
  *) ac_try_echo=$ac_try;;
4187
esac
4188
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4189
  (eval "$ac_link") 2>&5
4190
  ac_status=$?
4191
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4192
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4193
  { (case "(($ac_try" in
4194
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4195
  *) ac_try_echo=$ac_try;;
4196
esac
4197
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4198
  (eval "$ac_try") 2>&5
4199
  ac_status=$?
4200
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4201
  (exit $ac_status); }; }; then
4202
  :
4203
else
4204
  echo "$as_me: program exited with status $ac_status" >&5
4205
echo "$as_me: failed program was:" >&5
4206
sed 's/^/| /' conftest.$ac_ext >&5
4207
4208
( exit $ac_status )
4209
ac_cv_header_stdc=no
4210
fi
4211
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4212
fi
4213
4214
4215
fi
4216
fi
4217
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4218
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4219
if test $ac_cv_header_stdc = yes; then
4220
  
4221
cat >>confdefs.h <<\_ACEOF
4222
@%:@define STDC_HEADERS 1
4223
_ACEOF
4224
4225
fi
4226
4227
4228
4229
4230
4231
4232
ac_header_dirent=no
4233
for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
4234
  as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
4235
{ echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
4236
echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
4237
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4238
  echo $ECHO_N "(cached) $ECHO_C" >&6
4239
else
4240
  cat >conftest.$ac_ext <<_ACEOF
4241
/* confdefs.h.  */
4242
_ACEOF
4243
cat confdefs.h >>conftest.$ac_ext
4244
cat >>conftest.$ac_ext <<_ACEOF
4245
/* end confdefs.h.  */
4246
#include <sys/types.h>
4247
#include <$ac_hdr>
4248
4249
int
4250
main ()
4251
{
4252
if ((DIR *) 0)
4253
return 0;
4254
  ;
4255
  return 0;
4256
}
4257
_ACEOF
4258
rm -f conftest.$ac_objext
4259
if { (ac_try="$ac_compile"
4260
case "(($ac_try" in
4261
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4262
  *) ac_try_echo=$ac_try;;
4263
esac
4264
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4265
  (eval "$ac_compile") 2>conftest.er1
4266
  ac_status=$?
4267
  grep -v '^ *+' conftest.er1 >conftest.err
4268
  rm -f conftest.er1
4269
  cat conftest.err >&5
4270
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4271
  (exit $ac_status); } && {
4272
	 test -z "$ac_c_werror_flag" ||
4273
	 test ! -s conftest.err
4274
       } && test -s conftest.$ac_objext; then
4275
  eval "$as_ac_Header=yes"
4276
else
4277
  echo "$as_me: failed program was:" >&5
4278
sed 's/^/| /' conftest.$ac_ext >&5
4279
4280
	eval "$as_ac_Header=no"
4281
fi
4282
4283
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4284
fi
4285
ac_res=`eval echo '${'$as_ac_Header'}'`
4286
	       { echo "$as_me:$LINENO: result: $ac_res" >&5
4287
echo "${ECHO_T}$ac_res" >&6; }
4288
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4289
  cat >>confdefs.h <<_ACEOF
4290
@%:@define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
4291
_ACEOF
4292
4293
ac_header_dirent=$ac_hdr; break
4294
fi
4295
4296
done
4297
# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
4298
if test $ac_header_dirent = dirent.h; then
4299
  { echo "$as_me:$LINENO: checking for library containing opendir" >&5
4300
echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
4301
if test "${ac_cv_search_opendir+set}" = set; then
4302
  echo $ECHO_N "(cached) $ECHO_C" >&6
4303
else
4304
  ac_func_search_save_LIBS=$LIBS
4305
cat >conftest.$ac_ext <<_ACEOF
4306
/* confdefs.h.  */
4307
_ACEOF
4308
cat confdefs.h >>conftest.$ac_ext
4309
cat >>conftest.$ac_ext <<_ACEOF
4310
/* end confdefs.h.  */
4311
4312
/* Override any GCC internal prototype to avoid an error.
4313
   Use char because int might match the return type of a GCC
4314
   builtin and then its argument prototype would still apply.  */
4315
#ifdef __cplusplus
4316
extern "C"
4317
#endif
4318
char opendir ();
4319
int
4320
main ()
4321
{
4322
return opendir ();
4323
  ;
4324
  return 0;
4325
}
4326
_ACEOF
4327
for ac_lib in '' dir; do
4328
  if test -z "$ac_lib"; then
4329
    ac_res="none required"
4330
  else
4331
    ac_res=-l$ac_lib
4332
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
4333
  fi
4334
  rm -f conftest.$ac_objext conftest$ac_exeext
4335
if { (ac_try="$ac_link"
4336
case "(($ac_try" in
4337
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4338
  *) ac_try_echo=$ac_try;;
4339
esac
4340
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4341
  (eval "$ac_link") 2>conftest.er1
4342
  ac_status=$?
4343
  grep -v '^ *+' conftest.er1 >conftest.err
4344
  rm -f conftest.er1
4345
  cat conftest.err >&5
4346
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4347
  (exit $ac_status); } && {
4348
	 test -z "$ac_c_werror_flag" ||
4349
	 test ! -s conftest.err
4350
       } && test -s conftest$ac_exeext &&
4351
       $as_test_x conftest$ac_exeext; then
4352
  ac_cv_search_opendir=$ac_res
4353
else
4354
  echo "$as_me: failed program was:" >&5
4355
sed 's/^/| /' conftest.$ac_ext >&5
4356
4357
	
4358
fi
4359
4360
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4361
      conftest$ac_exeext 
4362
  if test "${ac_cv_search_opendir+set}" = set; then
4363
  break
4364
fi
4365
done
4366
if test "${ac_cv_search_opendir+set}" = set; then
4367
  :
4368
else
4369
  ac_cv_search_opendir=no
4370
fi
4371
rm conftest.$ac_ext
4372
LIBS=$ac_func_search_save_LIBS
4373
fi
4374
{ echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
4375
echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
4376
ac_res=$ac_cv_search_opendir
4377
if test "$ac_res" != no; then
4378
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4379
  
4380
fi
4381
4382
else
4383
  { echo "$as_me:$LINENO: checking for library containing opendir" >&5
4384
echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
4385
if test "${ac_cv_search_opendir+set}" = set; then
4386
  echo $ECHO_N "(cached) $ECHO_C" >&6
4387
else
4388
  ac_func_search_save_LIBS=$LIBS
4389
cat >conftest.$ac_ext <<_ACEOF
4390
/* confdefs.h.  */
4391
_ACEOF
4392
cat confdefs.h >>conftest.$ac_ext
4393
cat >>conftest.$ac_ext <<_ACEOF
4394
/* end confdefs.h.  */
4395
4396
/* Override any GCC internal prototype to avoid an error.
4397
   Use char because int might match the return type of a GCC
4398
   builtin and then its argument prototype would still apply.  */
4399
#ifdef __cplusplus
4400
extern "C"
4401
#endif
4402
char opendir ();
4403
int
4404
main ()
4405
{
4406
return opendir ();
4407
  ;
4408
  return 0;
4409
}
4410
_ACEOF
4411
for ac_lib in '' x; do
4412
  if test -z "$ac_lib"; then
4413
    ac_res="none required"
4414
  else
4415
    ac_res=-l$ac_lib
4416
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
4417
  fi
4418
  rm -f conftest.$ac_objext conftest$ac_exeext
4419
if { (ac_try="$ac_link"
4420
case "(($ac_try" in
4421
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4422
  *) ac_try_echo=$ac_try;;
4423
esac
4424
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4425
  (eval "$ac_link") 2>conftest.er1
4426
  ac_status=$?
4427
  grep -v '^ *+' conftest.er1 >conftest.err
4428
  rm -f conftest.er1
4429
  cat conftest.err >&5
4430
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4431
  (exit $ac_status); } && {
4432
	 test -z "$ac_c_werror_flag" ||
4433
	 test ! -s conftest.err
4434
       } && test -s conftest$ac_exeext &&
4435
       $as_test_x conftest$ac_exeext; then
4436
  ac_cv_search_opendir=$ac_res
4437
else
4438
  echo "$as_me: failed program was:" >&5
4439
sed 's/^/| /' conftest.$ac_ext >&5
4440
4441
	
4442
fi
4443
4444
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4445
      conftest$ac_exeext 
4446
  if test "${ac_cv_search_opendir+set}" = set; then
4447
  break
4448
fi
4449
done
4450
if test "${ac_cv_search_opendir+set}" = set; then
4451
  :
4452
else
4453
  ac_cv_search_opendir=no
4454
fi
4455
rm conftest.$ac_ext
4456
LIBS=$ac_func_search_save_LIBS
4457
fi
4458
{ echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
4459
echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
4460
ac_res=$ac_cv_search_opendir
4461
if test "$ac_res" != no; then
4462
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4463
  
4464
fi
4465
4466
fi
4467
4468
{ echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
4469
echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; }
4470
if test "${ac_cv_header_sys_wait_h+set}" = set; then
4471
  echo $ECHO_N "(cached) $ECHO_C" >&6
4472
else
4473
  cat >conftest.$ac_ext <<_ACEOF
4474
/* confdefs.h.  */
4475
_ACEOF
4476
cat confdefs.h >>conftest.$ac_ext
4477
cat >>conftest.$ac_ext <<_ACEOF
4478
/* end confdefs.h.  */
4479
#include <sys/types.h>
4480
#include <sys/wait.h>
4481
#ifndef WEXITSTATUS
4482
# define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
4483
#endif
4484
#ifndef WIFEXITED
4485
# define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
4486
#endif
4487
4488
int
4489
main ()
4490
{
4491
  int s;
4492
  wait (&s);
4493
  s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
4494
  ;
4495
  return 0;
4496
}
4497
_ACEOF
4498
rm -f conftest.$ac_objext
4499
if { (ac_try="$ac_compile"
4500
case "(($ac_try" in
4501
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4502
  *) ac_try_echo=$ac_try;;
4503
esac
4504
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4505
  (eval "$ac_compile") 2>conftest.er1
4506
  ac_status=$?
4507
  grep -v '^ *+' conftest.er1 >conftest.err
4508
  rm -f conftest.er1
4509
  cat conftest.err >&5
4510
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4511
  (exit $ac_status); } && {
4512
	 test -z "$ac_c_werror_flag" ||
4513
	 test ! -s conftest.err
4514
       } && test -s conftest.$ac_objext; then
4515
  ac_cv_header_sys_wait_h=yes
4516
else
4517
  echo "$as_me: failed program was:" >&5
4518
sed 's/^/| /' conftest.$ac_ext >&5
4519
4520
	ac_cv_header_sys_wait_h=no
4521
fi
4522
4523
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4524
fi
4525
{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
4526
echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; }
4527
if test $ac_cv_header_sys_wait_h = yes; then
4528
  
4529
cat >>confdefs.h <<\_ACEOF
4530
@%:@define HAVE_SYS_WAIT_H 1
4531
_ACEOF
4532
4533
fi
4534
4535
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4546
		  inttypes.h stdint.h unistd.h
4547
do
4548
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4549
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4550
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4551
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4552
  echo $ECHO_N "(cached) $ECHO_C" >&6
4553
else
4554
  cat >conftest.$ac_ext <<_ACEOF
4555
/* confdefs.h.  */
4556
_ACEOF
4557
cat confdefs.h >>conftest.$ac_ext
4558
cat >>conftest.$ac_ext <<_ACEOF
4559
/* end confdefs.h.  */
4560
$ac_includes_default
4561
4562
@%:@include <$ac_header>
4563
_ACEOF
4564
rm -f conftest.$ac_objext
4565
if { (ac_try="$ac_compile"
4566
case "(($ac_try" in
4567
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4568
  *) ac_try_echo=$ac_try;;
4569
esac
4570
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4571
  (eval "$ac_compile") 2>conftest.er1
4572
  ac_status=$?
4573
  grep -v '^ *+' conftest.er1 >conftest.err
4574
  rm -f conftest.er1
4575
  cat conftest.err >&5
4576
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4577
  (exit $ac_status); } && {
4578
	 test -z "$ac_c_werror_flag" ||
4579
	 test ! -s conftest.err
4580
       } && test -s conftest.$ac_objext; then
4581
  eval "$as_ac_Header=yes"
4582
else
4583
  echo "$as_me: failed program was:" >&5
4584
sed 's/^/| /' conftest.$ac_ext >&5
4585
4586
	eval "$as_ac_Header=no"
4587
fi
4588
4589
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4590
fi
4591
ac_res=`eval echo '${'$as_ac_Header'}'`
4592
	       { echo "$as_me:$LINENO: result: $ac_res" >&5
4593
echo "${ECHO_T}$ac_res" >&6; }
4594
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4595
  cat >>confdefs.h <<_ACEOF
4596
@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4597
_ACEOF
4598
 
4599
fi
4600
4601
done
4602
4603
4604
4605
4606
for ac_header in linux/cdrom.h fcntl.h
4607
do
4608
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4609
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4610
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
4611
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4612
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4613
  echo $ECHO_N "(cached) $ECHO_C" >&6
4614
fi
4615
ac_res=`eval echo '${'$as_ac_Header'}'`
4616
	       { echo "$as_me:$LINENO: result: $ac_res" >&5
4617
echo "${ECHO_T}$ac_res" >&6; }
4618
else
4619
  # Is the header compilable?
4620
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
4621
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4622
cat >conftest.$ac_ext <<_ACEOF
4623
/* confdefs.h.  */
4624
_ACEOF
4625
cat confdefs.h >>conftest.$ac_ext
4626
cat >>conftest.$ac_ext <<_ACEOF
4627
/* end confdefs.h.  */
4628
$ac_includes_default
4629
@%:@include <$ac_header>
4630
_ACEOF
4631
rm -f conftest.$ac_objext
4632
if { (ac_try="$ac_compile"
4633
case "(($ac_try" in
4634
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4635
  *) ac_try_echo=$ac_try;;
4636
esac
4637
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4638
  (eval "$ac_compile") 2>conftest.er1
4639
  ac_status=$?
4640
  grep -v '^ *+' conftest.er1 >conftest.err
4641
  rm -f conftest.er1
4642
  cat conftest.err >&5
4643
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4644
  (exit $ac_status); } && {
4645
	 test -z "$ac_c_werror_flag" ||
4646
	 test ! -s conftest.err
4647
       } && test -s conftest.$ac_objext; then
4648
  ac_header_compiler=yes
4649
else
4650
  echo "$as_me: failed program was:" >&5
4651
sed 's/^/| /' conftest.$ac_ext >&5
4652
4653
	ac_header_compiler=no
4654
fi
4655
4656
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4657
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4658
echo "${ECHO_T}$ac_header_compiler" >&6; }
4659
4660
# Is the header present?
4661
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
4662
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4663
cat >conftest.$ac_ext <<_ACEOF
4664
/* confdefs.h.  */
4665
_ACEOF
4666
cat confdefs.h >>conftest.$ac_ext
4667
cat >>conftest.$ac_ext <<_ACEOF
4668
/* end confdefs.h.  */
4669
@%:@include <$ac_header>
4670
_ACEOF
4671
if { (ac_try="$ac_cpp conftest.$ac_ext"
4672
case "(($ac_try" in
4673
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4674
  *) ac_try_echo=$ac_try;;
4675
esac
4676
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4677
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4678
  ac_status=$?
4679
  grep -v '^ *+' conftest.er1 >conftest.err
4680
  rm -f conftest.er1
4681
  cat conftest.err >&5
4682
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4683
  (exit $ac_status); } >/dev/null && {
4684
	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4685
	 test ! -s conftest.err
4686
       }; then
4687
  ac_header_preproc=yes
4688
else
4689
  echo "$as_me: failed program was:" >&5
4690
sed 's/^/| /' conftest.$ac_ext >&5
4691
4692
  ac_header_preproc=no
4693
fi
4694
4695
rm -f conftest.err conftest.$ac_ext
4696
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4697
echo "${ECHO_T}$ac_header_preproc" >&6; }
4698
4699
# So?  What about this header?
4700
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4701
  yes:no: )
4702
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4703
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4704
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4705
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4706
    ac_header_preproc=yes
4707
    ;;
4708
  no:yes:* )
4709
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4710
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4711
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
4712
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
4713
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4714
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4715
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
4716
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
4717
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4718
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4719
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4720
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4721
    ( cat <<\_ASBOX
4722
@%:@@%:@ -------------------------------- @%:@@%:@
4723
@%:@@%:@ Report this to sbalneav@ltsp.org @%:@@%:@
4724
@%:@@%:@ -------------------------------- @%:@@%:@
4725
_ASBOX
4726
     ) | sed "s/^/$as_me: WARNING:     /" >&2
4727
    ;;
4728
esac
4729
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4730
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4731
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4732
  echo $ECHO_N "(cached) $ECHO_C" >&6
4733
else
4734
  eval "$as_ac_Header=\$ac_header_preproc"
4735
fi
4736
ac_res=`eval echo '${'$as_ac_Header'}'`
4737
	       { echo "$as_me:$LINENO: result: $ac_res" >&5
4738
echo "${ECHO_T}$ac_res" >&6; }
4739
4740
fi
4741
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4742
  cat >>confdefs.h <<_ACEOF
4743
@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4744
_ACEOF
4745
 
4746
else
4747
  { { echo "$as_me:$LINENO: error: Required header missing" >&5
4748
echo "$as_me: error: Required header missing" >&2;}
4749
   { (exit 1); exit 1; }; }
4750
fi
4751
4752
done
4753
4754
4755
if test -z "$UDEV_RULES_PATH"; then
4756
        UDEV_RULES_PATH=/etc/udev/rules.d
4757
fi
4758
4759
4760
if test -z "$UDEV_LIB_PATH"; then
4761
        UDEV_LIB_PATH=/lib/udev
4762
fi
4763
4764
4765
4766
pkg_failed=no
4767
{ echo "$as_me:$LINENO: checking for GLIB" >&5
4768
echo $ECHO_N "checking for GLIB... $ECHO_C" >&6; }
4769
4770
if test -n "$PKG_CONFIG"; then
4771
    if test -n "$GLIB_CFLAGS"; then
4772
        pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
4773
    else
4774
        if test -n "$PKG_CONFIG" && \
4775
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.6.0\"") >&5
4776
  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.6.0") 2>&5
4777
  ac_status=$?
4778
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4779
  (exit $ac_status); }; then
4780
  pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.6.0" 2>/dev/null`
4781
else
4782
  pkg_failed=yes
4783
fi
4784
    fi
4785
else
4786
	pkg_failed=untried
4787
fi
4788
if test -n "$PKG_CONFIG"; then
4789
    if test -n "$GLIB_LIBS"; then
4790
        pkg_cv_GLIB_LIBS="$GLIB_LIBS"
4791
    else
4792
        if test -n "$PKG_CONFIG" && \
4793
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.6.0\"") >&5
4794
  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.6.0") 2>&5
4795
  ac_status=$?
4796
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4797
  (exit $ac_status); }; then
4798
  pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.6.0" 2>/dev/null`
4799
else
4800
  pkg_failed=yes
4801
fi
4802
    fi
4803
else
4804
	pkg_failed=untried
4805
fi
4806
4807
4808
4809
if test $pkg_failed = yes; then
4810
        
4811
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4812
        _pkg_short_errors_supported=yes
4813
else
4814
        _pkg_short_errors_supported=no
4815
fi
4816
        if test $_pkg_short_errors_supported = yes; then
4817
	        GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glib-2.0 >= 2.6.0"`
4818
        else 
4819
	        GLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 >= 2.6.0"`
4820
        fi
4821
	# Put the nasty error message in config.log where it belongs
4822
	echo "$GLIB_PKG_ERRORS" >&5
4823
4824
	{ { echo "$as_me:$LINENO: error: Package requirements (glib-2.0 >= 2.6.0) were not met:
4825
4826
$GLIB_PKG_ERRORS
4827
4828
Consider adjusting the PKG_CONFIG_PATH environment variable if you
4829
installed software in a non-standard prefix.
4830
4831
Alternatively, you may set the environment variables GLIB_CFLAGS
4832
and GLIB_LIBS to avoid the need to call pkg-config.
4833
See the pkg-config man page for more details.
4834
" >&5
4835
echo "$as_me: error: Package requirements (glib-2.0 >= 2.6.0) were not met:
4836
4837
$GLIB_PKG_ERRORS
4838
4839
Consider adjusting the PKG_CONFIG_PATH environment variable if you
4840
installed software in a non-standard prefix.
4841
4842
Alternatively, you may set the environment variables GLIB_CFLAGS
4843
and GLIB_LIBS to avoid the need to call pkg-config.
4844
See the pkg-config man page for more details.
4845
" >&2;}
4846
   { (exit 1); exit 1; }; }
4847
elif test $pkg_failed = untried; then
4848
	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
4849
is in your PATH or set the PKG_CONFIG environment variable to the full
4850
path to pkg-config.
4851
4852
Alternatively, you may set the environment variables GLIB_CFLAGS
4853
and GLIB_LIBS to avoid the need to call pkg-config.
4854
See the pkg-config man page for more details.
4855
4856
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4857
See \`config.log' for more details." >&5
4858
echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
4859
is in your PATH or set the PKG_CONFIG environment variable to the full
4860
path to pkg-config.
4861
4862
Alternatively, you may set the environment variables GLIB_CFLAGS
4863
and GLIB_LIBS to avoid the need to call pkg-config.
4864
See the pkg-config man page for more details.
4865
4866
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4867
See \`config.log' for more details." >&2;}
4868
   { (exit 1); exit 1; }; }
4869
else
4870
	GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
4871
	GLIB_LIBS=$pkg_cv_GLIB_LIBS
4872
        { echo "$as_me:$LINENO: result: yes" >&5
4873
echo "${ECHO_T}yes" >&6; }
4874
	:
4875
fi
4876
4877
pkg_failed=no
4878
{ echo "$as_me:$LINENO: checking for GOBJECT" >&5
4879
echo $ECHO_N "checking for GOBJECT... $ECHO_C" >&6; }
4880
4881
if test -n "$PKG_CONFIG"; then
4882
    if test -n "$GOBJECT_CFLAGS"; then
4883
        pkg_cv_GOBJECT_CFLAGS="$GOBJECT_CFLAGS"
4884
    else
4885
        if test -n "$PKG_CONFIG" && \
4886
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gobject-2.0 >= 2.6.0\"") >&5
4887
  ($PKG_CONFIG --exists --print-errors "gobject-2.0 >= 2.6.0") 2>&5
4888
  ac_status=$?
4889
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4890
  (exit $ac_status); }; then
4891
  pkg_cv_GOBJECT_CFLAGS=`$PKG_CONFIG --cflags "gobject-2.0 >= 2.6.0" 2>/dev/null`
4892
else
4893
  pkg_failed=yes
4894
fi
4895
    fi
4896
else
4897
	pkg_failed=untried
4898
fi
4899
if test -n "$PKG_CONFIG"; then
4900
    if test -n "$GOBJECT_LIBS"; then
4901
        pkg_cv_GOBJECT_LIBS="$GOBJECT_LIBS"
4902
    else
4903
        if test -n "$PKG_CONFIG" && \
4904
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gobject-2.0 >= 2.6.0\"") >&5
4905
  ($PKG_CONFIG --exists --print-errors "gobject-2.0 >= 2.6.0") 2>&5
4906
  ac_status=$?
4907
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4908
  (exit $ac_status); }; then
4909
  pkg_cv_GOBJECT_LIBS=`$PKG_CONFIG --libs "gobject-2.0 >= 2.6.0" 2>/dev/null`
4910
else
4911
  pkg_failed=yes
4912
fi
4913
    fi
4914
else
4915
	pkg_failed=untried
4916
fi
4917
4918
4919
4920
if test $pkg_failed = yes; then
4921
        
4922
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4923
        _pkg_short_errors_supported=yes
4924
else
4925
        _pkg_short_errors_supported=no
4926
fi
4927
        if test $_pkg_short_errors_supported = yes; then
4928
	        GOBJECT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gobject-2.0 >= 2.6.0"`
4929
        else 
4930
	        GOBJECT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gobject-2.0 >= 2.6.0"`
4931
        fi
4932
	# Put the nasty error message in config.log where it belongs
4933
	echo "$GOBJECT_PKG_ERRORS" >&5
4934
4935
	{ { echo "$as_me:$LINENO: error: Package requirements (gobject-2.0 >= 2.6.0) were not met:
4936
4937
$GOBJECT_PKG_ERRORS
4938
4939
Consider adjusting the PKG_CONFIG_PATH environment variable if you
4940
installed software in a non-standard prefix.
4941
4942
Alternatively, you may set the environment variables GOBJECT_CFLAGS
4943
and GOBJECT_LIBS to avoid the need to call pkg-config.
4944
See the pkg-config man page for more details.
4945
" >&5
4946
echo "$as_me: error: Package requirements (gobject-2.0 >= 2.6.0) were not met:
4947
4948
$GOBJECT_PKG_ERRORS
4949
4950
Consider adjusting the PKG_CONFIG_PATH environment variable if you
4951
installed software in a non-standard prefix.
4952
4953
Alternatively, you may set the environment variables GOBJECT_CFLAGS
4954
and GOBJECT_LIBS to avoid the need to call pkg-config.
4955
See the pkg-config man page for more details.
4956
" >&2;}
4957
   { (exit 1); exit 1; }; }
4958
elif test $pkg_failed = untried; then
4959
	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
4960
is in your PATH or set the PKG_CONFIG environment variable to the full
4961
path to pkg-config.
4962
4963
Alternatively, you may set the environment variables GOBJECT_CFLAGS
4964
and GOBJECT_LIBS to avoid the need to call pkg-config.
4965
See the pkg-config man page for more details.
4966
4967
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4968
See \`config.log' for more details." >&5
4969
echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
4970
is in your PATH or set the PKG_CONFIG environment variable to the full
4971
path to pkg-config.
4972
4973
Alternatively, you may set the environment variables GOBJECT_CFLAGS
4974
and GOBJECT_LIBS to avoid the need to call pkg-config.
4975
See the pkg-config man page for more details.
4976
4977
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4978
See \`config.log' for more details." >&2;}
4979
   { (exit 1); exit 1; }; }
4980
else
4981
	GOBJECT_CFLAGS=$pkg_cv_GOBJECT_CFLAGS
4982
	GOBJECT_LIBS=$pkg_cv_GOBJECT_LIBS
4983
        { echo "$as_me:$LINENO: result: yes" >&5
4984
echo "${ECHO_T}yes" >&6; }
4985
	:
4986
fi
4987
4988
4989
4990
4991
4992
4993
ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile scripts/Makefile udev/Makefile"
4994
4995
cat >confcache <<\_ACEOF
4996
# This file is a shell script that caches the results of configure
4997
# tests run on this system so they can be shared between configure
4998
# scripts and configure runs, see configure's option --config-cache.
4999
# It is not useful on other systems.  If it contains results you don't
5000
# want to keep, you may remove or edit it.
5001
#
5002
# config.status only pays attention to the cache file if you give it
5003
# the --recheck option to rerun configure.
5004
#
5005
# `ac_cv_env_foo' variables (set or unset) will be overridden when
5006
# loading this file, other *unset* `ac_cv_foo' will be assigned the
5007
# following values.
5008
5009
_ACEOF
5010
5011
# The following way of writing the cache mishandles newlines in values,
5012
# but we know of no workaround that is simple, portable, and efficient.
5013
# So, we kill variables containing newlines.
5014
# Ultrix sh set writes to stderr and can't be redirected directly,
5015
# and sets the high bit in the cache file unless we assign to the vars.
5016
(
5017
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5018
    eval ac_val=\$$ac_var
5019
    case $ac_val in #(
5020
    *${as_nl}*)
5021
      case $ac_var in #(
5022
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
5023
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
5024
      esac
5025
      case $ac_var in #(
5026
      _ | IFS | as_nl) ;; #(
5027
      *) $as_unset $ac_var ;;
5028
      esac ;;
5029
    esac
5030
  done
5031
5032
  (set) 2>&1 |
5033
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
5034
    *${as_nl}ac_space=\ *)
5035
      # `set' does not quote correctly, so add quotes (double-quote
5036
      # substitution turns \\\\ into \\, and sed turns \\ into \).
5037
      sed -n \
5038
	"s/'/'\\\\''/g;
5039
	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5040
      ;; #(
5041
    *)
5042
      # `set' quotes correctly as required by POSIX, so do not add quotes.
5043
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5044
      ;;
5045
    esac |
5046
    sort
5047
) |
5048
  sed '
5049
     /^ac_cv_env_/b end
5050
     t clear
5051
     :clear
5052
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5053
     t end
5054
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5055
     :end' >>confcache
5056
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5057
  if test -w "$cache_file"; then
5058
    test "x$cache_file" != "x/dev/null" &&
5059
      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
5060
echo "$as_me: updating cache $cache_file" >&6;}
5061
    cat confcache >$cache_file
5062
  else
5063
    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
5064
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5065
  fi
5066
fi
5067
rm -f confcache
5068
5069
test "x$prefix" = xNONE && prefix=$ac_default_prefix
5070
# Let make expand exec_prefix.
5071
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5072
5073
DEFS=-DHAVE_CONFIG_H
5074
5075
ac_libobjs=
5076
ac_ltlibobjs=
5077
for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
5078
  # 1. Remove the extension, and $U if already installed.
5079
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5080
  ac_i=`echo "$ac_i" | sed "$ac_script"`
5081
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
5082
  #    will be set to the directory where LIBOBJS objects are built.
5083
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5084
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
5085
done
5086
LIB@&t@OBJS=$ac_libobjs
5087
5088
LTLIBOBJS=$ac_ltlibobjs
5089
5090
5091
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
5092
  { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
5093
Usually this means the macro was only invoked conditionally." >&5
5094
echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
5095
Usually this means the macro was only invoked conditionally." >&2;}
5096
   { (exit 1); exit 1; }; }
5097
fi
5098
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5099
  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
5100
Usually this means the macro was only invoked conditionally." >&5
5101
echo "$as_me: error: conditional \"AMDEP\" was never defined.
5102
Usually this means the macro was only invoked conditionally." >&2;}
5103
   { (exit 1); exit 1; }; }
5104
fi
5105
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5106
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5107
Usually this means the macro was only invoked conditionally." >&5
5108
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
5109
Usually this means the macro was only invoked conditionally." >&2;}
5110
   { (exit 1); exit 1; }; }
5111
fi
5112
5113
: ${CONFIG_STATUS=./config.status}
5114
ac_clean_files_save=$ac_clean_files
5115
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5116
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5117
echo "$as_me: creating $CONFIG_STATUS" >&6;}
5118
cat >$CONFIG_STATUS <<_ACEOF
5119
#! $SHELL
5120
# Generated by $as_me.
5121
# Run this file to recreate the current configuration.
5122
# Compiler output produced by configure, useful for debugging
5123
# configure, is in config.log if it exists.
5124
5125
debug=false
5126
ac_cs_recheck=false
5127
ac_cs_silent=false
5128
SHELL=\${CONFIG_SHELL-$SHELL}
5129
_ACEOF
5130
5131
cat >>$CONFIG_STATUS <<\_ACEOF
5132
## --------------------- ##
5133
## M4sh Initialization.  ##
5134
## --------------------- ##
5135
5136
# Be more Bourne compatible
5137
DUALCASE=1; export DUALCASE # for MKS sh
5138
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5139
  emulate sh
5140
  NULLCMD=:
5141
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5142
  # is contrary to our usage.  Disable this feature.
5143
  alias -g '${1+"$@"}'='"$@"'
5144
  setopt NO_GLOB_SUBST
5145
else
5146
  case `(set -o) 2>/dev/null` in
5147
  *posix*) set -o posix ;;
5148
esac
5149
5150
fi
5151
5152
5153
5154
5155
# PATH needs CR
5156
# Avoid depending upon Character Ranges.
5157
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5158
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5159
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5160
as_cr_digits='0123456789'
5161
as_cr_alnum=$as_cr_Letters$as_cr_digits
5162
5163
# The user is always right.
5164
if test "${PATH_SEPARATOR+set}" != set; then
5165
  echo "#! /bin/sh" >conf$$.sh
5166
  echo  "exit 0"   >>conf$$.sh
5167
  chmod +x conf$$.sh
5168
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5169
    PATH_SEPARATOR=';'
5170
  else
5171
    PATH_SEPARATOR=:
5172
  fi
5173
  rm -f conf$$.sh
5174
fi
5175
5176
# Support unset when possible.
5177
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5178
  as_unset=unset
5179
else
5180
  as_unset=false
5181
fi
5182
5183
5184
# IFS
5185
# We need space, tab and new line, in precisely that order.  Quoting is
5186
# there to prevent editors from complaining about space-tab.
5187
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
5188
# splitting by setting IFS to empty value.)
5189
as_nl='
5190
'
5191
IFS=" ""	$as_nl"
5192
5193
# Find who we are.  Look in the path if we contain no directory separator.
5194
case $0 in
5195
  *[\\/]* ) as_myself=$0 ;;
5196
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5197
for as_dir in $PATH
5198
do
5199
  IFS=$as_save_IFS
5200
  test -z "$as_dir" && as_dir=.
5201
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5202
done
5203
IFS=$as_save_IFS
5204
5205
     ;;
5206
esac
5207
# We did not find ourselves, most probably we were run as `sh COMMAND'
5208
# in which case we are not to be found in the path.
5209
if test "x$as_myself" = x; then
5210
  as_myself=$0
5211
fi
5212
if test ! -f "$as_myself"; then
5213
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5214
  { (exit 1); exit 1; }
5215
fi
5216
5217
# Work around bugs in pre-3.0 UWIN ksh.
5218
for as_var in ENV MAIL MAILPATH
5219
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
5220
done
5221
PS1='$ '
5222
PS2='> '
5223
PS4='+ '
5224
5225
# NLS nuisances.
5226
for as_var in \
5227
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5228
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5229
  LC_TELEPHONE LC_TIME
5230
do
5231
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5232
    eval $as_var=C; export $as_var
5233
  else
5234
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
5235
  fi
5236
done
5237
5238
# Required to use basename.
5239
if expr a : '\(a\)' >/dev/null 2>&1 &&
5240
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
5241
  as_expr=expr
5242
else
5243
  as_expr=false
5244
fi
5245
5246
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5247
  as_basename=basename
5248
else
5249
  as_basename=false
5250
fi
5251
5252
5253
# Name of the executable.
5254
as_me=`$as_basename -- "$0" ||
5255
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5256
	 X"$0" : 'X\(//\)$' \| \
5257
	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5258
echo X/"$0" |
5259
    sed '/^.*\/\([^/][^/]*\)\/*$/{
5260
	    s//\1/
5261
	    q
5262
	  }
5263
	  /^X\/\(\/\/\)$/{
5264
	    s//\1/
5265
	    q
5266
	  }
5267
	  /^X\/\(\/\).*/{
5268
	    s//\1/
5269
	    q
5270
	  }
5271
	  s/.*/./; q'`
5272
5273
# CDPATH.
5274
$as_unset CDPATH
5275
5276
5277
5278
  as_lineno_1=$LINENO
5279
  as_lineno_2=$LINENO
5280
  test "x$as_lineno_1" != "x$as_lineno_2" &&
5281
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
5282
5283
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5284
  # uniformly replaced by the line number.  The first 'sed' inserts a
5285
  # line-number line after each line using $LINENO; the second 'sed'
5286
  # does the real work.  The second script uses 'N' to pair each
5287
  # line-number line with the line containing $LINENO, and appends
5288
  # trailing '-' during substitution so that $LINENO is not a special
5289
  # case at line end.
5290
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5291
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
5292
  # E. McMahon (1931-1989) for sed's syntax.  :-)
5293
  sed -n '
5294
    p
5295
    /[$]LINENO/=
5296
  ' <$as_myself |
5297
    sed '
5298
      s/[$]LINENO.*/&-/
5299
      t lineno
5300
      b
5301
      :lineno
5302
      N
5303
      :loop
5304
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
5305
      t loop
5306
      s/-\n.*//
5307
    ' >$as_me.lineno &&
5308
  chmod +x "$as_me.lineno" ||
5309
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
5310
   { (exit 1); exit 1; }; }
5311
5312
  # Don't try to exec as it changes $[0], causing all sort of problems
5313
  # (the dirname of $[0] is not the place where we might find the
5314
  # original and so on.  Autoconf is especially sensitive to this).
5315
  . "./$as_me.lineno"
5316
  # Exit status is that of the last command.
5317
  exit
5318
}
5319
5320
5321
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5322
  as_dirname=dirname
5323
else
5324
  as_dirname=false
5325
fi
5326
5327
ECHO_C= ECHO_N= ECHO_T=
5328
case `echo -n x` in
5329
-n*)
5330
  case `echo 'x\c'` in
5331
  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
5332
  *)   ECHO_C='\c';;
5333
  esac;;
5334
*)
5335
  ECHO_N='-n';;
5336
esac
5337
5338
if expr a : '\(a\)' >/dev/null 2>&1 &&
5339
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
5340
  as_expr=expr
5341
else
5342
  as_expr=false
5343
fi
5344
5345
rm -f conf$$ conf$$.exe conf$$.file
5346
if test -d conf$$.dir; then
5347
  rm -f conf$$.dir/conf$$.file
5348
else
5349
  rm -f conf$$.dir
5350
  mkdir conf$$.dir
5351
fi
5352
echo >conf$$.file
5353
if ln -s conf$$.file conf$$ 2>/dev/null; then
5354
  as_ln_s='ln -s'
5355
  # ... but there are two gotchas:
5356
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5357
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5358
  # In both cases, we have to default to `cp -p'.
5359
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5360
    as_ln_s='cp -p'
5361
elif ln conf$$.file conf$$ 2>/dev/null; then
5362
  as_ln_s=ln
5363
else
5364
  as_ln_s='cp -p'
5365
fi
5366
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5367
rmdir conf$$.dir 2>/dev/null
5368
5369
if mkdir -p . 2>/dev/null; then
5370
  as_mkdir_p=:
5371
else
5372
  test -d ./-p && rmdir ./-p
5373
  as_mkdir_p=false
5374
fi
5375
5376
if test -x / >/dev/null 2>&1; then
5377
  as_test_x='test -x'
5378
else
5379
  if ls -dL / >/dev/null 2>&1; then
5380
    as_ls_L_option=L
5381
  else
5382
    as_ls_L_option=
5383
  fi
5384
  as_test_x='
5385
    eval sh -c '\''
5386
      if test -d "$1"; then
5387
        test -d "$1/.";
5388
      else
5389
	case $1 in
5390
        -*)set "./$1";;
5391
	esac;
5392
	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
5393
	???[sx]*):;;*)false;;esac;fi
5394
    '\'' sh
5395
  '
5396
fi
5397
as_executable_p=$as_test_x
5398
5399
# Sed expression to map a string onto a valid CPP name.
5400
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5401
5402
# Sed expression to map a string onto a valid variable name.
5403
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5404
5405
5406
exec 6>&1
5407
5408
# Save the log message, to keep $[0] and so on meaningful, and to
5409
# report actual input values of CONFIG_FILES etc. instead of their
5410
# values after options handling.
5411
ac_log="
5412
This file was extended by ltspfs $as_me 0.4.2, which was
5413
generated by GNU Autoconf 2.61.  Invocation command line was
5414
5415
  CONFIG_FILES    = $CONFIG_FILES
5416
  CONFIG_HEADERS  = $CONFIG_HEADERS
5417
  CONFIG_LINKS    = $CONFIG_LINKS
5418
  CONFIG_COMMANDS = $CONFIG_COMMANDS
5419
  $ $0 $@
5420
5421
on `(hostname || uname -n) 2>/dev/null | sed 1q`
5422
"
5423
5424
_ACEOF
5425
5426
cat >>$CONFIG_STATUS <<_ACEOF
5427
# Files that config.status was made for.
5428
config_files="$ac_config_files"
5429
config_headers="$ac_config_headers"
5430
config_commands="$ac_config_commands"
5431
5432
_ACEOF
5433
5434
cat >>$CONFIG_STATUS <<\_ACEOF
5435
ac_cs_usage="\
5436
\`$as_me' instantiates files from templates according to the
5437
current configuration.
5438
5439
Usage: $0 [OPTIONS] [FILE]...
5440
5441
  -h, --help       print this help, then exit
5442
  -V, --version    print version number and configuration settings, then exit
5443
  -q, --quiet      do not print progress messages
5444
  -d, --debug      don't remove temporary files
5445
      --recheck    update $as_me by reconfiguring in the same conditions
5446
  --file=FILE[:TEMPLATE]
5447
		   instantiate the configuration file FILE
5448
  --header=FILE[:TEMPLATE]
5449
		   instantiate the configuration header FILE
5450
5451
Configuration files:
5452
$config_files
5453
5454
Configuration headers:
5455
$config_headers
5456
5457
Configuration commands:
5458
$config_commands
5459
5460
Report bugs to <bug-autoconf@gnu.org>."
5461
5462
_ACEOF
5463
cat >>$CONFIG_STATUS <<_ACEOF
5464
ac_cs_version="\\
5465
ltspfs config.status 0.4.2
5466
configured by $0, generated by GNU Autoconf 2.61,
5467
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
5468
5469
Copyright (C) 2006 Free Software Foundation, Inc.
5470
This config.status script is free software; the Free Software Foundation
5471
gives unlimited permission to copy, distribute and modify it."
5472
5473
ac_pwd='$ac_pwd'
5474
srcdir='$srcdir'
5475
INSTALL='$INSTALL'
5476
_ACEOF
5477
5478
cat >>$CONFIG_STATUS <<\_ACEOF
5479
# If no file are specified by the user, then we need to provide default
5480
# value.  By we need to know if files were specified by the user.
5481
ac_need_defaults=:
5482
while test $# != 0
5483
do
5484
  case $1 in
5485
  --*=*)
5486
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
5487
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5488
    ac_shift=:
5489
    ;;
5490
  *)
5491
    ac_option=$1
5492
    ac_optarg=$2
5493
    ac_shift=shift
5494
    ;;
5495
  esac
5496
5497
  case $ac_option in
5498
  # Handling of the options.
5499
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5500
    ac_cs_recheck=: ;;
5501
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5502
    echo "$ac_cs_version"; exit ;;
5503
  --debug | --debu | --deb | --de | --d | -d )
5504
    debug=: ;;
5505
  --file | --fil | --fi | --f )
5506
    $ac_shift
5507
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
5508
    ac_need_defaults=false;;
5509
  --header | --heade | --head | --hea )
5510
    $ac_shift
5511
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
5512
    ac_need_defaults=false;;
5513
  --he | --h)
5514
    # Conflict between --help and --header
5515
    { echo "$as_me: error: ambiguous option: $1
5516
Try \`$0 --help' for more information." >&2
5517
   { (exit 1); exit 1; }; };;
5518
  --help | --hel | -h )
5519
    echo "$ac_cs_usage"; exit ;;
5520
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5521
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
5522
    ac_cs_silent=: ;;
5523
5524
  # This is an error.
5525
  -*) { echo "$as_me: error: unrecognized option: $1
5526
Try \`$0 --help' for more information." >&2
5527
   { (exit 1); exit 1; }; } ;;
5528
5529
  *) ac_config_targets="$ac_config_targets $1"
5530
     ac_need_defaults=false ;;
5531
5532
  esac
5533
  shift
5534
done
5535
5536
ac_configure_extra_args=
5537
5538
if $ac_cs_silent; then
5539
  exec 6>/dev/null
5540
  ac_configure_extra_args="$ac_configure_extra_args --silent"
5541
fi
5542
5543
_ACEOF
5544
cat >>$CONFIG_STATUS <<_ACEOF
5545
if \$ac_cs_recheck; then
5546
  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5547
  CONFIG_SHELL=$SHELL
5548
  export CONFIG_SHELL
5549
  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5550
fi
5551
5552
_ACEOF
5553
cat >>$CONFIG_STATUS <<\_ACEOF
5554
exec 5>>config.log
5555
{
5556
  echo
5557
  sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
5558
@%:@@%:@ Running $as_me. @%:@@%:@
5559
_ASBOX
5560
  echo "$ac_log"
5561
} >&5
5562
5563
_ACEOF
5564
cat >>$CONFIG_STATUS <<_ACEOF
5565
#
5566
# INIT-COMMANDS
5567
#
5568
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5569
5570
_ACEOF
5571
5572
cat >>$CONFIG_STATUS <<\_ACEOF
5573
5574
# Handling of arguments.
5575
for ac_config_target in $ac_config_targets
5576
do
5577
  case $ac_config_target in
5578
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5579
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5580
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5581
    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
5582
    "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
5583
    "scripts/Makefile") CONFIG_FILES="$CONFIG_FILES scripts/Makefile" ;;
5584
    "udev/Makefile") CONFIG_FILES="$CONFIG_FILES udev/Makefile" ;;
5585
5586
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5587
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5588
   { (exit 1); exit 1; }; };;
5589
  esac
5590
done
5591
5592
5593
# If the user did not use the arguments to specify the items to instantiate,
5594
# then the envvar interface is used.  Set only those that are not.
5595
# We use the long form for the default assignment because of an extremely
5596
# bizarre bug on SunOS 4.1.3.
5597
if $ac_need_defaults; then
5598
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5599
  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5600
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5601
fi
5602
5603
# Have a temporary directory for convenience.  Make it in the build tree
5604
# simply because there is no reason against having it here, and in addition,
5605
# creating and moving files from /tmp can sometimes cause problems.
5606
# Hook for its removal unless debugging.
5607
# Note that there is a small window in which the directory will not be cleaned:
5608
# after its creation but before its name has been assigned to `$tmp'.
5609
$debug ||
5610
{
5611
  tmp=
5612
  trap 'exit_status=$?
5613
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5614
' 0
5615
  trap '{ (exit 1); exit 1; }' 1 2 13 15
5616
}
5617
# Create a (secure) tmp directory for tmp files.
5618
5619
{
5620
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5621
  test -n "$tmp" && test -d "$tmp"
5622
}  ||
5623
{
5624
  tmp=./conf$$-$RANDOM
5625
  (umask 077 && mkdir "$tmp")
5626
} ||
5627
{
5628
   echo "$me: cannot create a temporary directory in ." >&2
5629
   { (exit 1); exit 1; }
5630
}
5631
5632
#
5633
# Set up the sed scripts for CONFIG_FILES section.
5634
#
5635
5636
# No need to generate the scripts if there are no CONFIG_FILES.
5637
# This happens for instance when ./config.status config.h
5638
if test -n "$CONFIG_FILES"; then
5639
5640
_ACEOF
5641
5642
5643
5644
ac_delim='%!_!# '
5645
for ac_last_try in false false false false false :; do
5646
  cat >conf$$subs.sed <<_ACEOF
5647
SHELL!$SHELL$ac_delim
5648
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
5649
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
5650
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
5651
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
5652
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
5653
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
5654
exec_prefix!$exec_prefix$ac_delim
5655
prefix!$prefix$ac_delim
5656
program_transform_name!$program_transform_name$ac_delim
5657
bindir!$bindir$ac_delim
5658
sbindir!$sbindir$ac_delim
5659
libexecdir!$libexecdir$ac_delim
5660
datarootdir!$datarootdir$ac_delim
5661
datadir!$datadir$ac_delim
5662
sysconfdir!$sysconfdir$ac_delim
5663
sharedstatedir!$sharedstatedir$ac_delim
5664
localstatedir!$localstatedir$ac_delim
5665
includedir!$includedir$ac_delim
5666
oldincludedir!$oldincludedir$ac_delim
5667
docdir!$docdir$ac_delim
5668
infodir!$infodir$ac_delim
5669
htmldir!$htmldir$ac_delim
5670
dvidir!$dvidir$ac_delim
5671
pdfdir!$pdfdir$ac_delim
5672
psdir!$psdir$ac_delim
5673
libdir!$libdir$ac_delim
5674
localedir!$localedir$ac_delim
5675
mandir!$mandir$ac_delim
5676
DEFS!$DEFS$ac_delim
5677
ECHO_C!$ECHO_C$ac_delim
5678
ECHO_N!$ECHO_N$ac_delim
5679
ECHO_T!$ECHO_T$ac_delim
5680
LIBS!$LIBS$ac_delim
5681
build_alias!$build_alias$ac_delim
5682
host_alias!$host_alias$ac_delim
5683
target_alias!$target_alias$ac_delim
5684
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
5685
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
5686
INSTALL_DATA!$INSTALL_DATA$ac_delim
5687
CYGPATH_W!$CYGPATH_W$ac_delim
5688
PACKAGE!$PACKAGE$ac_delim
5689
VERSION!$VERSION$ac_delim
5690
ACLOCAL!$ACLOCAL$ac_delim
5691
AUTOCONF!$AUTOCONF$ac_delim
5692
AUTOMAKE!$AUTOMAKE$ac_delim
5693
AUTOHEADER!$AUTOHEADER$ac_delim
5694
MAKEINFO!$MAKEINFO$ac_delim
5695
install_sh!$install_sh$ac_delim
5696
STRIP!$STRIP$ac_delim
5697
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
5698
mkdir_p!$mkdir_p$ac_delim
5699
AWK!$AWK$ac_delim
5700
SET_MAKE!$SET_MAKE$ac_delim
5701
am__leading_dot!$am__leading_dot$ac_delim
5702
AMTAR!$AMTAR$ac_delim
5703
am__tar!$am__tar$ac_delim
5704
am__untar!$am__untar$ac_delim
5705
MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
5706
MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
5707
MAINT!$MAINT$ac_delim
5708
CC!$CC$ac_delim
5709
CFLAGS!$CFLAGS$ac_delim
5710
LDFLAGS!$LDFLAGS$ac_delim
5711
CPPFLAGS!$CPPFLAGS$ac_delim
5712
ac_ct_CC!$ac_ct_CC$ac_delim
5713
EXEEXT!$EXEEXT$ac_delim
5714
OBJEXT!$OBJEXT$ac_delim
5715
DEPDIR!$DEPDIR$ac_delim
5716
am__include!$am__include$ac_delim
5717
am__quote!$am__quote$ac_delim
5718
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
5719
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
5720
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
5721
CCDEPMODE!$CCDEPMODE$ac_delim
5722
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
5723
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
5724
PKG_CONFIG!$PKG_CONFIG$ac_delim
5725
LTSPFS_CFLAGS!$LTSPFS_CFLAGS$ac_delim
5726
LTSPFS_LIBS!$LTSPFS_LIBS$ac_delim
5727
CPP!$CPP$ac_delim
5728
GREP!$GREP$ac_delim
5729
EGREP!$EGREP$ac_delim
5730
UDEV_RULES_PATH!$UDEV_RULES_PATH$ac_delim
5731
UDEV_LIB_PATH!$UDEV_LIB_PATH$ac_delim
5732
GLIB_CFLAGS!$GLIB_CFLAGS$ac_delim
5733
GLIB_LIBS!$GLIB_LIBS$ac_delim
5734
GOBJECT_CFLAGS!$GOBJECT_CFLAGS$ac_delim
5735
GOBJECT_LIBS!$GOBJECT_LIBS$ac_delim
5736
LIB@&t@OBJS!$LIB@&t@OBJS$ac_delim
5737
LTLIBOBJS!$LTLIBOBJS$ac_delim
5738
_ACEOF
5739
5740
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 91; then
5741
    break
5742
  elif $ac_last_try; then
5743
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5744
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5745
   { (exit 1); exit 1; }; }
5746
  else
5747
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5748
  fi
5749
done
5750
5751
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
5752
if test -n "$ac_eof"; then
5753
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
5754
  ac_eof=`expr $ac_eof + 1`
5755
fi
5756
5757
cat >>$CONFIG_STATUS <<_ACEOF
5758
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
5759
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
5760
_ACEOF
5761
sed '
5762
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
5763
s/^/s,@/; s/!/@,|#_!!_#|/
5764
:n
5765
t n
5766
s/'"$ac_delim"'$/,g/; t
5767
s/$/\\/; p
5768
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
5769
' >>$CONFIG_STATUS <conf$$subs.sed
5770
rm -f conf$$subs.sed
5771
cat >>$CONFIG_STATUS <<_ACEOF
5772
:end
5773
s/|#_!!_#|//g
5774
CEOF$ac_eof
5775
_ACEOF
5776
5777
5778
# VPATH may cause trouble with some makes, so we remove $(srcdir),
5779
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5780
# trailing colons and then remove the whole line if VPATH becomes empty
5781
# (actually we leave an empty line to preserve line numbers).
5782
if test "x$srcdir" = x.; then
5783
  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
5784
s/:*\$(srcdir):*/:/
5785
s/:*\${srcdir}:*/:/
5786
s/:*@srcdir@:*/:/
5787
s/^\([^=]*=[	 ]*\):*/\1/
5788
s/:*$//
5789
s/^[^=]*=[	 ]*$//
5790
}'
5791
fi
5792
5793
cat >>$CONFIG_STATUS <<\_ACEOF
5794
fi # test -n "$CONFIG_FILES"
5795
5796
5797
for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
5798
do
5799
  case $ac_tag in
5800
  :[FHLC]) ac_mode=$ac_tag; continue;;
5801
  esac
5802
  case $ac_mode$ac_tag in
5803
  :[FHL]*:*);;
5804
  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
5805
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
5806
   { (exit 1); exit 1; }; };;
5807
  :[FH]-) ac_tag=-:-;;
5808
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5809
  esac
5810
  ac_save_IFS=$IFS
5811
  IFS=:
5812
  set x $ac_tag
5813
  IFS=$ac_save_IFS
5814
  shift
5815
  ac_file=$1
5816
  shift
5817
5818
  case $ac_mode in
5819
  :L) ac_source=$1;;
5820
  :[FH])
5821
    ac_file_inputs=
5822
    for ac_f
5823
    do
5824
      case $ac_f in
5825
      -) ac_f="$tmp/stdin";;
5826
      *) # Look for the file first in the build tree, then in the source tree
5827
	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
5828
	 # because $ac_f cannot contain `:'.
5829
	 test -f "$ac_f" ||
5830
	   case $ac_f in
5831
	   [\\/$]*) false;;
5832
	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5833
	   esac ||
5834
	   { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
5835
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
5836
   { (exit 1); exit 1; }; };;
5837
      esac
5838
      ac_file_inputs="$ac_file_inputs $ac_f"
5839
    done
5840
5841
    # Let's still pretend it is `configure' which instantiates (i.e., don't
5842
    # use $as_me), people would be surprised to read:
5843
    #    /* config.h.  Generated by config.status.  */
5844
    configure_input="Generated from "`IFS=:
5845
	  echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
5846
    if test x"$ac_file" != x-; then
5847
      configure_input="$ac_file.  $configure_input"
5848
      { echo "$as_me:$LINENO: creating $ac_file" >&5
5849
echo "$as_me: creating $ac_file" >&6;}
5850
    fi
5851
5852
    case $ac_tag in
5853
    *:-:* | *:-) cat >"$tmp/stdin";;
5854
    esac
5855
    ;;
5856
  esac
5857
5858
  ac_dir=`$as_dirname -- "$ac_file" ||
5859
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5860
	 X"$ac_file" : 'X\(//\)[^/]' \| \
5861
	 X"$ac_file" : 'X\(//\)$' \| \
5862
	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5863
echo X"$ac_file" |
5864
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5865
	    s//\1/
5866
	    q
5867
	  }
5868
	  /^X\(\/\/\)[^/].*/{
5869
	    s//\1/
5870
	    q
5871
	  }
5872
	  /^X\(\/\/\)$/{
5873
	    s//\1/
5874
	    q
5875
	  }
5876
	  /^X\(\/\).*/{
5877
	    s//\1/
5878
	    q
5879
	  }
5880
	  s/.*/./; q'`
5881
  { as_dir="$ac_dir"
5882
  case $as_dir in #(
5883
  -*) as_dir=./$as_dir;;
5884
  esac
5885
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
5886
    as_dirs=
5887
    while :; do
5888
      case $as_dir in #(
5889
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
5890
      *) as_qdir=$as_dir;;
5891
      esac
5892
      as_dirs="'$as_qdir' $as_dirs"
5893
      as_dir=`$as_dirname -- "$as_dir" ||
5894
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5895
	 X"$as_dir" : 'X\(//\)[^/]' \| \
5896
	 X"$as_dir" : 'X\(//\)$' \| \
5897
	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5898
echo X"$as_dir" |
5899
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5900
	    s//\1/
5901
	    q
5902
	  }
5903
	  /^X\(\/\/\)[^/].*/{
5904
	    s//\1/
5905
	    q
5906
	  }
5907
	  /^X\(\/\/\)$/{
5908
	    s//\1/
5909
	    q
5910
	  }
5911
	  /^X\(\/\).*/{
5912
	    s//\1/
5913
	    q
5914
	  }
5915
	  s/.*/./; q'`
5916
      test -d "$as_dir" && break
5917
    done
5918
    test -z "$as_dirs" || eval "mkdir $as_dirs"
5919
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
5920
echo "$as_me: error: cannot create directory $as_dir" >&2;}
5921
   { (exit 1); exit 1; }; }; }
5922
  ac_builddir=.
5923
5924
case "$ac_dir" in
5925
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5926
*)
5927
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5928
  # A ".." for each directory in $ac_dir_suffix.
5929
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
5930
  case $ac_top_builddir_sub in
5931
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5932
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5933
  esac ;;
5934
esac
5935
ac_abs_top_builddir=$ac_pwd
5936
ac_abs_builddir=$ac_pwd$ac_dir_suffix
5937
# for backward compatibility:
5938
ac_top_builddir=$ac_top_build_prefix
5939
5940
case $srcdir in
5941
  .)  # We are building in place.
5942
    ac_srcdir=.
5943
    ac_top_srcdir=$ac_top_builddir_sub
5944
    ac_abs_top_srcdir=$ac_pwd ;;
5945
  [\\/]* | ?:[\\/]* )  # Absolute name.
5946
    ac_srcdir=$srcdir$ac_dir_suffix;
5947
    ac_top_srcdir=$srcdir
5948
    ac_abs_top_srcdir=$srcdir ;;
5949
  *) # Relative name.
5950
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5951
    ac_top_srcdir=$ac_top_build_prefix$srcdir
5952
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5953
esac
5954
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5955
5956
5957
  case $ac_mode in
5958
  :F)
5959
  #
5960
  # CONFIG_FILE
5961
  #
5962
5963
  case $INSTALL in
5964
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5965
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5966
  esac
5967
_ACEOF
5968
5969
cat >>$CONFIG_STATUS <<\_ACEOF
5970
# If the template does not know about datarootdir, expand it.
5971
# FIXME: This hack should be removed a few years after 2.60.
5972
ac_datarootdir_hack=; ac_datarootdir_seen=
5973
5974
case `sed -n '/datarootdir/ {
5975
  p
5976
  q
5977
}
5978
/@datadir@/p
5979
/@docdir@/p
5980
/@infodir@/p
5981
/@localedir@/p
5982
/@mandir@/p
5983
' $ac_file_inputs` in
5984
*datarootdir*) ac_datarootdir_seen=yes;;
5985
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5986
  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5987
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5988
_ACEOF
5989
cat >>$CONFIG_STATUS <<_ACEOF
5990
  ac_datarootdir_hack='
5991
  s&@datadir@&$datadir&g
5992
  s&@docdir@&$docdir&g
5993
  s&@infodir@&$infodir&g
5994
  s&@localedir@&$localedir&g
5995
  s&@mandir@&$mandir&g
5996
    s&\\\${datarootdir}&$datarootdir&g' ;;
5997
esac
5998
_ACEOF
5999
6000
# Neutralize VPATH when `$srcdir' = `.'.
6001
# Shell code in configure.ac might set extrasub.
6002
# FIXME: do we really want to maintain this feature?
6003
cat >>$CONFIG_STATUS <<_ACEOF
6004
  sed "$ac_vpsub
6005
$extrasub
6006
_ACEOF
6007
cat >>$CONFIG_STATUS <<\_ACEOF
6008
:t
6009
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6010
s&@configure_input@&$configure_input&;t t
6011
s&@top_builddir@&$ac_top_builddir_sub&;t t
6012
s&@srcdir@&$ac_srcdir&;t t
6013
s&@abs_srcdir@&$ac_abs_srcdir&;t t
6014
s&@top_srcdir@&$ac_top_srcdir&;t t
6015
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6016
s&@builddir@&$ac_builddir&;t t
6017
s&@abs_builddir@&$ac_abs_builddir&;t t
6018
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6019
s&@INSTALL@&$ac_INSTALL&;t t
6020
$ac_datarootdir_hack
6021
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
6022
6023
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6024
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
6025
  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
6026
  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6027
which seems to be undefined.  Please make sure it is defined." >&5
6028
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6029
which seems to be undefined.  Please make sure it is defined." >&2;}
6030
6031
  rm -f "$tmp/stdin"
6032
  case $ac_file in
6033
  -) cat "$tmp/out"; rm -f "$tmp/out";;
6034
  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
6035
  esac
6036
 ;;
6037
  :H)
6038
  #
6039
  # CONFIG_HEADER
6040
  #
6041
_ACEOF
6042
6043
# Transform confdefs.h into a sed script `conftest.defines', that
6044
# substitutes the proper values into config.h.in to produce config.h.
6045
rm -f conftest.defines conftest.tail
6046
# First, append a space to every undef/define line, to ease matching.
6047
echo 's/$/ /' >conftest.defines
6048
# Then, protect against being on the right side of a sed subst, or in
6049
# an unquoted here document, in config.status.  If some macros were
6050
# called several times there might be several #defines for the same
6051
# symbol, which is useless.  But do not sort them, since the last
6052
# AC_DEFINE must be honored.
6053
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6054
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
6055
# NAME is the cpp macro being defined, VALUE is the value it is being given.
6056
# PARAMS is the parameter list in the macro definition--in most cases, it's
6057
# just an empty string.
6058
ac_dA='s,^\\([	 #]*\\)[^	 ]*\\([	 ]*'
6059
ac_dB='\\)[	 (].*,\\1define\\2'
6060
ac_dC=' '
6061
ac_dD=' ,'
6062
6063
uniq confdefs.h |
6064
  sed -n '
6065
	t rset
6066
	:rset
6067
	s/^[	 ]*#[	 ]*define[	 ][	 ]*//
6068
	t ok
6069
	d
6070
	:ok
6071
	s/[\\&,]/\\&/g
6072
	s/^\('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
6073
	s/^\('"$ac_word_re"'\)[	 ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
6074
  ' >>conftest.defines
6075
6076
# Remove the space that was appended to ease matching.
6077
# Then replace #undef with comments.  This is necessary, for
6078
# example, in the case of _POSIX_SOURCE, which is predefined and required
6079
# on some systems where configure will not decide to define it.
6080
# (The regexp can be short, since the line contains either #define or #undef.)
6081
echo 's/ $//
6082
s,^[	 #]*u.*,/* & */,' >>conftest.defines
6083
6084
# Break up conftest.defines:
6085
ac_max_sed_lines=50
6086
6087
# First sed command is:	 sed -f defines.sed $ac_file_inputs >"$tmp/out1"
6088
# Second one is:	 sed -f defines.sed "$tmp/out1" >"$tmp/out2"
6089
# Third one will be:	 sed -f defines.sed "$tmp/out2" >"$tmp/out1"
6090
# et cetera.
6091
ac_in='$ac_file_inputs'
6092
ac_out='"$tmp/out1"'
6093
ac_nxt='"$tmp/out2"'
6094
6095
while :
6096
do
6097
  # Write a here document:
6098
    cat >>$CONFIG_STATUS <<_ACEOF
6099
    # First, check the format of the line:
6100
    cat >"\$tmp/defines.sed" <<\\CEOF
6101
/^[	 ]*#[	 ]*undef[	 ][	 ]*$ac_word_re[	 ]*\$/b def
6102
/^[	 ]*#[	 ]*define[	 ][	 ]*$ac_word_re[(	 ]/b def
6103
b
6104
:def
6105
_ACEOF
6106
  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
6107
  echo 'CEOF
6108
    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
6109
  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
6110
  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
6111
  grep . conftest.tail >/dev/null || break
6112
  rm -f conftest.defines
6113
  mv conftest.tail conftest.defines
6114
done
6115
rm -f conftest.defines conftest.tail
6116
6117
echo "ac_result=$ac_in" >>$CONFIG_STATUS
6118
cat >>$CONFIG_STATUS <<\_ACEOF
6119
  if test x"$ac_file" != x-; then
6120
    echo "/* $configure_input  */" >"$tmp/config.h"
6121
    cat "$ac_result" >>"$tmp/config.h"
6122
    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
6123
      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6124
echo "$as_me: $ac_file is unchanged" >&6;}
6125
    else
6126
      rm -f $ac_file
6127
      mv "$tmp/config.h" $ac_file
6128
    fi
6129
  else
6130
    echo "/* $configure_input  */"
6131
    cat "$ac_result"
6132
  fi
6133
  rm -f "$tmp/out12"
6134
# Compute $ac_file's index in $config_headers.
6135
_am_stamp_count=1
6136
for _am_header in $config_headers :; do
6137
  case $_am_header in
6138
    $ac_file | $ac_file:* )
6139
      break ;;
6140
    * )
6141
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6142
  esac
6143
done
6144
echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
6145
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6146
	 X$ac_file : 'X\(//\)[^/]' \| \
6147
	 X$ac_file : 'X\(//\)$' \| \
6148
	 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
6149
echo X$ac_file |
6150
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6151
	    s//\1/
6152
	    q
6153
	  }
6154
	  /^X\(\/\/\)[^/].*/{
6155
	    s//\1/
6156
	    q
6157
	  }
6158
	  /^X\(\/\/\)$/{
6159
	    s//\1/
6160
	    q
6161
	  }
6162
	  /^X\(\/\).*/{
6163
	    s//\1/
6164
	    q
6165
	  }
6166
	  s/.*/./; q'`/stamp-h$_am_stamp_count
6167
 ;;
6168
  
6169
  :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
6170
echo "$as_me: executing $ac_file commands" >&6;}
6171
 ;;
6172
  esac
6173
6174
6175
  case $ac_file$ac_mode in
6176
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
6177
  # Strip MF so we end up with the name of the file.
6178
  mf=`echo "$mf" | sed -e 's/:.*$//'`
6179
  # Check whether this is an Automake generated Makefile or not.
6180
  # We used to match only the files named `Makefile.in', but
6181
  # some people rename them; so instead we look at the file content.
6182
  # Grep'ing the first line is not enough: some people post-process
6183
  # each Makefile.in and add a new line on top of each file to say so.
6184
  # So let's grep whole file.
6185
  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
6186
    dirpart=`$as_dirname -- "$mf" ||
6187
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6188
	 X"$mf" : 'X\(//\)[^/]' \| \
6189
	 X"$mf" : 'X\(//\)$' \| \
6190
	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6191
echo X"$mf" |
6192
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6193
	    s//\1/
6194
	    q
6195
	  }
6196
	  /^X\(\/\/\)[^/].*/{
6197
	    s//\1/
6198
	    q
6199
	  }
6200
	  /^X\(\/\/\)$/{
6201
	    s//\1/
6202
	    q
6203
	  }
6204
	  /^X\(\/\).*/{
6205
	    s//\1/
6206
	    q
6207
	  }
6208
	  s/.*/./; q'`
6209
  else
6210
    continue
6211
  fi
6212
  # Extract the definition of DEPDIR, am__include, and am__quote
6213
  # from the Makefile without running `make'.
6214
  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6215
  test -z "$DEPDIR" && continue
6216
  am__include=`sed -n 's/^am__include = //p' < "$mf"`
6217
  test -z "am__include" && continue
6218
  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6219
  # When using ansi2knr, U may be empty or an underscore; expand it
6220
  U=`sed -n 's/^U = //p' < "$mf"`
6221
  # Find all dependency output files, they are included files with
6222
  # $(DEPDIR) in their names.  We invoke sed twice because it is the
6223
  # simplest approach to changing $(DEPDIR) to its actual value in the
6224
  # expansion.
6225
  for file in `sed -n "
6226
    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6227
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6228
    # Make sure the directory exists.
6229
    test -f "$dirpart/$file" && continue
6230
    fdir=`$as_dirname -- "$file" ||
6231
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6232
	 X"$file" : 'X\(//\)[^/]' \| \
6233
	 X"$file" : 'X\(//\)$' \| \
6234
	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6235
echo X"$file" |
6236
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6237
	    s//\1/
6238
	    q
6239
	  }
6240
	  /^X\(\/\/\)[^/].*/{
6241
	    s//\1/
6242
	    q
6243
	  }
6244
	  /^X\(\/\/\)$/{
6245
	    s//\1/
6246
	    q
6247
	  }
6248
	  /^X\(\/\).*/{
6249
	    s//\1/
6250
	    q
6251
	  }
6252
	  s/.*/./; q'`
6253
    { as_dir=$dirpart/$fdir
6254
  case $as_dir in #(
6255
  -*) as_dir=./$as_dir;;
6256
  esac
6257
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
6258
    as_dirs=
6259
    while :; do
6260
      case $as_dir in #(
6261
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
6262
      *) as_qdir=$as_dir;;
6263
      esac
6264
      as_dirs="'$as_qdir' $as_dirs"
6265
      as_dir=`$as_dirname -- "$as_dir" ||
6266
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6267
	 X"$as_dir" : 'X\(//\)[^/]' \| \
6268
	 X"$as_dir" : 'X\(//\)$' \| \
6269
	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6270
echo X"$as_dir" |
6271
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6272
	    s//\1/
6273
	    q
6274
	  }
6275
	  /^X\(\/\/\)[^/].*/{
6276
	    s//\1/
6277
	    q
6278
	  }
6279
	  /^X\(\/\/\)$/{
6280
	    s//\1/
6281
	    q
6282
	  }
6283
	  /^X\(\/\).*/{
6284
	    s//\1/
6285
	    q
6286
	  }
6287
	  s/.*/./; q'`
6288
      test -d "$as_dir" && break
6289
    done
6290
    test -z "$as_dirs" || eval "mkdir $as_dirs"
6291
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
6292
echo "$as_me: error: cannot create directory $as_dir" >&2;}
6293
   { (exit 1); exit 1; }; }; }
6294
    # echo "creating $dirpart/$file"
6295
    echo '# dummy' > "$dirpart/$file"
6296
  done
6297
done
6298
 ;;
6299
6300
  esac
6301
done # for ac_tag
6302
6303
6304
{ (exit 0); exit 0; }
6305
_ACEOF
6306
chmod +x $CONFIG_STATUS
6307
ac_clean_files=$ac_clean_files_save
6308
6309
6310
# configure is writing to config.log, and then calls config.status.
6311
# config.status does its own redirection, appending to config.log.
6312
# Unfortunately, on DOS this fails, as config.log is still kept open
6313
# by configure, so config.status won't be able to write to it; its
6314
# output is simply discarded.  So we exec the FD to /dev/null,
6315
# effectively closing config.log, so it can be properly (re)opened and
6316
# appended to by config.status.  When coming back to configure, we
6317
# need to make the FD available again.
6318
if test "$no_create" != yes; then
6319
  ac_cs_success=:
6320
  ac_config_status_args=
6321
  test "$silent" = yes &&
6322
    ac_config_status_args="$ac_config_status_args --quiet"
6323
  exec 5>/dev/null
6324
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6325
  exec 5>>config.log
6326
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6327
  # would make configure fail if this is the last instruction.
6328
  $ac_cs_success || { (exit 1); exit 1; }
6329
fi
6330