OpenCores
URL https://opencores.org/ocsvn/connect-6/connect-6/trunk

Subversion Repositories connect-6

[/] [connect-6/] [trunk/] [CONNECTK/] [connectk-2.0/] [configure] - Blame information for rev 11

Go to most recent revision | Details | Compare with Previous | View Log

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

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.