~ubuntu-branches/ubuntu/precise/gutenprint/precise

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Till Kamppeter
  • Date: 2009-08-14 10:06:24 UTC
  • mfrom: (1.1.10 upstream)
  • Revision ID: james.westby@ubuntu.com-20090814100624-agjl4bv8obqsjmkn
Tags: 5.2.4-0ubuntu1
* New upstream release
   - Added support for Canon PIXMA iX4000, Canon SELPHY CP-520, EPSON 
     Stylus Photo R2880, EPSON Stylus DX4000
   - Corrections for Epson PM-D600, Epson Stylus Photo R2400, EPSON Artisan
     700/800, Stylus Photo P/TX700/800 series
   - Name corrections for all Ricoh anmd OEM printers and for the
     EPSON Stylus Photo PX700W,EPSON Stylus Photo TX700W, EPSON Stylus Photo
     PX800FW, EPSON Stylus Photo TX800FW
   - The EPSON inkjet utility, escputil, now correctly prints the color name
     for low ink warnings.
   - Printing resolution names have been fixed in non-English locales
     in CUPS PPD files.
   - A Russian translation has been added.  The Danish and Italian
     translations have been updated.
   - Support has been added for L-size paper with tear-off borders.
   - The ordering of inks in quadtone ink sets on Epson printers has
     been corrected.  In addition, support has been added for MIS
     quadtone and 6 tone inks.
   - It is now possible to adjust the ink parameters for quadtone
     inks in CUPS.  Previously, these parameters could only be
     adjusted in the enhanced Print plugin for GIMP and other native
     Gutenprint applications.
   - Updating CUPS PPD files is now faster.
* debian/patches/20_fix_gimpprint_menu_entry.dpatch: Removed, was already
  deactivated for longer time.
* debian/patches/25_sync-ricoh-printer-names-with-openprinting.dpatch:
  Removed, applied upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
 
# From configure.ac Revision: 1.209 .
 
2
# From configure.ac Revision: 1.214 .
3
3
# Guess values for system-dependent variables and create Makefiles.
4
 
# Generated by GNU Autoconf 2.61 for gutenprint 5.2.3.
 
4
# Generated by GNU Autoconf 2.63 for gutenprint 5.2.4.
5
5
#
6
6
# Report bugs to <gimp-print-devel@lists.sourceforge.net>.
7
7
#
8
8
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9
 
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
 
9
# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
10
10
# This configure script is free software; the Free Software Foundation
11
11
# gives unlimited permission to copy, distribute and modify it.
12
12
#
35
35
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
36
36
  emulate sh
37
37
  NULLCMD=:
38
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
38
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
39
39
  # is contrary to our usage.  Disable this feature.
40
40
  alias -g '${1+"$@"}'='"$@"'
41
41
  setopt NO_GLOB_SUBST
57
57
as_cr_digits='0123456789'
58
58
as_cr_alnum=$as_cr_Letters$as_cr_digits
59
59
 
 
60
as_nl='
 
61
'
 
62
export as_nl
 
63
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
64
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
65
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
66
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
67
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
68
  as_echo='printf %s\n'
 
69
  as_echo_n='printf %s'
 
70
else
 
71
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
72
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
73
    as_echo_n='/usr/ucb/echo -n'
 
74
  else
 
75
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
76
    as_echo_n_body='eval
 
77
      arg=$1;
 
78
      case $arg in
 
79
      *"$as_nl"*)
 
80
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
81
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
82
      esac;
 
83
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
84
    '
 
85
    export as_echo_n_body
 
86
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
87
  fi
 
88
  export as_echo_body
 
89
  as_echo='sh -c $as_echo_body as_echo'
 
90
fi
 
91
 
60
92
# The user is always right.
61
93
if test "${PATH_SEPARATOR+set}" != set; then
62
 
  echo "#! /bin/sh" >conf$$.sh
63
 
  echo  "exit 0"   >>conf$$.sh
64
 
  chmod +x conf$$.sh
65
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
66
 
    PATH_SEPARATOR=';'
67
 
  else
68
 
    PATH_SEPARATOR=:
69
 
  fi
70
 
  rm -f conf$$.sh
 
94
  PATH_SEPARATOR=:
 
95
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
96
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
97
      PATH_SEPARATOR=';'
 
98
  }
71
99
fi
72
100
 
73
101
# Support unset when possible.
83
111
# there to prevent editors from complaining about space-tab.
84
112
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
85
113
# splitting by setting IFS to empty value.)
86
 
as_nl='
87
 
'
88
114
IFS=" ""        $as_nl"
89
115
 
90
116
# Find who we are.  Look in the path if we contain no directory separator.
107
133
  as_myself=$0
108
134
fi
109
135
if test ! -f "$as_myself"; then
110
 
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
136
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111
137
  { (exit 1); exit 1; }
112
138
fi
113
139
 
120
146
PS4='+ '
121
147
 
122
148
# NLS nuisances.
123
 
for as_var in \
124
 
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
125
 
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
126
 
  LC_TELEPHONE LC_TIME
127
 
do
128
 
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
129
 
    eval $as_var=C; export $as_var
130
 
  else
131
 
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
132
 
  fi
133
 
done
 
149
LC_ALL=C
 
150
export LC_ALL
 
151
LANGUAGE=C
 
152
export LANGUAGE
134
153
 
135
154
# Required to use basename.
136
155
if expr a : '\(a\)' >/dev/null 2>&1 &&
152
171
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
153
172
         X"$0" : 'X\(//\)$' \| \
154
173
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
155
 
echo X/"$0" |
 
174
$as_echo X/"$0" |
156
175
    sed '/^.*\/\([^/][^/]*\)\/*$/{
157
176
            s//\1/
158
177
            q
178
197
  as_have_required=no
179
198
fi
180
199
 
181
 
  if test $as_have_required = yes &&     (eval ":
 
200
  if test $as_have_required = yes &&     (eval ":
182
201
(as_func_return () {
183
202
  (exit \$1)
184
203
}
260
279
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
261
280
  emulate sh
262
281
  NULLCMD=:
263
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
282
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
264
283
  # is contrary to our usage.  Disable this feature.
265
284
  alias -g '${1+"$@"}'='"$@"'
266
285
  setopt NO_GLOB_SUBST
281
300
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
282
301
  emulate sh
283
302
  NULLCMD=:
284
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
303
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
285
304
  # is contrary to our usage.  Disable this feature.
286
305
  alias -g '${1+"$@"}'='"$@"'
287
306
  setopt NO_GLOB_SUBST
361
380
 
362
381
      if test "x$CONFIG_SHELL" != x; then
363
382
  for as_var in BASH_ENV ENV
364
 
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
365
 
        done
366
 
        export CONFIG_SHELL
367
 
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
 
383
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
384
        done
 
385
        export CONFIG_SHELL
 
386
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
368
387
fi
369
388
 
370
389
 
433
452
 
434
453
test \$exitcode = 0") || {
435
454
  echo No shell found that supports shell functions.
436
 
  echo Please tell autoconf@gnu.org about your system,
437
 
  echo including any error possibly output before this
438
 
  echo message
 
455
  echo Please tell bug-autoconf@gnu.org about your system,
 
456
  echo including any error possibly output before this message.
 
457
  echo This can help us improve future autoconf versions.
 
458
  echo Configuration will now proceed without shell functions.
439
459
}
440
460
 
441
461
 
471
491
      s/-\n.*//
472
492
    ' >$as_me.lineno &&
473
493
  chmod +x "$as_me.lineno" ||
474
 
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
 
494
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
475
495
   { (exit 1); exit 1; }; }
476
496
 
477
497
  # Don't try to exec as it changes $[0], causing all sort of problems
499
519
*)
500
520
  ECHO_N='-n';;
501
521
esac
502
 
 
503
522
if expr a : '\(a\)' >/dev/null 2>&1 &&
504
523
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
505
524
  as_expr=expr
512
531
  rm -f conf$$.dir/conf$$.file
513
532
else
514
533
  rm -f conf$$.dir
515
 
  mkdir conf$$.dir
 
534
  mkdir conf$$.dir 2>/dev/null
516
535
fi
517
 
echo >conf$$.file
518
 
if ln -s conf$$.file conf$$ 2>/dev/null; then
519
 
  as_ln_s='ln -s'
520
 
  # ... but there are two gotchas:
521
 
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
522
 
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
523
 
  # In both cases, we have to default to `cp -p'.
524
 
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
536
if (echo >conf$$.file) 2>/dev/null; then
 
537
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
538
    as_ln_s='ln -s'
 
539
    # ... but there are two gotchas:
 
540
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
541
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
542
    # In both cases, we have to default to `cp -p'.
 
543
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
544
      as_ln_s='cp -p'
 
545
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
546
    as_ln_s=ln
 
547
  else
525
548
    as_ln_s='cp -p'
526
 
elif ln conf$$.file conf$$ 2>/dev/null; then
527
 
  as_ln_s=ln
 
549
  fi
528
550
else
529
551
  as_ln_s='cp -p'
530
552
fi
549
571
  as_test_x='
550
572
    eval sh -c '\''
551
573
      if test -d "$1"; then
552
 
        test -d "$1/.";
 
574
        test -d "$1/.";
553
575
      else
554
576
        case $1 in
555
 
        -*)set "./$1";;
 
577
        -*)set "./$1";;
556
578
        esac;
557
579
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
558
580
        ???[sx]*):;;*)false;;esac;fi
573
595
# Check that we are running under the correct shell.
574
596
SHELL=${CONFIG_SHELL-/bin/sh}
575
597
 
576
 
case X$ECHO in
 
598
case X$lt_ECHO in
577
599
X*--fallback-echo)
578
600
  # Remove one level of quotation (which was required for Make).
579
 
  ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
 
601
  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
580
602
  ;;
581
603
esac
582
604
 
583
 
echo=${ECHO-echo}
 
605
ECHO=${lt_ECHO-echo}
584
606
if test "X$1" = X--no-reexec; then
585
607
  # Discard the --no-reexec flag, and continue.
586
608
  shift
587
609
elif test "X$1" = X--fallback-echo; then
588
610
  # Avoid inline document here, it may be left over
589
611
  :
590
 
elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
591
 
  # Yippee, $echo works!
 
612
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
 
613
  # Yippee, $ECHO works!
592
614
  :
593
615
else
594
616
  # Restart under the correct shell.
598
620
if test "X$1" = X--fallback-echo; then
599
621
  # used as fallback echo
600
622
  shift
601
 
  cat <<EOF
 
623
  cat <<_LT_EOF
602
624
$*
603
 
EOF
 
625
_LT_EOF
604
626
  exit 0
605
627
fi
606
628
 
608
630
# if CDPATH is set.
609
631
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
610
632
 
611
 
if test -z "$ECHO"; then
612
 
if test "X${echo_test_string+set}" != Xset; then
613
 
# find a string as large as possible, as long as the shell can cope with it
614
 
  for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
615
 
    # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
616
 
    if (echo_test_string=`eval $cmd`) 2>/dev/null &&
617
 
       echo_test_string=`eval $cmd` &&
618
 
       (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
619
 
    then
620
 
      break
621
 
    fi
622
 
  done
623
 
fi
624
 
 
625
 
if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
626
 
   echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
627
 
   test "X$echo_testing_string" = "X$echo_test_string"; then
628
 
  :
629
 
else
630
 
  # The Solaris, AIX, and Digital Unix default echo programs unquote
631
 
  # backslashes.  This makes it impossible to quote backslashes using
632
 
  #   echo "$something" | sed 's/\\/\\\\/g'
633
 
  #
634
 
  # So, first we look for a working echo in the user's PATH.
635
 
 
636
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
637
 
  for dir in $PATH /usr/ucb; do
 
633
if test -z "$lt_ECHO"; then
 
634
  if test "X${echo_test_string+set}" != Xset; then
 
635
    # find a string as large as possible, as long as the shell can cope with it
 
636
    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
 
637
      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
 
638
      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
 
639
         { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
 
640
      then
 
641
        break
 
642
      fi
 
643
    done
 
644
  fi
 
645
 
 
646
  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
 
647
     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
 
648
     test "X$echo_testing_string" = "X$echo_test_string"; then
 
649
    :
 
650
  else
 
651
    # The Solaris, AIX, and Digital Unix default echo programs unquote
 
652
    # backslashes.  This makes it impossible to quote backslashes using
 
653
    #   echo "$something" | sed 's/\\/\\\\/g'
 
654
    #
 
655
    # So, first we look for a working echo in the user's PATH.
 
656
 
 
657
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
658
    for dir in $PATH /usr/ucb; do
 
659
      IFS="$lt_save_ifs"
 
660
      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
 
661
         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
 
662
         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
 
663
         test "X$echo_testing_string" = "X$echo_test_string"; then
 
664
        ECHO="$dir/echo"
 
665
        break
 
666
      fi
 
667
    done
638
668
    IFS="$lt_save_ifs"
639
 
    if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
640
 
       test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
641
 
       echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
642
 
       test "X$echo_testing_string" = "X$echo_test_string"; then
643
 
      echo="$dir/echo"
644
 
      break
645
 
    fi
646
 
  done
647
 
  IFS="$lt_save_ifs"
648
669
 
649
 
  if test "X$echo" = Xecho; then
650
 
    # We didn't find a better echo, so look for alternatives.
651
 
    if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
652
 
       echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
653
 
       test "X$echo_testing_string" = "X$echo_test_string"; then
654
 
      # This shell has a builtin print -r that does the trick.
655
 
      echo='print -r'
656
 
    elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
657
 
         test "X$CONFIG_SHELL" != X/bin/ksh; then
658
 
      # If we have ksh, try running configure again with it.
659
 
      ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
660
 
      export ORIGINAL_CONFIG_SHELL
661
 
      CONFIG_SHELL=/bin/ksh
662
 
      export CONFIG_SHELL
663
 
      exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
664
 
    else
665
 
      # Try using printf.
666
 
      echo='printf %s\n'
667
 
      if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
668
 
         echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
669
 
         test "X$echo_testing_string" = "X$echo_test_string"; then
670
 
        # Cool, printf works
671
 
        :
672
 
      elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
673
 
           test "X$echo_testing_string" = 'X\t' &&
674
 
           echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
675
 
           test "X$echo_testing_string" = "X$echo_test_string"; then
676
 
        CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
677
 
        export CONFIG_SHELL
678
 
        SHELL="$CONFIG_SHELL"
679
 
        export SHELL
680
 
        echo="$CONFIG_SHELL $0 --fallback-echo"
681
 
      elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
682
 
           test "X$echo_testing_string" = 'X\t' &&
683
 
           echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
684
 
           test "X$echo_testing_string" = "X$echo_test_string"; then
685
 
        echo="$CONFIG_SHELL $0 --fallback-echo"
 
670
    if test "X$ECHO" = Xecho; then
 
671
      # We didn't find a better echo, so look for alternatives.
 
672
      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
 
673
         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
 
674
         test "X$echo_testing_string" = "X$echo_test_string"; then
 
675
        # This shell has a builtin print -r that does the trick.
 
676
        ECHO='print -r'
 
677
      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
 
678
           test "X$CONFIG_SHELL" != X/bin/ksh; then
 
679
        # If we have ksh, try running configure again with it.
 
680
        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
 
681
        export ORIGINAL_CONFIG_SHELL
 
682
        CONFIG_SHELL=/bin/ksh
 
683
        export CONFIG_SHELL
 
684
        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
686
685
      else
687
 
        # maybe with a smaller string...
688
 
        prev=:
689
 
 
690
 
        for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
691
 
          if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
692
 
          then
693
 
            break
 
686
        # Try using printf.
 
687
        ECHO='printf %s\n'
 
688
        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
 
689
           echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
 
690
           test "X$echo_testing_string" = "X$echo_test_string"; then
 
691
          # Cool, printf works
 
692
          :
 
693
        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
 
694
             test "X$echo_testing_string" = 'X\t' &&
 
695
             echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
 
696
             test "X$echo_testing_string" = "X$echo_test_string"; then
 
697
          CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
 
698
          export CONFIG_SHELL
 
699
          SHELL="$CONFIG_SHELL"
 
700
          export SHELL
 
701
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
 
702
        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
 
703
             test "X$echo_testing_string" = 'X\t' &&
 
704
             echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
 
705
             test "X$echo_testing_string" = "X$echo_test_string"; then
 
706
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
 
707
        else
 
708
          # maybe with a smaller string...
 
709
          prev=:
 
710
 
 
711
          for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
 
712
            if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
 
713
            then
 
714
              break
 
715
            fi
 
716
            prev="$cmd"
 
717
          done
 
718
 
 
719
          if test "$prev" != 'sed 50q "$0"'; then
 
720
            echo_test_string=`eval $prev`
 
721
            export echo_test_string
 
722
            exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
 
723
          else
 
724
            # Oops.  We lost completely, so just stick with echo.
 
725
            ECHO=echo
694
726
          fi
695
 
          prev="$cmd"
696
 
        done
697
 
 
698
 
        if test "$prev" != 'sed 50q "$0"'; then
699
 
          echo_test_string=`eval $prev`
700
 
          export echo_test_string
701
 
          exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
702
 
        else
703
 
          # Oops.  We lost completely, so just stick with echo.
704
 
          echo=echo
705
 
        fi
 
727
        fi
706
728
      fi
707
729
    fi
708
730
  fi
709
731
fi
710
 
fi
711
732
 
712
733
# Copy echo and quote the copy suitably for passing to libtool from
713
734
# the Makefile, instead of quoting the original, which is used later.
714
 
ECHO=$echo
715
 
if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
716
 
   ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
 
735
lt_ECHO=$ECHO
 
736
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
 
737
   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
717
738
fi
718
739
 
719
740
 
720
741
 
721
742
 
722
 
tagnames=${tagnames+${tagnames},}CXX
723
 
 
724
 
tagnames=${tagnames+${tagnames},}F77
725
 
 
726
743
exec 7<&0 </dev/null 6>&1
727
744
 
728
745
# Name of the host.
746
763
# Identity of this package.
747
764
PACKAGE_NAME='gutenprint'
748
765
PACKAGE_TARNAME='gutenprint'
749
 
PACKAGE_VERSION='5.2.3'
750
 
PACKAGE_STRING='gutenprint 5.2.3'
 
766
PACKAGE_VERSION='5.2.4'
 
767
PACKAGE_STRING='gutenprint 5.2.4'
751
768
PACKAGE_BUGREPORT='gimp-print-devel@lists.sourceforge.net'
752
769
 
753
770
ac_unique_file="src/main/print-vars.c"
788
805
#endif"
789
806
 
790
807
gt_needs=
791
 
ac_subst_vars='SHELL
792
 
PATH_SEPARATOR
793
 
PACKAGE_NAME
794
 
PACKAGE_TARNAME
795
 
PACKAGE_VERSION
796
 
PACKAGE_STRING
797
 
PACKAGE_BUGREPORT
798
 
exec_prefix
799
 
prefix
800
 
program_transform_name
801
 
bindir
802
 
sbindir
803
 
libexecdir
804
 
datarootdir
805
 
datadir
806
 
sysconfdir
807
 
sharedstatedir
808
 
localstatedir
809
 
includedir
810
 
oldincludedir
811
 
docdir
812
 
infodir
813
 
htmldir
814
 
dvidir
815
 
pdfdir
816
 
psdir
817
 
libdir
818
 
localedir
819
 
mandir
820
 
DEFS
821
 
ECHO_C
822
 
ECHO_N
823
 
ECHO_T
824
 
LIBS
825
 
build_alias
826
 
host_alias
827
 
target_alias
828
 
GUTENPRINT_MAJOR_VERSION
829
 
GUTENPRINT_MINOR_VERSION
830
 
GUTENPRINT_MICRO_VERSION
831
 
GUTENPRINT_CURRENT_INTERFACE
832
 
GUTENPRINT_INTERFACE_AGE
833
 
GUTENPRINT_BINARY_AGE
834
 
GUTENPRINT_VERSION
835
 
GUTENPRINTUI2_CURRENT_INTERFACE
836
 
GUTENPRINTUI2_INTERFACE_AGE
837
 
GUTENPRINTUI2_BINARY_AGE
838
 
INSTALL_PROGRAM
839
 
INSTALL_SCRIPT
840
 
INSTALL_DATA
841
 
am__isrc
842
 
CYGPATH_W
843
 
PACKAGE
844
 
VERSION
845
 
ACLOCAL
846
 
AUTOCONF
847
 
AUTOMAKE
848
 
AUTOHEADER
849
 
MAKEINFO
850
 
install_sh
851
 
STRIP
852
 
INSTALL_STRIP_PROGRAM
853
 
mkdir_p
854
 
AWK
855
 
SET_MAKE
856
 
am__leading_dot
857
 
AMTAR
858
 
am__tar
859
 
am__untar
860
 
ALL_LINGUAS
 
808
ac_subst_vars='LTALLOCA
 
809
LTLIBOBJS
 
810
LIBOBJS
 
811
BUILD_CUPS_PPDS
 
812
WHICH_PPDS
 
813
PLUG_IN_PATH
 
814
MAINTAINER_CFLAGS
 
815
LIBREADLINE_DEPS
 
816
gutenprintui2_libdeps
 
817
gutenprintui2_libs
 
818
gutenprintui2_cflags
 
819
gutenprint_libdeps
 
820
gutenprint_libs
 
821
gutenprint_cflags
 
822
GUTENPRINTUI2_VERSION
 
823
GUTENPRINTUI2_LIBDEPS
 
824
GUTENPRINTUI2_LIBS
 
825
GUTENPRINTUI2_CFLAGS
 
826
GUTENPRINT_LIBDEPS
 
827
GUTENPRINT_LIBS
 
828
GUTENPRINT_CFLAGS
 
829
gimp2_plug_indir
 
830
RM
 
831
IJS_LIBS
 
832
IJS_CFLAGS
 
833
GENPPD_LIBS
 
834
CUPS_PPD_PS_LEVEL
 
835
CUPS_LIBS
 
836
CUPS_CFLAGS
 
837
cups_conf_serverroot
 
838
cups_conf_serverbin
 
839
cups_conf_datadir
 
840
cups_sbindir
 
841
cups_bindir
 
842
cups_exec_prefix
 
843
cups_prefix
 
844
RELEASE_DATE
 
845
BUILD_GENPPD_STATIC_FALSE
 
846
BUILD_GENPPD_STATIC_TRUE
 
847
BUILD_MODULES_FALSE
 
848
BUILD_MODULES_TRUE
 
849
INSTALL_USER_GUIDE_FALSE
 
850
INSTALL_USER_GUIDE_TRUE
 
851
INSTALL_SAMPLES_FALSE
 
852
INSTALL_SAMPLES_TRUE
 
853
BUILD_GIMP2_AS_GUTENPRINT_FALSE
 
854
BUILD_GIMP2_AS_GUTENPRINT_TRUE
 
855
BUILD_GIMP2_FALSE
 
856
BUILD_GIMP2_TRUE
 
857
BUILD_LIBGUTENPRINTUI2_FALSE
 
858
BUILD_LIBGUTENPRINTUI2_TRUE
 
859
BUILD_TESTPATTERN_FALSE
 
860
BUILD_TESTPATTERN_TRUE
 
861
BUILD_TEST_FALSE
 
862
BUILD_TEST_TRUE
 
863
BUILD_ESCPUTIL_FALSE
 
864
BUILD_ESCPUTIL_TRUE
 
865
USE_LEVEL3_PS_FALSE
 
866
USE_LEVEL3_PS_TRUE
 
867
BUILD_SIMPLIFIED_CUPS_PPDS_FALSE
 
868
BUILD_SIMPLIFIED_CUPS_PPDS_TRUE
 
869
BUILD_GLOBALIZED_CUPS_PPDS_FALSE
 
870
BUILD_GLOBALIZED_CUPS_PPDS_TRUE
 
871
BUILD_TRANSLATED_CUPS_PPDS_FALSE
 
872
BUILD_TRANSLATED_CUPS_PPDS_TRUE
 
873
CUPS_PPDS_AT_TOP_LEVEL_FALSE
 
874
CUPS_PPDS_AT_TOP_LEVEL_TRUE
 
875
BUILD_CUPS_PPDS_FALSE
 
876
BUILD_CUPS_PPDS_TRUE
 
877
BUILD_CUPS_1_2_FALSE
 
878
BUILD_CUPS_1_2_TRUE
 
879
BUILD_CUPS_FALSE
 
880
BUILD_CUPS_TRUE
 
881
BUILD_GHOSTSCRIPT_FALSE
 
882
BUILD_GHOSTSCRIPT_TRUE
 
883
BUILD_FOOMATIC_3_FALSE
 
884
BUILD_FOOMATIC_3_TRUE
 
885
BUILD_FOOMATIC_FALSE
 
886
BUILD_FOOMATIC_TRUE
 
887
GNUCFLAGS
 
888
FOOMATIC_KITLOAD
 
889
DIALOG
 
890
DOXYGEN
 
891
DB2HTML
 
892
DB2PS
 
893
DVIPDF
 
894
DB2PDF
 
895
DVIPS
 
896
TEXI2HTML
 
897
CONVERT
 
898
GLIB_MKENUMS
 
899
PERL
 
900
FIND
 
901
TRUE
 
902
TEST
 
903
YFLAGS
 
904
YACC
 
905
LEXLIB
 
906
LEX_OUTPUT_ROOT
 
907
LEX
 
908
GIMP2_LIBS
 
909
GIMP2_CFLAGS
 
910
GTK2_LIBS
 
911
GTK2_CFLAGS
 
912
PKG_CONFIG
 
913
GIMPTOOL2_CHECK
 
914
IJS_CONFIG
 
915
FOOMATIC_PPDFILE
 
916
FOOMATIC_CONFIGURE
 
917
USE_NLS_FALSE
 
918
USE_NLS_TRUE
 
919
POSUB
 
920
LTLIBINTL
 
921
LIBINTL
 
922
INTLLIBS
 
923
LTLIBICONV
 
924
LIBICONV
 
925
INTL_MACOSX_LIBS
 
926
MSGMERGE
 
927
XGETTEXT_015
 
928
XGETTEXT
 
929
GMSGFMT_015
 
930
MSGFMT_015
 
931
GMSGFMT
 
932
MSGFMT
 
933
USE_NLS
 
934
CUPS_CONFIG
 
935
MAINT
 
936
MAINTAINER_MODE_FALSE
 
937
MAINTAINER_MODE_TRUE
 
938
LIBTOOL_DEPS
 
939
CPP
 
940
OTOOL64
 
941
OTOOL
 
942
LIPO
 
943
NMEDIT
 
944
DSYMUTIL
 
945
lt_ECHO
 
946
RANLIB
 
947
AR
 
948
OBJDUMP
 
949
LN_S
 
950
NM
 
951
ac_ct_DUMPBIN
 
952
DUMPBIN
 
953
LD
 
954
FGREP
 
955
EGREP
 
956
GREP
 
957
SED
 
958
am__fastdepCC_FALSE
 
959
am__fastdepCC_TRUE
 
960
CCDEPMODE
 
961
AMDEPBACKSLASH
 
962
AMDEP_FALSE
 
963
AMDEP_TRUE
 
964
am__quote
 
965
am__include
 
966
DEPDIR
 
967
OBJEXT
 
968
EXEEXT
 
969
ac_ct_CC
 
970
CPPFLAGS
 
971
LDFLAGS
 
972
CFLAGS
 
973
CC
 
974
host_os
 
975
host_vendor
 
976
host_cpu
 
977
host
 
978
build_os
 
979
build_vendor
 
980
build_cpu
861
981
build
862
 
build_cpu
863
 
build_vendor
864
 
build_os
865
 
host
866
 
host_cpu
867
 
host_vendor
868
 
host_os
869
 
CC
870
 
CFLAGS
871
 
LDFLAGS
872
 
CPPFLAGS
873
 
ac_ct_CC
874
 
EXEEXT
875
 
OBJEXT
876
 
DEPDIR
877
 
am__include
878
 
am__quote
879
 
AMDEP_TRUE
880
 
AMDEP_FALSE
881
 
AMDEPBACKSLASH
882
 
CCDEPMODE
883
 
am__fastdepCC_TRUE
884
 
am__fastdepCC_FALSE
885
 
SED
886
 
GREP
887
 
EGREP
888
 
LN_S
889
 
ECHO
890
 
AR
891
 
RANLIB
892
 
DSYMUTIL
893
 
NMEDIT
894
 
CPP
895
 
CXX
896
 
CXXFLAGS
897
 
ac_ct_CXX
898
 
CXXDEPMODE
899
 
am__fastdepCXX_TRUE
900
 
am__fastdepCXX_FALSE
901
 
CXXCPP
902
 
F77
903
 
FFLAGS
904
 
ac_ct_F77
905
982
LIBTOOL
906
 
LIBTOOL_DEPS
907
 
MAINTAINER_MODE_TRUE
908
 
MAINTAINER_MODE_FALSE
909
 
MAINT
910
 
CUPS_CONFIG
911
 
USE_NLS
912
 
MSGFMT
913
 
GMSGFMT
914
 
MSGFMT_015
915
 
GMSGFMT_015
916
 
XGETTEXT
917
 
XGETTEXT_015
918
 
MSGMERGE
919
 
INTL_MACOSX_LIBS
920
 
LIBICONV
921
 
LTLIBICONV
922
 
INTLLIBS
923
 
LIBINTL
924
 
LTLIBINTL
925
 
POSUB
926
 
USE_NLS_TRUE
927
 
USE_NLS_FALSE
928
 
FOOMATIC_CONFIGURE
929
 
FOOMATIC_PPDFILE
930
 
IJS_CONFIG
931
 
GIMPTOOL2_CHECK
932
 
PKG_CONFIG
933
 
GTK2_CFLAGS
934
 
GTK2_LIBS
935
 
GIMP2_CFLAGS
936
 
GIMP2_LIBS
937
 
LEX
938
 
LEX_OUTPUT_ROOT
939
 
LEXLIB
940
 
YACC
941
 
YFLAGS
942
 
TEST
943
 
TRUE
944
 
FIND
945
 
PERL
946
 
GLIB_MKENUMS
947
 
CONVERT
948
 
TEXI2HTML
949
 
DVIPS
950
 
DB2PDF
951
 
DVIPDF
952
 
DB2PS
953
 
DB2HTML
954
 
DOXYGEN
955
 
DIALOG
956
 
FOOMATIC_KITLOAD
957
 
GNUCFLAGS
958
 
BUILD_FOOMATIC_TRUE
959
 
BUILD_FOOMATIC_FALSE
960
 
BUILD_FOOMATIC_3_TRUE
961
 
BUILD_FOOMATIC_3_FALSE
962
 
BUILD_GHOSTSCRIPT_TRUE
963
 
BUILD_GHOSTSCRIPT_FALSE
964
 
BUILD_CUPS_TRUE
965
 
BUILD_CUPS_FALSE
966
 
BUILD_CUPS_1_2_TRUE
967
 
BUILD_CUPS_1_2_FALSE
968
 
BUILD_CUPS_PPDS_TRUE
969
 
BUILD_CUPS_PPDS_FALSE
970
 
CUPS_PPDS_AT_TOP_LEVEL_TRUE
971
 
CUPS_PPDS_AT_TOP_LEVEL_FALSE
972
 
BUILD_TRANSLATED_CUPS_PPDS_TRUE
973
 
BUILD_TRANSLATED_CUPS_PPDS_FALSE
974
 
BUILD_GLOBALIZED_CUPS_PPDS_TRUE
975
 
BUILD_GLOBALIZED_CUPS_PPDS_FALSE
976
 
BUILD_SIMPLIFIED_CUPS_PPDS_TRUE
977
 
BUILD_SIMPLIFIED_CUPS_PPDS_FALSE
978
 
USE_LEVEL3_PS_TRUE
979
 
USE_LEVEL3_PS_FALSE
980
 
BUILD_ESCPUTIL_TRUE
981
 
BUILD_ESCPUTIL_FALSE
982
 
BUILD_TEST_TRUE
983
 
BUILD_TEST_FALSE
984
 
BUILD_TESTPATTERN_TRUE
985
 
BUILD_TESTPATTERN_FALSE
986
 
BUILD_LIBGUTENPRINTUI2_TRUE
987
 
BUILD_LIBGUTENPRINTUI2_FALSE
988
 
BUILD_GIMP2_TRUE
989
 
BUILD_GIMP2_FALSE
990
 
BUILD_GIMP2_AS_GUTENPRINT_TRUE
991
 
BUILD_GIMP2_AS_GUTENPRINT_FALSE
992
 
INSTALL_SAMPLES_TRUE
993
 
INSTALL_SAMPLES_FALSE
994
 
INSTALL_USER_GUIDE_TRUE
995
 
INSTALL_USER_GUIDE_FALSE
996
 
BUILD_MODULES_TRUE
997
 
BUILD_MODULES_FALSE
998
 
BUILD_GENPPD_STATIC_TRUE
999
 
BUILD_GENPPD_STATIC_FALSE
1000
 
RELEASE_DATE
1001
 
cups_prefix
1002
 
cups_exec_prefix
1003
 
cups_bindir
1004
 
cups_sbindir
1005
 
cups_conf_datadir
1006
 
cups_conf_serverbin
1007
 
cups_conf_serverroot
1008
 
CUPS_CFLAGS
1009
 
CUPS_LIBS
1010
 
CUPS_PPD_PS_LEVEL
1011
 
GENPPD_LIBS
1012
 
IJS_CFLAGS
1013
 
IJS_LIBS
1014
 
RM
1015
 
gimp2_plug_indir
1016
 
GUTENPRINT_CFLAGS
1017
 
GUTENPRINT_LIBS
1018
 
GUTENPRINT_LIBDEPS
1019
 
GUTENPRINTUI2_CFLAGS
1020
 
GUTENPRINTUI2_LIBS
1021
 
GUTENPRINTUI2_LIBDEPS
1022
 
GUTENPRINTUI2_VERSION
1023
 
gutenprint_cflags
1024
 
gutenprint_libs
1025
 
gutenprint_libdeps
1026
 
gutenprintui2_cflags
1027
 
gutenprintui2_libs
1028
 
gutenprintui2_libdeps
1029
 
LIBREADLINE_DEPS
1030
 
MAINTAINER_CFLAGS
1031
 
PLUG_IN_PATH
1032
 
WHICH_PPDS
1033
 
BUILD_CUPS_PPDS
1034
 
LIBOBJS
1035
 
LTLIBOBJS
1036
 
LTALLOCA'
 
983
ALL_LINGUAS
 
984
am__untar
 
985
am__tar
 
986
AMTAR
 
987
am__leading_dot
 
988
SET_MAKE
 
989
AWK
 
990
mkdir_p
 
991
MKDIR_P
 
992
INSTALL_STRIP_PROGRAM
 
993
STRIP
 
994
install_sh
 
995
MAKEINFO
 
996
AUTOHEADER
 
997
AUTOMAKE
 
998
AUTOCONF
 
999
ACLOCAL
 
1000
VERSION
 
1001
PACKAGE
 
1002
CYGPATH_W
 
1003
am__isrc
 
1004
INSTALL_DATA
 
1005
INSTALL_SCRIPT
 
1006
INSTALL_PROGRAM
 
1007
GUTENPRINTUI2_BINARY_AGE
 
1008
GUTENPRINTUI2_INTERFACE_AGE
 
1009
GUTENPRINTUI2_CURRENT_INTERFACE
 
1010
GUTENPRINT_VERSION
 
1011
GUTENPRINT_BINARY_AGE
 
1012
GUTENPRINT_INTERFACE_AGE
 
1013
GUTENPRINT_CURRENT_INTERFACE
 
1014
GUTENPRINT_MICRO_VERSION
 
1015
GUTENPRINT_MINOR_VERSION
 
1016
GUTENPRINT_MAJOR_VERSION
 
1017
target_alias
 
1018
host_alias
 
1019
build_alias
 
1020
LIBS
 
1021
ECHO_T
 
1022
ECHO_N
 
1023
ECHO_C
 
1024
DEFS
 
1025
mandir
 
1026
localedir
 
1027
libdir
 
1028
psdir
 
1029
pdfdir
 
1030
dvidir
 
1031
htmldir
 
1032
infodir
 
1033
docdir
 
1034
oldincludedir
 
1035
includedir
 
1036
localstatedir
 
1037
sharedstatedir
 
1038
sysconfdir
 
1039
datadir
 
1040
datarootdir
 
1041
libexecdir
 
1042
sbindir
 
1043
bindir
 
1044
program_transform_name
 
1045
prefix
 
1046
exec_prefix
 
1047
PACKAGE_BUGREPORT
 
1048
PACKAGE_STRING
 
1049
PACKAGE_VERSION
 
1050
PACKAGE_TARNAME
 
1051
PACKAGE_NAME
 
1052
PATH_SEPARATOR
 
1053
SHELL'
1037
1054
ac_subst_files=''
 
1055
ac_user_opts='
 
1056
enable_option_checking
 
1057
enable_static
 
1058
enable_shared
 
1059
with_pic
 
1060
enable_fast_install
 
1061
enable_dependency_tracking
 
1062
with_gnu_ld
 
1063
enable_libtool_lock
 
1064
enable_maintainer_mode
 
1065
with_cups
 
1066
enable_nls
 
1067
enable_rpath
 
1068
with_libiconv_prefix
 
1069
with_libintl_prefix
 
1070
enable_nls_macosx
 
1071
enable_cups_ppds
 
1072
enable_cups_1_2_enhancements
 
1073
enable_translated_cups_ppds
 
1074
enable_globalized_cups_ppds
 
1075
enable_simplified_cups_ppds
 
1076
enable_cups_ppds_at_top_level
 
1077
enable_cups_level3_ppds
 
1078
enable_static_genppd
 
1079
with_foomatic
 
1080
with_foomatic3
 
1081
with_ghostscript
 
1082
with_modules
 
1083
enable_debug
 
1084
enable_profile
 
1085
with_readline
 
1086
with_gimp2
 
1087
with_gimp2_as_gutenprint
 
1088
enable_libgutenprintui2
 
1089
enable_samples
 
1090
enable_escputil
 
1091
enable_test
 
1092
enable_testpattern
 
1093
enable_user_install
 
1094
with_cups_nickname
 
1095
with_archflags
 
1096
'
1038
1097
      ac_precious_vars='build_alias
1039
1098
host_alias
1040
1099
target_alias
1044
1103
LIBS
1045
1104
CPPFLAGS
1046
1105
CPP
1047
 
CXX
1048
 
CXXFLAGS
1049
 
CCC
1050
 
CXXCPP
1051
 
F77
1052
 
FFLAGS
1053
1106
PKG_CONFIG
1054
1107
GTK2_CFLAGS
1055
1108
GTK2_LIBS
1062
1115
# Initialize some variables set by options.
1063
1116
ac_init_help=
1064
1117
ac_init_version=false
 
1118
ac_unrecognized_opts=
 
1119
ac_unrecognized_sep=
1065
1120
# The variables have the same names as the options, with
1066
1121
# dashes changed to underlines.
1067
1122
cache_file=/dev/null
1160
1215
    datarootdir=$ac_optarg ;;
1161
1216
 
1162
1217
  -disable-* | --disable-*)
1163
 
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
 
1218
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1164
1219
    # Reject names that are not valid shell variable names.
1165
 
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1166
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
 
1220
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1221
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1167
1222
   { (exit 1); exit 1; }; }
1168
 
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1169
 
    eval enable_$ac_feature=no ;;
 
1223
    ac_useropt_orig=$ac_useropt
 
1224
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1225
    case $ac_user_opts in
 
1226
      *"
 
1227
"enable_$ac_useropt"
 
1228
"*) ;;
 
1229
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
 
1230
         ac_unrecognized_sep=', ';;
 
1231
    esac
 
1232
    eval enable_$ac_useropt=no ;;
1170
1233
 
1171
1234
  -docdir | --docdir | --docdi | --doc | --do)
1172
1235
    ac_prev=docdir ;;
1179
1242
    dvidir=$ac_optarg ;;
1180
1243
 
1181
1244
  -enable-* | --enable-*)
1182
 
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
 
1245
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1183
1246
    # Reject names that are not valid shell variable names.
1184
 
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1185
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
 
1247
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1248
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1186
1249
   { (exit 1); exit 1; }; }
1187
 
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1188
 
    eval enable_$ac_feature=\$ac_optarg ;;
 
1250
    ac_useropt_orig=$ac_useropt
 
1251
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1252
    case $ac_user_opts in
 
1253
      *"
 
1254
"enable_$ac_useropt"
 
1255
"*) ;;
 
1256
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
 
1257
         ac_unrecognized_sep=', ';;
 
1258
    esac
 
1259
    eval enable_$ac_useropt=\$ac_optarg ;;
1189
1260
 
1190
1261
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1191
1262
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1376
1447
    ac_init_version=: ;;
1377
1448
 
1378
1449
  -with-* | --with-*)
1379
 
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 
1450
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1380
1451
    # Reject names that are not valid shell variable names.
1381
 
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1382
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
 
1452
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1453
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1383
1454
   { (exit 1); exit 1; }; }
1384
 
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1385
 
    eval with_$ac_package=\$ac_optarg ;;
 
1455
    ac_useropt_orig=$ac_useropt
 
1456
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1457
    case $ac_user_opts in
 
1458
      *"
 
1459
"with_$ac_useropt"
 
1460
"*) ;;
 
1461
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
 
1462
         ac_unrecognized_sep=', ';;
 
1463
    esac
 
1464
    eval with_$ac_useropt=\$ac_optarg ;;
1386
1465
 
1387
1466
  -without-* | --without-*)
1388
 
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 
1467
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1389
1468
    # Reject names that are not valid shell variable names.
1390
 
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1391
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
 
1469
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1470
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1392
1471
   { (exit 1); exit 1; }; }
1393
 
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1394
 
    eval with_$ac_package=no ;;
 
1472
    ac_useropt_orig=$ac_useropt
 
1473
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1474
    case $ac_user_opts in
 
1475
      *"
 
1476
"with_$ac_useropt"
 
1477
"*) ;;
 
1478
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
 
1479
         ac_unrecognized_sep=', ';;
 
1480
    esac
 
1481
    eval with_$ac_useropt=no ;;
1395
1482
 
1396
1483
  --x)
1397
1484
    # Obsolete; use --with-x.
1411
1498
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1412
1499
    x_libraries=$ac_optarg ;;
1413
1500
 
1414
 
  -*) { echo "$as_me: error: unrecognized option: $ac_option
 
1501
  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1415
1502
Try \`$0 --help' for more information." >&2
1416
1503
   { (exit 1); exit 1; }; }
1417
1504
    ;;
1420
1507
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1421
1508
    # Reject names that are not valid shell variable names.
1422
1509
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1423
 
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
 
1510
      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1424
1511
   { (exit 1); exit 1; }; }
1425
1512
    eval $ac_envvar=\$ac_optarg
1426
1513
    export $ac_envvar ;;
1427
1514
 
1428
1515
  *)
1429
1516
    # FIXME: should be removed in autoconf 3.0.
1430
 
    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 
1517
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1431
1518
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1432
 
      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 
1519
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1433
1520
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1434
1521
    ;;
1435
1522
 
1438
1525
 
1439
1526
if test -n "$ac_prev"; then
1440
1527
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1441
 
  { echo "$as_me: error: missing argument to $ac_option" >&2
 
1528
  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1442
1529
   { (exit 1); exit 1; }; }
1443
1530
fi
1444
1531
 
1445
 
# Be sure to have absolute directory names.
 
1532
if test -n "$ac_unrecognized_opts"; then
 
1533
  case $enable_option_checking in
 
1534
    no) ;;
 
1535
    fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
 
1536
   { (exit 1); exit 1; }; } ;;
 
1537
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
 
1538
  esac
 
1539
fi
 
1540
 
 
1541
# Check all directory arguments for consistency.
1446
1542
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1447
1543
                datadir sysconfdir sharedstatedir localstatedir includedir \
1448
1544
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1449
1545
                libdir localedir mandir
1450
1546
do
1451
1547
  eval ac_val=\$$ac_var
 
1548
  # Remove trailing slashes.
 
1549
  case $ac_val in
 
1550
    */ )
 
1551
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
 
1552
      eval $ac_var=\$ac_val;;
 
1553
  esac
 
1554
  # Be sure to have absolute directory names.
1452
1555
  case $ac_val in
1453
1556
    [\\/$]* | ?:[\\/]* )  continue;;
1454
1557
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1455
1558
  esac
1456
 
  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
 
1559
  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1457
1560
   { (exit 1); exit 1; }; }
1458
1561
done
1459
1562
 
1468
1571
if test "x$host_alias" != x; then
1469
1572
  if test "x$build_alias" = x; then
1470
1573
    cross_compiling=maybe
1471
 
    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
 
1574
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1472
1575
    If a cross compiler is detected then cross compile mode will be used." >&2
1473
1576
  elif test "x$build_alias" != "x$host_alias"; then
1474
1577
    cross_compiling=yes
1484
1587
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1485
1588
ac_ls_di=`ls -di .` &&
1486
1589
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1487
 
  { echo "$as_me: error: Working directory cannot be determined" >&2
 
1590
  { $as_echo "$as_me: error: working directory cannot be determined" >&2
1488
1591
   { (exit 1); exit 1; }; }
1489
1592
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1490
 
  { echo "$as_me: error: pwd does not report name of working directory" >&2
 
1593
  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1491
1594
   { (exit 1); exit 1; }; }
1492
1595
 
1493
1596
 
1495
1598
if test -z "$srcdir"; then
1496
1599
  ac_srcdir_defaulted=yes
1497
1600
  # Try the directory containing this script, then the parent directory.
1498
 
  ac_confdir=`$as_dirname -- "$0" ||
1499
 
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1500
 
         X"$0" : 'X\(//\)[^/]' \| \
1501
 
         X"$0" : 'X\(//\)$' \| \
1502
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1503
 
echo X"$0" |
 
1601
  ac_confdir=`$as_dirname -- "$as_myself" ||
 
1602
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
1603
         X"$as_myself" : 'X\(//\)[^/]' \| \
 
1604
         X"$as_myself" : 'X\(//\)$' \| \
 
1605
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
 
1606
$as_echo X"$as_myself" |
1504
1607
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1505
1608
            s//\1/
1506
1609
            q
1527
1630
fi
1528
1631
if test ! -r "$srcdir/$ac_unique_file"; then
1529
1632
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1530
 
  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
 
1633
  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1531
1634
   { (exit 1); exit 1; }; }
1532
1635
fi
1533
1636
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1534
1637
ac_abs_confdir=`(
1535
 
        cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
 
1638
        cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1536
1639
   { (exit 1); exit 1; }; }
1537
1640
        pwd)`
1538
1641
# When building in place, set srcdir=.
1559
1662
  # Omit some internal or obsolete options to make the list less imposing.
1560
1663
  # This message is too long to be a string in the A/UX 3.1 sh.
1561
1664
  cat <<_ACEOF
1562
 
\`configure' configures gutenprint 5.2.3 to adapt to many kinds of systems.
 
1665
\`configure' configures gutenprint 5.2.4 to adapt to many kinds of systems.
1563
1666
 
1564
1667
Usage: $0 [OPTION]... [VAR=VALUE]...
1565
1668
 
1581
1684
 
1582
1685
Installation directories:
1583
1686
  --prefix=PREFIX         install architecture-independent files in PREFIX
1584
 
                          [$ac_default_prefix]
 
1687
                          [$ac_default_prefix]
1585
1688
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1586
 
                          [PREFIX]
 
1689
                          [PREFIX]
1587
1690
 
1588
1691
By default, \`make install' will install all the files in
1589
1692
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1593
1696
For better control, use the options below.
1594
1697
 
1595
1698
Fine tuning of the installation directories:
1596
 
  --bindir=DIR           user executables [EPREFIX/bin]
1597
 
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
1598
 
  --libexecdir=DIR       program executables [EPREFIX/libexec]
1599
 
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1600
 
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1601
 
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1602
 
  --libdir=DIR           object code libraries [EPREFIX/lib]
1603
 
  --includedir=DIR       C header files [PREFIX/include]
1604
 
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1605
 
  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
1606
 
  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
1607
 
  --infodir=DIR          info documentation [DATAROOTDIR/info]
1608
 
  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
1609
 
  --mandir=DIR           man documentation [DATAROOTDIR/man]
1610
 
  --docdir=DIR           documentation root [DATAROOTDIR/doc/gutenprint]
1611
 
  --htmldir=DIR          html documentation [DOCDIR]
1612
 
  --dvidir=DIR           dvi documentation [DOCDIR]
1613
 
  --pdfdir=DIR           pdf documentation [DOCDIR]
1614
 
  --psdir=DIR            ps documentation [DOCDIR]
 
1699
  --bindir=DIR            user executables [EPREFIX/bin]
 
1700
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
 
1701
  --libexecdir=DIR        program executables [EPREFIX/libexec]
 
1702
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
 
1703
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
 
1704
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
 
1705
  --libdir=DIR            object code libraries [EPREFIX/lib]
 
1706
  --includedir=DIR        C header files [PREFIX/include]
 
1707
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
 
1708
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
 
1709
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
 
1710
  --infodir=DIR           info documentation [DATAROOTDIR/info]
 
1711
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
 
1712
  --mandir=DIR            man documentation [DATAROOTDIR/man]
 
1713
  --docdir=DIR            documentation root [DATAROOTDIR/doc/gutenprint]
 
1714
  --htmldir=DIR           html documentation [DOCDIR]
 
1715
  --dvidir=DIR            dvi documentation [DOCDIR]
 
1716
  --pdfdir=DIR            pdf documentation [DOCDIR]
 
1717
  --psdir=DIR             ps documentation [DOCDIR]
1615
1718
_ACEOF
1616
1719
 
1617
1720
  cat <<\_ACEOF
1629
1732
 
1630
1733
if test -n "$ac_init_help"; then
1631
1734
  case $ac_init_help in
1632
 
     short | recursive ) echo "Configuration of gutenprint 5.2.3:";;
 
1735
     short | recursive ) echo "Configuration of gutenprint 5.2.4:";;
1633
1736
   esac
1634
1737
  cat <<\_ACEOF
1635
1738
 
1636
1739
Optional Features:
 
1740
  --disable-option-checking  ignore unrecognized --enable/--with options
1637
1741
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1638
1742
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1639
1743
  --enable-static[=PKGS]  build static libraries [default=yes]
1680
1784
Optional Packages:
1681
1785
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1682
1786
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1683
 
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1684
1787
  --with-pic              try to use only PIC/non-PIC objects [default=use
1685
1788
                          both]
1686
 
  --with-tags[=TAGS]      include additional configurations [automatic]
 
1789
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1687
1790
  --with-cups=PREFIX      whether to build CUPS driver (default PREFIX=/usr)
1688
1791
                          [(automatic)]
1689
1792
  --with-gnu-ld           assume the C compiler uses GNU ld default=no
1716
1819
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1717
1820
              you have headers in a nonstandard directory <include dir>
1718
1821
  CPP         C preprocessor
1719
 
  CXX         C++ compiler command
1720
 
  CXXFLAGS    C++ compiler flags
1721
 
  CXXCPP      C++ preprocessor
1722
 
  F77         Fortran 77 compiler command
1723
 
  FFLAGS      Fortran 77 compiler flags
1724
1822
  PKG_CONFIG  path to pkg-config utility
1725
1823
  GTK2_CFLAGS C compiler flags for GTK2, overriding pkg-config
1726
1824
  GTK2_LIBS   linker flags for GTK2, overriding pkg-config
1744
1842
if test "$ac_init_help" = "recursive"; then
1745
1843
  # If there are subdirs, report their specific --help.
1746
1844
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1747
 
    test -d "$ac_dir" || continue
 
1845
    test -d "$ac_dir" ||
 
1846
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
 
1847
      continue
1748
1848
    ac_builddir=.
1749
1849
 
1750
1850
case "$ac_dir" in
1751
1851
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1752
1852
*)
1753
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 
1853
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1754
1854
  # A ".." for each directory in $ac_dir_suffix.
1755
 
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
1855
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1756
1856
  case $ac_top_builddir_sub in
1757
1857
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1758
1858
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1788
1888
      echo &&
1789
1889
      $SHELL "$ac_srcdir/configure" --help=recursive
1790
1890
    else
1791
 
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 
1891
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1792
1892
    fi || ac_status=$?
1793
1893
    cd "$ac_pwd" || { ac_status=$?; break; }
1794
1894
  done
1797
1897
test -n "$ac_init_help" && exit $ac_status
1798
1898
if $ac_init_version; then
1799
1899
  cat <<\_ACEOF
1800
 
gutenprint configure 5.2.3
1801
 
generated by GNU Autoconf 2.61
 
1900
gutenprint configure 5.2.4
 
1901
generated by GNU Autoconf 2.63
1802
1902
 
1803
1903
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1804
 
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
 
1904
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1805
1905
This configure script is free software; the Free Software Foundation
1806
1906
gives unlimited permission to copy, distribute and modify it.
1807
1907
 
1828
1928
This file contains any messages produced by compilers while
1829
1929
running configure, to aid debugging if configure makes a mistake.
1830
1930
 
1831
 
It was created by gutenprint $as_me 5.2.3, which was
1832
 
generated by GNU Autoconf 2.61.  Invocation command line was
 
1931
It was created by gutenprint $as_me 5.2.4, which was
 
1932
generated by GNU Autoconf 2.63.  Invocation command line was
1833
1933
 
1834
1934
  $ $0 $@
1835
1935
 
1865
1965
do
1866
1966
  IFS=$as_save_IFS
1867
1967
  test -z "$as_dir" && as_dir=.
1868
 
  echo "PATH: $as_dir"
 
1968
  $as_echo "PATH: $as_dir"
1869
1969
done
1870
1970
IFS=$as_save_IFS
1871
1971
 
1900
2000
    | -silent | --silent | --silen | --sile | --sil)
1901
2001
      continue ;;
1902
2002
    *\'*)
1903
 
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
2003
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1904
2004
    esac
1905
2005
    case $ac_pass in
1906
2006
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1952
2052
    case $ac_val in #(
1953
2053
    *${as_nl}*)
1954
2054
      case $ac_var in #(
1955
 
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1956
 
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
2055
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
2056
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1957
2057
      esac
1958
2058
      case $ac_var in #(
1959
2059
      _ | IFS | as_nl) ;; #(
 
2060
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1960
2061
      *) $as_unset $ac_var ;;
1961
2062
      esac ;;
1962
2063
    esac
1986
2087
    do
1987
2088
      eval ac_val=\$$ac_var
1988
2089
      case $ac_val in
1989
 
      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
2090
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1990
2091
      esac
1991
 
      echo "$ac_var='\''$ac_val'\''"
 
2092
      $as_echo "$ac_var='\''$ac_val'\''"
1992
2093
    done | sort
1993
2094
    echo
1994
2095
 
2003
2104
      do
2004
2105
        eval ac_val=\$$ac_var
2005
2106
        case $ac_val in
2006
 
        *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
2107
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2007
2108
        esac
2008
 
        echo "$ac_var='\''$ac_val'\''"
 
2109
        $as_echo "$ac_var='\''$ac_val'\''"
2009
2110
      done | sort
2010
2111
      echo
2011
2112
    fi
2021
2122
      echo
2022
2123
    fi
2023
2124
    test "$ac_signal" != 0 &&
2024
 
      echo "$as_me: caught signal $ac_signal"
2025
 
    echo "$as_me: exit $exit_status"
 
2125
      $as_echo "$as_me: caught signal $ac_signal"
 
2126
    $as_echo "$as_me: exit $exit_status"
2026
2127
  } >&5
2027
2128
  rm -f core *.core core.conftest.* &&
2028
2129
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2064
2165
 
2065
2166
 
2066
2167
# Let the site file select an alternate cache file if it wants to.
2067
 
# Prefer explicitly selected file to automatically selected ones.
 
2168
# Prefer an explicitly selected file to automatically selected ones.
 
2169
ac_site_file1=NONE
 
2170
ac_site_file2=NONE
2068
2171
if test -n "$CONFIG_SITE"; then
2069
 
  set x "$CONFIG_SITE"
 
2172
  ac_site_file1=$CONFIG_SITE
2070
2173
elif test "x$prefix" != xNONE; then
2071
 
  set x "$prefix/share/config.site" "$prefix/etc/config.site"
 
2174
  ac_site_file1=$prefix/share/config.site
 
2175
  ac_site_file2=$prefix/etc/config.site
2072
2176
else
2073
 
  set x "$ac_default_prefix/share/config.site" \
2074
 
        "$ac_default_prefix/etc/config.site"
 
2177
  ac_site_file1=$ac_default_prefix/share/config.site
 
2178
  ac_site_file2=$ac_default_prefix/etc/config.site
2075
2179
fi
2076
 
shift
2077
 
for ac_site_file
 
2180
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2078
2181
do
 
2182
  test "x$ac_site_file" = xNONE && continue
2079
2183
  if test -r "$ac_site_file"; then
2080
 
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2081
 
echo "$as_me: loading site script $ac_site_file" >&6;}
 
2184
    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
 
2185
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2082
2186
    sed 's/^/| /' "$ac_site_file" >&5
2083
2187
    . "$ac_site_file"
2084
2188
  fi
2088
2192
  # Some versions of bash will fail to source /dev/null (special
2089
2193
  # files actually), so we avoid doing that.
2090
2194
  if test -f "$cache_file"; then
2091
 
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2092
 
echo "$as_me: loading cache $cache_file" >&6;}
 
2195
    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
 
2196
$as_echo "$as_me: loading cache $cache_file" >&6;}
2093
2197
    case $cache_file in
2094
2198
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2095
2199
      *)                      . "./$cache_file";;
2096
2200
    esac
2097
2201
  fi
2098
2202
else
2099
 
  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2100
 
echo "$as_me: creating cache $cache_file" >&6;}
 
2203
  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
 
2204
$as_echo "$as_me: creating cache $cache_file" >&6;}
2101
2205
  >$cache_file
2102
2206
fi
2103
2207
 
2112
2216
  eval ac_new_val=\$ac_env_${ac_var}_value
2113
2217
  case $ac_old_set,$ac_new_set in
2114
2218
    set,)
2115
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2116
 
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 
2219
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
2220
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2117
2221
      ac_cache_corrupted=: ;;
2118
2222
    ,set)
2119
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2120
 
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 
2223
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
 
2224
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2121
2225
      ac_cache_corrupted=: ;;
2122
2226
    ,);;
2123
2227
    *)
2124
2228
      if test "x$ac_old_val" != "x$ac_new_val"; then
2125
 
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2126
 
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2127
 
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
2128
 
echo "$as_me:   former value:  $ac_old_val" >&2;}
2129
 
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
2130
 
echo "$as_me:   current value: $ac_new_val" >&2;}
2131
 
        ac_cache_corrupted=:
 
2229
        # differences in whitespace do not lead to failure.
 
2230
        ac_old_val_w=`echo x $ac_old_val`
 
2231
        ac_new_val_w=`echo x $ac_new_val`
 
2232
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
 
2233
          { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
 
2234
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 
2235
          ac_cache_corrupted=:
 
2236
        else
 
2237
          { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 
2238
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
 
2239
          eval $ac_var=\$ac_old_val
 
2240
        fi
 
2241
        { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
 
2242
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
 
2243
        { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
 
2244
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2132
2245
      fi;;
2133
2246
  esac
2134
2247
  # Pass precious variables to config.status.
2135
2248
  if test "$ac_new_set" = set; then
2136
2249
    case $ac_new_val in
2137
 
    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
2250
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2138
2251
    *) ac_arg=$ac_var=$ac_new_val ;;
2139
2252
    esac
2140
2253
    case " $ac_configure_args " in
2144
2257
  fi
2145
2258
done
2146
2259
if $ac_cache_corrupted; then
2147
 
  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2148
 
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2149
 
  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2150
 
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
 
2260
  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
2261
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2262
  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
 
2263
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 
2264
  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
 
2265
$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2151
2266
   { (exit 1); exit 1; }; }
2152
2267
fi
2153
2268
 
2202
2317
  fi
2203
2318
done
2204
2319
if test -z "$ac_aux_dir"; then
2205
 
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in scripts \"$srcdir\"/scripts" >&5
2206
 
echo "$as_me: error: cannot find install-sh or install.sh in scripts \"$srcdir\"/scripts" >&2;}
 
2320
  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in scripts \"$srcdir\"/scripts" >&5
 
2321
$as_echo "$as_me: error: cannot find install-sh or install.sh in scripts \"$srcdir\"/scripts" >&2;}
2207
2322
   { (exit 1); exit 1; }; }
2208
2323
fi
2209
2324
 
2221
2336
 
2222
2337
GUTENPRINT_MAJOR_VERSION=5
2223
2338
GUTENPRINT_MINOR_VERSION=2
2224
 
GUTENPRINT_MICRO_VERSION=3
 
2339
GUTENPRINT_MICRO_VERSION=4
2225
2340
GUTENPRINT_EXTRA_VERSION=
2226
2341
GUTENPRINT_CURRENT_INTERFACE=2
2227
 
GUTENPRINT_INTERFACE_AGE=3
 
2342
GUTENPRINT_INTERFACE_AGE=5
2228
2343
GUTENPRINT_BINARY_AGE=0
2229
 
GUTENPRINT_VERSION=5.2.3
 
2344
GUTENPRINT_VERSION=5.2.4
2230
2345
GUTENPRINTUI2_CURRENT_INTERFACE=1
2231
2346
GUTENPRINTUI2_INTERFACE_AGE=0
2232
2347
GUTENPRINTUI2_BINARY_AGE=0
2273
2388
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2274
2389
# OS/2's system install, which has a completely different semantic
2275
2390
# ./install, which can be erroneously created by make from ./install.sh.
2276
 
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2277
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
 
2391
# Reject install programs that cannot install multiple files.
 
2392
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
2393
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2278
2394
if test -z "$INSTALL"; then
2279
2395
if test "${ac_cv_path_install+set}" = set; then
2280
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2396
  $as_echo_n "(cached) " >&6
2281
2397
else
2282
2398
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2283
2399
for as_dir in $PATH
2306
2422
            # program-specific install script used by HP pwplus--don't use.
2307
2423
            :
2308
2424
          else
2309
 
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2310
 
            break 3
 
2425
            rm -rf conftest.one conftest.two conftest.dir
 
2426
            echo one > conftest.one
 
2427
            echo two > conftest.two
 
2428
            mkdir conftest.dir
 
2429
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
 
2430
              test -s conftest.one && test -s conftest.two &&
 
2431
              test -s conftest.dir/conftest.one &&
 
2432
              test -s conftest.dir/conftest.two
 
2433
            then
 
2434
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
2435
              break 3
 
2436
            fi
2311
2437
          fi
2312
2438
        fi
2313
2439
      done
2314
2440
    done
2315
2441
    ;;
2316
2442
esac
 
2443
 
2317
2444
done
2318
2445
IFS=$as_save_IFS
2319
2446
 
 
2447
rm -rf conftest.one conftest.two conftest.dir
2320
2448
 
2321
2449
fi
2322
2450
  if test "${ac_cv_path_install+set}" = set; then
2329
2457
    INSTALL=$ac_install_sh
2330
2458
  fi
2331
2459
fi
2332
 
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
2333
 
echo "${ECHO_T}$INSTALL" >&6; }
 
2460
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
 
2461
$as_echo "$INSTALL" >&6; }
2334
2462
 
2335
2463
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2336
2464
# It thinks the first close brace ends the variable substitution.
2340
2468
 
2341
2469
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2342
2470
 
2343
 
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2344
 
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
 
2471
{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 
2472
$as_echo_n "checking whether build environment is sane... " >&6; }
2345
2473
# Just in case
2346
2474
sleep 1
2347
2475
echo timestamp > conftest.file
2364
2492
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2365
2493
      # broken ls alias from the environment.  This has actually
2366
2494
      # happened.  Such a system could not be considered "sane".
2367
 
      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
 
2495
      { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
2368
2496
alias in your environment" >&5
2369
 
echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
 
2497
$as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
2370
2498
alias in your environment" >&2;}
2371
2499
   { (exit 1); exit 1; }; }
2372
2500
   fi
2377
2505
   # Ok.
2378
2506
   :
2379
2507
else
2380
 
   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
 
2508
   { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2381
2509
Check your system clock" >&5
2382
 
echo "$as_me: error: newly created file is older than distributed files!
 
2510
$as_echo "$as_me: error: newly created file is older than distributed files!
2383
2511
Check your system clock" >&2;}
2384
2512
   { (exit 1); exit 1; }; }
2385
2513
fi
2386
 
{ echo "$as_me:$LINENO: result: yes" >&5
2387
 
echo "${ECHO_T}yes" >&6; }
 
2514
{ $as_echo "$as_me:$LINENO: result: yes" >&5
 
2515
$as_echo "yes" >&6; }
2388
2516
test "$program_prefix" != NONE &&
2389
2517
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2390
2518
# Use a double $ so make ignores it.
2391
2519
test "$program_suffix" != NONE &&
2392
2520
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2393
 
# Double any \ or $.  echo might interpret backslashes.
 
2521
# Double any \ or $.
2394
2522
# By default was `s,x,x', remove it if useless.
2395
 
cat <<\_ACEOF >conftest.sed
2396
 
s/[\\$]/&&/g;s/;s,x,x,$//
2397
 
_ACEOF
2398
 
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2399
 
rm -f conftest.sed
 
2523
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
 
2524
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2400
2525
 
2401
2526
# expand $ac_aux_dir to an absolute path
2402
2527
am_aux_dir=`cd $ac_aux_dir && pwd`
2407
2532
  am_missing_run="$MISSING --run "
2408
2533
else
2409
2534
  am_missing_run=
2410
 
  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2411
 
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
 
2535
  { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
 
2536
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2412
2537
fi
2413
2538
 
2414
 
{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2415
 
echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
 
2539
{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
 
2540
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2416
2541
if test -z "$MKDIR_P"; then
2417
2542
  if test "${ac_cv_path_mkdir+set}" = set; then
2418
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2543
  $as_echo_n "(cached) " >&6
2419
2544
else
2420
2545
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2421
2546
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2450
2575
    MKDIR_P="$ac_install_sh -d"
2451
2576
  fi
2452
2577
fi
2453
 
{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2454
 
echo "${ECHO_T}$MKDIR_P" >&6; }
 
2578
{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
 
2579
$as_echo "$MKDIR_P" >&6; }
2455
2580
 
2456
2581
mkdir_p="$MKDIR_P"
2457
2582
case $mkdir_p in
2463
2588
do
2464
2589
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2465
2590
set dummy $ac_prog; ac_word=$2
2466
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2467
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2591
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2592
$as_echo_n "checking for $ac_word... " >&6; }
2468
2593
if test "${ac_cv_prog_AWK+set}" = set; then
2469
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2594
  $as_echo_n "(cached) " >&6
2470
2595
else
2471
2596
  if test -n "$AWK"; then
2472
2597
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2479
2604
  for ac_exec_ext in '' $ac_executable_extensions; do
2480
2605
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2481
2606
    ac_cv_prog_AWK="$ac_prog"
2482
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2607
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2483
2608
    break 2
2484
2609
  fi
2485
2610
done
2490
2615
fi
2491
2616
AWK=$ac_cv_prog_AWK
2492
2617
if test -n "$AWK"; then
2493
 
  { echo "$as_me:$LINENO: result: $AWK" >&5
2494
 
echo "${ECHO_T}$AWK" >&6; }
 
2618
  { $as_echo "$as_me:$LINENO: result: $AWK" >&5
 
2619
$as_echo "$AWK" >&6; }
2495
2620
else
2496
 
  { echo "$as_me:$LINENO: result: no" >&5
2497
 
echo "${ECHO_T}no" >&6; }
 
2621
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2622
$as_echo "no" >&6; }
2498
2623
fi
2499
2624
 
2500
2625
 
2501
2626
  test -n "$AWK" && break
2502
2627
done
2503
2628
 
2504
 
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2505
 
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2506
 
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
2629
{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
2630
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 
2631
set x ${MAKE-make}
 
2632
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2507
2633
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2508
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2634
  $as_echo_n "(cached) " >&6
2509
2635
else
2510
2636
  cat >conftest.make <<\_ACEOF
2511
2637
SHELL = /bin/sh
2522
2648
rm -f conftest.make
2523
2649
fi
2524
2650
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2525
 
  { echo "$as_me:$LINENO: result: yes" >&5
2526
 
echo "${ECHO_T}yes" >&6; }
 
2651
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
2652
$as_echo "yes" >&6; }
2527
2653
  SET_MAKE=
2528
2654
else
2529
 
  { echo "$as_me:$LINENO: result: no" >&5
2530
 
echo "${ECHO_T}no" >&6; }
 
2655
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2656
$as_echo "no" >&6; }
2531
2657
  SET_MAKE="MAKE=${MAKE-make}"
2532
2658
fi
2533
2659
 
2546
2672
  am__isrc=' -I$(srcdir)'
2547
2673
  # test to see if srcdir already configured
2548
2674
  if test -f $srcdir/config.status; then
2549
 
    { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2550
 
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
 
2675
    { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
 
2676
$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2551
2677
   { (exit 1); exit 1; }; }
2552
2678
  fi
2553
2679
fi
2564
2690
 
2565
2691
# Define the identity of the package.
2566
2692
 PACKAGE='gutenprint'
2567
 
 VERSION='5.2.3'
 
2693
 VERSION='5.2.4'
2568
2694
 
2569
2695
 
2570
2696
cat >>confdefs.h <<_ACEOF
2602
2728
  if test -n "$ac_tool_prefix"; then
2603
2729
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2604
2730
set dummy ${ac_tool_prefix}strip; ac_word=$2
2605
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2606
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2731
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2732
$as_echo_n "checking for $ac_word... " >&6; }
2607
2733
if test "${ac_cv_prog_STRIP+set}" = set; then
2608
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2734
  $as_echo_n "(cached) " >&6
2609
2735
else
2610
2736
  if test -n "$STRIP"; then
2611
2737
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2618
2744
  for ac_exec_ext in '' $ac_executable_extensions; do
2619
2745
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2620
2746
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2621
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2747
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2622
2748
    break 2
2623
2749
  fi
2624
2750
done
2629
2755
fi
2630
2756
STRIP=$ac_cv_prog_STRIP
2631
2757
if test -n "$STRIP"; then
2632
 
  { echo "$as_me:$LINENO: result: $STRIP" >&5
2633
 
echo "${ECHO_T}$STRIP" >&6; }
 
2758
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
 
2759
$as_echo "$STRIP" >&6; }
2634
2760
else
2635
 
  { echo "$as_me:$LINENO: result: no" >&5
2636
 
echo "${ECHO_T}no" >&6; }
 
2761
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2762
$as_echo "no" >&6; }
2637
2763
fi
2638
2764
 
2639
2765
 
2642
2768
  ac_ct_STRIP=$STRIP
2643
2769
  # Extract the first word of "strip", so it can be a program name with args.
2644
2770
set dummy strip; ac_word=$2
2645
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2646
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2771
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2772
$as_echo_n "checking for $ac_word... " >&6; }
2647
2773
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2648
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2774
  $as_echo_n "(cached) " >&6
2649
2775
else
2650
2776
  if test -n "$ac_ct_STRIP"; then
2651
2777
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2658
2784
  for ac_exec_ext in '' $ac_executable_extensions; do
2659
2785
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2660
2786
    ac_cv_prog_ac_ct_STRIP="strip"
2661
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2787
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2662
2788
    break 2
2663
2789
  fi
2664
2790
done
2669
2795
fi
2670
2796
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2671
2797
if test -n "$ac_ct_STRIP"; then
2672
 
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2673
 
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
 
2798
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
2799
$as_echo "$ac_ct_STRIP" >&6; }
2674
2800
else
2675
 
  { echo "$as_me:$LINENO: result: no" >&5
2676
 
echo "${ECHO_T}no" >&6; }
 
2801
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2802
$as_echo "no" >&6; }
2677
2803
fi
2678
2804
 
2679
2805
  if test "x$ac_ct_STRIP" = x; then
2681
2807
  else
2682
2808
    case $cross_compiling:$ac_tool_warned in
2683
2809
yes:)
2684
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2685
 
whose name does not start with the host triplet.  If you think this
2686
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2687
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2688
 
whose name does not start with the host triplet.  If you think this
2689
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2810
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
2811
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2690
2812
ac_tool_warned=yes ;;
2691
2813
esac
2692
2814
    STRIP=$ac_ct_STRIP
2705
2827
AMTAR=${AMTAR-"${am_missing_run}tar"}
2706
2828
 
2707
2829
 
2708
 
{ echo "$as_me:$LINENO: checking how to create a ustar tar archive" >&5
2709
 
echo $ECHO_N "checking how to create a ustar tar archive... $ECHO_C" >&6; }
 
2830
{ $as_echo "$as_me:$LINENO: checking how to create a ustar tar archive" >&5
 
2831
$as_echo_n "checking how to create a ustar tar archive... " >&6; }
2710
2832
# Loop over all known methods to create a tar archive until one works.
2711
2833
_am_tools='gnutar plaintar pax cpio none'
2712
2834
_am_tools=${am_cv_prog_tar_ustar-$_am_tools}
2779
2901
rm -rf conftest.dir
2780
2902
 
2781
2903
if test "${am_cv_prog_tar_ustar+set}" = set; then
2782
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2904
  $as_echo_n "(cached) " >&6
2783
2905
else
2784
2906
  am_cv_prog_tar_ustar=$_am_tool
2785
2907
fi
2786
2908
 
2787
 
{ echo "$as_me:$LINENO: result: $am_cv_prog_tar_ustar" >&5
2788
 
echo "${ECHO_T}$am_cv_prog_tar_ustar" >&6; }
 
2909
{ $as_echo "$as_me:$LINENO: result: $am_cv_prog_tar_ustar" >&5
 
2910
$as_echo "$am_cv_prog_tar_ustar" >&6; }
2789
2911
 
2790
2912
 
2791
2913
 
2806
2928
ac_config_headers="$ac_config_headers config.h"
2807
2929
 
2808
2930
 
2809
 
ALL_LINGUAS="cs da de el en_GB es fr hu it ja nb nl pl pt sk sv zh_TW"
2810
 
 
 
2931
ALL_LINGUAS="cs da de el en_GB es fr hu it ja nb nl pl pt ru sk sv zh_TW"
 
2932
 
 
2933
 
 
2934
enable_dlopen=yes
2811
2935
 
2812
2936
 
2813
2937
 
2837
2961
fi
2838
2962
 
2839
2963
 
 
2964
 
 
2965
 
 
2966
 
 
2967
 
 
2968
 
 
2969
 
 
2970
 
2840
2971
#AC_DISABLE_SHARED
2841
 
# Check whether --enable-shared was given.
2842
 
if test "${enable_shared+set}" = set; then
2843
 
  enableval=$enable_shared; p=${PACKAGE-default}
2844
 
    case $enableval in
2845
 
    yes) enable_shared=yes ;;
2846
 
    no) enable_shared=no ;;
2847
 
    *)
2848
 
      enable_shared=no
2849
 
      # Look at the argument we got.  We use all the common list separators.
2850
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
2851
 
      for pkg in $enableval; do
2852
 
        IFS="$lt_save_ifs"
2853
 
        if test "X$pkg" = "X$p"; then
2854
 
          enable_shared=yes
2855
 
        fi
2856
 
      done
2857
 
      IFS="$lt_save_ifs"
2858
 
      ;;
2859
 
    esac
2860
 
else
2861
 
  enable_shared=yes
2862
 
fi
2863
 
 
2864
 
 
2865
 
# Check whether --enable-fast-install was given.
2866
 
if test "${enable_fast_install+set}" = set; then
2867
 
  enableval=$enable_fast_install; p=${PACKAGE-default}
2868
 
    case $enableval in
2869
 
    yes) enable_fast_install=yes ;;
2870
 
    no) enable_fast_install=no ;;
2871
 
    *)
2872
 
      enable_fast_install=no
2873
 
      # Look at the argument we got.  We use all the common list separators.
2874
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
2875
 
      for pkg in $enableval; do
2876
 
        IFS="$lt_save_ifs"
2877
 
        if test "X$pkg" = "X$p"; then
2878
 
          enable_fast_install=yes
2879
 
        fi
2880
 
      done
2881
 
      IFS="$lt_save_ifs"
2882
 
      ;;
2883
 
    esac
2884
 
else
2885
 
  enable_fast_install=yes
2886
 
fi
2887
 
 
 
2972
case `pwd` in
 
2973
  *\ * | *\     *)
 
2974
    { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
 
2975
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
 
2976
esac
 
2977
 
 
2978
 
 
2979
 
 
2980
macro_version='2.2.6'
 
2981
macro_revision='1.3012'
 
2982
 
 
2983
 
 
2984
 
 
2985
 
 
2986
 
 
2987
 
 
2988
 
 
2989
 
 
2990
 
 
2991
 
 
2992
 
 
2993
 
 
2994
 
 
2995
ltmain="$ac_aux_dir/ltmain.sh"
2888
2996
 
2889
2997
# Make sure we can run config.sub.
2890
2998
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2891
 
  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2892
 
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
 
2999
  { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
 
3000
$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2893
3001
   { (exit 1); exit 1; }; }
2894
3002
 
2895
 
{ echo "$as_me:$LINENO: checking build system type" >&5
2896
 
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
 
3003
{ $as_echo "$as_me:$LINENO: checking build system type" >&5
 
3004
$as_echo_n "checking build system type... " >&6; }
2897
3005
if test "${ac_cv_build+set}" = set; then
2898
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3006
  $as_echo_n "(cached) " >&6
2899
3007
else
2900
3008
  ac_build_alias=$build_alias
2901
3009
test "x$ac_build_alias" = x &&
2902
3010
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2903
3011
test "x$ac_build_alias" = x &&
2904
 
  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2905
 
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
 
3012
  { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
 
3013
$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2906
3014
   { (exit 1); exit 1; }; }
2907
3015
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2908
 
  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2909
 
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
 
3016
  { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
 
3017
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2910
3018
   { (exit 1); exit 1; }; }
2911
3019
 
2912
3020
fi
2913
 
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2914
 
echo "${ECHO_T}$ac_cv_build" >&6; }
 
3021
{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
 
3022
$as_echo "$ac_cv_build" >&6; }
2915
3023
case $ac_cv_build in
2916
3024
*-*-*) ;;
2917
 
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2918
 
echo "$as_me: error: invalid value of canonical build" >&2;}
 
3025
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
 
3026
$as_echo "$as_me: error: invalid value of canonical build" >&2;}
2919
3027
   { (exit 1); exit 1; }; };;
2920
3028
esac
2921
3029
build=$ac_cv_build
2932
3040
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2933
3041
 
2934
3042
 
2935
 
{ echo "$as_me:$LINENO: checking host system type" >&5
2936
 
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
 
3043
{ $as_echo "$as_me:$LINENO: checking host system type" >&5
 
3044
$as_echo_n "checking host system type... " >&6; }
2937
3045
if test "${ac_cv_host+set}" = set; then
2938
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3046
  $as_echo_n "(cached) " >&6
2939
3047
else
2940
3048
  if test "x$host_alias" = x; then
2941
3049
  ac_cv_host=$ac_cv_build
2942
3050
else
2943
3051
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2944
 
    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2945
 
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
 
3052
    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
 
3053
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2946
3054
   { (exit 1); exit 1; }; }
2947
3055
fi
2948
3056
 
2949
3057
fi
2950
 
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2951
 
echo "${ECHO_T}$ac_cv_host" >&6; }
 
3058
{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
 
3059
$as_echo "$ac_cv_host" >&6; }
2952
3060
case $ac_cv_host in
2953
3061
*-*-*) ;;
2954
 
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2955
 
echo "$as_me: error: invalid value of canonical host" >&2;}
 
3062
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
 
3063
$as_echo "$as_me: error: invalid value of canonical host" >&2;}
2956
3064
   { (exit 1); exit 1; }; };;
2957
3065
esac
2958
3066
host=$ac_cv_host
2981
3089
.PHONY: am__doit
2982
3090
END
2983
3091
# If we don't find an include directive, just comment out the code.
2984
 
{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2985
 
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
 
3092
{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
 
3093
$as_echo_n "checking for style of include used by $am_make... " >&6; }
2986
3094
am__include="#"
2987
3095
am__quote=
2988
3096
_am_result=none
3009
3117
fi
3010
3118
 
3011
3119
 
3012
 
{ echo "$as_me:$LINENO: result: $_am_result" >&5
3013
 
echo "${ECHO_T}$_am_result" >&6; }
 
3120
{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
 
3121
$as_echo "$_am_result" >&6; }
3014
3122
rm -f confinc confmf
3015
3123
 
3016
3124
# Check whether --enable-dependency-tracking was given.
3039
3147
if test -n "$ac_tool_prefix"; then
3040
3148
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3041
3149
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3042
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3043
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
3150
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3151
$as_echo_n "checking for $ac_word... " >&6; }
3044
3152
if test "${ac_cv_prog_CC+set}" = set; then
3045
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3153
  $as_echo_n "(cached) " >&6
3046
3154
else
3047
3155
  if test -n "$CC"; then
3048
3156
  ac_cv_prog_CC="$CC" # Let the user override the test.
3055
3163
  for ac_exec_ext in '' $ac_executable_extensions; do
3056
3164
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3057
3165
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3058
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3166
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3059
3167
    break 2
3060
3168
  fi
3061
3169
done
3066
3174
fi
3067
3175
CC=$ac_cv_prog_CC
3068
3176
if test -n "$CC"; then
3069
 
  { echo "$as_me:$LINENO: result: $CC" >&5
3070
 
echo "${ECHO_T}$CC" >&6; }
 
3177
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3178
$as_echo "$CC" >&6; }
3071
3179
else
3072
 
  { echo "$as_me:$LINENO: result: no" >&5
3073
 
echo "${ECHO_T}no" >&6; }
 
3180
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3181
$as_echo "no" >&6; }
3074
3182
fi
3075
3183
 
3076
3184
 
3079
3187
  ac_ct_CC=$CC
3080
3188
  # Extract the first word of "gcc", so it can be a program name with args.
3081
3189
set dummy gcc; ac_word=$2
3082
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3083
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
3190
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3191
$as_echo_n "checking for $ac_word... " >&6; }
3084
3192
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3085
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3193
  $as_echo_n "(cached) " >&6
3086
3194
else
3087
3195
  if test -n "$ac_ct_CC"; then
3088
3196
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3095
3203
  for ac_exec_ext in '' $ac_executable_extensions; do
3096
3204
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3097
3205
    ac_cv_prog_ac_ct_CC="gcc"
3098
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3206
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3099
3207
    break 2
3100
3208
  fi
3101
3209
done
3106
3214
fi
3107
3215
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3108
3216
if test -n "$ac_ct_CC"; then
3109
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3110
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
 
3217
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
3218
$as_echo "$ac_ct_CC" >&6; }
3111
3219
else
3112
 
  { echo "$as_me:$LINENO: result: no" >&5
3113
 
echo "${ECHO_T}no" >&6; }
 
3220
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3221
$as_echo "no" >&6; }
3114
3222
fi
3115
3223
 
3116
3224
  if test "x$ac_ct_CC" = x; then
3118
3226
  else
3119
3227
    case $cross_compiling:$ac_tool_warned in
3120
3228
yes:)
3121
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3122
 
whose name does not start with the host triplet.  If you think this
3123
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
3124
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3125
 
whose name does not start with the host triplet.  If you think this
3126
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
3229
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
3230
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3127
3231
ac_tool_warned=yes ;;
3128
3232
esac
3129
3233
    CC=$ac_ct_CC
3136
3240
          if test -n "$ac_tool_prefix"; then
3137
3241
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3138
3242
set dummy ${ac_tool_prefix}cc; ac_word=$2
3139
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3140
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
3243
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3244
$as_echo_n "checking for $ac_word... " >&6; }
3141
3245
if test "${ac_cv_prog_CC+set}" = set; then
3142
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3246
  $as_echo_n "(cached) " >&6
3143
3247
else
3144
3248
  if test -n "$CC"; then
3145
3249
  ac_cv_prog_CC="$CC" # Let the user override the test.
3152
3256
  for ac_exec_ext in '' $ac_executable_extensions; do
3153
3257
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3154
3258
    ac_cv_prog_CC="${ac_tool_prefix}cc"
3155
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3259
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3156
3260
    break 2
3157
3261
  fi
3158
3262
done
3163
3267
fi
3164
3268
CC=$ac_cv_prog_CC
3165
3269
if test -n "$CC"; then
3166
 
  { echo "$as_me:$LINENO: result: $CC" >&5
3167
 
echo "${ECHO_T}$CC" >&6; }
 
3270
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3271
$as_echo "$CC" >&6; }
3168
3272
else
3169
 
  { echo "$as_me:$LINENO: result: no" >&5
3170
 
echo "${ECHO_T}no" >&6; }
 
3273
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3274
$as_echo "no" >&6; }
3171
3275
fi
3172
3276
 
3173
3277
 
3176
3280
if test -z "$CC"; then
3177
3281
  # Extract the first word of "cc", so it can be a program name with args.
3178
3282
set dummy cc; ac_word=$2
3179
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3180
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
3283
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3284
$as_echo_n "checking for $ac_word... " >&6; }
3181
3285
if test "${ac_cv_prog_CC+set}" = set; then
3182
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3286
  $as_echo_n "(cached) " >&6
3183
3287
else
3184
3288
  if test -n "$CC"; then
3185
3289
  ac_cv_prog_CC="$CC" # Let the user override the test.
3197
3301
       continue
3198
3302
     fi
3199
3303
    ac_cv_prog_CC="cc"
3200
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3304
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3201
3305
    break 2
3202
3306
  fi
3203
3307
done
3220
3324
fi
3221
3325
CC=$ac_cv_prog_CC
3222
3326
if test -n "$CC"; then
3223
 
  { echo "$as_me:$LINENO: result: $CC" >&5
3224
 
echo "${ECHO_T}$CC" >&6; }
 
3327
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3328
$as_echo "$CC" >&6; }
3225
3329
else
3226
 
  { echo "$as_me:$LINENO: result: no" >&5
3227
 
echo "${ECHO_T}no" >&6; }
 
3330
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3331
$as_echo "no" >&6; }
3228
3332
fi
3229
3333
 
3230
3334
 
3235
3339
  do
3236
3340
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3237
3341
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3238
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3239
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
3342
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3343
$as_echo_n "checking for $ac_word... " >&6; }
3240
3344
if test "${ac_cv_prog_CC+set}" = set; then
3241
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3345
  $as_echo_n "(cached) " >&6
3242
3346
else
3243
3347
  if test -n "$CC"; then
3244
3348
  ac_cv_prog_CC="$CC" # Let the user override the test.
3251
3355
  for ac_exec_ext in '' $ac_executable_extensions; do
3252
3356
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3253
3357
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3254
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3358
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3255
3359
    break 2
3256
3360
  fi
3257
3361
done
3262
3366
fi
3263
3367
CC=$ac_cv_prog_CC
3264
3368
if test -n "$CC"; then
3265
 
  { echo "$as_me:$LINENO: result: $CC" >&5
3266
 
echo "${ECHO_T}$CC" >&6; }
 
3369
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3370
$as_echo "$CC" >&6; }
3267
3371
else
3268
 
  { echo "$as_me:$LINENO: result: no" >&5
3269
 
echo "${ECHO_T}no" >&6; }
 
3372
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3373
$as_echo "no" >&6; }
3270
3374
fi
3271
3375
 
3272
3376
 
3279
3383
do
3280
3384
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3281
3385
set dummy $ac_prog; ac_word=$2
3282
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3283
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
3386
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3387
$as_echo_n "checking for $ac_word... " >&6; }
3284
3388
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3285
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3389
  $as_echo_n "(cached) " >&6
3286
3390
else
3287
3391
  if test -n "$ac_ct_CC"; then
3288
3392
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3295
3399
  for ac_exec_ext in '' $ac_executable_extensions; do
3296
3400
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3297
3401
    ac_cv_prog_ac_ct_CC="$ac_prog"
3298
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3402
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3299
3403
    break 2
3300
3404
  fi
3301
3405
done
3306
3410
fi
3307
3411
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3308
3412
if test -n "$ac_ct_CC"; then
3309
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3310
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
 
3413
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
3414
$as_echo "$ac_ct_CC" >&6; }
3311
3415
else
3312
 
  { echo "$as_me:$LINENO: result: no" >&5
3313
 
echo "${ECHO_T}no" >&6; }
 
3416
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3417
$as_echo "no" >&6; }
3314
3418
fi
3315
3419
 
3316
3420
 
3322
3426
  else
3323
3427
    case $cross_compiling:$ac_tool_warned in
3324
3428
yes:)
3325
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3326
 
whose name does not start with the host triplet.  If you think this
3327
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
3328
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3329
 
whose name does not start with the host triplet.  If you think this
3330
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
3429
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
3430
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3331
3431
ac_tool_warned=yes ;;
3332
3432
esac
3333
3433
    CC=$ac_ct_CC
3337
3437
fi
3338
3438
 
3339
3439
 
3340
 
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
 
3440
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3441
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3442
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3341
3443
See \`config.log' for more details." >&5
3342
 
echo "$as_me: error: no acceptable C compiler found in \$PATH
 
3444
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
3343
3445
See \`config.log' for more details." >&2;}
3344
 
   { (exit 1); exit 1; }; }
 
3446
   { (exit 1); exit 1; }; }; }
3345
3447
 
3346
3448
# Provide some information about the compiler.
3347
 
echo "$as_me:$LINENO: checking for C compiler version" >&5
3348
 
ac_compiler=`set X $ac_compile; echo $2`
 
3449
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
 
3450
set X $ac_compile
 
3451
ac_compiler=$2
3349
3452
{ (ac_try="$ac_compiler --version >&5"
3350
3453
case "(($ac_try" in
3351
3454
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3352
3455
  *) ac_try_echo=$ac_try;;
3353
3456
esac
3354
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3457
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3458
$as_echo "$ac_try_echo") >&5
3355
3459
  (eval "$ac_compiler --version >&5") 2>&5
3356
3460
  ac_status=$?
3357
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3461
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3358
3462
  (exit $ac_status); }
3359
3463
{ (ac_try="$ac_compiler -v >&5"
3360
3464
case "(($ac_try" in
3361
3465
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3362
3466
  *) ac_try_echo=$ac_try;;
3363
3467
esac
3364
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3468
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3469
$as_echo "$ac_try_echo") >&5
3365
3470
  (eval "$ac_compiler -v >&5") 2>&5
3366
3471
  ac_status=$?
3367
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3472
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3368
3473
  (exit $ac_status); }
3369
3474
{ (ac_try="$ac_compiler -V >&5"
3370
3475
case "(($ac_try" in
3371
3476
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3372
3477
  *) ac_try_echo=$ac_try;;
3373
3478
esac
3374
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3479
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3480
$as_echo "$ac_try_echo") >&5
3375
3481
  (eval "$ac_compiler -V >&5") 2>&5
3376
3482
  ac_status=$?
3377
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3483
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3378
3484
  (exit $ac_status); }
3379
3485
 
3380
3486
cat >conftest.$ac_ext <<_ACEOF
3393
3499
}
3394
3500
_ACEOF
3395
3501
ac_clean_files_save=$ac_clean_files
3396
 
ac_clean_files="$ac_clean_files a.out a.exe b.out"
 
3502
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3397
3503
# Try to create an executable without -o first, disregard a.out.
3398
3504
# It will help us diagnose broken compilers, and finding out an intuition
3399
3505
# of exeext.
3400
 
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3401
 
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
3402
 
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3403
 
#
3404
 
# List of possible output files, starting from the most likely.
3405
 
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
3406
 
# only as a last resort.  b.out is created by i960 compilers.
3407
 
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
3408
 
#
3409
 
# The IRIX 6 linker writes into existing files which may not be
3410
 
# executable, retaining their permissions.  Remove them first so a
3411
 
# subsequent execution test works.
 
3506
{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
 
3507
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
3508
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 
3509
 
 
3510
# The possible output files:
 
3511
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
 
3512
 
3412
3513
ac_rmfiles=
3413
3514
for ac_file in $ac_files
3414
3515
do
3415
3516
  case $ac_file in
3416
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 
3517
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3417
3518
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3418
3519
  esac
3419
3520
done
3424
3525
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3425
3526
  *) ac_try_echo=$ac_try;;
3426
3527
esac
3427
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3528
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3529
$as_echo "$ac_try_echo") >&5
3428
3530
  (eval "$ac_link_default") 2>&5
3429
3531
  ac_status=$?
3430
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3532
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3431
3533
  (exit $ac_status); }; then
3432
3534
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3433
3535
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3438
3540
do
3439
3541
  test -f "$ac_file" || continue
3440
3542
  case $ac_file in
3441
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
 
3543
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3442
3544
        ;;
3443
3545
    [ab].out )
3444
3546
        # We found the default executable, but exeext='' is most
3465
3567
  ac_file=''
3466
3568
fi
3467
3569
 
3468
 
{ echo "$as_me:$LINENO: result: $ac_file" >&5
3469
 
echo "${ECHO_T}$ac_file" >&6; }
 
3570
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
 
3571
$as_echo "$ac_file" >&6; }
3470
3572
if test -z "$ac_file"; then
3471
 
  echo "$as_me: failed program was:" >&5
 
3573
  $as_echo "$as_me: failed program was:" >&5
3472
3574
sed 's/^/| /' conftest.$ac_ext >&5
3473
3575
 
3474
 
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
 
3576
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3577
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3578
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
3475
3579
See \`config.log' for more details." >&5
3476
 
echo "$as_me: error: C compiler cannot create executables
 
3580
$as_echo "$as_me: error: C compiler cannot create executables
3477
3581
See \`config.log' for more details." >&2;}
3478
 
   { (exit 77); exit 77; }; }
 
3582
   { (exit 77); exit 77; }; }; }
3479
3583
fi
3480
3584
 
3481
3585
ac_exeext=$ac_cv_exeext
3482
3586
 
3483
3587
# Check that the compiler produces executables we can run.  If not, either
3484
3588
# the compiler is broken, or we cross compile.
3485
 
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3486
 
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
 
3589
{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
 
3590
$as_echo_n "checking whether the C compiler works... " >&6; }
3487
3591
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3488
3592
# If not cross compiling, check that we can run a simple program.
3489
3593
if test "$cross_compiling" != yes; then
3492
3596
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3493
3597
  *) ac_try_echo=$ac_try;;
3494
3598
esac
3495
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3599
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3600
$as_echo "$ac_try_echo") >&5
3496
3601
  (eval "$ac_try") 2>&5
3497
3602
  ac_status=$?
3498
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3603
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3499
3604
  (exit $ac_status); }; }; then
3500
3605
    cross_compiling=no
3501
3606
  else
3502
3607
    if test "$cross_compiling" = maybe; then
3503
3608
        cross_compiling=yes
3504
3609
    else
3505
 
        { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
 
3610
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3611
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3612
{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
3506
3613
If you meant to cross compile, use \`--host'.
3507
3614
See \`config.log' for more details." >&5
3508
 
echo "$as_me: error: cannot run C compiled programs.
 
3615
$as_echo "$as_me: error: cannot run C compiled programs.
3509
3616
If you meant to cross compile, use \`--host'.
3510
3617
See \`config.log' for more details." >&2;}
3511
 
   { (exit 1); exit 1; }; }
 
3618
   { (exit 1); exit 1; }; }; }
3512
3619
    fi
3513
3620
  fi
3514
3621
fi
3515
 
{ echo "$as_me:$LINENO: result: yes" >&5
3516
 
echo "${ECHO_T}yes" >&6; }
 
3622
{ $as_echo "$as_me:$LINENO: result: yes" >&5
 
3623
$as_echo "yes" >&6; }
3517
3624
 
3518
 
rm -f a.out a.exe conftest$ac_cv_exeext b.out
 
3625
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3519
3626
ac_clean_files=$ac_clean_files_save
3520
3627
# Check that the compiler produces executables we can run.  If not, either
3521
3628
# the compiler is broken, or we cross compile.
3522
 
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3523
 
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3524
 
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
3525
 
echo "${ECHO_T}$cross_compiling" >&6; }
 
3629
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
 
3630
$as_echo_n "checking whether we are cross compiling... " >&6; }
 
3631
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
 
3632
$as_echo "$cross_compiling" >&6; }
3526
3633
 
3527
 
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
3528
 
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
 
3634
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
 
3635
$as_echo_n "checking for suffix of executables... " >&6; }
3529
3636
if { (ac_try="$ac_link"
3530
3637
case "(($ac_try" in
3531
3638
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3532
3639
  *) ac_try_echo=$ac_try;;
3533
3640
esac
3534
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3641
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3642
$as_echo "$ac_try_echo") >&5
3535
3643
  (eval "$ac_link") 2>&5
3536
3644
  ac_status=$?
3537
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3645
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3538
3646
  (exit $ac_status); }; then
3539
3647
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3540
3648
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3543
3651
for ac_file in conftest.exe conftest conftest.*; do
3544
3652
  test -f "$ac_file" || continue
3545
3653
  case $ac_file in
3546
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 
3654
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3547
3655
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3548
3656
          break;;
3549
3657
    * ) break;;
3550
3658
  esac
3551
3659
done
3552
3660
else
3553
 
  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
 
3661
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3662
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3663
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3554
3664
See \`config.log' for more details." >&5
3555
 
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
 
3665
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3556
3666
See \`config.log' for more details." >&2;}
3557
 
   { (exit 1); exit 1; }; }
 
3667
   { (exit 1); exit 1; }; }; }
3558
3668
fi
3559
3669
 
3560
3670
rm -f conftest$ac_cv_exeext
3561
 
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3562
 
echo "${ECHO_T}$ac_cv_exeext" >&6; }
 
3671
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 
3672
$as_echo "$ac_cv_exeext" >&6; }
3563
3673
 
3564
3674
rm -f conftest.$ac_ext
3565
3675
EXEEXT=$ac_cv_exeext
3566
3676
ac_exeext=$EXEEXT
3567
 
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
3568
 
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
 
3677
{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
 
3678
$as_echo_n "checking for suffix of object files... " >&6; }
3569
3679
if test "${ac_cv_objext+set}" = set; then
3570
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3680
  $as_echo_n "(cached) " >&6
3571
3681
else
3572
3682
  cat >conftest.$ac_ext <<_ACEOF
3573
3683
/* confdefs.h.  */
3590
3700
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3591
3701
  *) ac_try_echo=$ac_try;;
3592
3702
esac
3593
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3703
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3704
$as_echo "$ac_try_echo") >&5
3594
3705
  (eval "$ac_compile") 2>&5
3595
3706
  ac_status=$?
3596
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3707
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3597
3708
  (exit $ac_status); }; then
3598
3709
  for ac_file in conftest.o conftest.obj conftest.*; do
3599
3710
  test -f "$ac_file" || continue;
3600
3711
  case $ac_file in
3601
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
 
3712
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3602
3713
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3603
3714
       break;;
3604
3715
  esac
3605
3716
done
3606
3717
else
3607
 
  echo "$as_me: failed program was:" >&5
 
3718
  $as_echo "$as_me: failed program was:" >&5
3608
3719
sed 's/^/| /' conftest.$ac_ext >&5
3609
3720
 
3610
 
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
 
3721
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3722
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3723
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3611
3724
See \`config.log' for more details." >&5
3612
 
echo "$as_me: error: cannot compute suffix of object files: cannot compile
 
3725
$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3613
3726
See \`config.log' for more details." >&2;}
3614
 
   { (exit 1); exit 1; }; }
 
3727
   { (exit 1); exit 1; }; }; }
3615
3728
fi
3616
3729
 
3617
3730
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3618
3731
fi
3619
 
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3620
 
echo "${ECHO_T}$ac_cv_objext" >&6; }
 
3732
{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 
3733
$as_echo "$ac_cv_objext" >&6; }
3621
3734
OBJEXT=$ac_cv_objext
3622
3735
ac_objext=$OBJEXT
3623
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3624
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
 
3736
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
3737
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3625
3738
if test "${ac_cv_c_compiler_gnu+set}" = set; then
3626
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3739
  $as_echo_n "(cached) " >&6
3627
3740
else
3628
3741
  cat >conftest.$ac_ext <<_ACEOF
3629
3742
/* confdefs.h.  */
3649
3762
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3650
3763
  *) ac_try_echo=$ac_try;;
3651
3764
esac
3652
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3765
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3766
$as_echo "$ac_try_echo") >&5
3653
3767
  (eval "$ac_compile") 2>conftest.er1
3654
3768
  ac_status=$?
3655
3769
  grep -v '^ *+' conftest.er1 >conftest.err
3656
3770
  rm -f conftest.er1
3657
3771
  cat conftest.err >&5
3658
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3772
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3659
3773
  (exit $ac_status); } && {
3660
3774
         test -z "$ac_c_werror_flag" ||
3661
3775
         test ! -s conftest.err
3662
3776
       } && test -s conftest.$ac_objext; then
3663
3777
  ac_compiler_gnu=yes
3664
3778
else
3665
 
  echo "$as_me: failed program was:" >&5
 
3779
  $as_echo "$as_me: failed program was:" >&5
3666
3780
sed 's/^/| /' conftest.$ac_ext >&5
3667
3781
 
3668
3782
        ac_compiler_gnu=no
3672
3786
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3673
3787
 
3674
3788
fi
3675
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3676
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3677
 
GCC=`test $ac_compiler_gnu = yes && echo yes`
 
3789
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
3790
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
 
3791
if test $ac_compiler_gnu = yes; then
 
3792
  GCC=yes
 
3793
else
 
3794
  GCC=
 
3795
fi
3678
3796
ac_test_CFLAGS=${CFLAGS+set}
3679
3797
ac_save_CFLAGS=$CFLAGS
3680
 
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3681
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
 
3798
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
3799
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3682
3800
if test "${ac_cv_prog_cc_g+set}" = set; then
3683
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3801
  $as_echo_n "(cached) " >&6
3684
3802
else
3685
3803
  ac_save_c_werror_flag=$ac_c_werror_flag
3686
3804
   ac_c_werror_flag=yes
3707
3825
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3708
3826
  *) ac_try_echo=$ac_try;;
3709
3827
esac
3710
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3828
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3829
$as_echo "$ac_try_echo") >&5
3711
3830
  (eval "$ac_compile") 2>conftest.er1
3712
3831
  ac_status=$?
3713
3832
  grep -v '^ *+' conftest.er1 >conftest.err
3714
3833
  rm -f conftest.er1
3715
3834
  cat conftest.err >&5
3716
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3835
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3717
3836
  (exit $ac_status); } && {
3718
3837
         test -z "$ac_c_werror_flag" ||
3719
3838
         test ! -s conftest.err
3720
3839
       } && test -s conftest.$ac_objext; then
3721
3840
  ac_cv_prog_cc_g=yes
3722
3841
else
3723
 
  echo "$as_me: failed program was:" >&5
 
3842
  $as_echo "$as_me: failed program was:" >&5
3724
3843
sed 's/^/| /' conftest.$ac_ext >&5
3725
3844
 
3726
3845
        CFLAGS=""
3745
3864
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3746
3865
  *) ac_try_echo=$ac_try;;
3747
3866
esac
3748
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3867
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3868
$as_echo "$ac_try_echo") >&5
3749
3869
  (eval "$ac_compile") 2>conftest.er1
3750
3870
  ac_status=$?
3751
3871
  grep -v '^ *+' conftest.er1 >conftest.err
3752
3872
  rm -f conftest.er1
3753
3873
  cat conftest.err >&5
3754
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3874
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3755
3875
  (exit $ac_status); } && {
3756
3876
         test -z "$ac_c_werror_flag" ||
3757
3877
         test ! -s conftest.err
3758
3878
       } && test -s conftest.$ac_objext; then
3759
3879
  :
3760
3880
else
3761
 
  echo "$as_me: failed program was:" >&5
 
3881
  $as_echo "$as_me: failed program was:" >&5
3762
3882
sed 's/^/| /' conftest.$ac_ext >&5
3763
3883
 
3764
3884
        ac_c_werror_flag=$ac_save_c_werror_flag
3784
3904
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3785
3905
  *) ac_try_echo=$ac_try;;
3786
3906
esac
3787
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3907
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3908
$as_echo "$ac_try_echo") >&5
3788
3909
  (eval "$ac_compile") 2>conftest.er1
3789
3910
  ac_status=$?
3790
3911
  grep -v '^ *+' conftest.er1 >conftest.err
3791
3912
  rm -f conftest.er1
3792
3913
  cat conftest.err >&5
3793
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3914
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3794
3915
  (exit $ac_status); } && {
3795
3916
         test -z "$ac_c_werror_flag" ||
3796
3917
         test ! -s conftest.err
3797
3918
       } && test -s conftest.$ac_objext; then
3798
3919
  ac_cv_prog_cc_g=yes
3799
3920
else
3800
 
  echo "$as_me: failed program was:" >&5
 
3921
  $as_echo "$as_me: failed program was:" >&5
3801
3922
sed 's/^/| /' conftest.$ac_ext >&5
3802
3923
 
3803
3924
 
3812
3933
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3813
3934
   ac_c_werror_flag=$ac_save_c_werror_flag
3814
3935
fi
3815
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3816
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
 
3936
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
3937
$as_echo "$ac_cv_prog_cc_g" >&6; }
3817
3938
if test "$ac_test_CFLAGS" = set; then
3818
3939
  CFLAGS=$ac_save_CFLAGS
3819
3940
elif test $ac_cv_prog_cc_g = yes; then
3829
3950
    CFLAGS=
3830
3951
  fi
3831
3952
fi
3832
 
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3833
 
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
 
3953
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
3954
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3834
3955
if test "${ac_cv_prog_cc_c89+set}" = set; then
3835
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3956
  $as_echo_n "(cached) " >&6
3836
3957
else
3837
3958
  ac_cv_prog_cc_c89=no
3838
3959
ac_save_CC=$CC
3903
4024
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3904
4025
  *) ac_try_echo=$ac_try;;
3905
4026
esac
3906
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4027
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4028
$as_echo "$ac_try_echo") >&5
3907
4029
  (eval "$ac_compile") 2>conftest.er1
3908
4030
  ac_status=$?
3909
4031
  grep -v '^ *+' conftest.er1 >conftest.err
3910
4032
  rm -f conftest.er1
3911
4033
  cat conftest.err >&5
3912
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4034
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3913
4035
  (exit $ac_status); } && {
3914
4036
         test -z "$ac_c_werror_flag" ||
3915
4037
         test ! -s conftest.err
3916
4038
       } && test -s conftest.$ac_objext; then
3917
4039
  ac_cv_prog_cc_c89=$ac_arg
3918
4040
else
3919
 
  echo "$as_me: failed program was:" >&5
 
4041
  $as_echo "$as_me: failed program was:" >&5
3920
4042
sed 's/^/| /' conftest.$ac_ext >&5
3921
4043
 
3922
4044
 
3932
4054
# AC_CACHE_VAL
3933
4055
case "x$ac_cv_prog_cc_c89" in
3934
4056
  x)
3935
 
    { echo "$as_me:$LINENO: result: none needed" >&5
3936
 
echo "${ECHO_T}none needed" >&6; } ;;
 
4057
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
 
4058
$as_echo "none needed" >&6; } ;;
3937
4059
  xno)
3938
 
    { echo "$as_me:$LINENO: result: unsupported" >&5
3939
 
echo "${ECHO_T}unsupported" >&6; } ;;
 
4060
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
 
4061
$as_echo "unsupported" >&6; } ;;
3940
4062
  *)
3941
4063
    CC="$CC $ac_cv_prog_cc_c89"
3942
 
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3943
 
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
 
4064
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
4065
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3944
4066
esac
3945
4067
 
3946
4068
 
3952
4074
 
3953
4075
depcc="$CC"   am_compiler_list=
3954
4076
 
3955
 
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3956
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
 
4077
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
4078
$as_echo_n "checking dependency style of $depcc... " >&6; }
3957
4079
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3958
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4080
  $as_echo_n "(cached) " >&6
3959
4081
else
3960
4082
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3961
4083
  # We make a subdir and do the tests there.  Otherwise we can end up
4043
4165
fi
4044
4166
 
4045
4167
fi
4046
 
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4047
 
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
 
4168
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
4169
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4048
4170
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4049
4171
 
4050
4172
 if
4058
4180
fi
4059
4181
 
4060
4182
 
4061
 
{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4062
 
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
4063
 
if test "${lt_cv_path_SED+set}" = set; then
4064
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4183
{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
 
4184
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
 
4185
if test "${ac_cv_path_SED+set}" = set; then
 
4186
  $as_echo_n "(cached) " >&6
4065
4187
else
4066
 
  # Loop through the user's path and test for sed and gsed.
4067
 
# Then use that list of sed's as ones to test for truncation.
4068
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4188
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
 
4189
     for ac_i in 1 2 3 4 5 6 7; do
 
4190
       ac_script="$ac_script$as_nl$ac_script"
 
4191
     done
 
4192
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
 
4193
     $as_unset ac_script || ac_script=
 
4194
     if test -z "$SED"; then
 
4195
  ac_path_SED_found=false
 
4196
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4197
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4069
4198
for as_dir in $PATH
4070
4199
do
4071
4200
  IFS=$as_save_IFS
4072
4201
  test -z "$as_dir" && as_dir=.
4073
 
  for lt_ac_prog in sed gsed; do
 
4202
  for ac_prog in sed gsed; do
4074
4203
    for ac_exec_ext in '' $ac_executable_extensions; do
4075
 
      if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
4076
 
        lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4077
 
      fi
 
4204
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
 
4205
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
 
4206
# Check for GNU ac_path_SED and select it if it is found.
 
4207
  # Check for GNU $ac_path_SED
 
4208
case `"$ac_path_SED" --version 2>&1` in
 
4209
*GNU*)
 
4210
  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
 
4211
*)
 
4212
  ac_count=0
 
4213
  $as_echo_n 0123456789 >"conftest.in"
 
4214
  while :
 
4215
  do
 
4216
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4217
    mv "conftest.tmp" "conftest.in"
 
4218
    cp "conftest.in" "conftest.nl"
 
4219
    $as_echo '' >> "conftest.nl"
 
4220
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4221
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4222
    ac_count=`expr $ac_count + 1`
 
4223
    if test $ac_count -gt ${ac_path_SED_max-0}; then
 
4224
      # Best one so far, save it but keep looking for a better one
 
4225
      ac_cv_path_SED="$ac_path_SED"
 
4226
      ac_path_SED_max=$ac_count
 
4227
    fi
 
4228
    # 10*(2^10) chars as input seems more than enough
 
4229
    test $ac_count -gt 10 && break
 
4230
  done
 
4231
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4232
esac
 
4233
 
 
4234
      $ac_path_SED_found && break 3
4078
4235
    done
4079
4236
  done
4080
4237
done
4081
4238
IFS=$as_save_IFS
4082
 
lt_ac_max=0
4083
 
lt_ac_count=0
4084
 
# Add /usr/xpg4/bin/sed as it is typically found on Solaris
4085
 
# along with /bin/sed that truncates output.
4086
 
for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
4087
 
  test ! -f $lt_ac_sed && continue
4088
 
  cat /dev/null > conftest.in
4089
 
  lt_ac_count=0
4090
 
  echo $ECHO_N "0123456789$ECHO_C" >conftest.in
4091
 
  # Check for GNU sed and select it if it is found.
4092
 
  if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
4093
 
    lt_cv_path_SED=$lt_ac_sed
4094
 
    break
 
4239
  if test -z "$ac_cv_path_SED"; then
 
4240
    { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
 
4241
$as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
 
4242
   { (exit 1); exit 1; }; }
4095
4243
  fi
4096
 
  while true; do
4097
 
    cat conftest.in conftest.in >conftest.tmp
4098
 
    mv conftest.tmp conftest.in
4099
 
    cp conftest.in conftest.nl
4100
 
    echo >>conftest.nl
4101
 
    $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
4102
 
    cmp -s conftest.out conftest.nl || break
4103
 
    # 10000 chars as input seems more than enough
4104
 
    test $lt_ac_count -gt 10 && break
4105
 
    lt_ac_count=`expr $lt_ac_count + 1`
4106
 
    if test $lt_ac_count -gt $lt_ac_max; then
4107
 
      lt_ac_max=$lt_ac_count
4108
 
      lt_cv_path_SED=$lt_ac_sed
4109
 
    fi
4110
 
  done
4111
 
done
4112
 
 
4113
 
fi
4114
 
 
4115
 
SED=$lt_cv_path_SED
4116
 
 
4117
 
{ echo "$as_me:$LINENO: result: $SED" >&5
4118
 
echo "${ECHO_T}$SED" >&6; }
4119
 
 
4120
 
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4121
 
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4122
 
if test "${ac_cv_path_GREP+set}" = set; then
4123
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4124
 
else
4125
 
  # Extract the first word of "grep ggrep" to use in msg output
4126
 
if test -z "$GREP"; then
4127
 
set dummy grep ggrep; ac_prog_name=$2
4128
 
if test "${ac_cv_path_GREP+set}" = set; then
4129
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4130
 
else
 
4244
else
 
4245
  ac_cv_path_SED=$SED
 
4246
fi
 
4247
 
 
4248
fi
 
4249
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
 
4250
$as_echo "$ac_cv_path_SED" >&6; }
 
4251
 SED="$ac_cv_path_SED"
 
4252
  rm -f conftest.sed
 
4253
 
 
4254
test -z "$SED" && SED=sed
 
4255
Xsed="$SED -e 1s/^X//"
 
4256
 
 
4257
 
 
4258
 
 
4259
 
 
4260
 
 
4261
 
 
4262
 
 
4263
 
 
4264
 
 
4265
 
 
4266
 
 
4267
{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
 
4268
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
 
4269
if test "${ac_cv_path_GREP+set}" = set; then
 
4270
  $as_echo_n "(cached) " >&6
 
4271
else
 
4272
  if test -z "$GREP"; then
4131
4273
  ac_path_GREP_found=false
4132
 
# Loop through the user's path and test for each of PROGNAME-LIST
4133
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4274
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4275
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4134
4276
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4135
4277
do
4136
4278
  IFS=$as_save_IFS
4137
4279
  test -z "$as_dir" && as_dir=.
4138
4280
  for ac_prog in grep ggrep; do
4139
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4140
 
    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4141
 
    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4142
 
    # Check for GNU ac_path_GREP and select it if it is found.
 
4281
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4282
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 
4283
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 
4284
# Check for GNU ac_path_GREP and select it if it is found.
4143
4285
  # Check for GNU $ac_path_GREP
4144
4286
case `"$ac_path_GREP" --version 2>&1` in
4145
4287
*GNU*)
4146
4288
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4147
4289
*)
4148
4290
  ac_count=0
4149
 
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
4291
  $as_echo_n 0123456789 >"conftest.in"
4150
4292
  while :
4151
4293
  do
4152
4294
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4153
4295
    mv "conftest.tmp" "conftest.in"
4154
4296
    cp "conftest.in" "conftest.nl"
4155
 
    echo 'GREP' >> "conftest.nl"
 
4297
    $as_echo 'GREP' >> "conftest.nl"
4156
4298
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4157
4299
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4158
4300
    ac_count=`expr $ac_count + 1`
4167
4309
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4168
4310
esac
4169
4311
 
4170
 
 
4171
 
    $ac_path_GREP_found && break 3
 
4312
      $ac_path_GREP_found && break 3
 
4313
    done
4172
4314
  done
4173
4315
done
4174
 
 
4175
 
done
4176
4316
IFS=$as_save_IFS
4177
 
 
4178
 
 
4179
 
fi
4180
 
 
4181
 
GREP="$ac_cv_path_GREP"
4182
 
if test -z "$GREP"; then
4183
 
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4184
 
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
4317
  if test -z "$ac_cv_path_GREP"; then
 
4318
    { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
4319
$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4185
4320
   { (exit 1); exit 1; }; }
4186
 
fi
4187
 
 
 
4321
  fi
4188
4322
else
4189
4323
  ac_cv_path_GREP=$GREP
4190
4324
fi
4191
4325
 
4192
 
 
4193
4326
fi
4194
 
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4195
 
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
 
4327
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
 
4328
$as_echo "$ac_cv_path_GREP" >&6; }
4196
4329
 GREP="$ac_cv_path_GREP"
4197
4330
 
4198
4331
 
4199
 
{ echo "$as_me:$LINENO: checking for egrep" >&5
4200
 
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
 
4332
{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
 
4333
$as_echo_n "checking for egrep... " >&6; }
4201
4334
if test "${ac_cv_path_EGREP+set}" = set; then
4202
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4335
  $as_echo_n "(cached) " >&6
4203
4336
else
4204
4337
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4205
4338
   then ac_cv_path_EGREP="$GREP -E"
4206
4339
   else
4207
 
     # Extract the first word of "egrep" to use in msg output
4208
 
if test -z "$EGREP"; then
4209
 
set dummy egrep; ac_prog_name=$2
4210
 
if test "${ac_cv_path_EGREP+set}" = set; then
4211
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4212
 
else
 
4340
     if test -z "$EGREP"; then
4213
4341
  ac_path_EGREP_found=false
4214
 
# Loop through the user's path and test for each of PROGNAME-LIST
4215
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4342
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4343
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4216
4344
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4217
4345
do
4218
4346
  IFS=$as_save_IFS
4219
4347
  test -z "$as_dir" && as_dir=.
4220
4348
  for ac_prog in egrep; do
4221
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4222
 
    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4223
 
    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4224
 
    # Check for GNU ac_path_EGREP and select it if it is found.
 
4349
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4350
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 
4351
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 
4352
# Check for GNU ac_path_EGREP and select it if it is found.
4225
4353
  # Check for GNU $ac_path_EGREP
4226
4354
case `"$ac_path_EGREP" --version 2>&1` in
4227
4355
*GNU*)
4228
4356
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4229
4357
*)
4230
4358
  ac_count=0
4231
 
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
4359
  $as_echo_n 0123456789 >"conftest.in"
4232
4360
  while :
4233
4361
  do
4234
4362
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4235
4363
    mv "conftest.tmp" "conftest.in"
4236
4364
    cp "conftest.in" "conftest.nl"
4237
 
    echo 'EGREP' >> "conftest.nl"
 
4365
    $as_echo 'EGREP' >> "conftest.nl"
4238
4366
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4239
4367
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4240
4368
    ac_count=`expr $ac_count + 1`
4249
4377
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4250
4378
esac
4251
4379
 
4252
 
 
4253
 
    $ac_path_EGREP_found && break 3
 
4380
      $ac_path_EGREP_found && break 3
 
4381
    done
4254
4382
  done
4255
4383
done
4256
 
 
4257
 
done
4258
4384
IFS=$as_save_IFS
4259
 
 
4260
 
 
4261
 
fi
4262
 
 
4263
 
EGREP="$ac_cv_path_EGREP"
4264
 
if test -z "$EGREP"; then
4265
 
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4266
 
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
4385
  if test -z "$ac_cv_path_EGREP"; then
 
4386
    { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
4387
$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4267
4388
   { (exit 1); exit 1; }; }
4268
 
fi
4269
 
 
 
4389
  fi
4270
4390
else
4271
4391
  ac_cv_path_EGREP=$EGREP
4272
4392
fi
4273
4393
 
4274
 
 
4275
4394
   fi
4276
4395
fi
4277
 
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4278
 
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
 
4396
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
 
4397
$as_echo "$ac_cv_path_EGREP" >&6; }
4279
4398
 EGREP="$ac_cv_path_EGREP"
4280
4399
 
4281
4400
 
 
4401
{ $as_echo "$as_me:$LINENO: checking for fgrep" >&5
 
4402
$as_echo_n "checking for fgrep... " >&6; }
 
4403
if test "${ac_cv_path_FGREP+set}" = set; then
 
4404
  $as_echo_n "(cached) " >&6
 
4405
else
 
4406
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
 
4407
   then ac_cv_path_FGREP="$GREP -F"
 
4408
   else
 
4409
     if test -z "$FGREP"; then
 
4410
  ac_path_FGREP_found=false
 
4411
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4412
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4413
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
4414
do
 
4415
  IFS=$as_save_IFS
 
4416
  test -z "$as_dir" && as_dir=.
 
4417
  for ac_prog in fgrep; do
 
4418
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4419
      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
 
4420
      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
 
4421
# Check for GNU ac_path_FGREP and select it if it is found.
 
4422
  # Check for GNU $ac_path_FGREP
 
4423
case `"$ac_path_FGREP" --version 2>&1` in
 
4424
*GNU*)
 
4425
  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
 
4426
*)
 
4427
  ac_count=0
 
4428
  $as_echo_n 0123456789 >"conftest.in"
 
4429
  while :
 
4430
  do
 
4431
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4432
    mv "conftest.tmp" "conftest.in"
 
4433
    cp "conftest.in" "conftest.nl"
 
4434
    $as_echo 'FGREP' >> "conftest.nl"
 
4435
    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4436
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4437
    ac_count=`expr $ac_count + 1`
 
4438
    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
 
4439
      # Best one so far, save it but keep looking for a better one
 
4440
      ac_cv_path_FGREP="$ac_path_FGREP"
 
4441
      ac_path_FGREP_max=$ac_count
 
4442
    fi
 
4443
    # 10*(2^10) chars as input seems more than enough
 
4444
    test $ac_count -gt 10 && break
 
4445
  done
 
4446
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4447
esac
 
4448
 
 
4449
      $ac_path_FGREP_found && break 3
 
4450
    done
 
4451
  done
 
4452
done
 
4453
IFS=$as_save_IFS
 
4454
  if test -z "$ac_cv_path_FGREP"; then
 
4455
    { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
4456
$as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
4457
   { (exit 1); exit 1; }; }
 
4458
  fi
 
4459
else
 
4460
  ac_cv_path_FGREP=$FGREP
 
4461
fi
 
4462
 
 
4463
   fi
 
4464
fi
 
4465
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
 
4466
$as_echo "$ac_cv_path_FGREP" >&6; }
 
4467
 FGREP="$ac_cv_path_FGREP"
 
4468
 
 
4469
 
 
4470
test -z "$GREP" && GREP=grep
 
4471
 
 
4472
 
 
4473
 
 
4474
 
 
4475
 
 
4476
 
 
4477
 
 
4478
 
 
4479
 
 
4480
 
 
4481
 
 
4482
 
 
4483
 
 
4484
 
 
4485
 
 
4486
 
 
4487
 
 
4488
 
4282
4489
 
4283
4490
# Check whether --with-gnu-ld was given.
4284
4491
if test "${with_gnu_ld+set}" = set; then
4290
4497
ac_prog=ld
4291
4498
if test "$GCC" = yes; then
4292
4499
  # Check if gcc -print-prog-name=ld gives a path.
4293
 
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4294
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
 
4500
  { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 
4501
$as_echo_n "checking for ld used by $CC... " >&6; }
4295
4502
  case $host in
4296
4503
  *-*-mingw*)
4297
4504
    # gcc leaves a trailing carriage return which upsets mingw
4304
4511
    [\\/]* | ?:[\\/]*)
4305
4512
      re_direlt='/[^/][^/]*/\.\./'
4306
4513
      # Canonicalize the pathname of ld
4307
 
      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
4308
 
      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
4309
 
        ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
 
4514
      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
 
4515
      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
 
4516
        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4310
4517
      done
4311
4518
      test -z "$LD" && LD="$ac_prog"
4312
4519
      ;;
4320
4527
    ;;
4321
4528
  esac
4322
4529
elif test "$with_gnu_ld" = yes; then
4323
 
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
4324
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
 
4530
  { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
 
4531
$as_echo_n "checking for GNU ld... " >&6; }
4325
4532
else
4326
 
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4327
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
 
4533
  { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
4534
$as_echo_n "checking for non-GNU ld... " >&6; }
4328
4535
fi
4329
4536
if test "${lt_cv_path_LD+set}" = set; then
4330
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4537
  $as_echo_n "(cached) " >&6
4331
4538
else
4332
4539
  if test -z "$LD"; then
4333
4540
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4357
4564
 
4358
4565
LD="$lt_cv_path_LD"
4359
4566
if test -n "$LD"; then
4360
 
  { echo "$as_me:$LINENO: result: $LD" >&5
4361
 
echo "${ECHO_T}$LD" >&6; }
 
4567
  { $as_echo "$as_me:$LINENO: result: $LD" >&5
 
4568
$as_echo "$LD" >&6; }
4362
4569
else
4363
 
  { echo "$as_me:$LINENO: result: no" >&5
4364
 
echo "${ECHO_T}no" >&6; }
 
4570
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4571
$as_echo "no" >&6; }
4365
4572
fi
4366
 
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4367
 
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
 
4573
test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
 
4574
$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4368
4575
   { (exit 1); exit 1; }; }
4369
 
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4370
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
 
4576
{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
4577
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4371
4578
if test "${lt_cv_prog_gnu_ld+set}" = set; then
4372
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4579
  $as_echo_n "(cached) " >&6
4373
4580
else
4374
4581
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
4375
4582
case `$LD -v 2>&1 </dev/null` in
4381
4588
  ;;
4382
4589
esac
4383
4590
fi
4384
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4385
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
 
4591
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
4592
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
4386
4593
with_gnu_ld=$lt_cv_prog_gnu_ld
4387
4594
 
4388
4595
 
4389
 
{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4390
 
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
4391
 
if test "${lt_cv_ld_reload_flag+set}" = set; then
4392
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4393
 
else
4394
 
  lt_cv_ld_reload_flag='-r'
4395
 
fi
4396
 
{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4397
 
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
4398
 
reload_flag=$lt_cv_ld_reload_flag
4399
 
case $reload_flag in
4400
 
"" | " "*) ;;
4401
 
*) reload_flag=" $reload_flag" ;;
4402
 
esac
4403
 
reload_cmds='$LD$reload_flag -o $output$reload_objs'
4404
 
case $host_os in
4405
 
  darwin*)
4406
 
    if test "$GCC" = yes; then
4407
 
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4408
 
    else
4409
 
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
4410
 
    fi
4411
 
    ;;
4412
 
esac
4413
 
 
4414
 
{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4415
 
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
 
4596
 
 
4597
 
 
4598
 
 
4599
 
 
4600
 
 
4601
 
 
4602
 
 
4603
{ $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
 
4604
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4416
4605
if test "${lt_cv_path_NM+set}" = set; then
4417
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4606
  $as_echo_n "(cached) " >&6
4418
4607
else
4419
4608
  if test -n "$NM"; then
4420
4609
  # Let the user override the test.
4457
4646
    done
4458
4647
    IFS="$lt_save_ifs"
4459
4648
  done
4460
 
  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4461
 
fi
4462
 
fi
4463
 
{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4464
 
echo "${ECHO_T}$lt_cv_path_NM" >&6; }
4465
 
NM="$lt_cv_path_NM"
4466
 
 
4467
 
{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
4468
 
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
 
4649
  : ${lt_cv_path_NM=no}
 
4650
fi
 
4651
fi
 
4652
{ $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
 
4653
$as_echo "$lt_cv_path_NM" >&6; }
 
4654
if test "$lt_cv_path_NM" != "no"; then
 
4655
  NM="$lt_cv_path_NM"
 
4656
else
 
4657
  # Didn't find any BSD compatible name lister, look for dumpbin.
 
4658
  if test -n "$ac_tool_prefix"; then
 
4659
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
4660
  do
 
4661
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
4662
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
4663
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4664
$as_echo_n "checking for $ac_word... " >&6; }
 
4665
if test "${ac_cv_prog_DUMPBIN+set}" = set; then
 
4666
  $as_echo_n "(cached) " >&6
 
4667
else
 
4668
  if test -n "$DUMPBIN"; then
 
4669
  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
 
4670
else
 
4671
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4672
for as_dir in $PATH
 
4673
do
 
4674
  IFS=$as_save_IFS
 
4675
  test -z "$as_dir" && as_dir=.
 
4676
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4677
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4678
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
 
4679
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4680
    break 2
 
4681
  fi
 
4682
done
 
4683
done
 
4684
IFS=$as_save_IFS
 
4685
 
 
4686
fi
 
4687
fi
 
4688
DUMPBIN=$ac_cv_prog_DUMPBIN
 
4689
if test -n "$DUMPBIN"; then
 
4690
  { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
 
4691
$as_echo "$DUMPBIN" >&6; }
 
4692
else
 
4693
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4694
$as_echo "no" >&6; }
 
4695
fi
 
4696
 
 
4697
 
 
4698
    test -n "$DUMPBIN" && break
 
4699
  done
 
4700
fi
 
4701
if test -z "$DUMPBIN"; then
 
4702
  ac_ct_DUMPBIN=$DUMPBIN
 
4703
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
4704
do
 
4705
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
4706
set dummy $ac_prog; ac_word=$2
 
4707
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4708
$as_echo_n "checking for $ac_word... " >&6; }
 
4709
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
 
4710
  $as_echo_n "(cached) " >&6
 
4711
else
 
4712
  if test -n "$ac_ct_DUMPBIN"; then
 
4713
  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
 
4714
else
 
4715
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4716
for as_dir in $PATH
 
4717
do
 
4718
  IFS=$as_save_IFS
 
4719
  test -z "$as_dir" && as_dir=.
 
4720
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4721
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4722
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
 
4723
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4724
    break 2
 
4725
  fi
 
4726
done
 
4727
done
 
4728
IFS=$as_save_IFS
 
4729
 
 
4730
fi
 
4731
fi
 
4732
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
 
4733
if test -n "$ac_ct_DUMPBIN"; then
 
4734
  { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
 
4735
$as_echo "$ac_ct_DUMPBIN" >&6; }
 
4736
else
 
4737
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4738
$as_echo "no" >&6; }
 
4739
fi
 
4740
 
 
4741
 
 
4742
  test -n "$ac_ct_DUMPBIN" && break
 
4743
done
 
4744
 
 
4745
  if test "x$ac_ct_DUMPBIN" = x; then
 
4746
    DUMPBIN=":"
 
4747
  else
 
4748
    case $cross_compiling:$ac_tool_warned in
 
4749
yes:)
 
4750
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
4751
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
4752
ac_tool_warned=yes ;;
 
4753
esac
 
4754
    DUMPBIN=$ac_ct_DUMPBIN
 
4755
  fi
 
4756
fi
 
4757
 
 
4758
 
 
4759
  if test "$DUMPBIN" != ":"; then
 
4760
    NM="$DUMPBIN"
 
4761
  fi
 
4762
fi
 
4763
test -z "$NM" && NM=nm
 
4764
 
 
4765
 
 
4766
 
 
4767
 
 
4768
 
 
4769
 
 
4770
{ $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
 
4771
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
 
4772
if test "${lt_cv_nm_interface+set}" = set; then
 
4773
  $as_echo_n "(cached) " >&6
 
4774
else
 
4775
  lt_cv_nm_interface="BSD nm"
 
4776
  echo "int some_variable = 0;" > conftest.$ac_ext
 
4777
  (eval echo "\"\$as_me:4777: $ac_compile\"" >&5)
 
4778
  (eval "$ac_compile" 2>conftest.err)
 
4779
  cat conftest.err >&5
 
4780
  (eval echo "\"\$as_me:4780: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
4781
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
 
4782
  cat conftest.err >&5
 
4783
  (eval echo "\"\$as_me:4783: output\"" >&5)
 
4784
  cat conftest.out >&5
 
4785
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
 
4786
    lt_cv_nm_interface="MS dumpbin"
 
4787
  fi
 
4788
  rm -f conftest*
 
4789
fi
 
4790
{ $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
 
4791
$as_echo "$lt_cv_nm_interface" >&6; }
 
4792
 
 
4793
{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
 
4794
$as_echo_n "checking whether ln -s works... " >&6; }
4469
4795
LN_S=$as_ln_s
4470
4796
if test "$LN_S" = "ln -s"; then
4471
 
  { echo "$as_me:$LINENO: result: yes" >&5
4472
 
echo "${ECHO_T}yes" >&6; }
4473
 
else
4474
 
  { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4475
 
echo "${ECHO_T}no, using $LN_S" >&6; }
4476
 
fi
4477
 
 
4478
 
{ echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
4479
 
echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
 
4797
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
4798
$as_echo "yes" >&6; }
 
4799
else
 
4800
  { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
 
4801
$as_echo "no, using $LN_S" >&6; }
 
4802
fi
 
4803
 
 
4804
# find the maximum length of command line arguments
 
4805
{ $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
 
4806
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
 
4807
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
 
4808
  $as_echo_n "(cached) " >&6
 
4809
else
 
4810
    i=0
 
4811
  teststring="ABCD"
 
4812
 
 
4813
  case $build_os in
 
4814
  msdosdjgpp*)
 
4815
    # On DJGPP, this test can blow up pretty badly due to problems in libc
 
4816
    # (any single argument exceeding 2000 bytes causes a buffer overrun
 
4817
    # during glob expansion).  Even if it were fixed, the result of this
 
4818
    # check would be larger than it should be.
 
4819
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
 
4820
    ;;
 
4821
 
 
4822
  gnu*)
 
4823
    # Under GNU Hurd, this test is not required because there is
 
4824
    # no limit to the length of command line arguments.
 
4825
    # Libtool will interpret -1 as no limit whatsoever
 
4826
    lt_cv_sys_max_cmd_len=-1;
 
4827
    ;;
 
4828
 
 
4829
  cygwin* | mingw* | cegcc*)
 
4830
    # On Win9x/ME, this test blows up -- it succeeds, but takes
 
4831
    # about 5 minutes as the teststring grows exponentially.
 
4832
    # Worse, since 9x/ME are not pre-emptively multitasking,
 
4833
    # you end up with a "frozen" computer, even though with patience
 
4834
    # the test eventually succeeds (with a max line length of 256k).
 
4835
    # Instead, let's just punt: use the minimum linelength reported by
 
4836
    # all of the supported platforms: 8192 (on NT/2K/XP).
 
4837
    lt_cv_sys_max_cmd_len=8192;
 
4838
    ;;
 
4839
 
 
4840
  amigaos*)
 
4841
    # On AmigaOS with pdksh, this test takes hours, literally.
 
4842
    # So we just punt and use a minimum line length of 8192.
 
4843
    lt_cv_sys_max_cmd_len=8192;
 
4844
    ;;
 
4845
 
 
4846
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
 
4847
    # This has been around since 386BSD, at least.  Likely further.
 
4848
    if test -x /sbin/sysctl; then
 
4849
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
 
4850
    elif test -x /usr/sbin/sysctl; then
 
4851
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
 
4852
    else
 
4853
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
 
4854
    fi
 
4855
    # And add a safety zone
 
4856
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
4857
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
4858
    ;;
 
4859
 
 
4860
  interix*)
 
4861
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
 
4862
    lt_cv_sys_max_cmd_len=196608
 
4863
    ;;
 
4864
 
 
4865
  osf*)
 
4866
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
 
4867
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
 
4868
    # nice to cause kernel panics so lets avoid the loop below.
 
4869
    # First set a reasonable default.
 
4870
    lt_cv_sys_max_cmd_len=16384
 
4871
    #
 
4872
    if test -x /sbin/sysconfig; then
 
4873
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
 
4874
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
 
4875
      esac
 
4876
    fi
 
4877
    ;;
 
4878
  sco3.2v5*)
 
4879
    lt_cv_sys_max_cmd_len=102400
 
4880
    ;;
 
4881
  sysv5* | sco5v6* | sysv4.2uw2*)
 
4882
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
 
4883
    if test -n "$kargmax"; then
 
4884
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
 
4885
    else
 
4886
      lt_cv_sys_max_cmd_len=32768
 
4887
    fi
 
4888
    ;;
 
4889
  *)
 
4890
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
 
4891
    if test -n "$lt_cv_sys_max_cmd_len"; then
 
4892
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
4893
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
4894
    else
 
4895
      # Make teststring a little bigger before we do anything with it.
 
4896
      # a 1K string should be a reasonable start.
 
4897
      for i in 1 2 3 4 5 6 7 8 ; do
 
4898
        teststring=$teststring$teststring
 
4899
      done
 
4900
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
 
4901
      # If test is not a shell built-in, we'll probably end up computing a
 
4902
      # maximum length that is only half of the actual maximum length, but
 
4903
      # we can't tell.
 
4904
      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
 
4905
                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
 
4906
              test $i != 17 # 1/2 MB should be enough
 
4907
      do
 
4908
        i=`expr $i + 1`
 
4909
        teststring=$teststring$teststring
 
4910
      done
 
4911
      # Only check the string length outside the loop.
 
4912
      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
 
4913
      teststring=
 
4914
      # Add a significant safety factor because C++ compilers can tack on
 
4915
      # massive amounts of additional arguments before passing them to the
 
4916
      # linker.  It appears as though 1/2 is a usable value.
 
4917
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 
4918
    fi
 
4919
    ;;
 
4920
  esac
 
4921
 
 
4922
fi
 
4923
 
 
4924
if test -n $lt_cv_sys_max_cmd_len ; then
 
4925
  { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
 
4926
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
 
4927
else
 
4928
  { $as_echo "$as_me:$LINENO: result: none" >&5
 
4929
$as_echo "none" >&6; }
 
4930
fi
 
4931
max_cmd_len=$lt_cv_sys_max_cmd_len
 
4932
 
 
4933
 
 
4934
 
 
4935
 
 
4936
 
 
4937
 
 
4938
: ${CP="cp -f"}
 
4939
: ${MV="mv -f"}
 
4940
: ${RM="rm -f"}
 
4941
 
 
4942
{ $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
 
4943
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
 
4944
# Try some XSI features
 
4945
xsi_shell=no
 
4946
( _lt_dummy="a/b/c"
 
4947
  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
 
4948
      = c,a/b,, \
 
4949
    && eval 'test $(( 1 + 1 )) -eq 2 \
 
4950
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
 
4951
  && xsi_shell=yes
 
4952
{ $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5
 
4953
$as_echo "$xsi_shell" >&6; }
 
4954
 
 
4955
 
 
4956
{ $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
 
4957
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
 
4958
lt_shell_append=no
 
4959
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
 
4960
    >/dev/null 2>&1 \
 
4961
  && lt_shell_append=yes
 
4962
{ $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5
 
4963
$as_echo "$lt_shell_append" >&6; }
 
4964
 
 
4965
 
 
4966
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 
4967
  lt_unset=unset
 
4968
else
 
4969
  lt_unset=false
 
4970
fi
 
4971
 
 
4972
 
 
4973
 
 
4974
 
 
4975
 
 
4976
# test EBCDIC or ASCII
 
4977
case `echo X|tr X '\101'` in
 
4978
 A) # ASCII based system
 
4979
    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
 
4980
  lt_SP2NL='tr \040 \012'
 
4981
  lt_NL2SP='tr \015\012 \040\040'
 
4982
  ;;
 
4983
 *) # EBCDIC based system
 
4984
  lt_SP2NL='tr \100 \n'
 
4985
  lt_NL2SP='tr \r\n \100\100'
 
4986
  ;;
 
4987
esac
 
4988
 
 
4989
 
 
4990
 
 
4991
 
 
4992
 
 
4993
 
 
4994
 
 
4995
 
 
4996
 
 
4997
{ $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
 
4998
$as_echo_n "checking for $LD option to reload object files... " >&6; }
 
4999
if test "${lt_cv_ld_reload_flag+set}" = set; then
 
5000
  $as_echo_n "(cached) " >&6
 
5001
else
 
5002
  lt_cv_ld_reload_flag='-r'
 
5003
fi
 
5004
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
 
5005
$as_echo "$lt_cv_ld_reload_flag" >&6; }
 
5006
reload_flag=$lt_cv_ld_reload_flag
 
5007
case $reload_flag in
 
5008
"" | " "*) ;;
 
5009
*) reload_flag=" $reload_flag" ;;
 
5010
esac
 
5011
reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
5012
case $host_os in
 
5013
  darwin*)
 
5014
    if test "$GCC" = yes; then
 
5015
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
 
5016
    else
 
5017
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
5018
    fi
 
5019
    ;;
 
5020
esac
 
5021
 
 
5022
 
 
5023
 
 
5024
 
 
5025
 
 
5026
 
 
5027
 
 
5028
 
 
5029
 
 
5030
if test -n "$ac_tool_prefix"; then
 
5031
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
 
5032
set dummy ${ac_tool_prefix}objdump; ac_word=$2
 
5033
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5034
$as_echo_n "checking for $ac_word... " >&6; }
 
5035
if test "${ac_cv_prog_OBJDUMP+set}" = set; then
 
5036
  $as_echo_n "(cached) " >&6
 
5037
else
 
5038
  if test -n "$OBJDUMP"; then
 
5039
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
 
5040
else
 
5041
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5042
for as_dir in $PATH
 
5043
do
 
5044
  IFS=$as_save_IFS
 
5045
  test -z "$as_dir" && as_dir=.
 
5046
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5047
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5048
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
 
5049
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5050
    break 2
 
5051
  fi
 
5052
done
 
5053
done
 
5054
IFS=$as_save_IFS
 
5055
 
 
5056
fi
 
5057
fi
 
5058
OBJDUMP=$ac_cv_prog_OBJDUMP
 
5059
if test -n "$OBJDUMP"; then
 
5060
  { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
 
5061
$as_echo "$OBJDUMP" >&6; }
 
5062
else
 
5063
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5064
$as_echo "no" >&6; }
 
5065
fi
 
5066
 
 
5067
 
 
5068
fi
 
5069
if test -z "$ac_cv_prog_OBJDUMP"; then
 
5070
  ac_ct_OBJDUMP=$OBJDUMP
 
5071
  # Extract the first word of "objdump", so it can be a program name with args.
 
5072
set dummy objdump; ac_word=$2
 
5073
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5074
$as_echo_n "checking for $ac_word... " >&6; }
 
5075
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
 
5076
  $as_echo_n "(cached) " >&6
 
5077
else
 
5078
  if test -n "$ac_ct_OBJDUMP"; then
 
5079
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
 
5080
else
 
5081
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5082
for as_dir in $PATH
 
5083
do
 
5084
  IFS=$as_save_IFS
 
5085
  test -z "$as_dir" && as_dir=.
 
5086
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5087
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5088
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
 
5089
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5090
    break 2
 
5091
  fi
 
5092
done
 
5093
done
 
5094
IFS=$as_save_IFS
 
5095
 
 
5096
fi
 
5097
fi
 
5098
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
 
5099
if test -n "$ac_ct_OBJDUMP"; then
 
5100
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
 
5101
$as_echo "$ac_ct_OBJDUMP" >&6; }
 
5102
else
 
5103
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5104
$as_echo "no" >&6; }
 
5105
fi
 
5106
 
 
5107
  if test "x$ac_ct_OBJDUMP" = x; then
 
5108
    OBJDUMP="false"
 
5109
  else
 
5110
    case $cross_compiling:$ac_tool_warned in
 
5111
yes:)
 
5112
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
5113
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
5114
ac_tool_warned=yes ;;
 
5115
esac
 
5116
    OBJDUMP=$ac_ct_OBJDUMP
 
5117
  fi
 
5118
else
 
5119
  OBJDUMP="$ac_cv_prog_OBJDUMP"
 
5120
fi
 
5121
 
 
5122
test -z "$OBJDUMP" && OBJDUMP=objdump
 
5123
 
 
5124
 
 
5125
 
 
5126
 
 
5127
 
 
5128
 
 
5129
 
 
5130
 
 
5131
 
 
5132
{ $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
 
5133
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
4480
5134
if test "${lt_cv_deplibs_check_method+set}" = set; then
4481
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5135
  $as_echo_n "(cached) " >&6
4482
5136
else
4483
5137
  lt_cv_file_magic_cmd='$MAGIC_CMD'
4484
5138
lt_cv_file_magic_test_file=
4528
5182
  fi
4529
5183
  ;;
4530
5184
 
 
5185
cegcc)
 
5186
  # use the weaker test based on 'objdump'. See mingw*.
 
5187
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
 
5188
  lt_cv_file_magic_cmd='$OBJDUMP -f'
 
5189
  ;;
 
5190
 
4531
5191
darwin* | rhapsody*)
4532
5192
  lt_cv_deplibs_check_method=pass_all
4533
5193
  ;;
4534
5194
 
4535
5195
freebsd* | dragonfly*)
4536
 
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
 
5196
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4537
5197
    case $host_cpu in
4538
5198
    i*86 )
4539
5199
      # Not sure whether the presence of OpenBSD here was a mistake.
4591
5251
  ;;
4592
5252
 
4593
5253
netbsd*)
4594
 
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
 
5254
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4595
5255
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4596
5256
  else
4597
5257
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4604
5264
  lt_cv_file_magic_test_file=/usr/lib/libnls.so
4605
5265
  ;;
4606
5266
 
4607
 
nto-qnx*)
4608
 
  lt_cv_deplibs_check_method=unknown
 
5267
*nto* | *qnx*)
 
5268
  lt_cv_deplibs_check_method=pass_all
4609
5269
  ;;
4610
5270
 
4611
5271
openbsd*)
4612
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
5272
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4613
5273
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4614
5274
  else
4615
5275
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4628
5288
  lt_cv_deplibs_check_method=pass_all
4629
5289
  ;;
4630
5290
 
 
5291
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
5292
  lt_cv_deplibs_check_method=pass_all
 
5293
  ;;
 
5294
 
4631
5295
sysv4 | sysv4.3*)
4632
5296
  case $host_vendor in
4633
5297
  motorola)
4655
5319
  esac
4656
5320
  ;;
4657
5321
 
4658
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
5322
tpf*)
4659
5323
  lt_cv_deplibs_check_method=pass_all
4660
5324
  ;;
4661
5325
esac
4662
5326
 
4663
5327
fi
4664
 
{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4665
 
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
 
5328
{ $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
 
5329
$as_echo "$lt_cv_deplibs_check_method" >&6; }
4666
5330
file_magic_cmd=$lt_cv_file_magic_cmd
4667
5331
deplibs_check_method=$lt_cv_deplibs_check_method
4668
5332
test -z "$deplibs_check_method" && deplibs_check_method=unknown
4670
5334
 
4671
5335
 
4672
5336
 
 
5337
 
 
5338
 
 
5339
 
 
5340
 
 
5341
 
 
5342
 
 
5343
 
 
5344
 
 
5345
if test -n "$ac_tool_prefix"; then
 
5346
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
 
5347
set dummy ${ac_tool_prefix}ar; ac_word=$2
 
5348
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5349
$as_echo_n "checking for $ac_word... " >&6; }
 
5350
if test "${ac_cv_prog_AR+set}" = set; then
 
5351
  $as_echo_n "(cached) " >&6
 
5352
else
 
5353
  if test -n "$AR"; then
 
5354
  ac_cv_prog_AR="$AR" # Let the user override the test.
 
5355
else
 
5356
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5357
for as_dir in $PATH
 
5358
do
 
5359
  IFS=$as_save_IFS
 
5360
  test -z "$as_dir" && as_dir=.
 
5361
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5362
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5363
    ac_cv_prog_AR="${ac_tool_prefix}ar"
 
5364
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5365
    break 2
 
5366
  fi
 
5367
done
 
5368
done
 
5369
IFS=$as_save_IFS
 
5370
 
 
5371
fi
 
5372
fi
 
5373
AR=$ac_cv_prog_AR
 
5374
if test -n "$AR"; then
 
5375
  { $as_echo "$as_me:$LINENO: result: $AR" >&5
 
5376
$as_echo "$AR" >&6; }
 
5377
else
 
5378
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5379
$as_echo "no" >&6; }
 
5380
fi
 
5381
 
 
5382
 
 
5383
fi
 
5384
if test -z "$ac_cv_prog_AR"; then
 
5385
  ac_ct_AR=$AR
 
5386
  # Extract the first word of "ar", so it can be a program name with args.
 
5387
set dummy ar; ac_word=$2
 
5388
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5389
$as_echo_n "checking for $ac_word... " >&6; }
 
5390
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
 
5391
  $as_echo_n "(cached) " >&6
 
5392
else
 
5393
  if test -n "$ac_ct_AR"; then
 
5394
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
 
5395
else
 
5396
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5397
for as_dir in $PATH
 
5398
do
 
5399
  IFS=$as_save_IFS
 
5400
  test -z "$as_dir" && as_dir=.
 
5401
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5402
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5403
    ac_cv_prog_ac_ct_AR="ar"
 
5404
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5405
    break 2
 
5406
  fi
 
5407
done
 
5408
done
 
5409
IFS=$as_save_IFS
 
5410
 
 
5411
fi
 
5412
fi
 
5413
ac_ct_AR=$ac_cv_prog_ac_ct_AR
 
5414
if test -n "$ac_ct_AR"; then
 
5415
  { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
 
5416
$as_echo "$ac_ct_AR" >&6; }
 
5417
else
 
5418
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5419
$as_echo "no" >&6; }
 
5420
fi
 
5421
 
 
5422
  if test "x$ac_ct_AR" = x; then
 
5423
    AR="false"
 
5424
  else
 
5425
    case $cross_compiling:$ac_tool_warned in
 
5426
yes:)
 
5427
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
5428
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
5429
ac_tool_warned=yes ;;
 
5430
esac
 
5431
    AR=$ac_ct_AR
 
5432
  fi
 
5433
else
 
5434
  AR="$ac_cv_prog_AR"
 
5435
fi
 
5436
 
 
5437
test -z "$AR" && AR=ar
 
5438
test -z "$AR_FLAGS" && AR_FLAGS=cru
 
5439
 
 
5440
 
 
5441
 
 
5442
 
 
5443
 
 
5444
 
 
5445
 
 
5446
 
 
5447
 
 
5448
 
 
5449
 
 
5450
if test -n "$ac_tool_prefix"; then
 
5451
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
5452
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
5453
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5454
$as_echo_n "checking for $ac_word... " >&6; }
 
5455
if test "${ac_cv_prog_STRIP+set}" = set; then
 
5456
  $as_echo_n "(cached) " >&6
 
5457
else
 
5458
  if test -n "$STRIP"; then
 
5459
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
5460
else
 
5461
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5462
for as_dir in $PATH
 
5463
do
 
5464
  IFS=$as_save_IFS
 
5465
  test -z "$as_dir" && as_dir=.
 
5466
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5467
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5468
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
5469
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5470
    break 2
 
5471
  fi
 
5472
done
 
5473
done
 
5474
IFS=$as_save_IFS
 
5475
 
 
5476
fi
 
5477
fi
 
5478
STRIP=$ac_cv_prog_STRIP
 
5479
if test -n "$STRIP"; then
 
5480
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
 
5481
$as_echo "$STRIP" >&6; }
 
5482
else
 
5483
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5484
$as_echo "no" >&6; }
 
5485
fi
 
5486
 
 
5487
 
 
5488
fi
 
5489
if test -z "$ac_cv_prog_STRIP"; then
 
5490
  ac_ct_STRIP=$STRIP
 
5491
  # Extract the first word of "strip", so it can be a program name with args.
 
5492
set dummy strip; ac_word=$2
 
5493
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5494
$as_echo_n "checking for $ac_word... " >&6; }
 
5495
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
 
5496
  $as_echo_n "(cached) " >&6
 
5497
else
 
5498
  if test -n "$ac_ct_STRIP"; then
 
5499
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
5500
else
 
5501
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5502
for as_dir in $PATH
 
5503
do
 
5504
  IFS=$as_save_IFS
 
5505
  test -z "$as_dir" && as_dir=.
 
5506
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5507
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5508
    ac_cv_prog_ac_ct_STRIP="strip"
 
5509
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5510
    break 2
 
5511
  fi
 
5512
done
 
5513
done
 
5514
IFS=$as_save_IFS
 
5515
 
 
5516
fi
 
5517
fi
 
5518
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
5519
if test -n "$ac_ct_STRIP"; then
 
5520
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
5521
$as_echo "$ac_ct_STRIP" >&6; }
 
5522
else
 
5523
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5524
$as_echo "no" >&6; }
 
5525
fi
 
5526
 
 
5527
  if test "x$ac_ct_STRIP" = x; then
 
5528
    STRIP=":"
 
5529
  else
 
5530
    case $cross_compiling:$ac_tool_warned in
 
5531
yes:)
 
5532
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
5533
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
5534
ac_tool_warned=yes ;;
 
5535
esac
 
5536
    STRIP=$ac_ct_STRIP
 
5537
  fi
 
5538
else
 
5539
  STRIP="$ac_cv_prog_STRIP"
 
5540
fi
 
5541
 
 
5542
test -z "$STRIP" && STRIP=:
 
5543
 
 
5544
 
 
5545
 
 
5546
 
 
5547
 
 
5548
 
 
5549
if test -n "$ac_tool_prefix"; then
 
5550
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
 
5551
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 
5552
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5553
$as_echo_n "checking for $ac_word... " >&6; }
 
5554
if test "${ac_cv_prog_RANLIB+set}" = set; then
 
5555
  $as_echo_n "(cached) " >&6
 
5556
else
 
5557
  if test -n "$RANLIB"; then
 
5558
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
 
5559
else
 
5560
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5561
for as_dir in $PATH
 
5562
do
 
5563
  IFS=$as_save_IFS
 
5564
  test -z "$as_dir" && as_dir=.
 
5565
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5566
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5567
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
 
5568
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5569
    break 2
 
5570
  fi
 
5571
done
 
5572
done
 
5573
IFS=$as_save_IFS
 
5574
 
 
5575
fi
 
5576
fi
 
5577
RANLIB=$ac_cv_prog_RANLIB
 
5578
if test -n "$RANLIB"; then
 
5579
  { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
 
5580
$as_echo "$RANLIB" >&6; }
 
5581
else
 
5582
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5583
$as_echo "no" >&6; }
 
5584
fi
 
5585
 
 
5586
 
 
5587
fi
 
5588
if test -z "$ac_cv_prog_RANLIB"; then
 
5589
  ac_ct_RANLIB=$RANLIB
 
5590
  # Extract the first word of "ranlib", so it can be a program name with args.
 
5591
set dummy ranlib; ac_word=$2
 
5592
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5593
$as_echo_n "checking for $ac_word... " >&6; }
 
5594
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
 
5595
  $as_echo_n "(cached) " >&6
 
5596
else
 
5597
  if test -n "$ac_ct_RANLIB"; then
 
5598
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
 
5599
else
 
5600
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5601
for as_dir in $PATH
 
5602
do
 
5603
  IFS=$as_save_IFS
 
5604
  test -z "$as_dir" && as_dir=.
 
5605
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5606
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5607
    ac_cv_prog_ac_ct_RANLIB="ranlib"
 
5608
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5609
    break 2
 
5610
  fi
 
5611
done
 
5612
done
 
5613
IFS=$as_save_IFS
 
5614
 
 
5615
fi
 
5616
fi
 
5617
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
 
5618
if test -n "$ac_ct_RANLIB"; then
 
5619
  { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
 
5620
$as_echo "$ac_ct_RANLIB" >&6; }
 
5621
else
 
5622
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5623
$as_echo "no" >&6; }
 
5624
fi
 
5625
 
 
5626
  if test "x$ac_ct_RANLIB" = x; then
 
5627
    RANLIB=":"
 
5628
  else
 
5629
    case $cross_compiling:$ac_tool_warned in
 
5630
yes:)
 
5631
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
5632
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
5633
ac_tool_warned=yes ;;
 
5634
esac
 
5635
    RANLIB=$ac_ct_RANLIB
 
5636
  fi
 
5637
else
 
5638
  RANLIB="$ac_cv_prog_RANLIB"
 
5639
fi
 
5640
 
 
5641
test -z "$RANLIB" && RANLIB=:
 
5642
 
 
5643
 
 
5644
 
 
5645
 
 
5646
 
 
5647
 
 
5648
# Determine commands to create old-style static archives.
 
5649
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
 
5650
old_postinstall_cmds='chmod 644 $oldlib'
 
5651
old_postuninstall_cmds=
 
5652
 
 
5653
if test -n "$RANLIB"; then
 
5654
  case $host_os in
 
5655
  openbsd*)
 
5656
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
 
5657
    ;;
 
5658
  *)
 
5659
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
 
5660
    ;;
 
5661
  esac
 
5662
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
 
5663
fi
 
5664
 
 
5665
 
 
5666
 
 
5667
 
 
5668
 
 
5669
 
 
5670
 
 
5671
 
 
5672
 
 
5673
 
 
5674
 
 
5675
 
 
5676
 
 
5677
 
 
5678
 
 
5679
 
 
5680
 
 
5681
 
 
5682
 
 
5683
 
 
5684
 
 
5685
 
 
5686
 
 
5687
 
 
5688
 
 
5689
 
 
5690
 
 
5691
 
 
5692
 
 
5693
 
 
5694
 
 
5695
 
 
5696
 
 
5697
 
4673
5698
# If no C compiler was specified, use CC.
4674
5699
LTCC=${LTCC-"$CC"}
4675
5700
 
4680
5705
compiler=$CC
4681
5706
 
4682
5707
 
4683
 
# Check whether --enable-libtool-lock was given.
4684
 
if test "${enable_libtool_lock+set}" = set; then
4685
 
  enableval=$enable_libtool_lock;
4686
 
fi
4687
 
 
4688
 
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
4689
 
 
4690
 
# Some flags need to be propagated to the compiler or linker for good
4691
 
# libtool support.
4692
 
case $host in
4693
 
ia64-*-hpux*)
4694
 
  # Find out which ABI we are using.
4695
 
  echo 'int i;' > conftest.$ac_ext
4696
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4697
 
  (eval $ac_compile) 2>&5
4698
 
  ac_status=$?
4699
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4700
 
  (exit $ac_status); }; then
4701
 
    case `/usr/bin/file conftest.$ac_objext` in
4702
 
    *ELF-32*)
4703
 
      HPUX_IA64_MODE="32"
4704
 
      ;;
4705
 
    *ELF-64*)
4706
 
      HPUX_IA64_MODE="64"
4707
 
      ;;
4708
 
    esac
4709
 
  fi
4710
 
  rm -rf conftest*
4711
 
  ;;
4712
 
*-*-irix6*)
4713
 
  # Find out which ABI we are using.
4714
 
  echo '#line 4714 "configure"' > conftest.$ac_ext
4715
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4716
 
  (eval $ac_compile) 2>&5
4717
 
  ac_status=$?
4718
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4719
 
  (exit $ac_status); }; then
4720
 
   if test "$lt_cv_prog_gnu_ld" = yes; then
4721
 
    case `/usr/bin/file conftest.$ac_objext` in
4722
 
    *32-bit*)
4723
 
      LD="${LD-ld} -melf32bsmip"
4724
 
      ;;
4725
 
    *N32*)
4726
 
      LD="${LD-ld} -melf32bmipn32"
4727
 
      ;;
4728
 
    *64-bit*)
4729
 
      LD="${LD-ld} -melf64bmip"
4730
 
      ;;
4731
 
    esac
4732
 
   else
4733
 
    case `/usr/bin/file conftest.$ac_objext` in
4734
 
    *32-bit*)
4735
 
      LD="${LD-ld} -32"
4736
 
      ;;
4737
 
    *N32*)
4738
 
      LD="${LD-ld} -n32"
4739
 
      ;;
4740
 
    *64-bit*)
4741
 
      LD="${LD-ld} -64"
4742
 
      ;;
4743
 
    esac
4744
 
   fi
4745
 
  fi
4746
 
  rm -rf conftest*
4747
 
  ;;
4748
 
 
4749
 
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
4750
 
s390*-*linux*|sparc*-*linux*)
4751
 
  # Find out which ABI we are using.
4752
 
  echo 'int i;' > conftest.$ac_ext
4753
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4754
 
  (eval $ac_compile) 2>&5
4755
 
  ac_status=$?
4756
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4757
 
  (exit $ac_status); }; then
4758
 
    case `/usr/bin/file conftest.o` in
4759
 
    *32-bit*)
4760
 
      case $host in
4761
 
        x86_64-*kfreebsd*-gnu)
4762
 
          LD="${LD-ld} -m elf_i386_fbsd"
4763
 
          ;;
4764
 
        x86_64-*linux*)
4765
 
          LD="${LD-ld} -m elf_i386"
4766
 
          ;;
4767
 
        ppc64-*linux*|powerpc64-*linux*)
4768
 
          LD="${LD-ld} -m elf32ppclinux"
4769
 
          ;;
4770
 
        s390x-*linux*)
4771
 
          LD="${LD-ld} -m elf_s390"
4772
 
          ;;
4773
 
        sparc64-*linux*)
4774
 
          LD="${LD-ld} -m elf32_sparc"
4775
 
          ;;
4776
 
      esac
4777
 
      ;;
4778
 
    *64-bit*)
4779
 
      case $host in
4780
 
        x86_64-*kfreebsd*-gnu)
4781
 
          LD="${LD-ld} -m elf_x86_64_fbsd"
4782
 
          ;;
4783
 
        x86_64-*linux*)
4784
 
          LD="${LD-ld} -m elf_x86_64"
4785
 
          ;;
4786
 
        ppc*-*linux*|powerpc*-*linux*)
4787
 
          LD="${LD-ld} -m elf64ppc"
4788
 
          ;;
4789
 
        s390*-*linux*)
4790
 
          LD="${LD-ld} -m elf64_s390"
4791
 
          ;;
4792
 
        sparc*-*linux*)
4793
 
          LD="${LD-ld} -m elf64_sparc"
4794
 
          ;;
4795
 
      esac
4796
 
      ;;
4797
 
    esac
4798
 
  fi
4799
 
  rm -rf conftest*
4800
 
  ;;
4801
 
 
4802
 
*-*-sco3.2v5*)
4803
 
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4804
 
  SAVE_CFLAGS="$CFLAGS"
4805
 
  CFLAGS="$CFLAGS -belf"
4806
 
  { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4807
 
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
4808
 
if test "${lt_cv_cc_needs_belf+set}" = set; then
4809
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4810
 
else
4811
 
  ac_ext=c
4812
 
ac_cpp='$CPP $CPPFLAGS'
4813
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4814
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4815
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4816
 
 
4817
 
     cat >conftest.$ac_ext <<_ACEOF
4818
 
/* confdefs.h.  */
4819
 
_ACEOF
4820
 
cat confdefs.h >>conftest.$ac_ext
4821
 
cat >>conftest.$ac_ext <<_ACEOF
4822
 
/* end confdefs.h.  */
4823
 
 
4824
 
int
4825
 
main ()
4826
 
{
4827
 
 
4828
 
  ;
4829
 
  return 0;
4830
 
}
4831
 
_ACEOF
4832
 
rm -f conftest.$ac_objext conftest$ac_exeext
4833
 
if { (ac_try="$ac_link"
4834
 
case "(($ac_try" in
4835
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4836
 
  *) ac_try_echo=$ac_try;;
4837
 
esac
4838
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4839
 
  (eval "$ac_link") 2>conftest.er1
4840
 
  ac_status=$?
4841
 
  grep -v '^ *+' conftest.er1 >conftest.err
4842
 
  rm -f conftest.er1
4843
 
  cat conftest.err >&5
4844
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4845
 
  (exit $ac_status); } && {
4846
 
         test -z "$ac_c_werror_flag" ||
4847
 
         test ! -s conftest.err
4848
 
       } && test -s conftest$ac_exeext &&
4849
 
       $as_test_x conftest$ac_exeext; then
4850
 
  lt_cv_cc_needs_belf=yes
4851
 
else
4852
 
  echo "$as_me: failed program was:" >&5
4853
 
sed 's/^/| /' conftest.$ac_ext >&5
4854
 
 
4855
 
        lt_cv_cc_needs_belf=no
4856
 
fi
4857
 
 
4858
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4859
 
      conftest$ac_exeext conftest.$ac_ext
4860
 
     ac_ext=c
4861
 
ac_cpp='$CPP $CPPFLAGS'
4862
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4863
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4864
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4865
 
 
4866
 
fi
4867
 
{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4868
 
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
4869
 
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4870
 
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4871
 
    CFLAGS="$SAVE_CFLAGS"
4872
 
  fi
4873
 
  ;;
4874
 
sparc*-*solaris*)
4875
 
  # Find out which ABI we are using.
4876
 
  echo 'int i;' > conftest.$ac_ext
4877
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4878
 
  (eval $ac_compile) 2>&5
4879
 
  ac_status=$?
4880
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4881
 
  (exit $ac_status); }; then
4882
 
    case `/usr/bin/file conftest.o` in
4883
 
    *64-bit*)
4884
 
      case $lt_cv_prog_gnu_ld in
4885
 
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
4886
 
      *)
4887
 
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
4888
 
          LD="${LD-ld} -64"
4889
 
        fi
4890
 
        ;;
4891
 
      esac
4892
 
      ;;
4893
 
    esac
4894
 
  fi
4895
 
  rm -rf conftest*
4896
 
  ;;
4897
 
 
4898
 
 
4899
 
esac
4900
 
 
4901
 
need_locks="$enable_libtool_lock"
4902
 
 
4903
 
 
4904
 
ac_ext=c
4905
 
ac_cpp='$CPP $CPPFLAGS'
4906
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4907
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4908
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4909
 
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4910
 
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4911
 
# On Suns, sometimes $CPP names a directory.
4912
 
if test -n "$CPP" && test -d "$CPP"; then
4913
 
  CPP=
4914
 
fi
4915
 
if test -z "$CPP"; then
4916
 
  if test "${ac_cv_prog_CPP+set}" = set; then
4917
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4918
 
else
4919
 
      # Double quotes because CPP needs to be expanded
4920
 
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4921
 
    do
4922
 
      ac_preproc_ok=false
4923
 
for ac_c_preproc_warn_flag in '' yes
4924
 
do
4925
 
  # Use a header file that comes with gcc, so configuring glibc
4926
 
  # with a fresh cross-compiler works.
4927
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4928
 
  # <limits.h> exists even on freestanding compilers.
4929
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
4930
 
  # not just through cpp. "Syntax error" is here to catch this case.
4931
 
  cat >conftest.$ac_ext <<_ACEOF
4932
 
/* confdefs.h.  */
4933
 
_ACEOF
4934
 
cat confdefs.h >>conftest.$ac_ext
4935
 
cat >>conftest.$ac_ext <<_ACEOF
4936
 
/* end confdefs.h.  */
4937
 
#ifdef __STDC__
4938
 
# include <limits.h>
4939
 
#else
4940
 
# include <assert.h>
4941
 
#endif
4942
 
                     Syntax error
4943
 
_ACEOF
4944
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
4945
 
case "(($ac_try" in
4946
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4947
 
  *) ac_try_echo=$ac_try;;
4948
 
esac
4949
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4950
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4951
 
  ac_status=$?
4952
 
  grep -v '^ *+' conftest.er1 >conftest.err
4953
 
  rm -f conftest.er1
4954
 
  cat conftest.err >&5
4955
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4956
 
  (exit $ac_status); } >/dev/null && {
4957
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4958
 
         test ! -s conftest.err
4959
 
       }; then
4960
 
  :
4961
 
else
4962
 
  echo "$as_me: failed program was:" >&5
4963
 
sed 's/^/| /' conftest.$ac_ext >&5
4964
 
 
4965
 
  # Broken: fails on valid input.
4966
 
continue
4967
 
fi
4968
 
 
4969
 
rm -f conftest.err conftest.$ac_ext
4970
 
 
4971
 
  # OK, works on sane cases.  Now check whether nonexistent headers
4972
 
  # can be detected and how.
4973
 
  cat >conftest.$ac_ext <<_ACEOF
4974
 
/* confdefs.h.  */
4975
 
_ACEOF
4976
 
cat confdefs.h >>conftest.$ac_ext
4977
 
cat >>conftest.$ac_ext <<_ACEOF
4978
 
/* end confdefs.h.  */
4979
 
#include <ac_nonexistent.h>
4980
 
_ACEOF
4981
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
4982
 
case "(($ac_try" in
4983
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4984
 
  *) ac_try_echo=$ac_try;;
4985
 
esac
4986
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4987
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4988
 
  ac_status=$?
4989
 
  grep -v '^ *+' conftest.er1 >conftest.err
4990
 
  rm -f conftest.er1
4991
 
  cat conftest.err >&5
4992
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4993
 
  (exit $ac_status); } >/dev/null && {
4994
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4995
 
         test ! -s conftest.err
4996
 
       }; then
4997
 
  # Broken: success on invalid input.
4998
 
continue
4999
 
else
5000
 
  echo "$as_me: failed program was:" >&5
5001
 
sed 's/^/| /' conftest.$ac_ext >&5
5002
 
 
5003
 
  # Passes both tests.
5004
 
ac_preproc_ok=:
5005
 
break
5006
 
fi
5007
 
 
5008
 
rm -f conftest.err conftest.$ac_ext
5009
 
 
5010
 
done
5011
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5012
 
rm -f conftest.err conftest.$ac_ext
5013
 
if $ac_preproc_ok; then
5014
 
  break
5015
 
fi
5016
 
 
5017
 
    done
5018
 
    ac_cv_prog_CPP=$CPP
5019
 
 
5020
 
fi
5021
 
  CPP=$ac_cv_prog_CPP
5022
 
else
5023
 
  ac_cv_prog_CPP=$CPP
5024
 
fi
5025
 
{ echo "$as_me:$LINENO: result: $CPP" >&5
5026
 
echo "${ECHO_T}$CPP" >&6; }
5027
 
ac_preproc_ok=false
5028
 
for ac_c_preproc_warn_flag in '' yes
5029
 
do
5030
 
  # Use a header file that comes with gcc, so configuring glibc
5031
 
  # with a fresh cross-compiler works.
5032
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5033
 
  # <limits.h> exists even on freestanding compilers.
5034
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
5035
 
  # not just through cpp. "Syntax error" is here to catch this case.
5036
 
  cat >conftest.$ac_ext <<_ACEOF
5037
 
/* confdefs.h.  */
5038
 
_ACEOF
5039
 
cat confdefs.h >>conftest.$ac_ext
5040
 
cat >>conftest.$ac_ext <<_ACEOF
5041
 
/* end confdefs.h.  */
5042
 
#ifdef __STDC__
5043
 
# include <limits.h>
5044
 
#else
5045
 
# include <assert.h>
5046
 
#endif
5047
 
                     Syntax error
5048
 
_ACEOF
5049
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5050
 
case "(($ac_try" in
5051
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5052
 
  *) ac_try_echo=$ac_try;;
5053
 
esac
5054
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5055
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5056
 
  ac_status=$?
5057
 
  grep -v '^ *+' conftest.er1 >conftest.err
5058
 
  rm -f conftest.er1
5059
 
  cat conftest.err >&5
5060
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5061
 
  (exit $ac_status); } >/dev/null && {
5062
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5063
 
         test ! -s conftest.err
5064
 
       }; then
5065
 
  :
5066
 
else
5067
 
  echo "$as_me: failed program was:" >&5
5068
 
sed 's/^/| /' conftest.$ac_ext >&5
5069
 
 
5070
 
  # Broken: fails on valid input.
5071
 
continue
5072
 
fi
5073
 
 
5074
 
rm -f conftest.err conftest.$ac_ext
5075
 
 
5076
 
  # OK, works on sane cases.  Now check whether nonexistent headers
5077
 
  # can be detected and how.
5078
 
  cat >conftest.$ac_ext <<_ACEOF
5079
 
/* confdefs.h.  */
5080
 
_ACEOF
5081
 
cat confdefs.h >>conftest.$ac_ext
5082
 
cat >>conftest.$ac_ext <<_ACEOF
5083
 
/* end confdefs.h.  */
5084
 
#include <ac_nonexistent.h>
5085
 
_ACEOF
5086
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5087
 
case "(($ac_try" in
5088
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5089
 
  *) ac_try_echo=$ac_try;;
5090
 
esac
5091
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5092
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5093
 
  ac_status=$?
5094
 
  grep -v '^ *+' conftest.er1 >conftest.err
5095
 
  rm -f conftest.er1
5096
 
  cat conftest.err >&5
5097
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5098
 
  (exit $ac_status); } >/dev/null && {
5099
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5100
 
         test ! -s conftest.err
5101
 
       }; then
5102
 
  # Broken: success on invalid input.
5103
 
continue
5104
 
else
5105
 
  echo "$as_me: failed program was:" >&5
5106
 
sed 's/^/| /' conftest.$ac_ext >&5
5107
 
 
5108
 
  # Passes both tests.
5109
 
ac_preproc_ok=:
5110
 
break
5111
 
fi
5112
 
 
5113
 
rm -f conftest.err conftest.$ac_ext
5114
 
 
5115
 
done
5116
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5117
 
rm -f conftest.err conftest.$ac_ext
5118
 
if $ac_preproc_ok; then
5119
 
  :
5120
 
else
5121
 
  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5122
 
See \`config.log' for more details." >&5
5123
 
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5124
 
See \`config.log' for more details." >&2;}
5125
 
   { (exit 1); exit 1; }; }
5126
 
fi
5127
 
 
5128
 
ac_ext=c
5129
 
ac_cpp='$CPP $CPPFLAGS'
5130
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5131
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5132
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5133
 
 
5134
 
 
5135
 
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5136
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
5137
 
if test "${ac_cv_header_stdc+set}" = set; then
5138
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5139
 
else
5140
 
  cat >conftest.$ac_ext <<_ACEOF
5141
 
/* confdefs.h.  */
5142
 
_ACEOF
5143
 
cat confdefs.h >>conftest.$ac_ext
5144
 
cat >>conftest.$ac_ext <<_ACEOF
5145
 
/* end confdefs.h.  */
5146
 
#include <stdlib.h>
5147
 
#include <stdarg.h>
5148
 
#include <string.h>
5149
 
#include <float.h>
5150
 
 
5151
 
int
5152
 
main ()
5153
 
{
5154
 
 
5155
 
  ;
5156
 
  return 0;
5157
 
}
5158
 
_ACEOF
5159
 
rm -f conftest.$ac_objext
5160
 
if { (ac_try="$ac_compile"
5161
 
case "(($ac_try" in
5162
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5163
 
  *) ac_try_echo=$ac_try;;
5164
 
esac
5165
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5166
 
  (eval "$ac_compile") 2>conftest.er1
5167
 
  ac_status=$?
5168
 
  grep -v '^ *+' conftest.er1 >conftest.err
5169
 
  rm -f conftest.er1
5170
 
  cat conftest.err >&5
5171
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5172
 
  (exit $ac_status); } && {
5173
 
         test -z "$ac_c_werror_flag" ||
5174
 
         test ! -s conftest.err
5175
 
       } && test -s conftest.$ac_objext; then
5176
 
  ac_cv_header_stdc=yes
5177
 
else
5178
 
  echo "$as_me: failed program was:" >&5
5179
 
sed 's/^/| /' conftest.$ac_ext >&5
5180
 
 
5181
 
        ac_cv_header_stdc=no
5182
 
fi
5183
 
 
5184
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5185
 
 
5186
 
if test $ac_cv_header_stdc = yes; then
5187
 
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5188
 
  cat >conftest.$ac_ext <<_ACEOF
5189
 
/* confdefs.h.  */
5190
 
_ACEOF
5191
 
cat confdefs.h >>conftest.$ac_ext
5192
 
cat >>conftest.$ac_ext <<_ACEOF
5193
 
/* end confdefs.h.  */
5194
 
#include <string.h>
5195
 
 
5196
 
_ACEOF
5197
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5198
 
  $EGREP "memchr" >/dev/null 2>&1; then
5199
 
  :
5200
 
else
5201
 
  ac_cv_header_stdc=no
5202
 
fi
5203
 
rm -f conftest*
5204
 
 
5205
 
fi
5206
 
 
5207
 
if test $ac_cv_header_stdc = yes; then
5208
 
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5209
 
  cat >conftest.$ac_ext <<_ACEOF
5210
 
/* confdefs.h.  */
5211
 
_ACEOF
5212
 
cat confdefs.h >>conftest.$ac_ext
5213
 
cat >>conftest.$ac_ext <<_ACEOF
5214
 
/* end confdefs.h.  */
5215
 
#include <stdlib.h>
5216
 
 
5217
 
_ACEOF
5218
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5219
 
  $EGREP "free" >/dev/null 2>&1; then
5220
 
  :
5221
 
else
5222
 
  ac_cv_header_stdc=no
5223
 
fi
5224
 
rm -f conftest*
5225
 
 
5226
 
fi
5227
 
 
5228
 
if test $ac_cv_header_stdc = yes; then
5229
 
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5230
 
  if test "$cross_compiling" = yes; then
5231
 
  :
5232
 
else
5233
 
  cat >conftest.$ac_ext <<_ACEOF
5234
 
/* confdefs.h.  */
5235
 
_ACEOF
5236
 
cat confdefs.h >>conftest.$ac_ext
5237
 
cat >>conftest.$ac_ext <<_ACEOF
5238
 
/* end confdefs.h.  */
5239
 
#include <ctype.h>
5240
 
#include <stdlib.h>
5241
 
#if ((' ' & 0x0FF) == 0x020)
5242
 
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5243
 
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5244
 
#else
5245
 
# define ISLOWER(c) \
5246
 
                   (('a' <= (c) && (c) <= 'i') \
5247
 
                     || ('j' <= (c) && (c) <= 'r') \
5248
 
                     || ('s' <= (c) && (c) <= 'z'))
5249
 
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5250
 
#endif
5251
 
 
5252
 
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5253
 
int
5254
 
main ()
5255
 
{
5256
 
  int i;
5257
 
  for (i = 0; i < 256; i++)
5258
 
    if (XOR (islower (i), ISLOWER (i))
5259
 
        || toupper (i) != TOUPPER (i))
5260
 
      return 2;
5261
 
  return 0;
5262
 
}
5263
 
_ACEOF
5264
 
rm -f conftest$ac_exeext
5265
 
if { (ac_try="$ac_link"
5266
 
case "(($ac_try" in
5267
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5268
 
  *) ac_try_echo=$ac_try;;
5269
 
esac
5270
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5271
 
  (eval "$ac_link") 2>&5
5272
 
  ac_status=$?
5273
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5274
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5275
 
  { (case "(($ac_try" in
5276
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5277
 
  *) ac_try_echo=$ac_try;;
5278
 
esac
5279
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5280
 
  (eval "$ac_try") 2>&5
5281
 
  ac_status=$?
5282
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5283
 
  (exit $ac_status); }; }; then
5284
 
  :
5285
 
else
5286
 
  echo "$as_me: program exited with status $ac_status" >&5
5287
 
echo "$as_me: failed program was:" >&5
5288
 
sed 's/^/| /' conftest.$ac_ext >&5
5289
 
 
5290
 
( exit $ac_status )
5291
 
ac_cv_header_stdc=no
5292
 
fi
5293
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5294
 
fi
5295
 
 
5296
 
 
5297
 
fi
5298
 
fi
5299
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5300
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5301
 
if test $ac_cv_header_stdc = yes; then
5302
 
 
5303
 
cat >>confdefs.h <<\_ACEOF
5304
 
#define STDC_HEADERS 1
5305
 
_ACEOF
5306
 
 
5307
 
fi
5308
 
 
5309
 
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
5310
 
 
5311
 
 
5312
 
 
5313
 
 
5314
 
 
5315
 
 
5316
 
 
5317
 
 
5318
 
 
5319
 
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5320
 
                  inttypes.h stdint.h unistd.h
5321
 
do
5322
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5323
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
5324
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5325
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5326
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5327
 
else
5328
 
  cat >conftest.$ac_ext <<_ACEOF
5329
 
/* confdefs.h.  */
5330
 
_ACEOF
5331
 
cat confdefs.h >>conftest.$ac_ext
5332
 
cat >>conftest.$ac_ext <<_ACEOF
5333
 
/* end confdefs.h.  */
5334
 
$ac_includes_default
5335
 
 
5336
 
#include <$ac_header>
5337
 
_ACEOF
5338
 
rm -f conftest.$ac_objext
5339
 
if { (ac_try="$ac_compile"
5340
 
case "(($ac_try" in
5341
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5342
 
  *) ac_try_echo=$ac_try;;
5343
 
esac
5344
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5345
 
  (eval "$ac_compile") 2>conftest.er1
5346
 
  ac_status=$?
5347
 
  grep -v '^ *+' conftest.er1 >conftest.err
5348
 
  rm -f conftest.er1
5349
 
  cat conftest.err >&5
5350
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5351
 
  (exit $ac_status); } && {
5352
 
         test -z "$ac_c_werror_flag" ||
5353
 
         test ! -s conftest.err
5354
 
       } && test -s conftest.$ac_objext; then
5355
 
  eval "$as_ac_Header=yes"
5356
 
else
5357
 
  echo "$as_me: failed program was:" >&5
5358
 
sed 's/^/| /' conftest.$ac_ext >&5
5359
 
 
5360
 
        eval "$as_ac_Header=no"
5361
 
fi
5362
 
 
5363
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5364
 
fi
5365
 
ac_res=`eval echo '${'$as_ac_Header'}'`
5366
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
5367
 
echo "${ECHO_T}$ac_res" >&6; }
5368
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
5369
 
  cat >>confdefs.h <<_ACEOF
5370
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5371
 
_ACEOF
5372
 
 
5373
 
fi
5374
 
 
5375
 
done
5376
 
 
5377
 
 
5378
 
 
5379
 
for ac_header in dlfcn.h
5380
 
do
5381
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5382
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5383
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
5384
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5385
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5386
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5387
 
fi
5388
 
ac_res=`eval echo '${'$as_ac_Header'}'`
5389
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
5390
 
echo "${ECHO_T}$ac_res" >&6; }
5391
 
else
5392
 
  # Is the header compilable?
5393
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
5394
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5395
 
cat >conftest.$ac_ext <<_ACEOF
5396
 
/* confdefs.h.  */
5397
 
_ACEOF
5398
 
cat confdefs.h >>conftest.$ac_ext
5399
 
cat >>conftest.$ac_ext <<_ACEOF
5400
 
/* end confdefs.h.  */
5401
 
$ac_includes_default
5402
 
#include <$ac_header>
5403
 
_ACEOF
5404
 
rm -f conftest.$ac_objext
5405
 
if { (ac_try="$ac_compile"
5406
 
case "(($ac_try" in
5407
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5408
 
  *) ac_try_echo=$ac_try;;
5409
 
esac
5410
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5411
 
  (eval "$ac_compile") 2>conftest.er1
5412
 
  ac_status=$?
5413
 
  grep -v '^ *+' conftest.er1 >conftest.err
5414
 
  rm -f conftest.er1
5415
 
  cat conftest.err >&5
5416
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5417
 
  (exit $ac_status); } && {
5418
 
         test -z "$ac_c_werror_flag" ||
5419
 
         test ! -s conftest.err
5420
 
       } && test -s conftest.$ac_objext; then
5421
 
  ac_header_compiler=yes
5422
 
else
5423
 
  echo "$as_me: failed program was:" >&5
5424
 
sed 's/^/| /' conftest.$ac_ext >&5
5425
 
 
5426
 
        ac_header_compiler=no
5427
 
fi
5428
 
 
5429
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5430
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5431
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
5432
 
 
5433
 
# Is the header present?
5434
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
5435
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5436
 
cat >conftest.$ac_ext <<_ACEOF
5437
 
/* confdefs.h.  */
5438
 
_ACEOF
5439
 
cat confdefs.h >>conftest.$ac_ext
5440
 
cat >>conftest.$ac_ext <<_ACEOF
5441
 
/* end confdefs.h.  */
5442
 
#include <$ac_header>
5443
 
_ACEOF
5444
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5445
 
case "(($ac_try" in
5446
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5447
 
  *) ac_try_echo=$ac_try;;
5448
 
esac
5449
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5450
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5451
 
  ac_status=$?
5452
 
  grep -v '^ *+' conftest.er1 >conftest.err
5453
 
  rm -f conftest.er1
5454
 
  cat conftest.err >&5
5455
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5456
 
  (exit $ac_status); } >/dev/null && {
5457
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5458
 
         test ! -s conftest.err
5459
 
       }; then
5460
 
  ac_header_preproc=yes
5461
 
else
5462
 
  echo "$as_me: failed program was:" >&5
5463
 
sed 's/^/| /' conftest.$ac_ext >&5
5464
 
 
5465
 
  ac_header_preproc=no
5466
 
fi
5467
 
 
5468
 
rm -f conftest.err conftest.$ac_ext
5469
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5470
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
5471
 
 
5472
 
# So?  What about this header?
5473
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5474
 
  yes:no: )
5475
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5476
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5477
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5478
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5479
 
    ac_header_preproc=yes
5480
 
    ;;
5481
 
  no:yes:* )
5482
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5483
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5484
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5485
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5486
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5487
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5488
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5489
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5490
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5491
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5492
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5493
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5494
 
    ( cat <<\_ASBOX
5495
 
## ----------------------------------------------------- ##
5496
 
## Report this to gimp-print-devel@lists.sourceforge.net ##
5497
 
## ----------------------------------------------------- ##
5498
 
_ASBOX
5499
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
5500
 
    ;;
5501
 
esac
5502
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
5503
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5504
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5505
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5506
 
else
5507
 
  eval "$as_ac_Header=\$ac_header_preproc"
5508
 
fi
5509
 
ac_res=`eval echo '${'$as_ac_Header'}'`
5510
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
5511
 
echo "${ECHO_T}$ac_res" >&6; }
5512
 
 
5513
 
fi
5514
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
5515
 
  cat >>confdefs.h <<_ACEOF
5516
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5517
 
_ACEOF
5518
 
 
5519
 
fi
5520
 
 
5521
 
done
5522
 
 
5523
 
ac_ext=cpp
5524
 
ac_cpp='$CXXCPP $CPPFLAGS'
5525
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5526
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5527
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5528
 
if test -z "$CXX"; then
5529
 
  if test -n "$CCC"; then
5530
 
    CXX=$CCC
5531
 
  else
5532
 
    if test -n "$ac_tool_prefix"; then
5533
 
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5534
 
  do
5535
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5536
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5537
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5538
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5539
 
if test "${ac_cv_prog_CXX+set}" = set; then
5540
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5541
 
else
5542
 
  if test -n "$CXX"; then
5543
 
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
5544
 
else
5545
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5546
 
for as_dir in $PATH
5547
 
do
5548
 
  IFS=$as_save_IFS
5549
 
  test -z "$as_dir" && as_dir=.
5550
 
  for ac_exec_ext in '' $ac_executable_extensions; do
5551
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5552
 
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5553
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5554
 
    break 2
5555
 
  fi
5556
 
done
5557
 
done
5558
 
IFS=$as_save_IFS
5559
 
 
5560
 
fi
5561
 
fi
5562
 
CXX=$ac_cv_prog_CXX
5563
 
if test -n "$CXX"; then
5564
 
  { echo "$as_me:$LINENO: result: $CXX" >&5
5565
 
echo "${ECHO_T}$CXX" >&6; }
5566
 
else
5567
 
  { echo "$as_me:$LINENO: result: no" >&5
5568
 
echo "${ECHO_T}no" >&6; }
5569
 
fi
5570
 
 
5571
 
 
5572
 
    test -n "$CXX" && break
5573
 
  done
5574
 
fi
5575
 
if test -z "$CXX"; then
5576
 
  ac_ct_CXX=$CXX
5577
 
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5578
 
do
5579
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
5580
 
set dummy $ac_prog; ac_word=$2
5581
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5582
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5583
 
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
5584
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5585
 
else
5586
 
  if test -n "$ac_ct_CXX"; then
5587
 
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5588
 
else
5589
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5590
 
for as_dir in $PATH
5591
 
do
5592
 
  IFS=$as_save_IFS
5593
 
  test -z "$as_dir" && as_dir=.
5594
 
  for ac_exec_ext in '' $ac_executable_extensions; do
5595
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5596
 
    ac_cv_prog_ac_ct_CXX="$ac_prog"
5597
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5598
 
    break 2
5599
 
  fi
5600
 
done
5601
 
done
5602
 
IFS=$as_save_IFS
5603
 
 
5604
 
fi
5605
 
fi
5606
 
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5607
 
if test -n "$ac_ct_CXX"; then
5608
 
  { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
5609
 
echo "${ECHO_T}$ac_ct_CXX" >&6; }
5610
 
else
5611
 
  { echo "$as_me:$LINENO: result: no" >&5
5612
 
echo "${ECHO_T}no" >&6; }
5613
 
fi
5614
 
 
5615
 
 
5616
 
  test -n "$ac_ct_CXX" && break
5617
 
done
5618
 
 
5619
 
  if test "x$ac_ct_CXX" = x; then
5620
 
    CXX="g++"
5621
 
  else
5622
 
    case $cross_compiling:$ac_tool_warned in
5623
 
yes:)
5624
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5625
 
whose name does not start with the host triplet.  If you think this
5626
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
5627
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5628
 
whose name does not start with the host triplet.  If you think this
5629
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5630
 
ac_tool_warned=yes ;;
5631
 
esac
5632
 
    CXX=$ac_ct_CXX
5633
 
  fi
5634
 
fi
5635
 
 
5636
 
  fi
5637
 
fi
5638
 
# Provide some information about the compiler.
5639
 
echo "$as_me:$LINENO: checking for C++ compiler version" >&5
5640
 
ac_compiler=`set X $ac_compile; echo $2`
5641
 
{ (ac_try="$ac_compiler --version >&5"
5642
 
case "(($ac_try" in
5643
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5644
 
  *) ac_try_echo=$ac_try;;
5645
 
esac
5646
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5647
 
  (eval "$ac_compiler --version >&5") 2>&5
5648
 
  ac_status=$?
5649
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5650
 
  (exit $ac_status); }
5651
 
{ (ac_try="$ac_compiler -v >&5"
5652
 
case "(($ac_try" in
5653
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5654
 
  *) ac_try_echo=$ac_try;;
5655
 
esac
5656
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5657
 
  (eval "$ac_compiler -v >&5") 2>&5
5658
 
  ac_status=$?
5659
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5660
 
  (exit $ac_status); }
5661
 
{ (ac_try="$ac_compiler -V >&5"
5662
 
case "(($ac_try" in
5663
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5664
 
  *) ac_try_echo=$ac_try;;
5665
 
esac
5666
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5667
 
  (eval "$ac_compiler -V >&5") 2>&5
5668
 
  ac_status=$?
5669
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5670
 
  (exit $ac_status); }
5671
 
 
5672
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
5673
 
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
5674
 
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
5675
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5676
 
else
5677
 
  cat >conftest.$ac_ext <<_ACEOF
5678
 
/* confdefs.h.  */
5679
 
_ACEOF
5680
 
cat confdefs.h >>conftest.$ac_ext
5681
 
cat >>conftest.$ac_ext <<_ACEOF
5682
 
/* end confdefs.h.  */
5683
 
 
5684
 
int
5685
 
main ()
5686
 
{
5687
 
#ifndef __GNUC__
5688
 
       choke me
5689
 
#endif
5690
 
 
5691
 
  ;
5692
 
  return 0;
5693
 
}
5694
 
_ACEOF
5695
 
rm -f conftest.$ac_objext
5696
 
if { (ac_try="$ac_compile"
5697
 
case "(($ac_try" in
5698
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5699
 
  *) ac_try_echo=$ac_try;;
5700
 
esac
5701
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5702
 
  (eval "$ac_compile") 2>conftest.er1
5703
 
  ac_status=$?
5704
 
  grep -v '^ *+' conftest.er1 >conftest.err
5705
 
  rm -f conftest.er1
5706
 
  cat conftest.err >&5
5707
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5708
 
  (exit $ac_status); } && {
5709
 
         test -z "$ac_cxx_werror_flag" ||
5710
 
         test ! -s conftest.err
5711
 
       } && test -s conftest.$ac_objext; then
5712
 
  ac_compiler_gnu=yes
5713
 
else
5714
 
  echo "$as_me: failed program was:" >&5
5715
 
sed 's/^/| /' conftest.$ac_ext >&5
5716
 
 
5717
 
        ac_compiler_gnu=no
5718
 
fi
5719
 
 
5720
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5721
 
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5722
 
 
5723
 
fi
5724
 
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
5725
 
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
5726
 
GXX=`test $ac_compiler_gnu = yes && echo yes`
5727
 
ac_test_CXXFLAGS=${CXXFLAGS+set}
5728
 
ac_save_CXXFLAGS=$CXXFLAGS
5729
 
{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
5730
 
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
5731
 
if test "${ac_cv_prog_cxx_g+set}" = set; then
5732
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5733
 
else
5734
 
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5735
 
   ac_cxx_werror_flag=yes
5736
 
   ac_cv_prog_cxx_g=no
5737
 
   CXXFLAGS="-g"
5738
 
   cat >conftest.$ac_ext <<_ACEOF
5739
 
/* confdefs.h.  */
5740
 
_ACEOF
5741
 
cat confdefs.h >>conftest.$ac_ext
5742
 
cat >>conftest.$ac_ext <<_ACEOF
5743
 
/* end confdefs.h.  */
5744
 
 
5745
 
int
5746
 
main ()
5747
 
{
5748
 
 
5749
 
  ;
5750
 
  return 0;
5751
 
}
5752
 
_ACEOF
5753
 
rm -f conftest.$ac_objext
5754
 
if { (ac_try="$ac_compile"
5755
 
case "(($ac_try" in
5756
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5757
 
  *) ac_try_echo=$ac_try;;
5758
 
esac
5759
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5760
 
  (eval "$ac_compile") 2>conftest.er1
5761
 
  ac_status=$?
5762
 
  grep -v '^ *+' conftest.er1 >conftest.err
5763
 
  rm -f conftest.er1
5764
 
  cat conftest.err >&5
5765
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5766
 
  (exit $ac_status); } && {
5767
 
         test -z "$ac_cxx_werror_flag" ||
5768
 
         test ! -s conftest.err
5769
 
       } && test -s conftest.$ac_objext; then
5770
 
  ac_cv_prog_cxx_g=yes
5771
 
else
5772
 
  echo "$as_me: failed program was:" >&5
5773
 
sed 's/^/| /' conftest.$ac_ext >&5
5774
 
 
5775
 
        CXXFLAGS=""
5776
 
      cat >conftest.$ac_ext <<_ACEOF
5777
 
/* confdefs.h.  */
5778
 
_ACEOF
5779
 
cat confdefs.h >>conftest.$ac_ext
5780
 
cat >>conftest.$ac_ext <<_ACEOF
5781
 
/* end confdefs.h.  */
5782
 
 
5783
 
int
5784
 
main ()
5785
 
{
5786
 
 
5787
 
  ;
5788
 
  return 0;
5789
 
}
5790
 
_ACEOF
5791
 
rm -f conftest.$ac_objext
5792
 
if { (ac_try="$ac_compile"
5793
 
case "(($ac_try" in
5794
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5795
 
  *) ac_try_echo=$ac_try;;
5796
 
esac
5797
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5798
 
  (eval "$ac_compile") 2>conftest.er1
5799
 
  ac_status=$?
5800
 
  grep -v '^ *+' conftest.er1 >conftest.err
5801
 
  rm -f conftest.er1
5802
 
  cat conftest.err >&5
5803
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5804
 
  (exit $ac_status); } && {
5805
 
         test -z "$ac_cxx_werror_flag" ||
5806
 
         test ! -s conftest.err
5807
 
       } && test -s conftest.$ac_objext; then
5808
 
  :
5809
 
else
5810
 
  echo "$as_me: failed program was:" >&5
5811
 
sed 's/^/| /' conftest.$ac_ext >&5
5812
 
 
5813
 
        ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5814
 
         CXXFLAGS="-g"
5815
 
         cat >conftest.$ac_ext <<_ACEOF
5816
 
/* confdefs.h.  */
5817
 
_ACEOF
5818
 
cat confdefs.h >>conftest.$ac_ext
5819
 
cat >>conftest.$ac_ext <<_ACEOF
5820
 
/* end confdefs.h.  */
5821
 
 
5822
 
int
5823
 
main ()
5824
 
{
5825
 
 
5826
 
  ;
5827
 
  return 0;
5828
 
}
5829
 
_ACEOF
5830
 
rm -f conftest.$ac_objext
5831
 
if { (ac_try="$ac_compile"
5832
 
case "(($ac_try" in
5833
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5834
 
  *) ac_try_echo=$ac_try;;
5835
 
esac
5836
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5837
 
  (eval "$ac_compile") 2>conftest.er1
5838
 
  ac_status=$?
5839
 
  grep -v '^ *+' conftest.er1 >conftest.err
5840
 
  rm -f conftest.er1
5841
 
  cat conftest.err >&5
5842
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5843
 
  (exit $ac_status); } && {
5844
 
         test -z "$ac_cxx_werror_flag" ||
5845
 
         test ! -s conftest.err
5846
 
       } && test -s conftest.$ac_objext; then
5847
 
  ac_cv_prog_cxx_g=yes
5848
 
else
5849
 
  echo "$as_me: failed program was:" >&5
5850
 
sed 's/^/| /' conftest.$ac_ext >&5
5851
 
 
5852
 
 
5853
 
fi
5854
 
 
5855
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5856
 
fi
5857
 
 
5858
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5859
 
fi
5860
 
 
5861
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5862
 
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5863
 
fi
5864
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
5865
 
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
5866
 
if test "$ac_test_CXXFLAGS" = set; then
5867
 
  CXXFLAGS=$ac_save_CXXFLAGS
5868
 
elif test $ac_cv_prog_cxx_g = yes; then
5869
 
  if test "$GXX" = yes; then
5870
 
    CXXFLAGS="-g -O2"
5871
 
  else
5872
 
    CXXFLAGS="-g"
5873
 
  fi
5874
 
else
5875
 
  if test "$GXX" = yes; then
5876
 
    CXXFLAGS="-O2"
5877
 
  else
5878
 
    CXXFLAGS=
5879
 
  fi
5880
 
fi
5881
 
ac_ext=cpp
5882
 
ac_cpp='$CXXCPP $CPPFLAGS'
5883
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5884
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5885
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5886
 
 
5887
 
depcc="$CXX"  am_compiler_list=
5888
 
 
5889
 
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5890
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
5891
 
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
5892
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5893
 
else
5894
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5895
 
  # We make a subdir and do the tests there.  Otherwise we can end up
5896
 
  # making bogus files that we don't know about and never remove.  For
5897
 
  # instance it was reported that on HP-UX the gcc test will end up
5898
 
  # making a dummy file named `D' -- because `-MD' means `put the output
5899
 
  # in D'.
5900
 
  mkdir conftest.dir
5901
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
5902
 
  # using a relative directory.
5903
 
  cp "$am_depcomp" conftest.dir
5904
 
  cd conftest.dir
5905
 
  # We will build objects and dependencies in a subdirectory because
5906
 
  # it helps to detect inapplicable dependency modes.  For instance
5907
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
5908
 
  # side effect of compilation, but ICC will put the dependencies in
5909
 
  # the current directory while Tru64 will put them in the object
5910
 
  # directory.
5911
 
  mkdir sub
5912
 
 
5913
 
  am_cv_CXX_dependencies_compiler_type=none
5914
 
  if test "$am_compiler_list" = ""; then
5915
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5916
 
  fi
5917
 
  for depmode in $am_compiler_list; do
5918
 
    # Setup a source with many dependencies, because some compilers
5919
 
    # like to wrap large dependency lists on column 80 (with \), and
5920
 
    # we should not choose a depcomp mode which is confused by this.
5921
 
    #
5922
 
    # We need to recreate these files for each test, as the compiler may
5923
 
    # overwrite some of them when testing with obscure command lines.
5924
 
    # This happens at least with the AIX C compiler.
5925
 
    : > sub/conftest.c
5926
 
    for i in 1 2 3 4 5 6; do
5927
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
5928
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5929
 
      # Solaris 8's {/usr,}/bin/sh.
5930
 
      touch sub/conftst$i.h
5931
 
    done
5932
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5933
 
 
5934
 
    case $depmode in
5935
 
    nosideeffect)
5936
 
      # after this tag, mechanisms are not by side-effect, so they'll
5937
 
      # only be used when explicitly requested
5938
 
      if test "x$enable_dependency_tracking" = xyes; then
5939
 
        continue
5940
 
      else
5941
 
        break
5942
 
      fi
5943
 
      ;;
5944
 
    none) break ;;
5945
 
    esac
5946
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
5947
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
5948
 
    # handle `-M -o', and we need to detect this.
5949
 
    if depmode=$depmode \
5950
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
5951
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5952
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
5953
 
         >/dev/null 2>conftest.err &&
5954
 
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5955
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5956
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
5957
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5958
 
      # icc doesn't choke on unknown options, it will just issue warnings
5959
 
      # or remarks (even with -Werror).  So we grep stderr for any message
5960
 
      # that says an option was ignored or not supported.
5961
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
5962
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
5963
 
      # The diagnosis changed in icc 8.0:
5964
 
      #   icc: Command line remark: option '-MP' not supported
5965
 
      if (grep 'ignoring option' conftest.err ||
5966
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5967
 
        am_cv_CXX_dependencies_compiler_type=$depmode
5968
 
        break
5969
 
      fi
5970
 
    fi
5971
 
  done
5972
 
 
5973
 
  cd ..
5974
 
  rm -rf conftest.dir
5975
 
else
5976
 
  am_cv_CXX_dependencies_compiler_type=none
5977
 
fi
5978
 
 
5979
 
fi
5980
 
{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
5981
 
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
5982
 
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
5983
 
 
5984
 
 if
5985
 
  test "x$enable_dependency_tracking" != xno \
5986
 
  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
5987
 
  am__fastdepCXX_TRUE=
5988
 
  am__fastdepCXX_FALSE='#'
5989
 
else
5990
 
  am__fastdepCXX_TRUE='#'
5991
 
  am__fastdepCXX_FALSE=
5992
 
fi
5993
 
 
5994
 
 
5995
 
 
5996
 
 
5997
 
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
5998
 
    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
5999
 
    (test "X$CXX" != "Xg++"))) ; then
6000
 
  ac_ext=cpp
6001
 
ac_cpp='$CXXCPP $CPPFLAGS'
6002
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6003
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6004
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6005
 
{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
6006
 
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
6007
 
if test -z "$CXXCPP"; then
6008
 
  if test "${ac_cv_prog_CXXCPP+set}" = set; then
6009
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6010
 
else
6011
 
      # Double quotes because CXXCPP needs to be expanded
6012
 
    for CXXCPP in "$CXX -E" "/lib/cpp"
6013
 
    do
6014
 
      ac_preproc_ok=false
6015
 
for ac_cxx_preproc_warn_flag in '' yes
6016
 
do
6017
 
  # Use a header file that comes with gcc, so configuring glibc
6018
 
  # with a fresh cross-compiler works.
6019
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6020
 
  # <limits.h> exists even on freestanding compilers.
6021
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
6022
 
  # not just through cpp. "Syntax error" is here to catch this case.
6023
 
  cat >conftest.$ac_ext <<_ACEOF
6024
 
/* confdefs.h.  */
6025
 
_ACEOF
6026
 
cat confdefs.h >>conftest.$ac_ext
6027
 
cat >>conftest.$ac_ext <<_ACEOF
6028
 
/* end confdefs.h.  */
6029
 
#ifdef __STDC__
6030
 
# include <limits.h>
6031
 
#else
6032
 
# include <assert.h>
6033
 
#endif
6034
 
                     Syntax error
6035
 
_ACEOF
6036
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
6037
 
case "(($ac_try" in
6038
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6039
 
  *) ac_try_echo=$ac_try;;
6040
 
esac
6041
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6042
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6043
 
  ac_status=$?
6044
 
  grep -v '^ *+' conftest.er1 >conftest.err
6045
 
  rm -f conftest.er1
6046
 
  cat conftest.err >&5
6047
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6048
 
  (exit $ac_status); } >/dev/null && {
6049
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6050
 
         test ! -s conftest.err
6051
 
       }; then
6052
 
  :
6053
 
else
6054
 
  echo "$as_me: failed program was:" >&5
6055
 
sed 's/^/| /' conftest.$ac_ext >&5
6056
 
 
6057
 
  # Broken: fails on valid input.
6058
 
continue
6059
 
fi
6060
 
 
6061
 
rm -f conftest.err conftest.$ac_ext
6062
 
 
6063
 
  # OK, works on sane cases.  Now check whether nonexistent headers
6064
 
  # can be detected and how.
6065
 
  cat >conftest.$ac_ext <<_ACEOF
6066
 
/* confdefs.h.  */
6067
 
_ACEOF
6068
 
cat confdefs.h >>conftest.$ac_ext
6069
 
cat >>conftest.$ac_ext <<_ACEOF
6070
 
/* end confdefs.h.  */
6071
 
#include <ac_nonexistent.h>
6072
 
_ACEOF
6073
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
6074
 
case "(($ac_try" in
6075
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6076
 
  *) ac_try_echo=$ac_try;;
6077
 
esac
6078
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6079
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6080
 
  ac_status=$?
6081
 
  grep -v '^ *+' conftest.er1 >conftest.err
6082
 
  rm -f conftest.er1
6083
 
  cat conftest.err >&5
6084
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6085
 
  (exit $ac_status); } >/dev/null && {
6086
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6087
 
         test ! -s conftest.err
6088
 
       }; then
6089
 
  # Broken: success on invalid input.
6090
 
continue
6091
 
else
6092
 
  echo "$as_me: failed program was:" >&5
6093
 
sed 's/^/| /' conftest.$ac_ext >&5
6094
 
 
6095
 
  # Passes both tests.
6096
 
ac_preproc_ok=:
6097
 
break
6098
 
fi
6099
 
 
6100
 
rm -f conftest.err conftest.$ac_ext
6101
 
 
6102
 
done
6103
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6104
 
rm -f conftest.err conftest.$ac_ext
6105
 
if $ac_preproc_ok; then
6106
 
  break
6107
 
fi
6108
 
 
6109
 
    done
6110
 
    ac_cv_prog_CXXCPP=$CXXCPP
6111
 
 
6112
 
fi
6113
 
  CXXCPP=$ac_cv_prog_CXXCPP
6114
 
else
6115
 
  ac_cv_prog_CXXCPP=$CXXCPP
6116
 
fi
6117
 
{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
6118
 
echo "${ECHO_T}$CXXCPP" >&6; }
6119
 
ac_preproc_ok=false
6120
 
for ac_cxx_preproc_warn_flag in '' yes
6121
 
do
6122
 
  # Use a header file that comes with gcc, so configuring glibc
6123
 
  # with a fresh cross-compiler works.
6124
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6125
 
  # <limits.h> exists even on freestanding compilers.
6126
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
6127
 
  # not just through cpp. "Syntax error" is here to catch this case.
6128
 
  cat >conftest.$ac_ext <<_ACEOF
6129
 
/* confdefs.h.  */
6130
 
_ACEOF
6131
 
cat confdefs.h >>conftest.$ac_ext
6132
 
cat >>conftest.$ac_ext <<_ACEOF
6133
 
/* end confdefs.h.  */
6134
 
#ifdef __STDC__
6135
 
# include <limits.h>
6136
 
#else
6137
 
# include <assert.h>
6138
 
#endif
6139
 
                     Syntax error
6140
 
_ACEOF
6141
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
6142
 
case "(($ac_try" in
6143
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6144
 
  *) ac_try_echo=$ac_try;;
6145
 
esac
6146
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6147
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6148
 
  ac_status=$?
6149
 
  grep -v '^ *+' conftest.er1 >conftest.err
6150
 
  rm -f conftest.er1
6151
 
  cat conftest.err >&5
6152
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6153
 
  (exit $ac_status); } >/dev/null && {
6154
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6155
 
         test ! -s conftest.err
6156
 
       }; then
6157
 
  :
6158
 
else
6159
 
  echo "$as_me: failed program was:" >&5
6160
 
sed 's/^/| /' conftest.$ac_ext >&5
6161
 
 
6162
 
  # Broken: fails on valid input.
6163
 
continue
6164
 
fi
6165
 
 
6166
 
rm -f conftest.err conftest.$ac_ext
6167
 
 
6168
 
  # OK, works on sane cases.  Now check whether nonexistent headers
6169
 
  # can be detected and how.
6170
 
  cat >conftest.$ac_ext <<_ACEOF
6171
 
/* confdefs.h.  */
6172
 
_ACEOF
6173
 
cat confdefs.h >>conftest.$ac_ext
6174
 
cat >>conftest.$ac_ext <<_ACEOF
6175
 
/* end confdefs.h.  */
6176
 
#include <ac_nonexistent.h>
6177
 
_ACEOF
6178
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
6179
 
case "(($ac_try" in
6180
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6181
 
  *) ac_try_echo=$ac_try;;
6182
 
esac
6183
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6184
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6185
 
  ac_status=$?
6186
 
  grep -v '^ *+' conftest.er1 >conftest.err
6187
 
  rm -f conftest.er1
6188
 
  cat conftest.err >&5
6189
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6190
 
  (exit $ac_status); } >/dev/null && {
6191
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6192
 
         test ! -s conftest.err
6193
 
       }; then
6194
 
  # Broken: success on invalid input.
6195
 
continue
6196
 
else
6197
 
  echo "$as_me: failed program was:" >&5
6198
 
sed 's/^/| /' conftest.$ac_ext >&5
6199
 
 
6200
 
  # Passes both tests.
6201
 
ac_preproc_ok=:
6202
 
break
6203
 
fi
6204
 
 
6205
 
rm -f conftest.err conftest.$ac_ext
6206
 
 
6207
 
done
6208
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6209
 
rm -f conftest.err conftest.$ac_ext
6210
 
if $ac_preproc_ok; then
6211
 
  :
6212
 
else
6213
 
  { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6214
 
See \`config.log' for more details." >&5
6215
 
echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6216
 
See \`config.log' for more details." >&2;}
6217
 
   { (exit 1); exit 1; }; }
6218
 
fi
6219
 
 
6220
 
ac_ext=cpp
6221
 
ac_cpp='$CXXCPP $CPPFLAGS'
6222
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6223
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6224
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6225
 
 
6226
 
fi
6227
 
 
6228
 
 
6229
 
ac_ext=f
6230
 
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
6231
 
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6232
 
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
6233
 
if test -n "$ac_tool_prefix"; then
6234
 
  for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
6235
 
  do
6236
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6237
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6238
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6239
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6240
 
if test "${ac_cv_prog_F77+set}" = set; then
6241
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6242
 
else
6243
 
  if test -n "$F77"; then
6244
 
  ac_cv_prog_F77="$F77" # Let the user override the test.
6245
 
else
6246
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6247
 
for as_dir in $PATH
6248
 
do
6249
 
  IFS=$as_save_IFS
6250
 
  test -z "$as_dir" && as_dir=.
6251
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6252
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6253
 
    ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
6254
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6255
 
    break 2
6256
 
  fi
6257
 
done
6258
 
done
6259
 
IFS=$as_save_IFS
6260
 
 
6261
 
fi
6262
 
fi
6263
 
F77=$ac_cv_prog_F77
6264
 
if test -n "$F77"; then
6265
 
  { echo "$as_me:$LINENO: result: $F77" >&5
6266
 
echo "${ECHO_T}$F77" >&6; }
6267
 
else
6268
 
  { echo "$as_me:$LINENO: result: no" >&5
6269
 
echo "${ECHO_T}no" >&6; }
6270
 
fi
6271
 
 
6272
 
 
6273
 
    test -n "$F77" && break
6274
 
  done
6275
 
fi
6276
 
if test -z "$F77"; then
6277
 
  ac_ct_F77=$F77
6278
 
  for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
6279
 
do
6280
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
6281
 
set dummy $ac_prog; ac_word=$2
6282
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6283
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6284
 
if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
6285
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6286
 
else
6287
 
  if test -n "$ac_ct_F77"; then
6288
 
  ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
6289
 
else
6290
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6291
 
for as_dir in $PATH
6292
 
do
6293
 
  IFS=$as_save_IFS
6294
 
  test -z "$as_dir" && as_dir=.
6295
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6296
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6297
 
    ac_cv_prog_ac_ct_F77="$ac_prog"
6298
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6299
 
    break 2
6300
 
  fi
6301
 
done
6302
 
done
6303
 
IFS=$as_save_IFS
6304
 
 
6305
 
fi
6306
 
fi
6307
 
ac_ct_F77=$ac_cv_prog_ac_ct_F77
6308
 
if test -n "$ac_ct_F77"; then
6309
 
  { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
6310
 
echo "${ECHO_T}$ac_ct_F77" >&6; }
6311
 
else
6312
 
  { echo "$as_me:$LINENO: result: no" >&5
6313
 
echo "${ECHO_T}no" >&6; }
6314
 
fi
6315
 
 
6316
 
 
6317
 
  test -n "$ac_ct_F77" && break
6318
 
done
6319
 
 
6320
 
  if test "x$ac_ct_F77" = x; then
6321
 
    F77=""
6322
 
  else
6323
 
    case $cross_compiling:$ac_tool_warned in
6324
 
yes:)
6325
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6326
 
whose name does not start with the host triplet.  If you think this
6327
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
6328
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6329
 
whose name does not start with the host triplet.  If you think this
6330
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6331
 
ac_tool_warned=yes ;;
6332
 
esac
6333
 
    F77=$ac_ct_F77
6334
 
  fi
6335
 
fi
6336
 
 
6337
 
 
6338
 
# Provide some information about the compiler.
6339
 
echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
6340
 
ac_compiler=`set X $ac_compile; echo $2`
6341
 
{ (ac_try="$ac_compiler --version >&5"
6342
 
case "(($ac_try" in
6343
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6344
 
  *) ac_try_echo=$ac_try;;
6345
 
esac
6346
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6347
 
  (eval "$ac_compiler --version >&5") 2>&5
6348
 
  ac_status=$?
6349
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6350
 
  (exit $ac_status); }
6351
 
{ (ac_try="$ac_compiler -v >&5"
6352
 
case "(($ac_try" in
6353
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6354
 
  *) ac_try_echo=$ac_try;;
6355
 
esac
6356
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6357
 
  (eval "$ac_compiler -v >&5") 2>&5
6358
 
  ac_status=$?
6359
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6360
 
  (exit $ac_status); }
6361
 
{ (ac_try="$ac_compiler -V >&5"
6362
 
case "(($ac_try" in
6363
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6364
 
  *) ac_try_echo=$ac_try;;
6365
 
esac
6366
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6367
 
  (eval "$ac_compiler -V >&5") 2>&5
6368
 
  ac_status=$?
6369
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6370
 
  (exit $ac_status); }
6371
 
rm -f a.out
6372
 
 
6373
 
# If we don't use `.F' as extension, the preprocessor is not run on the
6374
 
# input file.  (Note that this only needs to work for GNU compilers.)
6375
 
ac_save_ext=$ac_ext
6376
 
ac_ext=F
6377
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
6378
 
echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
6379
 
if test "${ac_cv_f77_compiler_gnu+set}" = set; then
6380
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6381
 
else
6382
 
  cat >conftest.$ac_ext <<_ACEOF
6383
 
      program main
6384
 
#ifndef __GNUC__
6385
 
       choke me
6386
 
#endif
6387
 
 
6388
 
      end
6389
 
_ACEOF
6390
 
rm -f conftest.$ac_objext
6391
 
if { (ac_try="$ac_compile"
6392
 
case "(($ac_try" in
6393
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6394
 
  *) ac_try_echo=$ac_try;;
6395
 
esac
6396
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6397
 
  (eval "$ac_compile") 2>conftest.er1
6398
 
  ac_status=$?
6399
 
  grep -v '^ *+' conftest.er1 >conftest.err
6400
 
  rm -f conftest.er1
6401
 
  cat conftest.err >&5
6402
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6403
 
  (exit $ac_status); } && {
6404
 
         test -z "$ac_f77_werror_flag" ||
6405
 
         test ! -s conftest.err
6406
 
       } && test -s conftest.$ac_objext; then
6407
 
  ac_compiler_gnu=yes
6408
 
else
6409
 
  echo "$as_me: failed program was:" >&5
6410
 
sed 's/^/| /' conftest.$ac_ext >&5
6411
 
 
6412
 
        ac_compiler_gnu=no
6413
 
fi
6414
 
 
6415
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6416
 
ac_cv_f77_compiler_gnu=$ac_compiler_gnu
6417
 
 
6418
 
fi
6419
 
{ echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
6420
 
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
6421
 
ac_ext=$ac_save_ext
6422
 
ac_test_FFLAGS=${FFLAGS+set}
6423
 
ac_save_FFLAGS=$FFLAGS
6424
 
FFLAGS=
6425
 
{ echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
6426
 
echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
6427
 
if test "${ac_cv_prog_f77_g+set}" = set; then
6428
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6429
 
else
6430
 
  FFLAGS=-g
6431
 
cat >conftest.$ac_ext <<_ACEOF
6432
 
      program main
6433
 
 
6434
 
      end
6435
 
_ACEOF
6436
 
rm -f conftest.$ac_objext
6437
 
if { (ac_try="$ac_compile"
6438
 
case "(($ac_try" in
6439
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6440
 
  *) ac_try_echo=$ac_try;;
6441
 
esac
6442
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6443
 
  (eval "$ac_compile") 2>conftest.er1
6444
 
  ac_status=$?
6445
 
  grep -v '^ *+' conftest.er1 >conftest.err
6446
 
  rm -f conftest.er1
6447
 
  cat conftest.err >&5
6448
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6449
 
  (exit $ac_status); } && {
6450
 
         test -z "$ac_f77_werror_flag" ||
6451
 
         test ! -s conftest.err
6452
 
       } && test -s conftest.$ac_objext; then
6453
 
  ac_cv_prog_f77_g=yes
6454
 
else
6455
 
  echo "$as_me: failed program was:" >&5
6456
 
sed 's/^/| /' conftest.$ac_ext >&5
6457
 
 
6458
 
        ac_cv_prog_f77_g=no
6459
 
fi
6460
 
 
6461
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6462
 
 
6463
 
fi
6464
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
6465
 
echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
6466
 
if test "$ac_test_FFLAGS" = set; then
6467
 
  FFLAGS=$ac_save_FFLAGS
6468
 
elif test $ac_cv_prog_f77_g = yes; then
6469
 
  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6470
 
    FFLAGS="-g -O2"
6471
 
  else
6472
 
    FFLAGS="-g"
6473
 
  fi
6474
 
else
6475
 
  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6476
 
    FFLAGS="-O2"
6477
 
  else
6478
 
    FFLAGS=
6479
 
  fi
6480
 
fi
6481
 
 
6482
 
G77=`test $ac_compiler_gnu = yes && echo yes`
6483
 
ac_ext=c
6484
 
ac_cpp='$CPP $CPPFLAGS'
6485
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6486
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6487
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6488
 
 
6489
 
 
6490
 
 
6491
 
# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
6492
 
# find the maximum length of command line arguments
6493
 
{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
6494
 
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
6495
 
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
6496
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6497
 
else
6498
 
    i=0
6499
 
  teststring="ABCD"
6500
 
 
6501
 
  case $build_os in
6502
 
  msdosdjgpp*)
6503
 
    # On DJGPP, this test can blow up pretty badly due to problems in libc
6504
 
    # (any single argument exceeding 2000 bytes causes a buffer overrun
6505
 
    # during glob expansion).  Even if it were fixed, the result of this
6506
 
    # check would be larger than it should be.
6507
 
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
6508
 
    ;;
6509
 
 
6510
 
  gnu*)
6511
 
    # Under GNU Hurd, this test is not required because there is
6512
 
    # no limit to the length of command line arguments.
6513
 
    # Libtool will interpret -1 as no limit whatsoever
6514
 
    lt_cv_sys_max_cmd_len=-1;
6515
 
    ;;
6516
 
 
6517
 
  cygwin* | mingw*)
6518
 
    # On Win9x/ME, this test blows up -- it succeeds, but takes
6519
 
    # about 5 minutes as the teststring grows exponentially.
6520
 
    # Worse, since 9x/ME are not pre-emptively multitasking,
6521
 
    # you end up with a "frozen" computer, even though with patience
6522
 
    # the test eventually succeeds (with a max line length of 256k).
6523
 
    # Instead, let's just punt: use the minimum linelength reported by
6524
 
    # all of the supported platforms: 8192 (on NT/2K/XP).
6525
 
    lt_cv_sys_max_cmd_len=8192;
6526
 
    ;;
6527
 
 
6528
 
  amigaos*)
6529
 
    # On AmigaOS with pdksh, this test takes hours, literally.
6530
 
    # So we just punt and use a minimum line length of 8192.
6531
 
    lt_cv_sys_max_cmd_len=8192;
6532
 
    ;;
6533
 
 
6534
 
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6535
 
    # This has been around since 386BSD, at least.  Likely further.
6536
 
    if test -x /sbin/sysctl; then
6537
 
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6538
 
    elif test -x /usr/sbin/sysctl; then
6539
 
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6540
 
    else
6541
 
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
6542
 
    fi
6543
 
    # And add a safety zone
6544
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6545
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6546
 
    ;;
6547
 
 
6548
 
  interix*)
6549
 
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
6550
 
    lt_cv_sys_max_cmd_len=196608
6551
 
    ;;
6552
 
 
6553
 
  osf*)
6554
 
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6555
 
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6556
 
    # nice to cause kernel panics so lets avoid the loop below.
6557
 
    # First set a reasonable default.
6558
 
    lt_cv_sys_max_cmd_len=16384
6559
 
    #
6560
 
    if test -x /sbin/sysconfig; then
6561
 
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6562
 
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
6563
 
      esac
6564
 
    fi
6565
 
    ;;
6566
 
  sco3.2v5*)
6567
 
    lt_cv_sys_max_cmd_len=102400
6568
 
    ;;
6569
 
  sysv5* | sco5v6* | sysv4.2uw2*)
6570
 
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6571
 
    if test -n "$kargmax"; then
6572
 
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[         ]//'`
6573
 
    else
6574
 
      lt_cv_sys_max_cmd_len=32768
6575
 
    fi
6576
 
    ;;
6577
 
  *)
6578
 
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6579
 
    if test -n "$lt_cv_sys_max_cmd_len"; then
6580
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6581
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6582
 
    else
6583
 
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6584
 
      while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
6585
 
               = "XX$teststring") >/dev/null 2>&1 &&
6586
 
              new_result=`expr "X$teststring" : ".*" 2>&1` &&
6587
 
              lt_cv_sys_max_cmd_len=$new_result &&
6588
 
              test $i != 17 # 1/2 MB should be enough
6589
 
      do
6590
 
        i=`expr $i + 1`
6591
 
        teststring=$teststring$teststring
6592
 
      done
6593
 
      teststring=
6594
 
      # Add a significant safety factor because C++ compilers can tack on massive
6595
 
      # amounts of additional arguments before passing them to the linker.
6596
 
      # It appears as though 1/2 is a usable value.
6597
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6598
 
    fi
6599
 
    ;;
6600
 
  esac
6601
 
 
6602
 
fi
6603
 
 
6604
 
if test -n $lt_cv_sys_max_cmd_len ; then
6605
 
  { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6606
 
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
6607
 
else
6608
 
  { echo "$as_me:$LINENO: result: none" >&5
6609
 
echo "${ECHO_T}none" >&6; }
6610
 
fi
6611
 
 
6612
 
 
6613
 
 
6614
 
 
6615
 
 
6616
5708
# Check for command to grab the raw symbol name followed by C symbol from nm.
6617
 
{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6618
 
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
 
5709
{ $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
 
5710
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6619
5711
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6620
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5712
  $as_echo_n "(cached) " >&6
6621
5713
else
6622
5714
 
6623
5715
# These are sane defaults that work on at least a few old systems.
6629
5721
# Regexp to match symbols that can be accessed directly from C.
6630
5722
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6631
5723
 
6632
 
# Transform an extracted symbol line into a proper C declaration
6633
 
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
6634
 
 
6635
 
# Transform an extracted symbol line into symbol name and symbol address
6636
 
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
6637
 
 
6638
5724
# Define system-specific variables.
6639
5725
case $host_os in
6640
5726
aix*)
6641
5727
  symcode='[BCDT]'
6642
5728
  ;;
6643
 
cygwin* | mingw* | pw32*)
 
5729
cygwin* | mingw* | pw32* | cegcc*)
6644
5730
  symcode='[ABCDGISTW]'
6645
5731
  ;;
6646
 
hpux*) # Its linker distinguishes data from code symbols
 
5732
hpux*)
6647
5733
  if test "$host_cpu" = ia64; then
6648
5734
    symcode='[ABCDEGRST]'
6649
5735
  fi
6650
 
  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6651
 
  lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
6652
 
  ;;
6653
 
linux* | k*bsd*-gnu)
6654
 
  if test "$host_cpu" = ia64; then
6655
 
    symcode='[ABCDGIRSTW]'
6656
 
    lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6657
 
    lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
6658
 
  fi
6659
5736
  ;;
6660
5737
irix* | nonstopux*)
6661
5738
  symcode='[BCDEGRST]'
6680
5757
  ;;
6681
5758
esac
6682
5759
 
 
5760
# If we're using GNU nm, then use its standard symbol codes.
 
5761
case `$NM -V 2>&1` in
 
5762
*GNU* | *'with BFD'*)
 
5763
  symcode='[ABCDGIRSTW]' ;;
 
5764
esac
 
5765
 
 
5766
# Transform an extracted symbol line into a proper C declaration.
 
5767
# Some systems (esp. on ia64) link data and code symbols differently,
 
5768
# so use this general approach.
 
5769
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
 
5770
 
 
5771
# Transform an extracted symbol line into symbol name and symbol address
 
5772
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
 
5773
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
 
5774
 
6683
5775
# Handle CRLF in mingw tool chain
6684
5776
opt_cr=
6685
5777
case $build_os in
6686
5778
mingw*)
6687
 
  opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
 
5779
  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6688
5780
  ;;
6689
5781
esac
6690
5782
 
6691
 
# If we're using GNU nm, then use its standard symbol codes.
6692
 
case `$NM -V 2>&1` in
6693
 
*GNU* | *'with BFD'*)
6694
 
  symcode='[ABCDGIRSTW]' ;;
6695
 
esac
6696
 
 
6697
 
# Try without a prefix undercore, then with it.
 
5783
# Try without a prefix underscore, then with it.
6698
5784
for ac_symprfx in "" "_"; do
6699
5785
 
6700
5786
  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6701
5787
  symxfrm="\\1 $ac_symprfx\\2 \\2"
6702
5788
 
6703
5789
  # Write the raw and C identifiers.
6704
 
  lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[       ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
 
5790
  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 
5791
    # Fake it for dumpbin and say T for any non-static function
 
5792
    # and D for any global variable.
 
5793
    # Also find C++ and __fastcall symbols from MSVC++,
 
5794
    # which start with @ or ?.
 
5795
    lt_cv_sys_global_symbol_pipe="$AWK '"\
 
5796
"     {last_section=section; section=\$ 3};"\
 
5797
"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
 
5798
"     \$ 0!~/External *\|/{next};"\
 
5799
"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
 
5800
"     {if(hide[section]) next};"\
 
5801
"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
 
5802
"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
 
5803
"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
 
5804
"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
 
5805
"     ' prfx=^$ac_symprfx"
 
5806
  else
 
5807
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
 
5808
  fi
6705
5809
 
6706
5810
  # Check to see that the pipe works correctly.
6707
5811
  pipe_works=no
6708
5812
 
6709
5813
  rm -f conftest*
6710
 
  cat > conftest.$ac_ext <<EOF
 
5814
  cat > conftest.$ac_ext <<_LT_EOF
6711
5815
#ifdef __cplusplus
6712
5816
extern "C" {
6713
5817
#endif
6714
5818
char nm_test_var;
6715
 
void nm_test_func(){}
 
5819
void nm_test_func(void);
 
5820
void nm_test_func(void){}
6716
5821
#ifdef __cplusplus
6717
5822
}
6718
5823
#endif
6719
5824
int main(){nm_test_var='a';nm_test_func();return(0);}
6720
 
EOF
 
5825
_LT_EOF
6721
5826
 
6722
5827
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6723
5828
  (eval $ac_compile) 2>&5
6724
5829
  ac_status=$?
6725
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5830
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6726
5831
  (exit $ac_status); }; then
6727
5832
    # Now try to grab the symbols.
6728
5833
    nlist=conftest.nm
6729
5834
    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6730
5835
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6731
5836
  ac_status=$?
6732
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5837
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6733
5838
  (exit $ac_status); } && test -s "$nlist"; then
6734
5839
      # Try sorting and uniquifying the output.
6735
5840
      if sort "$nlist" | uniq > "$nlist"T; then
6739
5844
      fi
6740
5845
 
6741
5846
      # Make sure that we snagged all the symbols we need.
6742
 
      if grep ' nm_test_var$' "$nlist" >/dev/null; then
6743
 
        if grep ' nm_test_func$' "$nlist" >/dev/null; then
6744
 
          cat <<EOF > conftest.$ac_ext
 
5847
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
 
5848
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
 
5849
          cat <<_LT_EOF > conftest.$ac_ext
6745
5850
#ifdef __cplusplus
6746
5851
extern "C" {
6747
5852
#endif
6748
5853
 
6749
 
EOF
 
5854
_LT_EOF
6750
5855
          # Now generate the symbol file.
6751
 
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
6752
 
 
6753
 
          cat <<EOF >> conftest.$ac_ext
6754
 
#if defined (__STDC__) && __STDC__
6755
 
# define lt_ptr_t void *
6756
 
#else
6757
 
# define lt_ptr_t char *
6758
 
# define const
6759
 
#endif
6760
 
 
6761
 
/* The mapping between symbol names and symbols. */
 
5856
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
 
5857
 
 
5858
          cat <<_LT_EOF >> conftest.$ac_ext
 
5859
 
 
5860
/* The mapping between symbol names and symbols.  */
6762
5861
const struct {
6763
5862
  const char *name;
6764
 
  lt_ptr_t address;
 
5863
  void       *address;
6765
5864
}
6766
 
lt_preloaded_symbols[] =
 
5865
lt__PROGRAM__LTX_preloaded_symbols[] =
6767
5866
{
6768
 
EOF
6769
 
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
6770
 
          cat <<\EOF >> conftest.$ac_ext
6771
 
  {0, (lt_ptr_t) 0}
 
5867
  { "@PROGRAM@", (void *) 0 },
 
5868
_LT_EOF
 
5869
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
 
5870
          cat <<\_LT_EOF >> conftest.$ac_ext
 
5871
  {0, (void *) 0}
6772
5872
};
6773
5873
 
 
5874
/* This works around a problem in FreeBSD linker */
 
5875
#ifdef FREEBSD_WORKAROUND
 
5876
static const void *lt_preloaded_setup() {
 
5877
  return lt__PROGRAM__LTX_preloaded_symbols;
 
5878
}
 
5879
#endif
 
5880
 
6774
5881
#ifdef __cplusplus
6775
5882
}
6776
5883
#endif
6777
 
EOF
 
5884
_LT_EOF
6778
5885
          # Now try linking the two files.
6779
5886
          mv conftest.$ac_objext conftstm.$ac_objext
6780
5887
          lt_save_LIBS="$LIBS"
6784
5891
          if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6785
5892
  (eval $ac_link) 2>&5
6786
5893
  ac_status=$?
6787
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5894
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6788
5895
  (exit $ac_status); } && test -s conftest${ac_exeext}; then
6789
5896
            pipe_works=yes
6790
5897
          fi
6819
5926
  lt_cv_sys_global_symbol_to_cdecl=
6820
5927
fi
6821
5928
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6822
 
  { echo "$as_me:$LINENO: result: failed" >&5
6823
 
echo "${ECHO_T}failed" >&6; }
6824
 
else
6825
 
  { echo "$as_me:$LINENO: result: ok" >&5
6826
 
echo "${ECHO_T}ok" >&6; }
6827
 
fi
6828
 
 
6829
 
{ echo "$as_me:$LINENO: checking for objdir" >&5
6830
 
echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
6831
 
if test "${lt_cv_objdir+set}" = set; then
6832
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6833
 
else
6834
 
  rm -f .libs 2>/dev/null
6835
 
mkdir .libs 2>/dev/null
6836
 
if test -d .libs; then
6837
 
  lt_cv_objdir=.libs
6838
 
else
6839
 
  # MS-DOS does not allow filenames that begin with a dot.
6840
 
  lt_cv_objdir=_libs
6841
 
fi
6842
 
rmdir .libs 2>/dev/null
6843
 
fi
6844
 
{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6845
 
echo "${ECHO_T}$lt_cv_objdir" >&6; }
6846
 
objdir=$lt_cv_objdir
6847
 
 
6848
 
 
6849
 
 
6850
 
 
6851
 
 
6852
 
case $host_os in
6853
 
aix3*)
6854
 
  # AIX sometimes has problems with the GCC collect2 program.  For some
6855
 
  # reason, if we set the COLLECT_NAMES environment variable, the problems
6856
 
  # vanish in a puff of smoke.
6857
 
  if test "X${COLLECT_NAMES+set}" != Xset; then
6858
 
    COLLECT_NAMES=
6859
 
    export COLLECT_NAMES
6860
 
  fi
6861
 
  ;;
6862
 
esac
6863
 
 
6864
 
# Sed substitution that helps us do robust quoting.  It backslashifies
6865
 
# metacharacters that are still active within double-quoted strings.
6866
 
Xsed='sed -e 1s/^X//'
6867
 
sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
6868
 
 
6869
 
# Same as above, but do not quote variable references.
6870
 
double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
6871
 
 
6872
 
# Sed substitution to delay expansion of an escaped shell variable in a
6873
 
# double_quote_subst'ed string.
6874
 
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6875
 
 
6876
 
# Sed substitution to avoid accidental globbing in evaled expressions
6877
 
no_glob_subst='s/\*/\\\*/g'
6878
 
 
6879
 
# Constants:
6880
 
rm="rm -f"
6881
 
 
6882
 
# Global variables:
6883
 
default_ofile=libtool
6884
 
can_build_shared=yes
6885
 
 
6886
 
# All known linkers require a `.a' archive for static linking (except MSVC,
6887
 
# which needs '.lib').
6888
 
libext=a
6889
 
ltmain="$ac_aux_dir/ltmain.sh"
6890
 
ofile="$default_ofile"
6891
 
with_gnu_ld="$lt_cv_prog_gnu_ld"
6892
 
 
6893
 
if test -n "$ac_tool_prefix"; then
6894
 
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6895
 
set dummy ${ac_tool_prefix}ar; ac_word=$2
6896
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6897
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6898
 
if test "${ac_cv_prog_AR+set}" = set; then
6899
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6900
 
else
6901
 
  if test -n "$AR"; then
6902
 
  ac_cv_prog_AR="$AR" # Let the user override the test.
6903
 
else
6904
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6905
 
for as_dir in $PATH
6906
 
do
6907
 
  IFS=$as_save_IFS
6908
 
  test -z "$as_dir" && as_dir=.
6909
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6910
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6911
 
    ac_cv_prog_AR="${ac_tool_prefix}ar"
6912
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6913
 
    break 2
6914
 
  fi
6915
 
done
6916
 
done
6917
 
IFS=$as_save_IFS
6918
 
 
6919
 
fi
6920
 
fi
6921
 
AR=$ac_cv_prog_AR
6922
 
if test -n "$AR"; then
6923
 
  { echo "$as_me:$LINENO: result: $AR" >&5
6924
 
echo "${ECHO_T}$AR" >&6; }
6925
 
else
6926
 
  { echo "$as_me:$LINENO: result: no" >&5
6927
 
echo "${ECHO_T}no" >&6; }
6928
 
fi
6929
 
 
6930
 
 
6931
 
fi
6932
 
if test -z "$ac_cv_prog_AR"; then
6933
 
  ac_ct_AR=$AR
6934
 
  # Extract the first word of "ar", so it can be a program name with args.
6935
 
set dummy ar; ac_word=$2
6936
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6937
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6938
 
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6939
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6940
 
else
6941
 
  if test -n "$ac_ct_AR"; then
6942
 
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6943
 
else
6944
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6945
 
for as_dir in $PATH
6946
 
do
6947
 
  IFS=$as_save_IFS
6948
 
  test -z "$as_dir" && as_dir=.
6949
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6950
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6951
 
    ac_cv_prog_ac_ct_AR="ar"
6952
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6953
 
    break 2
6954
 
  fi
6955
 
done
6956
 
done
6957
 
IFS=$as_save_IFS
6958
 
 
6959
 
fi
6960
 
fi
6961
 
ac_ct_AR=$ac_cv_prog_ac_ct_AR
6962
 
if test -n "$ac_ct_AR"; then
6963
 
  { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6964
 
echo "${ECHO_T}$ac_ct_AR" >&6; }
6965
 
else
6966
 
  { echo "$as_me:$LINENO: result: no" >&5
6967
 
echo "${ECHO_T}no" >&6; }
6968
 
fi
6969
 
 
6970
 
  if test "x$ac_ct_AR" = x; then
6971
 
    AR="false"
6972
 
  else
6973
 
    case $cross_compiling:$ac_tool_warned in
6974
 
yes:)
6975
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6976
 
whose name does not start with the host triplet.  If you think this
6977
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
6978
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6979
 
whose name does not start with the host triplet.  If you think this
6980
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6981
 
ac_tool_warned=yes ;;
6982
 
esac
6983
 
    AR=$ac_ct_AR
6984
 
  fi
6985
 
else
6986
 
  AR="$ac_cv_prog_AR"
6987
 
fi
6988
 
 
6989
 
if test -n "$ac_tool_prefix"; then
6990
 
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6991
 
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6992
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6993
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6994
 
if test "${ac_cv_prog_RANLIB+set}" = set; then
6995
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6996
 
else
6997
 
  if test -n "$RANLIB"; then
6998
 
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6999
 
else
7000
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7001
 
for as_dir in $PATH
7002
 
do
7003
 
  IFS=$as_save_IFS
7004
 
  test -z "$as_dir" && as_dir=.
7005
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7006
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7007
 
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7008
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7009
 
    break 2
7010
 
  fi
7011
 
done
7012
 
done
7013
 
IFS=$as_save_IFS
7014
 
 
7015
 
fi
7016
 
fi
7017
 
RANLIB=$ac_cv_prog_RANLIB
7018
 
if test -n "$RANLIB"; then
7019
 
  { echo "$as_me:$LINENO: result: $RANLIB" >&5
7020
 
echo "${ECHO_T}$RANLIB" >&6; }
7021
 
else
7022
 
  { echo "$as_me:$LINENO: result: no" >&5
7023
 
echo "${ECHO_T}no" >&6; }
7024
 
fi
7025
 
 
7026
 
 
7027
 
fi
7028
 
if test -z "$ac_cv_prog_RANLIB"; then
7029
 
  ac_ct_RANLIB=$RANLIB
7030
 
  # Extract the first word of "ranlib", so it can be a program name with args.
7031
 
set dummy ranlib; ac_word=$2
7032
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7033
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7034
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
7035
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7036
 
else
7037
 
  if test -n "$ac_ct_RANLIB"; then
7038
 
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7039
 
else
7040
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7041
 
for as_dir in $PATH
7042
 
do
7043
 
  IFS=$as_save_IFS
7044
 
  test -z "$as_dir" && as_dir=.
7045
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7046
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7047
 
    ac_cv_prog_ac_ct_RANLIB="ranlib"
7048
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7049
 
    break 2
7050
 
  fi
7051
 
done
7052
 
done
7053
 
IFS=$as_save_IFS
7054
 
 
7055
 
fi
7056
 
fi
7057
 
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7058
 
if test -n "$ac_ct_RANLIB"; then
7059
 
  { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
7060
 
echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
7061
 
else
7062
 
  { echo "$as_me:$LINENO: result: no" >&5
7063
 
echo "${ECHO_T}no" >&6; }
7064
 
fi
7065
 
 
7066
 
  if test "x$ac_ct_RANLIB" = x; then
7067
 
    RANLIB=":"
7068
 
  else
7069
 
    case $cross_compiling:$ac_tool_warned in
7070
 
yes:)
7071
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7072
 
whose name does not start with the host triplet.  If you think this
7073
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
7074
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7075
 
whose name does not start with the host triplet.  If you think this
7076
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7077
 
ac_tool_warned=yes ;;
7078
 
esac
7079
 
    RANLIB=$ac_ct_RANLIB
7080
 
  fi
7081
 
else
7082
 
  RANLIB="$ac_cv_prog_RANLIB"
7083
 
fi
7084
 
 
7085
 
if test -n "$ac_tool_prefix"; then
7086
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7087
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
7088
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7089
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7090
 
if test "${ac_cv_prog_STRIP+set}" = set; then
7091
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7092
 
else
7093
 
  if test -n "$STRIP"; then
7094
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7095
 
else
7096
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7097
 
for as_dir in $PATH
7098
 
do
7099
 
  IFS=$as_save_IFS
7100
 
  test -z "$as_dir" && as_dir=.
7101
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7102
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7103
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7104
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7105
 
    break 2
7106
 
  fi
7107
 
done
7108
 
done
7109
 
IFS=$as_save_IFS
7110
 
 
7111
 
fi
7112
 
fi
7113
 
STRIP=$ac_cv_prog_STRIP
7114
 
if test -n "$STRIP"; then
7115
 
  { echo "$as_me:$LINENO: result: $STRIP" >&5
7116
 
echo "${ECHO_T}$STRIP" >&6; }
7117
 
else
7118
 
  { echo "$as_me:$LINENO: result: no" >&5
7119
 
echo "${ECHO_T}no" >&6; }
7120
 
fi
7121
 
 
7122
 
 
7123
 
fi
7124
 
if test -z "$ac_cv_prog_STRIP"; then
7125
 
  ac_ct_STRIP=$STRIP
7126
 
  # Extract the first word of "strip", so it can be a program name with args.
7127
 
set dummy strip; ac_word=$2
7128
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7129
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7130
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
7131
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7132
 
else
7133
 
  if test -n "$ac_ct_STRIP"; then
7134
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7135
 
else
7136
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7137
 
for as_dir in $PATH
7138
 
do
7139
 
  IFS=$as_save_IFS
7140
 
  test -z "$as_dir" && as_dir=.
7141
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7142
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7143
 
    ac_cv_prog_ac_ct_STRIP="strip"
7144
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7145
 
    break 2
7146
 
  fi
7147
 
done
7148
 
done
7149
 
IFS=$as_save_IFS
7150
 
 
7151
 
fi
7152
 
fi
7153
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7154
 
if test -n "$ac_ct_STRIP"; then
7155
 
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
7156
 
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
7157
 
else
7158
 
  { echo "$as_me:$LINENO: result: no" >&5
7159
 
echo "${ECHO_T}no" >&6; }
7160
 
fi
7161
 
 
7162
 
  if test "x$ac_ct_STRIP" = x; then
7163
 
    STRIP=":"
7164
 
  else
7165
 
    case $cross_compiling:$ac_tool_warned in
7166
 
yes:)
7167
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7168
 
whose name does not start with the host triplet.  If you think this
7169
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
7170
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7171
 
whose name does not start with the host triplet.  If you think this
7172
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7173
 
ac_tool_warned=yes ;;
7174
 
esac
7175
 
    STRIP=$ac_ct_STRIP
7176
 
  fi
7177
 
else
7178
 
  STRIP="$ac_cv_prog_STRIP"
7179
 
fi
7180
 
 
7181
 
 
7182
 
old_CC="$CC"
7183
 
old_CFLAGS="$CFLAGS"
7184
 
 
7185
 
# Set sane defaults for various variables
7186
 
test -z "$AR" && AR=ar
7187
 
test -z "$AR_FLAGS" && AR_FLAGS=cru
7188
 
test -z "$AS" && AS=as
7189
 
test -z "$CC" && CC=cc
7190
 
test -z "$LTCC" && LTCC=$CC
7191
 
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7192
 
test -z "$DLLTOOL" && DLLTOOL=dlltool
7193
 
test -z "$LD" && LD=ld
7194
 
test -z "$LN_S" && LN_S="ln -s"
7195
 
test -z "$MAGIC_CMD" && MAGIC_CMD=file
7196
 
test -z "$NM" && NM=nm
7197
 
test -z "$SED" && SED=sed
7198
 
test -z "$OBJDUMP" && OBJDUMP=objdump
7199
 
test -z "$RANLIB" && RANLIB=:
7200
 
test -z "$STRIP" && STRIP=:
7201
 
test -z "$ac_objext" && ac_objext=o
7202
 
 
7203
 
# Determine commands to create old-style static archives.
7204
 
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7205
 
old_postinstall_cmds='chmod 644 $oldlib'
7206
 
old_postuninstall_cmds=
7207
 
 
7208
 
if test -n "$RANLIB"; then
7209
 
  case $host_os in
7210
 
  openbsd*)
7211
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7212
 
    ;;
7213
 
  *)
7214
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7215
 
    ;;
7216
 
  esac
7217
 
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7218
 
fi
7219
 
 
7220
 
for cc_temp in $compiler""; do
7221
 
  case $cc_temp in
7222
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7223
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7224
 
    \-*) ;;
7225
 
    *) break;;
7226
 
  esac
7227
 
done
7228
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7229
 
 
7230
 
 
7231
 
# Only perform the check for file, if the check method requires it
7232
 
case $deplibs_check_method in
7233
 
file_magic*)
7234
 
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7235
 
    { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7236
 
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
7237
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7238
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7239
 
else
7240
 
  case $MAGIC_CMD in
7241
 
[\\/*] |  ?:[\\/]*)
7242
 
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7243
 
  ;;
7244
 
*)
7245
 
  lt_save_MAGIC_CMD="$MAGIC_CMD"
7246
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7247
 
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7248
 
  for ac_dir in $ac_dummy; do
7249
 
    IFS="$lt_save_ifs"
7250
 
    test -z "$ac_dir" && ac_dir=.
7251
 
    if test -f $ac_dir/${ac_tool_prefix}file; then
7252
 
      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7253
 
      if test -n "$file_magic_test_file"; then
7254
 
        case $deplibs_check_method in
7255
 
        "file_magic "*)
7256
 
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7257
 
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7258
 
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7259
 
            $EGREP "$file_magic_regex" > /dev/null; then
7260
 
            :
7261
 
          else
7262
 
            cat <<EOF 1>&2
7263
 
 
7264
 
*** Warning: the command libtool uses to detect shared libraries,
7265
 
*** $file_magic_cmd, produces output that libtool cannot recognize.
7266
 
*** The result is that libtool may fail to recognize shared libraries
7267
 
*** as such.  This will affect the creation of libtool libraries that
7268
 
*** depend on shared libraries, but programs linked with such libtool
7269
 
*** libraries will work regardless of this problem.  Nevertheless, you
7270
 
*** may want to report the problem to your system manager and/or to
7271
 
*** bug-libtool@gnu.org
7272
 
 
7273
 
EOF
7274
 
          fi ;;
7275
 
        esac
7276
 
      fi
7277
 
      break
7278
 
    fi
7279
 
  done
7280
 
  IFS="$lt_save_ifs"
7281
 
  MAGIC_CMD="$lt_save_MAGIC_CMD"
7282
 
  ;;
7283
 
esac
7284
 
fi
7285
 
 
7286
 
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7287
 
if test -n "$MAGIC_CMD"; then
7288
 
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7289
 
echo "${ECHO_T}$MAGIC_CMD" >&6; }
7290
 
else
7291
 
  { echo "$as_me:$LINENO: result: no" >&5
7292
 
echo "${ECHO_T}no" >&6; }
7293
 
fi
7294
 
 
7295
 
if test -z "$lt_cv_path_MAGIC_CMD"; then
7296
 
  if test -n "$ac_tool_prefix"; then
7297
 
    { echo "$as_me:$LINENO: checking for file" >&5
7298
 
echo $ECHO_N "checking for file... $ECHO_C" >&6; }
7299
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7300
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7301
 
else
7302
 
  case $MAGIC_CMD in
7303
 
[\\/*] |  ?:[\\/]*)
7304
 
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7305
 
  ;;
7306
 
*)
7307
 
  lt_save_MAGIC_CMD="$MAGIC_CMD"
7308
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7309
 
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7310
 
  for ac_dir in $ac_dummy; do
7311
 
    IFS="$lt_save_ifs"
7312
 
    test -z "$ac_dir" && ac_dir=.
7313
 
    if test -f $ac_dir/file; then
7314
 
      lt_cv_path_MAGIC_CMD="$ac_dir/file"
7315
 
      if test -n "$file_magic_test_file"; then
7316
 
        case $deplibs_check_method in
7317
 
        "file_magic "*)
7318
 
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7319
 
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7320
 
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7321
 
            $EGREP "$file_magic_regex" > /dev/null; then
7322
 
            :
7323
 
          else
7324
 
            cat <<EOF 1>&2
7325
 
 
7326
 
*** Warning: the command libtool uses to detect shared libraries,
7327
 
*** $file_magic_cmd, produces output that libtool cannot recognize.
7328
 
*** The result is that libtool may fail to recognize shared libraries
7329
 
*** as such.  This will affect the creation of libtool libraries that
7330
 
*** depend on shared libraries, but programs linked with such libtool
7331
 
*** libraries will work regardless of this problem.  Nevertheless, you
7332
 
*** may want to report the problem to your system manager and/or to
7333
 
*** bug-libtool@gnu.org
7334
 
 
7335
 
EOF
7336
 
          fi ;;
7337
 
        esac
7338
 
      fi
7339
 
      break
7340
 
    fi
7341
 
  done
7342
 
  IFS="$lt_save_ifs"
7343
 
  MAGIC_CMD="$lt_save_MAGIC_CMD"
7344
 
  ;;
7345
 
esac
7346
 
fi
7347
 
 
7348
 
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7349
 
if test -n "$MAGIC_CMD"; then
7350
 
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7351
 
echo "${ECHO_T}$MAGIC_CMD" >&6; }
7352
 
else
7353
 
  { echo "$as_me:$LINENO: result: no" >&5
7354
 
echo "${ECHO_T}no" >&6; }
7355
 
fi
7356
 
 
7357
 
  else
7358
 
    MAGIC_CMD=:
7359
 
  fi
7360
 
fi
7361
 
 
7362
 
  fi
7363
 
  ;;
7364
 
esac
 
5929
  { $as_echo "$as_me:$LINENO: result: failed" >&5
 
5930
$as_echo "failed" >&6; }
 
5931
else
 
5932
  { $as_echo "$as_me:$LINENO: result: ok" >&5
 
5933
$as_echo "ok" >&6; }
 
5934
fi
 
5935
 
 
5936
 
 
5937
 
 
5938
 
 
5939
 
 
5940
 
 
5941
 
 
5942
 
 
5943
 
 
5944
 
 
5945
 
 
5946
 
 
5947
 
 
5948
 
 
5949
 
 
5950
 
 
5951
 
 
5952
 
 
5953
 
 
5954
 
 
5955
 
 
5956
 
 
5957
 
 
5958
# Check whether --enable-libtool-lock was given.
 
5959
if test "${enable_libtool_lock+set}" = set; then
 
5960
  enableval=$enable_libtool_lock;
 
5961
fi
 
5962
 
 
5963
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
 
5964
 
 
5965
# Some flags need to be propagated to the compiler or linker for good
 
5966
# libtool support.
 
5967
case $host in
 
5968
ia64-*-hpux*)
 
5969
  # Find out which ABI we are using.
 
5970
  echo 'int i;' > conftest.$ac_ext
 
5971
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
5972
  (eval $ac_compile) 2>&5
 
5973
  ac_status=$?
 
5974
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5975
  (exit $ac_status); }; then
 
5976
    case `/usr/bin/file conftest.$ac_objext` in
 
5977
      *ELF-32*)
 
5978
        HPUX_IA64_MODE="32"
 
5979
        ;;
 
5980
      *ELF-64*)
 
5981
        HPUX_IA64_MODE="64"
 
5982
        ;;
 
5983
    esac
 
5984
  fi
 
5985
  rm -rf conftest*
 
5986
  ;;
 
5987
*-*-irix6*)
 
5988
  # Find out which ABI we are using.
 
5989
  echo '#line 5989 "configure"' > conftest.$ac_ext
 
5990
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
5991
  (eval $ac_compile) 2>&5
 
5992
  ac_status=$?
 
5993
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5994
  (exit $ac_status); }; then
 
5995
    if test "$lt_cv_prog_gnu_ld" = yes; then
 
5996
      case `/usr/bin/file conftest.$ac_objext` in
 
5997
        *32-bit*)
 
5998
          LD="${LD-ld} -melf32bsmip"
 
5999
          ;;
 
6000
        *N32*)
 
6001
          LD="${LD-ld} -melf32bmipn32"
 
6002
          ;;
 
6003
        *64-bit*)
 
6004
          LD="${LD-ld} -melf64bmip"
 
6005
        ;;
 
6006
      esac
 
6007
    else
 
6008
      case `/usr/bin/file conftest.$ac_objext` in
 
6009
        *32-bit*)
 
6010
          LD="${LD-ld} -32"
 
6011
          ;;
 
6012
        *N32*)
 
6013
          LD="${LD-ld} -n32"
 
6014
          ;;
 
6015
        *64-bit*)
 
6016
          LD="${LD-ld} -64"
 
6017
          ;;
 
6018
      esac
 
6019
    fi
 
6020
  fi
 
6021
  rm -rf conftest*
 
6022
  ;;
 
6023
 
 
6024
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
 
6025
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
 
6026
  # Find out which ABI we are using.
 
6027
  echo 'int i;' > conftest.$ac_ext
 
6028
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
6029
  (eval $ac_compile) 2>&5
 
6030
  ac_status=$?
 
6031
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6032
  (exit $ac_status); }; then
 
6033
    case `/usr/bin/file conftest.o` in
 
6034
      *32-bit*)
 
6035
        case $host in
 
6036
          x86_64-*kfreebsd*-gnu)
 
6037
            LD="${LD-ld} -m elf_i386_fbsd"
 
6038
            ;;
 
6039
          x86_64-*linux*)
 
6040
            LD="${LD-ld} -m elf_i386"
 
6041
            ;;
 
6042
          ppc64-*linux*|powerpc64-*linux*)
 
6043
            LD="${LD-ld} -m elf32ppclinux"
 
6044
            ;;
 
6045
          s390x-*linux*)
 
6046
            LD="${LD-ld} -m elf_s390"
 
6047
            ;;
 
6048
          sparc64-*linux*)
 
6049
            LD="${LD-ld} -m elf32_sparc"
 
6050
            ;;
 
6051
        esac
 
6052
        ;;
 
6053
      *64-bit*)
 
6054
        case $host in
 
6055
          x86_64-*kfreebsd*-gnu)
 
6056
            LD="${LD-ld} -m elf_x86_64_fbsd"
 
6057
            ;;
 
6058
          x86_64-*linux*)
 
6059
            LD="${LD-ld} -m elf_x86_64"
 
6060
            ;;
 
6061
          ppc*-*linux*|powerpc*-*linux*)
 
6062
            LD="${LD-ld} -m elf64ppc"
 
6063
            ;;
 
6064
          s390*-*linux*|s390*-*tpf*)
 
6065
            LD="${LD-ld} -m elf64_s390"
 
6066
            ;;
 
6067
          sparc*-*linux*)
 
6068
            LD="${LD-ld} -m elf64_sparc"
 
6069
            ;;
 
6070
        esac
 
6071
        ;;
 
6072
    esac
 
6073
  fi
 
6074
  rm -rf conftest*
 
6075
  ;;
 
6076
 
 
6077
*-*-sco3.2v5*)
 
6078
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
 
6079
  SAVE_CFLAGS="$CFLAGS"
 
6080
  CFLAGS="$CFLAGS -belf"
 
6081
  { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
 
6082
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
 
6083
if test "${lt_cv_cc_needs_belf+set}" = set; then
 
6084
  $as_echo_n "(cached) " >&6
 
6085
else
 
6086
  ac_ext=c
 
6087
ac_cpp='$CPP $CPPFLAGS'
 
6088
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
6089
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
6090
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
6091
 
 
6092
     cat >conftest.$ac_ext <<_ACEOF
 
6093
/* confdefs.h.  */
 
6094
_ACEOF
 
6095
cat confdefs.h >>conftest.$ac_ext
 
6096
cat >>conftest.$ac_ext <<_ACEOF
 
6097
/* end confdefs.h.  */
 
6098
 
 
6099
int
 
6100
main ()
 
6101
{
 
6102
 
 
6103
  ;
 
6104
  return 0;
 
6105
}
 
6106
_ACEOF
 
6107
rm -f conftest.$ac_objext conftest$ac_exeext
 
6108
if { (ac_try="$ac_link"
 
6109
case "(($ac_try" in
 
6110
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6111
  *) ac_try_echo=$ac_try;;
 
6112
esac
 
6113
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6114
$as_echo "$ac_try_echo") >&5
 
6115
  (eval "$ac_link") 2>conftest.er1
 
6116
  ac_status=$?
 
6117
  grep -v '^ *+' conftest.er1 >conftest.err
 
6118
  rm -f conftest.er1
 
6119
  cat conftest.err >&5
 
6120
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6121
  (exit $ac_status); } && {
 
6122
         test -z "$ac_c_werror_flag" ||
 
6123
         test ! -s conftest.err
 
6124
       } && test -s conftest$ac_exeext && {
 
6125
         test "$cross_compiling" = yes ||
 
6126
         $as_test_x conftest$ac_exeext
 
6127
       }; then
 
6128
  lt_cv_cc_needs_belf=yes
 
6129
else
 
6130
  $as_echo "$as_me: failed program was:" >&5
 
6131
sed 's/^/| /' conftest.$ac_ext >&5
 
6132
 
 
6133
        lt_cv_cc_needs_belf=no
 
6134
fi
 
6135
 
 
6136
rm -rf conftest.dSYM
 
6137
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
6138
      conftest$ac_exeext conftest.$ac_ext
 
6139
     ac_ext=c
 
6140
ac_cpp='$CPP $CPPFLAGS'
 
6141
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
6142
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
6143
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
6144
 
 
6145
fi
 
6146
{ $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
 
6147
$as_echo "$lt_cv_cc_needs_belf" >&6; }
 
6148
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
 
6149
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
 
6150
    CFLAGS="$SAVE_CFLAGS"
 
6151
  fi
 
6152
  ;;
 
6153
sparc*-*solaris*)
 
6154
  # Find out which ABI we are using.
 
6155
  echo 'int i;' > conftest.$ac_ext
 
6156
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
6157
  (eval $ac_compile) 2>&5
 
6158
  ac_status=$?
 
6159
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6160
  (exit $ac_status); }; then
 
6161
    case `/usr/bin/file conftest.o` in
 
6162
    *64-bit*)
 
6163
      case $lt_cv_prog_gnu_ld in
 
6164
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
 
6165
      *)
 
6166
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
 
6167
          LD="${LD-ld} -64"
 
6168
        fi
 
6169
        ;;
 
6170
      esac
 
6171
      ;;
 
6172
    esac
 
6173
  fi
 
6174
  rm -rf conftest*
 
6175
  ;;
 
6176
esac
 
6177
 
 
6178
need_locks="$enable_libtool_lock"
7365
6179
 
7366
6180
 
7367
6181
  case $host_os in
7369
6183
    if test -n "$ac_tool_prefix"; then
7370
6184
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7371
6185
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7372
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7373
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
6186
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6187
$as_echo_n "checking for $ac_word... " >&6; }
7374
6188
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
7375
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6189
  $as_echo_n "(cached) " >&6
7376
6190
else
7377
6191
  if test -n "$DSYMUTIL"; then
7378
6192
  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7385
6199
  for ac_exec_ext in '' $ac_executable_extensions; do
7386
6200
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7387
6201
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7388
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6202
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7389
6203
    break 2
7390
6204
  fi
7391
6205
done
7396
6210
fi
7397
6211
DSYMUTIL=$ac_cv_prog_DSYMUTIL
7398
6212
if test -n "$DSYMUTIL"; then
7399
 
  { echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
7400
 
echo "${ECHO_T}$DSYMUTIL" >&6; }
 
6213
  { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
 
6214
$as_echo "$DSYMUTIL" >&6; }
7401
6215
else
7402
 
  { echo "$as_me:$LINENO: result: no" >&5
7403
 
echo "${ECHO_T}no" >&6; }
 
6216
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6217
$as_echo "no" >&6; }
7404
6218
fi
7405
6219
 
7406
6220
 
7409
6223
  ac_ct_DSYMUTIL=$DSYMUTIL
7410
6224
  # Extract the first word of "dsymutil", so it can be a program name with args.
7411
6225
set dummy dsymutil; ac_word=$2
7412
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7413
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
6226
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6227
$as_echo_n "checking for $ac_word... " >&6; }
7414
6228
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
7415
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6229
  $as_echo_n "(cached) " >&6
7416
6230
else
7417
6231
  if test -n "$ac_ct_DSYMUTIL"; then
7418
6232
  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7425
6239
  for ac_exec_ext in '' $ac_executable_extensions; do
7426
6240
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7427
6241
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7428
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6242
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7429
6243
    break 2
7430
6244
  fi
7431
6245
done
7436
6250
fi
7437
6251
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7438
6252
if test -n "$ac_ct_DSYMUTIL"; then
7439
 
  { echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
7440
 
echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6; }
 
6253
  { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
 
6254
$as_echo "$ac_ct_DSYMUTIL" >&6; }
7441
6255
else
7442
 
  { echo "$as_me:$LINENO: result: no" >&5
7443
 
echo "${ECHO_T}no" >&6; }
 
6256
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6257
$as_echo "no" >&6; }
7444
6258
fi
7445
6259
 
7446
6260
  if test "x$ac_ct_DSYMUTIL" = x; then
7448
6262
  else
7449
6263
    case $cross_compiling:$ac_tool_warned in
7450
6264
yes:)
7451
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7452
 
whose name does not start with the host triplet.  If you think this
7453
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
7454
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7455
 
whose name does not start with the host triplet.  If you think this
7456
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
6265
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6266
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7457
6267
ac_tool_warned=yes ;;
7458
6268
esac
7459
6269
    DSYMUTIL=$ac_ct_DSYMUTIL
7465
6275
    if test -n "$ac_tool_prefix"; then
7466
6276
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7467
6277
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7468
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7469
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
6278
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6279
$as_echo_n "checking for $ac_word... " >&6; }
7470
6280
if test "${ac_cv_prog_NMEDIT+set}" = set; then
7471
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6281
  $as_echo_n "(cached) " >&6
7472
6282
else
7473
6283
  if test -n "$NMEDIT"; then
7474
6284
  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7481
6291
  for ac_exec_ext in '' $ac_executable_extensions; do
7482
6292
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7483
6293
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7484
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6294
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7485
6295
    break 2
7486
6296
  fi
7487
6297
done
7492
6302
fi
7493
6303
NMEDIT=$ac_cv_prog_NMEDIT
7494
6304
if test -n "$NMEDIT"; then
7495
 
  { echo "$as_me:$LINENO: result: $NMEDIT" >&5
7496
 
echo "${ECHO_T}$NMEDIT" >&6; }
 
6305
  { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
 
6306
$as_echo "$NMEDIT" >&6; }
7497
6307
else
7498
 
  { echo "$as_me:$LINENO: result: no" >&5
7499
 
echo "${ECHO_T}no" >&6; }
 
6308
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6309
$as_echo "no" >&6; }
7500
6310
fi
7501
6311
 
7502
6312
 
7505
6315
  ac_ct_NMEDIT=$NMEDIT
7506
6316
  # Extract the first word of "nmedit", so it can be a program name with args.
7507
6317
set dummy nmedit; ac_word=$2
7508
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7509
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
6318
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6319
$as_echo_n "checking for $ac_word... " >&6; }
7510
6320
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
7511
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6321
  $as_echo_n "(cached) " >&6
7512
6322
else
7513
6323
  if test -n "$ac_ct_NMEDIT"; then
7514
6324
  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7521
6331
  for ac_exec_ext in '' $ac_executable_extensions; do
7522
6332
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7523
6333
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
7524
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6334
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7525
6335
    break 2
7526
6336
  fi
7527
6337
done
7532
6342
fi
7533
6343
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7534
6344
if test -n "$ac_ct_NMEDIT"; then
7535
 
  { echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
7536
 
echo "${ECHO_T}$ac_ct_NMEDIT" >&6; }
 
6345
  { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
 
6346
$as_echo "$ac_ct_NMEDIT" >&6; }
7537
6347
else
7538
 
  { echo "$as_me:$LINENO: result: no" >&5
7539
 
echo "${ECHO_T}no" >&6; }
 
6348
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6349
$as_echo "no" >&6; }
7540
6350
fi
7541
6351
 
7542
6352
  if test "x$ac_ct_NMEDIT" = x; then
7544
6354
  else
7545
6355
    case $cross_compiling:$ac_tool_warned in
7546
6356
yes:)
7547
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7548
 
whose name does not start with the host triplet.  If you think this
7549
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
7550
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7551
 
whose name does not start with the host triplet.  If you think this
7552
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
6357
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6358
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7553
6359
ac_tool_warned=yes ;;
7554
6360
esac
7555
6361
    NMEDIT=$ac_ct_NMEDIT
7558
6364
  NMEDIT="$ac_cv_prog_NMEDIT"
7559
6365
fi
7560
6366
 
7561
 
 
7562
 
    { echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
7563
 
echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6; }
 
6367
    if test -n "$ac_tool_prefix"; then
 
6368
  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
 
6369
set dummy ${ac_tool_prefix}lipo; ac_word=$2
 
6370
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6371
$as_echo_n "checking for $ac_word... " >&6; }
 
6372
if test "${ac_cv_prog_LIPO+set}" = set; then
 
6373
  $as_echo_n "(cached) " >&6
 
6374
else
 
6375
  if test -n "$LIPO"; then
 
6376
  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
 
6377
else
 
6378
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6379
for as_dir in $PATH
 
6380
do
 
6381
  IFS=$as_save_IFS
 
6382
  test -z "$as_dir" && as_dir=.
 
6383
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6384
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6385
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
 
6386
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6387
    break 2
 
6388
  fi
 
6389
done
 
6390
done
 
6391
IFS=$as_save_IFS
 
6392
 
 
6393
fi
 
6394
fi
 
6395
LIPO=$ac_cv_prog_LIPO
 
6396
if test -n "$LIPO"; then
 
6397
  { $as_echo "$as_me:$LINENO: result: $LIPO" >&5
 
6398
$as_echo "$LIPO" >&6; }
 
6399
else
 
6400
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6401
$as_echo "no" >&6; }
 
6402
fi
 
6403
 
 
6404
 
 
6405
fi
 
6406
if test -z "$ac_cv_prog_LIPO"; then
 
6407
  ac_ct_LIPO=$LIPO
 
6408
  # Extract the first word of "lipo", so it can be a program name with args.
 
6409
set dummy lipo; ac_word=$2
 
6410
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6411
$as_echo_n "checking for $ac_word... " >&6; }
 
6412
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
 
6413
  $as_echo_n "(cached) " >&6
 
6414
else
 
6415
  if test -n "$ac_ct_LIPO"; then
 
6416
  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
 
6417
else
 
6418
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6419
for as_dir in $PATH
 
6420
do
 
6421
  IFS=$as_save_IFS
 
6422
  test -z "$as_dir" && as_dir=.
 
6423
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6424
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6425
    ac_cv_prog_ac_ct_LIPO="lipo"
 
6426
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6427
    break 2
 
6428
  fi
 
6429
done
 
6430
done
 
6431
IFS=$as_save_IFS
 
6432
 
 
6433
fi
 
6434
fi
 
6435
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
 
6436
if test -n "$ac_ct_LIPO"; then
 
6437
  { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
 
6438
$as_echo "$ac_ct_LIPO" >&6; }
 
6439
else
 
6440
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6441
$as_echo "no" >&6; }
 
6442
fi
 
6443
 
 
6444
  if test "x$ac_ct_LIPO" = x; then
 
6445
    LIPO=":"
 
6446
  else
 
6447
    case $cross_compiling:$ac_tool_warned in
 
6448
yes:)
 
6449
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6450
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6451
ac_tool_warned=yes ;;
 
6452
esac
 
6453
    LIPO=$ac_ct_LIPO
 
6454
  fi
 
6455
else
 
6456
  LIPO="$ac_cv_prog_LIPO"
 
6457
fi
 
6458
 
 
6459
    if test -n "$ac_tool_prefix"; then
 
6460
  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
 
6461
set dummy ${ac_tool_prefix}otool; ac_word=$2
 
6462
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6463
$as_echo_n "checking for $ac_word... " >&6; }
 
6464
if test "${ac_cv_prog_OTOOL+set}" = set; then
 
6465
  $as_echo_n "(cached) " >&6
 
6466
else
 
6467
  if test -n "$OTOOL"; then
 
6468
  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
 
6469
else
 
6470
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6471
for as_dir in $PATH
 
6472
do
 
6473
  IFS=$as_save_IFS
 
6474
  test -z "$as_dir" && as_dir=.
 
6475
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6476
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6477
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
 
6478
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6479
    break 2
 
6480
  fi
 
6481
done
 
6482
done
 
6483
IFS=$as_save_IFS
 
6484
 
 
6485
fi
 
6486
fi
 
6487
OTOOL=$ac_cv_prog_OTOOL
 
6488
if test -n "$OTOOL"; then
 
6489
  { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5
 
6490
$as_echo "$OTOOL" >&6; }
 
6491
else
 
6492
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6493
$as_echo "no" >&6; }
 
6494
fi
 
6495
 
 
6496
 
 
6497
fi
 
6498
if test -z "$ac_cv_prog_OTOOL"; then
 
6499
  ac_ct_OTOOL=$OTOOL
 
6500
  # Extract the first word of "otool", so it can be a program name with args.
 
6501
set dummy otool; ac_word=$2
 
6502
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6503
$as_echo_n "checking for $ac_word... " >&6; }
 
6504
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
 
6505
  $as_echo_n "(cached) " >&6
 
6506
else
 
6507
  if test -n "$ac_ct_OTOOL"; then
 
6508
  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
 
6509
else
 
6510
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6511
for as_dir in $PATH
 
6512
do
 
6513
  IFS=$as_save_IFS
 
6514
  test -z "$as_dir" && as_dir=.
 
6515
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6516
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6517
    ac_cv_prog_ac_ct_OTOOL="otool"
 
6518
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6519
    break 2
 
6520
  fi
 
6521
done
 
6522
done
 
6523
IFS=$as_save_IFS
 
6524
 
 
6525
fi
 
6526
fi
 
6527
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
 
6528
if test -n "$ac_ct_OTOOL"; then
 
6529
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
 
6530
$as_echo "$ac_ct_OTOOL" >&6; }
 
6531
else
 
6532
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6533
$as_echo "no" >&6; }
 
6534
fi
 
6535
 
 
6536
  if test "x$ac_ct_OTOOL" = x; then
 
6537
    OTOOL=":"
 
6538
  else
 
6539
    case $cross_compiling:$ac_tool_warned in
 
6540
yes:)
 
6541
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6542
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6543
ac_tool_warned=yes ;;
 
6544
esac
 
6545
    OTOOL=$ac_ct_OTOOL
 
6546
  fi
 
6547
else
 
6548
  OTOOL="$ac_cv_prog_OTOOL"
 
6549
fi
 
6550
 
 
6551
    if test -n "$ac_tool_prefix"; then
 
6552
  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
 
6553
set dummy ${ac_tool_prefix}otool64; ac_word=$2
 
6554
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6555
$as_echo_n "checking for $ac_word... " >&6; }
 
6556
if test "${ac_cv_prog_OTOOL64+set}" = set; then
 
6557
  $as_echo_n "(cached) " >&6
 
6558
else
 
6559
  if test -n "$OTOOL64"; then
 
6560
  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
 
6561
else
 
6562
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6563
for as_dir in $PATH
 
6564
do
 
6565
  IFS=$as_save_IFS
 
6566
  test -z "$as_dir" && as_dir=.
 
6567
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6568
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6569
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
 
6570
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6571
    break 2
 
6572
  fi
 
6573
done
 
6574
done
 
6575
IFS=$as_save_IFS
 
6576
 
 
6577
fi
 
6578
fi
 
6579
OTOOL64=$ac_cv_prog_OTOOL64
 
6580
if test -n "$OTOOL64"; then
 
6581
  { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5
 
6582
$as_echo "$OTOOL64" >&6; }
 
6583
else
 
6584
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6585
$as_echo "no" >&6; }
 
6586
fi
 
6587
 
 
6588
 
 
6589
fi
 
6590
if test -z "$ac_cv_prog_OTOOL64"; then
 
6591
  ac_ct_OTOOL64=$OTOOL64
 
6592
  # Extract the first word of "otool64", so it can be a program name with args.
 
6593
set dummy otool64; ac_word=$2
 
6594
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6595
$as_echo_n "checking for $ac_word... " >&6; }
 
6596
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
 
6597
  $as_echo_n "(cached) " >&6
 
6598
else
 
6599
  if test -n "$ac_ct_OTOOL64"; then
 
6600
  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
 
6601
else
 
6602
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6603
for as_dir in $PATH
 
6604
do
 
6605
  IFS=$as_save_IFS
 
6606
  test -z "$as_dir" && as_dir=.
 
6607
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6608
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6609
    ac_cv_prog_ac_ct_OTOOL64="otool64"
 
6610
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6611
    break 2
 
6612
  fi
 
6613
done
 
6614
done
 
6615
IFS=$as_save_IFS
 
6616
 
 
6617
fi
 
6618
fi
 
6619
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
 
6620
if test -n "$ac_ct_OTOOL64"; then
 
6621
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
 
6622
$as_echo "$ac_ct_OTOOL64" >&6; }
 
6623
else
 
6624
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6625
$as_echo "no" >&6; }
 
6626
fi
 
6627
 
 
6628
  if test "x$ac_ct_OTOOL64" = x; then
 
6629
    OTOOL64=":"
 
6630
  else
 
6631
    case $cross_compiling:$ac_tool_warned in
 
6632
yes:)
 
6633
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6634
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6635
ac_tool_warned=yes ;;
 
6636
esac
 
6637
    OTOOL64=$ac_ct_OTOOL64
 
6638
  fi
 
6639
else
 
6640
  OTOOL64="$ac_cv_prog_OTOOL64"
 
6641
fi
 
6642
 
 
6643
 
 
6644
 
 
6645
 
 
6646
 
 
6647
 
 
6648
 
 
6649
 
 
6650
 
 
6651
 
 
6652
 
 
6653
 
 
6654
 
 
6655
 
 
6656
 
 
6657
 
 
6658
 
 
6659
 
 
6660
 
 
6661
 
 
6662
 
 
6663
 
 
6664
 
 
6665
 
 
6666
 
 
6667
 
 
6668
 
 
6669
    { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
 
6670
$as_echo_n "checking for -single_module linker flag... " >&6; }
7564
6671
if test "${lt_cv_apple_cc_single_mod+set}" = set; then
7565
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6672
  $as_echo_n "(cached) " >&6
7566
6673
else
7567
6674
  lt_cv_apple_cc_single_mod=no
7568
6675
      if test -z "${LT_MULTI_MODULE}"; then
7569
 
   # By default we will add the -single_module flag. You can override
7570
 
   # by either setting the environment variable LT_MULTI_MODULE
7571
 
   # non-empty at configure time, or by adding -multi_module to the
7572
 
   # link flags.
7573
 
   echo "int foo(void){return 1;}" > conftest.c
7574
 
   $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7575
 
     -dynamiclib ${wl}-single_module conftest.c
7576
 
   if test -f libconftest.dylib; then
7577
 
     lt_cv_apple_cc_single_mod=yes
7578
 
     rm -rf libconftest.dylib*
7579
 
   fi
7580
 
   rm conftest.c
 
6676
        # By default we will add the -single_module flag. You can override
 
6677
        # by either setting the environment variable LT_MULTI_MODULE
 
6678
        # non-empty at configure time, or by adding -multi_module to the
 
6679
        # link flags.
 
6680
        rm -rf libconftest.dylib*
 
6681
        echo "int foo(void){return 1;}" > conftest.c
 
6682
        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
6683
-dynamiclib -Wl,-single_module conftest.c" >&5
 
6684
        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
6685
          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
 
6686
        _lt_result=$?
 
6687
        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
 
6688
          lt_cv_apple_cc_single_mod=yes
 
6689
        else
 
6690
          cat conftest.err >&5
 
6691
        fi
 
6692
        rm -rf libconftest.dylib*
 
6693
        rm -f conftest.*
7581
6694
      fi
7582
6695
fi
7583
 
{ echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
7584
 
echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6; }
7585
 
    { echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
7586
 
echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6; }
 
6696
{ $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
 
6697
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
 
6698
    { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
 
6699
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7587
6700
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
7588
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6701
  $as_echo_n "(cached) " >&6
7589
6702
else
7590
6703
  lt_cv_ld_exported_symbols_list=no
7591
6704
      save_LDFLAGS=$LDFLAGS
7612
6725
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7613
6726
  *) ac_try_echo=$ac_try;;
7614
6727
esac
7615
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6728
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6729
$as_echo "$ac_try_echo") >&5
7616
6730
  (eval "$ac_link") 2>conftest.er1
7617
6731
  ac_status=$?
7618
6732
  grep -v '^ *+' conftest.er1 >conftest.err
7619
6733
  rm -f conftest.er1
7620
6734
  cat conftest.err >&5
7621
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6735
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7622
6736
  (exit $ac_status); } && {
7623
6737
         test -z "$ac_c_werror_flag" ||
7624
6738
         test ! -s conftest.err
7625
 
       } && test -s conftest$ac_exeext &&
7626
 
       $as_test_x conftest$ac_exeext; then
 
6739
       } && test -s conftest$ac_exeext && {
 
6740
         test "$cross_compiling" = yes ||
 
6741
         $as_test_x conftest$ac_exeext
 
6742
       }; then
7627
6743
  lt_cv_ld_exported_symbols_list=yes
7628
6744
else
7629
 
  echo "$as_me: failed program was:" >&5
 
6745
  $as_echo "$as_me: failed program was:" >&5
7630
6746
sed 's/^/| /' conftest.$ac_ext >&5
7631
6747
 
7632
6748
        lt_cv_ld_exported_symbols_list=no
7633
6749
fi
7634
6750
 
 
6751
rm -rf conftest.dSYM
7635
6752
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7636
6753
      conftest$ac_exeext conftest.$ac_ext
7637
 
   LDFLAGS="$save_LDFLAGS"
 
6754
        LDFLAGS="$save_LDFLAGS"
7638
6755
 
7639
6756
fi
7640
 
{ echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
7641
 
echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6; }
 
6757
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
 
6758
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7642
6759
    case $host_os in
7643
 
    rhapsody* | darwin1.[0123])
 
6760
    rhapsody* | darwin1.[012])
7644
6761
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7645
6762
    darwin1.*)
7646
 
     _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7647
 
    darwin*)
 
6763
      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
6764
    darwin*) # darwin 5.x on
7648
6765
      # if running on 10.5 or later, the deployment target defaults
7649
6766
      # to the OS version, if on x86, and 10.4, the deployment
7650
6767
      # target defaults to 10.4. Don't you love it?
7651
6768
      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7652
 
   10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7653
 
     _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7654
 
   10.[012]*)
7655
 
     _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7656
 
   10.*)
7657
 
     _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
6769
        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
 
6770
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
6771
        10.[012]*)
 
6772
          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
6773
        10.*)
 
6774
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7658
6775
      esac
7659
6776
    ;;
7660
6777
  esac
7664
6781
    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7665
6782
      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7666
6783
    else
7667
 
      _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
 
6784
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7668
6785
    fi
7669
6786
    if test "$DSYMUTIL" != ":"; then
7670
 
      _lt_dsymutil="~$DSYMUTIL \$lib || :"
 
6787
      _lt_dsymutil='~$DSYMUTIL $lib || :'
7671
6788
    else
7672
6789
      _lt_dsymutil=
7673
6790
    fi
7674
6791
    ;;
7675
6792
  esac
7676
6793
 
7677
 
 
7678
 
enable_dlopen=yes
7679
 
enable_win32_dll=no
7680
 
 
7681
 
# Check whether --enable-libtool-lock was given.
7682
 
if test "${enable_libtool_lock+set}" = set; then
7683
 
  enableval=$enable_libtool_lock;
7684
 
fi
7685
 
 
7686
 
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
 
6794
ac_ext=c
 
6795
ac_cpp='$CPP $CPPFLAGS'
 
6796
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
6797
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
6798
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
6799
{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 
6800
$as_echo_n "checking how to run the C preprocessor... " >&6; }
 
6801
# On Suns, sometimes $CPP names a directory.
 
6802
if test -n "$CPP" && test -d "$CPP"; then
 
6803
  CPP=
 
6804
fi
 
6805
if test -z "$CPP"; then
 
6806
  if test "${ac_cv_prog_CPP+set}" = set; then
 
6807
  $as_echo_n "(cached) " >&6
 
6808
else
 
6809
      # Double quotes because CPP needs to be expanded
 
6810
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 
6811
    do
 
6812
      ac_preproc_ok=false
 
6813
for ac_c_preproc_warn_flag in '' yes
 
6814
do
 
6815
  # Use a header file that comes with gcc, so configuring glibc
 
6816
  # with a fresh cross-compiler works.
 
6817
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
6818
  # <limits.h> exists even on freestanding compilers.
 
6819
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
6820
  # not just through cpp. "Syntax error" is here to catch this case.
 
6821
  cat >conftest.$ac_ext <<_ACEOF
 
6822
/* confdefs.h.  */
 
6823
_ACEOF
 
6824
cat confdefs.h >>conftest.$ac_ext
 
6825
cat >>conftest.$ac_ext <<_ACEOF
 
6826
/* end confdefs.h.  */
 
6827
#ifdef __STDC__
 
6828
# include <limits.h>
 
6829
#else
 
6830
# include <assert.h>
 
6831
#endif
 
6832
                     Syntax error
 
6833
_ACEOF
 
6834
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
6835
case "(($ac_try" in
 
6836
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6837
  *) ac_try_echo=$ac_try;;
 
6838
esac
 
6839
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6840
$as_echo "$ac_try_echo") >&5
 
6841
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
6842
  ac_status=$?
 
6843
  grep -v '^ *+' conftest.er1 >conftest.err
 
6844
  rm -f conftest.er1
 
6845
  cat conftest.err >&5
 
6846
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6847
  (exit $ac_status); } >/dev/null && {
 
6848
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
6849
         test ! -s conftest.err
 
6850
       }; then
 
6851
  :
 
6852
else
 
6853
  $as_echo "$as_me: failed program was:" >&5
 
6854
sed 's/^/| /' conftest.$ac_ext >&5
 
6855
 
 
6856
  # Broken: fails on valid input.
 
6857
continue
 
6858
fi
 
6859
 
 
6860
rm -f conftest.err conftest.$ac_ext
 
6861
 
 
6862
  # OK, works on sane cases.  Now check whether nonexistent headers
 
6863
  # can be detected and how.
 
6864
  cat >conftest.$ac_ext <<_ACEOF
 
6865
/* confdefs.h.  */
 
6866
_ACEOF
 
6867
cat confdefs.h >>conftest.$ac_ext
 
6868
cat >>conftest.$ac_ext <<_ACEOF
 
6869
/* end confdefs.h.  */
 
6870
#include <ac_nonexistent.h>
 
6871
_ACEOF
 
6872
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
6873
case "(($ac_try" in
 
6874
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6875
  *) ac_try_echo=$ac_try;;
 
6876
esac
 
6877
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6878
$as_echo "$ac_try_echo") >&5
 
6879
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
6880
  ac_status=$?
 
6881
  grep -v '^ *+' conftest.er1 >conftest.err
 
6882
  rm -f conftest.er1
 
6883
  cat conftest.err >&5
 
6884
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6885
  (exit $ac_status); } >/dev/null && {
 
6886
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
6887
         test ! -s conftest.err
 
6888
       }; then
 
6889
  # Broken: success on invalid input.
 
6890
continue
 
6891
else
 
6892
  $as_echo "$as_me: failed program was:" >&5
 
6893
sed 's/^/| /' conftest.$ac_ext >&5
 
6894
 
 
6895
  # Passes both tests.
 
6896
ac_preproc_ok=:
 
6897
break
 
6898
fi
 
6899
 
 
6900
rm -f conftest.err conftest.$ac_ext
 
6901
 
 
6902
done
 
6903
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
6904
rm -f conftest.err conftest.$ac_ext
 
6905
if $ac_preproc_ok; then
 
6906
  break
 
6907
fi
 
6908
 
 
6909
    done
 
6910
    ac_cv_prog_CPP=$CPP
 
6911
 
 
6912
fi
 
6913
  CPP=$ac_cv_prog_CPP
 
6914
else
 
6915
  ac_cv_prog_CPP=$CPP
 
6916
fi
 
6917
{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
 
6918
$as_echo "$CPP" >&6; }
 
6919
ac_preproc_ok=false
 
6920
for ac_c_preproc_warn_flag in '' yes
 
6921
do
 
6922
  # Use a header file that comes with gcc, so configuring glibc
 
6923
  # with a fresh cross-compiler works.
 
6924
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
6925
  # <limits.h> exists even on freestanding compilers.
 
6926
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
6927
  # not just through cpp. "Syntax error" is here to catch this case.
 
6928
  cat >conftest.$ac_ext <<_ACEOF
 
6929
/* confdefs.h.  */
 
6930
_ACEOF
 
6931
cat confdefs.h >>conftest.$ac_ext
 
6932
cat >>conftest.$ac_ext <<_ACEOF
 
6933
/* end confdefs.h.  */
 
6934
#ifdef __STDC__
 
6935
# include <limits.h>
 
6936
#else
 
6937
# include <assert.h>
 
6938
#endif
 
6939
                     Syntax error
 
6940
_ACEOF
 
6941
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
6942
case "(($ac_try" in
 
6943
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6944
  *) ac_try_echo=$ac_try;;
 
6945
esac
 
6946
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6947
$as_echo "$ac_try_echo") >&5
 
6948
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
6949
  ac_status=$?
 
6950
  grep -v '^ *+' conftest.er1 >conftest.err
 
6951
  rm -f conftest.er1
 
6952
  cat conftest.err >&5
 
6953
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6954
  (exit $ac_status); } >/dev/null && {
 
6955
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
6956
         test ! -s conftest.err
 
6957
       }; then
 
6958
  :
 
6959
else
 
6960
  $as_echo "$as_me: failed program was:" >&5
 
6961
sed 's/^/| /' conftest.$ac_ext >&5
 
6962
 
 
6963
  # Broken: fails on valid input.
 
6964
continue
 
6965
fi
 
6966
 
 
6967
rm -f conftest.err conftest.$ac_ext
 
6968
 
 
6969
  # OK, works on sane cases.  Now check whether nonexistent headers
 
6970
  # can be detected and how.
 
6971
  cat >conftest.$ac_ext <<_ACEOF
 
6972
/* confdefs.h.  */
 
6973
_ACEOF
 
6974
cat confdefs.h >>conftest.$ac_ext
 
6975
cat >>conftest.$ac_ext <<_ACEOF
 
6976
/* end confdefs.h.  */
 
6977
#include <ac_nonexistent.h>
 
6978
_ACEOF
 
6979
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
6980
case "(($ac_try" in
 
6981
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6982
  *) ac_try_echo=$ac_try;;
 
6983
esac
 
6984
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6985
$as_echo "$ac_try_echo") >&5
 
6986
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
6987
  ac_status=$?
 
6988
  grep -v '^ *+' conftest.er1 >conftest.err
 
6989
  rm -f conftest.er1
 
6990
  cat conftest.err >&5
 
6991
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6992
  (exit $ac_status); } >/dev/null && {
 
6993
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
6994
         test ! -s conftest.err
 
6995
       }; then
 
6996
  # Broken: success on invalid input.
 
6997
continue
 
6998
else
 
6999
  $as_echo "$as_me: failed program was:" >&5
 
7000
sed 's/^/| /' conftest.$ac_ext >&5
 
7001
 
 
7002
  # Passes both tests.
 
7003
ac_preproc_ok=:
 
7004
break
 
7005
fi
 
7006
 
 
7007
rm -f conftest.err conftest.$ac_ext
 
7008
 
 
7009
done
 
7010
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
7011
rm -f conftest.err conftest.$ac_ext
 
7012
if $ac_preproc_ok; then
 
7013
  :
 
7014
else
 
7015
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
7016
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
7017
{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
 
7018
See \`config.log' for more details." >&5
 
7019
$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
 
7020
See \`config.log' for more details." >&2;}
 
7021
   { (exit 1); exit 1; }; }; }
 
7022
fi
 
7023
 
 
7024
ac_ext=c
 
7025
ac_cpp='$CPP $CPPFLAGS'
 
7026
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
7027
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
7028
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
7029
 
 
7030
 
 
7031
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
7032
$as_echo_n "checking for ANSI C header files... " >&6; }
 
7033
if test "${ac_cv_header_stdc+set}" = set; then
 
7034
  $as_echo_n "(cached) " >&6
 
7035
else
 
7036
  cat >conftest.$ac_ext <<_ACEOF
 
7037
/* confdefs.h.  */
 
7038
_ACEOF
 
7039
cat confdefs.h >>conftest.$ac_ext
 
7040
cat >>conftest.$ac_ext <<_ACEOF
 
7041
/* end confdefs.h.  */
 
7042
#include <stdlib.h>
 
7043
#include <stdarg.h>
 
7044
#include <string.h>
 
7045
#include <float.h>
 
7046
 
 
7047
int
 
7048
main ()
 
7049
{
 
7050
 
 
7051
  ;
 
7052
  return 0;
 
7053
}
 
7054
_ACEOF
 
7055
rm -f conftest.$ac_objext
 
7056
if { (ac_try="$ac_compile"
 
7057
case "(($ac_try" in
 
7058
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7059
  *) ac_try_echo=$ac_try;;
 
7060
esac
 
7061
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7062
$as_echo "$ac_try_echo") >&5
 
7063
  (eval "$ac_compile") 2>conftest.er1
 
7064
  ac_status=$?
 
7065
  grep -v '^ *+' conftest.er1 >conftest.err
 
7066
  rm -f conftest.er1
 
7067
  cat conftest.err >&5
 
7068
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7069
  (exit $ac_status); } && {
 
7070
         test -z "$ac_c_werror_flag" ||
 
7071
         test ! -s conftest.err
 
7072
       } && test -s conftest.$ac_objext; then
 
7073
  ac_cv_header_stdc=yes
 
7074
else
 
7075
  $as_echo "$as_me: failed program was:" >&5
 
7076
sed 's/^/| /' conftest.$ac_ext >&5
 
7077
 
 
7078
        ac_cv_header_stdc=no
 
7079
fi
 
7080
 
 
7081
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
7082
 
 
7083
if test $ac_cv_header_stdc = yes; then
 
7084
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 
7085
  cat >conftest.$ac_ext <<_ACEOF
 
7086
/* confdefs.h.  */
 
7087
_ACEOF
 
7088
cat confdefs.h >>conftest.$ac_ext
 
7089
cat >>conftest.$ac_ext <<_ACEOF
 
7090
/* end confdefs.h.  */
 
7091
#include <string.h>
 
7092
 
 
7093
_ACEOF
 
7094
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
7095
  $EGREP "memchr" >/dev/null 2>&1; then
 
7096
  :
 
7097
else
 
7098
  ac_cv_header_stdc=no
 
7099
fi
 
7100
rm -f conftest*
 
7101
 
 
7102
fi
 
7103
 
 
7104
if test $ac_cv_header_stdc = yes; then
 
7105
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 
7106
  cat >conftest.$ac_ext <<_ACEOF
 
7107
/* confdefs.h.  */
 
7108
_ACEOF
 
7109
cat confdefs.h >>conftest.$ac_ext
 
7110
cat >>conftest.$ac_ext <<_ACEOF
 
7111
/* end confdefs.h.  */
 
7112
#include <stdlib.h>
 
7113
 
 
7114
_ACEOF
 
7115
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
7116
  $EGREP "free" >/dev/null 2>&1; then
 
7117
  :
 
7118
else
 
7119
  ac_cv_header_stdc=no
 
7120
fi
 
7121
rm -f conftest*
 
7122
 
 
7123
fi
 
7124
 
 
7125
if test $ac_cv_header_stdc = yes; then
 
7126
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 
7127
  if test "$cross_compiling" = yes; then
 
7128
  :
 
7129
else
 
7130
  cat >conftest.$ac_ext <<_ACEOF
 
7131
/* confdefs.h.  */
 
7132
_ACEOF
 
7133
cat confdefs.h >>conftest.$ac_ext
 
7134
cat >>conftest.$ac_ext <<_ACEOF
 
7135
/* end confdefs.h.  */
 
7136
#include <ctype.h>
 
7137
#include <stdlib.h>
 
7138
#if ((' ' & 0x0FF) == 0x020)
 
7139
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 
7140
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 
7141
#else
 
7142
# define ISLOWER(c) \
 
7143
                   (('a' <= (c) && (c) <= 'i') \
 
7144
                     || ('j' <= (c) && (c) <= 'r') \
 
7145
                     || ('s' <= (c) && (c) <= 'z'))
 
7146
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 
7147
#endif
 
7148
 
 
7149
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 
7150
int
 
7151
main ()
 
7152
{
 
7153
  int i;
 
7154
  for (i = 0; i < 256; i++)
 
7155
    if (XOR (islower (i), ISLOWER (i))
 
7156
        || toupper (i) != TOUPPER (i))
 
7157
      return 2;
 
7158
  return 0;
 
7159
}
 
7160
_ACEOF
 
7161
rm -f conftest$ac_exeext
 
7162
if { (ac_try="$ac_link"
 
7163
case "(($ac_try" in
 
7164
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7165
  *) ac_try_echo=$ac_try;;
 
7166
esac
 
7167
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7168
$as_echo "$ac_try_echo") >&5
 
7169
  (eval "$ac_link") 2>&5
 
7170
  ac_status=$?
 
7171
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7172
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 
7173
  { (case "(($ac_try" in
 
7174
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7175
  *) ac_try_echo=$ac_try;;
 
7176
esac
 
7177
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7178
$as_echo "$ac_try_echo") >&5
 
7179
  (eval "$ac_try") 2>&5
 
7180
  ac_status=$?
 
7181
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7182
  (exit $ac_status); }; }; then
 
7183
  :
 
7184
else
 
7185
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
7186
$as_echo "$as_me: failed program was:" >&5
 
7187
sed 's/^/| /' conftest.$ac_ext >&5
 
7188
 
 
7189
( exit $ac_status )
 
7190
ac_cv_header_stdc=no
 
7191
fi
 
7192
rm -rf conftest.dSYM
 
7193
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
7194
fi
 
7195
 
 
7196
 
 
7197
fi
 
7198
fi
 
7199
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
7200
$as_echo "$ac_cv_header_stdc" >&6; }
 
7201
if test $ac_cv_header_stdc = yes; then
 
7202
 
 
7203
cat >>confdefs.h <<\_ACEOF
 
7204
#define STDC_HEADERS 1
 
7205
_ACEOF
 
7206
 
 
7207
fi
 
7208
 
 
7209
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
 
7210
 
 
7211
 
 
7212
 
 
7213
 
 
7214
 
 
7215
 
 
7216
 
 
7217
 
 
7218
 
 
7219
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
 
7220
                  inttypes.h stdint.h unistd.h
 
7221
do
 
7222
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
7223
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
7224
$as_echo_n "checking for $ac_header... " >&6; }
 
7225
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
7226
  $as_echo_n "(cached) " >&6
 
7227
else
 
7228
  cat >conftest.$ac_ext <<_ACEOF
 
7229
/* confdefs.h.  */
 
7230
_ACEOF
 
7231
cat confdefs.h >>conftest.$ac_ext
 
7232
cat >>conftest.$ac_ext <<_ACEOF
 
7233
/* end confdefs.h.  */
 
7234
$ac_includes_default
 
7235
 
 
7236
#include <$ac_header>
 
7237
_ACEOF
 
7238
rm -f conftest.$ac_objext
 
7239
if { (ac_try="$ac_compile"
 
7240
case "(($ac_try" in
 
7241
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7242
  *) ac_try_echo=$ac_try;;
 
7243
esac
 
7244
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7245
$as_echo "$ac_try_echo") >&5
 
7246
  (eval "$ac_compile") 2>conftest.er1
 
7247
  ac_status=$?
 
7248
  grep -v '^ *+' conftest.er1 >conftest.err
 
7249
  rm -f conftest.er1
 
7250
  cat conftest.err >&5
 
7251
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7252
  (exit $ac_status); } && {
 
7253
         test -z "$ac_c_werror_flag" ||
 
7254
         test ! -s conftest.err
 
7255
       } && test -s conftest.$ac_objext; then
 
7256
  eval "$as_ac_Header=yes"
 
7257
else
 
7258
  $as_echo "$as_me: failed program was:" >&5
 
7259
sed 's/^/| /' conftest.$ac_ext >&5
 
7260
 
 
7261
        eval "$as_ac_Header=no"
 
7262
fi
 
7263
 
 
7264
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
7265
fi
 
7266
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
7267
                 $as_echo "$as_val"'`
 
7268
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
7269
$as_echo "$ac_res" >&6; }
 
7270
as_val=`eval 'as_val=${'$as_ac_Header'}
 
7271
                 $as_echo "$as_val"'`
 
7272
   if test "x$as_val" = x""yes; then
 
7273
  cat >>confdefs.h <<_ACEOF
 
7274
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
7275
_ACEOF
 
7276
 
 
7277
fi
 
7278
 
 
7279
done
 
7280
 
 
7281
 
 
7282
 
 
7283
for ac_header in dlfcn.h
 
7284
do
 
7285
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
7286
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
7287
$as_echo_n "checking for $ac_header... " >&6; }
 
7288
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
7289
  $as_echo_n "(cached) " >&6
 
7290
else
 
7291
  cat >conftest.$ac_ext <<_ACEOF
 
7292
/* confdefs.h.  */
 
7293
_ACEOF
 
7294
cat confdefs.h >>conftest.$ac_ext
 
7295
cat >>conftest.$ac_ext <<_ACEOF
 
7296
/* end confdefs.h.  */
 
7297
$ac_includes_default
 
7298
 
 
7299
#include <$ac_header>
 
7300
_ACEOF
 
7301
rm -f conftest.$ac_objext
 
7302
if { (ac_try="$ac_compile"
 
7303
case "(($ac_try" in
 
7304
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7305
  *) ac_try_echo=$ac_try;;
 
7306
esac
 
7307
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7308
$as_echo "$ac_try_echo") >&5
 
7309
  (eval "$ac_compile") 2>conftest.er1
 
7310
  ac_status=$?
 
7311
  grep -v '^ *+' conftest.er1 >conftest.err
 
7312
  rm -f conftest.er1
 
7313
  cat conftest.err >&5
 
7314
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7315
  (exit $ac_status); } && {
 
7316
         test -z "$ac_c_werror_flag" ||
 
7317
         test ! -s conftest.err
 
7318
       } && test -s conftest.$ac_objext; then
 
7319
  eval "$as_ac_Header=yes"
 
7320
else
 
7321
  $as_echo "$as_me: failed program was:" >&5
 
7322
sed 's/^/| /' conftest.$ac_ext >&5
 
7323
 
 
7324
        eval "$as_ac_Header=no"
 
7325
fi
 
7326
 
 
7327
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
7328
fi
 
7329
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
7330
                 $as_echo "$as_val"'`
 
7331
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
7332
$as_echo "$ac_res" >&6; }
 
7333
as_val=`eval 'as_val=${'$as_ac_Header'}
 
7334
                 $as_echo "$as_val"'`
 
7335
   if test "x$as_val" = x""yes; then
 
7336
  cat >>confdefs.h <<_ACEOF
 
7337
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
7338
_ACEOF
 
7339
 
 
7340
fi
 
7341
 
 
7342
done
 
7343
 
 
7344
 
 
7345
 
 
7346
# Set options
 
7347
 
 
7348
 
 
7349
 
 
7350
 
 
7351
  enable_win32_dll=no
 
7352
 
 
7353
 
 
7354
            # Check whether --enable-shared was given.
 
7355
if test "${enable_shared+set}" = set; then
 
7356
  enableval=$enable_shared; p=${PACKAGE-default}
 
7357
    case $enableval in
 
7358
    yes) enable_shared=yes ;;
 
7359
    no) enable_shared=no ;;
 
7360
    *)
 
7361
      enable_shared=no
 
7362
      # Look at the argument we got.  We use all the common list separators.
 
7363
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
7364
      for pkg in $enableval; do
 
7365
        IFS="$lt_save_ifs"
 
7366
        if test "X$pkg" = "X$p"; then
 
7367
          enable_shared=yes
 
7368
        fi
 
7369
      done
 
7370
      IFS="$lt_save_ifs"
 
7371
      ;;
 
7372
    esac
 
7373
else
 
7374
  enable_shared=yes
 
7375
fi
 
7376
 
 
7377
 
 
7378
 
 
7379
 
 
7380
 
 
7381
 
 
7382
 
 
7383
 
 
7384
 
7687
7385
 
7688
7386
 
7689
7387
# Check whether --with-pic was given.
7693
7391
  pic_mode=default
7694
7392
fi
7695
7393
 
 
7394
 
7696
7395
test -z "$pic_mode" && pic_mode=default
7697
7396
 
 
7397
 
 
7398
 
 
7399
 
 
7400
 
 
7401
 
 
7402
 
 
7403
  # Check whether --enable-fast-install was given.
 
7404
if test "${enable_fast_install+set}" = set; then
 
7405
  enableval=$enable_fast_install; p=${PACKAGE-default}
 
7406
    case $enableval in
 
7407
    yes) enable_fast_install=yes ;;
 
7408
    no) enable_fast_install=no ;;
 
7409
    *)
 
7410
      enable_fast_install=no
 
7411
      # Look at the argument we got.  We use all the common list separators.
 
7412
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
7413
      for pkg in $enableval; do
 
7414
        IFS="$lt_save_ifs"
 
7415
        if test "X$pkg" = "X$p"; then
 
7416
          enable_fast_install=yes
 
7417
        fi
 
7418
      done
 
7419
      IFS="$lt_save_ifs"
 
7420
      ;;
 
7421
    esac
 
7422
else
 
7423
  enable_fast_install=yes
 
7424
fi
 
7425
 
 
7426
 
 
7427
 
 
7428
 
 
7429
 
 
7430
 
 
7431
 
 
7432
 
 
7433
 
 
7434
 
 
7435
 
 
7436
# This can be used to rebuild libtool when needed
 
7437
LIBTOOL_DEPS="$ltmain"
 
7438
 
 
7439
# Always use our own libtool.
 
7440
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
 
7441
 
 
7442
 
 
7443
 
 
7444
 
 
7445
 
 
7446
 
 
7447
 
 
7448
 
 
7449
 
 
7450
 
 
7451
 
 
7452
 
 
7453
 
 
7454
 
 
7455
 
 
7456
 
 
7457
 
 
7458
 
 
7459
 
 
7460
 
 
7461
 
 
7462
 
 
7463
 
 
7464
 
 
7465
 
 
7466
test -z "$LN_S" && LN_S="ln -s"
 
7467
 
 
7468
 
 
7469
 
 
7470
 
 
7471
 
 
7472
 
 
7473
 
 
7474
 
 
7475
 
 
7476
 
 
7477
 
 
7478
 
 
7479
 
 
7480
 
 
7481
if test -n "${ZSH_VERSION+set}" ; then
 
7482
   setopt NO_GLOB_SUBST
 
7483
fi
 
7484
 
 
7485
{ $as_echo "$as_me:$LINENO: checking for objdir" >&5
 
7486
$as_echo_n "checking for objdir... " >&6; }
 
7487
if test "${lt_cv_objdir+set}" = set; then
 
7488
  $as_echo_n "(cached) " >&6
 
7489
else
 
7490
  rm -f .libs 2>/dev/null
 
7491
mkdir .libs 2>/dev/null
 
7492
if test -d .libs; then
 
7493
  lt_cv_objdir=.libs
 
7494
else
 
7495
  # MS-DOS does not allow filenames that begin with a dot.
 
7496
  lt_cv_objdir=_libs
 
7497
fi
 
7498
rmdir .libs 2>/dev/null
 
7499
fi
 
7500
{ $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
 
7501
$as_echo "$lt_cv_objdir" >&6; }
 
7502
objdir=$lt_cv_objdir
 
7503
 
 
7504
 
 
7505
 
 
7506
 
 
7507
 
 
7508
cat >>confdefs.h <<_ACEOF
 
7509
#define LT_OBJDIR "$lt_cv_objdir/"
 
7510
_ACEOF
 
7511
 
 
7512
 
 
7513
 
 
7514
 
 
7515
 
 
7516
 
 
7517
 
 
7518
 
 
7519
 
 
7520
 
 
7521
 
 
7522
 
 
7523
 
 
7524
 
 
7525
 
 
7526
 
 
7527
 
 
7528
case $host_os in
 
7529
aix3*)
 
7530
  # AIX sometimes has problems with the GCC collect2 program.  For some
 
7531
  # reason, if we set the COLLECT_NAMES environment variable, the problems
 
7532
  # vanish in a puff of smoke.
 
7533
  if test "X${COLLECT_NAMES+set}" != Xset; then
 
7534
    COLLECT_NAMES=
 
7535
    export COLLECT_NAMES
 
7536
  fi
 
7537
  ;;
 
7538
esac
 
7539
 
 
7540
# Sed substitution that helps us do robust quoting.  It backslashifies
 
7541
# metacharacters that are still active within double-quoted strings.
 
7542
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
 
7543
 
 
7544
# Same as above, but do not quote variable references.
 
7545
double_quote_subst='s/\(["`\\]\)/\\\1/g'
 
7546
 
 
7547
# Sed substitution to delay expansion of an escaped shell variable in a
 
7548
# double_quote_subst'ed string.
 
7549
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
 
7550
 
 
7551
# Sed substitution to delay expansion of an escaped single quote.
 
7552
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
 
7553
 
 
7554
# Sed substitution to avoid accidental globbing in evaled expressions
 
7555
no_glob_subst='s/\*/\\\*/g'
 
7556
 
 
7557
# Global variables:
 
7558
ofile=libtool
 
7559
can_build_shared=yes
 
7560
 
 
7561
# All known linkers require a `.a' archive for static linking (except MSVC,
 
7562
# which needs '.lib').
 
7563
libext=a
 
7564
 
 
7565
with_gnu_ld="$lt_cv_prog_gnu_ld"
 
7566
 
 
7567
old_CC="$CC"
 
7568
old_CFLAGS="$CFLAGS"
 
7569
 
 
7570
# Set sane defaults for various variables
 
7571
test -z "$CC" && CC=cc
 
7572
test -z "$LTCC" && LTCC=$CC
 
7573
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
 
7574
test -z "$LD" && LD=ld
 
7575
test -z "$ac_objext" && ac_objext=o
 
7576
 
 
7577
for cc_temp in $compiler""; do
 
7578
  case $cc_temp in
 
7579
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
7580
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
7581
    \-*) ;;
 
7582
    *) break;;
 
7583
  esac
 
7584
done
 
7585
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
7586
 
 
7587
 
 
7588
# Only perform the check for file, if the check method requires it
 
7589
test -z "$MAGIC_CMD" && MAGIC_CMD=file
 
7590
case $deplibs_check_method in
 
7591
file_magic*)
 
7592
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
 
7593
    { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
 
7594
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
 
7595
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
 
7596
  $as_echo_n "(cached) " >&6
 
7597
else
 
7598
  case $MAGIC_CMD in
 
7599
[\\/*] |  ?:[\\/]*)
 
7600
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 
7601
  ;;
 
7602
*)
 
7603
  lt_save_MAGIC_CMD="$MAGIC_CMD"
 
7604
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
7605
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 
7606
  for ac_dir in $ac_dummy; do
 
7607
    IFS="$lt_save_ifs"
 
7608
    test -z "$ac_dir" && ac_dir=.
 
7609
    if test -f $ac_dir/${ac_tool_prefix}file; then
 
7610
      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
 
7611
      if test -n "$file_magic_test_file"; then
 
7612
        case $deplibs_check_method in
 
7613
        "file_magic "*)
 
7614
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 
7615
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
7616
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 
7617
            $EGREP "$file_magic_regex" > /dev/null; then
 
7618
            :
 
7619
          else
 
7620
            cat <<_LT_EOF 1>&2
 
7621
 
 
7622
*** Warning: the command libtool uses to detect shared libraries,
 
7623
*** $file_magic_cmd, produces output that libtool cannot recognize.
 
7624
*** The result is that libtool may fail to recognize shared libraries
 
7625
*** as such.  This will affect the creation of libtool libraries that
 
7626
*** depend on shared libraries, but programs linked with such libtool
 
7627
*** libraries will work regardless of this problem.  Nevertheless, you
 
7628
*** may want to report the problem to your system manager and/or to
 
7629
*** bug-libtool@gnu.org
 
7630
 
 
7631
_LT_EOF
 
7632
          fi ;;
 
7633
        esac
 
7634
      fi
 
7635
      break
 
7636
    fi
 
7637
  done
 
7638
  IFS="$lt_save_ifs"
 
7639
  MAGIC_CMD="$lt_save_MAGIC_CMD"
 
7640
  ;;
 
7641
esac
 
7642
fi
 
7643
 
 
7644
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
7645
if test -n "$MAGIC_CMD"; then
 
7646
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
7647
$as_echo "$MAGIC_CMD" >&6; }
 
7648
else
 
7649
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7650
$as_echo "no" >&6; }
 
7651
fi
 
7652
 
 
7653
 
 
7654
 
 
7655
 
 
7656
 
 
7657
if test -z "$lt_cv_path_MAGIC_CMD"; then
 
7658
  if test -n "$ac_tool_prefix"; then
 
7659
    { $as_echo "$as_me:$LINENO: checking for file" >&5
 
7660
$as_echo_n "checking for file... " >&6; }
 
7661
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
 
7662
  $as_echo_n "(cached) " >&6
 
7663
else
 
7664
  case $MAGIC_CMD in
 
7665
[\\/*] |  ?:[\\/]*)
 
7666
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 
7667
  ;;
 
7668
*)
 
7669
  lt_save_MAGIC_CMD="$MAGIC_CMD"
 
7670
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
7671
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 
7672
  for ac_dir in $ac_dummy; do
 
7673
    IFS="$lt_save_ifs"
 
7674
    test -z "$ac_dir" && ac_dir=.
 
7675
    if test -f $ac_dir/file; then
 
7676
      lt_cv_path_MAGIC_CMD="$ac_dir/file"
 
7677
      if test -n "$file_magic_test_file"; then
 
7678
        case $deplibs_check_method in
 
7679
        "file_magic "*)
 
7680
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 
7681
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
7682
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 
7683
            $EGREP "$file_magic_regex" > /dev/null; then
 
7684
            :
 
7685
          else
 
7686
            cat <<_LT_EOF 1>&2
 
7687
 
 
7688
*** Warning: the command libtool uses to detect shared libraries,
 
7689
*** $file_magic_cmd, produces output that libtool cannot recognize.
 
7690
*** The result is that libtool may fail to recognize shared libraries
 
7691
*** as such.  This will affect the creation of libtool libraries that
 
7692
*** depend on shared libraries, but programs linked with such libtool
 
7693
*** libraries will work regardless of this problem.  Nevertheless, you
 
7694
*** may want to report the problem to your system manager and/or to
 
7695
*** bug-libtool@gnu.org
 
7696
 
 
7697
_LT_EOF
 
7698
          fi ;;
 
7699
        esac
 
7700
      fi
 
7701
      break
 
7702
    fi
 
7703
  done
 
7704
  IFS="$lt_save_ifs"
 
7705
  MAGIC_CMD="$lt_save_MAGIC_CMD"
 
7706
  ;;
 
7707
esac
 
7708
fi
 
7709
 
 
7710
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
7711
if test -n "$MAGIC_CMD"; then
 
7712
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
7713
$as_echo "$MAGIC_CMD" >&6; }
 
7714
else
 
7715
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7716
$as_echo "no" >&6; }
 
7717
fi
 
7718
 
 
7719
 
 
7720
  else
 
7721
    MAGIC_CMD=:
 
7722
  fi
 
7723
fi
 
7724
 
 
7725
  fi
 
7726
  ;;
 
7727
esac
 
7728
 
7698
7729
# Use C for the default configuration in the libtool script
7699
 
tagname=
 
7730
 
7700
7731
lt_save_CC="$CC"
7701
7732
ac_ext=c
7702
7733
ac_cpp='$CPP $CPPFLAGS'
7719
7750
lt_simple_link_test_code='int main(){return(0);}'
7720
7751
 
7721
7752
 
 
7753
 
 
7754
 
 
7755
 
 
7756
 
 
7757
 
7722
7758
# If no C compiler was specified, use CC.
7723
7759
LTCC=${LTCC-"$CC"}
7724
7760
 
7728
7764
# Allow CC to be a program name with arguments.
7729
7765
compiler=$CC
7730
7766
 
 
7767
# Save the default compiler, since it gets overwritten when the other
 
7768
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
 
7769
compiler_DEFAULT=$CC
7731
7770
 
7732
7771
# save warnings/boilerplate of simple test code
7733
7772
ac_outfile=conftest.$ac_objext
7734
7773
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7735
7774
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7736
7775
_lt_compiler_boilerplate=`cat conftest.err`
7737
 
$rm conftest*
 
7776
$RM conftest*
7738
7777
 
7739
7778
ac_outfile=conftest.$ac_objext
7740
7779
echo "$lt_simple_link_test_code" >conftest.$ac_ext
7741
7780
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7742
7781
_lt_linker_boilerplate=`cat conftest.err`
7743
 
$rm -r conftest*
7744
 
 
7745
 
 
 
7782
$RM -r conftest*
 
7783
 
 
7784
 
 
7785
## CAVEAT EMPTOR:
 
7786
## There is no encapsulation within the following macros, do not change
 
7787
## the running order or otherwise move them around unless you know exactly
 
7788
## what you are doing...
 
7789
if test -n "$compiler"; then
7746
7790
 
7747
7791
lt_prog_compiler_no_builtin_flag=
7748
7792
 
7749
7793
if test "$GCC" = yes; then
7750
7794
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7751
7795
 
7752
 
 
7753
 
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7754
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
 
7796
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
7797
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7755
7798
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7756
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7799
  $as_echo_n "(cached) " >&6
7757
7800
else
7758
7801
  lt_cv_prog_compiler_rtti_exceptions=no
7759
 
  ac_outfile=conftest.$ac_objext
 
7802
   ac_outfile=conftest.$ac_objext
7760
7803
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7761
7804
   lt_compiler_flag="-fno-rtti -fno-exceptions"
7762
7805
   # Insert the option either (1) after the last *FLAGS variable, or
7768
7811
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7769
7812
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7770
7813
   -e 's:$: $lt_compiler_flag:'`
7771
 
   (eval echo "\"\$as_me:7771: $lt_compile\"" >&5)
 
7814
   (eval echo "\"\$as_me:7814: $lt_compile\"" >&5)
7772
7815
   (eval "$lt_compile" 2>conftest.err)
7773
7816
   ac_status=$?
7774
7817
   cat conftest.err >&5
7775
 
   echo "$as_me:7775: \$? = $ac_status" >&5
 
7818
   echo "$as_me:7818: \$? = $ac_status" >&5
7776
7819
   if (exit $ac_status) && test -s "$ac_outfile"; then
7777
7820
     # The compiler can only warn and ignore the option if not recognized
7778
7821
     # So say no if there are warnings other than the usual output.
7779
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
7822
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7780
7823
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7781
7824
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7782
7825
       lt_cv_prog_compiler_rtti_exceptions=yes
7783
7826
     fi
7784
7827
   fi
7785
 
   $rm conftest*
 
7828
   $RM conftest*
7786
7829
 
7787
7830
fi
7788
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7789
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
 
7831
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
7832
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7790
7833
 
7791
7834
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7792
7835
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7796
7839
 
7797
7840
fi
7798
7841
 
7799
 
lt_prog_compiler_wl=
 
7842
 
 
7843
 
 
7844
 
 
7845
 
 
7846
 
 
7847
  lt_prog_compiler_wl=
7800
7848
lt_prog_compiler_pic=
7801
7849
lt_prog_compiler_static=
7802
7850
 
7803
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7804
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
 
7851
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
7852
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7805
7853
 
7806
7854
  if test "$GCC" = yes; then
7807
7855
    lt_prog_compiler_wl='-Wl,'
7817
7865
      ;;
7818
7866
 
7819
7867
    amigaos*)
7820
 
      # FIXME: we need at least 68020 code to build shared libraries, but
7821
 
      # adding the `-m68020' flag to GCC prevents building anything better,
7822
 
      # like `-m68040'.
7823
 
      lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
 
7868
      case $host_cpu in
 
7869
      powerpc)
 
7870
            # see comment about AmigaOS4 .so support
 
7871
            lt_prog_compiler_pic='-fPIC'
 
7872
        ;;
 
7873
      m68k)
 
7874
            # FIXME: we need at least 68020 code to build shared libraries, but
 
7875
            # adding the `-m68020' flag to GCC prevents building anything better,
 
7876
            # like `-m68040'.
 
7877
            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
 
7878
        ;;
 
7879
      esac
7824
7880
      ;;
7825
7881
 
7826
7882
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7827
7883
      # PIC is the default for these OSes.
7828
7884
      ;;
7829
7885
 
7830
 
    mingw* | cygwin* | pw32* | os2*)
 
7886
    mingw* | cygwin* | pw32* | os2* | cegcc*)
7831
7887
      # This hack is so that the source file can tell whether it is being
7832
7888
      # built for inclusion in a dll (and should export symbols for example).
7833
7889
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
7841
7897
      lt_prog_compiler_pic='-fno-common'
7842
7898
      ;;
7843
7899
 
 
7900
    hpux*)
 
7901
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
 
7902
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
 
7903
      # sets the default TLS model and affects inlining.
 
7904
      case $host_cpu in
 
7905
      hppa*64*)
 
7906
        # +Z the default
 
7907
        ;;
 
7908
      *)
 
7909
        lt_prog_compiler_pic='-fPIC'
 
7910
        ;;
 
7911
      esac
 
7912
      ;;
 
7913
 
7844
7914
    interix[3-9]*)
7845
7915
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7846
7916
      # Instead, we relocate shared libraries at runtime.
7853
7923
      enable_shared=no
7854
7924
      ;;
7855
7925
 
 
7926
    *nto* | *qnx*)
 
7927
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
7928
      # it will coredump.
 
7929
      lt_prog_compiler_pic='-fPIC -shared'
 
7930
      ;;
 
7931
 
7856
7932
    sysv4*MP*)
7857
7933
      if test -d /usr/nec; then
7858
7934
        lt_prog_compiler_pic=-Kconform_pic
7859
7935
      fi
7860
7936
      ;;
7861
7937
 
7862
 
    hpux*)
7863
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7864
 
      # not for PA HP-UX.
7865
 
      case $host_cpu in
7866
 
      hppa*64*|ia64*)
7867
 
        # +Z the default
7868
 
        ;;
7869
 
      *)
7870
 
        lt_prog_compiler_pic='-fPIC'
7871
 
        ;;
7872
 
      esac
7873
 
      ;;
7874
 
 
7875
7938
    *)
7876
7939
      lt_prog_compiler_pic='-fPIC'
7877
7940
      ;;
7888
7951
        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7889
7952
      fi
7890
7953
      ;;
7891
 
      darwin*)
7892
 
        # PIC is the default on this platform
7893
 
        # Common symbols not allowed in MH_DYLIB files
7894
 
       case $cc_basename in
7895
 
         xlc*)
7896
 
         lt_prog_compiler_pic='-qnocommon'
7897
 
         lt_prog_compiler_wl='-Wl,'
7898
 
         ;;
7899
 
       esac
7900
 
       ;;
7901
7954
 
7902
 
    mingw* | cygwin* | pw32* | os2*)
 
7955
    mingw* | cygwin* | pw32* | os2* | cegcc*)
7903
7956
      # This hack is so that the source file can tell whether it is being
7904
7957
      # built for inclusion in a dll (and should export symbols for example).
7905
7958
      lt_prog_compiler_pic='-DDLL_EXPORT'
7927
7980
      lt_prog_compiler_static='-non_shared'
7928
7981
      ;;
7929
7982
 
7930
 
    newsos6)
7931
 
      lt_prog_compiler_pic='-KPIC'
7932
 
      lt_prog_compiler_static='-Bstatic'
7933
 
      ;;
7934
 
 
7935
7983
    linux* | k*bsd*-gnu)
7936
7984
      case $cc_basename in
7937
 
      icc* | ecc*)
 
7985
      # old Intel for x86_64 which still supported -KPIC.
 
7986
      ecc*)
7938
7987
        lt_prog_compiler_wl='-Wl,'
7939
7988
        lt_prog_compiler_pic='-KPIC'
7940
7989
        lt_prog_compiler_static='-static'
7941
7990
        ;;
 
7991
      # icc used to be incompatible with GCC.
 
7992
      # ICC 10 doesn't accept -KPIC any more.
 
7993
      icc* | ifort*)
 
7994
        lt_prog_compiler_wl='-Wl,'
 
7995
        lt_prog_compiler_pic='-fPIC'
 
7996
        lt_prog_compiler_static='-static'
 
7997
        ;;
 
7998
      # Lahey Fortran 8.1.
 
7999
      lf95*)
 
8000
        lt_prog_compiler_wl='-Wl,'
 
8001
        lt_prog_compiler_pic='--shared'
 
8002
        lt_prog_compiler_static='--static'
 
8003
        ;;
7942
8004
      pgcc* | pgf77* | pgf90* | pgf95*)
7943
8005
        # Portland Group compilers (*not* the Pentium gcc compiler,
7944
8006
        # which looks to be a dead project)
7951
8013
        # All Alpha code is PIC.
7952
8014
        lt_prog_compiler_static='-non_shared'
7953
8015
        ;;
 
8016
      xl*)
 
8017
        # IBM XL C 8.0/Fortran 10.1 on PPC
 
8018
        lt_prog_compiler_wl='-Wl,'
 
8019
        lt_prog_compiler_pic='-qpic'
 
8020
        lt_prog_compiler_static='-qstaticlink'
 
8021
        ;;
7954
8022
      *)
7955
 
        case `$CC -V 2>&1 | sed 5q` in
 
8023
        case `$CC -V 2>&1 | sed 5q` in
7956
8024
        *Sun\ C*)
7957
8025
          # Sun C 5.9
7958
8026
          lt_prog_compiler_pic='-KPIC'
7970
8038
      esac
7971
8039
      ;;
7972
8040
 
 
8041
    newsos6)
 
8042
      lt_prog_compiler_pic='-KPIC'
 
8043
      lt_prog_compiler_static='-Bstatic'
 
8044
      ;;
 
8045
 
 
8046
    *nto* | *qnx*)
 
8047
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
8048
      # it will coredump.
 
8049
      lt_prog_compiler_pic='-fPIC -shared'
 
8050
      ;;
 
8051
 
7973
8052
    osf3* | osf4* | osf5*)
7974
8053
      lt_prog_compiler_wl='-Wl,'
7975
8054
      # All OSF/1 code is PIC.
8032
8111
    esac
8033
8112
  fi
8034
8113
 
8035
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
8036
 
echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
 
8114
case $host_os in
 
8115
  # For platforms which do not support PIC, -DPIC is meaningless:
 
8116
  *djgpp*)
 
8117
    lt_prog_compiler_pic=
 
8118
    ;;
 
8119
  *)
 
8120
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
 
8121
    ;;
 
8122
esac
 
8123
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
 
8124
$as_echo "$lt_prog_compiler_pic" >&6; }
 
8125
 
 
8126
 
 
8127
 
 
8128
 
 
8129
 
8037
8130
 
8038
8131
#
8039
8132
# Check to make sure the PIC flag actually works.
8040
8133
#
8041
8134
if test -n "$lt_prog_compiler_pic"; then
8042
 
 
8043
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8044
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
 
8135
  { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
8136
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8045
8137
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
8046
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8138
  $as_echo_n "(cached) " >&6
8047
8139
else
8048
8140
  lt_cv_prog_compiler_pic_works=no
8049
 
  ac_outfile=conftest.$ac_objext
 
8141
   ac_outfile=conftest.$ac_objext
8050
8142
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8051
8143
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8052
8144
   # Insert the option either (1) after the last *FLAGS variable, or
8058
8150
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8059
8151
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8060
8152
   -e 's:$: $lt_compiler_flag:'`
8061
 
   (eval echo "\"\$as_me:8061: $lt_compile\"" >&5)
 
8153
   (eval echo "\"\$as_me:8153: $lt_compile\"" >&5)
8062
8154
   (eval "$lt_compile" 2>conftest.err)
8063
8155
   ac_status=$?
8064
8156
   cat conftest.err >&5
8065
 
   echo "$as_me:8065: \$? = $ac_status" >&5
 
8157
   echo "$as_me:8157: \$? = $ac_status" >&5
8066
8158
   if (exit $ac_status) && test -s "$ac_outfile"; then
8067
8159
     # The compiler can only warn and ignore the option if not recognized
8068
8160
     # So say no if there are warnings other than the usual output.
8069
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
8161
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8070
8162
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8071
8163
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8072
8164
       lt_cv_prog_compiler_pic_works=yes
8073
8165
     fi
8074
8166
   fi
8075
 
   $rm conftest*
 
8167
   $RM conftest*
8076
8168
 
8077
8169
fi
8078
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
8079
 
echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6; }
 
8170
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
 
8171
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8080
8172
 
8081
8173
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8082
8174
    case $lt_prog_compiler_pic in
8089
8181
fi
8090
8182
 
8091
8183
fi
8092
 
case $host_os in
8093
 
  # For platforms which do not support PIC, -DPIC is meaningless:
8094
 
  *djgpp*)
8095
 
    lt_prog_compiler_pic=
8096
 
    ;;
8097
 
  *)
8098
 
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8099
 
    ;;
8100
 
esac
 
8184
 
 
8185
 
 
8186
 
 
8187
 
 
8188
 
8101
8189
 
8102
8190
#
8103
8191
# Check to make sure the static flag actually works.
8104
8192
#
8105
8193
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8106
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8107
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
 
8194
{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
8195
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8108
8196
if test "${lt_cv_prog_compiler_static_works+set}" = set; then
8109
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8197
  $as_echo_n "(cached) " >&6
8110
8198
else
8111
8199
  lt_cv_prog_compiler_static_works=no
8112
8200
   save_LDFLAGS="$LDFLAGS"
8118
8206
     if test -s conftest.err; then
8119
8207
       # Append any errors to the config.log.
8120
8208
       cat conftest.err 1>&5
8121
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
8209
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8122
8210
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8123
8211
       if diff conftest.exp conftest.er2 >/dev/null; then
8124
8212
         lt_cv_prog_compiler_static_works=yes
8127
8215
       lt_cv_prog_compiler_static_works=yes
8128
8216
     fi
8129
8217
   fi
8130
 
   $rm -r conftest*
 
8218
   $RM -r conftest*
8131
8219
   LDFLAGS="$save_LDFLAGS"
8132
8220
 
8133
8221
fi
8134
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
8135
 
echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6; }
 
8222
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
 
8223
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8136
8224
 
8137
8225
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8138
8226
    :
8141
8229
fi
8142
8230
 
8143
8231
 
8144
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8145
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
8146
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8147
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8148
 
else
8149
 
  lt_cv_prog_compiler_c_o=no
8150
 
   $rm -r conftest 2>/dev/null
8151
 
   mkdir conftest
8152
 
   cd conftest
8153
 
   mkdir out
8154
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8155
 
 
8156
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
8157
 
   # Insert the option either (1) after the last *FLAGS variable, or
8158
 
   # (2) before a word containing "conftest.", or (3) at the end.
8159
 
   # Note that $ac_compile itself does not contain backslashes and begins
8160
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
8161
 
   lt_compile=`echo "$ac_compile" | $SED \
8162
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8163
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8164
 
   -e 's:$: $lt_compiler_flag:'`
8165
 
   (eval echo "\"\$as_me:8165: $lt_compile\"" >&5)
8166
 
   (eval "$lt_compile" 2>out/conftest.err)
8167
 
   ac_status=$?
8168
 
   cat out/conftest.err >&5
8169
 
   echo "$as_me:8169: \$? = $ac_status" >&5
8170
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8171
 
   then
8172
 
     # The compiler can only warn and ignore the option if not recognized
8173
 
     # So say no if there are warnings
8174
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8175
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8176
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8177
 
       lt_cv_prog_compiler_c_o=yes
8178
 
     fi
8179
 
   fi
8180
 
   chmod u+w . 2>&5
8181
 
   $rm conftest*
8182
 
   # SGI C++ compiler will create directory out/ii_files/ for
8183
 
   # template instantiation
8184
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
8185
 
   $rm out/* && rmdir out
8186
 
   cd ..
8187
 
   rmdir conftest
8188
 
   $rm conftest*
8189
 
 
8190
 
fi
8191
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8192
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
 
8232
 
 
8233
 
 
8234
 
 
8235
 
 
8236
 
 
8237
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
8238
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
8239
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
 
8240
  $as_echo_n "(cached) " >&6
 
8241
else
 
8242
  lt_cv_prog_compiler_c_o=no
 
8243
   $RM -r conftest 2>/dev/null
 
8244
   mkdir conftest
 
8245
   cd conftest
 
8246
   mkdir out
 
8247
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
8248
 
 
8249
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
8250
   # Insert the option either (1) after the last *FLAGS variable, or
 
8251
   # (2) before a word containing "conftest.", or (3) at the end.
 
8252
   # Note that $ac_compile itself does not contain backslashes and begins
 
8253
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
8254
   lt_compile=`echo "$ac_compile" | $SED \
 
8255
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
8256
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
8257
   -e 's:$: $lt_compiler_flag:'`
 
8258
   (eval echo "\"\$as_me:8258: $lt_compile\"" >&5)
 
8259
   (eval "$lt_compile" 2>out/conftest.err)
 
8260
   ac_status=$?
 
8261
   cat out/conftest.err >&5
 
8262
   echo "$as_me:8262: \$? = $ac_status" >&5
 
8263
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
8264
   then
 
8265
     # The compiler can only warn and ignore the option if not recognized
 
8266
     # So say no if there are warnings
 
8267
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
8268
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
8269
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
8270
       lt_cv_prog_compiler_c_o=yes
 
8271
     fi
 
8272
   fi
 
8273
   chmod u+w . 2>&5
 
8274
   $RM conftest*
 
8275
   # SGI C++ compiler will create directory out/ii_files/ for
 
8276
   # template instantiation
 
8277
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
8278
   $RM out/* && rmdir out
 
8279
   cd ..
 
8280
   $RM -r conftest
 
8281
   $RM conftest*
 
8282
 
 
8283
fi
 
8284
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
8285
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 
8286
 
 
8287
 
 
8288
 
 
8289
 
 
8290
 
 
8291
 
 
8292
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
8293
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
8294
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
 
8295
  $as_echo_n "(cached) " >&6
 
8296
else
 
8297
  lt_cv_prog_compiler_c_o=no
 
8298
   $RM -r conftest 2>/dev/null
 
8299
   mkdir conftest
 
8300
   cd conftest
 
8301
   mkdir out
 
8302
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
8303
 
 
8304
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
8305
   # Insert the option either (1) after the last *FLAGS variable, or
 
8306
   # (2) before a word containing "conftest.", or (3) at the end.
 
8307
   # Note that $ac_compile itself does not contain backslashes and begins
 
8308
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
8309
   lt_compile=`echo "$ac_compile" | $SED \
 
8310
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
8311
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
8312
   -e 's:$: $lt_compiler_flag:'`
 
8313
   (eval echo "\"\$as_me:8313: $lt_compile\"" >&5)
 
8314
   (eval "$lt_compile" 2>out/conftest.err)
 
8315
   ac_status=$?
 
8316
   cat out/conftest.err >&5
 
8317
   echo "$as_me:8317: \$? = $ac_status" >&5
 
8318
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
8319
   then
 
8320
     # The compiler can only warn and ignore the option if not recognized
 
8321
     # So say no if there are warnings
 
8322
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
8323
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
8324
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
8325
       lt_cv_prog_compiler_c_o=yes
 
8326
     fi
 
8327
   fi
 
8328
   chmod u+w . 2>&5
 
8329
   $RM conftest*
 
8330
   # SGI C++ compiler will create directory out/ii_files/ for
 
8331
   # template instantiation
 
8332
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
8333
   $RM out/* && rmdir out
 
8334
   cd ..
 
8335
   $RM -r conftest
 
8336
   $RM conftest*
 
8337
 
 
8338
fi
 
8339
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
8340
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 
8341
 
 
8342
 
8193
8343
 
8194
8344
 
8195
8345
hard_links="nottested"
8196
8346
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8197
8347
  # do not overwrite the value of need_locks provided by the user
8198
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
8199
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
 
8348
  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
8349
$as_echo_n "checking if we can lock with hard links... " >&6; }
8200
8350
  hard_links=yes
8201
 
  $rm conftest*
 
8351
  $RM conftest*
8202
8352
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8203
8353
  touch conftest.a
8204
8354
  ln conftest.a conftest.b 2>&5 || hard_links=no
8205
8355
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8206
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
8207
 
echo "${ECHO_T}$hard_links" >&6; }
 
8356
  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
 
8357
$as_echo "$hard_links" >&6; }
8208
8358
  if test "$hard_links" = no; then
8209
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8210
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 
8359
    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
8360
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8211
8361
    need_locks=warn
8212
8362
  fi
8213
8363
else
8214
8364
  need_locks=no
8215
8365
fi
8216
8366
 
8217
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8218
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
 
8367
 
 
8368
 
 
8369
 
 
8370
 
 
8371
 
 
8372
  { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
8373
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8219
8374
 
8220
8375
  runpath_var=
8221
8376
  allow_undefined_flag=
8222
 
  enable_shared_with_static_runtimes=no
 
8377
  always_export_symbols=no
8223
8378
  archive_cmds=
8224
8379
  archive_expsym_cmds=
8225
 
  old_archive_From_new_cmds=
8226
 
  old_archive_from_expsyms_cmds=
 
8380
  compiler_needs_object=no
 
8381
  enable_shared_with_static_runtimes=no
8227
8382
  export_dynamic_flag_spec=
8228
 
  whole_archive_flag_spec=
8229
 
  thread_safe_flag_spec=
 
8383
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
8384
  hardcode_automatic=no
 
8385
  hardcode_direct=no
 
8386
  hardcode_direct_absolute=no
8230
8387
  hardcode_libdir_flag_spec=
8231
8388
  hardcode_libdir_flag_spec_ld=
8232
8389
  hardcode_libdir_separator=
8233
 
  hardcode_direct=no
8234
8390
  hardcode_minus_L=no
8235
8391
  hardcode_shlibpath_var=unsupported
 
8392
  inherit_rpath=no
8236
8393
  link_all_deplibs=unknown
8237
 
  hardcode_automatic=no
8238
8394
  module_cmds=
8239
8395
  module_expsym_cmds=
8240
 
  always_export_symbols=no
8241
 
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
8396
  old_archive_from_new_cmds=
 
8397
  old_archive_from_expsyms_cmds=
 
8398
  thread_safe_flag_spec=
 
8399
  whole_archive_flag_spec=
8242
8400
  # include_expsyms should be a list of space-separated symbols to be *always*
8243
8401
  # included in the symbol list
8244
8402
  include_expsyms=
8254
8412
  # preloaded symbol tables.
8255
8413
  # Exclude shared library initialization/finalization symbols.
8256
8414
  extract_expsyms_cmds=
8257
 
  # Just being paranoid about ensuring that cc_basename is set.
8258
 
  for cc_temp in $compiler""; do
8259
 
  case $cc_temp in
8260
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8261
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8262
 
    \-*) ;;
8263
 
    *) break;;
8264
 
  esac
8265
 
done
8266
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8267
8415
 
8268
8416
  case $host_os in
8269
 
  cygwin* | mingw* | pw32*)
 
8417
  cygwin* | mingw* | pw32* | cegcc*)
8270
8418
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
8271
8419
    # When not using gcc, we currently assume that we are using
8272
8420
    # Microsoft Visual C++.
8292
8440
    # are reset later if shared libraries are not supported. Putting them
8293
8441
    # here allows them to be overridden if necessary.
8294
8442
    runpath_var=LD_RUN_PATH
8295
 
    hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
 
8443
    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8296
8444
    export_dynamic_flag_spec='${wl}--export-dynamic'
8297
8445
    # ancient GNU ld didn't support --whole-archive et. al.
8298
 
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
8299
 
        whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8300
 
      else
8301
 
        whole_archive_flag_spec=
 
8446
    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
 
8447
      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
8448
    else
 
8449
      whole_archive_flag_spec=
8302
8450
    fi
8303
8451
    supports_anon_versioning=no
8304
 
    case `$LD -v 2>/dev/null` in
 
8452
    case `$LD -v 2>&1` in
8305
8453
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8306
8454
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8307
8455
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8315
8463
      # On AIX/PPC, the GNU linker is very broken
8316
8464
      if test "$host_cpu" != ia64; then
8317
8465
        ld_shlibs=no
8318
 
        cat <<EOF 1>&2
 
8466
        cat <<_LT_EOF 1>&2
8319
8467
 
8320
8468
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
8321
8469
*** to be unable to reliably create shared libraries on AIX.
8323
8471
*** really care for shared libraries, you may want to modify your PATH
8324
8472
*** so that a non-GNU linker is found, and then restart.
8325
8473
 
8326
 
EOF
 
8474
_LT_EOF
8327
8475
      fi
8328
8476
      ;;
8329
8477
 
8330
8478
    amigaos*)
8331
 
      archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
8332
 
      hardcode_libdir_flag_spec='-L$libdir'
8333
 
      hardcode_minus_L=yes
8334
 
 
8335
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
8336
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
8337
 
      # to version 4, is to share data among multiple programs linked
8338
 
      # with the same dynamic library.  Since this doesn't match the
8339
 
      # behavior of shared libraries on other platforms, we can't use
8340
 
      # them.
8341
 
      ld_shlibs=no
 
8479
      case $host_cpu in
 
8480
      powerpc)
 
8481
            # see comment about AmigaOS4 .so support
 
8482
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8483
            archive_expsym_cmds=''
 
8484
        ;;
 
8485
      m68k)
 
8486
            archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
 
8487
            hardcode_libdir_flag_spec='-L$libdir'
 
8488
            hardcode_minus_L=yes
 
8489
        ;;
 
8490
      esac
8342
8491
      ;;
8343
8492
 
8344
8493
    beos*)
8345
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
8494
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8346
8495
        allow_undefined_flag=unsupported
8347
8496
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8348
8497
        # support --undefined.  This deserves some investigation.  FIXME
8352
8501
      fi
8353
8502
      ;;
8354
8503
 
8355
 
    cygwin* | mingw* | pw32*)
8356
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
 
8504
    cygwin* | mingw* | pw32* | cegcc*)
 
8505
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8357
8506
      # as there is no search path for DLLs.
8358
8507
      hardcode_libdir_flag_spec='-L$libdir'
8359
8508
      allow_undefined_flag=unsupported
8360
8509
      always_export_symbols=no
8361
8510
      enable_shared_with_static_runtimes=yes
8362
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
8511
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8363
8512
 
8364
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
 
8513
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8365
8514
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8366
8515
        # If the export-symbols file already is a .def file (1st line
8367
8516
        # is EXPORTS), use it as is; otherwise, prepend...
8392
8541
      archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8393
8542
      ;;
8394
8543
 
8395
 
    gnu* | linux* | k*bsd*-gnu)
8396
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
8544
    gnu* | linux* | tpf* | k*bsd*-gnu)
 
8545
      tmp_diet=no
 
8546
      if test "$host_os" = linux-dietlibc; then
 
8547
        case $cc_basename in
 
8548
          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
 
8549
        esac
 
8550
      fi
 
8551
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
 
8552
         && test "$tmp_diet" = no
 
8553
      then
8397
8554
        tmp_addflag=
 
8555
        tmp_sharedflag='-shared'
8398
8556
        case $cc_basename,$host_cpu in
8399
 
        pgcc*)                          # Portland Group C compiler
8400
 
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
8557
        pgcc*)                          # Portland Group C compiler
 
8558
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8401
8559
          tmp_addflag=' $pic_flag'
8402
8560
          ;;
8403
8561
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
8404
 
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
8562
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8405
8563
          tmp_addflag=' $pic_flag -Mnomain' ;;
8406
 
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
 
8564
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
8407
8565
          tmp_addflag=' -i_dynamic' ;;
8408
8566
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
8409
8567
          tmp_addflag=' -i_dynamic -nofor_main' ;;
8410
8568
        ifc* | ifort*)                  # Intel Fortran compiler
8411
8569
          tmp_addflag=' -nofor_main' ;;
 
8570
        lf95*)                          # Lahey Fortran 8.1
 
8571
          whole_archive_flag_spec=
 
8572
          tmp_sharedflag='--shared' ;;
 
8573
        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
 
8574
          tmp_sharedflag='-qmkshrobj'
 
8575
          tmp_addflag= ;;
8412
8576
        esac
8413
8577
        case `$CC -V 2>&1 | sed 5q` in
8414
8578
        *Sun\ C*)                       # Sun C 5.9
8415
 
          whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
8579
          whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
 
8580
          compiler_needs_object=yes
8416
8581
          tmp_sharedflag='-G' ;;
8417
8582
        *Sun\ F*)                       # Sun Fortran 8.3
8418
8583
          tmp_sharedflag='-G' ;;
8419
 
        *)
8420
 
          tmp_sharedflag='-shared' ;;
8421
8584
        esac
8422
8585
        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8423
8586
 
8424
 
        if test $supports_anon_versioning = yes; then
8425
 
          archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
8426
 
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8427
 
  $echo "local: *; };" >> $output_objdir/$libname.ver~
8428
 
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8429
 
        fi
 
8587
        if test "x$supports_anon_versioning" = xyes; then
 
8588
          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 
8589
            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
8590
            echo "local: *; };" >> $output_objdir/$libname.ver~
 
8591
            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
8592
        fi
 
8593
 
 
8594
        case $cc_basename in
 
8595
        xlf*)
 
8596
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
 
8597
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
 
8598
          hardcode_libdir_flag_spec=
 
8599
          hardcode_libdir_flag_spec_ld='-rpath $libdir'
 
8600
          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
 
8601
          if test "x$supports_anon_versioning" = xyes; then
 
8602
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 
8603
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
8604
              echo "local: *; };" >> $output_objdir/$libname.ver~
 
8605
              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
 
8606
          fi
 
8607
          ;;
 
8608
        esac
8430
8609
      else
8431
 
        ld_shlibs=no
 
8610
        ld_shlibs=no
8432
8611
      fi
8433
8612
      ;;
8434
8613
 
8435
8614
    netbsd*)
8436
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
8615
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8437
8616
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8438
8617
        wlarc=
8439
8618
      else
8443
8622
      ;;
8444
8623
 
8445
8624
    solaris*)
8446
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
 
8625
      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8447
8626
        ld_shlibs=no
8448
 
        cat <<EOF 1>&2
 
8627
        cat <<_LT_EOF 1>&2
8449
8628
 
8450
8629
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
8451
8630
*** create shared libraries on Solaris systems.  Therefore, libtool
8454
8633
*** your PATH or compiler configuration so that the native linker is
8455
8634
*** used, and then restart.
8456
8635
 
8457
 
EOF
8458
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
8636
_LT_EOF
 
8637
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8459
8638
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8460
8639
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8461
8640
      else
8479
8658
_LT_EOF
8480
8659
        ;;
8481
8660
        *)
8482
 
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
8483
 
            hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
8484
 
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
8485
 
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
 
8661
          # For security reasons, it is highly recommended that you always
 
8662
          # use absolute paths for naming shared libraries, and exclude the
 
8663
          # DT_RUNPATH tag from executables and libraries.  But doing so
 
8664
          # requires that you compile everything twice, which is a pain.
 
8665
          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
8666
            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
8667
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8668
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8486
8669
          else
8487
8670
            ld_shlibs=no
8488
8671
          fi
8498
8681
      ;;
8499
8682
 
8500
8683
    *)
8501
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
8684
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8502
8685
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8503
8686
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8504
8687
      else
8540
8723
      else
8541
8724
        # If we're using GNU nm, then we don't want the "-C" option.
8542
8725
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
8543
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
8544
 
          export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
 
8726
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
 
8727
          export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8545
8728
        else
8546
 
          export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
 
8729
          export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8547
8730
        fi
8548
8731
        aix_use_runtimelinking=no
8549
8732
 
8552
8735
        # need to do runtime linking.
8553
8736
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8554
8737
          for ld_flag in $LDFLAGS; do
8555
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8556
 
            aix_use_runtimelinking=yes
8557
 
            break
8558
 
          fi
 
8738
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
 
8739
            aix_use_runtimelinking=yes
 
8740
            break
 
8741
          fi
8559
8742
          done
8560
8743
          ;;
8561
8744
        esac
8572
8755
 
8573
8756
      archive_cmds=''
8574
8757
      hardcode_direct=yes
 
8758
      hardcode_direct_absolute=yes
8575
8759
      hardcode_libdir_separator=':'
8576
8760
      link_all_deplibs=yes
 
8761
      file_list_spec='${wl}-f,'
8577
8762
 
8578
8763
      if test "$GCC" = yes; then
8579
8764
        case $host_os in aix4.[012]|aix4.[012].*)
8580
8765
        # We only want to do this on AIX 4.2 and lower, the check
8581
8766
        # below for broken collect2 doesn't work under 4.3+
8582
8767
          collect2name=`${CC} -print-prog-name=collect2`
8583
 
          if test -f "$collect2name" && \
8584
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
 
8768
          if test -f "$collect2name" &&
 
8769
           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8585
8770
          then
8586
 
          # We have reworked collect2
8587
 
          :
 
8771
          # We have reworked collect2
 
8772
          :
8588
8773
          else
8589
 
          # We have old collect2
8590
 
          hardcode_direct=unsupported
8591
 
          # It fails to find uninstalled libraries when the uninstalled
8592
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
8593
 
          # to unsupported forces relinking
8594
 
          hardcode_minus_L=yes
8595
 
          hardcode_libdir_flag_spec='-L$libdir'
8596
 
          hardcode_libdir_separator=
 
8774
          # We have old collect2
 
8775
          hardcode_direct=unsupported
 
8776
          # It fails to find uninstalled libraries when the uninstalled
 
8777
          # path is not listed in the libpath.  Setting hardcode_minus_L
 
8778
          # to unsupported forces relinking
 
8779
          hardcode_minus_L=yes
 
8780
          hardcode_libdir_flag_spec='-L$libdir'
 
8781
          hardcode_libdir_separator=
8597
8782
          fi
8598
8783
          ;;
8599
8784
        esac
8604
8789
      else
8605
8790
        # not using gcc
8606
8791
        if test "$host_cpu" = ia64; then
8607
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8608
 
        # chokes on -Wl,-G. The following line is correct:
 
8792
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
 
8793
        # chokes on -Wl,-G. The following line is correct:
8609
8794
          shared_flag='-G'
8610
8795
        else
8611
8796
          if test "$aix_use_runtimelinking" = yes; then
8616
8801
        fi
8617
8802
      fi
8618
8803
 
 
8804
      export_dynamic_flag_spec='${wl}-bexpall'
8619
8805
      # It seems that -bexpall does not export symbols beginning with
8620
8806
      # underscore (_), so it is better to generate a list of symbols to export.
8621
8807
      always_export_symbols=yes
8623
8809
        # Warning - without using the other runtime loading flags (-brtl),
8624
8810
        # -berok will link without error, but may produce a broken library.
8625
8811
        allow_undefined_flag='-berok'
8626
 
       # Determine the default libpath from the value encoded in an empty executable.
8627
 
       cat >conftest.$ac_ext <<_ACEOF
 
8812
        # Determine the default libpath from the value encoded in an
 
8813
        # empty executable.
 
8814
        cat >conftest.$ac_ext <<_ACEOF
8628
8815
/* confdefs.h.  */
8629
8816
_ACEOF
8630
8817
cat confdefs.h >>conftest.$ac_ext
8645
8832
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8646
8833
  *) ac_try_echo=$ac_try;;
8647
8834
esac
8648
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8835
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
8836
$as_echo "$ac_try_echo") >&5
8649
8837
  (eval "$ac_link") 2>conftest.er1
8650
8838
  ac_status=$?
8651
8839
  grep -v '^ *+' conftest.er1 >conftest.err
8652
8840
  rm -f conftest.er1
8653
8841
  cat conftest.err >&5
8654
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8842
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8655
8843
  (exit $ac_status); } && {
8656
8844
         test -z "$ac_c_werror_flag" ||
8657
8845
         test ! -s conftest.err
8658
 
       } && test -s conftest$ac_exeext &&
8659
 
       $as_test_x conftest$ac_exeext; then
 
8846
       } && test -s conftest$ac_exeext && {
 
8847
         test "$cross_compiling" = yes ||
 
8848
         $as_test_x conftest$ac_exeext
 
8849
       }; then
8660
8850
 
8661
8851
lt_aix_libpath_sed='
8662
8852
    /Import File Strings/,/^$/ {
8671
8861
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8672
8862
fi
8673
8863
else
8674
 
  echo "$as_me: failed program was:" >&5
 
8864
  $as_echo "$as_me: failed program was:" >&5
8675
8865
sed 's/^/| /' conftest.$ac_ext >&5
8676
8866
 
8677
8867
 
8678
8868
fi
8679
8869
 
 
8870
rm -rf conftest.dSYM
8680
8871
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8681
8872
      conftest$ac_exeext conftest.$ac_ext
8682
8873
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8683
8874
 
8684
 
       hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8685
 
        archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
8686
 
       else
 
8875
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
 
8876
        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
 
8877
      else
8687
8878
        if test "$host_cpu" = ia64; then
8688
8879
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8689
8880
          allow_undefined_flag="-z nodefs"
8690
8881
          archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
8691
8882
        else
8692
 
         # Determine the default libpath from the value encoded in an empty executable.
 
8883
         # Determine the default libpath from the value encoded in an
 
8884
         # empty executable.
8693
8885
         cat >conftest.$ac_ext <<_ACEOF
8694
8886
/* confdefs.h.  */
8695
8887
_ACEOF
8711
8903
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8712
8904
  *) ac_try_echo=$ac_try;;
8713
8905
esac
8714
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8906
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
8907
$as_echo "$ac_try_echo") >&5
8715
8908
  (eval "$ac_link") 2>conftest.er1
8716
8909
  ac_status=$?
8717
8910
  grep -v '^ *+' conftest.er1 >conftest.err
8718
8911
  rm -f conftest.er1
8719
8912
  cat conftest.err >&5
8720
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8913
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8721
8914
  (exit $ac_status); } && {
8722
8915
         test -z "$ac_c_werror_flag" ||
8723
8916
         test ! -s conftest.err
8724
 
       } && test -s conftest$ac_exeext &&
8725
 
       $as_test_x conftest$ac_exeext; then
 
8917
       } && test -s conftest$ac_exeext && {
 
8918
         test "$cross_compiling" = yes ||
 
8919
         $as_test_x conftest$ac_exeext
 
8920
       }; then
8726
8921
 
8727
8922
lt_aix_libpath_sed='
8728
8923
    /Import File Strings/,/^$/ {
8737
8932
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8738
8933
fi
8739
8934
else
8740
 
  echo "$as_me: failed program was:" >&5
 
8935
  $as_echo "$as_me: failed program was:" >&5
8741
8936
sed 's/^/| /' conftest.$ac_ext >&5
8742
8937
 
8743
8938
 
8744
8939
fi
8745
8940
 
 
8941
rm -rf conftest.dSYM
8746
8942
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8747
8943
      conftest$ac_exeext conftest.$ac_ext
8748
8944
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8762
8958
      ;;
8763
8959
 
8764
8960
    amigaos*)
8765
 
      archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
8766
 
      hardcode_libdir_flag_spec='-L$libdir'
8767
 
      hardcode_minus_L=yes
8768
 
      # see comment about different semantics on the GNU ld section
8769
 
      ld_shlibs=no
 
8961
      case $host_cpu in
 
8962
      powerpc)
 
8963
            # see comment about AmigaOS4 .so support
 
8964
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8965
            archive_expsym_cmds=''
 
8966
        ;;
 
8967
      m68k)
 
8968
            archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
 
8969
            hardcode_libdir_flag_spec='-L$libdir'
 
8970
            hardcode_minus_L=yes
 
8971
        ;;
 
8972
      esac
8770
8973
      ;;
8771
8974
 
8772
8975
    bsdi[45]*)
8773
8976
      export_dynamic_flag_spec=-rdynamic
8774
8977
      ;;
8775
8978
 
8776
 
    cygwin* | mingw* | pw32*)
 
8979
    cygwin* | mingw* | pw32* | cegcc*)
8777
8980
      # When not using gcc, we currently assume that we are using
8778
8981
      # Microsoft Visual C++.
8779
8982
      # hardcode_libdir_flag_spec is actually meaningless, as there is
8785
8988
      # Tell ltmain to make .dll files, not .so files.
8786
8989
      shrext_cmds=".dll"
8787
8990
      # FIXME: Setting linknames here is a bad hack.
8788
 
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
 
8991
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8789
8992
      # The linker will automatically build a .lib file if we build a DLL.
8790
 
      old_archive_From_new_cmds='true'
 
8993
      old_archive_from_new_cmds='true'
8791
8994
      # FIXME: Should let the user specify the lib program.
8792
8995
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8793
8996
      fix_srcfile_path='`cygpath -w "$srcfile"`'
8795
8998
      ;;
8796
8999
 
8797
9000
    darwin* | rhapsody*)
8798
 
      case $host_os in
8799
 
        rhapsody* | darwin1.[012])
8800
 
         allow_undefined_flag='${wl}-undefined ${wl}suppress'
8801
 
         ;;
8802
 
       *) # Darwin 1.3 on
8803
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
8804
 
           allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8805
 
         else
8806
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
8807
 
             10.[012])
8808
 
               allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8809
 
               ;;
8810
 
             10.*)
8811
 
               allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
8812
 
               ;;
8813
 
           esac
8814
 
         fi
8815
 
         ;;
8816
 
      esac
8817
 
      archive_cmds_need_lc=no
8818
 
      hardcode_direct=no
8819
 
      hardcode_automatic=yes
8820
 
      hardcode_shlibpath_var=unsupported
8821
 
      whole_archive_flag_spec=''
8822
 
      link_all_deplibs=yes
8823
 
    if test "$GCC" = yes ; then
8824
 
        output_verbose_link_cmd='echo'
8825
 
        archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8826
 
        module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8827
 
        archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
8828
 
        module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
8829
 
    else
8830
 
      case $cc_basename in
8831
 
        xlc*)
8832
 
         output_verbose_link_cmd='echo'
8833
 
         archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
8834
 
         module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8835
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8836
 
         archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8837
 
          module_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8838
 
          ;;
8839
 
       *)
8840
 
         ld_shlibs=no
8841
 
          ;;
8842
 
      esac
8843
 
    fi
 
9001
 
 
9002
 
 
9003
  archive_cmds_need_lc=no
 
9004
  hardcode_direct=no
 
9005
  hardcode_automatic=yes
 
9006
  hardcode_shlibpath_var=unsupported
 
9007
  whole_archive_flag_spec=''
 
9008
  link_all_deplibs=yes
 
9009
  allow_undefined_flag="$_lt_dar_allow_undefined"
 
9010
  case $cc_basename in
 
9011
     ifort*) _lt_dar_can_shared=yes ;;
 
9012
     *) _lt_dar_can_shared=$GCC ;;
 
9013
  esac
 
9014
  if test "$_lt_dar_can_shared" = "yes"; then
 
9015
    output_verbose_link_cmd=echo
 
9016
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 
9017
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
9018
    archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
 
9019
    module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
 
9020
 
 
9021
  else
 
9022
  ld_shlibs=no
 
9023
  fi
 
9024
 
8844
9025
      ;;
8845
9026
 
8846
9027
    dgux*)
8882
9063
 
8883
9064
    hpux9*)
8884
9065
      if test "$GCC" = yes; then
8885
 
        archive_cmds='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
 
9066
        archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
8886
9067
      else
8887
 
        archive_cmds='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
 
9068
        archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
8888
9069
      fi
8889
9070
      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8890
9071
      hardcode_libdir_separator=:
8904
9085
      fi
8905
9086
      if test "$with_gnu_ld" = no; then
8906
9087
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
9088
        hardcode_libdir_flag_spec_ld='+b $libdir'
8907
9089
        hardcode_libdir_separator=:
8908
 
 
8909
9090
        hardcode_direct=yes
 
9091
        hardcode_direct_absolute=yes
8910
9092
        export_dynamic_flag_spec='${wl}-E'
8911
 
 
8912
9093
        # hardcode_minus_L: Not really in the search PATH,
8913
9094
        # but as the default location of the library.
8914
9095
        hardcode_minus_L=yes
8922
9103
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8923
9104
          ;;
8924
9105
        ia64*)
8925
 
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
9106
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8926
9107
          ;;
8927
9108
        *)
8928
9109
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8947
9128
 
8948
9129
        case $host_cpu in
8949
9130
        hppa*64*|ia64*)
8950
 
          hardcode_libdir_flag_spec_ld='+b $libdir'
8951
9131
          hardcode_direct=no
8952
9132
          hardcode_shlibpath_var=no
8953
9133
          ;;
8954
9134
        *)
8955
9135
          hardcode_direct=yes
 
9136
          hardcode_direct_absolute=yes
8956
9137
          export_dynamic_flag_spec='${wl}-E'
8957
9138
 
8958
9139
          # hardcode_minus_L: Not really in the search PATH,
8965
9146
 
8966
9147
    irix5* | irix6* | nonstopux*)
8967
9148
      if test "$GCC" = yes; then
8968
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
9149
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
9150
        # Try to use the -exported_symbol ld option, if it does not
 
9151
        # work, assume that -exports_file does not work either and
 
9152
        # implicitly export all symbols.
 
9153
        save_LDFLAGS="$LDFLAGS"
 
9154
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
 
9155
        cat >conftest.$ac_ext <<_ACEOF
 
9156
int foo(void) {}
 
9157
_ACEOF
 
9158
rm -f conftest.$ac_objext conftest$ac_exeext
 
9159
if { (ac_try="$ac_link"
 
9160
case "(($ac_try" in
 
9161
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9162
  *) ac_try_echo=$ac_try;;
 
9163
esac
 
9164
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
9165
$as_echo "$ac_try_echo") >&5
 
9166
  (eval "$ac_link") 2>conftest.er1
 
9167
  ac_status=$?
 
9168
  grep -v '^ *+' conftest.er1 >conftest.err
 
9169
  rm -f conftest.er1
 
9170
  cat conftest.err >&5
 
9171
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9172
  (exit $ac_status); } && {
 
9173
         test -z "$ac_c_werror_flag" ||
 
9174
         test ! -s conftest.err
 
9175
       } && test -s conftest$ac_exeext && {
 
9176
         test "$cross_compiling" = yes ||
 
9177
         $as_test_x conftest$ac_exeext
 
9178
       }; then
 
9179
  archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
 
9180
 
 
9181
else
 
9182
  $as_echo "$as_me: failed program was:" >&5
 
9183
sed 's/^/| /' conftest.$ac_ext >&5
 
9184
 
 
9185
 
 
9186
fi
 
9187
 
 
9188
rm -rf conftest.dSYM
 
9189
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
9190
      conftest$ac_exeext conftest.$ac_ext
 
9191
        LDFLAGS="$save_LDFLAGS"
8969
9192
      else
8970
 
        archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
8971
 
        hardcode_libdir_flag_spec_ld='-rpath $libdir'
 
9193
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
 
9194
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
8972
9195
      fi
 
9196
      archive_cmds_need_lc='no'
8973
9197
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8974
9198
      hardcode_libdir_separator=:
 
9199
      inherit_rpath=yes
8975
9200
      link_all_deplibs=yes
8976
9201
      ;;
8977
9202
 
8978
9203
    netbsd*)
8979
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
9204
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8980
9205
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
8981
9206
      else
8982
9207
        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
8994
9219
      hardcode_shlibpath_var=no
8995
9220
      ;;
8996
9221
 
 
9222
    *nto* | *qnx*)
 
9223
      ;;
 
9224
 
8997
9225
    openbsd*)
8998
9226
      if test -f /usr/libexec/ld.so; then
8999
9227
        hardcode_direct=yes
9000
9228
        hardcode_shlibpath_var=no
9001
 
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
9229
        hardcode_direct_absolute=yes
 
9230
        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9002
9231
          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9003
9232
          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9004
9233
          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9014
9243
             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9015
9244
             ;;
9016
9245
          esac
9017
 
        fi
 
9246
        fi
9018
9247
      else
9019
9248
        ld_shlibs=no
9020
9249
      fi
9024
9253
      hardcode_libdir_flag_spec='-L$libdir'
9025
9254
      hardcode_minus_L=yes
9026
9255
      allow_undefined_flag=unsupported
9027
 
      archive_cmds='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
9028
 
      old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
 
9256
      archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
 
9257
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9029
9258
      ;;
9030
9259
 
9031
9260
    osf3*)
9032
9261
      if test "$GCC" = yes; then
9033
9262
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9034
 
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
9263
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9035
9264
      else
9036
9265
        allow_undefined_flag=' -expect_unresolved \*'
9037
 
        archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
 
9266
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9038
9267
      fi
 
9268
      archive_cmds_need_lc='no'
9039
9269
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9040
9270
      hardcode_libdir_separator=:
9041
9271
      ;;
9043
9273
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
9044
9274
      if test "$GCC" = yes; then
9045
9275
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9046
 
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
9276
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9047
9277
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9048
9278
      else
9049
9279
        allow_undefined_flag=' -expect_unresolved \*'
9050
 
        archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
9051
 
        archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
9052
 
        $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
 
9280
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
 
9281
        archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
 
9282
        $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
9053
9283
 
9054
9284
        # Both c and cxx compiler support -rpath directly
9055
9285
        hardcode_libdir_flag_spec='-rpath $libdir'
9056
9286
      fi
 
9287
      archive_cmds_need_lc='no'
9057
9288
      hardcode_libdir_separator=:
9058
9289
      ;;
9059
9290
 
9060
9291
    solaris*)
9061
 
      no_undefined_flag=' -z text'
 
9292
      no_undefined_flag=' -z defs'
9062
9293
      if test "$GCC" = yes; then
9063
9294
        wlarc='${wl}'
9064
 
        archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9065
 
        archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
9066
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
 
9295
        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9296
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
9297
          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9067
9298
      else
9068
 
        wlarc=''
9069
 
        archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9070
 
        archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
9071
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
 
9299
        case `$CC -V 2>&1` in
 
9300
        *"Compilers 5.0"*)
 
9301
          wlarc=''
 
9302
          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
9303
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
9304
          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
 
9305
          ;;
 
9306
        *)
 
9307
          wlarc='${wl}'
 
9308
          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
 
9309
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
9310
          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 
9311
          ;;
 
9312
        esac
9072
9313
      fi
9073
9314
      hardcode_libdir_flag_spec='-R$libdir'
9074
9315
      hardcode_shlibpath_var=no
9078
9319
        # The compiler driver will combine and reorder linker options,
9079
9320
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
9080
9321
        # but is careful enough not to reorder.
9081
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
 
9322
        # Supported since Solaris 2.6 (maybe 2.5.1?)
9082
9323
        if test "$GCC" = yes; then
9083
9324
          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9084
9325
        else
9167
9408
      allow_undefined_flag='${wl}-z,nodefs'
9168
9409
      archive_cmds_need_lc=no
9169
9410
      hardcode_shlibpath_var=no
9170
 
      hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
 
9411
      hardcode_libdir_flag_spec='${wl}-R,$libdir'
9171
9412
      hardcode_libdir_separator=':'
9172
9413
      link_all_deplibs=yes
9173
9414
      export_dynamic_flag_spec='${wl}-Bexport'
9174
9415
      runpath_var='LD_RUN_PATH'
9175
9416
 
9176
9417
      if test "$GCC" = yes; then
9177
 
        archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9178
 
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9418
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9419
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9179
9420
      else
9180
 
        archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9181
 
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9421
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9422
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9182
9423
      fi
9183
9424
      ;;
9184
9425
 
9192
9433
      ld_shlibs=no
9193
9434
      ;;
9194
9435
    esac
 
9436
 
 
9437
    if test x$host_vendor = xsni; then
 
9438
      case $host in
 
9439
      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
9440
        export_dynamic_flag_spec='${wl}-Blargedynsym'
 
9441
        ;;
 
9442
      esac
 
9443
    fi
9195
9444
  fi
9196
9445
 
9197
 
{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9198
 
echo "${ECHO_T}$ld_shlibs" >&6; }
 
9446
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
 
9447
$as_echo "$ld_shlibs" >&6; }
9199
9448
test "$ld_shlibs" = no && can_build_shared=no
9200
9449
 
 
9450
with_gnu_ld=$with_gnu_ld
 
9451
 
 
9452
 
 
9453
 
 
9454
 
 
9455
 
 
9456
 
 
9457
 
 
9458
 
 
9459
 
 
9460
 
 
9461
 
 
9462
 
 
9463
 
 
9464
 
 
9465
 
9201
9466
#
9202
9467
# Do we need to explicitly link libc?
9203
9468
#
9215
9480
      # Test whether the compiler implicitly links with -lc since on some
9216
9481
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
9217
9482
      # to ld, don't add -lc before -lgcc.
9218
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9219
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
9220
 
      $rm conftest*
 
9483
      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
9484
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
 
9485
      $RM conftest*
9221
9486
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9222
9487
 
9223
9488
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9224
9489
  (eval $ac_compile) 2>&5
9225
9490
  ac_status=$?
9226
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9491
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9227
9492
  (exit $ac_status); } 2>conftest.err; then
9228
9493
        soname=conftest
9229
9494
        lib=conftest
9238
9503
        libname=conftest
9239
9504
        lt_save_allow_undefined_flag=$allow_undefined_flag
9240
9505
        allow_undefined_flag=
9241
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
9242
 
  (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
 
9506
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
 
9507
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9243
9508
  ac_status=$?
9244
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9509
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9245
9510
  (exit $ac_status); }
9246
9511
        then
9247
9512
          archive_cmds_need_lc=no
9252
9517
      else
9253
9518
        cat conftest.err 1>&5
9254
9519
      fi
9255
 
      $rm conftest*
9256
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9257
 
echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
 
9520
      $RM conftest*
 
9521
      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
 
9522
$as_echo "$archive_cmds_need_lc" >&6; }
9258
9523
      ;;
9259
9524
    esac
9260
9525
  fi
9261
9526
  ;;
9262
9527
esac
9263
9528
 
9264
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9265
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
9266
 
library_names_spec=
9267
 
libname_spec='lib$name'
9268
 
soname_spec=
9269
 
shrext_cmds=".so"
9270
 
postinstall_cmds=
9271
 
postuninstall_cmds=
9272
 
finish_cmds=
9273
 
finish_eval=
9274
 
shlibpath_var=
9275
 
shlibpath_overrides_runpath=unknown
9276
 
version_type=none
9277
 
dynamic_linker="$host_os ld.so"
9278
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
 
9529
 
 
9530
 
 
9531
 
 
9532
 
 
9533
 
 
9534
 
 
9535
 
 
9536
 
 
9537
 
 
9538
 
 
9539
 
 
9540
 
 
9541
 
 
9542
 
 
9543
 
 
9544
 
 
9545
 
 
9546
 
 
9547
 
 
9548
 
 
9549
 
 
9550
 
 
9551
 
 
9552
 
 
9553
 
 
9554
 
 
9555
 
 
9556
 
 
9557
 
 
9558
 
 
9559
 
 
9560
 
 
9561
 
 
9562
 
 
9563
 
 
9564
 
 
9565
 
 
9566
 
 
9567
 
 
9568
 
 
9569
 
 
9570
 
 
9571
 
 
9572
 
 
9573
 
 
9574
 
 
9575
 
 
9576
 
 
9577
 
 
9578
 
 
9579
 
 
9580
 
 
9581
 
 
9582
 
 
9583
 
 
9584
 
 
9585
 
 
9586
 
 
9587
 
 
9588
 
 
9589
 
 
9590
 
 
9591
 
 
9592
 
 
9593
 
 
9594
 
 
9595
 
 
9596
 
 
9597
 
 
9598
 
 
9599
 
 
9600
 
 
9601
 
 
9602
 
 
9603
 
 
9604
 
 
9605
 
 
9606
 
 
9607
 
 
9608
 
 
9609
 
 
9610
 
 
9611
 
 
9612
 
 
9613
 
 
9614
 
 
9615
 
 
9616
 
 
9617
 
 
9618
 
 
9619
 
 
9620
 
 
9621
 
 
9622
 
 
9623
 
 
9624
 
 
9625
 
 
9626
 
 
9627
 
 
9628
 
 
9629
 
 
9630
 
 
9631
 
 
9632
 
 
9633
 
 
9634
 
 
9635
 
 
9636
 
 
9637
 
 
9638
 
 
9639
 
 
9640
 
 
9641
 
 
9642
 
 
9643
 
 
9644
 
 
9645
 
 
9646
 
 
9647
 
 
9648
 
 
9649
 
 
9650
 
 
9651
 
 
9652
 
 
9653
 
 
9654
 
 
9655
 
 
9656
 
 
9657
 
 
9658
 
 
9659
 
 
9660
 
 
9661
 
 
9662
 
 
9663
 
 
9664
 
 
9665
 
 
9666
 
 
9667
 
 
9668
 
 
9669
 
 
9670
 
 
9671
 
 
9672
 
 
9673
 
 
9674
 
 
9675
 
 
9676
 
 
9677
 
 
9678
 
 
9679
 
 
9680
 
 
9681
 
 
9682
 
 
9683
 
 
9684
 
 
9685
  { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
9686
$as_echo_n "checking dynamic linker characteristics... " >&6; }
9279
9687
 
9280
9688
if test "$GCC" = yes; then
9281
9689
  case $host_os in
9283
9691
    *) lt_awk_arg="/^libraries:/" ;;
9284
9692
  esac
9285
9693
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9286
 
  if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
 
9694
  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9287
9695
    # if the path contains ";" then we assume it to be the separator
9288
9696
    # otherwise default to the standard path separator (i.e. ":") - it is
9289
9697
    # assumed that no part of a normal pathname contains ";" but that should
9290
9698
    # okay in the real world where ";" in dirpaths is itself problematic.
9291
 
    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
 
9699
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9292
9700
  else
9293
 
    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
9701
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9294
9702
  fi
9295
9703
  # Ok, now we have the path, separated by spaces, we can step through it
9296
9704
  # and add multilib dir if necessary.
9304
9712
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9305
9713
    fi
9306
9714
  done
9307
 
  lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
 
9715
  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9308
9716
BEGIN {RS=" "; FS="/|\n";} {
9309
9717
  lt_foo="";
9310
9718
  lt_count=0;
9324
9732
  if (lt_foo != "") { lt_freq[lt_foo]++; }
9325
9733
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
9326
9734
}'`
9327
 
  sys_lib_search_path_spec=`echo $lt_search_path_spec`
 
9735
  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9328
9736
else
9329
9737
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9330
9738
fi
 
9739
library_names_spec=
 
9740
libname_spec='lib$name'
 
9741
soname_spec=
 
9742
shrext_cmds=".so"
 
9743
postinstall_cmds=
 
9744
postuninstall_cmds=
 
9745
finish_cmds=
 
9746
finish_eval=
 
9747
shlibpath_var=
 
9748
shlibpath_overrides_runpath=unknown
 
9749
version_type=none
 
9750
dynamic_linker="$host_os ld.so"
 
9751
sys_lib_dlsearch_path_spec="/lib /usr/lib"
9331
9752
need_lib_prefix=unknown
9332
9753
hardcode_into_libs=no
9333
9754
 
9364
9785
      aix4 | aix4.[01] | aix4.[01].*)
9365
9786
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9366
9787
           echo ' yes '
9367
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
 
9788
           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9368
9789
        :
9369
9790
      else
9370
9791
        can_build_shared=no
9390
9811
  ;;
9391
9812
 
9392
9813
amigaos*)
9393
 
  library_names_spec='$libname.ixlibrary $libname.a'
9394
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
9395
 
  finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
 
9814
  case $host_cpu in
 
9815
  powerpc)
 
9816
    # Since July 2007 AmigaOS4 officially supports .so libraries.
 
9817
    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
 
9818
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
9819
    ;;
 
9820
  m68k)
 
9821
    library_names_spec='$libname.ixlibrary $libname.a'
 
9822
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
 
9823
    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
 
9824
    ;;
 
9825
  esac
9396
9826
  ;;
9397
9827
 
9398
9828
beos*)
9415
9845
  # libtool to hard-code these into programs
9416
9846
  ;;
9417
9847
 
9418
 
cygwin* | mingw* | pw32*)
 
9848
cygwin* | mingw* | pw32* | cegcc*)
9419
9849
  version_type=windows
9420
9850
  shrext_cmds=".dll"
9421
9851
  need_version=no
9422
9852
  need_lib_prefix=no
9423
9853
 
9424
9854
  case $GCC,$host_os in
9425
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
 
9855
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
9426
9856
    library_names_spec='$libname.dll.a'
9427
9857
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
9428
9858
    postinstall_cmds='base_file=`basename \${file}`~
9429
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
 
9859
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9430
9860
      dldir=$destdir/`dirname \$dlpath`~
9431
9861
      test -d \$dldir || mkdir -p \$dldir~
9432
9862
      $install_prog $dir/$dlname \$dldir/$dlname~
9433
 
      chmod a+x \$dldir/$dlname'
 
9863
      chmod a+x \$dldir/$dlname~
 
9864
      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
 
9865
        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
 
9866
      fi'
9434
9867
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9435
9868
      dlpath=$dir/\$dldll~
9436
 
       $rm \$dlpath'
 
9869
       $RM \$dlpath'
9437
9870
    shlibpath_overrides_runpath=yes
9438
9871
 
9439
9872
    case $host_os in
9442
9875
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9443
9876
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9444
9877
      ;;
9445
 
    mingw*)
 
9878
    mingw* | cegcc*)
9446
9879
      # MinGW DLLs use traditional 'lib' prefix
9447
9880
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9448
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9449
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
 
9881
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
9882
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9450
9883
        # It is most probably a Windows format PATH printed by
9451
9884
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
9452
9885
        # path with ; separators, and with drive letters. We can handle the
9453
9886
        # drive letters (cygwin fileutils understands them), so leave them,
9454
9887
        # especially as we might pass files found there to a mingw objdump,
9455
9888
        # which wouldn't understand a cygwinified path. Ahh.
9456
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
9889
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9457
9890
      else
9458
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
9891
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9459
9892
      fi
9460
9893
      ;;
9461
9894
    pw32*)
9479
9912
  version_type=darwin
9480
9913
  need_lib_prefix=no
9481
9914
  need_version=no
9482
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
 
9915
  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9483
9916
  soname_spec='${libname}${release}${major}$shared_ext'
9484
9917
  shlibpath_overrides_runpath=yes
9485
9918
  shlibpath_var=DYLD_LIBRARY_PATH
9578
10011
    fi
9579
10012
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9580
10013
    ;;
9581
 
   hppa*64*)
9582
 
     shrext_cmds='.sl'
9583
 
     hardcode_into_libs=yes
9584
 
     dynamic_linker="$host_os dld.sl"
9585
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9586
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9587
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9588
 
     soname_spec='${libname}${release}${shared_ext}$major'
9589
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9590
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9591
 
     ;;
9592
 
   *)
 
10014
  hppa*64*)
 
10015
    shrext_cmds='.sl'
 
10016
    hardcode_into_libs=yes
 
10017
    dynamic_linker="$host_os dld.sl"
 
10018
    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
 
10019
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
10020
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10021
    soname_spec='${libname}${release}${shared_ext}$major'
 
10022
    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
 
10023
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
10024
    ;;
 
10025
  *)
9593
10026
    shrext_cmds='.sl'
9594
10027
    dynamic_linker="$host_os dld.sl"
9595
10028
    shlibpath_var=SHLIB_PATH
9666
10099
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9667
10100
  shlibpath_var=LD_LIBRARY_PATH
9668
10101
  shlibpath_overrides_runpath=no
 
10102
  # Some binutils ld are patched to set DT_RUNPATH
 
10103
  save_LDFLAGS=$LDFLAGS
 
10104
  save_libdir=$libdir
 
10105
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
 
10106
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
 
10107
  cat >conftest.$ac_ext <<_ACEOF
 
10108
/* confdefs.h.  */
 
10109
_ACEOF
 
10110
cat confdefs.h >>conftest.$ac_ext
 
10111
cat >>conftest.$ac_ext <<_ACEOF
 
10112
/* end confdefs.h.  */
 
10113
 
 
10114
int
 
10115
main ()
 
10116
{
 
10117
 
 
10118
  ;
 
10119
  return 0;
 
10120
}
 
10121
_ACEOF
 
10122
rm -f conftest.$ac_objext conftest$ac_exeext
 
10123
if { (ac_try="$ac_link"
 
10124
case "(($ac_try" in
 
10125
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10126
  *) ac_try_echo=$ac_try;;
 
10127
esac
 
10128
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
10129
$as_echo "$ac_try_echo") >&5
 
10130
  (eval "$ac_link") 2>conftest.er1
 
10131
  ac_status=$?
 
10132
  grep -v '^ *+' conftest.er1 >conftest.err
 
10133
  rm -f conftest.er1
 
10134
  cat conftest.err >&5
 
10135
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10136
  (exit $ac_status); } && {
 
10137
         test -z "$ac_c_werror_flag" ||
 
10138
         test ! -s conftest.err
 
10139
       } && test -s conftest$ac_exeext && {
 
10140
         test "$cross_compiling" = yes ||
 
10141
         $as_test_x conftest$ac_exeext
 
10142
       }; then
 
10143
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
 
10144
  shlibpath_overrides_runpath=yes
 
10145
fi
 
10146
 
 
10147
else
 
10148
  $as_echo "$as_me: failed program was:" >&5
 
10149
sed 's/^/| /' conftest.$ac_ext >&5
 
10150
 
 
10151
 
 
10152
fi
 
10153
 
 
10154
rm -rf conftest.dSYM
 
10155
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
10156
      conftest$ac_exeext conftest.$ac_ext
 
10157
  LDFLAGS=$save_LDFLAGS
 
10158
  libdir=$save_libdir
 
10159
 
9669
10160
  # This implies no fast_install, which is unacceptable.
9670
10161
  # Some rework will be needed to allow for fast_install
9671
10162
  # before this can be enabled.
9673
10164
 
9674
10165
  # Append ld.so.conf contents to the search path
9675
10166
  if test -f /etc/ld.so.conf; then
9676
 
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[      ]*hwcap[        ]/d;s/[:,       ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
 
10167
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[       ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
9677
10168
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9678
10169
  fi
9679
10170
 
9690
10181
  version_type=sunos
9691
10182
  need_lib_prefix=no
9692
10183
  need_version=no
9693
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
10184
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9694
10185
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9695
10186
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9696
10187
    dynamic_linker='NetBSD (a.out) ld.so'
9711
10202
  shlibpath_overrides_runpath=yes
9712
10203
  ;;
9713
10204
 
9714
 
nto-qnx*)
9715
 
  version_type=linux
 
10205
*nto* | *qnx*)
 
10206
  version_type=qnx
9716
10207
  need_lib_prefix=no
9717
10208
  need_version=no
9718
10209
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9719
10210
  soname_spec='${libname}${release}${shared_ext}$major'
9720
10211
  shlibpath_var=LD_LIBRARY_PATH
9721
 
  shlibpath_overrides_runpath=yes
 
10212
  shlibpath_overrides_runpath=no
 
10213
  hardcode_into_libs=yes
 
10214
  dynamic_linker='ldqnx.so'
9722
10215
  ;;
9723
10216
 
9724
10217
openbsd*)
9727
10220
  need_lib_prefix=no
9728
10221
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9729
10222
  case $host_os in
9730
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
9731
 
    *)                         need_version=no  ;;
 
10223
    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
 
10224
    *)                          need_version=no  ;;
9732
10225
  esac
9733
10226
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9734
10227
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9735
10228
  shlibpath_var=LD_LIBRARY_PATH
9736
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
10229
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9737
10230
    case $host_os in
9738
10231
      openbsd2.[89] | openbsd2.[89].*)
9739
10232
        shlibpath_overrides_runpath=no
9805
10298
    sni)
9806
10299
      shlibpath_overrides_runpath=no
9807
10300
      need_lib_prefix=no
9808
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
9809
10301
      runpath_var=LD_RUN_PATH
9810
10302
      ;;
9811
10303
    siemens)
9836
10328
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9837
10329
  soname_spec='${libname}${release}${shared_ext}$major'
9838
10330
  shlibpath_var=LD_LIBRARY_PATH
 
10331
  shlibpath_overrides_runpath=yes
9839
10332
  hardcode_into_libs=yes
9840
10333
  if test "$with_gnu_ld" = yes; then
9841
10334
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9842
 
    shlibpath_overrides_runpath=no
9843
10335
  else
9844
10336
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9845
 
    shlibpath_overrides_runpath=yes
9846
10337
    case $host_os in
9847
10338
      sco3.2v5*)
9848
10339
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9852
10343
  sys_lib_dlsearch_path_spec='/usr/lib'
9853
10344
  ;;
9854
10345
 
 
10346
tpf*)
 
10347
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
 
10348
  version_type=linux
 
10349
  need_lib_prefix=no
 
10350
  need_version=no
 
10351
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10352
  shlibpath_var=LD_LIBRARY_PATH
 
10353
  shlibpath_overrides_runpath=no
 
10354
  hardcode_into_libs=yes
 
10355
  ;;
 
10356
 
9855
10357
uts4*)
9856
10358
  version_type=linux
9857
10359
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9863
10365
  dynamic_linker=no
9864
10366
  ;;
9865
10367
esac
9866
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9867
 
echo "${ECHO_T}$dynamic_linker" >&6; }
 
10368
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
10369
$as_echo "$dynamic_linker" >&6; }
9868
10370
test "$dynamic_linker" = no && can_build_shared=no
9869
10371
 
9870
 
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
9871
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9872
 
else
9873
 
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
9874
 
fi
9875
 
 
9876
 
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
9877
 
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
9878
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9879
 
else
9880
 
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
9881
 
fi
9882
 
 
9883
 
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
9884
 
 
9885
10372
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9886
10373
if test "$GCC" = yes; then
9887
10374
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9888
10375
fi
9889
10376
 
9890
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9891
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
 
10377
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
10378
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
10379
fi
 
10380
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
10381
  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
10382
fi
 
10383
 
 
10384
 
 
10385
 
 
10386
 
 
10387
 
 
10388
 
 
10389
 
 
10390
 
 
10391
 
 
10392
 
 
10393
 
 
10394
 
 
10395
 
 
10396
 
 
10397
 
 
10398
 
 
10399
 
 
10400
 
 
10401
 
 
10402
 
 
10403
 
 
10404
 
 
10405
 
 
10406
 
 
10407
 
 
10408
 
 
10409
 
 
10410
 
 
10411
 
 
10412
 
 
10413
 
 
10414
 
 
10415
 
 
10416
 
 
10417
 
 
10418
 
 
10419
 
 
10420
 
 
10421
 
 
10422
 
 
10423
 
 
10424
 
 
10425
 
 
10426
 
 
10427
 
 
10428
 
 
10429
 
 
10430
 
 
10431
 
 
10432
 
 
10433
 
 
10434
 
 
10435
 
 
10436
 
 
10437
 
 
10438
 
 
10439
 
 
10440
 
 
10441
 
 
10442
 
 
10443
 
 
10444
 
 
10445
 
 
10446
 
 
10447
 
 
10448
 
 
10449
 
 
10450
 
 
10451
 
 
10452
 
 
10453
 
 
10454
 
 
10455
 
 
10456
 
 
10457
 
 
10458
 
 
10459
 
 
10460
 
 
10461
 
 
10462
 
 
10463
 
 
10464
 
 
10465
 
 
10466
 
 
10467
 
 
10468
 
 
10469
 
 
10470
  { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
10471
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
9892
10472
hardcode_action=
9893
 
if test -n "$hardcode_libdir_flag_spec" || \
9894
 
   test -n "$runpath_var" || \
 
10473
if test -n "$hardcode_libdir_flag_spec" ||
 
10474
   test -n "$runpath_var" ||
9895
10475
   test "X$hardcode_automatic" = "Xyes" ; then
9896
10476
 
9897
 
  # We can hardcode non-existant directories.
 
10477
  # We can hardcode non-existent directories.
9898
10478
  if test "$hardcode_direct" != no &&
9899
10479
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
9900
10480
     # have to relink, otherwise we might link with an installed library
9901
10481
     # when we should be linking with a yet-to-be-installed one
9902
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
 
10482
     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9903
10483
     test "$hardcode_minus_L" != no; then
9904
10484
    # Linking always hardcodes the temporary library directory.
9905
10485
    hardcode_action=relink
9912
10492
  # directories.
9913
10493
  hardcode_action=unsupported
9914
10494
fi
9915
 
{ echo "$as_me:$LINENO: result: $hardcode_action" >&5
9916
 
echo "${ECHO_T}$hardcode_action" >&6; }
 
10495
{ $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
 
10496
$as_echo "$hardcode_action" >&6; }
9917
10497
 
9918
 
if test "$hardcode_action" = relink; then
 
10498
if test "$hardcode_action" = relink ||
 
10499
   test "$inherit_rpath" = yes; then
9919
10500
  # Fast installation is not supported
9920
10501
  enable_fast_install=no
9921
10502
elif test "$shlibpath_overrides_runpath" = yes ||
9924
10505
  enable_fast_install=needless
9925
10506
fi
9926
10507
 
9927
 
striplib=
9928
 
old_striplib=
9929
 
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
9930
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
9931
 
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
9932
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
9933
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
9934
 
  { echo "$as_me:$LINENO: result: yes" >&5
9935
 
echo "${ECHO_T}yes" >&6; }
9936
 
else
9937
 
# FIXME - insert some real tests, host_os isn't really good enough
9938
 
  case $host_os in
9939
 
   darwin*)
9940
 
       if test -n "$STRIP" ; then
9941
 
         striplib="$STRIP -x"
9942
 
         old_striplib="$STRIP -S"
9943
 
         { echo "$as_me:$LINENO: result: yes" >&5
9944
 
echo "${ECHO_T}yes" >&6; }
9945
 
       else
9946
 
  { echo "$as_me:$LINENO: result: no" >&5
9947
 
echo "${ECHO_T}no" >&6; }
9948
 
fi
9949
 
       ;;
9950
 
   *)
9951
 
  { echo "$as_me:$LINENO: result: no" >&5
9952
 
echo "${ECHO_T}no" >&6; }
9953
 
    ;;
9954
 
  esac
9955
 
fi
9956
 
 
9957
 
if test "x$enable_dlopen" != xyes; then
 
10508
 
 
10509
 
 
10510
 
 
10511
 
 
10512
 
 
10513
  if test "x$enable_dlopen" != xyes; then
9958
10514
  enable_dlopen=unknown
9959
10515
  enable_dlopen_self=unknown
9960
10516
  enable_dlopen_self_static=unknown
9969
10525
    lt_cv_dlopen_self=yes
9970
10526
    ;;
9971
10527
 
9972
 
  mingw* | pw32*)
 
10528
  mingw* | pw32* | cegcc*)
9973
10529
    lt_cv_dlopen="LoadLibrary"
9974
10530
    lt_cv_dlopen_libs=
9975
 
   ;;
 
10531
    ;;
9976
10532
 
9977
10533
  cygwin*)
9978
10534
    lt_cv_dlopen="dlopen"
9979
10535
    lt_cv_dlopen_libs=
9980
 
   ;;
 
10536
    ;;
9981
10537
 
9982
10538
  darwin*)
9983
10539
  # if libdl is installed we need to link against it
9984
 
    { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9985
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
 
10540
    { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
10541
$as_echo_n "checking for dlopen in -ldl... " >&6; }
9986
10542
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9987
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
10543
  $as_echo_n "(cached) " >&6
9988
10544
else
9989
10545
  ac_check_lib_save_LIBS=$LIBS
9990
10546
LIBS="-ldl  $LIBS"
10016
10572
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10017
10573
  *) ac_try_echo=$ac_try;;
10018
10574
esac
10019
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10575
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
10576
$as_echo "$ac_try_echo") >&5
10020
10577
  (eval "$ac_link") 2>conftest.er1
10021
10578
  ac_status=$?
10022
10579
  grep -v '^ *+' conftest.er1 >conftest.err
10023
10580
  rm -f conftest.er1
10024
10581
  cat conftest.err >&5
10025
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10582
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10026
10583
  (exit $ac_status); } && {
10027
10584
         test -z "$ac_c_werror_flag" ||
10028
10585
         test ! -s conftest.err
10029
 
       } && test -s conftest$ac_exeext &&
10030
 
       $as_test_x conftest$ac_exeext; then
 
10586
       } && test -s conftest$ac_exeext && {
 
10587
         test "$cross_compiling" = yes ||
 
10588
         $as_test_x conftest$ac_exeext
 
10589
       }; then
10031
10590
  ac_cv_lib_dl_dlopen=yes
10032
10591
else
10033
 
  echo "$as_me: failed program was:" >&5
 
10592
  $as_echo "$as_me: failed program was:" >&5
10034
10593
sed 's/^/| /' conftest.$ac_ext >&5
10035
10594
 
10036
10595
        ac_cv_lib_dl_dlopen=no
10037
10596
fi
10038
10597
 
 
10598
rm -rf conftest.dSYM
10039
10599
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10040
10600
      conftest$ac_exeext conftest.$ac_ext
10041
10601
LIBS=$ac_check_lib_save_LIBS
10042
10602
fi
10043
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10044
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
10045
 
if test $ac_cv_lib_dl_dlopen = yes; then
 
10603
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
10604
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 
10605
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
10046
10606
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10047
10607
else
10048
10608
 
10052
10612
 
10053
10613
fi
10054
10614
 
10055
 
   ;;
 
10615
    ;;
10056
10616
 
10057
10617
  *)
10058
 
    { echo "$as_me:$LINENO: checking for shl_load" >&5
10059
 
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
 
10618
    { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
 
10619
$as_echo_n "checking for shl_load... " >&6; }
10060
10620
if test "${ac_cv_func_shl_load+set}" = set; then
10061
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
10621
  $as_echo_n "(cached) " >&6
10062
10622
else
10063
10623
  cat >conftest.$ac_ext <<_ACEOF
10064
10624
/* confdefs.h.  */
10111
10671
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10112
10672
  *) ac_try_echo=$ac_try;;
10113
10673
esac
10114
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10674
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
10675
$as_echo "$ac_try_echo") >&5
10115
10676
  (eval "$ac_link") 2>conftest.er1
10116
10677
  ac_status=$?
10117
10678
  grep -v '^ *+' conftest.er1 >conftest.err
10118
10679
  rm -f conftest.er1
10119
10680
  cat conftest.err >&5
10120
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10681
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10121
10682
  (exit $ac_status); } && {
10122
10683
         test -z "$ac_c_werror_flag" ||
10123
10684
         test ! -s conftest.err
10124
 
       } && test -s conftest$ac_exeext &&
10125
 
       $as_test_x conftest$ac_exeext; then
 
10685
       } && test -s conftest$ac_exeext && {
 
10686
         test "$cross_compiling" = yes ||
 
10687
         $as_test_x conftest$ac_exeext
 
10688
       }; then
10126
10689
  ac_cv_func_shl_load=yes
10127
10690
else
10128
 
  echo "$as_me: failed program was:" >&5
 
10691
  $as_echo "$as_me: failed program was:" >&5
10129
10692
sed 's/^/| /' conftest.$ac_ext >&5
10130
10693
 
10131
10694
        ac_cv_func_shl_load=no
10132
10695
fi
10133
10696
 
 
10697
rm -rf conftest.dSYM
10134
10698
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10135
10699
      conftest$ac_exeext conftest.$ac_ext
10136
10700
fi
10137
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10138
 
echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
10139
 
if test $ac_cv_func_shl_load = yes; then
 
10701
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
 
10702
$as_echo "$ac_cv_func_shl_load" >&6; }
 
10703
if test "x$ac_cv_func_shl_load" = x""yes; then
10140
10704
  lt_cv_dlopen="shl_load"
10141
10705
else
10142
 
  { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10143
 
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
 
10706
  { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
 
10707
$as_echo_n "checking for shl_load in -ldld... " >&6; }
10144
10708
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10145
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
10709
  $as_echo_n "(cached) " >&6
10146
10710
else
10147
10711
  ac_check_lib_save_LIBS=$LIBS
10148
10712
LIBS="-ldld  $LIBS"
10174
10738
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10175
10739
  *) ac_try_echo=$ac_try;;
10176
10740
esac
10177
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10741
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
10742
$as_echo "$ac_try_echo") >&5
10178
10743
  (eval "$ac_link") 2>conftest.er1
10179
10744
  ac_status=$?
10180
10745
  grep -v '^ *+' conftest.er1 >conftest.err
10181
10746
  rm -f conftest.er1
10182
10747
  cat conftest.err >&5
10183
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10748
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10184
10749
  (exit $ac_status); } && {
10185
10750
         test -z "$ac_c_werror_flag" ||
10186
10751
         test ! -s conftest.err
10187
 
       } && test -s conftest$ac_exeext &&
10188
 
       $as_test_x conftest$ac_exeext; then
 
10752
       } && test -s conftest$ac_exeext && {
 
10753
         test "$cross_compiling" = yes ||
 
10754
         $as_test_x conftest$ac_exeext
 
10755
       }; then
10189
10756
  ac_cv_lib_dld_shl_load=yes
10190
10757
else
10191
 
  echo "$as_me: failed program was:" >&5
 
10758
  $as_echo "$as_me: failed program was:" >&5
10192
10759
sed 's/^/| /' conftest.$ac_ext >&5
10193
10760
 
10194
10761
        ac_cv_lib_dld_shl_load=no
10195
10762
fi
10196
10763
 
 
10764
rm -rf conftest.dSYM
10197
10765
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10198
10766
      conftest$ac_exeext conftest.$ac_ext
10199
10767
LIBS=$ac_check_lib_save_LIBS
10200
10768
fi
10201
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10202
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
10203
 
if test $ac_cv_lib_dld_shl_load = yes; then
 
10769
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
 
10770
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
 
10771
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
10204
10772
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10205
10773
else
10206
 
  { echo "$as_me:$LINENO: checking for dlopen" >&5
10207
 
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
 
10774
  { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
 
10775
$as_echo_n "checking for dlopen... " >&6; }
10208
10776
if test "${ac_cv_func_dlopen+set}" = set; then
10209
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
10777
  $as_echo_n "(cached) " >&6
10210
10778
else
10211
10779
  cat >conftest.$ac_ext <<_ACEOF
10212
10780
/* confdefs.h.  */
10259
10827
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10260
10828
  *) ac_try_echo=$ac_try;;
10261
10829
esac
10262
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10830
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
10831
$as_echo "$ac_try_echo") >&5
10263
10832
  (eval "$ac_link") 2>conftest.er1
10264
10833
  ac_status=$?
10265
10834
  grep -v '^ *+' conftest.er1 >conftest.err
10266
10835
  rm -f conftest.er1
10267
10836
  cat conftest.err >&5
10268
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10837
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10269
10838
  (exit $ac_status); } && {
10270
10839
         test -z "$ac_c_werror_flag" ||
10271
10840
         test ! -s conftest.err
10272
 
       } && test -s conftest$ac_exeext &&
10273
 
       $as_test_x conftest$ac_exeext; then
 
10841
       } && test -s conftest$ac_exeext && {
 
10842
         test "$cross_compiling" = yes ||
 
10843
         $as_test_x conftest$ac_exeext
 
10844
       }; then
10274
10845
  ac_cv_func_dlopen=yes
10275
10846
else
10276
 
  echo "$as_me: failed program was:" >&5
 
10847
  $as_echo "$as_me: failed program was:" >&5
10277
10848
sed 's/^/| /' conftest.$ac_ext >&5
10278
10849
 
10279
10850
        ac_cv_func_dlopen=no
10280
10851
fi
10281
10852
 
 
10853
rm -rf conftest.dSYM
10282
10854
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10283
10855
      conftest$ac_exeext conftest.$ac_ext
10284
10856
fi
10285
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10286
 
echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
10287
 
if test $ac_cv_func_dlopen = yes; then
 
10857
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
 
10858
$as_echo "$ac_cv_func_dlopen" >&6; }
 
10859
if test "x$ac_cv_func_dlopen" = x""yes; then
10288
10860
  lt_cv_dlopen="dlopen"
10289
10861
else
10290
 
  { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10291
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
 
10862
  { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
10863
$as_echo_n "checking for dlopen in -ldl... " >&6; }
10292
10864
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10293
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
10865
  $as_echo_n "(cached) " >&6
10294
10866
else
10295
10867
  ac_check_lib_save_LIBS=$LIBS
10296
10868
LIBS="-ldl  $LIBS"
10322
10894
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10323
10895
  *) ac_try_echo=$ac_try;;
10324
10896
esac
10325
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10897
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
10898
$as_echo "$ac_try_echo") >&5
10326
10899
  (eval "$ac_link") 2>conftest.er1
10327
10900
  ac_status=$?
10328
10901
  grep -v '^ *+' conftest.er1 >conftest.err
10329
10902
  rm -f conftest.er1
10330
10903
  cat conftest.err >&5
10331
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10904
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10332
10905
  (exit $ac_status); } && {
10333
10906
         test -z "$ac_c_werror_flag" ||
10334
10907
         test ! -s conftest.err
10335
 
       } && test -s conftest$ac_exeext &&
10336
 
       $as_test_x conftest$ac_exeext; then
 
10908
       } && test -s conftest$ac_exeext && {
 
10909
         test "$cross_compiling" = yes ||
 
10910
         $as_test_x conftest$ac_exeext
 
10911
       }; then
10337
10912
  ac_cv_lib_dl_dlopen=yes
10338
10913
else
10339
 
  echo "$as_me: failed program was:" >&5
 
10914
  $as_echo "$as_me: failed program was:" >&5
10340
10915
sed 's/^/| /' conftest.$ac_ext >&5
10341
10916
 
10342
10917
        ac_cv_lib_dl_dlopen=no
10343
10918
fi
10344
10919
 
 
10920
rm -rf conftest.dSYM
10345
10921
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10346
10922
      conftest$ac_exeext conftest.$ac_ext
10347
10923
LIBS=$ac_check_lib_save_LIBS
10348
10924
fi
10349
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10350
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
10351
 
if test $ac_cv_lib_dl_dlopen = yes; then
 
10925
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
10926
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 
10927
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
10352
10928
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10353
10929
else
10354
 
  { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10355
 
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
 
10930
  { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
 
10931
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
10356
10932
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10357
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
10933
  $as_echo_n "(cached) " >&6
10358
10934
else
10359
10935
  ac_check_lib_save_LIBS=$LIBS
10360
10936
LIBS="-lsvld  $LIBS"
10386
10962
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10387
10963
  *) ac_try_echo=$ac_try;;
10388
10964
esac
10389
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10965
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
10966
$as_echo "$ac_try_echo") >&5
10390
10967
  (eval "$ac_link") 2>conftest.er1
10391
10968
  ac_status=$?
10392
10969
  grep -v '^ *+' conftest.er1 >conftest.err
10393
10970
  rm -f conftest.er1
10394
10971
  cat conftest.err >&5
10395
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10972
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10396
10973
  (exit $ac_status); } && {
10397
10974
         test -z "$ac_c_werror_flag" ||
10398
10975
         test ! -s conftest.err
10399
 
       } && test -s conftest$ac_exeext &&
10400
 
       $as_test_x conftest$ac_exeext; then
 
10976
       } && test -s conftest$ac_exeext && {
 
10977
         test "$cross_compiling" = yes ||
 
10978
         $as_test_x conftest$ac_exeext
 
10979
       }; then
10401
10980
  ac_cv_lib_svld_dlopen=yes
10402
10981
else
10403
 
  echo "$as_me: failed program was:" >&5
 
10982
  $as_echo "$as_me: failed program was:" >&5
10404
10983
sed 's/^/| /' conftest.$ac_ext >&5
10405
10984
 
10406
10985
        ac_cv_lib_svld_dlopen=no
10407
10986
fi
10408
10987
 
 
10988
rm -rf conftest.dSYM
10409
10989
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10410
10990
      conftest$ac_exeext conftest.$ac_ext
10411
10991
LIBS=$ac_check_lib_save_LIBS
10412
10992
fi
10413
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10414
 
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
10415
 
if test $ac_cv_lib_svld_dlopen = yes; then
 
10993
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
 
10994
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
 
10995
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
10416
10996
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10417
10997
else
10418
 
  { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10419
 
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
 
10998
  { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
 
10999
$as_echo_n "checking for dld_link in -ldld... " >&6; }
10420
11000
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10421
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11001
  $as_echo_n "(cached) " >&6
10422
11002
else
10423
11003
  ac_check_lib_save_LIBS=$LIBS
10424
11004
LIBS="-ldld  $LIBS"
10450
11030
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10451
11031
  *) ac_try_echo=$ac_try;;
10452
11032
esac
10453
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11033
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
11034
$as_echo "$ac_try_echo") >&5
10454
11035
  (eval "$ac_link") 2>conftest.er1
10455
11036
  ac_status=$?
10456
11037
  grep -v '^ *+' conftest.er1 >conftest.err
10457
11038
  rm -f conftest.er1
10458
11039
  cat conftest.err >&5
10459
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11040
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10460
11041
  (exit $ac_status); } && {
10461
11042
         test -z "$ac_c_werror_flag" ||
10462
11043
         test ! -s conftest.err
10463
 
       } && test -s conftest$ac_exeext &&
10464
 
       $as_test_x conftest$ac_exeext; then
 
11044
       } && test -s conftest$ac_exeext && {
 
11045
         test "$cross_compiling" = yes ||
 
11046
         $as_test_x conftest$ac_exeext
 
11047
       }; then
10465
11048
  ac_cv_lib_dld_dld_link=yes
10466
11049
else
10467
 
  echo "$as_me: failed program was:" >&5
 
11050
  $as_echo "$as_me: failed program was:" >&5
10468
11051
sed 's/^/| /' conftest.$ac_ext >&5
10469
11052
 
10470
11053
        ac_cv_lib_dld_dld_link=no
10471
11054
fi
10472
11055
 
 
11056
rm -rf conftest.dSYM
10473
11057
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10474
11058
      conftest$ac_exeext conftest.$ac_ext
10475
11059
LIBS=$ac_check_lib_save_LIBS
10476
11060
fi
10477
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10478
 
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
10479
 
if test $ac_cv_lib_dld_dld_link = yes; then
 
11061
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
 
11062
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
 
11063
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
10480
11064
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10481
11065
fi
10482
11066
 
10515
11099
    save_LIBS="$LIBS"
10516
11100
    LIBS="$lt_cv_dlopen_libs $LIBS"
10517
11101
 
10518
 
    { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10519
 
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
 
11102
    { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
 
11103
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
10520
11104
if test "${lt_cv_dlopen_self+set}" = set; then
10521
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11105
  $as_echo_n "(cached) " >&6
10522
11106
else
10523
11107
          if test "$cross_compiling" = yes; then :
10524
11108
  lt_cv_dlopen_self=cross
10525
11109
else
10526
11110
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10527
11111
  lt_status=$lt_dlunknown
10528
 
  cat > conftest.$ac_ext <<EOF
10529
 
#line 10529 "configure"
 
11112
  cat > conftest.$ac_ext <<_LT_EOF
 
11113
#line 11113 "configure"
10530
11114
#include "confdefs.h"
10531
11115
 
10532
11116
#if HAVE_DLFCN_H
10567
11151
#  endif
10568
11152
#endif
10569
11153
 
10570
 
#ifdef __cplusplus
10571
 
extern "C" void exit (int);
10572
 
#endif
10573
 
 
10574
11154
void fnord() { int i=42;}
10575
11155
int main ()
10576
11156
{
10586
11166
  else
10587
11167
    puts (dlerror ());
10588
11168
 
10589
 
    exit (status);
 
11169
  return status;
10590
11170
}
10591
 
EOF
 
11171
_LT_EOF
10592
11172
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10593
11173
  (eval $ac_link) 2>&5
10594
11174
  ac_status=$?
10595
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11175
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10596
11176
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10597
11177
    (./conftest; exit; ) >&5 2>/dev/null
10598
11178
    lt_status=$?
10610
11190
 
10611
11191
 
10612
11192
fi
10613
 
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10614
 
echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
 
11193
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
 
11194
$as_echo "$lt_cv_dlopen_self" >&6; }
10615
11195
 
10616
11196
    if test "x$lt_cv_dlopen_self" = xyes; then
10617
11197
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10618
 
      { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10619
 
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
 
11198
      { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
 
11199
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10620
11200
if test "${lt_cv_dlopen_self_static+set}" = set; then
10621
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11201
  $as_echo_n "(cached) " >&6
10622
11202
else
10623
11203
          if test "$cross_compiling" = yes; then :
10624
11204
  lt_cv_dlopen_self_static=cross
10625
11205
else
10626
11206
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10627
11207
  lt_status=$lt_dlunknown
10628
 
  cat > conftest.$ac_ext <<EOF
10629
 
#line 10629 "configure"
 
11208
  cat > conftest.$ac_ext <<_LT_EOF
 
11209
#line 11209 "configure"
10630
11210
#include "confdefs.h"
10631
11211
 
10632
11212
#if HAVE_DLFCN_H
10667
11247
#  endif
10668
11248
#endif
10669
11249
 
10670
 
#ifdef __cplusplus
10671
 
extern "C" void exit (int);
10672
 
#endif
10673
 
 
10674
11250
void fnord() { int i=42;}
10675
11251
int main ()
10676
11252
{
10686
11262
  else
10687
11263
    puts (dlerror ());
10688
11264
 
10689
 
    exit (status);
 
11265
  return status;
10690
11266
}
10691
 
EOF
 
11267
_LT_EOF
10692
11268
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10693
11269
  (eval $ac_link) 2>&5
10694
11270
  ac_status=$?
10695
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11271
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10696
11272
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10697
11273
    (./conftest; exit; ) >&5 2>/dev/null
10698
11274
    lt_status=$?
10710
11286
 
10711
11287
 
10712
11288
fi
10713
 
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10714
 
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
 
11289
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
 
11290
$as_echo "$lt_cv_dlopen_self_static" >&6; }
10715
11291
    fi
10716
11292
 
10717
11293
    CPPFLAGS="$save_CPPFLAGS"
10732
11308
fi
10733
11309
 
10734
11310
 
10735
 
# Report which library types will actually be built
10736
 
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10737
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
10738
 
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
10739
 
echo "${ECHO_T}$can_build_shared" >&6; }
10740
 
 
10741
 
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10742
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
10743
 
test "$can_build_shared" = "no" && enable_shared=no
10744
 
 
10745
 
# On AIX, shared libraries and static libraries use the same namespace, and
10746
 
# are all built from PIC.
10747
 
case $host_os in
10748
 
aix3*)
10749
 
  test "$enable_shared" = yes && enable_static=no
10750
 
  if test -n "$RANLIB"; then
10751
 
    archive_cmds="$archive_cmds~\$RANLIB \$lib"
10752
 
    postinstall_cmds='$RANLIB $lib'
10753
 
  fi
10754
 
  ;;
10755
 
 
10756
 
aix[4-9]*)
10757
 
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10758
 
    test "$enable_shared" = yes && enable_static=no
10759
 
  fi
10760
 
    ;;
10761
 
esac
10762
 
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
10763
 
echo "${ECHO_T}$enable_shared" >&6; }
10764
 
 
10765
 
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10766
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
10767
 
# Make sure either enable_shared or enable_static is yes.
10768
 
test "$enable_shared" = yes || enable_static=yes
10769
 
{ echo "$as_me:$LINENO: result: $enable_static" >&5
10770
 
echo "${ECHO_T}$enable_static" >&6; }
10771
 
 
10772
 
# The else clause should only fire when bootstrapping the
10773
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
10774
 
# with your package, and you will get complaints that there are
10775
 
# no rules to generate ltmain.sh.
10776
 
if test -f "$ltmain"; then
10777
 
  # See if we are running on zsh, and set the options which allow our commands through
10778
 
  # without removal of \ escapes.
10779
 
  if test -n "${ZSH_VERSION+set}" ; then
10780
 
    setopt NO_GLOB_SUBST
10781
 
  fi
10782
 
  # Now quote all the things that may contain metacharacters while being
10783
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
10784
 
  # variables and quote the copies for generation of the libtool script.
10785
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
10786
 
    SED SHELL STRIP \
10787
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
10788
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
10789
 
    deplibs_check_method reload_flag reload_cmds need_locks \
10790
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
10791
 
    lt_cv_sys_global_symbol_to_c_name_address \
10792
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
10793
 
    old_postinstall_cmds old_postuninstall_cmds \
10794
 
    compiler \
10795
 
    CC \
10796
 
    LD \
10797
 
    lt_prog_compiler_wl \
10798
 
    lt_prog_compiler_pic \
10799
 
    lt_prog_compiler_static \
10800
 
    lt_prog_compiler_no_builtin_flag \
10801
 
    export_dynamic_flag_spec \
10802
 
    thread_safe_flag_spec \
10803
 
    whole_archive_flag_spec \
10804
 
    enable_shared_with_static_runtimes \
10805
 
    old_archive_cmds \
10806
 
    old_archive_from_new_cmds \
10807
 
    predep_objects \
10808
 
    postdep_objects \
10809
 
    predeps \
10810
 
    postdeps \
10811
 
    compiler_lib_search_path \
10812
 
    compiler_lib_search_dirs \
10813
 
    archive_cmds \
10814
 
    archive_expsym_cmds \
10815
 
    postinstall_cmds \
10816
 
    postuninstall_cmds \
10817
 
    old_archive_from_expsyms_cmds \
10818
 
    allow_undefined_flag \
10819
 
    no_undefined_flag \
10820
 
    export_symbols_cmds \
10821
 
    hardcode_libdir_flag_spec \
10822
 
    hardcode_libdir_flag_spec_ld \
10823
 
    hardcode_libdir_separator \
10824
 
    hardcode_automatic \
10825
 
    module_cmds \
10826
 
    module_expsym_cmds \
10827
 
    lt_cv_prog_compiler_c_o \
10828
 
    fix_srcfile_path \
10829
 
    exclude_expsyms \
10830
 
    include_expsyms; do
10831
 
 
10832
 
    case $var in
10833
 
    old_archive_cmds | \
10834
 
    old_archive_from_new_cmds | \
10835
 
    archive_cmds | \
10836
 
    archive_expsym_cmds | \
10837
 
    module_cmds | \
10838
 
    module_expsym_cmds | \
10839
 
    old_archive_from_expsyms_cmds | \
10840
 
    export_symbols_cmds | \
10841
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
10842
 
    postinstall_cmds | postuninstall_cmds | \
10843
 
    old_postinstall_cmds | old_postuninstall_cmds | \
10844
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
10845
 
      # Double-quote double-evaled strings.
10846
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
10847
 
      ;;
10848
 
    *)
10849
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
10850
 
      ;;
10851
 
    esac
10852
 
  done
10853
 
 
10854
 
  case $lt_echo in
10855
 
  *'\$0 --fallback-echo"')
10856
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
10857
 
    ;;
10858
 
  esac
10859
 
 
10860
 
cfgfile="${ofile}T"
10861
 
  trap "$rm \"$cfgfile\"; exit 1" 1 2 15
10862
 
  $rm -f "$cfgfile"
10863
 
  { echo "$as_me:$LINENO: creating $ofile" >&5
10864
 
echo "$as_me: creating $ofile" >&6;}
10865
 
 
10866
 
  cat <<__EOF__ >> "$cfgfile"
10867
 
#! $SHELL
10868
 
 
10869
 
# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
10870
 
# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
10871
 
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
10872
 
#
10873
 
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
10874
 
# Free Software Foundation, Inc.
10875
 
#
10876
 
# This file is part of GNU Libtool:
10877
 
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
10878
 
#
10879
 
# This program is free software; you can redistribute it and/or modify
10880
 
# it under the terms of the GNU General Public License as published by
10881
 
# the Free Software Foundation; either version 2 of the License, or
10882
 
# (at your option) any later version.
10883
 
#
10884
 
# This program is distributed in the hope that it will be useful, but
10885
 
# WITHOUT ANY WARRANTY; without even the implied warranty of
10886
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
10887
 
# General Public License for more details.
10888
 
#
10889
 
# You should have received a copy of the GNU General Public License
10890
 
# along with this program; if not, write to the Free Software
10891
 
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
10892
 
#
10893
 
# As a special exception to the GNU General Public License, if you
10894
 
# distribute this file as part of a program that contains a
10895
 
# configuration script generated by Autoconf, you may include it under
10896
 
# the same distribution terms that you use for the rest of that program.
10897
 
 
10898
 
# A sed program that does not truncate output.
10899
 
SED=$lt_SED
10900
 
 
10901
 
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
10902
 
Xsed="$SED -e 1s/^X//"
10903
 
 
10904
 
# The HP-UX ksh and POSIX shell print the target directory to stdout
10905
 
# if CDPATH is set.
10906
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
10907
 
 
10908
 
# The names of the tagged configurations supported by this script.
10909
 
available_tags=
10910
 
 
10911
 
# ### BEGIN LIBTOOL CONFIG
10912
 
 
10913
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
10914
 
 
10915
 
# Shell to use when invoking shell scripts.
10916
 
SHELL=$lt_SHELL
10917
 
 
10918
 
# Whether or not to build shared libraries.
10919
 
build_libtool_libs=$enable_shared
10920
 
 
10921
 
# Whether or not to build static libraries.
10922
 
build_old_libs=$enable_static
10923
 
 
10924
 
# Whether or not to add -lc for building shared libraries.
10925
 
build_libtool_need_lc=$archive_cmds_need_lc
10926
 
 
10927
 
# Whether or not to disallow shared libs when runtime libs are static
10928
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
10929
 
 
10930
 
# Whether or not to optimize for fast installation.
10931
 
fast_install=$enable_fast_install
10932
 
 
10933
 
# The host system.
10934
 
host_alias=$host_alias
10935
 
host=$host
10936
 
host_os=$host_os
10937
 
 
10938
 
# The build system.
10939
 
build_alias=$build_alias
10940
 
build=$build
10941
 
build_os=$build_os
10942
 
 
10943
 
# An echo program that does not interpret backslashes.
10944
 
echo=$lt_echo
10945
 
 
10946
 
# The archiver.
10947
 
AR=$lt_AR
10948
 
AR_FLAGS=$lt_AR_FLAGS
10949
 
 
10950
 
# A C compiler.
10951
 
LTCC=$lt_LTCC
10952
 
 
10953
 
# LTCC compiler flags.
10954
 
LTCFLAGS=$lt_LTCFLAGS
10955
 
 
10956
 
# A language-specific compiler.
10957
 
CC=$lt_compiler
10958
 
 
10959
 
# Is the compiler the GNU C compiler?
10960
 
with_gcc=$GCC
10961
 
 
10962
 
# An ERE matcher.
10963
 
EGREP=$lt_EGREP
10964
 
 
10965
 
# The linker used to build libraries.
10966
 
LD=$lt_LD
10967
 
 
10968
 
# Whether we need hard or soft links.
10969
 
LN_S=$lt_LN_S
10970
 
 
10971
 
# A BSD-compatible nm program.
10972
 
NM=$lt_NM
10973
 
 
10974
 
# A symbol stripping program
10975
 
STRIP=$lt_STRIP
10976
 
 
10977
 
# Used to examine libraries when file_magic_cmd begins "file"
10978
 
MAGIC_CMD=$MAGIC_CMD
10979
 
 
10980
 
# Used on cygwin: DLL creation program.
10981
 
DLLTOOL="$DLLTOOL"
10982
 
 
10983
 
# Used on cygwin: object dumper.
10984
 
OBJDUMP="$OBJDUMP"
10985
 
 
10986
 
# Used on cygwin: assembler.
10987
 
AS="$AS"
10988
 
 
10989
 
# The name of the directory that contains temporary libtool files.
10990
 
objdir=$objdir
10991
 
 
10992
 
# How to create reloadable object files.
10993
 
reload_flag=$lt_reload_flag
10994
 
reload_cmds=$lt_reload_cmds
10995
 
 
10996
 
# How to pass a linker flag through the compiler.
10997
 
wl=$lt_lt_prog_compiler_wl
10998
 
 
10999
 
# Object file suffix (normally "o").
11000
 
objext="$ac_objext"
11001
 
 
11002
 
# Old archive suffix (normally "a").
11003
 
libext="$libext"
11004
 
 
11005
 
# Shared library suffix (normally ".so").
11006
 
shrext_cmds='$shrext_cmds'
11007
 
 
11008
 
# Executable file suffix (normally "").
11009
 
exeext="$exeext"
11010
 
 
11011
 
# Additional compiler flags for building library objects.
11012
 
pic_flag=$lt_lt_prog_compiler_pic
11013
 
pic_mode=$pic_mode
11014
 
 
11015
 
# What is the maximum length of a command?
11016
 
max_cmd_len=$lt_cv_sys_max_cmd_len
11017
 
 
11018
 
# Does compiler simultaneously support -c and -o options?
11019
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
11020
 
 
11021
 
# Must we lock files when doing compilation?
11022
 
need_locks=$lt_need_locks
11023
 
 
11024
 
# Do we need the lib prefix for modules?
11025
 
need_lib_prefix=$need_lib_prefix
11026
 
 
11027
 
# Do we need a version for libraries?
11028
 
need_version=$need_version
11029
 
 
11030
 
# Whether dlopen is supported.
11031
 
dlopen_support=$enable_dlopen
11032
 
 
11033
 
# Whether dlopen of programs is supported.
11034
 
dlopen_self=$enable_dlopen_self
11035
 
 
11036
 
# Whether dlopen of statically linked programs is supported.
11037
 
dlopen_self_static=$enable_dlopen_self_static
11038
 
 
11039
 
# Compiler flag to prevent dynamic linking.
11040
 
link_static_flag=$lt_lt_prog_compiler_static
11041
 
 
11042
 
# Compiler flag to turn off builtin functions.
11043
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
11044
 
 
11045
 
# Compiler flag to allow reflexive dlopens.
11046
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
11047
 
 
11048
 
# Compiler flag to generate shared objects directly from archives.
11049
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec
11050
 
 
11051
 
# Compiler flag to generate thread-safe objects.
11052
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec
11053
 
 
11054
 
# Library versioning type.
11055
 
version_type=$version_type
11056
 
 
11057
 
# Format of library name prefix.
11058
 
libname_spec=$lt_libname_spec
11059
 
 
11060
 
# List of archive names.  First name is the real one, the rest are links.
11061
 
# The last name is the one that the linker finds with -lNAME.
11062
 
library_names_spec=$lt_library_names_spec
11063
 
 
11064
 
# The coded name of the library, if different from the real name.
11065
 
soname_spec=$lt_soname_spec
11066
 
 
11067
 
# Commands used to build and install an old-style archive.
11068
 
RANLIB=$lt_RANLIB
11069
 
old_archive_cmds=$lt_old_archive_cmds
11070
 
old_postinstall_cmds=$lt_old_postinstall_cmds
11071
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
11072
 
 
11073
 
# Create an old-style archive from a shared archive.
11074
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
11075
 
 
11076
 
# Create a temporary old-style archive to link instead of a shared archive.
11077
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
11078
 
 
11079
 
# Commands used to build and install a shared archive.
11080
 
archive_cmds=$lt_archive_cmds
11081
 
archive_expsym_cmds=$lt_archive_expsym_cmds
11082
 
postinstall_cmds=$lt_postinstall_cmds
11083
 
postuninstall_cmds=$lt_postuninstall_cmds
11084
 
 
11085
 
# Commands used to build a loadable module (assumed same as above if empty)
11086
 
module_cmds=$lt_module_cmds
11087
 
module_expsym_cmds=$lt_module_expsym_cmds
11088
 
 
11089
 
# Commands to strip libraries.
11090
 
old_striplib=$lt_old_striplib
11091
 
striplib=$lt_striplib
11092
 
 
11093
 
# Dependencies to place before the objects being linked to create a
11094
 
# shared library.
11095
 
predep_objects=$lt_predep_objects
11096
 
 
11097
 
# Dependencies to place after the objects being linked to create a
11098
 
# shared library.
11099
 
postdep_objects=$lt_postdep_objects
11100
 
 
11101
 
# Dependencies to place before the objects being linked to create a
11102
 
# shared library.
11103
 
predeps=$lt_predeps
11104
 
 
11105
 
# Dependencies to place after the objects being linked to create a
11106
 
# shared library.
11107
 
postdeps=$lt_postdeps
11108
 
 
11109
 
# The directories searched by this compiler when creating a shared
11110
 
# library
11111
 
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
11112
 
 
11113
 
# The library search path used internally by the compiler when linking
11114
 
# a shared library.
11115
 
compiler_lib_search_path=$lt_compiler_lib_search_path
11116
 
 
11117
 
# Method to check whether dependent libraries are shared objects.
11118
 
deplibs_check_method=$lt_deplibs_check_method
11119
 
 
11120
 
# Command to use when deplibs_check_method == file_magic.
11121
 
file_magic_cmd=$lt_file_magic_cmd
11122
 
 
11123
 
# Flag that allows shared libraries with undefined symbols to be built.
11124
 
allow_undefined_flag=$lt_allow_undefined_flag
11125
 
 
11126
 
# Flag that forces no undefined symbols.
11127
 
no_undefined_flag=$lt_no_undefined_flag
11128
 
 
11129
 
# Commands used to finish a libtool library installation in a directory.
11130
 
finish_cmds=$lt_finish_cmds
11131
 
 
11132
 
# Same as above, but a single script fragment to be evaled but not shown.
11133
 
finish_eval=$lt_finish_eval
11134
 
 
11135
 
# Take the output of nm and produce a listing of raw symbols and C names.
11136
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
11137
 
 
11138
 
# Transform the output of nm in a proper C declaration
11139
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
11140
 
 
11141
 
# Transform the output of nm in a C name address pair
11142
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
11143
 
 
11144
 
# This is the shared library runtime path variable.
11145
 
runpath_var=$runpath_var
11146
 
 
11147
 
# This is the shared library path variable.
11148
 
shlibpath_var=$shlibpath_var
11149
 
 
11150
 
# Is shlibpath searched before the hard-coded library search path?
11151
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
11152
 
 
11153
 
# How to hardcode a shared library path into an executable.
11154
 
hardcode_action=$hardcode_action
11155
 
 
11156
 
# Whether we should hardcode library paths into libraries.
11157
 
hardcode_into_libs=$hardcode_into_libs
11158
 
 
11159
 
# Flag to hardcode \$libdir into a binary during linking.
11160
 
# This must work even if \$libdir does not exist.
11161
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
11162
 
 
11163
 
# If ld is used when linking, flag to hardcode \$libdir into
11164
 
# a binary during linking. This must work even if \$libdir does
11165
 
# not exist.
11166
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
11167
 
 
11168
 
# Whether we need a single -rpath flag with a separated argument.
11169
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator
11170
 
 
11171
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
11172
 
# resulting binary.
11173
 
hardcode_direct=$hardcode_direct
11174
 
 
11175
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
11176
 
# resulting binary.
11177
 
hardcode_minus_L=$hardcode_minus_L
11178
 
 
11179
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
11180
 
# the resulting binary.
11181
 
hardcode_shlibpath_var=$hardcode_shlibpath_var
11182
 
 
11183
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
11184
 
# and all subsequent libraries and executables linked against it.
11185
 
hardcode_automatic=$hardcode_automatic
11186
 
 
11187
 
# Variables whose values should be saved in libtool wrapper scripts and
11188
 
# restored at relink time.
11189
 
variables_saved_for_relink="$variables_saved_for_relink"
11190
 
 
11191
 
# Whether libtool must link a program against all its dependency libraries.
11192
 
link_all_deplibs=$link_all_deplibs
11193
 
 
11194
 
# Compile-time system search path for libraries
11195
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
11196
 
 
11197
 
# Run-time system search path for libraries
11198
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
11199
 
 
11200
 
# Fix the shell variable \$srcfile for the compiler.
11201
 
fix_srcfile_path=$lt_fix_srcfile_path
11202
 
 
11203
 
# Set to yes if exported symbols are required.
11204
 
always_export_symbols=$always_export_symbols
11205
 
 
11206
 
# The commands to list exported symbols.
11207
 
export_symbols_cmds=$lt_export_symbols_cmds
11208
 
 
11209
 
# The commands to extract the exported symbol list from a shared archive.
11210
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
11211
 
 
11212
 
# Symbols that should not be listed in the preloaded symbols.
11213
 
exclude_expsyms=$lt_exclude_expsyms
11214
 
 
11215
 
# Symbols that must always be exported.
11216
 
include_expsyms=$lt_include_expsyms
11217
 
 
11218
 
# ### END LIBTOOL CONFIG
11219
 
 
11220
 
__EOF__
11221
 
 
11222
 
 
11223
 
  case $host_os in
11224
 
  aix3*)
11225
 
    cat <<\EOF >> "$cfgfile"
11226
 
 
11227
 
# AIX sometimes has problems with the GCC collect2 program.  For some
11228
 
# reason, if we set the COLLECT_NAMES environment variable, the problems
11229
 
# vanish in a puff of smoke.
11230
 
if test "X${COLLECT_NAMES+set}" != Xset; then
11231
 
  COLLECT_NAMES=
11232
 
  export COLLECT_NAMES
11233
 
fi
11234
 
EOF
11235
 
    ;;
11236
 
  esac
11237
 
 
11238
 
  # We use sed instead of cat because bash on DJGPP gets confused if
11239
 
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
11240
 
  # text mode, it properly converts lines to CR/LF.  This bash problem
11241
 
  # is reportedly fixed, but why not run on old versions too?
11242
 
  sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
11243
 
 
11244
 
  mv -f "$cfgfile" "$ofile" || \
11245
 
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
11246
 
  chmod +x "$ofile"
11247
 
 
11248
 
else
11249
 
  # If there is no Makefile yet, we rely on a make rule to execute
11250
 
  # `config.status --recheck' to rerun these tests and create the
11251
 
  # libtool script then.
11252
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
11253
 
  if test -f "$ltmain_in"; then
11254
 
    test -f Makefile && make "$ltmain"
11255
 
  fi
11256
 
fi
11257
 
 
11258
 
 
11259
 
ac_ext=c
11260
 
ac_cpp='$CPP $CPPFLAGS'
11261
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11262
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11263
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
11264
 
 
11265
 
CC="$lt_save_CC"
11266
 
 
11267
 
 
11268
 
# Check whether --with-tags was given.
11269
 
if test "${with_tags+set}" = set; then
11270
 
  withval=$with_tags; tagnames="$withval"
11271
 
fi
11272
 
 
11273
 
 
11274
 
if test -f "$ltmain" && test -n "$tagnames"; then
11275
 
  if test ! -f "${ofile}"; then
11276
 
    { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
11277
 
echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
11278
 
  fi
11279
 
 
11280
 
  if test -z "$LTCC"; then
11281
 
    eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
11282
 
    if test -z "$LTCC"; then
11283
 
      { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
11284
 
echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
11285
 
    else
11286
 
      { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
11287
 
echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
11288
 
    fi
11289
 
  fi
11290
 
  if test -z "$LTCFLAGS"; then
11291
 
    eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
11292
 
  fi
11293
 
 
11294
 
  # Extract list of available tagged configurations in $ofile.
11295
 
  # Note that this assumes the entire list is on one line.
11296
 
  available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
11297
 
 
11298
 
  lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
11299
 
  for tagname in $tagnames; do
11300
 
    IFS="$lt_save_ifs"
11301
 
    # Check whether tagname contains only valid characters
11302
 
    case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
11303
 
    "") ;;
11304
 
    *)  { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
11305
 
echo "$as_me: error: invalid tag name: $tagname" >&2;}
11306
 
   { (exit 1); exit 1; }; }
11307
 
        ;;
11308
 
    esac
11309
 
 
11310
 
    if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
11311
 
    then
11312
 
      { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
11313
 
echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
11314
 
   { (exit 1); exit 1; }; }
11315
 
    fi
11316
 
 
11317
 
    # Update the list of available tags.
11318
 
    if test -n "$tagname"; then
11319
 
      echo appending configuration tag \"$tagname\" to $ofile
11320
 
 
11321
 
      case $tagname in
11322
 
      CXX)
11323
 
        if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11324
 
            ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11325
 
            (test "X$CXX" != "Xg++"))) ; then
11326
 
          ac_ext=cpp
11327
 
ac_cpp='$CXXCPP $CPPFLAGS'
11328
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11329
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11330
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11331
 
 
11332
 
 
11333
 
 
11334
 
 
11335
 
archive_cmds_need_lc_CXX=no
11336
 
allow_undefined_flag_CXX=
11337
 
always_export_symbols_CXX=no
11338
 
archive_expsym_cmds_CXX=
11339
 
export_dynamic_flag_spec_CXX=
11340
 
hardcode_direct_CXX=no
11341
 
hardcode_libdir_flag_spec_CXX=
11342
 
hardcode_libdir_flag_spec_ld_CXX=
11343
 
hardcode_libdir_separator_CXX=
11344
 
hardcode_minus_L_CXX=no
11345
 
hardcode_shlibpath_var_CXX=unsupported
11346
 
hardcode_automatic_CXX=no
11347
 
module_cmds_CXX=
11348
 
module_expsym_cmds_CXX=
11349
 
link_all_deplibs_CXX=unknown
11350
 
old_archive_cmds_CXX=$old_archive_cmds
11351
 
no_undefined_flag_CXX=
11352
 
whole_archive_flag_spec_CXX=
11353
 
enable_shared_with_static_runtimes_CXX=no
11354
 
 
11355
 
# Dependencies to place before and after the object being linked:
11356
 
predep_objects_CXX=
11357
 
postdep_objects_CXX=
11358
 
predeps_CXX=
11359
 
postdeps_CXX=
11360
 
compiler_lib_search_path_CXX=
11361
 
compiler_lib_search_dirs_CXX=
11362
 
 
11363
 
# Source file extension for C++ test sources.
11364
 
ac_ext=cpp
11365
 
 
11366
 
# Object file extension for compiled C++ test sources.
11367
 
objext=o
11368
 
objext_CXX=$objext
11369
 
 
11370
 
# Code to be used in simple compile tests
11371
 
lt_simple_compile_test_code="int some_variable = 0;"
11372
 
 
11373
 
# Code to be used in simple link tests
11374
 
lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
11375
 
 
11376
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
11377
 
 
11378
 
# If no C compiler was specified, use CC.
11379
 
LTCC=${LTCC-"$CC"}
11380
 
 
11381
 
# If no C compiler flags were specified, use CFLAGS.
11382
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11383
 
 
11384
 
# Allow CC to be a program name with arguments.
11385
 
compiler=$CC
11386
 
 
11387
 
 
11388
 
# save warnings/boilerplate of simple test code
11389
 
ac_outfile=conftest.$ac_objext
11390
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
11391
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11392
 
_lt_compiler_boilerplate=`cat conftest.err`
11393
 
$rm conftest*
11394
 
 
11395
 
ac_outfile=conftest.$ac_objext
11396
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
11397
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11398
 
_lt_linker_boilerplate=`cat conftest.err`
11399
 
$rm -r conftest*
11400
 
 
11401
 
 
11402
 
# Allow CC to be a program name with arguments.
11403
 
lt_save_CC=$CC
11404
 
lt_save_LD=$LD
11405
 
lt_save_GCC=$GCC
11406
 
GCC=$GXX
11407
 
lt_save_with_gnu_ld=$with_gnu_ld
11408
 
lt_save_path_LD=$lt_cv_path_LD
11409
 
if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11410
 
  lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
11411
 
else
11412
 
  $as_unset lt_cv_prog_gnu_ld
11413
 
fi
11414
 
if test -n "${lt_cv_path_LDCXX+set}"; then
11415
 
  lt_cv_path_LD=$lt_cv_path_LDCXX
11416
 
else
11417
 
  $as_unset lt_cv_path_LD
11418
 
fi
11419
 
test -z "${LDCXX+set}" || LD=$LDCXX
11420
 
CC=${CXX-"c++"}
11421
 
compiler=$CC
11422
 
compiler_CXX=$CC
11423
 
for cc_temp in $compiler""; do
11424
 
  case $cc_temp in
11425
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
11426
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
11427
 
    \-*) ;;
11428
 
    *) break;;
11429
 
  esac
11430
 
done
11431
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
11432
 
 
11433
 
 
11434
 
# We don't want -fno-exception wen compiling C++ code, so set the
11435
 
# no_builtin_flag separately
11436
 
if test "$GXX" = yes; then
11437
 
  lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
11438
 
else
11439
 
  lt_prog_compiler_no_builtin_flag_CXX=
11440
 
fi
11441
 
 
11442
 
if test "$GXX" = yes; then
11443
 
  # Set up default GNU C++ configuration
11444
 
 
11445
 
 
11446
 
# Check whether --with-gnu-ld was given.
11447
 
if test "${with_gnu_ld+set}" = set; then
11448
 
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
11449
 
else
11450
 
  with_gnu_ld=no
11451
 
fi
11452
 
 
11453
 
ac_prog=ld
11454
 
if test "$GCC" = yes; then
11455
 
  # Check if gcc -print-prog-name=ld gives a path.
11456
 
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
11457
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
11458
 
  case $host in
11459
 
  *-*-mingw*)
11460
 
    # gcc leaves a trailing carriage return which upsets mingw
11461
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
11462
 
  *)
11463
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
11464
 
  esac
11465
 
  case $ac_prog in
11466
 
    # Accept absolute paths.
11467
 
    [\\/]* | ?:[\\/]*)
11468
 
      re_direlt='/[^/][^/]*/\.\./'
11469
 
      # Canonicalize the pathname of ld
11470
 
      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
11471
 
      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
11472
 
        ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
11473
 
      done
11474
 
      test -z "$LD" && LD="$ac_prog"
11475
 
      ;;
11476
 
  "")
11477
 
    # If it fails, then pretend we aren't using GCC.
11478
 
    ac_prog=ld
11479
 
    ;;
11480
 
  *)
11481
 
    # If it is relative, then search for the first ld in PATH.
11482
 
    with_gnu_ld=unknown
11483
 
    ;;
11484
 
  esac
11485
 
elif test "$with_gnu_ld" = yes; then
11486
 
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
11487
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
11488
 
else
11489
 
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
11490
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
11491
 
fi
11492
 
if test "${lt_cv_path_LD+set}" = set; then
11493
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
11494
 
else
11495
 
  if test -z "$LD"; then
11496
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11497
 
  for ac_dir in $PATH; do
11498
 
    IFS="$lt_save_ifs"
11499
 
    test -z "$ac_dir" && ac_dir=.
11500
 
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
11501
 
      lt_cv_path_LD="$ac_dir/$ac_prog"
11502
 
      # Check to see if the program is GNU ld.  I'd rather use --version,
11503
 
      # but apparently some variants of GNU ld only accept -v.
11504
 
      # Break only if it was the GNU/non-GNU ld that we prefer.
11505
 
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
11506
 
      *GNU* | *'with BFD'*)
11507
 
        test "$with_gnu_ld" != no && break
11508
 
        ;;
11509
 
      *)
11510
 
        test "$with_gnu_ld" != yes && break
11511
 
        ;;
11512
 
      esac
11513
 
    fi
11514
 
  done
11515
 
  IFS="$lt_save_ifs"
11516
 
else
11517
 
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
11518
 
fi
11519
 
fi
11520
 
 
11521
 
LD="$lt_cv_path_LD"
11522
 
if test -n "$LD"; then
11523
 
  { echo "$as_me:$LINENO: result: $LD" >&5
11524
 
echo "${ECHO_T}$LD" >&6; }
11525
 
else
11526
 
  { echo "$as_me:$LINENO: result: no" >&5
11527
 
echo "${ECHO_T}no" >&6; }
11528
 
fi
11529
 
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
11530
 
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
11531
 
   { (exit 1); exit 1; }; }
11532
 
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
11533
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
11534
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then
11535
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
11536
 
else
11537
 
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
11538
 
case `$LD -v 2>&1 </dev/null` in
11539
 
*GNU* | *'with BFD'*)
11540
 
  lt_cv_prog_gnu_ld=yes
11541
 
  ;;
11542
 
*)
11543
 
  lt_cv_prog_gnu_ld=no
11544
 
  ;;
11545
 
esac
11546
 
fi
11547
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
11548
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
11549
 
with_gnu_ld=$lt_cv_prog_gnu_ld
11550
 
 
11551
 
 
11552
 
 
11553
 
  # Check if GNU C++ uses GNU ld as the underlying linker, since the
11554
 
  # archiving commands below assume that GNU ld is being used.
11555
 
  if test "$with_gnu_ld" = yes; then
11556
 
    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11557
 
    archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11558
 
 
11559
 
    hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
11560
 
    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11561
 
 
11562
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
11563
 
    # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11564
 
    #     investigate it a little bit more. (MM)
11565
 
    wlarc='${wl}'
11566
 
 
11567
 
    # ancient GNU ld didn't support --whole-archive et. al.
11568
 
    if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
11569
 
        grep 'no-whole-archive' > /dev/null; then
11570
 
      whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11571
 
    else
11572
 
      whole_archive_flag_spec_CXX=
11573
 
    fi
11574
 
  else
11575
 
    with_gnu_ld=no
11576
 
    wlarc=
11577
 
 
11578
 
    # A generic and very simple default shared library creation
11579
 
    # command for GNU C++ for the case where it uses the native
11580
 
    # linker, instead of GNU ld.  If possible, this setting should
11581
 
    # overridden to take advantage of the native linker features on
11582
 
    # the platform it is being used on.
11583
 
    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11584
 
  fi
11585
 
 
11586
 
  # Commands to make compiler produce verbose output that lists
11587
 
  # what "hidden" libraries, object files and flags are used when
11588
 
  # linking a shared library.
11589
 
  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11590
 
 
11591
 
else
11592
 
  GXX=no
11593
 
  with_gnu_ld=no
11594
 
  wlarc=
11595
 
fi
11596
 
 
11597
 
# PORTME: fill in a description of your system's C++ link characteristics
11598
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11599
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
11600
 
ld_shlibs_CXX=yes
11601
 
case $host_os in
11602
 
  aix3*)
11603
 
    # FIXME: insert proper C++ library support
11604
 
    ld_shlibs_CXX=no
11605
 
    ;;
11606
 
  aix[4-9]*)
11607
 
    if test "$host_cpu" = ia64; then
11608
 
      # On IA64, the linker does run time linking by default, so we don't
11609
 
      # have to do anything special.
11610
 
      aix_use_runtimelinking=no
11611
 
      exp_sym_flag='-Bexport'
11612
 
      no_entry_flag=""
11613
 
    else
11614
 
      aix_use_runtimelinking=no
11615
 
 
11616
 
      # Test if we are trying to use run time linking or normal
11617
 
      # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11618
 
      # need to do runtime linking.
11619
 
      case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
11620
 
        for ld_flag in $LDFLAGS; do
11621
 
          case $ld_flag in
11622
 
          *-brtl*)
11623
 
            aix_use_runtimelinking=yes
11624
 
            break
11625
 
            ;;
11626
 
          esac
11627
 
        done
11628
 
        ;;
11629
 
      esac
11630
 
 
11631
 
      exp_sym_flag='-bexport'
11632
 
      no_entry_flag='-bnoentry'
11633
 
    fi
11634
 
 
11635
 
    # When large executables or shared objects are built, AIX ld can
11636
 
    # have problems creating the table of contents.  If linking a library
11637
 
    # or program results in "error TOC overflow" add -mminimal-toc to
11638
 
    # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
11639
 
    # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11640
 
 
11641
 
    archive_cmds_CXX=''
11642
 
    hardcode_direct_CXX=yes
11643
 
    hardcode_libdir_separator_CXX=':'
11644
 
    link_all_deplibs_CXX=yes
11645
 
 
11646
 
    if test "$GXX" = yes; then
11647
 
      case $host_os in aix4.[012]|aix4.[012].*)
11648
 
      # We only want to do this on AIX 4.2 and lower, the check
11649
 
      # below for broken collect2 doesn't work under 4.3+
11650
 
        collect2name=`${CC} -print-prog-name=collect2`
11651
 
        if test -f "$collect2name" && \
11652
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
11653
 
        then
11654
 
          # We have reworked collect2
11655
 
          :
11656
 
        else
11657
 
          # We have old collect2
11658
 
          hardcode_direct_CXX=unsupported
11659
 
          # It fails to find uninstalled libraries when the uninstalled
11660
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
11661
 
          # to unsupported forces relinking
11662
 
          hardcode_minus_L_CXX=yes
11663
 
          hardcode_libdir_flag_spec_CXX='-L$libdir'
11664
 
          hardcode_libdir_separator_CXX=
11665
 
        fi
11666
 
        ;;
11667
 
      esac
11668
 
      shared_flag='-shared'
11669
 
      if test "$aix_use_runtimelinking" = yes; then
11670
 
        shared_flag="$shared_flag "'${wl}-G'
11671
 
      fi
11672
 
    else
11673
 
      # not using gcc
11674
 
      if test "$host_cpu" = ia64; then
11675
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11676
 
        # chokes on -Wl,-G. The following line is correct:
11677
 
        shared_flag='-G'
11678
 
      else
11679
 
        if test "$aix_use_runtimelinking" = yes; then
11680
 
          shared_flag='${wl}-G'
11681
 
        else
11682
 
          shared_flag='${wl}-bM:SRE'
11683
 
        fi
11684
 
      fi
11685
 
    fi
11686
 
 
11687
 
    # It seems that -bexpall does not export symbols beginning with
11688
 
    # underscore (_), so it is better to generate a list of symbols to export.
11689
 
    always_export_symbols_CXX=yes
11690
 
    if test "$aix_use_runtimelinking" = yes; then
11691
 
      # Warning - without using the other runtime loading flags (-brtl),
11692
 
      # -berok will link without error, but may produce a broken library.
11693
 
      allow_undefined_flag_CXX='-berok'
11694
 
      # Determine the default libpath from the value encoded in an empty executable.
11695
 
      cat >conftest.$ac_ext <<_ACEOF
11696
 
/* confdefs.h.  */
11697
 
_ACEOF
11698
 
cat confdefs.h >>conftest.$ac_ext
11699
 
cat >>conftest.$ac_ext <<_ACEOF
11700
 
/* end confdefs.h.  */
11701
 
 
11702
 
int
11703
 
main ()
11704
 
{
11705
 
 
11706
 
  ;
11707
 
  return 0;
11708
 
}
11709
 
_ACEOF
11710
 
rm -f conftest.$ac_objext conftest$ac_exeext
11711
 
if { (ac_try="$ac_link"
11712
 
case "(($ac_try" in
11713
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11714
 
  *) ac_try_echo=$ac_try;;
11715
 
esac
11716
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11717
 
  (eval "$ac_link") 2>conftest.er1
11718
 
  ac_status=$?
11719
 
  grep -v '^ *+' conftest.er1 >conftest.err
11720
 
  rm -f conftest.er1
11721
 
  cat conftest.err >&5
11722
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11723
 
  (exit $ac_status); } && {
11724
 
         test -z "$ac_cxx_werror_flag" ||
11725
 
         test ! -s conftest.err
11726
 
       } && test -s conftest$ac_exeext &&
11727
 
       $as_test_x conftest$ac_exeext; then
11728
 
 
11729
 
lt_aix_libpath_sed='
11730
 
    /Import File Strings/,/^$/ {
11731
 
        /^0/ {
11732
 
            s/^0  *\(.*\)$/\1/
11733
 
            p
11734
 
        }
11735
 
    }'
11736
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11737
 
# Check for a 64-bit object if we didn't find anything.
11738
 
if test -z "$aix_libpath"; then
11739
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11740
 
fi
11741
 
else
11742
 
  echo "$as_me: failed program was:" >&5
11743
 
sed 's/^/| /' conftest.$ac_ext >&5
11744
 
 
11745
 
 
11746
 
fi
11747
 
 
11748
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11749
 
      conftest$ac_exeext conftest.$ac_ext
11750
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11751
 
 
11752
 
      hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11753
 
 
11754
 
      archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
11755
 
     else
11756
 
      if test "$host_cpu" = ia64; then
11757
 
        hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
11758
 
        allow_undefined_flag_CXX="-z nodefs"
11759
 
        archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
11760
 
      else
11761
 
        # Determine the default libpath from the value encoded in an empty executable.
11762
 
        cat >conftest.$ac_ext <<_ACEOF
11763
 
/* confdefs.h.  */
11764
 
_ACEOF
11765
 
cat confdefs.h >>conftest.$ac_ext
11766
 
cat >>conftest.$ac_ext <<_ACEOF
11767
 
/* end confdefs.h.  */
11768
 
 
11769
 
int
11770
 
main ()
11771
 
{
11772
 
 
11773
 
  ;
11774
 
  return 0;
11775
 
}
11776
 
_ACEOF
11777
 
rm -f conftest.$ac_objext conftest$ac_exeext
11778
 
if { (ac_try="$ac_link"
11779
 
case "(($ac_try" in
11780
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11781
 
  *) ac_try_echo=$ac_try;;
11782
 
esac
11783
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11784
 
  (eval "$ac_link") 2>conftest.er1
11785
 
  ac_status=$?
11786
 
  grep -v '^ *+' conftest.er1 >conftest.err
11787
 
  rm -f conftest.er1
11788
 
  cat conftest.err >&5
11789
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11790
 
  (exit $ac_status); } && {
11791
 
         test -z "$ac_cxx_werror_flag" ||
11792
 
         test ! -s conftest.err
11793
 
       } && test -s conftest$ac_exeext &&
11794
 
       $as_test_x conftest$ac_exeext; then
11795
 
 
11796
 
lt_aix_libpath_sed='
11797
 
    /Import File Strings/,/^$/ {
11798
 
        /^0/ {
11799
 
            s/^0  *\(.*\)$/\1/
11800
 
            p
11801
 
        }
11802
 
    }'
11803
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11804
 
# Check for a 64-bit object if we didn't find anything.
11805
 
if test -z "$aix_libpath"; then
11806
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11807
 
fi
11808
 
else
11809
 
  echo "$as_me: failed program was:" >&5
11810
 
sed 's/^/| /' conftest.$ac_ext >&5
11811
 
 
11812
 
 
11813
 
fi
11814
 
 
11815
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11816
 
      conftest$ac_exeext conftest.$ac_ext
11817
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11818
 
 
11819
 
        hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11820
 
        # Warning - without using the other run time loading flags,
11821
 
        # -berok will link without error, but may produce a broken library.
11822
 
        no_undefined_flag_CXX=' ${wl}-bernotok'
11823
 
        allow_undefined_flag_CXX=' ${wl}-berok'
11824
 
        # Exported symbols can be pulled into shared objects from archives
11825
 
        whole_archive_flag_spec_CXX='$convenience'
11826
 
        archive_cmds_need_lc_CXX=yes
11827
 
        # This is similar to how AIX traditionally builds its shared libraries.
11828
 
        archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
11829
 
      fi
11830
 
    fi
11831
 
    ;;
11832
 
 
11833
 
  beos*)
11834
 
    if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
11835
 
      allow_undefined_flag_CXX=unsupported
11836
 
      # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11837
 
      # support --undefined.  This deserves some investigation.  FIXME
11838
 
      archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11839
 
    else
11840
 
      ld_shlibs_CXX=no
11841
 
    fi
11842
 
    ;;
11843
 
 
11844
 
  chorus*)
11845
 
    case $cc_basename in
11846
 
      *)
11847
 
        # FIXME: insert proper C++ library support
11848
 
        ld_shlibs_CXX=no
11849
 
        ;;
11850
 
    esac
11851
 
    ;;
11852
 
 
11853
 
  cygwin* | mingw* | pw32*)
11854
 
    # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11855
 
    # as there is no search path for DLLs.
11856
 
    hardcode_libdir_flag_spec_CXX='-L$libdir'
11857
 
    allow_undefined_flag_CXX=unsupported
11858
 
    always_export_symbols_CXX=no
11859
 
    enable_shared_with_static_runtimes_CXX=yes
11860
 
 
11861
 
    if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
11862
 
      archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11863
 
      # If the export-symbols file already is a .def file (1st line
11864
 
      # is EXPORTS), use it as is; otherwise, prepend...
11865
 
      archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11866
 
        cp $export_symbols $output_objdir/$soname.def;
11867
 
      else
11868
 
        echo EXPORTS > $output_objdir/$soname.def;
11869
 
        cat $export_symbols >> $output_objdir/$soname.def;
11870
 
      fi~
11871
 
      $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11872
 
    else
11873
 
      ld_shlibs_CXX=no
11874
 
    fi
11875
 
  ;;
11876
 
      darwin* | rhapsody*)
11877
 
      archive_cmds_need_lc_CXX=no
11878
 
      hardcode_direct_CXX=no
11879
 
      hardcode_automatic_CXX=yes
11880
 
      hardcode_shlibpath_var_CXX=unsupported
11881
 
      whole_archive_flag_spec_CXX=''
11882
 
      link_all_deplibs_CXX=yes
11883
 
      allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
11884
 
      if test "$GXX" = yes ; then
11885
 
      output_verbose_link_cmd='echo'
11886
 
      archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
11887
 
      module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
11888
 
      archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
11889
 
      module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
11890
 
      if test "$lt_cv_apple_cc_single_mod" != "yes"; then
11891
 
        archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
11892
 
        archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
11893
 
      fi
11894
 
      else
11895
 
      case $cc_basename in
11896
 
        xlc*)
11897
 
         output_verbose_link_cmd='echo'
11898
 
          archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
11899
 
          module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11900
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11901
 
          archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11902
 
          module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11903
 
          ;;
11904
 
       *)
11905
 
         ld_shlibs_CXX=no
11906
 
          ;;
11907
 
      esac
11908
 
      fi
11909
 
        ;;
11910
 
 
11911
 
  dgux*)
11912
 
    case $cc_basename in
11913
 
      ec++*)
11914
 
        # FIXME: insert proper C++ library support
11915
 
        ld_shlibs_CXX=no
11916
 
        ;;
11917
 
      ghcx*)
11918
 
        # Green Hills C++ Compiler
11919
 
        # FIXME: insert proper C++ library support
11920
 
        ld_shlibs_CXX=no
11921
 
        ;;
11922
 
      *)
11923
 
        # FIXME: insert proper C++ library support
11924
 
        ld_shlibs_CXX=no
11925
 
        ;;
11926
 
    esac
11927
 
    ;;
11928
 
  freebsd[12]*)
11929
 
    # C++ shared libraries reported to be fairly broken before switch to ELF
11930
 
    ld_shlibs_CXX=no
11931
 
    ;;
11932
 
  freebsd-elf*)
11933
 
    archive_cmds_need_lc_CXX=no
11934
 
    ;;
11935
 
  freebsd* | dragonfly*)
11936
 
    # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11937
 
    # conventions
11938
 
    ld_shlibs_CXX=yes
11939
 
    ;;
11940
 
  gnu*)
11941
 
    ;;
11942
 
  hpux9*)
11943
 
    hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11944
 
    hardcode_libdir_separator_CXX=:
11945
 
    export_dynamic_flag_spec_CXX='${wl}-E'
11946
 
    hardcode_direct_CXX=yes
11947
 
    hardcode_minus_L_CXX=yes # Not in the search PATH,
11948
 
                                # but as the default
11949
 
                                # location of the library.
11950
 
 
11951
 
    case $cc_basename in
11952
 
    CC*)
11953
 
      # FIXME: insert proper C++ library support
11954
 
      ld_shlibs_CXX=no
11955
 
      ;;
11956
 
    aCC*)
11957
 
      archive_cmds_CXX='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
11958
 
      # Commands to make compiler produce verbose output that lists
11959
 
      # what "hidden" libraries, object files and flags are used when
11960
 
      # linking a shared library.
11961
 
      #
11962
 
      # There doesn't appear to be a way to prevent this compiler from
11963
 
      # explicitly linking system object files so we need to strip them
11964
 
      # from the output so that they don't get included in the library
11965
 
      # dependencies.
11966
 
      output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "[-]L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
11967
 
      ;;
11968
 
    *)
11969
 
      if test "$GXX" = yes; then
11970
 
        archive_cmds_CXX='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
11971
 
      else
11972
 
        # FIXME: insert proper C++ library support
11973
 
        ld_shlibs_CXX=no
11974
 
      fi
11975
 
      ;;
11976
 
    esac
11977
 
    ;;
11978
 
  hpux10*|hpux11*)
11979
 
    if test $with_gnu_ld = no; then
11980
 
      hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11981
 
      hardcode_libdir_separator_CXX=:
11982
 
 
11983
 
      case $host_cpu in
11984
 
      hppa*64*|ia64*) ;;
11985
 
      *)
11986
 
        export_dynamic_flag_spec_CXX='${wl}-E'
11987
 
        ;;
11988
 
      esac
11989
 
    fi
11990
 
    case $host_cpu in
11991
 
    hppa*64*|ia64*)
11992
 
      hardcode_direct_CXX=no
11993
 
      hardcode_shlibpath_var_CXX=no
11994
 
      ;;
11995
 
    *)
11996
 
      hardcode_direct_CXX=yes
11997
 
      hardcode_minus_L_CXX=yes # Not in the search PATH,
11998
 
                                              # but as the default
11999
 
                                              # location of the library.
12000
 
      ;;
12001
 
    esac
12002
 
 
12003
 
    case $cc_basename in
12004
 
      CC*)
12005
 
        # FIXME: insert proper C++ library support
12006
 
        ld_shlibs_CXX=no
12007
 
        ;;
12008
 
      aCC*)
12009
 
        case $host_cpu in
12010
 
        hppa*64*)
12011
 
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12012
 
          ;;
12013
 
        ia64*)
12014
 
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12015
 
          ;;
12016
 
        *)
12017
 
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12018
 
          ;;
12019
 
        esac
12020
 
        # Commands to make compiler produce verbose output that lists
12021
 
        # what "hidden" libraries, object files and flags are used when
12022
 
        # linking a shared library.
12023
 
        #
12024
 
        # There doesn't appear to be a way to prevent this compiler from
12025
 
        # explicitly linking system object files so we need to strip them
12026
 
        # from the output so that they don't get included in the library
12027
 
        # dependencies.
12028
 
        output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
12029
 
        ;;
12030
 
      *)
12031
 
        if test "$GXX" = yes; then
12032
 
          if test $with_gnu_ld = no; then
12033
 
            case $host_cpu in
12034
 
            hppa*64*)
12035
 
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12036
 
              ;;
12037
 
            ia64*)
12038
 
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12039
 
              ;;
12040
 
            *)
12041
 
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12042
 
              ;;
12043
 
            esac
12044
 
          fi
12045
 
        else
12046
 
          # FIXME: insert proper C++ library support
12047
 
          ld_shlibs_CXX=no
12048
 
        fi
12049
 
        ;;
12050
 
    esac
12051
 
    ;;
12052
 
  interix[3-9]*)
12053
 
    hardcode_direct_CXX=no
12054
 
    hardcode_shlibpath_var_CXX=no
12055
 
    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12056
 
    export_dynamic_flag_spec_CXX='${wl}-E'
12057
 
    # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12058
 
    # Instead, shared libraries are loaded at an image base (0x10000000 by
12059
 
    # default) and relocated if they conflict, which is a slow very memory
12060
 
    # consuming and fragmenting process.  To avoid this, we pick a random,
12061
 
    # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12062
 
    # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
12063
 
    archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12064
 
    archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12065
 
    ;;
12066
 
  irix5* | irix6*)
12067
 
    case $cc_basename in
12068
 
      CC*)
12069
 
        # SGI C++
12070
 
        archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
12071
 
 
12072
 
        # Archives containing C++ object files must be created using
12073
 
        # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
12074
 
        # necessary to make sure instantiated templates are included
12075
 
        # in the archive.
12076
 
        old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12077
 
        ;;
12078
 
      *)
12079
 
        if test "$GXX" = yes; then
12080
 
          if test "$with_gnu_ld" = no; then
12081
 
            archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12082
 
          else
12083
 
            archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
12084
 
          fi
12085
 
        fi
12086
 
        link_all_deplibs_CXX=yes
12087
 
        ;;
12088
 
    esac
12089
 
    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12090
 
    hardcode_libdir_separator_CXX=:
12091
 
    ;;
12092
 
  linux* | k*bsd*-gnu)
12093
 
    case $cc_basename in
12094
 
      KCC*)
12095
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
12096
 
 
12097
 
        # KCC will only create a shared library if the output file
12098
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
12099
 
        # to its proper name (with version) after linking.
12100
 
        archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
12101
 
        archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
12102
 
        # Commands to make compiler produce verbose output that lists
12103
 
        # what "hidden" libraries, object files and flags are used when
12104
 
        # linking a shared library.
12105
 
        #
12106
 
        # There doesn't appear to be a way to prevent this compiler from
12107
 
        # explicitly linking system object files so we need to strip them
12108
 
        # from the output so that they don't get included in the library
12109
 
        # dependencies.
12110
 
        output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
12111
 
 
12112
 
        hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
12113
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12114
 
 
12115
 
        # Archives containing C++ object files must be created using
12116
 
        # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12117
 
        old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12118
 
        ;;
12119
 
      icpc*)
12120
 
        # Intel C++
12121
 
        with_gnu_ld=yes
12122
 
        # version 8.0 and above of icpc choke on multiply defined symbols
12123
 
        # if we add $predep_objects and $postdep_objects, however 7.1 and
12124
 
        # earlier do not add the objects themselves.
12125
 
        case `$CC -V 2>&1` in
12126
 
        *"Version 7."*)
12127
 
          archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12128
 
          archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12129
 
          ;;
12130
 
        *)  # Version 8.0 or newer
12131
 
          tmp_idyn=
12132
 
          case $host_cpu in
12133
 
            ia64*) tmp_idyn=' -i_dynamic';;
12134
 
          esac
12135
 
          archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12136
 
          archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12137
 
          ;;
12138
 
        esac
12139
 
        archive_cmds_need_lc_CXX=no
12140
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12141
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12142
 
        whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12143
 
        ;;
12144
 
      pgCC* | pgcpp*)
12145
 
        # Portland Group C++ compiler
12146
 
        archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12147
 
        archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12148
 
 
12149
 
        hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12150
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12151
 
        whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
12152
 
        ;;
12153
 
      cxx*)
12154
 
        # Compaq C++
12155
 
        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12156
 
        archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname  -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
12157
 
 
12158
 
        runpath_var=LD_RUN_PATH
12159
 
        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12160
 
        hardcode_libdir_separator_CXX=:
12161
 
 
12162
 
        # Commands to make compiler produce verbose output that lists
12163
 
        # what "hidden" libraries, object files and flags are used when
12164
 
        # linking a shared library.
12165
 
        #
12166
 
        # There doesn't appear to be a way to prevent this compiler from
12167
 
        # explicitly linking system object files so we need to strip them
12168
 
        # from the output so that they don't get included in the library
12169
 
        # dependencies.
12170
 
        output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
12171
 
        ;;
12172
 
      *)
12173
 
        case `$CC -V 2>&1 | sed 5q` in
12174
 
        *Sun\ C*)
12175
 
          # Sun C++ 5.9
12176
 
          no_undefined_flag_CXX=' -zdefs'
12177
 
          archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12178
 
          archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
12179
 
          hardcode_libdir_flag_spec_CXX='-R$libdir'
12180
 
          whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
12181
 
 
12182
 
          # Not sure whether something based on
12183
 
          # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12184
 
          # would be better.
12185
 
          output_verbose_link_cmd='echo'
12186
 
 
12187
 
          # Archives containing C++ object files must be created using
12188
 
          # "CC -xar", where "CC" is the Sun C++ compiler.  This is
12189
 
          # necessary to make sure instantiated templates are included
12190
 
          # in the archive.
12191
 
          old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12192
 
          ;;
12193
 
        esac
12194
 
        ;;
12195
 
    esac
12196
 
    ;;
12197
 
  lynxos*)
12198
 
    # FIXME: insert proper C++ library support
12199
 
    ld_shlibs_CXX=no
12200
 
    ;;
12201
 
  m88k*)
12202
 
    # FIXME: insert proper C++ library support
12203
 
    ld_shlibs_CXX=no
12204
 
    ;;
12205
 
  mvs*)
12206
 
    case $cc_basename in
12207
 
      cxx*)
12208
 
        # FIXME: insert proper C++ library support
12209
 
        ld_shlibs_CXX=no
12210
 
        ;;
12211
 
      *)
12212
 
        # FIXME: insert proper C++ library support
12213
 
        ld_shlibs_CXX=no
12214
 
        ;;
12215
 
    esac
12216
 
    ;;
12217
 
  netbsd*)
12218
 
    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
12219
 
      archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12220
 
      wlarc=
12221
 
      hardcode_libdir_flag_spec_CXX='-R$libdir'
12222
 
      hardcode_direct_CXX=yes
12223
 
      hardcode_shlibpath_var_CXX=no
12224
 
    fi
12225
 
    # Workaround some broken pre-1.5 toolchains
12226
 
    output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12227
 
    ;;
12228
 
  openbsd2*)
12229
 
    # C++ shared libraries are fairly broken
12230
 
    ld_shlibs_CXX=no
12231
 
    ;;
12232
 
  openbsd*)
12233
 
    if test -f /usr/libexec/ld.so; then
12234
 
      hardcode_direct_CXX=yes
12235
 
      hardcode_shlibpath_var_CXX=no
12236
 
      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12237
 
      hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12238
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12239
 
        archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12240
 
        export_dynamic_flag_spec_CXX='${wl}-E'
12241
 
        whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12242
 
      fi
12243
 
      output_verbose_link_cmd='echo'
12244
 
    else
12245
 
      ld_shlibs_CXX=no
12246
 
    fi
12247
 
    ;;
12248
 
  osf3*)
12249
 
    case $cc_basename in
12250
 
      KCC*)
12251
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
12252
 
 
12253
 
        # KCC will only create a shared library if the output file
12254
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
12255
 
        # to its proper name (with version) after linking.
12256
 
        archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
12257
 
 
12258
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12259
 
        hardcode_libdir_separator_CXX=:
12260
 
 
12261
 
        # Archives containing C++ object files must be created using
12262
 
        # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12263
 
        old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12264
 
 
12265
 
        ;;
12266
 
      RCC*)
12267
 
        # Rational C++ 2.4.1
12268
 
        # FIXME: insert proper C++ library support
12269
 
        ld_shlibs_CXX=no
12270
 
        ;;
12271
 
      cxx*)
12272
 
        allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12273
 
        archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
12274
 
 
12275
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12276
 
        hardcode_libdir_separator_CXX=:
12277
 
 
12278
 
        # Commands to make compiler produce verbose output that lists
12279
 
        # what "hidden" libraries, object files and flags are used when
12280
 
        # linking a shared library.
12281
 
        #
12282
 
        # There doesn't appear to be a way to prevent this compiler from
12283
 
        # explicitly linking system object files so we need to strip them
12284
 
        # from the output so that they don't get included in the library
12285
 
        # dependencies.
12286
 
        output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
12287
 
        ;;
12288
 
      *)
12289
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12290
 
          allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12291
 
          archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12292
 
 
12293
 
          hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12294
 
          hardcode_libdir_separator_CXX=:
12295
 
 
12296
 
          # Commands to make compiler produce verbose output that lists
12297
 
          # what "hidden" libraries, object files and flags are used when
12298
 
          # linking a shared library.
12299
 
          output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12300
 
 
12301
 
        else
12302
 
          # FIXME: insert proper C++ library support
12303
 
          ld_shlibs_CXX=no
12304
 
        fi
12305
 
        ;;
12306
 
    esac
12307
 
    ;;
12308
 
  osf4* | osf5*)
12309
 
    case $cc_basename in
12310
 
      KCC*)
12311
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
12312
 
 
12313
 
        # KCC will only create a shared library if the output file
12314
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
12315
 
        # to its proper name (with version) after linking.
12316
 
        archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
12317
 
 
12318
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12319
 
        hardcode_libdir_separator_CXX=:
12320
 
 
12321
 
        # Archives containing C++ object files must be created using
12322
 
        # the KAI C++ compiler.
12323
 
        old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
12324
 
        ;;
12325
 
      RCC*)
12326
 
        # Rational C++ 2.4.1
12327
 
        # FIXME: insert proper C++ library support
12328
 
        ld_shlibs_CXX=no
12329
 
        ;;
12330
 
      cxx*)
12331
 
        allow_undefined_flag_CXX=' -expect_unresolved \*'
12332
 
        archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
12333
 
        archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12334
 
          echo "-hidden">> $lib.exp~
12335
 
          $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp  `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~
12336
 
          $rm $lib.exp'
12337
 
 
12338
 
        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12339
 
        hardcode_libdir_separator_CXX=:
12340
 
 
12341
 
        # Commands to make compiler produce verbose output that lists
12342
 
        # what "hidden" libraries, object files and flags are used when
12343
 
        # linking a shared library.
12344
 
        #
12345
 
        # There doesn't appear to be a way to prevent this compiler from
12346
 
        # explicitly linking system object files so we need to strip them
12347
 
        # from the output so that they don't get included in the library
12348
 
        # dependencies.
12349
 
        output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
12350
 
        ;;
12351
 
      *)
12352
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12353
 
          allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12354
 
         archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12355
 
 
12356
 
          hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12357
 
          hardcode_libdir_separator_CXX=:
12358
 
 
12359
 
          # Commands to make compiler produce verbose output that lists
12360
 
          # what "hidden" libraries, object files and flags are used when
12361
 
          # linking a shared library.
12362
 
          output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12363
 
 
12364
 
        else
12365
 
          # FIXME: insert proper C++ library support
12366
 
          ld_shlibs_CXX=no
12367
 
        fi
12368
 
        ;;
12369
 
    esac
12370
 
    ;;
12371
 
  psos*)
12372
 
    # FIXME: insert proper C++ library support
12373
 
    ld_shlibs_CXX=no
12374
 
    ;;
12375
 
  sunos4*)
12376
 
    case $cc_basename in
12377
 
      CC*)
12378
 
        # Sun C++ 4.x
12379
 
        # FIXME: insert proper C++ library support
12380
 
        ld_shlibs_CXX=no
12381
 
        ;;
12382
 
      lcc*)
12383
 
        # Lucid
12384
 
        # FIXME: insert proper C++ library support
12385
 
        ld_shlibs_CXX=no
12386
 
        ;;
12387
 
      *)
12388
 
        # FIXME: insert proper C++ library support
12389
 
        ld_shlibs_CXX=no
12390
 
        ;;
12391
 
    esac
12392
 
    ;;
12393
 
  solaris*)
12394
 
    case $cc_basename in
12395
 
      CC*)
12396
 
        # Sun C++ 4.2, 5.x and Centerline C++
12397
 
        archive_cmds_need_lc_CXX=yes
12398
 
        no_undefined_flag_CXX=' -zdefs'
12399
 
        archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12400
 
        archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12401
 
        $CC -G${allow_undefined_flag}  ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12402
 
 
12403
 
        hardcode_libdir_flag_spec_CXX='-R$libdir'
12404
 
        hardcode_shlibpath_var_CXX=no
12405
 
        case $host_os in
12406
 
          solaris2.[0-5] | solaris2.[0-5].*) ;;
12407
 
          *)
12408
 
            # The compiler driver will combine and reorder linker options,
12409
 
            # but understands `-z linker_flag'.
12410
 
            # Supported since Solaris 2.6 (maybe 2.5.1?)
12411
 
            whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
12412
 
            ;;
12413
 
        esac
12414
 
        link_all_deplibs_CXX=yes
12415
 
 
12416
 
        output_verbose_link_cmd='echo'
12417
 
 
12418
 
        # Archives containing C++ object files must be created using
12419
 
        # "CC -xar", where "CC" is the Sun C++ compiler.  This is
12420
 
        # necessary to make sure instantiated templates are included
12421
 
        # in the archive.
12422
 
        old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12423
 
        ;;
12424
 
      gcx*)
12425
 
        # Green Hills C++ Compiler
12426
 
        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12427
 
 
12428
 
        # The C++ compiler must be used to create the archive.
12429
 
        old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12430
 
        ;;
12431
 
      *)
12432
 
        # GNU C++ compiler with Solaris linker
12433
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12434
 
          no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
12435
 
          if $CC --version | grep -v '^2\.7' > /dev/null; then
12436
 
            archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12437
 
            archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12438
 
                $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12439
 
 
12440
 
            # Commands to make compiler produce verbose output that lists
12441
 
            # what "hidden" libraries, object files and flags are used when
12442
 
            # linking a shared library.
12443
 
            output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
12444
 
          else
12445
 
            # g++ 2.7 appears to require `-G' NOT `-shared' on this
12446
 
            # platform.
12447
 
            archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12448
 
            archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12449
 
                $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12450
 
 
12451
 
            # Commands to make compiler produce verbose output that lists
12452
 
            # what "hidden" libraries, object files and flags are used when
12453
 
            # linking a shared library.
12454
 
            output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
12455
 
          fi
12456
 
 
12457
 
          hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
12458
 
          case $host_os in
12459
 
          solaris2.[0-5] | solaris2.[0-5].*) ;;
12460
 
          *)
12461
 
            whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12462
 
            ;;
12463
 
          esac
12464
 
        fi
12465
 
        ;;
12466
 
    esac
12467
 
    ;;
12468
 
  sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12469
 
    no_undefined_flag_CXX='${wl}-z,text'
12470
 
    archive_cmds_need_lc_CXX=no
12471
 
    hardcode_shlibpath_var_CXX=no
12472
 
    runpath_var='LD_RUN_PATH'
12473
 
 
12474
 
    case $cc_basename in
12475
 
      CC*)
12476
 
        archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12477
 
        archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12478
 
        ;;
12479
 
      *)
12480
 
        archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12481
 
        archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12482
 
        ;;
12483
 
    esac
12484
 
    ;;
12485
 
  sysv5* | sco3.2v5* | sco5v6*)
12486
 
    # Note: We can NOT use -z defs as we might desire, because we do not
12487
 
    # link with -lc, and that would cause any symbols used from libc to
12488
 
    # always be unresolved, which means just about no library would
12489
 
    # ever link correctly.  If we're not using GNU ld we use -z text
12490
 
    # though, which does catch some bad symbols but isn't as heavy-handed
12491
 
    # as -z defs.
12492
 
    # For security reasons, it is highly recommended that you always
12493
 
    # use absolute paths for naming shared libraries, and exclude the
12494
 
    # DT_RUNPATH tag from executables and libraries.  But doing so
12495
 
    # requires that you compile everything twice, which is a pain.
12496
 
    # So that behaviour is only enabled if SCOABSPATH is set to a
12497
 
    # non-empty value in the environment.  Most likely only useful for
12498
 
    # creating official distributions of packages.
12499
 
    # This is a hack until libtool officially supports absolute path
12500
 
    # names for shared libraries.
12501
 
    no_undefined_flag_CXX='${wl}-z,text'
12502
 
    allow_undefined_flag_CXX='${wl}-z,nodefs'
12503
 
    archive_cmds_need_lc_CXX=no
12504
 
    hardcode_shlibpath_var_CXX=no
12505
 
    hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
12506
 
    hardcode_libdir_separator_CXX=':'
12507
 
    link_all_deplibs_CXX=yes
12508
 
    export_dynamic_flag_spec_CXX='${wl}-Bexport'
12509
 
    runpath_var='LD_RUN_PATH'
12510
 
 
12511
 
    case $cc_basename in
12512
 
      CC*)
12513
 
        archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12514
 
        archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12515
 
        ;;
12516
 
      *)
12517
 
        archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12518
 
        archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12519
 
        ;;
12520
 
    esac
12521
 
    ;;
12522
 
  tandem*)
12523
 
    case $cc_basename in
12524
 
      NCC*)
12525
 
        # NonStop-UX NCC 3.20
12526
 
        # FIXME: insert proper C++ library support
12527
 
        ld_shlibs_CXX=no
12528
 
        ;;
12529
 
      *)
12530
 
        # FIXME: insert proper C++ library support
12531
 
        ld_shlibs_CXX=no
12532
 
        ;;
12533
 
    esac
12534
 
    ;;
12535
 
  vxworks*)
12536
 
    # FIXME: insert proper C++ library support
12537
 
    ld_shlibs_CXX=no
12538
 
    ;;
12539
 
  *)
12540
 
    # FIXME: insert proper C++ library support
12541
 
    ld_shlibs_CXX=no
12542
 
    ;;
12543
 
esac
12544
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12545
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
12546
 
test "$ld_shlibs_CXX" = no && can_build_shared=no
12547
 
 
12548
 
GCC_CXX="$GXX"
12549
 
LD_CXX="$LD"
12550
 
 
12551
 
cat > conftest.$ac_ext <<EOF
12552
 
class Foo
12553
 
{
12554
 
public:
12555
 
  Foo (void) { a = 0; }
12556
 
private:
12557
 
  int a;
12558
 
};
12559
 
EOF
12560
 
 
12561
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12562
 
  (eval $ac_compile) 2>&5
12563
 
  ac_status=$?
12564
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12565
 
  (exit $ac_status); }; then
12566
 
  # Parse the compiler output and extract the necessary
12567
 
  # objects, libraries and library flags.
12568
 
 
12569
 
  # Sentinel used to keep track of whether or not we are before
12570
 
  # the conftest object file.
12571
 
  pre_test_object_deps_done=no
12572
 
 
12573
 
  # The `*' in the case matches for architectures that use `case' in
12574
 
  # $output_verbose_cmd can trigger glob expansion during the loop
12575
 
  # eval without this substitution.
12576
 
  output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
12577
 
 
12578
 
  for p in `eval $output_verbose_link_cmd`; do
12579
 
    case $p in
12580
 
 
12581
 
    -L* | -R* | -l*)
12582
 
       # Some compilers place space between "-{L,R}" and the path.
12583
 
       # Remove the space.
12584
 
       if test $p = "-L" \
12585
 
          || test $p = "-R"; then
12586
 
         prev=$p
12587
 
         continue
12588
 
       else
12589
 
         prev=
12590
 
       fi
12591
 
 
12592
 
       if test "$pre_test_object_deps_done" = no; then
12593
 
         case $p in
12594
 
         -L* | -R*)
12595
 
           # Internal compiler library paths should come after those
12596
 
           # provided the user.  The postdeps already come after the
12597
 
           # user supplied libs so there is no need to process them.
12598
 
           if test -z "$compiler_lib_search_path_CXX"; then
12599
 
             compiler_lib_search_path_CXX="${prev}${p}"
12600
 
           else
12601
 
             compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
12602
 
           fi
12603
 
           ;;
12604
 
         # The "-l" case would never come before the object being
12605
 
         # linked, so don't bother handling this case.
12606
 
         esac
12607
 
       else
12608
 
         if test -z "$postdeps_CXX"; then
12609
 
           postdeps_CXX="${prev}${p}"
12610
 
         else
12611
 
           postdeps_CXX="${postdeps_CXX} ${prev}${p}"
12612
 
         fi
12613
 
       fi
12614
 
       ;;
12615
 
 
12616
 
    *.$objext)
12617
 
       # This assumes that the test object file only shows up
12618
 
       # once in the compiler output.
12619
 
       if test "$p" = "conftest.$objext"; then
12620
 
         pre_test_object_deps_done=yes
12621
 
         continue
12622
 
       fi
12623
 
 
12624
 
       if test "$pre_test_object_deps_done" = no; then
12625
 
         if test -z "$predep_objects_CXX"; then
12626
 
           predep_objects_CXX="$p"
12627
 
         else
12628
 
           predep_objects_CXX="$predep_objects_CXX $p"
12629
 
         fi
12630
 
       else
12631
 
         if test -z "$postdep_objects_CXX"; then
12632
 
           postdep_objects_CXX="$p"
12633
 
         else
12634
 
           postdep_objects_CXX="$postdep_objects_CXX $p"
12635
 
         fi
12636
 
       fi
12637
 
       ;;
12638
 
 
12639
 
    *) ;; # Ignore the rest.
12640
 
 
12641
 
    esac
12642
 
  done
12643
 
 
12644
 
  # Clean up.
12645
 
  rm -f a.out a.exe
12646
 
else
12647
 
  echo "libtool.m4: error: problem compiling CXX test program"
12648
 
fi
12649
 
 
12650
 
$rm -f confest.$objext
12651
 
 
12652
 
compiler_lib_search_dirs_CXX=
12653
 
if test -n "$compiler_lib_search_path_CXX"; then
12654
 
  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
12655
 
fi
12656
 
 
12657
 
# PORTME: override above test on systems where it is broken
12658
 
case $host_os in
12659
 
interix[3-9]*)
12660
 
  # Interix 3.5 installs completely hosed .la files for C++, so rather than
12661
 
  # hack all around it, let's just trust "g++" to DTRT.
12662
 
  predep_objects_CXX=
12663
 
  postdep_objects_CXX=
12664
 
  postdeps_CXX=
12665
 
  ;;
12666
 
 
12667
 
linux*)
12668
 
  case `$CC -V 2>&1 | sed 5q` in
12669
 
  *Sun\ C*)
12670
 
    # Sun C++ 5.9
12671
 
    #
12672
 
    # The more standards-conforming stlport4 library is
12673
 
    # incompatible with the Cstd library. Avoid specifying
12674
 
    # it if it's in CXXFLAGS. Ignore libCrun as
12675
 
    # -library=stlport4 depends on it.
12676
 
    case " $CXX $CXXFLAGS " in
12677
 
    *" -library=stlport4 "*)
12678
 
      solaris_use_stlport4=yes
12679
 
      ;;
12680
 
    esac
12681
 
    if test "$solaris_use_stlport4" != yes; then
12682
 
      postdeps_CXX='-library=Cstd -library=Crun'
12683
 
    fi
12684
 
    ;;
12685
 
  esac
12686
 
  ;;
12687
 
 
12688
 
solaris*)
12689
 
  case $cc_basename in
12690
 
  CC*)
12691
 
    # The more standards-conforming stlport4 library is
12692
 
    # incompatible with the Cstd library. Avoid specifying
12693
 
    # it if it's in CXXFLAGS. Ignore libCrun as
12694
 
    # -library=stlport4 depends on it.
12695
 
    case " $CXX $CXXFLAGS " in
12696
 
    *" -library=stlport4 "*)
12697
 
      solaris_use_stlport4=yes
12698
 
      ;;
12699
 
    esac
12700
 
 
12701
 
    # Adding this requires a known-good setup of shared libraries for
12702
 
    # Sun compiler versions before 5.6, else PIC objects from an old
12703
 
    # archive will be linked into the output, leading to subtle bugs.
12704
 
    if test "$solaris_use_stlport4" != yes; then
12705
 
      postdeps_CXX='-library=Cstd -library=Crun'
12706
 
    fi
12707
 
    ;;
12708
 
  esac
12709
 
  ;;
12710
 
esac
12711
 
 
12712
 
case " $postdeps_CXX " in
12713
 
*" -lc "*) archive_cmds_need_lc_CXX=no ;;
12714
 
esac
12715
 
 
12716
 
lt_prog_compiler_wl_CXX=
12717
 
lt_prog_compiler_pic_CXX=
12718
 
lt_prog_compiler_static_CXX=
12719
 
 
12720
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12721
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
12722
 
 
12723
 
  # C++ specific cases for pic, static, wl, etc.
12724
 
  if test "$GXX" = yes; then
12725
 
    lt_prog_compiler_wl_CXX='-Wl,'
12726
 
    lt_prog_compiler_static_CXX='-static'
12727
 
 
12728
 
    case $host_os in
12729
 
    aix*)
12730
 
      # All AIX code is PIC.
12731
 
      if test "$host_cpu" = ia64; then
12732
 
        # AIX 5 now supports IA64 processor
12733
 
        lt_prog_compiler_static_CXX='-Bstatic'
12734
 
      fi
12735
 
      ;;
12736
 
    amigaos*)
12737
 
      # FIXME: we need at least 68020 code to build shared libraries, but
12738
 
      # adding the `-m68020' flag to GCC prevents building anything better,
12739
 
      # like `-m68040'.
12740
 
      lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
12741
 
      ;;
12742
 
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12743
 
      # PIC is the default for these OSes.
12744
 
      ;;
12745
 
    mingw* | cygwin* | os2* | pw32*)
12746
 
      # This hack is so that the source file can tell whether it is being
12747
 
      # built for inclusion in a dll (and should export symbols for example).
12748
 
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
12749
 
      # (--disable-auto-import) libraries
12750
 
      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
12751
 
      ;;
12752
 
    darwin* | rhapsody*)
12753
 
      # PIC is the default on this platform
12754
 
      # Common symbols not allowed in MH_DYLIB files
12755
 
      lt_prog_compiler_pic_CXX='-fno-common'
12756
 
      ;;
12757
 
    *djgpp*)
12758
 
      # DJGPP does not support shared libraries at all
12759
 
      lt_prog_compiler_pic_CXX=
12760
 
      ;;
12761
 
    interix[3-9]*)
12762
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12763
 
      # Instead, we relocate shared libraries at runtime.
12764
 
      ;;
12765
 
    sysv4*MP*)
12766
 
      if test -d /usr/nec; then
12767
 
        lt_prog_compiler_pic_CXX=-Kconform_pic
12768
 
      fi
12769
 
      ;;
12770
 
    hpux*)
12771
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12772
 
      # not for PA HP-UX.
12773
 
      case $host_cpu in
12774
 
      hppa*64*|ia64*)
12775
 
        ;;
12776
 
      *)
12777
 
        lt_prog_compiler_pic_CXX='-fPIC'
12778
 
        ;;
12779
 
      esac
12780
 
      ;;
12781
 
    *)
12782
 
      lt_prog_compiler_pic_CXX='-fPIC'
12783
 
      ;;
12784
 
    esac
12785
 
  else
12786
 
    case $host_os in
12787
 
      aix[4-9]*)
12788
 
        # All AIX code is PIC.
12789
 
        if test "$host_cpu" = ia64; then
12790
 
          # AIX 5 now supports IA64 processor
12791
 
          lt_prog_compiler_static_CXX='-Bstatic'
12792
 
        else
12793
 
          lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
12794
 
        fi
12795
 
        ;;
12796
 
      chorus*)
12797
 
        case $cc_basename in
12798
 
        cxch68*)
12799
 
          # Green Hills C++ Compiler
12800
 
          # _LT_AC_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
12801
 
          ;;
12802
 
        esac
12803
 
        ;;
12804
 
       darwin*)
12805
 
         # PIC is the default on this platform
12806
 
         # Common symbols not allowed in MH_DYLIB files
12807
 
         case $cc_basename in
12808
 
           xlc*)
12809
 
           lt_prog_compiler_pic_CXX='-qnocommon'
12810
 
           lt_prog_compiler_wl_CXX='-Wl,'
12811
 
           ;;
12812
 
         esac
12813
 
       ;;
12814
 
      dgux*)
12815
 
        case $cc_basename in
12816
 
          ec++*)
12817
 
            lt_prog_compiler_pic_CXX='-KPIC'
12818
 
            ;;
12819
 
          ghcx*)
12820
 
            # Green Hills C++ Compiler
12821
 
            lt_prog_compiler_pic_CXX='-pic'
12822
 
            ;;
12823
 
          *)
12824
 
            ;;
12825
 
        esac
12826
 
        ;;
12827
 
      freebsd* | dragonfly*)
12828
 
        # FreeBSD uses GNU C++
12829
 
        ;;
12830
 
      hpux9* | hpux10* | hpux11*)
12831
 
        case $cc_basename in
12832
 
          CC*)
12833
 
            lt_prog_compiler_wl_CXX='-Wl,'
12834
 
            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
12835
 
            if test "$host_cpu" != ia64; then
12836
 
              lt_prog_compiler_pic_CXX='+Z'
12837
 
            fi
12838
 
            ;;
12839
 
          aCC*)
12840
 
            lt_prog_compiler_wl_CXX='-Wl,'
12841
 
            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
12842
 
            case $host_cpu in
12843
 
            hppa*64*|ia64*)
12844
 
              # +Z the default
12845
 
              ;;
12846
 
            *)
12847
 
              lt_prog_compiler_pic_CXX='+Z'
12848
 
              ;;
12849
 
            esac
12850
 
            ;;
12851
 
          *)
12852
 
            ;;
12853
 
        esac
12854
 
        ;;
12855
 
      interix*)
12856
 
        # This is c89, which is MS Visual C++ (no shared libs)
12857
 
        # Anyone wants to do a port?
12858
 
        ;;
12859
 
      irix5* | irix6* | nonstopux*)
12860
 
        case $cc_basename in
12861
 
          CC*)
12862
 
            lt_prog_compiler_wl_CXX='-Wl,'
12863
 
            lt_prog_compiler_static_CXX='-non_shared'
12864
 
            # CC pic flag -KPIC is the default.
12865
 
            ;;
12866
 
          *)
12867
 
            ;;
12868
 
        esac
12869
 
        ;;
12870
 
      linux* | k*bsd*-gnu)
12871
 
        case $cc_basename in
12872
 
          KCC*)
12873
 
            # KAI C++ Compiler
12874
 
            lt_prog_compiler_wl_CXX='--backend -Wl,'
12875
 
            lt_prog_compiler_pic_CXX='-fPIC'
12876
 
            ;;
12877
 
          icpc* | ecpc*)
12878
 
            # Intel C++
12879
 
            lt_prog_compiler_wl_CXX='-Wl,'
12880
 
            lt_prog_compiler_pic_CXX='-KPIC'
12881
 
            lt_prog_compiler_static_CXX='-static'
12882
 
            ;;
12883
 
          pgCC* | pgcpp*)
12884
 
            # Portland Group C++ compiler.
12885
 
            lt_prog_compiler_wl_CXX='-Wl,'
12886
 
            lt_prog_compiler_pic_CXX='-fpic'
12887
 
            lt_prog_compiler_static_CXX='-Bstatic'
12888
 
            ;;
12889
 
          cxx*)
12890
 
            # Compaq C++
12891
 
            # Make sure the PIC flag is empty.  It appears that all Alpha
12892
 
            # Linux and Compaq Tru64 Unix objects are PIC.
12893
 
            lt_prog_compiler_pic_CXX=
12894
 
            lt_prog_compiler_static_CXX='-non_shared'
12895
 
            ;;
12896
 
          *)
12897
 
            case `$CC -V 2>&1 | sed 5q` in
12898
 
            *Sun\ C*)
12899
 
              # Sun C++ 5.9
12900
 
              lt_prog_compiler_pic_CXX='-KPIC'
12901
 
              lt_prog_compiler_static_CXX='-Bstatic'
12902
 
              lt_prog_compiler_wl_CXX='-Qoption ld '
12903
 
              ;;
12904
 
            esac
12905
 
            ;;
12906
 
        esac
12907
 
        ;;
12908
 
      lynxos*)
12909
 
        ;;
12910
 
      m88k*)
12911
 
        ;;
12912
 
      mvs*)
12913
 
        case $cc_basename in
12914
 
          cxx*)
12915
 
            lt_prog_compiler_pic_CXX='-W c,exportall'
12916
 
            ;;
12917
 
          *)
12918
 
            ;;
12919
 
        esac
12920
 
        ;;
12921
 
      netbsd*)
12922
 
        ;;
12923
 
      osf3* | osf4* | osf5*)
12924
 
        case $cc_basename in
12925
 
          KCC*)
12926
 
            lt_prog_compiler_wl_CXX='--backend -Wl,'
12927
 
            ;;
12928
 
          RCC*)
12929
 
            # Rational C++ 2.4.1
12930
 
            lt_prog_compiler_pic_CXX='-pic'
12931
 
            ;;
12932
 
          cxx*)
12933
 
            # Digital/Compaq C++
12934
 
            lt_prog_compiler_wl_CXX='-Wl,'
12935
 
            # Make sure the PIC flag is empty.  It appears that all Alpha
12936
 
            # Linux and Compaq Tru64 Unix objects are PIC.
12937
 
            lt_prog_compiler_pic_CXX=
12938
 
            lt_prog_compiler_static_CXX='-non_shared'
12939
 
            ;;
12940
 
          *)
12941
 
            ;;
12942
 
        esac
12943
 
        ;;
12944
 
      psos*)
12945
 
        ;;
12946
 
      solaris*)
12947
 
        case $cc_basename in
12948
 
          CC*)
12949
 
            # Sun C++ 4.2, 5.x and Centerline C++
12950
 
            lt_prog_compiler_pic_CXX='-KPIC'
12951
 
            lt_prog_compiler_static_CXX='-Bstatic'
12952
 
            lt_prog_compiler_wl_CXX='-Qoption ld '
12953
 
            ;;
12954
 
          gcx*)
12955
 
            # Green Hills C++ Compiler
12956
 
            lt_prog_compiler_pic_CXX='-PIC'
12957
 
            ;;
12958
 
          *)
12959
 
            ;;
12960
 
        esac
12961
 
        ;;
12962
 
      sunos4*)
12963
 
        case $cc_basename in
12964
 
          CC*)
12965
 
            # Sun C++ 4.x
12966
 
            lt_prog_compiler_pic_CXX='-pic'
12967
 
            lt_prog_compiler_static_CXX='-Bstatic'
12968
 
            ;;
12969
 
          lcc*)
12970
 
            # Lucid
12971
 
            lt_prog_compiler_pic_CXX='-pic'
12972
 
            ;;
12973
 
          *)
12974
 
            ;;
12975
 
        esac
12976
 
        ;;
12977
 
      tandem*)
12978
 
        case $cc_basename in
12979
 
          NCC*)
12980
 
            # NonStop-UX NCC 3.20
12981
 
            lt_prog_compiler_pic_CXX='-KPIC'
12982
 
            ;;
12983
 
          *)
12984
 
            ;;
12985
 
        esac
12986
 
        ;;
12987
 
      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
12988
 
        case $cc_basename in
12989
 
          CC*)
12990
 
            lt_prog_compiler_wl_CXX='-Wl,'
12991
 
            lt_prog_compiler_pic_CXX='-KPIC'
12992
 
            lt_prog_compiler_static_CXX='-Bstatic'
12993
 
            ;;
12994
 
        esac
12995
 
        ;;
12996
 
      vxworks*)
12997
 
        ;;
12998
 
      *)
12999
 
        lt_prog_compiler_can_build_shared_CXX=no
13000
 
        ;;
13001
 
    esac
13002
 
  fi
13003
 
 
13004
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
13005
 
echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
13006
 
 
13007
 
#
13008
 
# Check to make sure the PIC flag actually works.
13009
 
#
13010
 
if test -n "$lt_prog_compiler_pic_CXX"; then
13011
 
 
13012
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13013
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
13014
 
if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
13015
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
13016
 
else
13017
 
  lt_cv_prog_compiler_pic_works_CXX=no
13018
 
  ac_outfile=conftest.$ac_objext
13019
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13020
 
   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13021
 
   # Insert the option either (1) after the last *FLAGS variable, or
13022
 
   # (2) before a word containing "conftest.", or (3) at the end.
13023
 
   # Note that $ac_compile itself does not contain backslashes and begins
13024
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
13025
 
   # The option is referenced via a variable to avoid confusing sed.
13026
 
   lt_compile=`echo "$ac_compile" | $SED \
13027
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13028
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13029
 
   -e 's:$: $lt_compiler_flag:'`
13030
 
   (eval echo "\"\$as_me:13030: $lt_compile\"" >&5)
13031
 
   (eval "$lt_compile" 2>conftest.err)
13032
 
   ac_status=$?
13033
 
   cat conftest.err >&5
13034
 
   echo "$as_me:13034: \$? = $ac_status" >&5
13035
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
13036
 
     # The compiler can only warn and ignore the option if not recognized
13037
 
     # So say no if there are warnings other than the usual output.
13038
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
13039
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13040
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13041
 
       lt_cv_prog_compiler_pic_works_CXX=yes
13042
 
     fi
13043
 
   fi
13044
 
   $rm conftest*
13045
 
 
13046
 
fi
13047
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13048
 
echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13049
 
 
13050
 
if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13051
 
    case $lt_prog_compiler_pic_CXX in
13052
 
     "" | " "*) ;;
13053
 
     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13054
 
     esac
13055
 
else
13056
 
    lt_prog_compiler_pic_CXX=
13057
 
     lt_prog_compiler_can_build_shared_CXX=no
13058
 
fi
13059
 
 
13060
 
fi
13061
 
case $host_os in
13062
 
  # For platforms which do not support PIC, -DPIC is meaningless:
13063
 
  *djgpp*)
13064
 
    lt_prog_compiler_pic_CXX=
13065
 
    ;;
13066
 
  *)
13067
 
    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13068
 
    ;;
13069
 
esac
13070
 
 
13071
 
#
13072
 
# Check to make sure the static flag actually works.
13073
 
#
13074
 
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13075
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13076
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
13077
 
if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
13078
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
13079
 
else
13080
 
  lt_cv_prog_compiler_static_works_CXX=no
13081
 
   save_LDFLAGS="$LDFLAGS"
13082
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13083
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
13084
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13085
 
     # The linker can only warn and ignore the option if not recognized
13086
 
     # So say no if there are warnings
13087
 
     if test -s conftest.err; then
13088
 
       # Append any errors to the config.log.
13089
 
       cat conftest.err 1>&5
13090
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
13091
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13092
 
       if diff conftest.exp conftest.er2 >/dev/null; then
13093
 
         lt_cv_prog_compiler_static_works_CXX=yes
13094
 
       fi
13095
 
     else
13096
 
       lt_cv_prog_compiler_static_works_CXX=yes
13097
 
     fi
13098
 
   fi
13099
 
   $rm -r conftest*
13100
 
   LDFLAGS="$save_LDFLAGS"
13101
 
 
13102
 
fi
13103
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13104
 
echo "${ECHO_T}$lt_cv_prog_compiler_static_works_CXX" >&6; }
13105
 
 
13106
 
if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13107
 
    :
13108
 
else
13109
 
    lt_prog_compiler_static_CXX=
13110
 
fi
13111
 
 
13112
 
 
13113
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13114
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
13115
 
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
13116
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
13117
 
else
13118
 
  lt_cv_prog_compiler_c_o_CXX=no
13119
 
   $rm -r conftest 2>/dev/null
13120
 
   mkdir conftest
13121
 
   cd conftest
13122
 
   mkdir out
13123
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13124
 
 
13125
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
13126
 
   # Insert the option either (1) after the last *FLAGS variable, or
13127
 
   # (2) before a word containing "conftest.", or (3) at the end.
13128
 
   # Note that $ac_compile itself does not contain backslashes and begins
13129
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
13130
 
   lt_compile=`echo "$ac_compile" | $SED \
13131
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13132
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13133
 
   -e 's:$: $lt_compiler_flag:'`
13134
 
   (eval echo "\"\$as_me:13134: $lt_compile\"" >&5)
13135
 
   (eval "$lt_compile" 2>out/conftest.err)
13136
 
   ac_status=$?
13137
 
   cat out/conftest.err >&5
13138
 
   echo "$as_me:13138: \$? = $ac_status" >&5
13139
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
13140
 
   then
13141
 
     # The compiler can only warn and ignore the option if not recognized
13142
 
     # So say no if there are warnings
13143
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
13144
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13145
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13146
 
       lt_cv_prog_compiler_c_o_CXX=yes
13147
 
     fi
13148
 
   fi
13149
 
   chmod u+w . 2>&5
13150
 
   $rm conftest*
13151
 
   # SGI C++ compiler will create directory out/ii_files/ for
13152
 
   # template instantiation
13153
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
13154
 
   $rm out/* && rmdir out
13155
 
   cd ..
13156
 
   rmdir conftest
13157
 
   $rm conftest*
13158
 
 
13159
 
fi
13160
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13161
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
13162
 
 
13163
 
 
13164
 
hard_links="nottested"
13165
 
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13166
 
  # do not overwrite the value of need_locks provided by the user
13167
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13168
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
13169
 
  hard_links=yes
13170
 
  $rm conftest*
13171
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
13172
 
  touch conftest.a
13173
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
13174
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
13175
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
13176
 
echo "${ECHO_T}$hard_links" >&6; }
13177
 
  if test "$hard_links" = no; then
13178
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13179
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13180
 
    need_locks=warn
13181
 
  fi
13182
 
else
13183
 
  need_locks=no
13184
 
fi
13185
 
 
13186
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13187
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
13188
 
 
13189
 
  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13190
 
  case $host_os in
13191
 
  aix[4-9]*)
13192
 
    # If we're using GNU nm, then we don't want the "-C" option.
13193
 
    # -C means demangle to AIX nm, but means don't demangle with GNU nm
13194
 
    if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
13195
 
      export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
13196
 
    else
13197
 
      export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
13198
 
    fi
13199
 
    ;;
13200
 
  pw32*)
13201
 
    export_symbols_cmds_CXX="$ltdll_cmds"
13202
 
  ;;
13203
 
  cygwin* | mingw*)
13204
 
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
13205
 
  ;;
13206
 
  *)
13207
 
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13208
 
  ;;
13209
 
  esac
13210
 
  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13211
 
 
13212
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
13213
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
13214
 
test "$ld_shlibs_CXX" = no && can_build_shared=no
13215
 
 
13216
 
#
13217
 
# Do we need to explicitly link libc?
13218
 
#
13219
 
case "x$archive_cmds_need_lc_CXX" in
13220
 
x|xyes)
13221
 
  # Assume -lc should be added
13222
 
  archive_cmds_need_lc_CXX=yes
13223
 
 
13224
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
13225
 
    case $archive_cmds_CXX in
13226
 
    *'~'*)
13227
 
      # FIXME: we may have to deal with multi-command sequences.
13228
 
      ;;
13229
 
    '$CC '*)
13230
 
      # Test whether the compiler implicitly links with -lc since on some
13231
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
13232
 
      # to ld, don't add -lc before -lgcc.
13233
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
13234
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
13235
 
      $rm conftest*
13236
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13237
 
 
13238
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13239
 
  (eval $ac_compile) 2>&5
13240
 
  ac_status=$?
13241
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13242
 
  (exit $ac_status); } 2>conftest.err; then
13243
 
        soname=conftest
13244
 
        lib=conftest
13245
 
        libobjs=conftest.$ac_objext
13246
 
        deplibs=
13247
 
        wl=$lt_prog_compiler_wl_CXX
13248
 
        pic_flag=$lt_prog_compiler_pic_CXX
13249
 
        compiler_flags=-v
13250
 
        linker_flags=-v
13251
 
        verstring=
13252
 
        output_objdir=.
13253
 
        libname=conftest
13254
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
13255
 
        allow_undefined_flag_CXX=
13256
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
13257
 
  (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
13258
 
  ac_status=$?
13259
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13260
 
  (exit $ac_status); }
13261
 
        then
13262
 
          archive_cmds_need_lc_CXX=no
13263
 
        else
13264
 
          archive_cmds_need_lc_CXX=yes
13265
 
        fi
13266
 
        allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
13267
 
      else
13268
 
        cat conftest.err 1>&5
13269
 
      fi
13270
 
      $rm conftest*
13271
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
13272
 
echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
13273
 
      ;;
13274
 
    esac
13275
 
  fi
13276
 
  ;;
13277
 
esac
13278
 
 
13279
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
13280
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
13281
 
library_names_spec=
13282
 
libname_spec='lib$name'
13283
 
soname_spec=
13284
 
shrext_cmds=".so"
13285
 
postinstall_cmds=
13286
 
postuninstall_cmds=
13287
 
finish_cmds=
13288
 
finish_eval=
13289
 
shlibpath_var=
13290
 
shlibpath_overrides_runpath=unknown
13291
 
version_type=none
13292
 
dynamic_linker="$host_os ld.so"
13293
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
13294
 
 
13295
 
need_lib_prefix=unknown
13296
 
hardcode_into_libs=no
13297
 
 
13298
 
# when you set need_version to no, make sure it does not cause -set_version
13299
 
# flags to be left without arguments
13300
 
need_version=unknown
13301
 
 
13302
 
case $host_os in
13303
 
aix3*)
13304
 
  version_type=linux
13305
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
13306
 
  shlibpath_var=LIBPATH
13307
 
 
13308
 
  # AIX 3 has no versioning support, so we append a major version to the name.
13309
 
  soname_spec='${libname}${release}${shared_ext}$major'
13310
 
  ;;
13311
 
 
13312
 
aix[4-9]*)
13313
 
  version_type=linux
13314
 
  need_lib_prefix=no
13315
 
  need_version=no
13316
 
  hardcode_into_libs=yes
13317
 
  if test "$host_cpu" = ia64; then
13318
 
    # AIX 5 supports IA64
13319
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13320
 
    shlibpath_var=LD_LIBRARY_PATH
13321
 
  else
13322
 
    # With GCC up to 2.95.x, collect2 would create an import file
13323
 
    # for dependence libraries.  The import file would start with
13324
 
    # the line `#! .'.  This would cause the generated library to
13325
 
    # depend on `.', always an invalid library.  This was fixed in
13326
 
    # development snapshots of GCC prior to 3.0.
13327
 
    case $host_os in
13328
 
      aix4 | aix4.[01] | aix4.[01].*)
13329
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13330
 
           echo ' yes '
13331
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
13332
 
        :
13333
 
      else
13334
 
        can_build_shared=no
13335
 
      fi
13336
 
      ;;
13337
 
    esac
13338
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13339
 
    # soname into executable. Probably we can add versioning support to
13340
 
    # collect2, so additional links can be useful in future.
13341
 
    if test "$aix_use_runtimelinking" = yes; then
13342
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13343
 
      # instead of lib<name>.a to let people know that these are not
13344
 
      # typical AIX shared libraries.
13345
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13346
 
    else
13347
 
      # We preserve .a as extension for shared libraries through AIX4.2
13348
 
      # and later when we are not doing run time linking.
13349
 
      library_names_spec='${libname}${release}.a $libname.a'
13350
 
      soname_spec='${libname}${release}${shared_ext}$major'
13351
 
    fi
13352
 
    shlibpath_var=LIBPATH
13353
 
  fi
13354
 
  ;;
13355
 
 
13356
 
amigaos*)
13357
 
  library_names_spec='$libname.ixlibrary $libname.a'
13358
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
13359
 
  finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
13360
 
  ;;
13361
 
 
13362
 
beos*)
13363
 
  library_names_spec='${libname}${shared_ext}'
13364
 
  dynamic_linker="$host_os ld.so"
13365
 
  shlibpath_var=LIBRARY_PATH
13366
 
  ;;
13367
 
 
13368
 
bsdi[45]*)
13369
 
  version_type=linux
13370
 
  need_version=no
13371
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13372
 
  soname_spec='${libname}${release}${shared_ext}$major'
13373
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
13374
 
  shlibpath_var=LD_LIBRARY_PATH
13375
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13376
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
13377
 
  # the default ld.so.conf also contains /usr/contrib/lib and
13378
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13379
 
  # libtool to hard-code these into programs
13380
 
  ;;
13381
 
 
13382
 
cygwin* | mingw* | pw32*)
13383
 
  version_type=windows
13384
 
  shrext_cmds=".dll"
13385
 
  need_version=no
13386
 
  need_lib_prefix=no
13387
 
 
13388
 
  case $GCC,$host_os in
13389
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
13390
 
    library_names_spec='$libname.dll.a'
13391
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
13392
 
    postinstall_cmds='base_file=`basename \${file}`~
13393
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
13394
 
      dldir=$destdir/`dirname \$dlpath`~
13395
 
      test -d \$dldir || mkdir -p \$dldir~
13396
 
      $install_prog $dir/$dlname \$dldir/$dlname~
13397
 
      chmod a+x \$dldir/$dlname'
13398
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13399
 
      dlpath=$dir/\$dldll~
13400
 
       $rm \$dlpath'
13401
 
    shlibpath_overrides_runpath=yes
13402
 
 
13403
 
    case $host_os in
13404
 
    cygwin*)
13405
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13406
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13407
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
13408
 
      ;;
13409
 
    mingw*)
13410
 
      # MinGW DLLs use traditional 'lib' prefix
13411
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13412
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13413
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
13414
 
        # It is most probably a Windows format PATH printed by
13415
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
13416
 
        # path with ; separators, and with drive letters. We can handle the
13417
 
        # drive letters (cygwin fileutils understands them), so leave them,
13418
 
        # especially as we might pass files found there to a mingw objdump,
13419
 
        # which wouldn't understand a cygwinified path. Ahh.
13420
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13421
 
      else
13422
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
13423
 
      fi
13424
 
      ;;
13425
 
    pw32*)
13426
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
13427
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13428
 
      ;;
13429
 
    esac
13430
 
    ;;
13431
 
 
13432
 
  *)
13433
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13434
 
    ;;
13435
 
  esac
13436
 
  dynamic_linker='Win32 ld.exe'
13437
 
  # FIXME: first we should search . and the directory the executable is in
13438
 
  shlibpath_var=PATH
13439
 
  ;;
13440
 
 
13441
 
darwin* | rhapsody*)
13442
 
  dynamic_linker="$host_os dyld"
13443
 
  version_type=darwin
13444
 
  need_lib_prefix=no
13445
 
  need_version=no
13446
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13447
 
  soname_spec='${libname}${release}${major}$shared_ext'
13448
 
  shlibpath_overrides_runpath=yes
13449
 
  shlibpath_var=DYLD_LIBRARY_PATH
13450
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
13451
 
 
13452
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
13453
 
  ;;
13454
 
 
13455
 
dgux*)
13456
 
  version_type=linux
13457
 
  need_lib_prefix=no
13458
 
  need_version=no
13459
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13460
 
  soname_spec='${libname}${release}${shared_ext}$major'
13461
 
  shlibpath_var=LD_LIBRARY_PATH
13462
 
  ;;
13463
 
 
13464
 
freebsd1*)
13465
 
  dynamic_linker=no
13466
 
  ;;
13467
 
 
13468
 
freebsd* | dragonfly*)
13469
 
  # DragonFly does not have aout.  When/if they implement a new
13470
 
  # versioning mechanism, adjust this.
13471
 
  if test -x /usr/bin/objformat; then
13472
 
    objformat=`/usr/bin/objformat`
13473
 
  else
13474
 
    case $host_os in
13475
 
    freebsd[123]*) objformat=aout ;;
13476
 
    *) objformat=elf ;;
13477
 
    esac
13478
 
  fi
13479
 
  version_type=freebsd-$objformat
13480
 
  case $version_type in
13481
 
    freebsd-elf*)
13482
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13483
 
      need_version=no
13484
 
      need_lib_prefix=no
13485
 
      ;;
13486
 
    freebsd-*)
13487
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13488
 
      need_version=yes
13489
 
      ;;
13490
 
  esac
13491
 
  shlibpath_var=LD_LIBRARY_PATH
13492
 
  case $host_os in
13493
 
  freebsd2*)
13494
 
    shlibpath_overrides_runpath=yes
13495
 
    ;;
13496
 
  freebsd3.[01]* | freebsdelf3.[01]*)
13497
 
    shlibpath_overrides_runpath=yes
13498
 
    hardcode_into_libs=yes
13499
 
    ;;
13500
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
13501
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
13502
 
    shlibpath_overrides_runpath=no
13503
 
    hardcode_into_libs=yes
13504
 
    ;;
13505
 
  *) # from 4.6 on, and DragonFly
13506
 
    shlibpath_overrides_runpath=yes
13507
 
    hardcode_into_libs=yes
13508
 
    ;;
13509
 
  esac
13510
 
  ;;
13511
 
 
13512
 
gnu*)
13513
 
  version_type=linux
13514
 
  need_lib_prefix=no
13515
 
  need_version=no
13516
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13517
 
  soname_spec='${libname}${release}${shared_ext}$major'
13518
 
  shlibpath_var=LD_LIBRARY_PATH
13519
 
  hardcode_into_libs=yes
13520
 
  ;;
13521
 
 
13522
 
hpux9* | hpux10* | hpux11*)
13523
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
13524
 
  # link against other versions.
13525
 
  version_type=sunos
13526
 
  need_lib_prefix=no
13527
 
  need_version=no
13528
 
  case $host_cpu in
13529
 
  ia64*)
13530
 
    shrext_cmds='.so'
13531
 
    hardcode_into_libs=yes
13532
 
    dynamic_linker="$host_os dld.so"
13533
 
    shlibpath_var=LD_LIBRARY_PATH
13534
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13535
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13536
 
    soname_spec='${libname}${release}${shared_ext}$major'
13537
 
    if test "X$HPUX_IA64_MODE" = X32; then
13538
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13539
 
    else
13540
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
13541
 
    fi
13542
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13543
 
    ;;
13544
 
   hppa*64*)
13545
 
     shrext_cmds='.sl'
13546
 
     hardcode_into_libs=yes
13547
 
     dynamic_linker="$host_os dld.sl"
13548
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
13549
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13550
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13551
 
     soname_spec='${libname}${release}${shared_ext}$major'
13552
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13553
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13554
 
     ;;
13555
 
   *)
13556
 
    shrext_cmds='.sl'
13557
 
    dynamic_linker="$host_os dld.sl"
13558
 
    shlibpath_var=SHLIB_PATH
13559
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
13560
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13561
 
    soname_spec='${libname}${release}${shared_ext}$major'
13562
 
    ;;
13563
 
  esac
13564
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
13565
 
  postinstall_cmds='chmod 555 $lib'
13566
 
  ;;
13567
 
 
13568
 
interix[3-9]*)
13569
 
  version_type=linux
13570
 
  need_lib_prefix=no
13571
 
  need_version=no
13572
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13573
 
  soname_spec='${libname}${release}${shared_ext}$major'
13574
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
13575
 
  shlibpath_var=LD_LIBRARY_PATH
13576
 
  shlibpath_overrides_runpath=no
13577
 
  hardcode_into_libs=yes
13578
 
  ;;
13579
 
 
13580
 
irix5* | irix6* | nonstopux*)
13581
 
  case $host_os in
13582
 
    nonstopux*) version_type=nonstopux ;;
13583
 
    *)
13584
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
13585
 
                version_type=linux
13586
 
        else
13587
 
                version_type=irix
13588
 
        fi ;;
13589
 
  esac
13590
 
  need_lib_prefix=no
13591
 
  need_version=no
13592
 
  soname_spec='${libname}${release}${shared_ext}$major'
13593
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13594
 
  case $host_os in
13595
 
  irix5* | nonstopux*)
13596
 
    libsuff= shlibsuff=
13597
 
    ;;
13598
 
  *)
13599
 
    case $LD in # libtool.m4 will add one of these switches to LD
13600
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13601
 
      libsuff= shlibsuff= libmagic=32-bit;;
13602
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13603
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
13604
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13605
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
13606
 
    *) libsuff= shlibsuff= libmagic=never-match;;
13607
 
    esac
13608
 
    ;;
13609
 
  esac
13610
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
13611
 
  shlibpath_overrides_runpath=no
13612
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13613
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
13614
 
  hardcode_into_libs=yes
13615
 
  ;;
13616
 
 
13617
 
# No shared lib support for Linux oldld, aout, or coff.
13618
 
linux*oldld* | linux*aout* | linux*coff*)
13619
 
  dynamic_linker=no
13620
 
  ;;
13621
 
 
13622
 
# This must be Linux ELF.
13623
 
linux* | k*bsd*-gnu)
13624
 
  version_type=linux
13625
 
  need_lib_prefix=no
13626
 
  need_version=no
13627
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13628
 
  soname_spec='${libname}${release}${shared_ext}$major'
13629
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13630
 
  shlibpath_var=LD_LIBRARY_PATH
13631
 
  shlibpath_overrides_runpath=no
13632
 
  # This implies no fast_install, which is unacceptable.
13633
 
  # Some rework will be needed to allow for fast_install
13634
 
  # before this can be enabled.
13635
 
  hardcode_into_libs=yes
13636
 
 
13637
 
  # Append ld.so.conf contents to the search path
13638
 
  if test -f /etc/ld.so.conf; then
13639
 
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[      ]*hwcap[        ]/d;s/[:,       ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
13640
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
13641
 
  fi
13642
 
 
13643
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
13644
 
  # powerpc, because MkLinux only supported shared libraries with the
13645
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
13646
 
  # most powerpc-linux boxes support dynamic linking these days and
13647
 
  # people can always --disable-shared, the test was removed, and we
13648
 
  # assume the GNU/Linux dynamic linker is in use.
13649
 
  dynamic_linker='GNU/Linux ld.so'
13650
 
  ;;
13651
 
 
13652
 
netbsd*)
13653
 
  version_type=sunos
13654
 
  need_lib_prefix=no
13655
 
  need_version=no
13656
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13657
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13658
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13659
 
    dynamic_linker='NetBSD (a.out) ld.so'
13660
 
  else
13661
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13662
 
    soname_spec='${libname}${release}${shared_ext}$major'
13663
 
    dynamic_linker='NetBSD ld.elf_so'
13664
 
  fi
13665
 
  shlibpath_var=LD_LIBRARY_PATH
13666
 
  shlibpath_overrides_runpath=yes
13667
 
  hardcode_into_libs=yes
13668
 
  ;;
13669
 
 
13670
 
newsos6)
13671
 
  version_type=linux
13672
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13673
 
  shlibpath_var=LD_LIBRARY_PATH
13674
 
  shlibpath_overrides_runpath=yes
13675
 
  ;;
13676
 
 
13677
 
nto-qnx*)
13678
 
  version_type=linux
13679
 
  need_lib_prefix=no
13680
 
  need_version=no
13681
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13682
 
  soname_spec='${libname}${release}${shared_ext}$major'
13683
 
  shlibpath_var=LD_LIBRARY_PATH
13684
 
  shlibpath_overrides_runpath=yes
13685
 
  ;;
13686
 
 
13687
 
openbsd*)
13688
 
  version_type=sunos
13689
 
  sys_lib_dlsearch_path_spec="/usr/lib"
13690
 
  need_lib_prefix=no
13691
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13692
 
  case $host_os in
13693
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
13694
 
    *)                         need_version=no  ;;
13695
 
  esac
13696
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13697
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13698
 
  shlibpath_var=LD_LIBRARY_PATH
13699
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13700
 
    case $host_os in
13701
 
      openbsd2.[89] | openbsd2.[89].*)
13702
 
        shlibpath_overrides_runpath=no
13703
 
        ;;
13704
 
      *)
13705
 
        shlibpath_overrides_runpath=yes
13706
 
        ;;
13707
 
      esac
13708
 
  else
13709
 
    shlibpath_overrides_runpath=yes
13710
 
  fi
13711
 
  ;;
13712
 
 
13713
 
os2*)
13714
 
  libname_spec='$name'
13715
 
  shrext_cmds=".dll"
13716
 
  need_lib_prefix=no
13717
 
  library_names_spec='$libname${shared_ext} $libname.a'
13718
 
  dynamic_linker='OS/2 ld.exe'
13719
 
  shlibpath_var=LIBPATH
13720
 
  ;;
13721
 
 
13722
 
osf3* | osf4* | osf5*)
13723
 
  version_type=osf
13724
 
  need_lib_prefix=no
13725
 
  need_version=no
13726
 
  soname_spec='${libname}${release}${shared_ext}$major'
13727
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13728
 
  shlibpath_var=LD_LIBRARY_PATH
13729
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13730
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
13731
 
  ;;
13732
 
 
13733
 
rdos*)
13734
 
  dynamic_linker=no
13735
 
  ;;
13736
 
 
13737
 
solaris*)
13738
 
  version_type=linux
13739
 
  need_lib_prefix=no
13740
 
  need_version=no
13741
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13742
 
  soname_spec='${libname}${release}${shared_ext}$major'
13743
 
  shlibpath_var=LD_LIBRARY_PATH
13744
 
  shlibpath_overrides_runpath=yes
13745
 
  hardcode_into_libs=yes
13746
 
  # ldd complains unless libraries are executable
13747
 
  postinstall_cmds='chmod +x $lib'
13748
 
  ;;
13749
 
 
13750
 
sunos4*)
13751
 
  version_type=sunos
13752
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13753
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13754
 
  shlibpath_var=LD_LIBRARY_PATH
13755
 
  shlibpath_overrides_runpath=yes
13756
 
  if test "$with_gnu_ld" = yes; then
13757
 
    need_lib_prefix=no
13758
 
  fi
13759
 
  need_version=yes
13760
 
  ;;
13761
 
 
13762
 
sysv4 | sysv4.3*)
13763
 
  version_type=linux
13764
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13765
 
  soname_spec='${libname}${release}${shared_ext}$major'
13766
 
  shlibpath_var=LD_LIBRARY_PATH
13767
 
  case $host_vendor in
13768
 
    sni)
13769
 
      shlibpath_overrides_runpath=no
13770
 
      need_lib_prefix=no
13771
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
13772
 
      runpath_var=LD_RUN_PATH
13773
 
      ;;
13774
 
    siemens)
13775
 
      need_lib_prefix=no
13776
 
      ;;
13777
 
    motorola)
13778
 
      need_lib_prefix=no
13779
 
      need_version=no
13780
 
      shlibpath_overrides_runpath=no
13781
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
13782
 
      ;;
13783
 
  esac
13784
 
  ;;
13785
 
 
13786
 
sysv4*MP*)
13787
 
  if test -d /usr/nec ;then
13788
 
    version_type=linux
13789
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13790
 
    soname_spec='$libname${shared_ext}.$major'
13791
 
    shlibpath_var=LD_LIBRARY_PATH
13792
 
  fi
13793
 
  ;;
13794
 
 
13795
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
13796
 
  version_type=freebsd-elf
13797
 
  need_lib_prefix=no
13798
 
  need_version=no
13799
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13800
 
  soname_spec='${libname}${release}${shared_ext}$major'
13801
 
  shlibpath_var=LD_LIBRARY_PATH
13802
 
  hardcode_into_libs=yes
13803
 
  if test "$with_gnu_ld" = yes; then
13804
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13805
 
    shlibpath_overrides_runpath=no
13806
 
  else
13807
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
13808
 
    shlibpath_overrides_runpath=yes
13809
 
    case $host_os in
13810
 
      sco3.2v5*)
13811
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
13812
 
        ;;
13813
 
    esac
13814
 
  fi
13815
 
  sys_lib_dlsearch_path_spec='/usr/lib'
13816
 
  ;;
13817
 
 
13818
 
uts4*)
13819
 
  version_type=linux
13820
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13821
 
  soname_spec='${libname}${release}${shared_ext}$major'
13822
 
  shlibpath_var=LD_LIBRARY_PATH
13823
 
  ;;
13824
 
 
13825
 
*)
13826
 
  dynamic_linker=no
13827
 
  ;;
13828
 
esac
13829
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13830
 
echo "${ECHO_T}$dynamic_linker" >&6; }
13831
 
test "$dynamic_linker" = no && can_build_shared=no
13832
 
 
13833
 
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
13834
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
13835
 
else
13836
 
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
13837
 
fi
13838
 
 
13839
 
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
13840
 
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
13841
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
13842
 
else
13843
 
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
13844
 
fi
13845
 
 
13846
 
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
13847
 
 
13848
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13849
 
if test "$GCC" = yes; then
13850
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13851
 
fi
13852
 
 
13853
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13854
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
13855
 
hardcode_action_CXX=
13856
 
if test -n "$hardcode_libdir_flag_spec_CXX" || \
13857
 
   test -n "$runpath_var_CXX" || \
13858
 
   test "X$hardcode_automatic_CXX" = "Xyes" ; then
13859
 
 
13860
 
  # We can hardcode non-existant directories.
13861
 
  if test "$hardcode_direct_CXX" != no &&
13862
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
13863
 
     # have to relink, otherwise we might link with an installed library
13864
 
     # when we should be linking with a yet-to-be-installed one
13865
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
13866
 
     test "$hardcode_minus_L_CXX" != no; then
13867
 
    # Linking always hardcodes the temporary library directory.
13868
 
    hardcode_action_CXX=relink
13869
 
  else
13870
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
13871
 
    hardcode_action_CXX=immediate
13872
 
  fi
13873
 
else
13874
 
  # We cannot hardcode anything, or else we can only hardcode existing
13875
 
  # directories.
13876
 
  hardcode_action_CXX=unsupported
13877
 
fi
13878
 
{ echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
13879
 
echo "${ECHO_T}$hardcode_action_CXX" >&6; }
13880
 
 
13881
 
if test "$hardcode_action_CXX" = relink; then
13882
 
  # Fast installation is not supported
13883
 
  enable_fast_install=no
13884
 
elif test "$shlibpath_overrides_runpath" = yes ||
13885
 
     test "$enable_shared" = no; then
13886
 
  # Fast installation is not necessary
13887
 
  enable_fast_install=needless
13888
 
fi
13889
 
 
13890
 
 
13891
 
# The else clause should only fire when bootstrapping the
13892
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
13893
 
# with your package, and you will get complaints that there are
13894
 
# no rules to generate ltmain.sh.
13895
 
if test -f "$ltmain"; then
13896
 
  # See if we are running on zsh, and set the options which allow our commands through
13897
 
  # without removal of \ escapes.
13898
 
  if test -n "${ZSH_VERSION+set}" ; then
13899
 
    setopt NO_GLOB_SUBST
13900
 
  fi
13901
 
  # Now quote all the things that may contain metacharacters while being
13902
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
13903
 
  # variables and quote the copies for generation of the libtool script.
13904
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
13905
 
    SED SHELL STRIP \
13906
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
13907
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
13908
 
    deplibs_check_method reload_flag reload_cmds need_locks \
13909
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
13910
 
    lt_cv_sys_global_symbol_to_c_name_address \
13911
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
13912
 
    old_postinstall_cmds old_postuninstall_cmds \
13913
 
    compiler_CXX \
13914
 
    CC_CXX \
13915
 
    LD_CXX \
13916
 
    lt_prog_compiler_wl_CXX \
13917
 
    lt_prog_compiler_pic_CXX \
13918
 
    lt_prog_compiler_static_CXX \
13919
 
    lt_prog_compiler_no_builtin_flag_CXX \
13920
 
    export_dynamic_flag_spec_CXX \
13921
 
    thread_safe_flag_spec_CXX \
13922
 
    whole_archive_flag_spec_CXX \
13923
 
    enable_shared_with_static_runtimes_CXX \
13924
 
    old_archive_cmds_CXX \
13925
 
    old_archive_from_new_cmds_CXX \
13926
 
    predep_objects_CXX \
13927
 
    postdep_objects_CXX \
13928
 
    predeps_CXX \
13929
 
    postdeps_CXX \
13930
 
    compiler_lib_search_path_CXX \
13931
 
    compiler_lib_search_dirs_CXX \
13932
 
    archive_cmds_CXX \
13933
 
    archive_expsym_cmds_CXX \
13934
 
    postinstall_cmds_CXX \
13935
 
    postuninstall_cmds_CXX \
13936
 
    old_archive_from_expsyms_cmds_CXX \
13937
 
    allow_undefined_flag_CXX \
13938
 
    no_undefined_flag_CXX \
13939
 
    export_symbols_cmds_CXX \
13940
 
    hardcode_libdir_flag_spec_CXX \
13941
 
    hardcode_libdir_flag_spec_ld_CXX \
13942
 
    hardcode_libdir_separator_CXX \
13943
 
    hardcode_automatic_CXX \
13944
 
    module_cmds_CXX \
13945
 
    module_expsym_cmds_CXX \
13946
 
    lt_cv_prog_compiler_c_o_CXX \
13947
 
    fix_srcfile_path_CXX \
13948
 
    exclude_expsyms_CXX \
13949
 
    include_expsyms_CXX; do
13950
 
 
13951
 
    case $var in
13952
 
    old_archive_cmds_CXX | \
13953
 
    old_archive_from_new_cmds_CXX | \
13954
 
    archive_cmds_CXX | \
13955
 
    archive_expsym_cmds_CXX | \
13956
 
    module_cmds_CXX | \
13957
 
    module_expsym_cmds_CXX | \
13958
 
    old_archive_from_expsyms_cmds_CXX | \
13959
 
    export_symbols_cmds_CXX | \
13960
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
13961
 
    postinstall_cmds | postuninstall_cmds | \
13962
 
    old_postinstall_cmds | old_postuninstall_cmds | \
13963
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
13964
 
      # Double-quote double-evaled strings.
13965
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
13966
 
      ;;
13967
 
    *)
13968
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
13969
 
      ;;
13970
 
    esac
13971
 
  done
13972
 
 
13973
 
  case $lt_echo in
13974
 
  *'\$0 --fallback-echo"')
13975
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
13976
 
    ;;
13977
 
  esac
13978
 
 
13979
 
cfgfile="$ofile"
13980
 
 
13981
 
  cat <<__EOF__ >> "$cfgfile"
13982
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
13983
 
 
13984
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13985
 
 
13986
 
# Shell to use when invoking shell scripts.
13987
 
SHELL=$lt_SHELL
13988
 
 
13989
 
# Whether or not to build shared libraries.
13990
 
build_libtool_libs=$enable_shared
13991
 
 
13992
 
# Whether or not to build static libraries.
13993
 
build_old_libs=$enable_static
13994
 
 
13995
 
# Whether or not to add -lc for building shared libraries.
13996
 
build_libtool_need_lc=$archive_cmds_need_lc_CXX
13997
 
 
13998
 
# Whether or not to disallow shared libs when runtime libs are static
13999
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
14000
 
 
14001
 
# Whether or not to optimize for fast installation.
14002
 
fast_install=$enable_fast_install
14003
 
 
14004
 
# The host system.
14005
 
host_alias=$host_alias
14006
 
host=$host
14007
 
host_os=$host_os
14008
 
 
14009
 
# The build system.
14010
 
build_alias=$build_alias
14011
 
build=$build
14012
 
build_os=$build_os
14013
 
 
14014
 
# An echo program that does not interpret backslashes.
14015
 
echo=$lt_echo
14016
 
 
14017
 
# The archiver.
14018
 
AR=$lt_AR
14019
 
AR_FLAGS=$lt_AR_FLAGS
14020
 
 
14021
 
# A C compiler.
14022
 
LTCC=$lt_LTCC
14023
 
 
14024
 
# LTCC compiler flags.
14025
 
LTCFLAGS=$lt_LTCFLAGS
14026
 
 
14027
 
# A language-specific compiler.
14028
 
CC=$lt_compiler_CXX
14029
 
 
14030
 
# Is the compiler the GNU C compiler?
14031
 
with_gcc=$GCC_CXX
14032
 
 
14033
 
# An ERE matcher.
14034
 
EGREP=$lt_EGREP
14035
 
 
14036
 
# The linker used to build libraries.
14037
 
LD=$lt_LD_CXX
14038
 
 
14039
 
# Whether we need hard or soft links.
14040
 
LN_S=$lt_LN_S
14041
 
 
14042
 
# A BSD-compatible nm program.
14043
 
NM=$lt_NM
14044
 
 
14045
 
# A symbol stripping program
14046
 
STRIP=$lt_STRIP
14047
 
 
14048
 
# Used to examine libraries when file_magic_cmd begins "file"
14049
 
MAGIC_CMD=$MAGIC_CMD
14050
 
 
14051
 
# Used on cygwin: DLL creation program.
14052
 
DLLTOOL="$DLLTOOL"
14053
 
 
14054
 
# Used on cygwin: object dumper.
14055
 
OBJDUMP="$OBJDUMP"
14056
 
 
14057
 
# Used on cygwin: assembler.
14058
 
AS="$AS"
14059
 
 
14060
 
# The name of the directory that contains temporary libtool files.
14061
 
objdir=$objdir
14062
 
 
14063
 
# How to create reloadable object files.
14064
 
reload_flag=$lt_reload_flag
14065
 
reload_cmds=$lt_reload_cmds
14066
 
 
14067
 
# How to pass a linker flag through the compiler.
14068
 
wl=$lt_lt_prog_compiler_wl_CXX
14069
 
 
14070
 
# Object file suffix (normally "o").
14071
 
objext="$ac_objext"
14072
 
 
14073
 
# Old archive suffix (normally "a").
14074
 
libext="$libext"
14075
 
 
14076
 
# Shared library suffix (normally ".so").
14077
 
shrext_cmds='$shrext_cmds'
14078
 
 
14079
 
# Executable file suffix (normally "").
14080
 
exeext="$exeext"
14081
 
 
14082
 
# Additional compiler flags for building library objects.
14083
 
pic_flag=$lt_lt_prog_compiler_pic_CXX
14084
 
pic_mode=$pic_mode
14085
 
 
14086
 
# What is the maximum length of a command?
14087
 
max_cmd_len=$lt_cv_sys_max_cmd_len
14088
 
 
14089
 
# Does compiler simultaneously support -c and -o options?
14090
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
14091
 
 
14092
 
# Must we lock files when doing compilation?
14093
 
need_locks=$lt_need_locks
14094
 
 
14095
 
# Do we need the lib prefix for modules?
14096
 
need_lib_prefix=$need_lib_prefix
14097
 
 
14098
 
# Do we need a version for libraries?
14099
 
need_version=$need_version
14100
 
 
14101
 
# Whether dlopen is supported.
14102
 
dlopen_support=$enable_dlopen
14103
 
 
14104
 
# Whether dlopen of programs is supported.
14105
 
dlopen_self=$enable_dlopen_self
14106
 
 
14107
 
# Whether dlopen of statically linked programs is supported.
14108
 
dlopen_self_static=$enable_dlopen_self_static
14109
 
 
14110
 
# Compiler flag to prevent dynamic linking.
14111
 
link_static_flag=$lt_lt_prog_compiler_static_CXX
14112
 
 
14113
 
# Compiler flag to turn off builtin functions.
14114
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
14115
 
 
14116
 
# Compiler flag to allow reflexive dlopens.
14117
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
14118
 
 
14119
 
# Compiler flag to generate shared objects directly from archives.
14120
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
14121
 
 
14122
 
# Compiler flag to generate thread-safe objects.
14123
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
14124
 
 
14125
 
# Library versioning type.
14126
 
version_type=$version_type
14127
 
 
14128
 
# Format of library name prefix.
14129
 
libname_spec=$lt_libname_spec
14130
 
 
14131
 
# List of archive names.  First name is the real one, the rest are links.
14132
 
# The last name is the one that the linker finds with -lNAME.
14133
 
library_names_spec=$lt_library_names_spec
14134
 
 
14135
 
# The coded name of the library, if different from the real name.
14136
 
soname_spec=$lt_soname_spec
14137
 
 
14138
 
# Commands used to build and install an old-style archive.
14139
 
RANLIB=$lt_RANLIB
14140
 
old_archive_cmds=$lt_old_archive_cmds_CXX
14141
 
old_postinstall_cmds=$lt_old_postinstall_cmds
14142
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
14143
 
 
14144
 
# Create an old-style archive from a shared archive.
14145
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
14146
 
 
14147
 
# Create a temporary old-style archive to link instead of a shared archive.
14148
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
14149
 
 
14150
 
# Commands used to build and install a shared archive.
14151
 
archive_cmds=$lt_archive_cmds_CXX
14152
 
archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
14153
 
postinstall_cmds=$lt_postinstall_cmds
14154
 
postuninstall_cmds=$lt_postuninstall_cmds
14155
 
 
14156
 
# Commands used to build a loadable module (assumed same as above if empty)
14157
 
module_cmds=$lt_module_cmds_CXX
14158
 
module_expsym_cmds=$lt_module_expsym_cmds_CXX
14159
 
 
14160
 
# Commands to strip libraries.
14161
 
old_striplib=$lt_old_striplib
14162
 
striplib=$lt_striplib
14163
 
 
14164
 
# Dependencies to place before the objects being linked to create a
14165
 
# shared library.
14166
 
predep_objects=$lt_predep_objects_CXX
14167
 
 
14168
 
# Dependencies to place after the objects being linked to create a
14169
 
# shared library.
14170
 
postdep_objects=$lt_postdep_objects_CXX
14171
 
 
14172
 
# Dependencies to place before the objects being linked to create a
14173
 
# shared library.
14174
 
predeps=$lt_predeps_CXX
14175
 
 
14176
 
# Dependencies to place after the objects being linked to create a
14177
 
# shared library.
14178
 
postdeps=$lt_postdeps_CXX
14179
 
 
14180
 
# The directories searched by this compiler when creating a shared
14181
 
# library
14182
 
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
14183
 
 
14184
 
# The library search path used internally by the compiler when linking
14185
 
# a shared library.
14186
 
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
14187
 
 
14188
 
# Method to check whether dependent libraries are shared objects.
14189
 
deplibs_check_method=$lt_deplibs_check_method
14190
 
 
14191
 
# Command to use when deplibs_check_method == file_magic.
14192
 
file_magic_cmd=$lt_file_magic_cmd
14193
 
 
14194
 
# Flag that allows shared libraries with undefined symbols to be built.
14195
 
allow_undefined_flag=$lt_allow_undefined_flag_CXX
14196
 
 
14197
 
# Flag that forces no undefined symbols.
14198
 
no_undefined_flag=$lt_no_undefined_flag_CXX
14199
 
 
14200
 
# Commands used to finish a libtool library installation in a directory.
14201
 
finish_cmds=$lt_finish_cmds
14202
 
 
14203
 
# Same as above, but a single script fragment to be evaled but not shown.
14204
 
finish_eval=$lt_finish_eval
14205
 
 
14206
 
# Take the output of nm and produce a listing of raw symbols and C names.
14207
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14208
 
 
14209
 
# Transform the output of nm in a proper C declaration
14210
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14211
 
 
14212
 
# Transform the output of nm in a C name address pair
14213
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14214
 
 
14215
 
# This is the shared library runtime path variable.
14216
 
runpath_var=$runpath_var
14217
 
 
14218
 
# This is the shared library path variable.
14219
 
shlibpath_var=$shlibpath_var
14220
 
 
14221
 
# Is shlibpath searched before the hard-coded library search path?
14222
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14223
 
 
14224
 
# How to hardcode a shared library path into an executable.
14225
 
hardcode_action=$hardcode_action_CXX
14226
 
 
14227
 
# Whether we should hardcode library paths into libraries.
14228
 
hardcode_into_libs=$hardcode_into_libs
14229
 
 
14230
 
# Flag to hardcode \$libdir into a binary during linking.
14231
 
# This must work even if \$libdir does not exist.
14232
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
14233
 
 
14234
 
# If ld is used when linking, flag to hardcode \$libdir into
14235
 
# a binary during linking. This must work even if \$libdir does
14236
 
# not exist.
14237
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
14238
 
 
14239
 
# Whether we need a single -rpath flag with a separated argument.
14240
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
14241
 
 
14242
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
14243
 
# resulting binary.
14244
 
hardcode_direct=$hardcode_direct_CXX
14245
 
 
14246
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
14247
 
# resulting binary.
14248
 
hardcode_minus_L=$hardcode_minus_L_CXX
14249
 
 
14250
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
14251
 
# the resulting binary.
14252
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
14253
 
 
14254
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
14255
 
# and all subsequent libraries and executables linked against it.
14256
 
hardcode_automatic=$hardcode_automatic_CXX
14257
 
 
14258
 
# Variables whose values should be saved in libtool wrapper scripts and
14259
 
# restored at relink time.
14260
 
variables_saved_for_relink="$variables_saved_for_relink"
14261
 
 
14262
 
# Whether libtool must link a program against all its dependency libraries.
14263
 
link_all_deplibs=$link_all_deplibs_CXX
14264
 
 
14265
 
# Compile-time system search path for libraries
14266
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14267
 
 
14268
 
# Run-time system search path for libraries
14269
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14270
 
 
14271
 
# Fix the shell variable \$srcfile for the compiler.
14272
 
fix_srcfile_path=$lt_fix_srcfile_path
14273
 
 
14274
 
# Set to yes if exported symbols are required.
14275
 
always_export_symbols=$always_export_symbols_CXX
14276
 
 
14277
 
# The commands to list exported symbols.
14278
 
export_symbols_cmds=$lt_export_symbols_cmds_CXX
14279
 
 
14280
 
# The commands to extract the exported symbol list from a shared archive.
14281
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
14282
 
 
14283
 
# Symbols that should not be listed in the preloaded symbols.
14284
 
exclude_expsyms=$lt_exclude_expsyms_CXX
14285
 
 
14286
 
# Symbols that must always be exported.
14287
 
include_expsyms=$lt_include_expsyms_CXX
14288
 
 
14289
 
# ### END LIBTOOL TAG CONFIG: $tagname
14290
 
 
14291
 
__EOF__
14292
 
 
14293
 
 
14294
 
else
14295
 
  # If there is no Makefile yet, we rely on a make rule to execute
14296
 
  # `config.status --recheck' to rerun these tests and create the
14297
 
  # libtool script then.
14298
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
14299
 
  if test -f "$ltmain_in"; then
14300
 
    test -f Makefile && make "$ltmain"
14301
 
  fi
14302
 
fi
14303
 
 
14304
 
 
14305
 
ac_ext=c
14306
 
ac_cpp='$CPP $CPPFLAGS'
14307
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14308
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14309
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
14310
 
 
14311
 
CC=$lt_save_CC
14312
 
LDCXX=$LD
14313
 
LD=$lt_save_LD
14314
 
GCC=$lt_save_GCC
14315
 
with_gnu_ldcxx=$with_gnu_ld
14316
 
with_gnu_ld=$lt_save_with_gnu_ld
14317
 
lt_cv_path_LDCXX=$lt_cv_path_LD
14318
 
lt_cv_path_LD=$lt_save_path_LD
14319
 
lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14320
 
lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14321
 
 
14322
 
        else
14323
 
          tagname=""
14324
 
        fi
14325
 
        ;;
14326
 
 
14327
 
      F77)
14328
 
        if test -n "$F77" && test "X$F77" != "Xno"; then
14329
 
 
14330
 
ac_ext=f
14331
 
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
14332
 
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14333
 
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
14334
 
 
14335
 
 
14336
 
archive_cmds_need_lc_F77=no
14337
 
allow_undefined_flag_F77=
14338
 
always_export_symbols_F77=no
14339
 
archive_expsym_cmds_F77=
14340
 
export_dynamic_flag_spec_F77=
14341
 
hardcode_direct_F77=no
14342
 
hardcode_libdir_flag_spec_F77=
14343
 
hardcode_libdir_flag_spec_ld_F77=
14344
 
hardcode_libdir_separator_F77=
14345
 
hardcode_minus_L_F77=no
14346
 
hardcode_automatic_F77=no
14347
 
module_cmds_F77=
14348
 
module_expsym_cmds_F77=
14349
 
link_all_deplibs_F77=unknown
14350
 
old_archive_cmds_F77=$old_archive_cmds
14351
 
no_undefined_flag_F77=
14352
 
whole_archive_flag_spec_F77=
14353
 
enable_shared_with_static_runtimes_F77=no
14354
 
 
14355
 
# Source file extension for f77 test sources.
14356
 
ac_ext=f
14357
 
 
14358
 
# Object file extension for compiled f77 test sources.
14359
 
objext=o
14360
 
objext_F77=$objext
14361
 
 
14362
 
# Code to be used in simple compile tests
14363
 
lt_simple_compile_test_code="\
14364
 
      subroutine t
14365
 
      return
14366
 
      end
14367
 
"
14368
 
 
14369
 
# Code to be used in simple link tests
14370
 
lt_simple_link_test_code="\
14371
 
      program t
14372
 
      end
14373
 
"
14374
 
 
14375
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
14376
 
 
14377
 
# If no C compiler was specified, use CC.
14378
 
LTCC=${LTCC-"$CC"}
14379
 
 
14380
 
# If no C compiler flags were specified, use CFLAGS.
14381
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
14382
 
 
14383
 
# Allow CC to be a program name with arguments.
14384
 
compiler=$CC
14385
 
 
14386
 
 
14387
 
# save warnings/boilerplate of simple test code
14388
 
ac_outfile=conftest.$ac_objext
14389
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
14390
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14391
 
_lt_compiler_boilerplate=`cat conftest.err`
14392
 
$rm conftest*
14393
 
 
14394
 
ac_outfile=conftest.$ac_objext
14395
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
14396
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14397
 
_lt_linker_boilerplate=`cat conftest.err`
14398
 
$rm -r conftest*
14399
 
 
14400
 
 
14401
 
# Allow CC to be a program name with arguments.
14402
 
lt_save_CC="$CC"
14403
 
CC=${F77-"f77"}
14404
 
compiler=$CC
14405
 
compiler_F77=$CC
14406
 
for cc_temp in $compiler""; do
14407
 
  case $cc_temp in
14408
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14409
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14410
 
    \-*) ;;
14411
 
    *) break;;
14412
 
  esac
14413
 
done
14414
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14415
 
 
14416
 
 
14417
 
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
14418
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
14419
 
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
14420
 
echo "${ECHO_T}$can_build_shared" >&6; }
14421
 
 
14422
 
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
14423
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
14424
 
test "$can_build_shared" = "no" && enable_shared=no
14425
 
 
14426
 
# On AIX, shared libraries and static libraries use the same namespace, and
14427
 
# are all built from PIC.
14428
 
case $host_os in
14429
 
aix3*)
14430
 
  test "$enable_shared" = yes && enable_static=no
14431
 
  if test -n "$RANLIB"; then
14432
 
    archive_cmds="$archive_cmds~\$RANLIB \$lib"
14433
 
    postinstall_cmds='$RANLIB $lib'
14434
 
  fi
14435
 
  ;;
14436
 
aix[4-9]*)
14437
 
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
14438
 
    test "$enable_shared" = yes && enable_static=no
14439
 
  fi
14440
 
  ;;
14441
 
esac
14442
 
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
14443
 
echo "${ECHO_T}$enable_shared" >&6; }
14444
 
 
14445
 
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
14446
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
14447
 
# Make sure either enable_shared or enable_static is yes.
14448
 
test "$enable_shared" = yes || enable_static=yes
14449
 
{ echo "$as_me:$LINENO: result: $enable_static" >&5
14450
 
echo "${ECHO_T}$enable_static" >&6; }
14451
 
 
14452
 
GCC_F77="$G77"
14453
 
LD_F77="$LD"
14454
 
 
14455
 
lt_prog_compiler_wl_F77=
14456
 
lt_prog_compiler_pic_F77=
14457
 
lt_prog_compiler_static_F77=
14458
 
 
14459
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
14460
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
14461
 
 
14462
 
  if test "$GCC" = yes; then
14463
 
    lt_prog_compiler_wl_F77='-Wl,'
14464
 
    lt_prog_compiler_static_F77='-static'
14465
 
 
14466
 
    case $host_os in
14467
 
      aix*)
14468
 
      # All AIX code is PIC.
14469
 
      if test "$host_cpu" = ia64; then
14470
 
        # AIX 5 now supports IA64 processor
14471
 
        lt_prog_compiler_static_F77='-Bstatic'
14472
 
      fi
14473
 
      ;;
14474
 
 
14475
 
    amigaos*)
14476
 
      # FIXME: we need at least 68020 code to build shared libraries, but
14477
 
      # adding the `-m68020' flag to GCC prevents building anything better,
14478
 
      # like `-m68040'.
14479
 
      lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
14480
 
      ;;
14481
 
 
14482
 
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14483
 
      # PIC is the default for these OSes.
14484
 
      ;;
14485
 
 
14486
 
    mingw* | cygwin* | pw32* | os2*)
14487
 
      # This hack is so that the source file can tell whether it is being
14488
 
      # built for inclusion in a dll (and should export symbols for example).
14489
 
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
14490
 
      # (--disable-auto-import) libraries
14491
 
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
14492
 
      ;;
14493
 
 
14494
 
    darwin* | rhapsody*)
14495
 
      # PIC is the default on this platform
14496
 
      # Common symbols not allowed in MH_DYLIB files
14497
 
      lt_prog_compiler_pic_F77='-fno-common'
14498
 
      ;;
14499
 
 
14500
 
    interix[3-9]*)
14501
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14502
 
      # Instead, we relocate shared libraries at runtime.
14503
 
      ;;
14504
 
 
14505
 
    msdosdjgpp*)
14506
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
14507
 
      # on systems that don't support them.
14508
 
      lt_prog_compiler_can_build_shared_F77=no
14509
 
      enable_shared=no
14510
 
      ;;
14511
 
 
14512
 
    sysv4*MP*)
14513
 
      if test -d /usr/nec; then
14514
 
        lt_prog_compiler_pic_F77=-Kconform_pic
14515
 
      fi
14516
 
      ;;
14517
 
 
14518
 
    hpux*)
14519
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14520
 
      # not for PA HP-UX.
14521
 
      case $host_cpu in
14522
 
      hppa*64*|ia64*)
14523
 
        # +Z the default
14524
 
        ;;
14525
 
      *)
14526
 
        lt_prog_compiler_pic_F77='-fPIC'
14527
 
        ;;
14528
 
      esac
14529
 
      ;;
14530
 
 
14531
 
    *)
14532
 
      lt_prog_compiler_pic_F77='-fPIC'
14533
 
      ;;
14534
 
    esac
14535
 
  else
14536
 
    # PORTME Check for flag to pass linker flags through the system compiler.
14537
 
    case $host_os in
14538
 
    aix*)
14539
 
      lt_prog_compiler_wl_F77='-Wl,'
14540
 
      if test "$host_cpu" = ia64; then
14541
 
        # AIX 5 now supports IA64 processor
14542
 
        lt_prog_compiler_static_F77='-Bstatic'
14543
 
      else
14544
 
        lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
14545
 
      fi
14546
 
      ;;
14547
 
      darwin*)
14548
 
        # PIC is the default on this platform
14549
 
        # Common symbols not allowed in MH_DYLIB files
14550
 
       case $cc_basename in
14551
 
         xlc*)
14552
 
         lt_prog_compiler_pic_F77='-qnocommon'
14553
 
         lt_prog_compiler_wl_F77='-Wl,'
14554
 
         ;;
14555
 
       esac
14556
 
       ;;
14557
 
 
14558
 
    mingw* | cygwin* | pw32* | os2*)
14559
 
      # This hack is so that the source file can tell whether it is being
14560
 
      # built for inclusion in a dll (and should export symbols for example).
14561
 
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
14562
 
      ;;
14563
 
 
14564
 
    hpux9* | hpux10* | hpux11*)
14565
 
      lt_prog_compiler_wl_F77='-Wl,'
14566
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14567
 
      # not for PA HP-UX.
14568
 
      case $host_cpu in
14569
 
      hppa*64*|ia64*)
14570
 
        # +Z the default
14571
 
        ;;
14572
 
      *)
14573
 
        lt_prog_compiler_pic_F77='+Z'
14574
 
        ;;
14575
 
      esac
14576
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
14577
 
      lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
14578
 
      ;;
14579
 
 
14580
 
    irix5* | irix6* | nonstopux*)
14581
 
      lt_prog_compiler_wl_F77='-Wl,'
14582
 
      # PIC (with -KPIC) is the default.
14583
 
      lt_prog_compiler_static_F77='-non_shared'
14584
 
      ;;
14585
 
 
14586
 
    newsos6)
14587
 
      lt_prog_compiler_pic_F77='-KPIC'
14588
 
      lt_prog_compiler_static_F77='-Bstatic'
14589
 
      ;;
14590
 
 
14591
 
    linux* | k*bsd*-gnu)
14592
 
      case $cc_basename in
14593
 
      icc* | ecc*)
14594
 
        lt_prog_compiler_wl_F77='-Wl,'
14595
 
        lt_prog_compiler_pic_F77='-KPIC'
14596
 
        lt_prog_compiler_static_F77='-static'
14597
 
        ;;
14598
 
      pgcc* | pgf77* | pgf90* | pgf95*)
14599
 
        # Portland Group compilers (*not* the Pentium gcc compiler,
14600
 
        # which looks to be a dead project)
14601
 
        lt_prog_compiler_wl_F77='-Wl,'
14602
 
        lt_prog_compiler_pic_F77='-fpic'
14603
 
        lt_prog_compiler_static_F77='-Bstatic'
14604
 
        ;;
14605
 
      ccc*)
14606
 
        lt_prog_compiler_wl_F77='-Wl,'
14607
 
        # All Alpha code is PIC.
14608
 
        lt_prog_compiler_static_F77='-non_shared'
14609
 
        ;;
14610
 
      *)
14611
 
        case `$CC -V 2>&1 | sed 5q` in
14612
 
        *Sun\ C*)
14613
 
          # Sun C 5.9
14614
 
          lt_prog_compiler_pic_F77='-KPIC'
14615
 
          lt_prog_compiler_static_F77='-Bstatic'
14616
 
          lt_prog_compiler_wl_F77='-Wl,'
14617
 
          ;;
14618
 
        *Sun\ F*)
14619
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
14620
 
          lt_prog_compiler_pic_F77='-KPIC'
14621
 
          lt_prog_compiler_static_F77='-Bstatic'
14622
 
          lt_prog_compiler_wl_F77=''
14623
 
          ;;
14624
 
        esac
14625
 
        ;;
14626
 
      esac
14627
 
      ;;
14628
 
 
14629
 
    osf3* | osf4* | osf5*)
14630
 
      lt_prog_compiler_wl_F77='-Wl,'
14631
 
      # All OSF/1 code is PIC.
14632
 
      lt_prog_compiler_static_F77='-non_shared'
14633
 
      ;;
14634
 
 
14635
 
    rdos*)
14636
 
      lt_prog_compiler_static_F77='-non_shared'
14637
 
      ;;
14638
 
 
14639
 
    solaris*)
14640
 
      lt_prog_compiler_pic_F77='-KPIC'
14641
 
      lt_prog_compiler_static_F77='-Bstatic'
14642
 
      case $cc_basename in
14643
 
      f77* | f90* | f95*)
14644
 
        lt_prog_compiler_wl_F77='-Qoption ld ';;
14645
 
      *)
14646
 
        lt_prog_compiler_wl_F77='-Wl,';;
14647
 
      esac
14648
 
      ;;
14649
 
 
14650
 
    sunos4*)
14651
 
      lt_prog_compiler_wl_F77='-Qoption ld '
14652
 
      lt_prog_compiler_pic_F77='-PIC'
14653
 
      lt_prog_compiler_static_F77='-Bstatic'
14654
 
      ;;
14655
 
 
14656
 
    sysv4 | sysv4.2uw2* | sysv4.3*)
14657
 
      lt_prog_compiler_wl_F77='-Wl,'
14658
 
      lt_prog_compiler_pic_F77='-KPIC'
14659
 
      lt_prog_compiler_static_F77='-Bstatic'
14660
 
      ;;
14661
 
 
14662
 
    sysv4*MP*)
14663
 
      if test -d /usr/nec ;then
14664
 
        lt_prog_compiler_pic_F77='-Kconform_pic'
14665
 
        lt_prog_compiler_static_F77='-Bstatic'
14666
 
      fi
14667
 
      ;;
14668
 
 
14669
 
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14670
 
      lt_prog_compiler_wl_F77='-Wl,'
14671
 
      lt_prog_compiler_pic_F77='-KPIC'
14672
 
      lt_prog_compiler_static_F77='-Bstatic'
14673
 
      ;;
14674
 
 
14675
 
    unicos*)
14676
 
      lt_prog_compiler_wl_F77='-Wl,'
14677
 
      lt_prog_compiler_can_build_shared_F77=no
14678
 
      ;;
14679
 
 
14680
 
    uts4*)
14681
 
      lt_prog_compiler_pic_F77='-pic'
14682
 
      lt_prog_compiler_static_F77='-Bstatic'
14683
 
      ;;
14684
 
 
14685
 
    *)
14686
 
      lt_prog_compiler_can_build_shared_F77=no
14687
 
      ;;
14688
 
    esac
14689
 
  fi
14690
 
 
14691
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
14692
 
echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
14693
 
 
14694
 
#
14695
 
# Check to make sure the PIC flag actually works.
14696
 
#
14697
 
if test -n "$lt_prog_compiler_pic_F77"; then
14698
 
 
14699
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
14700
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
14701
 
if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then
14702
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
14703
 
else
14704
 
  lt_cv_prog_compiler_pic_works_F77=no
14705
 
  ac_outfile=conftest.$ac_objext
14706
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14707
 
   lt_compiler_flag="$lt_prog_compiler_pic_F77"
14708
 
   # Insert the option either (1) after the last *FLAGS variable, or
14709
 
   # (2) before a word containing "conftest.", or (3) at the end.
14710
 
   # Note that $ac_compile itself does not contain backslashes and begins
14711
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
14712
 
   # The option is referenced via a variable to avoid confusing sed.
14713
 
   lt_compile=`echo "$ac_compile" | $SED \
14714
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14715
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14716
 
   -e 's:$: $lt_compiler_flag:'`
14717
 
   (eval echo "\"\$as_me:14717: $lt_compile\"" >&5)
14718
 
   (eval "$lt_compile" 2>conftest.err)
14719
 
   ac_status=$?
14720
 
   cat conftest.err >&5
14721
 
   echo "$as_me:14721: \$? = $ac_status" >&5
14722
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
14723
 
     # The compiler can only warn and ignore the option if not recognized
14724
 
     # So say no if there are warnings other than the usual output.
14725
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
14726
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14727
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14728
 
       lt_cv_prog_compiler_pic_works_F77=yes
14729
 
     fi
14730
 
   fi
14731
 
   $rm conftest*
14732
 
 
14733
 
fi
14734
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_F77" >&5
14735
 
echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_F77" >&6; }
14736
 
 
14737
 
if test x"$lt_cv_prog_compiler_pic_works_F77" = xyes; then
14738
 
    case $lt_prog_compiler_pic_F77 in
14739
 
     "" | " "*) ;;
14740
 
     *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
14741
 
     esac
14742
 
else
14743
 
    lt_prog_compiler_pic_F77=
14744
 
     lt_prog_compiler_can_build_shared_F77=no
14745
 
fi
14746
 
 
14747
 
fi
14748
 
case $host_os in
14749
 
  # For platforms which do not support PIC, -DPIC is meaningless:
14750
 
  *djgpp*)
14751
 
    lt_prog_compiler_pic_F77=
14752
 
    ;;
14753
 
  *)
14754
 
    lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
14755
 
    ;;
14756
 
esac
14757
 
 
14758
 
#
14759
 
# Check to make sure the static flag actually works.
14760
 
#
14761
 
wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
14762
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14763
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
14764
 
if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then
14765
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
14766
 
else
14767
 
  lt_cv_prog_compiler_static_works_F77=no
14768
 
   save_LDFLAGS="$LDFLAGS"
14769
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14770
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
14771
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14772
 
     # The linker can only warn and ignore the option if not recognized
14773
 
     # So say no if there are warnings
14774
 
     if test -s conftest.err; then
14775
 
       # Append any errors to the config.log.
14776
 
       cat conftest.err 1>&5
14777
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
14778
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14779
 
       if diff conftest.exp conftest.er2 >/dev/null; then
14780
 
         lt_cv_prog_compiler_static_works_F77=yes
14781
 
       fi
14782
 
     else
14783
 
       lt_cv_prog_compiler_static_works_F77=yes
14784
 
     fi
14785
 
   fi
14786
 
   $rm -r conftest*
14787
 
   LDFLAGS="$save_LDFLAGS"
14788
 
 
14789
 
fi
14790
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_F77" >&5
14791
 
echo "${ECHO_T}$lt_cv_prog_compiler_static_works_F77" >&6; }
14792
 
 
14793
 
if test x"$lt_cv_prog_compiler_static_works_F77" = xyes; then
14794
 
    :
14795
 
else
14796
 
    lt_prog_compiler_static_F77=
14797
 
fi
14798
 
 
14799
 
 
14800
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14801
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
14802
 
if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
14803
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
14804
 
else
14805
 
  lt_cv_prog_compiler_c_o_F77=no
14806
 
   $rm -r conftest 2>/dev/null
14807
 
   mkdir conftest
14808
 
   cd conftest
14809
 
   mkdir out
14810
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14811
 
 
14812
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
14813
 
   # Insert the option either (1) after the last *FLAGS variable, or
14814
 
   # (2) before a word containing "conftest.", or (3) at the end.
14815
 
   # Note that $ac_compile itself does not contain backslashes and begins
14816
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
14817
 
   lt_compile=`echo "$ac_compile" | $SED \
14818
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14819
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14820
 
   -e 's:$: $lt_compiler_flag:'`
14821
 
   (eval echo "\"\$as_me:14821: $lt_compile\"" >&5)
14822
 
   (eval "$lt_compile" 2>out/conftest.err)
14823
 
   ac_status=$?
14824
 
   cat out/conftest.err >&5
14825
 
   echo "$as_me:14825: \$? = $ac_status" >&5
14826
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
14827
 
   then
14828
 
     # The compiler can only warn and ignore the option if not recognized
14829
 
     # So say no if there are warnings
14830
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
14831
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14832
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14833
 
       lt_cv_prog_compiler_c_o_F77=yes
14834
 
     fi
14835
 
   fi
14836
 
   chmod u+w . 2>&5
14837
 
   $rm conftest*
14838
 
   # SGI C++ compiler will create directory out/ii_files/ for
14839
 
   # template instantiation
14840
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
14841
 
   $rm out/* && rmdir out
14842
 
   cd ..
14843
 
   rmdir conftest
14844
 
   $rm conftest*
14845
 
 
14846
 
fi
14847
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
14848
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
14849
 
 
14850
 
 
14851
 
hard_links="nottested"
14852
 
if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
14853
 
  # do not overwrite the value of need_locks provided by the user
14854
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14855
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
14856
 
  hard_links=yes
14857
 
  $rm conftest*
14858
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
14859
 
  touch conftest.a
14860
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
14861
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
14862
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
14863
 
echo "${ECHO_T}$hard_links" >&6; }
14864
 
  if test "$hard_links" = no; then
14865
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14866
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14867
 
    need_locks=warn
14868
 
  fi
14869
 
else
14870
 
  need_locks=no
14871
 
fi
14872
 
 
14873
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14874
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
14875
 
 
14876
 
  runpath_var=
14877
 
  allow_undefined_flag_F77=
14878
 
  enable_shared_with_static_runtimes_F77=no
14879
 
  archive_cmds_F77=
14880
 
  archive_expsym_cmds_F77=
14881
 
  old_archive_From_new_cmds_F77=
14882
 
  old_archive_from_expsyms_cmds_F77=
14883
 
  export_dynamic_flag_spec_F77=
14884
 
  whole_archive_flag_spec_F77=
14885
 
  thread_safe_flag_spec_F77=
14886
 
  hardcode_libdir_flag_spec_F77=
14887
 
  hardcode_libdir_flag_spec_ld_F77=
14888
 
  hardcode_libdir_separator_F77=
14889
 
  hardcode_direct_F77=no
14890
 
  hardcode_minus_L_F77=no
14891
 
  hardcode_shlibpath_var_F77=unsupported
14892
 
  link_all_deplibs_F77=unknown
14893
 
  hardcode_automatic_F77=no
14894
 
  module_cmds_F77=
14895
 
  module_expsym_cmds_F77=
14896
 
  always_export_symbols_F77=no
14897
 
  export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14898
 
  # include_expsyms should be a list of space-separated symbols to be *always*
14899
 
  # included in the symbol list
14900
 
  include_expsyms_F77=
14901
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
14902
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
14903
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14904
 
  # as well as any symbol that contains `d'.
14905
 
  exclude_expsyms_F77='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14906
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14907
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
14908
 
  # the symbol is explicitly referenced.  Since portable code cannot
14909
 
  # rely on this symbol name, it's probably fine to never include it in
14910
 
  # preloaded symbol tables.
14911
 
  # Exclude shared library initialization/finalization symbols.
14912
 
  extract_expsyms_cmds=
14913
 
  # Just being paranoid about ensuring that cc_basename is set.
14914
 
  for cc_temp in $compiler""; do
14915
 
  case $cc_temp in
14916
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14917
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14918
 
    \-*) ;;
14919
 
    *) break;;
14920
 
  esac
14921
 
done
14922
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14923
 
 
14924
 
  case $host_os in
14925
 
  cygwin* | mingw* | pw32*)
14926
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
14927
 
    # When not using gcc, we currently assume that we are using
14928
 
    # Microsoft Visual C++.
14929
 
    if test "$GCC" != yes; then
14930
 
      with_gnu_ld=no
14931
 
    fi
14932
 
    ;;
14933
 
  interix*)
14934
 
    # we just hope/assume this is gcc and not c89 (= MSVC++)
14935
 
    with_gnu_ld=yes
14936
 
    ;;
14937
 
  openbsd*)
14938
 
    with_gnu_ld=no
14939
 
    ;;
14940
 
  esac
14941
 
 
14942
 
  ld_shlibs_F77=yes
14943
 
  if test "$with_gnu_ld" = yes; then
14944
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
14945
 
    wlarc='${wl}'
14946
 
 
14947
 
    # Set some defaults for GNU ld with shared library support. These
14948
 
    # are reset later if shared libraries are not supported. Putting them
14949
 
    # here allows them to be overridden if necessary.
14950
 
    runpath_var=LD_RUN_PATH
14951
 
    hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
14952
 
    export_dynamic_flag_spec_F77='${wl}--export-dynamic'
14953
 
    # ancient GNU ld didn't support --whole-archive et. al.
14954
 
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
14955
 
        whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14956
 
      else
14957
 
        whole_archive_flag_spec_F77=
14958
 
    fi
14959
 
    supports_anon_versioning=no
14960
 
    case `$LD -v 2>/dev/null` in
14961
 
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
14962
 
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
14963
 
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
14964
 
      *\ 2.11.*) ;; # other 2.11 versions
14965
 
      *) supports_anon_versioning=yes ;;
14966
 
    esac
14967
 
 
14968
 
    # See if GNU ld supports shared libraries.
14969
 
    case $host_os in
14970
 
    aix[3-9]*)
14971
 
      # On AIX/PPC, the GNU linker is very broken
14972
 
      if test "$host_cpu" != ia64; then
14973
 
        ld_shlibs_F77=no
14974
 
        cat <<EOF 1>&2
14975
 
 
14976
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
14977
 
*** to be unable to reliably create shared libraries on AIX.
14978
 
*** Therefore, libtool is disabling shared libraries support.  If you
14979
 
*** really care for shared libraries, you may want to modify your PATH
14980
 
*** so that a non-GNU linker is found, and then restart.
14981
 
 
14982
 
EOF
14983
 
      fi
14984
 
      ;;
14985
 
 
14986
 
    amigaos*)
14987
 
      archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
14988
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
14989
 
      hardcode_minus_L_F77=yes
14990
 
 
14991
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
14992
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
14993
 
      # to version 4, is to share data among multiple programs linked
14994
 
      # with the same dynamic library.  Since this doesn't match the
14995
 
      # behavior of shared libraries on other platforms, we can't use
14996
 
      # them.
14997
 
      ld_shlibs_F77=no
14998
 
      ;;
14999
 
 
15000
 
    beos*)
15001
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15002
 
        allow_undefined_flag_F77=unsupported
15003
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15004
 
        # support --undefined.  This deserves some investigation.  FIXME
15005
 
        archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15006
 
      else
15007
 
        ld_shlibs_F77=no
15008
 
      fi
15009
 
      ;;
15010
 
 
15011
 
    cygwin* | mingw* | pw32*)
15012
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
15013
 
      # as there is no search path for DLLs.
15014
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
15015
 
      allow_undefined_flag_F77=unsupported
15016
 
      always_export_symbols_F77=no
15017
 
      enable_shared_with_static_runtimes_F77=yes
15018
 
      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
15019
 
 
15020
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
15021
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15022
 
        # If the export-symbols file already is a .def file (1st line
15023
 
        # is EXPORTS), use it as is; otherwise, prepend...
15024
 
        archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15025
 
          cp $export_symbols $output_objdir/$soname.def;
15026
 
        else
15027
 
          echo EXPORTS > $output_objdir/$soname.def;
15028
 
          cat $export_symbols >> $output_objdir/$soname.def;
15029
 
        fi~
15030
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15031
 
      else
15032
 
        ld_shlibs_F77=no
15033
 
      fi
15034
 
      ;;
15035
 
 
15036
 
    interix[3-9]*)
15037
 
      hardcode_direct_F77=no
15038
 
      hardcode_shlibpath_var_F77=no
15039
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
15040
 
      export_dynamic_flag_spec_F77='${wl}-E'
15041
 
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
15042
 
      # Instead, shared libraries are loaded at an image base (0x10000000 by
15043
 
      # default) and relocated if they conflict, which is a slow very memory
15044
 
      # consuming and fragmenting process.  To avoid this, we pick a random,
15045
 
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
15046
 
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
15047
 
      archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
15048
 
      archive_expsym_cmds_F77='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
15049
 
      ;;
15050
 
 
15051
 
    gnu* | linux* | k*bsd*-gnu)
15052
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15053
 
        tmp_addflag=
15054
 
        case $cc_basename,$host_cpu in
15055
 
        pgcc*)                          # Portland Group C compiler
15056
 
          whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
15057
 
          tmp_addflag=' $pic_flag'
15058
 
          ;;
15059
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
15060
 
          whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
15061
 
          tmp_addflag=' $pic_flag -Mnomain' ;;
15062
 
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
15063
 
          tmp_addflag=' -i_dynamic' ;;
15064
 
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
15065
 
          tmp_addflag=' -i_dynamic -nofor_main' ;;
15066
 
        ifc* | ifort*)                  # Intel Fortran compiler
15067
 
          tmp_addflag=' -nofor_main' ;;
15068
 
        esac
15069
 
        case `$CC -V 2>&1 | sed 5q` in
15070
 
        *Sun\ C*)                       # Sun C 5.9
15071
 
          whole_archive_flag_spec_F77='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
15072
 
          tmp_sharedflag='-G' ;;
15073
 
        *Sun\ F*)                       # Sun Fortran 8.3
15074
 
          tmp_sharedflag='-G' ;;
15075
 
        *)
15076
 
          tmp_sharedflag='-shared' ;;
15077
 
        esac
15078
 
        archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15079
 
 
15080
 
        if test $supports_anon_versioning = yes; then
15081
 
          archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
15082
 
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15083
 
  $echo "local: *; };" >> $output_objdir/$libname.ver~
15084
 
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
15085
 
        fi
15086
 
      else
15087
 
        ld_shlibs_F77=no
15088
 
      fi
15089
 
      ;;
15090
 
 
15091
 
    netbsd*)
15092
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15093
 
        archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
15094
 
        wlarc=
15095
 
      else
15096
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15097
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15098
 
      fi
15099
 
      ;;
15100
 
 
15101
 
    solaris*)
15102
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
15103
 
        ld_shlibs_F77=no
15104
 
        cat <<EOF 1>&2
15105
 
 
15106
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
15107
 
*** create shared libraries on Solaris systems.  Therefore, libtool
15108
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
15109
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
15110
 
*** your PATH or compiler configuration so that the native linker is
15111
 
*** used, and then restart.
15112
 
 
15113
 
EOF
15114
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15115
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15116
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15117
 
      else
15118
 
        ld_shlibs_F77=no
15119
 
      fi
15120
 
      ;;
15121
 
 
15122
 
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
15123
 
      case `$LD -v 2>&1` in
15124
 
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
15125
 
        ld_shlibs_F77=no
15126
 
        cat <<_LT_EOF 1>&2
15127
 
 
15128
 
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
15129
 
*** reliably create shared libraries on SCO systems.  Therefore, libtool
15130
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
15131
 
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
15132
 
*** your PATH or compiler configuration so that the native linker is
15133
 
*** used, and then restart.
15134
 
 
15135
 
_LT_EOF
15136
 
        ;;
15137
 
        *)
15138
 
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15139
 
            hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
15140
 
            archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
15141
 
            archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
15142
 
          else
15143
 
            ld_shlibs_F77=no
15144
 
          fi
15145
 
        ;;
15146
 
      esac
15147
 
      ;;
15148
 
 
15149
 
    sunos4*)
15150
 
      archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15151
 
      wlarc=
15152
 
      hardcode_direct_F77=yes
15153
 
      hardcode_shlibpath_var_F77=no
15154
 
      ;;
15155
 
 
15156
 
    *)
15157
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15158
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15159
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15160
 
      else
15161
 
        ld_shlibs_F77=no
15162
 
      fi
15163
 
      ;;
15164
 
    esac
15165
 
 
15166
 
    if test "$ld_shlibs_F77" = no; then
15167
 
      runpath_var=
15168
 
      hardcode_libdir_flag_spec_F77=
15169
 
      export_dynamic_flag_spec_F77=
15170
 
      whole_archive_flag_spec_F77=
15171
 
    fi
15172
 
  else
15173
 
    # PORTME fill in a description of your system's linker (not GNU ld)
15174
 
    case $host_os in
15175
 
    aix3*)
15176
 
      allow_undefined_flag_F77=unsupported
15177
 
      always_export_symbols_F77=yes
15178
 
      archive_expsym_cmds_F77='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
15179
 
      # Note: this linker hardcodes the directories in LIBPATH if there
15180
 
      # are no directories specified by -L.
15181
 
      hardcode_minus_L_F77=yes
15182
 
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
15183
 
        # Neither direct hardcoding nor static linking is supported with a
15184
 
        # broken collect2.
15185
 
        hardcode_direct_F77=unsupported
15186
 
      fi
15187
 
      ;;
15188
 
 
15189
 
    aix[4-9]*)
15190
 
      if test "$host_cpu" = ia64; then
15191
 
        # On IA64, the linker does run time linking by default, so we don't
15192
 
        # have to do anything special.
15193
 
        aix_use_runtimelinking=no
15194
 
        exp_sym_flag='-Bexport'
15195
 
        no_entry_flag=""
15196
 
      else
15197
 
        # If we're using GNU nm, then we don't want the "-C" option.
15198
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
15199
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
15200
 
          export_symbols_cmds_F77='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
15201
 
        else
15202
 
          export_symbols_cmds_F77='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
15203
 
        fi
15204
 
        aix_use_runtimelinking=no
15205
 
 
15206
 
        # Test if we are trying to use run time linking or normal
15207
 
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15208
 
        # need to do runtime linking.
15209
 
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
15210
 
          for ld_flag in $LDFLAGS; do
15211
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
15212
 
            aix_use_runtimelinking=yes
15213
 
            break
15214
 
          fi
15215
 
          done
15216
 
          ;;
15217
 
        esac
15218
 
 
15219
 
        exp_sym_flag='-bexport'
15220
 
        no_entry_flag='-bnoentry'
15221
 
      fi
15222
 
 
15223
 
      # When large executables or shared objects are built, AIX ld can
15224
 
      # have problems creating the table of contents.  If linking a library
15225
 
      # or program results in "error TOC overflow" add -mminimal-toc to
15226
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
15227
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15228
 
 
15229
 
      archive_cmds_F77=''
15230
 
      hardcode_direct_F77=yes
15231
 
      hardcode_libdir_separator_F77=':'
15232
 
      link_all_deplibs_F77=yes
15233
 
 
15234
 
      if test "$GCC" = yes; then
15235
 
        case $host_os in aix4.[012]|aix4.[012].*)
15236
 
        # We only want to do this on AIX 4.2 and lower, the check
15237
 
        # below for broken collect2 doesn't work under 4.3+
15238
 
          collect2name=`${CC} -print-prog-name=collect2`
15239
 
          if test -f "$collect2name" && \
15240
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
15241
 
          then
15242
 
          # We have reworked collect2
15243
 
          :
15244
 
          else
15245
 
          # We have old collect2
15246
 
          hardcode_direct_F77=unsupported
15247
 
          # It fails to find uninstalled libraries when the uninstalled
15248
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
15249
 
          # to unsupported forces relinking
15250
 
          hardcode_minus_L_F77=yes
15251
 
          hardcode_libdir_flag_spec_F77='-L$libdir'
15252
 
          hardcode_libdir_separator_F77=
15253
 
          fi
15254
 
          ;;
15255
 
        esac
15256
 
        shared_flag='-shared'
15257
 
        if test "$aix_use_runtimelinking" = yes; then
15258
 
          shared_flag="$shared_flag "'${wl}-G'
15259
 
        fi
15260
 
      else
15261
 
        # not using gcc
15262
 
        if test "$host_cpu" = ia64; then
15263
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15264
 
        # chokes on -Wl,-G. The following line is correct:
15265
 
          shared_flag='-G'
15266
 
        else
15267
 
          if test "$aix_use_runtimelinking" = yes; then
15268
 
            shared_flag='${wl}-G'
15269
 
          else
15270
 
            shared_flag='${wl}-bM:SRE'
15271
 
          fi
15272
 
        fi
15273
 
      fi
15274
 
 
15275
 
      # It seems that -bexpall does not export symbols beginning with
15276
 
      # underscore (_), so it is better to generate a list of symbols to export.
15277
 
      always_export_symbols_F77=yes
15278
 
      if test "$aix_use_runtimelinking" = yes; then
15279
 
        # Warning - without using the other runtime loading flags (-brtl),
15280
 
        # -berok will link without error, but may produce a broken library.
15281
 
        allow_undefined_flag_F77='-berok'
15282
 
       # Determine the default libpath from the value encoded in an empty executable.
15283
 
       cat >conftest.$ac_ext <<_ACEOF
15284
 
      program main
15285
 
 
15286
 
      end
15287
 
_ACEOF
15288
 
rm -f conftest.$ac_objext conftest$ac_exeext
15289
 
if { (ac_try="$ac_link"
15290
 
case "(($ac_try" in
15291
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15292
 
  *) ac_try_echo=$ac_try;;
15293
 
esac
15294
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15295
 
  (eval "$ac_link") 2>conftest.er1
15296
 
  ac_status=$?
15297
 
  grep -v '^ *+' conftest.er1 >conftest.err
15298
 
  rm -f conftest.er1
15299
 
  cat conftest.err >&5
15300
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15301
 
  (exit $ac_status); } && {
15302
 
         test -z "$ac_f77_werror_flag" ||
15303
 
         test ! -s conftest.err
15304
 
       } && test -s conftest$ac_exeext &&
15305
 
       $as_test_x conftest$ac_exeext; then
15306
 
 
15307
 
lt_aix_libpath_sed='
15308
 
    /Import File Strings/,/^$/ {
15309
 
        /^0/ {
15310
 
            s/^0  *\(.*\)$/\1/
15311
 
            p
15312
 
        }
15313
 
    }'
15314
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15315
 
# Check for a 64-bit object if we didn't find anything.
15316
 
if test -z "$aix_libpath"; then
15317
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15318
 
fi
15319
 
else
15320
 
  echo "$as_me: failed program was:" >&5
15321
 
sed 's/^/| /' conftest.$ac_ext >&5
15322
 
 
15323
 
 
15324
 
fi
15325
 
 
15326
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15327
 
      conftest$ac_exeext conftest.$ac_ext
15328
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15329
 
 
15330
 
       hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
15331
 
        archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
15332
 
       else
15333
 
        if test "$host_cpu" = ia64; then
15334
 
          hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
15335
 
          allow_undefined_flag_F77="-z nodefs"
15336
 
          archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
15337
 
        else
15338
 
         # Determine the default libpath from the value encoded in an empty executable.
15339
 
         cat >conftest.$ac_ext <<_ACEOF
15340
 
      program main
15341
 
 
15342
 
      end
15343
 
_ACEOF
15344
 
rm -f conftest.$ac_objext conftest$ac_exeext
15345
 
if { (ac_try="$ac_link"
15346
 
case "(($ac_try" in
15347
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15348
 
  *) ac_try_echo=$ac_try;;
15349
 
esac
15350
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15351
 
  (eval "$ac_link") 2>conftest.er1
15352
 
  ac_status=$?
15353
 
  grep -v '^ *+' conftest.er1 >conftest.err
15354
 
  rm -f conftest.er1
15355
 
  cat conftest.err >&5
15356
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15357
 
  (exit $ac_status); } && {
15358
 
         test -z "$ac_f77_werror_flag" ||
15359
 
         test ! -s conftest.err
15360
 
       } && test -s conftest$ac_exeext &&
15361
 
       $as_test_x conftest$ac_exeext; then
15362
 
 
15363
 
lt_aix_libpath_sed='
15364
 
    /Import File Strings/,/^$/ {
15365
 
        /^0/ {
15366
 
            s/^0  *\(.*\)$/\1/
15367
 
            p
15368
 
        }
15369
 
    }'
15370
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15371
 
# Check for a 64-bit object if we didn't find anything.
15372
 
if test -z "$aix_libpath"; then
15373
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15374
 
fi
15375
 
else
15376
 
  echo "$as_me: failed program was:" >&5
15377
 
sed 's/^/| /' conftest.$ac_ext >&5
15378
 
 
15379
 
 
15380
 
fi
15381
 
 
15382
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15383
 
      conftest$ac_exeext conftest.$ac_ext
15384
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15385
 
 
15386
 
         hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
15387
 
          # Warning - without using the other run time loading flags,
15388
 
          # -berok will link without error, but may produce a broken library.
15389
 
          no_undefined_flag_F77=' ${wl}-bernotok'
15390
 
          allow_undefined_flag_F77=' ${wl}-berok'
15391
 
          # Exported symbols can be pulled into shared objects from archives
15392
 
          whole_archive_flag_spec_F77='$convenience'
15393
 
          archive_cmds_need_lc_F77=yes
15394
 
          # This is similar to how AIX traditionally builds its shared libraries.
15395
 
          archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
15396
 
        fi
15397
 
      fi
15398
 
      ;;
15399
 
 
15400
 
    amigaos*)
15401
 
      archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
15402
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
15403
 
      hardcode_minus_L_F77=yes
15404
 
      # see comment about different semantics on the GNU ld section
15405
 
      ld_shlibs_F77=no
15406
 
      ;;
15407
 
 
15408
 
    bsdi[45]*)
15409
 
      export_dynamic_flag_spec_F77=-rdynamic
15410
 
      ;;
15411
 
 
15412
 
    cygwin* | mingw* | pw32*)
15413
 
      # When not using gcc, we currently assume that we are using
15414
 
      # Microsoft Visual C++.
15415
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
15416
 
      # no search path for DLLs.
15417
 
      hardcode_libdir_flag_spec_F77=' '
15418
 
      allow_undefined_flag_F77=unsupported
15419
 
      # Tell ltmain to make .lib files, not .a files.
15420
 
      libext=lib
15421
 
      # Tell ltmain to make .dll files, not .so files.
15422
 
      shrext_cmds=".dll"
15423
 
      # FIXME: Setting linknames here is a bad hack.
15424
 
      archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
15425
 
      # The linker will automatically build a .lib file if we build a DLL.
15426
 
      old_archive_From_new_cmds_F77='true'
15427
 
      # FIXME: Should let the user specify the lib program.
15428
 
      old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
15429
 
      fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
15430
 
      enable_shared_with_static_runtimes_F77=yes
15431
 
      ;;
15432
 
 
15433
 
    darwin* | rhapsody*)
15434
 
      case $host_os in
15435
 
        rhapsody* | darwin1.[012])
15436
 
         allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
15437
 
         ;;
15438
 
       *) # Darwin 1.3 on
15439
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
15440
 
           allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15441
 
         else
15442
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
15443
 
             10.[012])
15444
 
               allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15445
 
               ;;
15446
 
             10.*)
15447
 
               allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
15448
 
               ;;
15449
 
           esac
15450
 
         fi
15451
 
         ;;
15452
 
      esac
15453
 
      archive_cmds_need_lc_F77=no
15454
 
      hardcode_direct_F77=no
15455
 
      hardcode_automatic_F77=yes
15456
 
      hardcode_shlibpath_var_F77=unsupported
15457
 
      whole_archive_flag_spec_F77=''
15458
 
      link_all_deplibs_F77=yes
15459
 
    if test "$GCC" = yes ; then
15460
 
        output_verbose_link_cmd='echo'
15461
 
        archive_cmds_F77="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
15462
 
        module_cmds_F77="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
15463
 
        archive_expsym_cmds_F77="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
15464
 
        module_expsym_cmds_F77="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
15465
 
    else
15466
 
      case $cc_basename in
15467
 
        xlc*)
15468
 
         output_verbose_link_cmd='echo'
15469
 
         archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
15470
 
         module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15471
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15472
 
         archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
15473
 
          module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
15474
 
          ;;
15475
 
       *)
15476
 
         ld_shlibs_F77=no
15477
 
          ;;
15478
 
      esac
15479
 
    fi
15480
 
      ;;
15481
 
 
15482
 
    dgux*)
15483
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15484
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
15485
 
      hardcode_shlibpath_var_F77=no
15486
 
      ;;
15487
 
 
15488
 
    freebsd1*)
15489
 
      ld_shlibs_F77=no
15490
 
      ;;
15491
 
 
15492
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15493
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
15494
 
    # does not break anything, and helps significantly (at the cost of a little
15495
 
    # extra space).
15496
 
    freebsd2.2*)
15497
 
      archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15498
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
15499
 
      hardcode_direct_F77=yes
15500
 
      hardcode_shlibpath_var_F77=no
15501
 
      ;;
15502
 
 
15503
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
15504
 
    freebsd2*)
15505
 
      archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15506
 
      hardcode_direct_F77=yes
15507
 
      hardcode_minus_L_F77=yes
15508
 
      hardcode_shlibpath_var_F77=no
15509
 
      ;;
15510
 
 
15511
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15512
 
    freebsd* | dragonfly*)
15513
 
      archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15514
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
15515
 
      hardcode_direct_F77=yes
15516
 
      hardcode_shlibpath_var_F77=no
15517
 
      ;;
15518
 
 
15519
 
    hpux9*)
15520
 
      if test "$GCC" = yes; then
15521
 
        archive_cmds_F77='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
15522
 
      else
15523
 
        archive_cmds_F77='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
15524
 
      fi
15525
 
      hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
15526
 
      hardcode_libdir_separator_F77=:
15527
 
      hardcode_direct_F77=yes
15528
 
 
15529
 
      # hardcode_minus_L: Not really in the search PATH,
15530
 
      # but as the default location of the library.
15531
 
      hardcode_minus_L_F77=yes
15532
 
      export_dynamic_flag_spec_F77='${wl}-E'
15533
 
      ;;
15534
 
 
15535
 
    hpux10*)
15536
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
15537
 
        archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15538
 
      else
15539
 
        archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15540
 
      fi
15541
 
      if test "$with_gnu_ld" = no; then
15542
 
        hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
15543
 
        hardcode_libdir_separator_F77=:
15544
 
 
15545
 
        hardcode_direct_F77=yes
15546
 
        export_dynamic_flag_spec_F77='${wl}-E'
15547
 
 
15548
 
        # hardcode_minus_L: Not really in the search PATH,
15549
 
        # but as the default location of the library.
15550
 
        hardcode_minus_L_F77=yes
15551
 
      fi
15552
 
      ;;
15553
 
 
15554
 
    hpux11*)
15555
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
15556
 
        case $host_cpu in
15557
 
        hppa*64*)
15558
 
          archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15559
 
          ;;
15560
 
        ia64*)
15561
 
          archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15562
 
          ;;
15563
 
        *)
15564
 
          archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15565
 
          ;;
15566
 
        esac
15567
 
      else
15568
 
        case $host_cpu in
15569
 
        hppa*64*)
15570
 
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15571
 
          ;;
15572
 
        ia64*)
15573
 
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15574
 
          ;;
15575
 
        *)
15576
 
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15577
 
          ;;
15578
 
        esac
15579
 
      fi
15580
 
      if test "$with_gnu_ld" = no; then
15581
 
        hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
15582
 
        hardcode_libdir_separator_F77=:
15583
 
 
15584
 
        case $host_cpu in
15585
 
        hppa*64*|ia64*)
15586
 
          hardcode_libdir_flag_spec_ld_F77='+b $libdir'
15587
 
          hardcode_direct_F77=no
15588
 
          hardcode_shlibpath_var_F77=no
15589
 
          ;;
15590
 
        *)
15591
 
          hardcode_direct_F77=yes
15592
 
          export_dynamic_flag_spec_F77='${wl}-E'
15593
 
 
15594
 
          # hardcode_minus_L: Not really in the search PATH,
15595
 
          # but as the default location of the library.
15596
 
          hardcode_minus_L_F77=yes
15597
 
          ;;
15598
 
        esac
15599
 
      fi
15600
 
      ;;
15601
 
 
15602
 
    irix5* | irix6* | nonstopux*)
15603
 
      if test "$GCC" = yes; then
15604
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
15605
 
      else
15606
 
        archive_cmds_F77='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
15607
 
        hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
15608
 
      fi
15609
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
15610
 
      hardcode_libdir_separator_F77=:
15611
 
      link_all_deplibs_F77=yes
15612
 
      ;;
15613
 
 
15614
 
    netbsd*)
15615
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15616
 
        archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
15617
 
      else
15618
 
        archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
15619
 
      fi
15620
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
15621
 
      hardcode_direct_F77=yes
15622
 
      hardcode_shlibpath_var_F77=no
15623
 
      ;;
15624
 
 
15625
 
    newsos6)
15626
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15627
 
      hardcode_direct_F77=yes
15628
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
15629
 
      hardcode_libdir_separator_F77=:
15630
 
      hardcode_shlibpath_var_F77=no
15631
 
      ;;
15632
 
 
15633
 
    openbsd*)
15634
 
      if test -f /usr/libexec/ld.so; then
15635
 
        hardcode_direct_F77=yes
15636
 
        hardcode_shlibpath_var_F77=no
15637
 
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15638
 
          archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15639
 
          archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
15640
 
          hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
15641
 
          export_dynamic_flag_spec_F77='${wl}-E'
15642
 
        else
15643
 
          case $host_os in
15644
 
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
15645
 
             archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15646
 
             hardcode_libdir_flag_spec_F77='-R$libdir'
15647
 
             ;;
15648
 
           *)
15649
 
             archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15650
 
             hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
15651
 
             ;;
15652
 
          esac
15653
 
        fi
15654
 
      else
15655
 
        ld_shlibs_F77=no
15656
 
      fi
15657
 
      ;;
15658
 
 
15659
 
    os2*)
15660
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
15661
 
      hardcode_minus_L_F77=yes
15662
 
      allow_undefined_flag_F77=unsupported
15663
 
      archive_cmds_F77='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
15664
 
      old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
15665
 
      ;;
15666
 
 
15667
 
    osf3*)
15668
 
      if test "$GCC" = yes; then
15669
 
        allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
15670
 
        archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
15671
 
      else
15672
 
        allow_undefined_flag_F77=' -expect_unresolved \*'
15673
 
        archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
15674
 
      fi
15675
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
15676
 
      hardcode_libdir_separator_F77=:
15677
 
      ;;
15678
 
 
15679
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
15680
 
      if test "$GCC" = yes; then
15681
 
        allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
15682
 
        archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
15683
 
        hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
15684
 
      else
15685
 
        allow_undefined_flag_F77=' -expect_unresolved \*'
15686
 
        archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
15687
 
        archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
15688
 
        $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
15689
 
 
15690
 
        # Both c and cxx compiler support -rpath directly
15691
 
        hardcode_libdir_flag_spec_F77='-rpath $libdir'
15692
 
      fi
15693
 
      hardcode_libdir_separator_F77=:
15694
 
      ;;
15695
 
 
15696
 
    solaris*)
15697
 
      no_undefined_flag_F77=' -z text'
15698
 
      if test "$GCC" = yes; then
15699
 
        wlarc='${wl}'
15700
 
        archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15701
 
        archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15702
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
15703
 
      else
15704
 
        wlarc=''
15705
 
        archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15706
 
        archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15707
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
15708
 
      fi
15709
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
15710
 
      hardcode_shlibpath_var_F77=no
15711
 
      case $host_os in
15712
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
15713
 
      *)
15714
 
        # The compiler driver will combine and reorder linker options,
15715
 
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
15716
 
        # but is careful enough not to reorder.
15717
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
15718
 
        if test "$GCC" = yes; then
15719
 
          whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
15720
 
        else
15721
 
          whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
15722
 
        fi
15723
 
        ;;
15724
 
      esac
15725
 
      link_all_deplibs_F77=yes
15726
 
      ;;
15727
 
 
15728
 
    sunos4*)
15729
 
      if test "x$host_vendor" = xsequent; then
15730
 
        # Use $CC to link under sequent, because it throws in some extra .o
15731
 
        # files that make .init and .fini sections work.
15732
 
        archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15733
 
      else
15734
 
        archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15735
 
      fi
15736
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
15737
 
      hardcode_direct_F77=yes
15738
 
      hardcode_minus_L_F77=yes
15739
 
      hardcode_shlibpath_var_F77=no
15740
 
      ;;
15741
 
 
15742
 
    sysv4)
15743
 
      case $host_vendor in
15744
 
        sni)
15745
 
          archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15746
 
          hardcode_direct_F77=yes # is this really true???
15747
 
        ;;
15748
 
        siemens)
15749
 
          ## LD is ld it makes a PLAMLIB
15750
 
          ## CC just makes a GrossModule.
15751
 
          archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15752
 
          reload_cmds_F77='$CC -r -o $output$reload_objs'
15753
 
          hardcode_direct_F77=no
15754
 
        ;;
15755
 
        motorola)
15756
 
          archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15757
 
          hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
15758
 
        ;;
15759
 
      esac
15760
 
      runpath_var='LD_RUN_PATH'
15761
 
      hardcode_shlibpath_var_F77=no
15762
 
      ;;
15763
 
 
15764
 
    sysv4.3*)
15765
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15766
 
      hardcode_shlibpath_var_F77=no
15767
 
      export_dynamic_flag_spec_F77='-Bexport'
15768
 
      ;;
15769
 
 
15770
 
    sysv4*MP*)
15771
 
      if test -d /usr/nec; then
15772
 
        archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15773
 
        hardcode_shlibpath_var_F77=no
15774
 
        runpath_var=LD_RUN_PATH
15775
 
        hardcode_runpath_var=yes
15776
 
        ld_shlibs_F77=yes
15777
 
      fi
15778
 
      ;;
15779
 
 
15780
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
15781
 
      no_undefined_flag_F77='${wl}-z,text'
15782
 
      archive_cmds_need_lc_F77=no
15783
 
      hardcode_shlibpath_var_F77=no
15784
 
      runpath_var='LD_RUN_PATH'
15785
 
 
15786
 
      if test "$GCC" = yes; then
15787
 
        archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15788
 
        archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15789
 
      else
15790
 
        archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15791
 
        archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15792
 
      fi
15793
 
      ;;
15794
 
 
15795
 
    sysv5* | sco3.2v5* | sco5v6*)
15796
 
      # Note: We can NOT use -z defs as we might desire, because we do not
15797
 
      # link with -lc, and that would cause any symbols used from libc to
15798
 
      # always be unresolved, which means just about no library would
15799
 
      # ever link correctly.  If we're not using GNU ld we use -z text
15800
 
      # though, which does catch some bad symbols but isn't as heavy-handed
15801
 
      # as -z defs.
15802
 
      no_undefined_flag_F77='${wl}-z,text'
15803
 
      allow_undefined_flag_F77='${wl}-z,nodefs'
15804
 
      archive_cmds_need_lc_F77=no
15805
 
      hardcode_shlibpath_var_F77=no
15806
 
      hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
15807
 
      hardcode_libdir_separator_F77=':'
15808
 
      link_all_deplibs_F77=yes
15809
 
      export_dynamic_flag_spec_F77='${wl}-Bexport'
15810
 
      runpath_var='LD_RUN_PATH'
15811
 
 
15812
 
      if test "$GCC" = yes; then
15813
 
        archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15814
 
        archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15815
 
      else
15816
 
        archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15817
 
        archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15818
 
      fi
15819
 
      ;;
15820
 
 
15821
 
    uts4*)
15822
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15823
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
15824
 
      hardcode_shlibpath_var_F77=no
15825
 
      ;;
15826
 
 
15827
 
    *)
15828
 
      ld_shlibs_F77=no
15829
 
      ;;
15830
 
    esac
15831
 
  fi
15832
 
 
15833
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
15834
 
echo "${ECHO_T}$ld_shlibs_F77" >&6; }
15835
 
test "$ld_shlibs_F77" = no && can_build_shared=no
15836
 
 
15837
 
#
15838
 
# Do we need to explicitly link libc?
15839
 
#
15840
 
case "x$archive_cmds_need_lc_F77" in
15841
 
x|xyes)
15842
 
  # Assume -lc should be added
15843
 
  archive_cmds_need_lc_F77=yes
15844
 
 
15845
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
15846
 
    case $archive_cmds_F77 in
15847
 
    *'~'*)
15848
 
      # FIXME: we may have to deal with multi-command sequences.
15849
 
      ;;
15850
 
    '$CC '*)
15851
 
      # Test whether the compiler implicitly links with -lc since on some
15852
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
15853
 
      # to ld, don't add -lc before -lgcc.
15854
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15855
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
15856
 
      $rm conftest*
15857
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15858
 
 
15859
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15860
 
  (eval $ac_compile) 2>&5
15861
 
  ac_status=$?
15862
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15863
 
  (exit $ac_status); } 2>conftest.err; then
15864
 
        soname=conftest
15865
 
        lib=conftest
15866
 
        libobjs=conftest.$ac_objext
15867
 
        deplibs=
15868
 
        wl=$lt_prog_compiler_wl_F77
15869
 
        pic_flag=$lt_prog_compiler_pic_F77
15870
 
        compiler_flags=-v
15871
 
        linker_flags=-v
15872
 
        verstring=
15873
 
        output_objdir=.
15874
 
        libname=conftest
15875
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_F77
15876
 
        allow_undefined_flag_F77=
15877
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
15878
 
  (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
15879
 
  ac_status=$?
15880
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15881
 
  (exit $ac_status); }
15882
 
        then
15883
 
          archive_cmds_need_lc_F77=no
15884
 
        else
15885
 
          archive_cmds_need_lc_F77=yes
15886
 
        fi
15887
 
        allow_undefined_flag_F77=$lt_save_allow_undefined_flag
15888
 
      else
15889
 
        cat conftest.err 1>&5
15890
 
      fi
15891
 
      $rm conftest*
15892
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
15893
 
echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
15894
 
      ;;
15895
 
    esac
15896
 
  fi
15897
 
  ;;
15898
 
esac
15899
 
 
15900
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15901
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
15902
 
library_names_spec=
15903
 
libname_spec='lib$name'
15904
 
soname_spec=
15905
 
shrext_cmds=".so"
15906
 
postinstall_cmds=
15907
 
postuninstall_cmds=
15908
 
finish_cmds=
15909
 
finish_eval=
15910
 
shlibpath_var=
15911
 
shlibpath_overrides_runpath=unknown
15912
 
version_type=none
15913
 
dynamic_linker="$host_os ld.so"
15914
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
15915
 
 
15916
 
need_lib_prefix=unknown
15917
 
hardcode_into_libs=no
15918
 
 
15919
 
# when you set need_version to no, make sure it does not cause -set_version
15920
 
# flags to be left without arguments
15921
 
need_version=unknown
15922
 
 
15923
 
case $host_os in
15924
 
aix3*)
15925
 
  version_type=linux
15926
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
15927
 
  shlibpath_var=LIBPATH
15928
 
 
15929
 
  # AIX 3 has no versioning support, so we append a major version to the name.
15930
 
  soname_spec='${libname}${release}${shared_ext}$major'
15931
 
  ;;
15932
 
 
15933
 
aix[4-9]*)
15934
 
  version_type=linux
15935
 
  need_lib_prefix=no
15936
 
  need_version=no
15937
 
  hardcode_into_libs=yes
15938
 
  if test "$host_cpu" = ia64; then
15939
 
    # AIX 5 supports IA64
15940
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15941
 
    shlibpath_var=LD_LIBRARY_PATH
15942
 
  else
15943
 
    # With GCC up to 2.95.x, collect2 would create an import file
15944
 
    # for dependence libraries.  The import file would start with
15945
 
    # the line `#! .'.  This would cause the generated library to
15946
 
    # depend on `.', always an invalid library.  This was fixed in
15947
 
    # development snapshots of GCC prior to 3.0.
15948
 
    case $host_os in
15949
 
      aix4 | aix4.[01] | aix4.[01].*)
15950
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15951
 
           echo ' yes '
15952
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
15953
 
        :
15954
 
      else
15955
 
        can_build_shared=no
15956
 
      fi
15957
 
      ;;
15958
 
    esac
15959
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15960
 
    # soname into executable. Probably we can add versioning support to
15961
 
    # collect2, so additional links can be useful in future.
15962
 
    if test "$aix_use_runtimelinking" = yes; then
15963
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15964
 
      # instead of lib<name>.a to let people know that these are not
15965
 
      # typical AIX shared libraries.
15966
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15967
 
    else
15968
 
      # We preserve .a as extension for shared libraries through AIX4.2
15969
 
      # and later when we are not doing run time linking.
15970
 
      library_names_spec='${libname}${release}.a $libname.a'
15971
 
      soname_spec='${libname}${release}${shared_ext}$major'
15972
 
    fi
15973
 
    shlibpath_var=LIBPATH
15974
 
  fi
15975
 
  ;;
15976
 
 
15977
 
amigaos*)
15978
 
  library_names_spec='$libname.ixlibrary $libname.a'
15979
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
15980
 
  finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
15981
 
  ;;
15982
 
 
15983
 
beos*)
15984
 
  library_names_spec='${libname}${shared_ext}'
15985
 
  dynamic_linker="$host_os ld.so"
15986
 
  shlibpath_var=LIBRARY_PATH
15987
 
  ;;
15988
 
 
15989
 
bsdi[45]*)
15990
 
  version_type=linux
15991
 
  need_version=no
15992
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15993
 
  soname_spec='${libname}${release}${shared_ext}$major'
15994
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15995
 
  shlibpath_var=LD_LIBRARY_PATH
15996
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15997
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15998
 
  # the default ld.so.conf also contains /usr/contrib/lib and
15999
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16000
 
  # libtool to hard-code these into programs
16001
 
  ;;
16002
 
 
16003
 
cygwin* | mingw* | pw32*)
16004
 
  version_type=windows
16005
 
  shrext_cmds=".dll"
16006
 
  need_version=no
16007
 
  need_lib_prefix=no
16008
 
 
16009
 
  case $GCC,$host_os in
16010
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
16011
 
    library_names_spec='$libname.dll.a'
16012
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
16013
 
    postinstall_cmds='base_file=`basename \${file}`~
16014
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
16015
 
      dldir=$destdir/`dirname \$dlpath`~
16016
 
      test -d \$dldir || mkdir -p \$dldir~
16017
 
      $install_prog $dir/$dlname \$dldir/$dlname~
16018
 
      chmod a+x \$dldir/$dlname'
16019
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16020
 
      dlpath=$dir/\$dldll~
16021
 
       $rm \$dlpath'
16022
 
    shlibpath_overrides_runpath=yes
16023
 
 
16024
 
    case $host_os in
16025
 
    cygwin*)
16026
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16027
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16028
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
16029
 
      ;;
16030
 
    mingw*)
16031
 
      # MinGW DLLs use traditional 'lib' prefix
16032
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16033
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16034
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
16035
 
        # It is most probably a Windows format PATH printed by
16036
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
16037
 
        # path with ; separators, and with drive letters. We can handle the
16038
 
        # drive letters (cygwin fileutils understands them), so leave them,
16039
 
        # especially as we might pass files found there to a mingw objdump,
16040
 
        # which wouldn't understand a cygwinified path. Ahh.
16041
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16042
 
      else
16043
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
16044
 
      fi
16045
 
      ;;
16046
 
    pw32*)
16047
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
16048
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16049
 
      ;;
16050
 
    esac
16051
 
    ;;
16052
 
 
16053
 
  *)
16054
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16055
 
    ;;
16056
 
  esac
16057
 
  dynamic_linker='Win32 ld.exe'
16058
 
  # FIXME: first we should search . and the directory the executable is in
16059
 
  shlibpath_var=PATH
16060
 
  ;;
16061
 
 
16062
 
darwin* | rhapsody*)
16063
 
  dynamic_linker="$host_os dyld"
16064
 
  version_type=darwin
16065
 
  need_lib_prefix=no
16066
 
  need_version=no
16067
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16068
 
  soname_spec='${libname}${release}${major}$shared_ext'
16069
 
  shlibpath_overrides_runpath=yes
16070
 
  shlibpath_var=DYLD_LIBRARY_PATH
16071
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
16072
 
 
16073
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16074
 
  ;;
16075
 
 
16076
 
dgux*)
16077
 
  version_type=linux
16078
 
  need_lib_prefix=no
16079
 
  need_version=no
16080
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16081
 
  soname_spec='${libname}${release}${shared_ext}$major'
16082
 
  shlibpath_var=LD_LIBRARY_PATH
16083
 
  ;;
16084
 
 
16085
 
freebsd1*)
16086
 
  dynamic_linker=no
16087
 
  ;;
16088
 
 
16089
 
freebsd* | dragonfly*)
16090
 
  # DragonFly does not have aout.  When/if they implement a new
16091
 
  # versioning mechanism, adjust this.
16092
 
  if test -x /usr/bin/objformat; then
16093
 
    objformat=`/usr/bin/objformat`
16094
 
  else
16095
 
    case $host_os in
16096
 
    freebsd[123]*) objformat=aout ;;
16097
 
    *) objformat=elf ;;
16098
 
    esac
16099
 
  fi
16100
 
  version_type=freebsd-$objformat
16101
 
  case $version_type in
16102
 
    freebsd-elf*)
16103
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16104
 
      need_version=no
16105
 
      need_lib_prefix=no
16106
 
      ;;
16107
 
    freebsd-*)
16108
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16109
 
      need_version=yes
16110
 
      ;;
16111
 
  esac
16112
 
  shlibpath_var=LD_LIBRARY_PATH
16113
 
  case $host_os in
16114
 
  freebsd2*)
16115
 
    shlibpath_overrides_runpath=yes
16116
 
    ;;
16117
 
  freebsd3.[01]* | freebsdelf3.[01]*)
16118
 
    shlibpath_overrides_runpath=yes
16119
 
    hardcode_into_libs=yes
16120
 
    ;;
16121
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
16122
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
16123
 
    shlibpath_overrides_runpath=no
16124
 
    hardcode_into_libs=yes
16125
 
    ;;
16126
 
  *) # from 4.6 on, and DragonFly
16127
 
    shlibpath_overrides_runpath=yes
16128
 
    hardcode_into_libs=yes
16129
 
    ;;
16130
 
  esac
16131
 
  ;;
16132
 
 
16133
 
gnu*)
16134
 
  version_type=linux
16135
 
  need_lib_prefix=no
16136
 
  need_version=no
16137
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16138
 
  soname_spec='${libname}${release}${shared_ext}$major'
16139
 
  shlibpath_var=LD_LIBRARY_PATH
16140
 
  hardcode_into_libs=yes
16141
 
  ;;
16142
 
 
16143
 
hpux9* | hpux10* | hpux11*)
16144
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
16145
 
  # link against other versions.
16146
 
  version_type=sunos
16147
 
  need_lib_prefix=no
16148
 
  need_version=no
16149
 
  case $host_cpu in
16150
 
  ia64*)
16151
 
    shrext_cmds='.so'
16152
 
    hardcode_into_libs=yes
16153
 
    dynamic_linker="$host_os dld.so"
16154
 
    shlibpath_var=LD_LIBRARY_PATH
16155
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16156
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16157
 
    soname_spec='${libname}${release}${shared_ext}$major'
16158
 
    if test "X$HPUX_IA64_MODE" = X32; then
16159
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16160
 
    else
16161
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16162
 
    fi
16163
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16164
 
    ;;
16165
 
   hppa*64*)
16166
 
     shrext_cmds='.sl'
16167
 
     hardcode_into_libs=yes
16168
 
     dynamic_linker="$host_os dld.sl"
16169
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16170
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16171
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16172
 
     soname_spec='${libname}${release}${shared_ext}$major'
16173
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16174
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16175
 
     ;;
16176
 
   *)
16177
 
    shrext_cmds='.sl'
16178
 
    dynamic_linker="$host_os dld.sl"
16179
 
    shlibpath_var=SHLIB_PATH
16180
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16181
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16182
 
    soname_spec='${libname}${release}${shared_ext}$major'
16183
 
    ;;
16184
 
  esac
16185
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
16186
 
  postinstall_cmds='chmod 555 $lib'
16187
 
  ;;
16188
 
 
16189
 
interix[3-9]*)
16190
 
  version_type=linux
16191
 
  need_lib_prefix=no
16192
 
  need_version=no
16193
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16194
 
  soname_spec='${libname}${release}${shared_ext}$major'
16195
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
16196
 
  shlibpath_var=LD_LIBRARY_PATH
16197
 
  shlibpath_overrides_runpath=no
16198
 
  hardcode_into_libs=yes
16199
 
  ;;
16200
 
 
16201
 
irix5* | irix6* | nonstopux*)
16202
 
  case $host_os in
16203
 
    nonstopux*) version_type=nonstopux ;;
16204
 
    *)
16205
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
16206
 
                version_type=linux
16207
 
        else
16208
 
                version_type=irix
16209
 
        fi ;;
16210
 
  esac
16211
 
  need_lib_prefix=no
16212
 
  need_version=no
16213
 
  soname_spec='${libname}${release}${shared_ext}$major'
16214
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16215
 
  case $host_os in
16216
 
  irix5* | nonstopux*)
16217
 
    libsuff= shlibsuff=
16218
 
    ;;
16219
 
  *)
16220
 
    case $LD in # libtool.m4 will add one of these switches to LD
16221
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16222
 
      libsuff= shlibsuff= libmagic=32-bit;;
16223
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16224
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
16225
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16226
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
16227
 
    *) libsuff= shlibsuff= libmagic=never-match;;
16228
 
    esac
16229
 
    ;;
16230
 
  esac
16231
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16232
 
  shlibpath_overrides_runpath=no
16233
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16234
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
16235
 
  hardcode_into_libs=yes
16236
 
  ;;
16237
 
 
16238
 
# No shared lib support for Linux oldld, aout, or coff.
16239
 
linux*oldld* | linux*aout* | linux*coff*)
16240
 
  dynamic_linker=no
16241
 
  ;;
16242
 
 
16243
 
# This must be Linux ELF.
16244
 
linux* | k*bsd*-gnu)
16245
 
  version_type=linux
16246
 
  need_lib_prefix=no
16247
 
  need_version=no
16248
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16249
 
  soname_spec='${libname}${release}${shared_ext}$major'
16250
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16251
 
  shlibpath_var=LD_LIBRARY_PATH
16252
 
  shlibpath_overrides_runpath=no
16253
 
  # This implies no fast_install, which is unacceptable.
16254
 
  # Some rework will be needed to allow for fast_install
16255
 
  # before this can be enabled.
16256
 
  hardcode_into_libs=yes
16257
 
 
16258
 
  # Append ld.so.conf contents to the search path
16259
 
  if test -f /etc/ld.so.conf; then
16260
 
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[      ]*hwcap[        ]/d;s/[:,       ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
16261
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
16262
 
  fi
16263
 
 
16264
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
16265
 
  # powerpc, because MkLinux only supported shared libraries with the
16266
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
16267
 
  # most powerpc-linux boxes support dynamic linking these days and
16268
 
  # people can always --disable-shared, the test was removed, and we
16269
 
  # assume the GNU/Linux dynamic linker is in use.
16270
 
  dynamic_linker='GNU/Linux ld.so'
16271
 
  ;;
16272
 
 
16273
 
netbsd*)
16274
 
  version_type=sunos
16275
 
  need_lib_prefix=no
16276
 
  need_version=no
16277
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16278
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16279
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16280
 
    dynamic_linker='NetBSD (a.out) ld.so'
16281
 
  else
16282
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16283
 
    soname_spec='${libname}${release}${shared_ext}$major'
16284
 
    dynamic_linker='NetBSD ld.elf_so'
16285
 
  fi
16286
 
  shlibpath_var=LD_LIBRARY_PATH
16287
 
  shlibpath_overrides_runpath=yes
16288
 
  hardcode_into_libs=yes
16289
 
  ;;
16290
 
 
16291
 
newsos6)
16292
 
  version_type=linux
16293
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16294
 
  shlibpath_var=LD_LIBRARY_PATH
16295
 
  shlibpath_overrides_runpath=yes
16296
 
  ;;
16297
 
 
16298
 
nto-qnx*)
16299
 
  version_type=linux
16300
 
  need_lib_prefix=no
16301
 
  need_version=no
16302
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16303
 
  soname_spec='${libname}${release}${shared_ext}$major'
16304
 
  shlibpath_var=LD_LIBRARY_PATH
16305
 
  shlibpath_overrides_runpath=yes
16306
 
  ;;
16307
 
 
16308
 
openbsd*)
16309
 
  version_type=sunos
16310
 
  sys_lib_dlsearch_path_spec="/usr/lib"
16311
 
  need_lib_prefix=no
16312
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16313
 
  case $host_os in
16314
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
16315
 
    *)                         need_version=no  ;;
16316
 
  esac
16317
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16318
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16319
 
  shlibpath_var=LD_LIBRARY_PATH
16320
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16321
 
    case $host_os in
16322
 
      openbsd2.[89] | openbsd2.[89].*)
16323
 
        shlibpath_overrides_runpath=no
16324
 
        ;;
16325
 
      *)
16326
 
        shlibpath_overrides_runpath=yes
16327
 
        ;;
16328
 
      esac
16329
 
  else
16330
 
    shlibpath_overrides_runpath=yes
16331
 
  fi
16332
 
  ;;
16333
 
 
16334
 
os2*)
16335
 
  libname_spec='$name'
16336
 
  shrext_cmds=".dll"
16337
 
  need_lib_prefix=no
16338
 
  library_names_spec='$libname${shared_ext} $libname.a'
16339
 
  dynamic_linker='OS/2 ld.exe'
16340
 
  shlibpath_var=LIBPATH
16341
 
  ;;
16342
 
 
16343
 
osf3* | osf4* | osf5*)
16344
 
  version_type=osf
16345
 
  need_lib_prefix=no
16346
 
  need_version=no
16347
 
  soname_spec='${libname}${release}${shared_ext}$major'
16348
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16349
 
  shlibpath_var=LD_LIBRARY_PATH
16350
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16351
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16352
 
  ;;
16353
 
 
16354
 
rdos*)
16355
 
  dynamic_linker=no
16356
 
  ;;
16357
 
 
16358
 
solaris*)
16359
 
  version_type=linux
16360
 
  need_lib_prefix=no
16361
 
  need_version=no
16362
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16363
 
  soname_spec='${libname}${release}${shared_ext}$major'
16364
 
  shlibpath_var=LD_LIBRARY_PATH
16365
 
  shlibpath_overrides_runpath=yes
16366
 
  hardcode_into_libs=yes
16367
 
  # ldd complains unless libraries are executable
16368
 
  postinstall_cmds='chmod +x $lib'
16369
 
  ;;
16370
 
 
16371
 
sunos4*)
16372
 
  version_type=sunos
16373
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16374
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16375
 
  shlibpath_var=LD_LIBRARY_PATH
16376
 
  shlibpath_overrides_runpath=yes
16377
 
  if test "$with_gnu_ld" = yes; then
16378
 
    need_lib_prefix=no
16379
 
  fi
16380
 
  need_version=yes
16381
 
  ;;
16382
 
 
16383
 
sysv4 | sysv4.3*)
16384
 
  version_type=linux
16385
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16386
 
  soname_spec='${libname}${release}${shared_ext}$major'
16387
 
  shlibpath_var=LD_LIBRARY_PATH
16388
 
  case $host_vendor in
16389
 
    sni)
16390
 
      shlibpath_overrides_runpath=no
16391
 
      need_lib_prefix=no
16392
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
16393
 
      runpath_var=LD_RUN_PATH
16394
 
      ;;
16395
 
    siemens)
16396
 
      need_lib_prefix=no
16397
 
      ;;
16398
 
    motorola)
16399
 
      need_lib_prefix=no
16400
 
      need_version=no
16401
 
      shlibpath_overrides_runpath=no
16402
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16403
 
      ;;
16404
 
  esac
16405
 
  ;;
16406
 
 
16407
 
sysv4*MP*)
16408
 
  if test -d /usr/nec ;then
16409
 
    version_type=linux
16410
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16411
 
    soname_spec='$libname${shared_ext}.$major'
16412
 
    shlibpath_var=LD_LIBRARY_PATH
16413
 
  fi
16414
 
  ;;
16415
 
 
16416
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
16417
 
  version_type=freebsd-elf
16418
 
  need_lib_prefix=no
16419
 
  need_version=no
16420
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16421
 
  soname_spec='${libname}${release}${shared_ext}$major'
16422
 
  shlibpath_var=LD_LIBRARY_PATH
16423
 
  hardcode_into_libs=yes
16424
 
  if test "$with_gnu_ld" = yes; then
16425
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16426
 
    shlibpath_overrides_runpath=no
16427
 
  else
16428
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
16429
 
    shlibpath_overrides_runpath=yes
16430
 
    case $host_os in
16431
 
      sco3.2v5*)
16432
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
16433
 
        ;;
16434
 
    esac
16435
 
  fi
16436
 
  sys_lib_dlsearch_path_spec='/usr/lib'
16437
 
  ;;
16438
 
 
16439
 
uts4*)
16440
 
  version_type=linux
16441
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16442
 
  soname_spec='${libname}${release}${shared_ext}$major'
16443
 
  shlibpath_var=LD_LIBRARY_PATH
16444
 
  ;;
16445
 
 
16446
 
*)
16447
 
  dynamic_linker=no
16448
 
  ;;
16449
 
esac
16450
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16451
 
echo "${ECHO_T}$dynamic_linker" >&6; }
16452
 
test "$dynamic_linker" = no && can_build_shared=no
16453
 
 
16454
 
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
16455
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
16456
 
else
16457
 
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
16458
 
fi
16459
 
 
16460
 
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
16461
 
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
16462
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
16463
 
else
16464
 
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
16465
 
fi
16466
 
 
16467
 
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
16468
 
 
16469
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16470
 
if test "$GCC" = yes; then
16471
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16472
 
fi
16473
 
 
16474
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16475
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
16476
 
hardcode_action_F77=
16477
 
if test -n "$hardcode_libdir_flag_spec_F77" || \
16478
 
   test -n "$runpath_var_F77" || \
16479
 
   test "X$hardcode_automatic_F77" = "Xyes" ; then
16480
 
 
16481
 
  # We can hardcode non-existant directories.
16482
 
  if test "$hardcode_direct_F77" != no &&
16483
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
16484
 
     # have to relink, otherwise we might link with an installed library
16485
 
     # when we should be linking with a yet-to-be-installed one
16486
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
16487
 
     test "$hardcode_minus_L_F77" != no; then
16488
 
    # Linking always hardcodes the temporary library directory.
16489
 
    hardcode_action_F77=relink
16490
 
  else
16491
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
16492
 
    hardcode_action_F77=immediate
16493
 
  fi
16494
 
else
16495
 
  # We cannot hardcode anything, or else we can only hardcode existing
16496
 
  # directories.
16497
 
  hardcode_action_F77=unsupported
16498
 
fi
16499
 
{ echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
16500
 
echo "${ECHO_T}$hardcode_action_F77" >&6; }
16501
 
 
16502
 
if test "$hardcode_action_F77" = relink; then
16503
 
  # Fast installation is not supported
16504
 
  enable_fast_install=no
16505
 
elif test "$shlibpath_overrides_runpath" = yes ||
16506
 
     test "$enable_shared" = no; then
16507
 
  # Fast installation is not necessary
16508
 
  enable_fast_install=needless
16509
 
fi
16510
 
 
16511
 
 
16512
 
# The else clause should only fire when bootstrapping the
16513
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
16514
 
# with your package, and you will get complaints that there are
16515
 
# no rules to generate ltmain.sh.
16516
 
if test -f "$ltmain"; then
16517
 
  # See if we are running on zsh, and set the options which allow our commands through
16518
 
  # without removal of \ escapes.
16519
 
  if test -n "${ZSH_VERSION+set}" ; then
16520
 
    setopt NO_GLOB_SUBST
16521
 
  fi
16522
 
  # Now quote all the things that may contain metacharacters while being
16523
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
16524
 
  # variables and quote the copies for generation of the libtool script.
16525
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
16526
 
    SED SHELL STRIP \
16527
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
16528
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
16529
 
    deplibs_check_method reload_flag reload_cmds need_locks \
16530
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
16531
 
    lt_cv_sys_global_symbol_to_c_name_address \
16532
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
16533
 
    old_postinstall_cmds old_postuninstall_cmds \
16534
 
    compiler_F77 \
16535
 
    CC_F77 \
16536
 
    LD_F77 \
16537
 
    lt_prog_compiler_wl_F77 \
16538
 
    lt_prog_compiler_pic_F77 \
16539
 
    lt_prog_compiler_static_F77 \
16540
 
    lt_prog_compiler_no_builtin_flag_F77 \
16541
 
    export_dynamic_flag_spec_F77 \
16542
 
    thread_safe_flag_spec_F77 \
16543
 
    whole_archive_flag_spec_F77 \
16544
 
    enable_shared_with_static_runtimes_F77 \
16545
 
    old_archive_cmds_F77 \
16546
 
    old_archive_from_new_cmds_F77 \
16547
 
    predep_objects_F77 \
16548
 
    postdep_objects_F77 \
16549
 
    predeps_F77 \
16550
 
    postdeps_F77 \
16551
 
    compiler_lib_search_path_F77 \
16552
 
    compiler_lib_search_dirs_F77 \
16553
 
    archive_cmds_F77 \
16554
 
    archive_expsym_cmds_F77 \
16555
 
    postinstall_cmds_F77 \
16556
 
    postuninstall_cmds_F77 \
16557
 
    old_archive_from_expsyms_cmds_F77 \
16558
 
    allow_undefined_flag_F77 \
16559
 
    no_undefined_flag_F77 \
16560
 
    export_symbols_cmds_F77 \
16561
 
    hardcode_libdir_flag_spec_F77 \
16562
 
    hardcode_libdir_flag_spec_ld_F77 \
16563
 
    hardcode_libdir_separator_F77 \
16564
 
    hardcode_automatic_F77 \
16565
 
    module_cmds_F77 \
16566
 
    module_expsym_cmds_F77 \
16567
 
    lt_cv_prog_compiler_c_o_F77 \
16568
 
    fix_srcfile_path_F77 \
16569
 
    exclude_expsyms_F77 \
16570
 
    include_expsyms_F77; do
16571
 
 
16572
 
    case $var in
16573
 
    old_archive_cmds_F77 | \
16574
 
    old_archive_from_new_cmds_F77 | \
16575
 
    archive_cmds_F77 | \
16576
 
    archive_expsym_cmds_F77 | \
16577
 
    module_cmds_F77 | \
16578
 
    module_expsym_cmds_F77 | \
16579
 
    old_archive_from_expsyms_cmds_F77 | \
16580
 
    export_symbols_cmds_F77 | \
16581
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
16582
 
    postinstall_cmds | postuninstall_cmds | \
16583
 
    old_postinstall_cmds | old_postuninstall_cmds | \
16584
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
16585
 
      # Double-quote double-evaled strings.
16586
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
16587
 
      ;;
16588
 
    *)
16589
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
16590
 
      ;;
16591
 
    esac
16592
 
  done
16593
 
 
16594
 
  case $lt_echo in
16595
 
  *'\$0 --fallback-echo"')
16596
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
16597
 
    ;;
16598
 
  esac
16599
 
 
16600
 
cfgfile="$ofile"
16601
 
 
16602
 
  cat <<__EOF__ >> "$cfgfile"
16603
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
16604
 
 
16605
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16606
 
 
16607
 
# Shell to use when invoking shell scripts.
16608
 
SHELL=$lt_SHELL
16609
 
 
16610
 
# Whether or not to build shared libraries.
16611
 
build_libtool_libs=$enable_shared
16612
 
 
16613
 
# Whether or not to build static libraries.
16614
 
build_old_libs=$enable_static
16615
 
 
16616
 
# Whether or not to add -lc for building shared libraries.
16617
 
build_libtool_need_lc=$archive_cmds_need_lc_F77
16618
 
 
16619
 
# Whether or not to disallow shared libs when runtime libs are static
16620
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
16621
 
 
16622
 
# Whether or not to optimize for fast installation.
16623
 
fast_install=$enable_fast_install
16624
 
 
16625
 
# The host system.
16626
 
host_alias=$host_alias
16627
 
host=$host
16628
 
host_os=$host_os
16629
 
 
16630
 
# The build system.
16631
 
build_alias=$build_alias
16632
 
build=$build
16633
 
build_os=$build_os
16634
 
 
16635
 
# An echo program that does not interpret backslashes.
16636
 
echo=$lt_echo
16637
 
 
16638
 
# The archiver.
16639
 
AR=$lt_AR
16640
 
AR_FLAGS=$lt_AR_FLAGS
16641
 
 
16642
 
# A C compiler.
16643
 
LTCC=$lt_LTCC
16644
 
 
16645
 
# LTCC compiler flags.
16646
 
LTCFLAGS=$lt_LTCFLAGS
16647
 
 
16648
 
# A language-specific compiler.
16649
 
CC=$lt_compiler_F77
16650
 
 
16651
 
# Is the compiler the GNU C compiler?
16652
 
with_gcc=$GCC_F77
16653
 
 
16654
 
# An ERE matcher.
16655
 
EGREP=$lt_EGREP
16656
 
 
16657
 
# The linker used to build libraries.
16658
 
LD=$lt_LD_F77
16659
 
 
16660
 
# Whether we need hard or soft links.
16661
 
LN_S=$lt_LN_S
16662
 
 
16663
 
# A BSD-compatible nm program.
16664
 
NM=$lt_NM
16665
 
 
16666
 
# A symbol stripping program
16667
 
STRIP=$lt_STRIP
16668
 
 
16669
 
# Used to examine libraries when file_magic_cmd begins "file"
16670
 
MAGIC_CMD=$MAGIC_CMD
16671
 
 
16672
 
# Used on cygwin: DLL creation program.
16673
 
DLLTOOL="$DLLTOOL"
16674
 
 
16675
 
# Used on cygwin: object dumper.
16676
 
OBJDUMP="$OBJDUMP"
16677
 
 
16678
 
# Used on cygwin: assembler.
16679
 
AS="$AS"
16680
 
 
16681
 
# The name of the directory that contains temporary libtool files.
16682
 
objdir=$objdir
16683
 
 
16684
 
# How to create reloadable object files.
16685
 
reload_flag=$lt_reload_flag
16686
 
reload_cmds=$lt_reload_cmds
16687
 
 
16688
 
# How to pass a linker flag through the compiler.
16689
 
wl=$lt_lt_prog_compiler_wl_F77
16690
 
 
16691
 
# Object file suffix (normally "o").
16692
 
objext="$ac_objext"
16693
 
 
16694
 
# Old archive suffix (normally "a").
16695
 
libext="$libext"
16696
 
 
16697
 
# Shared library suffix (normally ".so").
16698
 
shrext_cmds='$shrext_cmds'
16699
 
 
16700
 
# Executable file suffix (normally "").
16701
 
exeext="$exeext"
16702
 
 
16703
 
# Additional compiler flags for building library objects.
16704
 
pic_flag=$lt_lt_prog_compiler_pic_F77
16705
 
pic_mode=$pic_mode
16706
 
 
16707
 
# What is the maximum length of a command?
16708
 
max_cmd_len=$lt_cv_sys_max_cmd_len
16709
 
 
16710
 
# Does compiler simultaneously support -c and -o options?
16711
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
16712
 
 
16713
 
# Must we lock files when doing compilation?
16714
 
need_locks=$lt_need_locks
16715
 
 
16716
 
# Do we need the lib prefix for modules?
16717
 
need_lib_prefix=$need_lib_prefix
16718
 
 
16719
 
# Do we need a version for libraries?
16720
 
need_version=$need_version
16721
 
 
16722
 
# Whether dlopen is supported.
16723
 
dlopen_support=$enable_dlopen
16724
 
 
16725
 
# Whether dlopen of programs is supported.
16726
 
dlopen_self=$enable_dlopen_self
16727
 
 
16728
 
# Whether dlopen of statically linked programs is supported.
16729
 
dlopen_self_static=$enable_dlopen_self_static
16730
 
 
16731
 
# Compiler flag to prevent dynamic linking.
16732
 
link_static_flag=$lt_lt_prog_compiler_static_F77
16733
 
 
16734
 
# Compiler flag to turn off builtin functions.
16735
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
16736
 
 
16737
 
# Compiler flag to allow reflexive dlopens.
16738
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
16739
 
 
16740
 
# Compiler flag to generate shared objects directly from archives.
16741
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
16742
 
 
16743
 
# Compiler flag to generate thread-safe objects.
16744
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
16745
 
 
16746
 
# Library versioning type.
16747
 
version_type=$version_type
16748
 
 
16749
 
# Format of library name prefix.
16750
 
libname_spec=$lt_libname_spec
16751
 
 
16752
 
# List of archive names.  First name is the real one, the rest are links.
16753
 
# The last name is the one that the linker finds with -lNAME.
16754
 
library_names_spec=$lt_library_names_spec
16755
 
 
16756
 
# The coded name of the library, if different from the real name.
16757
 
soname_spec=$lt_soname_spec
16758
 
 
16759
 
# Commands used to build and install an old-style archive.
16760
 
RANLIB=$lt_RANLIB
16761
 
old_archive_cmds=$lt_old_archive_cmds_F77
16762
 
old_postinstall_cmds=$lt_old_postinstall_cmds
16763
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
16764
 
 
16765
 
# Create an old-style archive from a shared archive.
16766
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
16767
 
 
16768
 
# Create a temporary old-style archive to link instead of a shared archive.
16769
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
16770
 
 
16771
 
# Commands used to build and install a shared archive.
16772
 
archive_cmds=$lt_archive_cmds_F77
16773
 
archive_expsym_cmds=$lt_archive_expsym_cmds_F77
16774
 
postinstall_cmds=$lt_postinstall_cmds
16775
 
postuninstall_cmds=$lt_postuninstall_cmds
16776
 
 
16777
 
# Commands used to build a loadable module (assumed same as above if empty)
16778
 
module_cmds=$lt_module_cmds_F77
16779
 
module_expsym_cmds=$lt_module_expsym_cmds_F77
16780
 
 
16781
 
# Commands to strip libraries.
16782
 
old_striplib=$lt_old_striplib
16783
 
striplib=$lt_striplib
16784
 
 
16785
 
# Dependencies to place before the objects being linked to create a
16786
 
# shared library.
16787
 
predep_objects=$lt_predep_objects_F77
16788
 
 
16789
 
# Dependencies to place after the objects being linked to create a
16790
 
# shared library.
16791
 
postdep_objects=$lt_postdep_objects_F77
16792
 
 
16793
 
# Dependencies to place before the objects being linked to create a
16794
 
# shared library.
16795
 
predeps=$lt_predeps_F77
16796
 
 
16797
 
# Dependencies to place after the objects being linked to create a
16798
 
# shared library.
16799
 
postdeps=$lt_postdeps_F77
16800
 
 
16801
 
# The directories searched by this compiler when creating a shared
16802
 
# library
16803
 
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77
16804
 
 
16805
 
# The library search path used internally by the compiler when linking
16806
 
# a shared library.
16807
 
compiler_lib_search_path=$lt_compiler_lib_search_path_F77
16808
 
 
16809
 
# Method to check whether dependent libraries are shared objects.
16810
 
deplibs_check_method=$lt_deplibs_check_method
16811
 
 
16812
 
# Command to use when deplibs_check_method == file_magic.
16813
 
file_magic_cmd=$lt_file_magic_cmd
16814
 
 
16815
 
# Flag that allows shared libraries with undefined symbols to be built.
16816
 
allow_undefined_flag=$lt_allow_undefined_flag_F77
16817
 
 
16818
 
# Flag that forces no undefined symbols.
16819
 
no_undefined_flag=$lt_no_undefined_flag_F77
16820
 
 
16821
 
# Commands used to finish a libtool library installation in a directory.
16822
 
finish_cmds=$lt_finish_cmds
16823
 
 
16824
 
# Same as above, but a single script fragment to be evaled but not shown.
16825
 
finish_eval=$lt_finish_eval
16826
 
 
16827
 
# Take the output of nm and produce a listing of raw symbols and C names.
16828
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16829
 
 
16830
 
# Transform the output of nm in a proper C declaration
16831
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16832
 
 
16833
 
# Transform the output of nm in a C name address pair
16834
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16835
 
 
16836
 
# This is the shared library runtime path variable.
16837
 
runpath_var=$runpath_var
16838
 
 
16839
 
# This is the shared library path variable.
16840
 
shlibpath_var=$shlibpath_var
16841
 
 
16842
 
# Is shlibpath searched before the hard-coded library search path?
16843
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16844
 
 
16845
 
# How to hardcode a shared library path into an executable.
16846
 
hardcode_action=$hardcode_action_F77
16847
 
 
16848
 
# Whether we should hardcode library paths into libraries.
16849
 
hardcode_into_libs=$hardcode_into_libs
16850
 
 
16851
 
# Flag to hardcode \$libdir into a binary during linking.
16852
 
# This must work even if \$libdir does not exist.
16853
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
16854
 
 
16855
 
# If ld is used when linking, flag to hardcode \$libdir into
16856
 
# a binary during linking. This must work even if \$libdir does
16857
 
# not exist.
16858
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
16859
 
 
16860
 
# Whether we need a single -rpath flag with a separated argument.
16861
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
16862
 
 
16863
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
16864
 
# resulting binary.
16865
 
hardcode_direct=$hardcode_direct_F77
16866
 
 
16867
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
16868
 
# resulting binary.
16869
 
hardcode_minus_L=$hardcode_minus_L_F77
16870
 
 
16871
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
16872
 
# the resulting binary.
16873
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
16874
 
 
16875
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
16876
 
# and all subsequent libraries and executables linked against it.
16877
 
hardcode_automatic=$hardcode_automatic_F77
16878
 
 
16879
 
# Variables whose values should be saved in libtool wrapper scripts and
16880
 
# restored at relink time.
16881
 
variables_saved_for_relink="$variables_saved_for_relink"
16882
 
 
16883
 
# Whether libtool must link a program against all its dependency libraries.
16884
 
link_all_deplibs=$link_all_deplibs_F77
16885
 
 
16886
 
# Compile-time system search path for libraries
16887
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16888
 
 
16889
 
# Run-time system search path for libraries
16890
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16891
 
 
16892
 
# Fix the shell variable \$srcfile for the compiler.
16893
 
fix_srcfile_path=$lt_fix_srcfile_path
16894
 
 
16895
 
# Set to yes if exported symbols are required.
16896
 
always_export_symbols=$always_export_symbols_F77
16897
 
 
16898
 
# The commands to list exported symbols.
16899
 
export_symbols_cmds=$lt_export_symbols_cmds_F77
16900
 
 
16901
 
# The commands to extract the exported symbol list from a shared archive.
16902
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
16903
 
 
16904
 
# Symbols that should not be listed in the preloaded symbols.
16905
 
exclude_expsyms=$lt_exclude_expsyms_F77
16906
 
 
16907
 
# Symbols that must always be exported.
16908
 
include_expsyms=$lt_include_expsyms_F77
16909
 
 
16910
 
# ### END LIBTOOL TAG CONFIG: $tagname
16911
 
 
16912
 
__EOF__
16913
 
 
16914
 
 
16915
 
else
16916
 
  # If there is no Makefile yet, we rely on a make rule to execute
16917
 
  # `config.status --recheck' to rerun these tests and create the
16918
 
  # libtool script then.
16919
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
16920
 
  if test -f "$ltmain_in"; then
16921
 
    test -f Makefile && make "$ltmain"
16922
 
  fi
16923
 
fi
16924
 
 
16925
 
 
16926
 
ac_ext=c
16927
 
ac_cpp='$CPP $CPPFLAGS'
16928
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16929
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16930
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
16931
 
 
16932
 
CC="$lt_save_CC"
16933
 
 
16934
 
        else
16935
 
          tagname=""
16936
 
        fi
16937
 
        ;;
16938
 
 
16939
 
      GCJ)
16940
 
        if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
16941
 
 
16942
 
 
16943
 
# Source file extension for Java test sources.
16944
 
ac_ext=java
16945
 
 
16946
 
# Object file extension for compiled Java test sources.
16947
 
objext=o
16948
 
objext_GCJ=$objext
16949
 
 
16950
 
# Code to be used in simple compile tests
16951
 
lt_simple_compile_test_code="class foo {}"
16952
 
 
16953
 
# Code to be used in simple link tests
16954
 
lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
16955
 
 
16956
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
16957
 
 
16958
 
# If no C compiler was specified, use CC.
16959
 
LTCC=${LTCC-"$CC"}
16960
 
 
16961
 
# If no C compiler flags were specified, use CFLAGS.
16962
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
16963
 
 
16964
 
# Allow CC to be a program name with arguments.
16965
 
compiler=$CC
16966
 
 
16967
 
 
16968
 
# save warnings/boilerplate of simple test code
16969
 
ac_outfile=conftest.$ac_objext
16970
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
16971
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
16972
 
_lt_compiler_boilerplate=`cat conftest.err`
16973
 
$rm conftest*
16974
 
 
16975
 
ac_outfile=conftest.$ac_objext
16976
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
16977
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
16978
 
_lt_linker_boilerplate=`cat conftest.err`
16979
 
$rm -r conftest*
16980
 
 
16981
 
 
16982
 
# Allow CC to be a program name with arguments.
16983
 
lt_save_CC="$CC"
16984
 
CC=${GCJ-"gcj"}
16985
 
compiler=$CC
16986
 
compiler_GCJ=$CC
16987
 
for cc_temp in $compiler""; do
16988
 
  case $cc_temp in
16989
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
16990
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
16991
 
    \-*) ;;
16992
 
    *) break;;
16993
 
  esac
16994
 
done
16995
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16996
 
 
16997
 
 
16998
 
# GCJ did not exist at the time GCC didn't implicitly link libc in.
16999
 
archive_cmds_need_lc_GCJ=no
17000
 
 
17001
 
old_archive_cmds_GCJ=$old_archive_cmds
17002
 
 
17003
 
 
17004
 
lt_prog_compiler_no_builtin_flag_GCJ=
17005
 
 
17006
 
if test "$GCC" = yes; then
17007
 
  lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
17008
 
 
17009
 
 
17010
 
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
17011
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
17012
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
17013
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
17014
 
else
17015
 
  lt_cv_prog_compiler_rtti_exceptions=no
17016
 
  ac_outfile=conftest.$ac_objext
17017
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17018
 
   lt_compiler_flag="-fno-rtti -fno-exceptions"
17019
 
   # Insert the option either (1) after the last *FLAGS variable, or
17020
 
   # (2) before a word containing "conftest.", or (3) at the end.
17021
 
   # Note that $ac_compile itself does not contain backslashes and begins
17022
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
17023
 
   # The option is referenced via a variable to avoid confusing sed.
17024
 
   lt_compile=`echo "$ac_compile" | $SED \
17025
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17026
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17027
 
   -e 's:$: $lt_compiler_flag:'`
17028
 
   (eval echo "\"\$as_me:17028: $lt_compile\"" >&5)
17029
 
   (eval "$lt_compile" 2>conftest.err)
17030
 
   ac_status=$?
17031
 
   cat conftest.err >&5
17032
 
   echo "$as_me:17032: \$? = $ac_status" >&5
17033
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
17034
 
     # The compiler can only warn and ignore the option if not recognized
17035
 
     # So say no if there are warnings other than the usual output.
17036
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
17037
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
17038
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
17039
 
       lt_cv_prog_compiler_rtti_exceptions=yes
17040
 
     fi
17041
 
   fi
17042
 
   $rm conftest*
17043
 
 
17044
 
fi
17045
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
17046
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
17047
 
 
17048
 
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
17049
 
    lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
17050
 
else
17051
 
    :
17052
 
fi
17053
 
 
17054
 
fi
17055
 
 
17056
 
lt_prog_compiler_wl_GCJ=
17057
 
lt_prog_compiler_pic_GCJ=
17058
 
lt_prog_compiler_static_GCJ=
17059
 
 
17060
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
17061
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
17062
 
 
17063
 
  if test "$GCC" = yes; then
17064
 
    lt_prog_compiler_wl_GCJ='-Wl,'
17065
 
    lt_prog_compiler_static_GCJ='-static'
17066
 
 
17067
 
    case $host_os in
17068
 
      aix*)
17069
 
      # All AIX code is PIC.
17070
 
      if test "$host_cpu" = ia64; then
17071
 
        # AIX 5 now supports IA64 processor
17072
 
        lt_prog_compiler_static_GCJ='-Bstatic'
17073
 
      fi
17074
 
      ;;
17075
 
 
17076
 
    amigaos*)
17077
 
      # FIXME: we need at least 68020 code to build shared libraries, but
17078
 
      # adding the `-m68020' flag to GCC prevents building anything better,
17079
 
      # like `-m68040'.
17080
 
      lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
17081
 
      ;;
17082
 
 
17083
 
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
17084
 
      # PIC is the default for these OSes.
17085
 
      ;;
17086
 
 
17087
 
    mingw* | cygwin* | pw32* | os2*)
17088
 
      # This hack is so that the source file can tell whether it is being
17089
 
      # built for inclusion in a dll (and should export symbols for example).
17090
 
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
17091
 
      # (--disable-auto-import) libraries
17092
 
 
17093
 
      ;;
17094
 
 
17095
 
    darwin* | rhapsody*)
17096
 
      # PIC is the default on this platform
17097
 
      # Common symbols not allowed in MH_DYLIB files
17098
 
      lt_prog_compiler_pic_GCJ='-fno-common'
17099
 
      ;;
17100
 
 
17101
 
    interix[3-9]*)
17102
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
17103
 
      # Instead, we relocate shared libraries at runtime.
17104
 
      ;;
17105
 
 
17106
 
    msdosdjgpp*)
17107
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
17108
 
      # on systems that don't support them.
17109
 
      lt_prog_compiler_can_build_shared_GCJ=no
17110
 
      enable_shared=no
17111
 
      ;;
17112
 
 
17113
 
    sysv4*MP*)
17114
 
      if test -d /usr/nec; then
17115
 
        lt_prog_compiler_pic_GCJ=-Kconform_pic
17116
 
      fi
17117
 
      ;;
17118
 
 
17119
 
    hpux*)
17120
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
17121
 
      # not for PA HP-UX.
17122
 
      case $host_cpu in
17123
 
      hppa*64*|ia64*)
17124
 
        # +Z the default
17125
 
        ;;
17126
 
      *)
17127
 
        lt_prog_compiler_pic_GCJ='-fPIC'
17128
 
        ;;
17129
 
      esac
17130
 
      ;;
17131
 
 
17132
 
    *)
17133
 
      lt_prog_compiler_pic_GCJ='-fPIC'
17134
 
      ;;
17135
 
    esac
17136
 
  else
17137
 
    # PORTME Check for flag to pass linker flags through the system compiler.
17138
 
    case $host_os in
17139
 
    aix*)
17140
 
      lt_prog_compiler_wl_GCJ='-Wl,'
17141
 
      if test "$host_cpu" = ia64; then
17142
 
        # AIX 5 now supports IA64 processor
17143
 
        lt_prog_compiler_static_GCJ='-Bstatic'
17144
 
      else
17145
 
        lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
17146
 
      fi
17147
 
      ;;
17148
 
      darwin*)
17149
 
        # PIC is the default on this platform
17150
 
        # Common symbols not allowed in MH_DYLIB files
17151
 
       case $cc_basename in
17152
 
         xlc*)
17153
 
         lt_prog_compiler_pic_GCJ='-qnocommon'
17154
 
         lt_prog_compiler_wl_GCJ='-Wl,'
17155
 
         ;;
17156
 
       esac
17157
 
       ;;
17158
 
 
17159
 
    mingw* | cygwin* | pw32* | os2*)
17160
 
      # This hack is so that the source file can tell whether it is being
17161
 
      # built for inclusion in a dll (and should export symbols for example).
17162
 
 
17163
 
      ;;
17164
 
 
17165
 
    hpux9* | hpux10* | hpux11*)
17166
 
      lt_prog_compiler_wl_GCJ='-Wl,'
17167
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
17168
 
      # not for PA HP-UX.
17169
 
      case $host_cpu in
17170
 
      hppa*64*|ia64*)
17171
 
        # +Z the default
17172
 
        ;;
17173
 
      *)
17174
 
        lt_prog_compiler_pic_GCJ='+Z'
17175
 
        ;;
17176
 
      esac
17177
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
17178
 
      lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
17179
 
      ;;
17180
 
 
17181
 
    irix5* | irix6* | nonstopux*)
17182
 
      lt_prog_compiler_wl_GCJ='-Wl,'
17183
 
      # PIC (with -KPIC) is the default.
17184
 
      lt_prog_compiler_static_GCJ='-non_shared'
17185
 
      ;;
17186
 
 
17187
 
    newsos6)
17188
 
      lt_prog_compiler_pic_GCJ='-KPIC'
17189
 
      lt_prog_compiler_static_GCJ='-Bstatic'
17190
 
      ;;
17191
 
 
17192
 
    linux* | k*bsd*-gnu)
17193
 
      case $cc_basename in
17194
 
      icc* | ecc*)
17195
 
        lt_prog_compiler_wl_GCJ='-Wl,'
17196
 
        lt_prog_compiler_pic_GCJ='-KPIC'
17197
 
        lt_prog_compiler_static_GCJ='-static'
17198
 
        ;;
17199
 
      pgcc* | pgf77* | pgf90* | pgf95*)
17200
 
        # Portland Group compilers (*not* the Pentium gcc compiler,
17201
 
        # which looks to be a dead project)
17202
 
        lt_prog_compiler_wl_GCJ='-Wl,'
17203
 
        lt_prog_compiler_pic_GCJ='-fpic'
17204
 
        lt_prog_compiler_static_GCJ='-Bstatic'
17205
 
        ;;
17206
 
      ccc*)
17207
 
        lt_prog_compiler_wl_GCJ='-Wl,'
17208
 
        # All Alpha code is PIC.
17209
 
        lt_prog_compiler_static_GCJ='-non_shared'
17210
 
        ;;
17211
 
      *)
17212
 
        case `$CC -V 2>&1 | sed 5q` in
17213
 
        *Sun\ C*)
17214
 
          # Sun C 5.9
17215
 
          lt_prog_compiler_pic_GCJ='-KPIC'
17216
 
          lt_prog_compiler_static_GCJ='-Bstatic'
17217
 
          lt_prog_compiler_wl_GCJ='-Wl,'
17218
 
          ;;
17219
 
        *Sun\ F*)
17220
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
17221
 
          lt_prog_compiler_pic_GCJ='-KPIC'
17222
 
          lt_prog_compiler_static_GCJ='-Bstatic'
17223
 
          lt_prog_compiler_wl_GCJ=''
17224
 
          ;;
17225
 
        esac
17226
 
        ;;
17227
 
      esac
17228
 
      ;;
17229
 
 
17230
 
    osf3* | osf4* | osf5*)
17231
 
      lt_prog_compiler_wl_GCJ='-Wl,'
17232
 
      # All OSF/1 code is PIC.
17233
 
      lt_prog_compiler_static_GCJ='-non_shared'
17234
 
      ;;
17235
 
 
17236
 
    rdos*)
17237
 
      lt_prog_compiler_static_GCJ='-non_shared'
17238
 
      ;;
17239
 
 
17240
 
    solaris*)
17241
 
      lt_prog_compiler_pic_GCJ='-KPIC'
17242
 
      lt_prog_compiler_static_GCJ='-Bstatic'
17243
 
      case $cc_basename in
17244
 
      f77* | f90* | f95*)
17245
 
        lt_prog_compiler_wl_GCJ='-Qoption ld ';;
17246
 
      *)
17247
 
        lt_prog_compiler_wl_GCJ='-Wl,';;
17248
 
      esac
17249
 
      ;;
17250
 
 
17251
 
    sunos4*)
17252
 
      lt_prog_compiler_wl_GCJ='-Qoption ld '
17253
 
      lt_prog_compiler_pic_GCJ='-PIC'
17254
 
      lt_prog_compiler_static_GCJ='-Bstatic'
17255
 
      ;;
17256
 
 
17257
 
    sysv4 | sysv4.2uw2* | sysv4.3*)
17258
 
      lt_prog_compiler_wl_GCJ='-Wl,'
17259
 
      lt_prog_compiler_pic_GCJ='-KPIC'
17260
 
      lt_prog_compiler_static_GCJ='-Bstatic'
17261
 
      ;;
17262
 
 
17263
 
    sysv4*MP*)
17264
 
      if test -d /usr/nec ;then
17265
 
        lt_prog_compiler_pic_GCJ='-Kconform_pic'
17266
 
        lt_prog_compiler_static_GCJ='-Bstatic'
17267
 
      fi
17268
 
      ;;
17269
 
 
17270
 
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
17271
 
      lt_prog_compiler_wl_GCJ='-Wl,'
17272
 
      lt_prog_compiler_pic_GCJ='-KPIC'
17273
 
      lt_prog_compiler_static_GCJ='-Bstatic'
17274
 
      ;;
17275
 
 
17276
 
    unicos*)
17277
 
      lt_prog_compiler_wl_GCJ='-Wl,'
17278
 
      lt_prog_compiler_can_build_shared_GCJ=no
17279
 
      ;;
17280
 
 
17281
 
    uts4*)
17282
 
      lt_prog_compiler_pic_GCJ='-pic'
17283
 
      lt_prog_compiler_static_GCJ='-Bstatic'
17284
 
      ;;
17285
 
 
17286
 
    *)
17287
 
      lt_prog_compiler_can_build_shared_GCJ=no
17288
 
      ;;
17289
 
    esac
17290
 
  fi
17291
 
 
17292
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
17293
 
echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
17294
 
 
17295
 
#
17296
 
# Check to make sure the PIC flag actually works.
17297
 
#
17298
 
if test -n "$lt_prog_compiler_pic_GCJ"; then
17299
 
 
17300
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
17301
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
17302
 
if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then
17303
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
17304
 
else
17305
 
  lt_cv_prog_compiler_pic_works_GCJ=no
17306
 
  ac_outfile=conftest.$ac_objext
17307
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17308
 
   lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
17309
 
   # Insert the option either (1) after the last *FLAGS variable, or
17310
 
   # (2) before a word containing "conftest.", or (3) at the end.
17311
 
   # Note that $ac_compile itself does not contain backslashes and begins
17312
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
17313
 
   # The option is referenced via a variable to avoid confusing sed.
17314
 
   lt_compile=`echo "$ac_compile" | $SED \
17315
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17316
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17317
 
   -e 's:$: $lt_compiler_flag:'`
17318
 
   (eval echo "\"\$as_me:17318: $lt_compile\"" >&5)
17319
 
   (eval "$lt_compile" 2>conftest.err)
17320
 
   ac_status=$?
17321
 
   cat conftest.err >&5
17322
 
   echo "$as_me:17322: \$? = $ac_status" >&5
17323
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
17324
 
     # The compiler can only warn and ignore the option if not recognized
17325
 
     # So say no if there are warnings other than the usual output.
17326
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
17327
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
17328
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
17329
 
       lt_cv_prog_compiler_pic_works_GCJ=yes
17330
 
     fi
17331
 
   fi
17332
 
   $rm conftest*
17333
 
 
17334
 
fi
17335
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
17336
 
echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
17337
 
 
17338
 
if test x"$lt_cv_prog_compiler_pic_works_GCJ" = xyes; then
17339
 
    case $lt_prog_compiler_pic_GCJ in
17340
 
     "" | " "*) ;;
17341
 
     *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
17342
 
     esac
17343
 
else
17344
 
    lt_prog_compiler_pic_GCJ=
17345
 
     lt_prog_compiler_can_build_shared_GCJ=no
17346
 
fi
17347
 
 
17348
 
fi
17349
 
case $host_os in
17350
 
  # For platforms which do not support PIC, -DPIC is meaningless:
17351
 
  *djgpp*)
17352
 
    lt_prog_compiler_pic_GCJ=
17353
 
    ;;
17354
 
  *)
17355
 
    lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
17356
 
    ;;
17357
 
esac
17358
 
 
17359
 
#
17360
 
# Check to make sure the static flag actually works.
17361
 
#
17362
 
wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
17363
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
17364
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
17365
 
if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then
17366
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
17367
 
else
17368
 
  lt_cv_prog_compiler_static_works_GCJ=no
17369
 
   save_LDFLAGS="$LDFLAGS"
17370
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
17371
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
17372
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
17373
 
     # The linker can only warn and ignore the option if not recognized
17374
 
     # So say no if there are warnings
17375
 
     if test -s conftest.err; then
17376
 
       # Append any errors to the config.log.
17377
 
       cat conftest.err 1>&5
17378
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
17379
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
17380
 
       if diff conftest.exp conftest.er2 >/dev/null; then
17381
 
         lt_cv_prog_compiler_static_works_GCJ=yes
17382
 
       fi
17383
 
     else
17384
 
       lt_cv_prog_compiler_static_works_GCJ=yes
17385
 
     fi
17386
 
   fi
17387
 
   $rm -r conftest*
17388
 
   LDFLAGS="$save_LDFLAGS"
17389
 
 
17390
 
fi
17391
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
17392
 
echo "${ECHO_T}$lt_cv_prog_compiler_static_works_GCJ" >&6; }
17393
 
 
17394
 
if test x"$lt_cv_prog_compiler_static_works_GCJ" = xyes; then
17395
 
    :
17396
 
else
17397
 
    lt_prog_compiler_static_GCJ=
17398
 
fi
17399
 
 
17400
 
 
17401
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
17402
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
17403
 
if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
17404
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
17405
 
else
17406
 
  lt_cv_prog_compiler_c_o_GCJ=no
17407
 
   $rm -r conftest 2>/dev/null
17408
 
   mkdir conftest
17409
 
   cd conftest
17410
 
   mkdir out
17411
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17412
 
 
17413
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
17414
 
   # Insert the option either (1) after the last *FLAGS variable, or
17415
 
   # (2) before a word containing "conftest.", or (3) at the end.
17416
 
   # Note that $ac_compile itself does not contain backslashes and begins
17417
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
17418
 
   lt_compile=`echo "$ac_compile" | $SED \
17419
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17420
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17421
 
   -e 's:$: $lt_compiler_flag:'`
17422
 
   (eval echo "\"\$as_me:17422: $lt_compile\"" >&5)
17423
 
   (eval "$lt_compile" 2>out/conftest.err)
17424
 
   ac_status=$?
17425
 
   cat out/conftest.err >&5
17426
 
   echo "$as_me:17426: \$? = $ac_status" >&5
17427
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
17428
 
   then
17429
 
     # The compiler can only warn and ignore the option if not recognized
17430
 
     # So say no if there are warnings
17431
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
17432
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
17433
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
17434
 
       lt_cv_prog_compiler_c_o_GCJ=yes
17435
 
     fi
17436
 
   fi
17437
 
   chmod u+w . 2>&5
17438
 
   $rm conftest*
17439
 
   # SGI C++ compiler will create directory out/ii_files/ for
17440
 
   # template instantiation
17441
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
17442
 
   $rm out/* && rmdir out
17443
 
   cd ..
17444
 
   rmdir conftest
17445
 
   $rm conftest*
17446
 
 
17447
 
fi
17448
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
17449
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
17450
 
 
17451
 
 
17452
 
hard_links="nottested"
17453
 
if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
17454
 
  # do not overwrite the value of need_locks provided by the user
17455
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
17456
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
17457
 
  hard_links=yes
17458
 
  $rm conftest*
17459
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
17460
 
  touch conftest.a
17461
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
17462
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
17463
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
17464
 
echo "${ECHO_T}$hard_links" >&6; }
17465
 
  if test "$hard_links" = no; then
17466
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
17467
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
17468
 
    need_locks=warn
17469
 
  fi
17470
 
else
17471
 
  need_locks=no
17472
 
fi
17473
 
 
17474
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17475
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
17476
 
 
17477
 
  runpath_var=
17478
 
  allow_undefined_flag_GCJ=
17479
 
  enable_shared_with_static_runtimes_GCJ=no
17480
 
  archive_cmds_GCJ=
17481
 
  archive_expsym_cmds_GCJ=
17482
 
  old_archive_From_new_cmds_GCJ=
17483
 
  old_archive_from_expsyms_cmds_GCJ=
17484
 
  export_dynamic_flag_spec_GCJ=
17485
 
  whole_archive_flag_spec_GCJ=
17486
 
  thread_safe_flag_spec_GCJ=
17487
 
  hardcode_libdir_flag_spec_GCJ=
17488
 
  hardcode_libdir_flag_spec_ld_GCJ=
17489
 
  hardcode_libdir_separator_GCJ=
17490
 
  hardcode_direct_GCJ=no
17491
 
  hardcode_minus_L_GCJ=no
17492
 
  hardcode_shlibpath_var_GCJ=unsupported
17493
 
  link_all_deplibs_GCJ=unknown
17494
 
  hardcode_automatic_GCJ=no
17495
 
  module_cmds_GCJ=
17496
 
  module_expsym_cmds_GCJ=
17497
 
  always_export_symbols_GCJ=no
17498
 
  export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17499
 
  # include_expsyms should be a list of space-separated symbols to be *always*
17500
 
  # included in the symbol list
17501
 
  include_expsyms_GCJ=
17502
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
17503
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
17504
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
17505
 
  # as well as any symbol that contains `d'.
17506
 
  exclude_expsyms_GCJ='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
17507
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
17508
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
17509
 
  # the symbol is explicitly referenced.  Since portable code cannot
17510
 
  # rely on this symbol name, it's probably fine to never include it in
17511
 
  # preloaded symbol tables.
17512
 
  # Exclude shared library initialization/finalization symbols.
17513
 
  extract_expsyms_cmds=
17514
 
  # Just being paranoid about ensuring that cc_basename is set.
17515
 
  for cc_temp in $compiler""; do
17516
 
  case $cc_temp in
17517
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
17518
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
17519
 
    \-*) ;;
17520
 
    *) break;;
17521
 
  esac
17522
 
done
17523
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17524
 
 
17525
 
  case $host_os in
17526
 
  cygwin* | mingw* | pw32*)
17527
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
17528
 
    # When not using gcc, we currently assume that we are using
17529
 
    # Microsoft Visual C++.
17530
 
    if test "$GCC" != yes; then
17531
 
      with_gnu_ld=no
17532
 
    fi
17533
 
    ;;
17534
 
  interix*)
17535
 
    # we just hope/assume this is gcc and not c89 (= MSVC++)
17536
 
    with_gnu_ld=yes
17537
 
    ;;
17538
 
  openbsd*)
17539
 
    with_gnu_ld=no
17540
 
    ;;
17541
 
  esac
17542
 
 
17543
 
  ld_shlibs_GCJ=yes
17544
 
  if test "$with_gnu_ld" = yes; then
17545
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
17546
 
    wlarc='${wl}'
17547
 
 
17548
 
    # Set some defaults for GNU ld with shared library support. These
17549
 
    # are reset later if shared libraries are not supported. Putting them
17550
 
    # here allows them to be overridden if necessary.
17551
 
    runpath_var=LD_RUN_PATH
17552
 
    hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
17553
 
    export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
17554
 
    # ancient GNU ld didn't support --whole-archive et. al.
17555
 
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
17556
 
        whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
17557
 
      else
17558
 
        whole_archive_flag_spec_GCJ=
17559
 
    fi
17560
 
    supports_anon_versioning=no
17561
 
    case `$LD -v 2>/dev/null` in
17562
 
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
17563
 
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
17564
 
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
17565
 
      *\ 2.11.*) ;; # other 2.11 versions
17566
 
      *) supports_anon_versioning=yes ;;
17567
 
    esac
17568
 
 
17569
 
    # See if GNU ld supports shared libraries.
17570
 
    case $host_os in
17571
 
    aix[3-9]*)
17572
 
      # On AIX/PPC, the GNU linker is very broken
17573
 
      if test "$host_cpu" != ia64; then
17574
 
        ld_shlibs_GCJ=no
17575
 
        cat <<EOF 1>&2
17576
 
 
17577
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
17578
 
*** to be unable to reliably create shared libraries on AIX.
17579
 
*** Therefore, libtool is disabling shared libraries support.  If you
17580
 
*** really care for shared libraries, you may want to modify your PATH
17581
 
*** so that a non-GNU linker is found, and then restart.
17582
 
 
17583
 
EOF
17584
 
      fi
17585
 
      ;;
17586
 
 
17587
 
    amigaos*)
17588
 
      archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
17589
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
17590
 
      hardcode_minus_L_GCJ=yes
17591
 
 
17592
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
17593
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
17594
 
      # to version 4, is to share data among multiple programs linked
17595
 
      # with the same dynamic library.  Since this doesn't match the
17596
 
      # behavior of shared libraries on other platforms, we can't use
17597
 
      # them.
17598
 
      ld_shlibs_GCJ=no
17599
 
      ;;
17600
 
 
17601
 
    beos*)
17602
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17603
 
        allow_undefined_flag_GCJ=unsupported
17604
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
17605
 
        # support --undefined.  This deserves some investigation.  FIXME
17606
 
        archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17607
 
      else
17608
 
        ld_shlibs_GCJ=no
17609
 
      fi
17610
 
      ;;
17611
 
 
17612
 
    cygwin* | mingw* | pw32*)
17613
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
17614
 
      # as there is no search path for DLLs.
17615
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
17616
 
      allow_undefined_flag_GCJ=unsupported
17617
 
      always_export_symbols_GCJ=no
17618
 
      enable_shared_with_static_runtimes_GCJ=yes
17619
 
      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
17620
 
 
17621
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
17622
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17623
 
        # If the export-symbols file already is a .def file (1st line
17624
 
        # is EXPORTS), use it as is; otherwise, prepend...
17625
 
        archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
17626
 
          cp $export_symbols $output_objdir/$soname.def;
17627
 
        else
17628
 
          echo EXPORTS > $output_objdir/$soname.def;
17629
 
          cat $export_symbols >> $output_objdir/$soname.def;
17630
 
        fi~
17631
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17632
 
      else
17633
 
        ld_shlibs_GCJ=no
17634
 
      fi
17635
 
      ;;
17636
 
 
17637
 
    interix[3-9]*)
17638
 
      hardcode_direct_GCJ=no
17639
 
      hardcode_shlibpath_var_GCJ=no
17640
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
17641
 
      export_dynamic_flag_spec_GCJ='${wl}-E'
17642
 
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
17643
 
      # Instead, shared libraries are loaded at an image base (0x10000000 by
17644
 
      # default) and relocated if they conflict, which is a slow very memory
17645
 
      # consuming and fragmenting process.  To avoid this, we pick a random,
17646
 
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
17647
 
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
17648
 
      archive_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
17649
 
      archive_expsym_cmds_GCJ='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
17650
 
      ;;
17651
 
 
17652
 
    gnu* | linux* | k*bsd*-gnu)
17653
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17654
 
        tmp_addflag=
17655
 
        case $cc_basename,$host_cpu in
17656
 
        pgcc*)                          # Portland Group C compiler
17657
 
          whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
17658
 
          tmp_addflag=' $pic_flag'
17659
 
          ;;
17660
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
17661
 
          whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
17662
 
          tmp_addflag=' $pic_flag -Mnomain' ;;
17663
 
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
17664
 
          tmp_addflag=' -i_dynamic' ;;
17665
 
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
17666
 
          tmp_addflag=' -i_dynamic -nofor_main' ;;
17667
 
        ifc* | ifort*)                  # Intel Fortran compiler
17668
 
          tmp_addflag=' -nofor_main' ;;
17669
 
        esac
17670
 
        case `$CC -V 2>&1 | sed 5q` in
17671
 
        *Sun\ C*)                       # Sun C 5.9
17672
 
          whole_archive_flag_spec_GCJ='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
17673
 
          tmp_sharedflag='-G' ;;
17674
 
        *Sun\ F*)                       # Sun Fortran 8.3
17675
 
          tmp_sharedflag='-G' ;;
17676
 
        *)
17677
 
          tmp_sharedflag='-shared' ;;
17678
 
        esac
17679
 
        archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17680
 
 
17681
 
        if test $supports_anon_versioning = yes; then
17682
 
          archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
17683
 
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
17684
 
  $echo "local: *; };" >> $output_objdir/$libname.ver~
17685
 
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
17686
 
        fi
17687
 
      else
17688
 
        ld_shlibs_GCJ=no
17689
 
      fi
17690
 
      ;;
17691
 
 
17692
 
    netbsd*)
17693
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
17694
 
        archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
17695
 
        wlarc=
17696
 
      else
17697
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17698
 
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17699
 
      fi
17700
 
      ;;
17701
 
 
17702
 
    solaris*)
17703
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
17704
 
        ld_shlibs_GCJ=no
17705
 
        cat <<EOF 1>&2
17706
 
 
17707
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
17708
 
*** create shared libraries on Solaris systems.  Therefore, libtool
17709
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
17710
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
17711
 
*** your PATH or compiler configuration so that the native linker is
17712
 
*** used, and then restart.
17713
 
 
17714
 
EOF
17715
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17716
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17717
 
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17718
 
      else
17719
 
        ld_shlibs_GCJ=no
17720
 
      fi
17721
 
      ;;
17722
 
 
17723
 
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
17724
 
      case `$LD -v 2>&1` in
17725
 
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
17726
 
        ld_shlibs_GCJ=no
17727
 
        cat <<_LT_EOF 1>&2
17728
 
 
17729
 
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
17730
 
*** reliably create shared libraries on SCO systems.  Therefore, libtool
17731
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
17732
 
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
17733
 
*** your PATH or compiler configuration so that the native linker is
17734
 
*** used, and then restart.
17735
 
 
17736
 
_LT_EOF
17737
 
        ;;
17738
 
        *)
17739
 
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17740
 
            hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
17741
 
            archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
17742
 
            archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
17743
 
          else
17744
 
            ld_shlibs_GCJ=no
17745
 
          fi
17746
 
        ;;
17747
 
      esac
17748
 
      ;;
17749
 
 
17750
 
    sunos4*)
17751
 
      archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17752
 
      wlarc=
17753
 
      hardcode_direct_GCJ=yes
17754
 
      hardcode_shlibpath_var_GCJ=no
17755
 
      ;;
17756
 
 
17757
 
    *)
17758
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17759
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17760
 
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17761
 
      else
17762
 
        ld_shlibs_GCJ=no
17763
 
      fi
17764
 
      ;;
17765
 
    esac
17766
 
 
17767
 
    if test "$ld_shlibs_GCJ" = no; then
17768
 
      runpath_var=
17769
 
      hardcode_libdir_flag_spec_GCJ=
17770
 
      export_dynamic_flag_spec_GCJ=
17771
 
      whole_archive_flag_spec_GCJ=
17772
 
    fi
17773
 
  else
17774
 
    # PORTME fill in a description of your system's linker (not GNU ld)
17775
 
    case $host_os in
17776
 
    aix3*)
17777
 
      allow_undefined_flag_GCJ=unsupported
17778
 
      always_export_symbols_GCJ=yes
17779
 
      archive_expsym_cmds_GCJ='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
17780
 
      # Note: this linker hardcodes the directories in LIBPATH if there
17781
 
      # are no directories specified by -L.
17782
 
      hardcode_minus_L_GCJ=yes
17783
 
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
17784
 
        # Neither direct hardcoding nor static linking is supported with a
17785
 
        # broken collect2.
17786
 
        hardcode_direct_GCJ=unsupported
17787
 
      fi
17788
 
      ;;
17789
 
 
17790
 
    aix[4-9]*)
17791
 
      if test "$host_cpu" = ia64; then
17792
 
        # On IA64, the linker does run time linking by default, so we don't
17793
 
        # have to do anything special.
17794
 
        aix_use_runtimelinking=no
17795
 
        exp_sym_flag='-Bexport'
17796
 
        no_entry_flag=""
17797
 
      else
17798
 
        # If we're using GNU nm, then we don't want the "-C" option.
17799
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
17800
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
17801
 
          export_symbols_cmds_GCJ='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
17802
 
        else
17803
 
          export_symbols_cmds_GCJ='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
17804
 
        fi
17805
 
        aix_use_runtimelinking=no
17806
 
 
17807
 
        # Test if we are trying to use run time linking or normal
17808
 
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
17809
 
        # need to do runtime linking.
17810
 
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
17811
 
          for ld_flag in $LDFLAGS; do
17812
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
17813
 
            aix_use_runtimelinking=yes
17814
 
            break
17815
 
          fi
17816
 
          done
17817
 
          ;;
17818
 
        esac
17819
 
 
17820
 
        exp_sym_flag='-bexport'
17821
 
        no_entry_flag='-bnoentry'
17822
 
      fi
17823
 
 
17824
 
      # When large executables or shared objects are built, AIX ld can
17825
 
      # have problems creating the table of contents.  If linking a library
17826
 
      # or program results in "error TOC overflow" add -mminimal-toc to
17827
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
17828
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
17829
 
 
17830
 
      archive_cmds_GCJ=''
17831
 
      hardcode_direct_GCJ=yes
17832
 
      hardcode_libdir_separator_GCJ=':'
17833
 
      link_all_deplibs_GCJ=yes
17834
 
 
17835
 
      if test "$GCC" = yes; then
17836
 
        case $host_os in aix4.[012]|aix4.[012].*)
17837
 
        # We only want to do this on AIX 4.2 and lower, the check
17838
 
        # below for broken collect2 doesn't work under 4.3+
17839
 
          collect2name=`${CC} -print-prog-name=collect2`
17840
 
          if test -f "$collect2name" && \
17841
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
17842
 
          then
17843
 
          # We have reworked collect2
17844
 
          :
17845
 
          else
17846
 
          # We have old collect2
17847
 
          hardcode_direct_GCJ=unsupported
17848
 
          # It fails to find uninstalled libraries when the uninstalled
17849
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
17850
 
          # to unsupported forces relinking
17851
 
          hardcode_minus_L_GCJ=yes
17852
 
          hardcode_libdir_flag_spec_GCJ='-L$libdir'
17853
 
          hardcode_libdir_separator_GCJ=
17854
 
          fi
17855
 
          ;;
17856
 
        esac
17857
 
        shared_flag='-shared'
17858
 
        if test "$aix_use_runtimelinking" = yes; then
17859
 
          shared_flag="$shared_flag "'${wl}-G'
17860
 
        fi
17861
 
      else
17862
 
        # not using gcc
17863
 
        if test "$host_cpu" = ia64; then
17864
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
17865
 
        # chokes on -Wl,-G. The following line is correct:
17866
 
          shared_flag='-G'
17867
 
        else
17868
 
          if test "$aix_use_runtimelinking" = yes; then
17869
 
            shared_flag='${wl}-G'
17870
 
          else
17871
 
            shared_flag='${wl}-bM:SRE'
17872
 
          fi
17873
 
        fi
17874
 
      fi
17875
 
 
17876
 
      # It seems that -bexpall does not export symbols beginning with
17877
 
      # underscore (_), so it is better to generate a list of symbols to export.
17878
 
      always_export_symbols_GCJ=yes
17879
 
      if test "$aix_use_runtimelinking" = yes; then
17880
 
        # Warning - without using the other runtime loading flags (-brtl),
17881
 
        # -berok will link without error, but may produce a broken library.
17882
 
        allow_undefined_flag_GCJ='-berok'
17883
 
       # Determine the default libpath from the value encoded in an empty executable.
17884
 
       cat >conftest.$ac_ext <<_ACEOF
17885
 
/* confdefs.h.  */
17886
 
_ACEOF
17887
 
cat confdefs.h >>conftest.$ac_ext
17888
 
cat >>conftest.$ac_ext <<_ACEOF
17889
 
/* end confdefs.h.  */
17890
 
 
17891
 
int
17892
 
main ()
17893
 
{
17894
 
 
17895
 
  ;
17896
 
  return 0;
17897
 
}
17898
 
_ACEOF
17899
 
rm -f conftest.$ac_objext conftest$ac_exeext
17900
 
if { (ac_try="$ac_link"
17901
 
case "(($ac_try" in
17902
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17903
 
  *) ac_try_echo=$ac_try;;
17904
 
esac
17905
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17906
 
  (eval "$ac_link") 2>conftest.er1
17907
 
  ac_status=$?
17908
 
  grep -v '^ *+' conftest.er1 >conftest.err
17909
 
  rm -f conftest.er1
17910
 
  cat conftest.err >&5
17911
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17912
 
  (exit $ac_status); } && {
17913
 
         test -z "$ac_c_werror_flag" ||
17914
 
         test ! -s conftest.err
17915
 
       } && test -s conftest$ac_exeext &&
17916
 
       $as_test_x conftest$ac_exeext; then
17917
 
 
17918
 
lt_aix_libpath_sed='
17919
 
    /Import File Strings/,/^$/ {
17920
 
        /^0/ {
17921
 
            s/^0  *\(.*\)$/\1/
17922
 
            p
17923
 
        }
17924
 
    }'
17925
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17926
 
# Check for a 64-bit object if we didn't find anything.
17927
 
if test -z "$aix_libpath"; then
17928
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17929
 
fi
17930
 
else
17931
 
  echo "$as_me: failed program was:" >&5
17932
 
sed 's/^/| /' conftest.$ac_ext >&5
17933
 
 
17934
 
 
17935
 
fi
17936
 
 
17937
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17938
 
      conftest$ac_exeext conftest.$ac_ext
17939
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17940
 
 
17941
 
       hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
17942
 
        archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
17943
 
       else
17944
 
        if test "$host_cpu" = ia64; then
17945
 
          hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
17946
 
          allow_undefined_flag_GCJ="-z nodefs"
17947
 
          archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
17948
 
        else
17949
 
         # Determine the default libpath from the value encoded in an empty executable.
17950
 
         cat >conftest.$ac_ext <<_ACEOF
17951
 
/* confdefs.h.  */
17952
 
_ACEOF
17953
 
cat confdefs.h >>conftest.$ac_ext
17954
 
cat >>conftest.$ac_ext <<_ACEOF
17955
 
/* end confdefs.h.  */
17956
 
 
17957
 
int
17958
 
main ()
17959
 
{
17960
 
 
17961
 
  ;
17962
 
  return 0;
17963
 
}
17964
 
_ACEOF
17965
 
rm -f conftest.$ac_objext conftest$ac_exeext
17966
 
if { (ac_try="$ac_link"
17967
 
case "(($ac_try" in
17968
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17969
 
  *) ac_try_echo=$ac_try;;
17970
 
esac
17971
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17972
 
  (eval "$ac_link") 2>conftest.er1
17973
 
  ac_status=$?
17974
 
  grep -v '^ *+' conftest.er1 >conftest.err
17975
 
  rm -f conftest.er1
17976
 
  cat conftest.err >&5
17977
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17978
 
  (exit $ac_status); } && {
17979
 
         test -z "$ac_c_werror_flag" ||
17980
 
         test ! -s conftest.err
17981
 
       } && test -s conftest$ac_exeext &&
17982
 
       $as_test_x conftest$ac_exeext; then
17983
 
 
17984
 
lt_aix_libpath_sed='
17985
 
    /Import File Strings/,/^$/ {
17986
 
        /^0/ {
17987
 
            s/^0  *\(.*\)$/\1/
17988
 
            p
17989
 
        }
17990
 
    }'
17991
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17992
 
# Check for a 64-bit object if we didn't find anything.
17993
 
if test -z "$aix_libpath"; then
17994
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17995
 
fi
17996
 
else
17997
 
  echo "$as_me: failed program was:" >&5
17998
 
sed 's/^/| /' conftest.$ac_ext >&5
17999
 
 
18000
 
 
18001
 
fi
18002
 
 
18003
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18004
 
      conftest$ac_exeext conftest.$ac_ext
18005
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18006
 
 
18007
 
         hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
18008
 
          # Warning - without using the other run time loading flags,
18009
 
          # -berok will link without error, but may produce a broken library.
18010
 
          no_undefined_flag_GCJ=' ${wl}-bernotok'
18011
 
          allow_undefined_flag_GCJ=' ${wl}-berok'
18012
 
          # Exported symbols can be pulled into shared objects from archives
18013
 
          whole_archive_flag_spec_GCJ='$convenience'
18014
 
          archive_cmds_need_lc_GCJ=yes
18015
 
          # This is similar to how AIX traditionally builds its shared libraries.
18016
 
          archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
18017
 
        fi
18018
 
      fi
18019
 
      ;;
18020
 
 
18021
 
    amigaos*)
18022
 
      archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
18023
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
18024
 
      hardcode_minus_L_GCJ=yes
18025
 
      # see comment about different semantics on the GNU ld section
18026
 
      ld_shlibs_GCJ=no
18027
 
      ;;
18028
 
 
18029
 
    bsdi[45]*)
18030
 
      export_dynamic_flag_spec_GCJ=-rdynamic
18031
 
      ;;
18032
 
 
18033
 
    cygwin* | mingw* | pw32*)
18034
 
      # When not using gcc, we currently assume that we are using
18035
 
      # Microsoft Visual C++.
18036
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
18037
 
      # no search path for DLLs.
18038
 
      hardcode_libdir_flag_spec_GCJ=' '
18039
 
      allow_undefined_flag_GCJ=unsupported
18040
 
      # Tell ltmain to make .lib files, not .a files.
18041
 
      libext=lib
18042
 
      # Tell ltmain to make .dll files, not .so files.
18043
 
      shrext_cmds=".dll"
18044
 
      # FIXME: Setting linknames here is a bad hack.
18045
 
      archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
18046
 
      # The linker will automatically build a .lib file if we build a DLL.
18047
 
      old_archive_From_new_cmds_GCJ='true'
18048
 
      # FIXME: Should let the user specify the lib program.
18049
 
      old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs'
18050
 
      fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
18051
 
      enable_shared_with_static_runtimes_GCJ=yes
18052
 
      ;;
18053
 
 
18054
 
    darwin* | rhapsody*)
18055
 
      case $host_os in
18056
 
        rhapsody* | darwin1.[012])
18057
 
         allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
18058
 
         ;;
18059
 
       *) # Darwin 1.3 on
18060
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
18061
 
           allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
18062
 
         else
18063
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
18064
 
             10.[012])
18065
 
               allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
18066
 
               ;;
18067
 
             10.*)
18068
 
               allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
18069
 
               ;;
18070
 
           esac
18071
 
         fi
18072
 
         ;;
18073
 
      esac
18074
 
      archive_cmds_need_lc_GCJ=no
18075
 
      hardcode_direct_GCJ=no
18076
 
      hardcode_automatic_GCJ=yes
18077
 
      hardcode_shlibpath_var_GCJ=unsupported
18078
 
      whole_archive_flag_spec_GCJ=''
18079
 
      link_all_deplibs_GCJ=yes
18080
 
    if test "$GCC" = yes ; then
18081
 
        output_verbose_link_cmd='echo'
18082
 
        archive_cmds_GCJ="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
18083
 
        module_cmds_GCJ="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
18084
 
        archive_expsym_cmds_GCJ="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
18085
 
        module_expsym_cmds_GCJ="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
18086
 
    else
18087
 
      case $cc_basename in
18088
 
        xlc*)
18089
 
         output_verbose_link_cmd='echo'
18090
 
         archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
18091
 
         module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
18092
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
18093
 
         archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
18094
 
          module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
18095
 
          ;;
18096
 
       *)
18097
 
         ld_shlibs_GCJ=no
18098
 
          ;;
18099
 
      esac
18100
 
    fi
18101
 
      ;;
18102
 
 
18103
 
    dgux*)
18104
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18105
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
18106
 
      hardcode_shlibpath_var_GCJ=no
18107
 
      ;;
18108
 
 
18109
 
    freebsd1*)
18110
 
      ld_shlibs_GCJ=no
18111
 
      ;;
18112
 
 
18113
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
18114
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
18115
 
    # does not break anything, and helps significantly (at the cost of a little
18116
 
    # extra space).
18117
 
    freebsd2.2*)
18118
 
      archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
18119
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
18120
 
      hardcode_direct_GCJ=yes
18121
 
      hardcode_shlibpath_var_GCJ=no
18122
 
      ;;
18123
 
 
18124
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
18125
 
    freebsd2*)
18126
 
      archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18127
 
      hardcode_direct_GCJ=yes
18128
 
      hardcode_minus_L_GCJ=yes
18129
 
      hardcode_shlibpath_var_GCJ=no
18130
 
      ;;
18131
 
 
18132
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
18133
 
    freebsd* | dragonfly*)
18134
 
      archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
18135
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
18136
 
      hardcode_direct_GCJ=yes
18137
 
      hardcode_shlibpath_var_GCJ=no
18138
 
      ;;
18139
 
 
18140
 
    hpux9*)
18141
 
      if test "$GCC" = yes; then
18142
 
        archive_cmds_GCJ='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
18143
 
      else
18144
 
        archive_cmds_GCJ='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
18145
 
      fi
18146
 
      hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
18147
 
      hardcode_libdir_separator_GCJ=:
18148
 
      hardcode_direct_GCJ=yes
18149
 
 
18150
 
      # hardcode_minus_L: Not really in the search PATH,
18151
 
      # but as the default location of the library.
18152
 
      hardcode_minus_L_GCJ=yes
18153
 
      export_dynamic_flag_spec_GCJ='${wl}-E'
18154
 
      ;;
18155
 
 
18156
 
    hpux10*)
18157
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
18158
 
        archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18159
 
      else
18160
 
        archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
18161
 
      fi
18162
 
      if test "$with_gnu_ld" = no; then
18163
 
        hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
18164
 
        hardcode_libdir_separator_GCJ=:
18165
 
 
18166
 
        hardcode_direct_GCJ=yes
18167
 
        export_dynamic_flag_spec_GCJ='${wl}-E'
18168
 
 
18169
 
        # hardcode_minus_L: Not really in the search PATH,
18170
 
        # but as the default location of the library.
18171
 
        hardcode_minus_L_GCJ=yes
18172
 
      fi
18173
 
      ;;
18174
 
 
18175
 
    hpux11*)
18176
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
18177
 
        case $host_cpu in
18178
 
        hppa*64*)
18179
 
          archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18180
 
          ;;
18181
 
        ia64*)
18182
 
          archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
18183
 
          ;;
18184
 
        *)
18185
 
          archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18186
 
          ;;
18187
 
        esac
18188
 
      else
18189
 
        case $host_cpu in
18190
 
        hppa*64*)
18191
 
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18192
 
          ;;
18193
 
        ia64*)
18194
 
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
18195
 
          ;;
18196
 
        *)
18197
 
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18198
 
          ;;
18199
 
        esac
18200
 
      fi
18201
 
      if test "$with_gnu_ld" = no; then
18202
 
        hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
18203
 
        hardcode_libdir_separator_GCJ=:
18204
 
 
18205
 
        case $host_cpu in
18206
 
        hppa*64*|ia64*)
18207
 
          hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
18208
 
          hardcode_direct_GCJ=no
18209
 
          hardcode_shlibpath_var_GCJ=no
18210
 
          ;;
18211
 
        *)
18212
 
          hardcode_direct_GCJ=yes
18213
 
          export_dynamic_flag_spec_GCJ='${wl}-E'
18214
 
 
18215
 
          # hardcode_minus_L: Not really in the search PATH,
18216
 
          # but as the default location of the library.
18217
 
          hardcode_minus_L_GCJ=yes
18218
 
          ;;
18219
 
        esac
18220
 
      fi
18221
 
      ;;
18222
 
 
18223
 
    irix5* | irix6* | nonstopux*)
18224
 
      if test "$GCC" = yes; then
18225
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
18226
 
      else
18227
 
        archive_cmds_GCJ='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
18228
 
        hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
18229
 
      fi
18230
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
18231
 
      hardcode_libdir_separator_GCJ=:
18232
 
      link_all_deplibs_GCJ=yes
18233
 
      ;;
18234
 
 
18235
 
    netbsd*)
18236
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
18237
 
        archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
18238
 
      else
18239
 
        archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
18240
 
      fi
18241
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
18242
 
      hardcode_direct_GCJ=yes
18243
 
      hardcode_shlibpath_var_GCJ=no
18244
 
      ;;
18245
 
 
18246
 
    newsos6)
18247
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18248
 
      hardcode_direct_GCJ=yes
18249
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
18250
 
      hardcode_libdir_separator_GCJ=:
18251
 
      hardcode_shlibpath_var_GCJ=no
18252
 
      ;;
18253
 
 
18254
 
    openbsd*)
18255
 
      if test -f /usr/libexec/ld.so; then
18256
 
        hardcode_direct_GCJ=yes
18257
 
        hardcode_shlibpath_var_GCJ=no
18258
 
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18259
 
          archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18260
 
          archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
18261
 
          hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
18262
 
          export_dynamic_flag_spec_GCJ='${wl}-E'
18263
 
        else
18264
 
          case $host_os in
18265
 
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
18266
 
             archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18267
 
             hardcode_libdir_flag_spec_GCJ='-R$libdir'
18268
 
             ;;
18269
 
           *)
18270
 
             archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18271
 
             hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
18272
 
             ;;
18273
 
          esac
18274
 
        fi
18275
 
      else
18276
 
        ld_shlibs_GCJ=no
18277
 
      fi
18278
 
      ;;
18279
 
 
18280
 
    os2*)
18281
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
18282
 
      hardcode_minus_L_GCJ=yes
18283
 
      allow_undefined_flag_GCJ=unsupported
18284
 
      archive_cmds_GCJ='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
18285
 
      old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
18286
 
      ;;
18287
 
 
18288
 
    osf3*)
18289
 
      if test "$GCC" = yes; then
18290
 
        allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
18291
 
        archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
18292
 
      else
18293
 
        allow_undefined_flag_GCJ=' -expect_unresolved \*'
18294
 
        archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
18295
 
      fi
18296
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
18297
 
      hardcode_libdir_separator_GCJ=:
18298
 
      ;;
18299
 
 
18300
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
18301
 
      if test "$GCC" = yes; then
18302
 
        allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
18303
 
        archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
18304
 
        hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
18305
 
      else
18306
 
        allow_undefined_flag_GCJ=' -expect_unresolved \*'
18307
 
        archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
18308
 
        archive_expsym_cmds_GCJ='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
18309
 
        $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
18310
 
 
18311
 
        # Both c and cxx compiler support -rpath directly
18312
 
        hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
18313
 
      fi
18314
 
      hardcode_libdir_separator_GCJ=:
18315
 
      ;;
18316
 
 
18317
 
    solaris*)
18318
 
      no_undefined_flag_GCJ=' -z text'
18319
 
      if test "$GCC" = yes; then
18320
 
        wlarc='${wl}'
18321
 
        archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18322
 
        archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18323
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
18324
 
      else
18325
 
        wlarc=''
18326
 
        archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
18327
 
        archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18328
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
18329
 
      fi
18330
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
18331
 
      hardcode_shlibpath_var_GCJ=no
18332
 
      case $host_os in
18333
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
18334
 
      *)
18335
 
        # The compiler driver will combine and reorder linker options,
18336
 
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
18337
 
        # but is careful enough not to reorder.
18338
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
18339
 
        if test "$GCC" = yes; then
18340
 
          whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
18341
 
        else
18342
 
          whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
18343
 
        fi
18344
 
        ;;
18345
 
      esac
18346
 
      link_all_deplibs_GCJ=yes
18347
 
      ;;
18348
 
 
18349
 
    sunos4*)
18350
 
      if test "x$host_vendor" = xsequent; then
18351
 
        # Use $CC to link under sequent, because it throws in some extra .o
18352
 
        # files that make .init and .fini sections work.
18353
 
        archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
18354
 
      else
18355
 
        archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
18356
 
      fi
18357
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
18358
 
      hardcode_direct_GCJ=yes
18359
 
      hardcode_minus_L_GCJ=yes
18360
 
      hardcode_shlibpath_var_GCJ=no
18361
 
      ;;
18362
 
 
18363
 
    sysv4)
18364
 
      case $host_vendor in
18365
 
        sni)
18366
 
          archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18367
 
          hardcode_direct_GCJ=yes # is this really true???
18368
 
        ;;
18369
 
        siemens)
18370
 
          ## LD is ld it makes a PLAMLIB
18371
 
          ## CC just makes a GrossModule.
18372
 
          archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
18373
 
          reload_cmds_GCJ='$CC -r -o $output$reload_objs'
18374
 
          hardcode_direct_GCJ=no
18375
 
        ;;
18376
 
        motorola)
18377
 
          archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18378
 
          hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
18379
 
        ;;
18380
 
      esac
18381
 
      runpath_var='LD_RUN_PATH'
18382
 
      hardcode_shlibpath_var_GCJ=no
18383
 
      ;;
18384
 
 
18385
 
    sysv4.3*)
18386
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18387
 
      hardcode_shlibpath_var_GCJ=no
18388
 
      export_dynamic_flag_spec_GCJ='-Bexport'
18389
 
      ;;
18390
 
 
18391
 
    sysv4*MP*)
18392
 
      if test -d /usr/nec; then
18393
 
        archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18394
 
        hardcode_shlibpath_var_GCJ=no
18395
 
        runpath_var=LD_RUN_PATH
18396
 
        hardcode_runpath_var=yes
18397
 
        ld_shlibs_GCJ=yes
18398
 
      fi
18399
 
      ;;
18400
 
 
18401
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
18402
 
      no_undefined_flag_GCJ='${wl}-z,text'
18403
 
      archive_cmds_need_lc_GCJ=no
18404
 
      hardcode_shlibpath_var_GCJ=no
18405
 
      runpath_var='LD_RUN_PATH'
18406
 
 
18407
 
      if test "$GCC" = yes; then
18408
 
        archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18409
 
        archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18410
 
      else
18411
 
        archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18412
 
        archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18413
 
      fi
18414
 
      ;;
18415
 
 
18416
 
    sysv5* | sco3.2v5* | sco5v6*)
18417
 
      # Note: We can NOT use -z defs as we might desire, because we do not
18418
 
      # link with -lc, and that would cause any symbols used from libc to
18419
 
      # always be unresolved, which means just about no library would
18420
 
      # ever link correctly.  If we're not using GNU ld we use -z text
18421
 
      # though, which does catch some bad symbols but isn't as heavy-handed
18422
 
      # as -z defs.
18423
 
      no_undefined_flag_GCJ='${wl}-z,text'
18424
 
      allow_undefined_flag_GCJ='${wl}-z,nodefs'
18425
 
      archive_cmds_need_lc_GCJ=no
18426
 
      hardcode_shlibpath_var_GCJ=no
18427
 
      hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
18428
 
      hardcode_libdir_separator_GCJ=':'
18429
 
      link_all_deplibs_GCJ=yes
18430
 
      export_dynamic_flag_spec_GCJ='${wl}-Bexport'
18431
 
      runpath_var='LD_RUN_PATH'
18432
 
 
18433
 
      if test "$GCC" = yes; then
18434
 
        archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18435
 
        archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18436
 
      else
18437
 
        archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18438
 
        archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18439
 
      fi
18440
 
      ;;
18441
 
 
18442
 
    uts4*)
18443
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18444
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
18445
 
      hardcode_shlibpath_var_GCJ=no
18446
 
      ;;
18447
 
 
18448
 
    *)
18449
 
      ld_shlibs_GCJ=no
18450
 
      ;;
18451
 
    esac
18452
 
  fi
18453
 
 
18454
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
18455
 
echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
18456
 
test "$ld_shlibs_GCJ" = no && can_build_shared=no
18457
 
 
18458
 
#
18459
 
# Do we need to explicitly link libc?
18460
 
#
18461
 
case "x$archive_cmds_need_lc_GCJ" in
18462
 
x|xyes)
18463
 
  # Assume -lc should be added
18464
 
  archive_cmds_need_lc_GCJ=yes
18465
 
 
18466
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
18467
 
    case $archive_cmds_GCJ in
18468
 
    *'~'*)
18469
 
      # FIXME: we may have to deal with multi-command sequences.
18470
 
      ;;
18471
 
    '$CC '*)
18472
 
      # Test whether the compiler implicitly links with -lc since on some
18473
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
18474
 
      # to ld, don't add -lc before -lgcc.
18475
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
18476
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
18477
 
      $rm conftest*
18478
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
18479
 
 
18480
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18481
 
  (eval $ac_compile) 2>&5
18482
 
  ac_status=$?
18483
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18484
 
  (exit $ac_status); } 2>conftest.err; then
18485
 
        soname=conftest
18486
 
        lib=conftest
18487
 
        libobjs=conftest.$ac_objext
18488
 
        deplibs=
18489
 
        wl=$lt_prog_compiler_wl_GCJ
18490
 
        pic_flag=$lt_prog_compiler_pic_GCJ
18491
 
        compiler_flags=-v
18492
 
        linker_flags=-v
18493
 
        verstring=
18494
 
        output_objdir=.
18495
 
        libname=conftest
18496
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
18497
 
        allow_undefined_flag_GCJ=
18498
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
18499
 
  (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
18500
 
  ac_status=$?
18501
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18502
 
  (exit $ac_status); }
18503
 
        then
18504
 
          archive_cmds_need_lc_GCJ=no
18505
 
        else
18506
 
          archive_cmds_need_lc_GCJ=yes
18507
 
        fi
18508
 
        allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
18509
 
      else
18510
 
        cat conftest.err 1>&5
18511
 
      fi
18512
 
      $rm conftest*
18513
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
18514
 
echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
18515
 
      ;;
18516
 
    esac
18517
 
  fi
18518
 
  ;;
18519
 
esac
18520
 
 
18521
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
18522
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
18523
 
library_names_spec=
18524
 
libname_spec='lib$name'
18525
 
soname_spec=
18526
 
shrext_cmds=".so"
18527
 
postinstall_cmds=
18528
 
postuninstall_cmds=
18529
 
finish_cmds=
18530
 
finish_eval=
18531
 
shlibpath_var=
18532
 
shlibpath_overrides_runpath=unknown
18533
 
version_type=none
18534
 
dynamic_linker="$host_os ld.so"
18535
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
18536
 
 
18537
 
need_lib_prefix=unknown
18538
 
hardcode_into_libs=no
18539
 
 
18540
 
# when you set need_version to no, make sure it does not cause -set_version
18541
 
# flags to be left without arguments
18542
 
need_version=unknown
18543
 
 
18544
 
case $host_os in
18545
 
aix3*)
18546
 
  version_type=linux
18547
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
18548
 
  shlibpath_var=LIBPATH
18549
 
 
18550
 
  # AIX 3 has no versioning support, so we append a major version to the name.
18551
 
  soname_spec='${libname}${release}${shared_ext}$major'
18552
 
  ;;
18553
 
 
18554
 
aix[4-9]*)
18555
 
  version_type=linux
18556
 
  need_lib_prefix=no
18557
 
  need_version=no
18558
 
  hardcode_into_libs=yes
18559
 
  if test "$host_cpu" = ia64; then
18560
 
    # AIX 5 supports IA64
18561
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
18562
 
    shlibpath_var=LD_LIBRARY_PATH
18563
 
  else
18564
 
    # With GCC up to 2.95.x, collect2 would create an import file
18565
 
    # for dependence libraries.  The import file would start with
18566
 
    # the line `#! .'.  This would cause the generated library to
18567
 
    # depend on `.', always an invalid library.  This was fixed in
18568
 
    # development snapshots of GCC prior to 3.0.
18569
 
    case $host_os in
18570
 
      aix4 | aix4.[01] | aix4.[01].*)
18571
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
18572
 
           echo ' yes '
18573
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
18574
 
        :
18575
 
      else
18576
 
        can_build_shared=no
18577
 
      fi
18578
 
      ;;
18579
 
    esac
18580
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
18581
 
    # soname into executable. Probably we can add versioning support to
18582
 
    # collect2, so additional links can be useful in future.
18583
 
    if test "$aix_use_runtimelinking" = yes; then
18584
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
18585
 
      # instead of lib<name>.a to let people know that these are not
18586
 
      # typical AIX shared libraries.
18587
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18588
 
    else
18589
 
      # We preserve .a as extension for shared libraries through AIX4.2
18590
 
      # and later when we are not doing run time linking.
18591
 
      library_names_spec='${libname}${release}.a $libname.a'
18592
 
      soname_spec='${libname}${release}${shared_ext}$major'
18593
 
    fi
18594
 
    shlibpath_var=LIBPATH
18595
 
  fi
18596
 
  ;;
18597
 
 
18598
 
amigaos*)
18599
 
  library_names_spec='$libname.ixlibrary $libname.a'
18600
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
18601
 
  finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
18602
 
  ;;
18603
 
 
18604
 
beos*)
18605
 
  library_names_spec='${libname}${shared_ext}'
18606
 
  dynamic_linker="$host_os ld.so"
18607
 
  shlibpath_var=LIBRARY_PATH
18608
 
  ;;
18609
 
 
18610
 
bsdi[45]*)
18611
 
  version_type=linux
18612
 
  need_version=no
18613
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18614
 
  soname_spec='${libname}${release}${shared_ext}$major'
18615
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
18616
 
  shlibpath_var=LD_LIBRARY_PATH
18617
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
18618
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
18619
 
  # the default ld.so.conf also contains /usr/contrib/lib and
18620
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
18621
 
  # libtool to hard-code these into programs
18622
 
  ;;
18623
 
 
18624
 
cygwin* | mingw* | pw32*)
18625
 
  version_type=windows
18626
 
  shrext_cmds=".dll"
18627
 
  need_version=no
18628
 
  need_lib_prefix=no
18629
 
 
18630
 
  case $GCC,$host_os in
18631
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
18632
 
    library_names_spec='$libname.dll.a'
18633
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
18634
 
    postinstall_cmds='base_file=`basename \${file}`~
18635
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
18636
 
      dldir=$destdir/`dirname \$dlpath`~
18637
 
      test -d \$dldir || mkdir -p \$dldir~
18638
 
      $install_prog $dir/$dlname \$dldir/$dlname~
18639
 
      chmod a+x \$dldir/$dlname'
18640
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18641
 
      dlpath=$dir/\$dldll~
18642
 
       $rm \$dlpath'
18643
 
    shlibpath_overrides_runpath=yes
18644
 
 
18645
 
    case $host_os in
18646
 
    cygwin*)
18647
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
18648
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18649
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
18650
 
      ;;
18651
 
    mingw*)
18652
 
      # MinGW DLLs use traditional 'lib' prefix
18653
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18654
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18655
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
18656
 
        # It is most probably a Windows format PATH printed by
18657
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
18658
 
        # path with ; separators, and with drive letters. We can handle the
18659
 
        # drive letters (cygwin fileutils understands them), so leave them,
18660
 
        # especially as we might pass files found there to a mingw objdump,
18661
 
        # which wouldn't understand a cygwinified path. Ahh.
18662
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18663
 
      else
18664
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
18665
 
      fi
18666
 
      ;;
18667
 
    pw32*)
18668
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
18669
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18670
 
      ;;
18671
 
    esac
18672
 
    ;;
18673
 
 
18674
 
  *)
18675
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
18676
 
    ;;
18677
 
  esac
18678
 
  dynamic_linker='Win32 ld.exe'
18679
 
  # FIXME: first we should search . and the directory the executable is in
18680
 
  shlibpath_var=PATH
18681
 
  ;;
18682
 
 
18683
 
darwin* | rhapsody*)
18684
 
  dynamic_linker="$host_os dyld"
18685
 
  version_type=darwin
18686
 
  need_lib_prefix=no
18687
 
  need_version=no
18688
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
18689
 
  soname_spec='${libname}${release}${major}$shared_ext'
18690
 
  shlibpath_overrides_runpath=yes
18691
 
  shlibpath_var=DYLD_LIBRARY_PATH
18692
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
18693
 
 
18694
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
18695
 
  ;;
18696
 
 
18697
 
dgux*)
18698
 
  version_type=linux
18699
 
  need_lib_prefix=no
18700
 
  need_version=no
18701
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
18702
 
  soname_spec='${libname}${release}${shared_ext}$major'
18703
 
  shlibpath_var=LD_LIBRARY_PATH
18704
 
  ;;
18705
 
 
18706
 
freebsd1*)
18707
 
  dynamic_linker=no
18708
 
  ;;
18709
 
 
18710
 
freebsd* | dragonfly*)
18711
 
  # DragonFly does not have aout.  When/if they implement a new
18712
 
  # versioning mechanism, adjust this.
18713
 
  if test -x /usr/bin/objformat; then
18714
 
    objformat=`/usr/bin/objformat`
18715
 
  else
18716
 
    case $host_os in
18717
 
    freebsd[123]*) objformat=aout ;;
18718
 
    *) objformat=elf ;;
18719
 
    esac
18720
 
  fi
18721
 
  version_type=freebsd-$objformat
18722
 
  case $version_type in
18723
 
    freebsd-elf*)
18724
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18725
 
      need_version=no
18726
 
      need_lib_prefix=no
18727
 
      ;;
18728
 
    freebsd-*)
18729
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
18730
 
      need_version=yes
18731
 
      ;;
18732
 
  esac
18733
 
  shlibpath_var=LD_LIBRARY_PATH
18734
 
  case $host_os in
18735
 
  freebsd2*)
18736
 
    shlibpath_overrides_runpath=yes
18737
 
    ;;
18738
 
  freebsd3.[01]* | freebsdelf3.[01]*)
18739
 
    shlibpath_overrides_runpath=yes
18740
 
    hardcode_into_libs=yes
18741
 
    ;;
18742
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
18743
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
18744
 
    shlibpath_overrides_runpath=no
18745
 
    hardcode_into_libs=yes
18746
 
    ;;
18747
 
  *) # from 4.6 on, and DragonFly
18748
 
    shlibpath_overrides_runpath=yes
18749
 
    hardcode_into_libs=yes
18750
 
    ;;
18751
 
  esac
18752
 
  ;;
18753
 
 
18754
 
gnu*)
18755
 
  version_type=linux
18756
 
  need_lib_prefix=no
18757
 
  need_version=no
18758
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
18759
 
  soname_spec='${libname}${release}${shared_ext}$major'
18760
 
  shlibpath_var=LD_LIBRARY_PATH
18761
 
  hardcode_into_libs=yes
18762
 
  ;;
18763
 
 
18764
 
hpux9* | hpux10* | hpux11*)
18765
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
18766
 
  # link against other versions.
18767
 
  version_type=sunos
18768
 
  need_lib_prefix=no
18769
 
  need_version=no
18770
 
  case $host_cpu in
18771
 
  ia64*)
18772
 
    shrext_cmds='.so'
18773
 
    hardcode_into_libs=yes
18774
 
    dynamic_linker="$host_os dld.so"
18775
 
    shlibpath_var=LD_LIBRARY_PATH
18776
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
18777
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18778
 
    soname_spec='${libname}${release}${shared_ext}$major'
18779
 
    if test "X$HPUX_IA64_MODE" = X32; then
18780
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
18781
 
    else
18782
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
18783
 
    fi
18784
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18785
 
    ;;
18786
 
   hppa*64*)
18787
 
     shrext_cmds='.sl'
18788
 
     hardcode_into_libs=yes
18789
 
     dynamic_linker="$host_os dld.sl"
18790
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
18791
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
18792
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18793
 
     soname_spec='${libname}${release}${shared_ext}$major'
18794
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
18795
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18796
 
     ;;
18797
 
   *)
18798
 
    shrext_cmds='.sl'
18799
 
    dynamic_linker="$host_os dld.sl"
18800
 
    shlibpath_var=SHLIB_PATH
18801
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
18802
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18803
 
    soname_spec='${libname}${release}${shared_ext}$major'
18804
 
    ;;
18805
 
  esac
18806
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
18807
 
  postinstall_cmds='chmod 555 $lib'
18808
 
  ;;
18809
 
 
18810
 
interix[3-9]*)
18811
 
  version_type=linux
18812
 
  need_lib_prefix=no
18813
 
  need_version=no
18814
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18815
 
  soname_spec='${libname}${release}${shared_ext}$major'
18816
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
18817
 
  shlibpath_var=LD_LIBRARY_PATH
18818
 
  shlibpath_overrides_runpath=no
18819
 
  hardcode_into_libs=yes
18820
 
  ;;
18821
 
 
18822
 
irix5* | irix6* | nonstopux*)
18823
 
  case $host_os in
18824
 
    nonstopux*) version_type=nonstopux ;;
18825
 
    *)
18826
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
18827
 
                version_type=linux
18828
 
        else
18829
 
                version_type=irix
18830
 
        fi ;;
18831
 
  esac
18832
 
  need_lib_prefix=no
18833
 
  need_version=no
18834
 
  soname_spec='${libname}${release}${shared_ext}$major'
18835
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
18836
 
  case $host_os in
18837
 
  irix5* | nonstopux*)
18838
 
    libsuff= shlibsuff=
18839
 
    ;;
18840
 
  *)
18841
 
    case $LD in # libtool.m4 will add one of these switches to LD
18842
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
18843
 
      libsuff= shlibsuff= libmagic=32-bit;;
18844
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
18845
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
18846
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
18847
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
18848
 
    *) libsuff= shlibsuff= libmagic=never-match;;
18849
 
    esac
18850
 
    ;;
18851
 
  esac
18852
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
18853
 
  shlibpath_overrides_runpath=no
18854
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18855
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
18856
 
  hardcode_into_libs=yes
18857
 
  ;;
18858
 
 
18859
 
# No shared lib support for Linux oldld, aout, or coff.
18860
 
linux*oldld* | linux*aout* | linux*coff*)
18861
 
  dynamic_linker=no
18862
 
  ;;
18863
 
 
18864
 
# This must be Linux ELF.
18865
 
linux* | k*bsd*-gnu)
18866
 
  version_type=linux
18867
 
  need_lib_prefix=no
18868
 
  need_version=no
18869
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18870
 
  soname_spec='${libname}${release}${shared_ext}$major'
18871
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
18872
 
  shlibpath_var=LD_LIBRARY_PATH
18873
 
  shlibpath_overrides_runpath=no
18874
 
  # This implies no fast_install, which is unacceptable.
18875
 
  # Some rework will be needed to allow for fast_install
18876
 
  # before this can be enabled.
18877
 
  hardcode_into_libs=yes
18878
 
 
18879
 
  # Append ld.so.conf contents to the search path
18880
 
  if test -f /etc/ld.so.conf; then
18881
 
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[      ]*hwcap[        ]/d;s/[:,       ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
18882
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
18883
 
  fi
18884
 
 
18885
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
18886
 
  # powerpc, because MkLinux only supported shared libraries with the
18887
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
18888
 
  # most powerpc-linux boxes support dynamic linking these days and
18889
 
  # people can always --disable-shared, the test was removed, and we
18890
 
  # assume the GNU/Linux dynamic linker is in use.
18891
 
  dynamic_linker='GNU/Linux ld.so'
18892
 
  ;;
18893
 
 
18894
 
netbsd*)
18895
 
  version_type=sunos
18896
 
  need_lib_prefix=no
18897
 
  need_version=no
18898
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
18899
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18900
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18901
 
    dynamic_linker='NetBSD (a.out) ld.so'
18902
 
  else
18903
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18904
 
    soname_spec='${libname}${release}${shared_ext}$major'
18905
 
    dynamic_linker='NetBSD ld.elf_so'
18906
 
  fi
18907
 
  shlibpath_var=LD_LIBRARY_PATH
18908
 
  shlibpath_overrides_runpath=yes
18909
 
  hardcode_into_libs=yes
18910
 
  ;;
18911
 
 
18912
 
newsos6)
18913
 
  version_type=linux
18914
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18915
 
  shlibpath_var=LD_LIBRARY_PATH
18916
 
  shlibpath_overrides_runpath=yes
18917
 
  ;;
18918
 
 
18919
 
nto-qnx*)
18920
 
  version_type=linux
18921
 
  need_lib_prefix=no
18922
 
  need_version=no
18923
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18924
 
  soname_spec='${libname}${release}${shared_ext}$major'
18925
 
  shlibpath_var=LD_LIBRARY_PATH
18926
 
  shlibpath_overrides_runpath=yes
18927
 
  ;;
18928
 
 
18929
 
openbsd*)
18930
 
  version_type=sunos
18931
 
  sys_lib_dlsearch_path_spec="/usr/lib"
18932
 
  need_lib_prefix=no
18933
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
18934
 
  case $host_os in
18935
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
18936
 
    *)                         need_version=no  ;;
18937
 
  esac
18938
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18939
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18940
 
  shlibpath_var=LD_LIBRARY_PATH
18941
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18942
 
    case $host_os in
18943
 
      openbsd2.[89] | openbsd2.[89].*)
18944
 
        shlibpath_overrides_runpath=no
18945
 
        ;;
18946
 
      *)
18947
 
        shlibpath_overrides_runpath=yes
18948
 
        ;;
18949
 
      esac
18950
 
  else
18951
 
    shlibpath_overrides_runpath=yes
18952
 
  fi
18953
 
  ;;
18954
 
 
18955
 
os2*)
18956
 
  libname_spec='$name'
18957
 
  shrext_cmds=".dll"
18958
 
  need_lib_prefix=no
18959
 
  library_names_spec='$libname${shared_ext} $libname.a'
18960
 
  dynamic_linker='OS/2 ld.exe'
18961
 
  shlibpath_var=LIBPATH
18962
 
  ;;
18963
 
 
18964
 
osf3* | osf4* | osf5*)
18965
 
  version_type=osf
18966
 
  need_lib_prefix=no
18967
 
  need_version=no
18968
 
  soname_spec='${libname}${release}${shared_ext}$major'
18969
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18970
 
  shlibpath_var=LD_LIBRARY_PATH
18971
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18972
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
18973
 
  ;;
18974
 
 
18975
 
rdos*)
18976
 
  dynamic_linker=no
18977
 
  ;;
18978
 
 
18979
 
solaris*)
18980
 
  version_type=linux
18981
 
  need_lib_prefix=no
18982
 
  need_version=no
18983
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18984
 
  soname_spec='${libname}${release}${shared_ext}$major'
18985
 
  shlibpath_var=LD_LIBRARY_PATH
18986
 
  shlibpath_overrides_runpath=yes
18987
 
  hardcode_into_libs=yes
18988
 
  # ldd complains unless libraries are executable
18989
 
  postinstall_cmds='chmod +x $lib'
18990
 
  ;;
18991
 
 
18992
 
sunos4*)
18993
 
  version_type=sunos
18994
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18995
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18996
 
  shlibpath_var=LD_LIBRARY_PATH
18997
 
  shlibpath_overrides_runpath=yes
18998
 
  if test "$with_gnu_ld" = yes; then
18999
 
    need_lib_prefix=no
19000
 
  fi
19001
 
  need_version=yes
19002
 
  ;;
19003
 
 
19004
 
sysv4 | sysv4.3*)
19005
 
  version_type=linux
19006
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19007
 
  soname_spec='${libname}${release}${shared_ext}$major'
19008
 
  shlibpath_var=LD_LIBRARY_PATH
19009
 
  case $host_vendor in
19010
 
    sni)
19011
 
      shlibpath_overrides_runpath=no
19012
 
      need_lib_prefix=no
19013
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
19014
 
      runpath_var=LD_RUN_PATH
19015
 
      ;;
19016
 
    siemens)
19017
 
      need_lib_prefix=no
19018
 
      ;;
19019
 
    motorola)
19020
 
      need_lib_prefix=no
19021
 
      need_version=no
19022
 
      shlibpath_overrides_runpath=no
19023
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
19024
 
      ;;
19025
 
  esac
19026
 
  ;;
19027
 
 
19028
 
sysv4*MP*)
19029
 
  if test -d /usr/nec ;then
19030
 
    version_type=linux
19031
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
19032
 
    soname_spec='$libname${shared_ext}.$major'
19033
 
    shlibpath_var=LD_LIBRARY_PATH
19034
 
  fi
19035
 
  ;;
19036
 
 
19037
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
19038
 
  version_type=freebsd-elf
19039
 
  need_lib_prefix=no
19040
 
  need_version=no
19041
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
19042
 
  soname_spec='${libname}${release}${shared_ext}$major'
19043
 
  shlibpath_var=LD_LIBRARY_PATH
19044
 
  hardcode_into_libs=yes
19045
 
  if test "$with_gnu_ld" = yes; then
19046
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
19047
 
    shlibpath_overrides_runpath=no
19048
 
  else
19049
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
19050
 
    shlibpath_overrides_runpath=yes
19051
 
    case $host_os in
19052
 
      sco3.2v5*)
19053
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
19054
 
        ;;
19055
 
    esac
19056
 
  fi
19057
 
  sys_lib_dlsearch_path_spec='/usr/lib'
19058
 
  ;;
19059
 
 
19060
 
uts4*)
19061
 
  version_type=linux
19062
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19063
 
  soname_spec='${libname}${release}${shared_ext}$major'
19064
 
  shlibpath_var=LD_LIBRARY_PATH
19065
 
  ;;
19066
 
 
19067
 
*)
19068
 
  dynamic_linker=no
19069
 
  ;;
19070
 
esac
19071
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
19072
 
echo "${ECHO_T}$dynamic_linker" >&6; }
19073
 
test "$dynamic_linker" = no && can_build_shared=no
19074
 
 
19075
 
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
19076
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
19077
 
else
19078
 
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
19079
 
fi
19080
 
 
19081
 
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
19082
 
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
19083
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
19084
 
else
19085
 
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
19086
 
fi
19087
 
 
19088
 
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
19089
 
 
19090
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
19091
 
if test "$GCC" = yes; then
19092
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
19093
 
fi
19094
 
 
19095
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
19096
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
19097
 
hardcode_action_GCJ=
19098
 
if test -n "$hardcode_libdir_flag_spec_GCJ" || \
19099
 
   test -n "$runpath_var_GCJ" || \
19100
 
   test "X$hardcode_automatic_GCJ" = "Xyes" ; then
19101
 
 
19102
 
  # We can hardcode non-existant directories.
19103
 
  if test "$hardcode_direct_GCJ" != no &&
19104
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
19105
 
     # have to relink, otherwise we might link with an installed library
19106
 
     # when we should be linking with a yet-to-be-installed one
19107
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
19108
 
     test "$hardcode_minus_L_GCJ" != no; then
19109
 
    # Linking always hardcodes the temporary library directory.
19110
 
    hardcode_action_GCJ=relink
19111
 
  else
19112
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
19113
 
    hardcode_action_GCJ=immediate
19114
 
  fi
19115
 
else
19116
 
  # We cannot hardcode anything, or else we can only hardcode existing
19117
 
  # directories.
19118
 
  hardcode_action_GCJ=unsupported
19119
 
fi
19120
 
{ echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
19121
 
echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
19122
 
 
19123
 
if test "$hardcode_action_GCJ" = relink; then
19124
 
  # Fast installation is not supported
19125
 
  enable_fast_install=no
19126
 
elif test "$shlibpath_overrides_runpath" = yes ||
19127
 
     test "$enable_shared" = no; then
19128
 
  # Fast installation is not necessary
19129
 
  enable_fast_install=needless
19130
 
fi
19131
 
 
19132
 
 
19133
 
# The else clause should only fire when bootstrapping the
19134
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
19135
 
# with your package, and you will get complaints that there are
19136
 
# no rules to generate ltmain.sh.
19137
 
if test -f "$ltmain"; then
19138
 
  # See if we are running on zsh, and set the options which allow our commands through
19139
 
  # without removal of \ escapes.
19140
 
  if test -n "${ZSH_VERSION+set}" ; then
19141
 
    setopt NO_GLOB_SUBST
19142
 
  fi
19143
 
  # Now quote all the things that may contain metacharacters while being
19144
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
19145
 
  # variables and quote the copies for generation of the libtool script.
19146
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
19147
 
    SED SHELL STRIP \
19148
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19149
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19150
 
    deplibs_check_method reload_flag reload_cmds need_locks \
19151
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19152
 
    lt_cv_sys_global_symbol_to_c_name_address \
19153
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19154
 
    old_postinstall_cmds old_postuninstall_cmds \
19155
 
    compiler_GCJ \
19156
 
    CC_GCJ \
19157
 
    LD_GCJ \
19158
 
    lt_prog_compiler_wl_GCJ \
19159
 
    lt_prog_compiler_pic_GCJ \
19160
 
    lt_prog_compiler_static_GCJ \
19161
 
    lt_prog_compiler_no_builtin_flag_GCJ \
19162
 
    export_dynamic_flag_spec_GCJ \
19163
 
    thread_safe_flag_spec_GCJ \
19164
 
    whole_archive_flag_spec_GCJ \
19165
 
    enable_shared_with_static_runtimes_GCJ \
19166
 
    old_archive_cmds_GCJ \
19167
 
    old_archive_from_new_cmds_GCJ \
19168
 
    predep_objects_GCJ \
19169
 
    postdep_objects_GCJ \
19170
 
    predeps_GCJ \
19171
 
    postdeps_GCJ \
19172
 
    compiler_lib_search_path_GCJ \
19173
 
    compiler_lib_search_dirs_GCJ \
19174
 
    archive_cmds_GCJ \
19175
 
    archive_expsym_cmds_GCJ \
19176
 
    postinstall_cmds_GCJ \
19177
 
    postuninstall_cmds_GCJ \
19178
 
    old_archive_from_expsyms_cmds_GCJ \
19179
 
    allow_undefined_flag_GCJ \
19180
 
    no_undefined_flag_GCJ \
19181
 
    export_symbols_cmds_GCJ \
19182
 
    hardcode_libdir_flag_spec_GCJ \
19183
 
    hardcode_libdir_flag_spec_ld_GCJ \
19184
 
    hardcode_libdir_separator_GCJ \
19185
 
    hardcode_automatic_GCJ \
19186
 
    module_cmds_GCJ \
19187
 
    module_expsym_cmds_GCJ \
19188
 
    lt_cv_prog_compiler_c_o_GCJ \
19189
 
    fix_srcfile_path_GCJ \
19190
 
    exclude_expsyms_GCJ \
19191
 
    include_expsyms_GCJ; do
19192
 
 
19193
 
    case $var in
19194
 
    old_archive_cmds_GCJ | \
19195
 
    old_archive_from_new_cmds_GCJ | \
19196
 
    archive_cmds_GCJ | \
19197
 
    archive_expsym_cmds_GCJ | \
19198
 
    module_cmds_GCJ | \
19199
 
    module_expsym_cmds_GCJ | \
19200
 
    old_archive_from_expsyms_cmds_GCJ | \
19201
 
    export_symbols_cmds_GCJ | \
19202
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
19203
 
    postinstall_cmds | postuninstall_cmds | \
19204
 
    old_postinstall_cmds | old_postuninstall_cmds | \
19205
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
19206
 
      # Double-quote double-evaled strings.
19207
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19208
 
      ;;
19209
 
    *)
19210
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19211
 
      ;;
19212
 
    esac
19213
 
  done
19214
 
 
19215
 
  case $lt_echo in
19216
 
  *'\$0 --fallback-echo"')
19217
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19218
 
    ;;
19219
 
  esac
19220
 
 
19221
 
cfgfile="$ofile"
19222
 
 
19223
 
  cat <<__EOF__ >> "$cfgfile"
19224
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
19225
 
 
19226
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19227
 
 
19228
 
# Shell to use when invoking shell scripts.
19229
 
SHELL=$lt_SHELL
19230
 
 
19231
 
# Whether or not to build shared libraries.
19232
 
build_libtool_libs=$enable_shared
19233
 
 
19234
 
# Whether or not to build static libraries.
19235
 
build_old_libs=$enable_static
19236
 
 
19237
 
# Whether or not to add -lc for building shared libraries.
19238
 
build_libtool_need_lc=$archive_cmds_need_lc_GCJ
19239
 
 
19240
 
# Whether or not to disallow shared libs when runtime libs are static
19241
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
19242
 
 
19243
 
# Whether or not to optimize for fast installation.
19244
 
fast_install=$enable_fast_install
19245
 
 
19246
 
# The host system.
19247
 
host_alias=$host_alias
19248
 
host=$host
19249
 
host_os=$host_os
19250
 
 
19251
 
# The build system.
19252
 
build_alias=$build_alias
19253
 
build=$build
19254
 
build_os=$build_os
19255
 
 
19256
 
# An echo program that does not interpret backslashes.
19257
 
echo=$lt_echo
19258
 
 
19259
 
# The archiver.
19260
 
AR=$lt_AR
19261
 
AR_FLAGS=$lt_AR_FLAGS
19262
 
 
19263
 
# A C compiler.
19264
 
LTCC=$lt_LTCC
19265
 
 
19266
 
# LTCC compiler flags.
19267
 
LTCFLAGS=$lt_LTCFLAGS
19268
 
 
19269
 
# A language-specific compiler.
19270
 
CC=$lt_compiler_GCJ
19271
 
 
19272
 
# Is the compiler the GNU C compiler?
19273
 
with_gcc=$GCC_GCJ
19274
 
 
19275
 
# An ERE matcher.
19276
 
EGREP=$lt_EGREP
19277
 
 
19278
 
# The linker used to build libraries.
19279
 
LD=$lt_LD_GCJ
19280
 
 
19281
 
# Whether we need hard or soft links.
19282
 
LN_S=$lt_LN_S
19283
 
 
19284
 
# A BSD-compatible nm program.
19285
 
NM=$lt_NM
19286
 
 
19287
 
# A symbol stripping program
19288
 
STRIP=$lt_STRIP
19289
 
 
19290
 
# Used to examine libraries when file_magic_cmd begins "file"
19291
 
MAGIC_CMD=$MAGIC_CMD
19292
 
 
19293
 
# Used on cygwin: DLL creation program.
19294
 
DLLTOOL="$DLLTOOL"
19295
 
 
19296
 
# Used on cygwin: object dumper.
19297
 
OBJDUMP="$OBJDUMP"
19298
 
 
19299
 
# Used on cygwin: assembler.
19300
 
AS="$AS"
19301
 
 
19302
 
# The name of the directory that contains temporary libtool files.
19303
 
objdir=$objdir
19304
 
 
19305
 
# How to create reloadable object files.
19306
 
reload_flag=$lt_reload_flag
19307
 
reload_cmds=$lt_reload_cmds
19308
 
 
19309
 
# How to pass a linker flag through the compiler.
19310
 
wl=$lt_lt_prog_compiler_wl_GCJ
19311
 
 
19312
 
# Object file suffix (normally "o").
19313
 
objext="$ac_objext"
19314
 
 
19315
 
# Old archive suffix (normally "a").
19316
 
libext="$libext"
19317
 
 
19318
 
# Shared library suffix (normally ".so").
19319
 
shrext_cmds='$shrext_cmds'
19320
 
 
19321
 
# Executable file suffix (normally "").
19322
 
exeext="$exeext"
19323
 
 
19324
 
# Additional compiler flags for building library objects.
19325
 
pic_flag=$lt_lt_prog_compiler_pic_GCJ
19326
 
pic_mode=$pic_mode
19327
 
 
19328
 
# What is the maximum length of a command?
19329
 
max_cmd_len=$lt_cv_sys_max_cmd_len
19330
 
 
19331
 
# Does compiler simultaneously support -c and -o options?
19332
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
19333
 
 
19334
 
# Must we lock files when doing compilation?
19335
 
need_locks=$lt_need_locks
19336
 
 
19337
 
# Do we need the lib prefix for modules?
19338
 
need_lib_prefix=$need_lib_prefix
19339
 
 
19340
 
# Do we need a version for libraries?
19341
 
need_version=$need_version
19342
 
 
19343
 
# Whether dlopen is supported.
19344
 
dlopen_support=$enable_dlopen
19345
 
 
19346
 
# Whether dlopen of programs is supported.
19347
 
dlopen_self=$enable_dlopen_self
19348
 
 
19349
 
# Whether dlopen of statically linked programs is supported.
19350
 
dlopen_self_static=$enable_dlopen_self_static
19351
 
 
19352
 
# Compiler flag to prevent dynamic linking.
19353
 
link_static_flag=$lt_lt_prog_compiler_static_GCJ
19354
 
 
19355
 
# Compiler flag to turn off builtin functions.
19356
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
19357
 
 
19358
 
# Compiler flag to allow reflexive dlopens.
19359
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
19360
 
 
19361
 
# Compiler flag to generate shared objects directly from archives.
19362
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
19363
 
 
19364
 
# Compiler flag to generate thread-safe objects.
19365
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
19366
 
 
19367
 
# Library versioning type.
19368
 
version_type=$version_type
19369
 
 
19370
 
# Format of library name prefix.
19371
 
libname_spec=$lt_libname_spec
19372
 
 
19373
 
# List of archive names.  First name is the real one, the rest are links.
19374
 
# The last name is the one that the linker finds with -lNAME.
19375
 
library_names_spec=$lt_library_names_spec
19376
 
 
19377
 
# The coded name of the library, if different from the real name.
19378
 
soname_spec=$lt_soname_spec
19379
 
 
19380
 
# Commands used to build and install an old-style archive.
19381
 
RANLIB=$lt_RANLIB
19382
 
old_archive_cmds=$lt_old_archive_cmds_GCJ
19383
 
old_postinstall_cmds=$lt_old_postinstall_cmds
19384
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
19385
 
 
19386
 
# Create an old-style archive from a shared archive.
19387
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
19388
 
 
19389
 
# Create a temporary old-style archive to link instead of a shared archive.
19390
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
19391
 
 
19392
 
# Commands used to build and install a shared archive.
19393
 
archive_cmds=$lt_archive_cmds_GCJ
19394
 
archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
19395
 
postinstall_cmds=$lt_postinstall_cmds
19396
 
postuninstall_cmds=$lt_postuninstall_cmds
19397
 
 
19398
 
# Commands used to build a loadable module (assumed same as above if empty)
19399
 
module_cmds=$lt_module_cmds_GCJ
19400
 
module_expsym_cmds=$lt_module_expsym_cmds_GCJ
19401
 
 
19402
 
# Commands to strip libraries.
19403
 
old_striplib=$lt_old_striplib
19404
 
striplib=$lt_striplib
19405
 
 
19406
 
# Dependencies to place before the objects being linked to create a
19407
 
# shared library.
19408
 
predep_objects=$lt_predep_objects_GCJ
19409
 
 
19410
 
# Dependencies to place after the objects being linked to create a
19411
 
# shared library.
19412
 
postdep_objects=$lt_postdep_objects_GCJ
19413
 
 
19414
 
# Dependencies to place before the objects being linked to create a
19415
 
# shared library.
19416
 
predeps=$lt_predeps_GCJ
19417
 
 
19418
 
# Dependencies to place after the objects being linked to create a
19419
 
# shared library.
19420
 
postdeps=$lt_postdeps_GCJ
19421
 
 
19422
 
# The directories searched by this compiler when creating a shared
19423
 
# library
19424
 
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
19425
 
 
19426
 
# The library search path used internally by the compiler when linking
19427
 
# a shared library.
19428
 
compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
19429
 
 
19430
 
# Method to check whether dependent libraries are shared objects.
19431
 
deplibs_check_method=$lt_deplibs_check_method
19432
 
 
19433
 
# Command to use when deplibs_check_method == file_magic.
19434
 
file_magic_cmd=$lt_file_magic_cmd
19435
 
 
19436
 
# Flag that allows shared libraries with undefined symbols to be built.
19437
 
allow_undefined_flag=$lt_allow_undefined_flag_GCJ
19438
 
 
19439
 
# Flag that forces no undefined symbols.
19440
 
no_undefined_flag=$lt_no_undefined_flag_GCJ
19441
 
 
19442
 
# Commands used to finish a libtool library installation in a directory.
19443
 
finish_cmds=$lt_finish_cmds
19444
 
 
19445
 
# Same as above, but a single script fragment to be evaled but not shown.
19446
 
finish_eval=$lt_finish_eval
19447
 
 
19448
 
# Take the output of nm and produce a listing of raw symbols and C names.
19449
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19450
 
 
19451
 
# Transform the output of nm in a proper C declaration
19452
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19453
 
 
19454
 
# Transform the output of nm in a C name address pair
19455
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19456
 
 
19457
 
# This is the shared library runtime path variable.
19458
 
runpath_var=$runpath_var
19459
 
 
19460
 
# This is the shared library path variable.
19461
 
shlibpath_var=$shlibpath_var
19462
 
 
19463
 
# Is shlibpath searched before the hard-coded library search path?
19464
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19465
 
 
19466
 
# How to hardcode a shared library path into an executable.
19467
 
hardcode_action=$hardcode_action_GCJ
19468
 
 
19469
 
# Whether we should hardcode library paths into libraries.
19470
 
hardcode_into_libs=$hardcode_into_libs
19471
 
 
19472
 
# Flag to hardcode \$libdir into a binary during linking.
19473
 
# This must work even if \$libdir does not exist.
19474
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
19475
 
 
19476
 
# If ld is used when linking, flag to hardcode \$libdir into
19477
 
# a binary during linking. This must work even if \$libdir does
19478
 
# not exist.
19479
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
19480
 
 
19481
 
# Whether we need a single -rpath flag with a separated argument.
19482
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
19483
 
 
19484
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19485
 
# resulting binary.
19486
 
hardcode_direct=$hardcode_direct_GCJ
19487
 
 
19488
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19489
 
# resulting binary.
19490
 
hardcode_minus_L=$hardcode_minus_L_GCJ
19491
 
 
19492
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19493
 
# the resulting binary.
19494
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
19495
 
 
19496
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
19497
 
# and all subsequent libraries and executables linked against it.
19498
 
hardcode_automatic=$hardcode_automatic_GCJ
19499
 
 
19500
 
# Variables whose values should be saved in libtool wrapper scripts and
19501
 
# restored at relink time.
19502
 
variables_saved_for_relink="$variables_saved_for_relink"
19503
 
 
19504
 
# Whether libtool must link a program against all its dependency libraries.
19505
 
link_all_deplibs=$link_all_deplibs_GCJ
19506
 
 
19507
 
# Compile-time system search path for libraries
19508
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19509
 
 
19510
 
# Run-time system search path for libraries
19511
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19512
 
 
19513
 
# Fix the shell variable \$srcfile for the compiler.
19514
 
fix_srcfile_path=$lt_fix_srcfile_path
19515
 
 
19516
 
# Set to yes if exported symbols are required.
19517
 
always_export_symbols=$always_export_symbols_GCJ
19518
 
 
19519
 
# The commands to list exported symbols.
19520
 
export_symbols_cmds=$lt_export_symbols_cmds_GCJ
19521
 
 
19522
 
# The commands to extract the exported symbol list from a shared archive.
19523
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
19524
 
 
19525
 
# Symbols that should not be listed in the preloaded symbols.
19526
 
exclude_expsyms=$lt_exclude_expsyms_GCJ
19527
 
 
19528
 
# Symbols that must always be exported.
19529
 
include_expsyms=$lt_include_expsyms_GCJ
19530
 
 
19531
 
# ### END LIBTOOL TAG CONFIG: $tagname
19532
 
 
19533
 
__EOF__
19534
 
 
19535
 
 
19536
 
else
19537
 
  # If there is no Makefile yet, we rely on a make rule to execute
19538
 
  # `config.status --recheck' to rerun these tests and create the
19539
 
  # libtool script then.
19540
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19541
 
  if test -f "$ltmain_in"; then
19542
 
    test -f Makefile && make "$ltmain"
19543
 
  fi
19544
 
fi
19545
 
 
19546
 
 
19547
 
ac_ext=c
19548
 
ac_cpp='$CPP $CPPFLAGS'
19549
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19550
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19551
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
19552
 
 
19553
 
CC="$lt_save_CC"
19554
 
 
19555
 
        else
19556
 
          tagname=""
19557
 
        fi
19558
 
        ;;
19559
 
 
19560
 
      RC)
19561
 
 
19562
 
 
19563
 
# Source file extension for RC test sources.
19564
 
ac_ext=rc
19565
 
 
19566
 
# Object file extension for compiled RC test sources.
19567
 
objext=o
19568
 
objext_RC=$objext
19569
 
 
19570
 
# Code to be used in simple compile tests
19571
 
lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
19572
 
 
19573
 
# Code to be used in simple link tests
19574
 
lt_simple_link_test_code="$lt_simple_compile_test_code"
19575
 
 
19576
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
19577
 
 
19578
 
# If no C compiler was specified, use CC.
19579
 
LTCC=${LTCC-"$CC"}
19580
 
 
19581
 
# If no C compiler flags were specified, use CFLAGS.
19582
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
19583
 
 
19584
 
# Allow CC to be a program name with arguments.
19585
 
compiler=$CC
19586
 
 
19587
 
 
19588
 
# save warnings/boilerplate of simple test code
19589
 
ac_outfile=conftest.$ac_objext
19590
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
19591
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
19592
 
_lt_compiler_boilerplate=`cat conftest.err`
19593
 
$rm conftest*
19594
 
 
19595
 
ac_outfile=conftest.$ac_objext
19596
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
19597
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
19598
 
_lt_linker_boilerplate=`cat conftest.err`
19599
 
$rm -r conftest*
19600
 
 
19601
 
 
19602
 
# Allow CC to be a program name with arguments.
19603
 
lt_save_CC="$CC"
19604
 
CC=${RC-"windres"}
19605
 
compiler=$CC
19606
 
compiler_RC=$CC
19607
 
for cc_temp in $compiler""; do
19608
 
  case $cc_temp in
19609
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
19610
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
19611
 
    \-*) ;;
19612
 
    *) break;;
19613
 
  esac
19614
 
done
19615
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
19616
 
 
19617
 
lt_cv_prog_compiler_c_o_RC=yes
19618
 
 
19619
 
# The else clause should only fire when bootstrapping the
19620
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
19621
 
# with your package, and you will get complaints that there are
19622
 
# no rules to generate ltmain.sh.
19623
 
if test -f "$ltmain"; then
19624
 
  # See if we are running on zsh, and set the options which allow our commands through
19625
 
  # without removal of \ escapes.
19626
 
  if test -n "${ZSH_VERSION+set}" ; then
19627
 
    setopt NO_GLOB_SUBST
19628
 
  fi
19629
 
  # Now quote all the things that may contain metacharacters while being
19630
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
19631
 
  # variables and quote the copies for generation of the libtool script.
19632
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
19633
 
    SED SHELL STRIP \
19634
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19635
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19636
 
    deplibs_check_method reload_flag reload_cmds need_locks \
19637
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19638
 
    lt_cv_sys_global_symbol_to_c_name_address \
19639
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19640
 
    old_postinstall_cmds old_postuninstall_cmds \
19641
 
    compiler_RC \
19642
 
    CC_RC \
19643
 
    LD_RC \
19644
 
    lt_prog_compiler_wl_RC \
19645
 
    lt_prog_compiler_pic_RC \
19646
 
    lt_prog_compiler_static_RC \
19647
 
    lt_prog_compiler_no_builtin_flag_RC \
19648
 
    export_dynamic_flag_spec_RC \
19649
 
    thread_safe_flag_spec_RC \
19650
 
    whole_archive_flag_spec_RC \
19651
 
    enable_shared_with_static_runtimes_RC \
19652
 
    old_archive_cmds_RC \
19653
 
    old_archive_from_new_cmds_RC \
19654
 
    predep_objects_RC \
19655
 
    postdep_objects_RC \
19656
 
    predeps_RC \
19657
 
    postdeps_RC \
19658
 
    compiler_lib_search_path_RC \
19659
 
    compiler_lib_search_dirs_RC \
19660
 
    archive_cmds_RC \
19661
 
    archive_expsym_cmds_RC \
19662
 
    postinstall_cmds_RC \
19663
 
    postuninstall_cmds_RC \
19664
 
    old_archive_from_expsyms_cmds_RC \
19665
 
    allow_undefined_flag_RC \
19666
 
    no_undefined_flag_RC \
19667
 
    export_symbols_cmds_RC \
19668
 
    hardcode_libdir_flag_spec_RC \
19669
 
    hardcode_libdir_flag_spec_ld_RC \
19670
 
    hardcode_libdir_separator_RC \
19671
 
    hardcode_automatic_RC \
19672
 
    module_cmds_RC \
19673
 
    module_expsym_cmds_RC \
19674
 
    lt_cv_prog_compiler_c_o_RC \
19675
 
    fix_srcfile_path_RC \
19676
 
    exclude_expsyms_RC \
19677
 
    include_expsyms_RC; do
19678
 
 
19679
 
    case $var in
19680
 
    old_archive_cmds_RC | \
19681
 
    old_archive_from_new_cmds_RC | \
19682
 
    archive_cmds_RC | \
19683
 
    archive_expsym_cmds_RC | \
19684
 
    module_cmds_RC | \
19685
 
    module_expsym_cmds_RC | \
19686
 
    old_archive_from_expsyms_cmds_RC | \
19687
 
    export_symbols_cmds_RC | \
19688
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
19689
 
    postinstall_cmds | postuninstall_cmds | \
19690
 
    old_postinstall_cmds | old_postuninstall_cmds | \
19691
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
19692
 
      # Double-quote double-evaled strings.
19693
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19694
 
      ;;
19695
 
    *)
19696
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19697
 
      ;;
19698
 
    esac
19699
 
  done
19700
 
 
19701
 
  case $lt_echo in
19702
 
  *'\$0 --fallback-echo"')
19703
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19704
 
    ;;
19705
 
  esac
19706
 
 
19707
 
cfgfile="$ofile"
19708
 
 
19709
 
  cat <<__EOF__ >> "$cfgfile"
19710
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
19711
 
 
19712
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19713
 
 
19714
 
# Shell to use when invoking shell scripts.
19715
 
SHELL=$lt_SHELL
19716
 
 
19717
 
# Whether or not to build shared libraries.
19718
 
build_libtool_libs=$enable_shared
19719
 
 
19720
 
# Whether or not to build static libraries.
19721
 
build_old_libs=$enable_static
19722
 
 
19723
 
# Whether or not to add -lc for building shared libraries.
19724
 
build_libtool_need_lc=$archive_cmds_need_lc_RC
19725
 
 
19726
 
# Whether or not to disallow shared libs when runtime libs are static
19727
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
19728
 
 
19729
 
# Whether or not to optimize for fast installation.
19730
 
fast_install=$enable_fast_install
19731
 
 
19732
 
# The host system.
19733
 
host_alias=$host_alias
19734
 
host=$host
19735
 
host_os=$host_os
19736
 
 
19737
 
# The build system.
19738
 
build_alias=$build_alias
19739
 
build=$build
19740
 
build_os=$build_os
19741
 
 
19742
 
# An echo program that does not interpret backslashes.
19743
 
echo=$lt_echo
19744
 
 
19745
 
# The archiver.
19746
 
AR=$lt_AR
19747
 
AR_FLAGS=$lt_AR_FLAGS
19748
 
 
19749
 
# A C compiler.
19750
 
LTCC=$lt_LTCC
19751
 
 
19752
 
# LTCC compiler flags.
19753
 
LTCFLAGS=$lt_LTCFLAGS
19754
 
 
19755
 
# A language-specific compiler.
19756
 
CC=$lt_compiler_RC
19757
 
 
19758
 
# Is the compiler the GNU C compiler?
19759
 
with_gcc=$GCC_RC
19760
 
 
19761
 
# An ERE matcher.
19762
 
EGREP=$lt_EGREP
19763
 
 
19764
 
# The linker used to build libraries.
19765
 
LD=$lt_LD_RC
19766
 
 
19767
 
# Whether we need hard or soft links.
19768
 
LN_S=$lt_LN_S
19769
 
 
19770
 
# A BSD-compatible nm program.
19771
 
NM=$lt_NM
19772
 
 
19773
 
# A symbol stripping program
19774
 
STRIP=$lt_STRIP
19775
 
 
19776
 
# Used to examine libraries when file_magic_cmd begins "file"
19777
 
MAGIC_CMD=$MAGIC_CMD
19778
 
 
19779
 
# Used on cygwin: DLL creation program.
19780
 
DLLTOOL="$DLLTOOL"
19781
 
 
19782
 
# Used on cygwin: object dumper.
19783
 
OBJDUMP="$OBJDUMP"
19784
 
 
19785
 
# Used on cygwin: assembler.
19786
 
AS="$AS"
19787
 
 
19788
 
# The name of the directory that contains temporary libtool files.
19789
 
objdir=$objdir
19790
 
 
19791
 
# How to create reloadable object files.
19792
 
reload_flag=$lt_reload_flag
19793
 
reload_cmds=$lt_reload_cmds
19794
 
 
19795
 
# How to pass a linker flag through the compiler.
19796
 
wl=$lt_lt_prog_compiler_wl_RC
19797
 
 
19798
 
# Object file suffix (normally "o").
19799
 
objext="$ac_objext"
19800
 
 
19801
 
# Old archive suffix (normally "a").
19802
 
libext="$libext"
19803
 
 
19804
 
# Shared library suffix (normally ".so").
19805
 
shrext_cmds='$shrext_cmds'
19806
 
 
19807
 
# Executable file suffix (normally "").
19808
 
exeext="$exeext"
19809
 
 
19810
 
# Additional compiler flags for building library objects.
19811
 
pic_flag=$lt_lt_prog_compiler_pic_RC
19812
 
pic_mode=$pic_mode
19813
 
 
19814
 
# What is the maximum length of a command?
19815
 
max_cmd_len=$lt_cv_sys_max_cmd_len
19816
 
 
19817
 
# Does compiler simultaneously support -c and -o options?
19818
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
19819
 
 
19820
 
# Must we lock files when doing compilation?
19821
 
need_locks=$lt_need_locks
19822
 
 
19823
 
# Do we need the lib prefix for modules?
19824
 
need_lib_prefix=$need_lib_prefix
19825
 
 
19826
 
# Do we need a version for libraries?
19827
 
need_version=$need_version
19828
 
 
19829
 
# Whether dlopen is supported.
19830
 
dlopen_support=$enable_dlopen
19831
 
 
19832
 
# Whether dlopen of programs is supported.
19833
 
dlopen_self=$enable_dlopen_self
19834
 
 
19835
 
# Whether dlopen of statically linked programs is supported.
19836
 
dlopen_self_static=$enable_dlopen_self_static
19837
 
 
19838
 
# Compiler flag to prevent dynamic linking.
19839
 
link_static_flag=$lt_lt_prog_compiler_static_RC
19840
 
 
19841
 
# Compiler flag to turn off builtin functions.
19842
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
19843
 
 
19844
 
# Compiler flag to allow reflexive dlopens.
19845
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
19846
 
 
19847
 
# Compiler flag to generate shared objects directly from archives.
19848
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
19849
 
 
19850
 
# Compiler flag to generate thread-safe objects.
19851
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
19852
 
 
19853
 
# Library versioning type.
19854
 
version_type=$version_type
19855
 
 
19856
 
# Format of library name prefix.
19857
 
libname_spec=$lt_libname_spec
19858
 
 
19859
 
# List of archive names.  First name is the real one, the rest are links.
19860
 
# The last name is the one that the linker finds with -lNAME.
19861
 
library_names_spec=$lt_library_names_spec
19862
 
 
19863
 
# The coded name of the library, if different from the real name.
19864
 
soname_spec=$lt_soname_spec
19865
 
 
19866
 
# Commands used to build and install an old-style archive.
19867
 
RANLIB=$lt_RANLIB
19868
 
old_archive_cmds=$lt_old_archive_cmds_RC
19869
 
old_postinstall_cmds=$lt_old_postinstall_cmds
19870
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
19871
 
 
19872
 
# Create an old-style archive from a shared archive.
19873
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
19874
 
 
19875
 
# Create a temporary old-style archive to link instead of a shared archive.
19876
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
19877
 
 
19878
 
# Commands used to build and install a shared archive.
19879
 
archive_cmds=$lt_archive_cmds_RC
19880
 
archive_expsym_cmds=$lt_archive_expsym_cmds_RC
19881
 
postinstall_cmds=$lt_postinstall_cmds
19882
 
postuninstall_cmds=$lt_postuninstall_cmds
19883
 
 
19884
 
# Commands used to build a loadable module (assumed same as above if empty)
19885
 
module_cmds=$lt_module_cmds_RC
19886
 
module_expsym_cmds=$lt_module_expsym_cmds_RC
19887
 
 
19888
 
# Commands to strip libraries.
19889
 
old_striplib=$lt_old_striplib
19890
 
striplib=$lt_striplib
19891
 
 
19892
 
# Dependencies to place before the objects being linked to create a
19893
 
# shared library.
19894
 
predep_objects=$lt_predep_objects_RC
19895
 
 
19896
 
# Dependencies to place after the objects being linked to create a
19897
 
# shared library.
19898
 
postdep_objects=$lt_postdep_objects_RC
19899
 
 
19900
 
# Dependencies to place before the objects being linked to create a
19901
 
# shared library.
19902
 
predeps=$lt_predeps_RC
19903
 
 
19904
 
# Dependencies to place after the objects being linked to create a
19905
 
# shared library.
19906
 
postdeps=$lt_postdeps_RC
19907
 
 
19908
 
# The directories searched by this compiler when creating a shared
19909
 
# library
19910
 
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
19911
 
 
19912
 
# The library search path used internally by the compiler when linking
19913
 
# a shared library.
19914
 
compiler_lib_search_path=$lt_compiler_lib_search_path_RC
19915
 
 
19916
 
# Method to check whether dependent libraries are shared objects.
19917
 
deplibs_check_method=$lt_deplibs_check_method
19918
 
 
19919
 
# Command to use when deplibs_check_method == file_magic.
19920
 
file_magic_cmd=$lt_file_magic_cmd
19921
 
 
19922
 
# Flag that allows shared libraries with undefined symbols to be built.
19923
 
allow_undefined_flag=$lt_allow_undefined_flag_RC
19924
 
 
19925
 
# Flag that forces no undefined symbols.
19926
 
no_undefined_flag=$lt_no_undefined_flag_RC
19927
 
 
19928
 
# Commands used to finish a libtool library installation in a directory.
19929
 
finish_cmds=$lt_finish_cmds
19930
 
 
19931
 
# Same as above, but a single script fragment to be evaled but not shown.
19932
 
finish_eval=$lt_finish_eval
19933
 
 
19934
 
# Take the output of nm and produce a listing of raw symbols and C names.
19935
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19936
 
 
19937
 
# Transform the output of nm in a proper C declaration
19938
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19939
 
 
19940
 
# Transform the output of nm in a C name address pair
19941
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19942
 
 
19943
 
# This is the shared library runtime path variable.
19944
 
runpath_var=$runpath_var
19945
 
 
19946
 
# This is the shared library path variable.
19947
 
shlibpath_var=$shlibpath_var
19948
 
 
19949
 
# Is shlibpath searched before the hard-coded library search path?
19950
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19951
 
 
19952
 
# How to hardcode a shared library path into an executable.
19953
 
hardcode_action=$hardcode_action_RC
19954
 
 
19955
 
# Whether we should hardcode library paths into libraries.
19956
 
hardcode_into_libs=$hardcode_into_libs
19957
 
 
19958
 
# Flag to hardcode \$libdir into a binary during linking.
19959
 
# This must work even if \$libdir does not exist.
19960
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
19961
 
 
19962
 
# If ld is used when linking, flag to hardcode \$libdir into
19963
 
# a binary during linking. This must work even if \$libdir does
19964
 
# not exist.
19965
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
19966
 
 
19967
 
# Whether we need a single -rpath flag with a separated argument.
19968
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
19969
 
 
19970
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19971
 
# resulting binary.
19972
 
hardcode_direct=$hardcode_direct_RC
19973
 
 
19974
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19975
 
# resulting binary.
19976
 
hardcode_minus_L=$hardcode_minus_L_RC
19977
 
 
19978
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19979
 
# the resulting binary.
19980
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
19981
 
 
19982
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
19983
 
# and all subsequent libraries and executables linked against it.
19984
 
hardcode_automatic=$hardcode_automatic_RC
19985
 
 
19986
 
# Variables whose values should be saved in libtool wrapper scripts and
19987
 
# restored at relink time.
19988
 
variables_saved_for_relink="$variables_saved_for_relink"
19989
 
 
19990
 
# Whether libtool must link a program against all its dependency libraries.
19991
 
link_all_deplibs=$link_all_deplibs_RC
19992
 
 
19993
 
# Compile-time system search path for libraries
19994
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19995
 
 
19996
 
# Run-time system search path for libraries
19997
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19998
 
 
19999
 
# Fix the shell variable \$srcfile for the compiler.
20000
 
fix_srcfile_path=$lt_fix_srcfile_path
20001
 
 
20002
 
# Set to yes if exported symbols are required.
20003
 
always_export_symbols=$always_export_symbols_RC
20004
 
 
20005
 
# The commands to list exported symbols.
20006
 
export_symbols_cmds=$lt_export_symbols_cmds_RC
20007
 
 
20008
 
# The commands to extract the exported symbol list from a shared archive.
20009
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
20010
 
 
20011
 
# Symbols that should not be listed in the preloaded symbols.
20012
 
exclude_expsyms=$lt_exclude_expsyms_RC
20013
 
 
20014
 
# Symbols that must always be exported.
20015
 
include_expsyms=$lt_include_expsyms_RC
20016
 
 
20017
 
# ### END LIBTOOL TAG CONFIG: $tagname
20018
 
 
20019
 
__EOF__
20020
 
 
20021
 
 
20022
 
else
20023
 
  # If there is no Makefile yet, we rely on a make rule to execute
20024
 
  # `config.status --recheck' to rerun these tests and create the
20025
 
  # libtool script then.
20026
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
20027
 
  if test -f "$ltmain_in"; then
20028
 
    test -f Makefile && make "$ltmain"
20029
 
  fi
20030
 
fi
20031
 
 
20032
 
 
20033
 
ac_ext=c
20034
 
ac_cpp='$CPP $CPPFLAGS'
20035
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20036
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20037
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
20038
 
 
20039
 
CC="$lt_save_CC"
20040
 
 
20041
 
        ;;
20042
 
 
20043
 
      *)
20044
 
        { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
20045
 
echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
20046
 
   { (exit 1); exit 1; }; }
20047
 
        ;;
20048
 
      esac
20049
 
 
20050
 
      # Append the new tag name to the list of available tags.
20051
 
      if test -n "$tagname" ; then
20052
 
      available_tags="$available_tags $tagname"
20053
 
    fi
20054
 
    fi
20055
 
  done
20056
 
  IFS="$lt_save_ifs"
20057
 
 
20058
 
  # Now substitute the updated list of available tags.
20059
 
  if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
20060
 
    mv "${ofile}T" "$ofile"
20061
 
    chmod +x "$ofile"
20062
 
  else
20063
 
    rm -f "${ofile}T"
20064
 
    { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
20065
 
echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
20066
 
   { (exit 1); exit 1; }; }
20067
 
  fi
20068
 
fi
20069
 
 
20070
 
 
20071
 
 
20072
 
# This can be used to rebuild libtool when needed
20073
 
LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
20074
 
 
20075
 
# Always use our own libtool.
20076
 
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
20077
 
 
20078
 
# Prevent multiple expansion
20079
 
 
20080
 
 
20081
 
 
20082
 
 
20083
 
 
20084
 
 
20085
 
 
20086
 
 
20087
 
 
20088
 
 
20089
 
 
20090
 
 
20091
 
 
20092
 
 
20093
 
 
20094
 
 
20095
 
 
20096
 
 
 
11311
 
 
11312
 
 
11313
 
 
11314
 
 
11315
 
 
11316
 
 
11317
 
 
11318
 
 
11319
 
 
11320
 
 
11321
 
 
11322
 
 
11323
 
 
11324
 
 
11325
 
 
11326
striplib=
 
11327
old_striplib=
 
11328
{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
 
11329
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
 
11330
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
 
11331
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
 
11332
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
 
11333
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
11334
$as_echo "yes" >&6; }
 
11335
else
 
11336
# FIXME - insert some real tests, host_os isn't really good enough
 
11337
  case $host_os in
 
11338
  darwin*)
 
11339
    if test -n "$STRIP" ; then
 
11340
      striplib="$STRIP -x"
 
11341
      old_striplib="$STRIP -S"
 
11342
      { $as_echo "$as_me:$LINENO: result: yes" >&5
 
11343
$as_echo "yes" >&6; }
 
11344
    else
 
11345
      { $as_echo "$as_me:$LINENO: result: no" >&5
 
11346
$as_echo "no" >&6; }
 
11347
    fi
 
11348
    ;;
 
11349
  *)
 
11350
    { $as_echo "$as_me:$LINENO: result: no" >&5
 
11351
$as_echo "no" >&6; }
 
11352
    ;;
 
11353
  esac
 
11354
fi
 
11355
 
 
11356
 
 
11357
 
 
11358
 
 
11359
 
 
11360
 
 
11361
 
 
11362
 
 
11363
 
 
11364
 
 
11365
 
 
11366
 
 
11367
  # Report which library types will actually be built
 
11368
  { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
11369
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
 
11370
  { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
11371
$as_echo "$can_build_shared" >&6; }
 
11372
 
 
11373
  { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
11374
$as_echo_n "checking whether to build shared libraries... " >&6; }
 
11375
  test "$can_build_shared" = "no" && enable_shared=no
 
11376
 
 
11377
  # On AIX, shared libraries and static libraries use the same namespace, and
 
11378
  # are all built from PIC.
 
11379
  case $host_os in
 
11380
  aix3*)
 
11381
    test "$enable_shared" = yes && enable_static=no
 
11382
    if test -n "$RANLIB"; then
 
11383
      archive_cmds="$archive_cmds~\$RANLIB \$lib"
 
11384
      postinstall_cmds='$RANLIB $lib'
 
11385
    fi
 
11386
    ;;
 
11387
 
 
11388
  aix[4-9]*)
 
11389
    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
 
11390
      test "$enable_shared" = yes && enable_static=no
 
11391
    fi
 
11392
    ;;
 
11393
  esac
 
11394
  { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
 
11395
$as_echo "$enable_shared" >&6; }
 
11396
 
 
11397
  { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
11398
$as_echo_n "checking whether to build static libraries... " >&6; }
 
11399
  # Make sure either enable_shared or enable_static is yes.
 
11400
  test "$enable_shared" = yes || enable_static=yes
 
11401
  { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
 
11402
$as_echo "$enable_static" >&6; }
 
11403
 
 
11404
 
 
11405
 
 
11406
 
 
11407
fi
 
11408
ac_ext=c
 
11409
ac_cpp='$CPP $CPPFLAGS'
 
11410
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
11411
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
11412
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
11413
 
 
11414
CC="$lt_save_CC"
 
11415
 
 
11416
 
 
11417
 
 
11418
 
 
11419
 
 
11420
 
 
11421
 
 
11422
 
 
11423
 
 
11424
 
 
11425
 
 
11426
 
 
11427
 
 
11428
        ac_config_commands="$ac_config_commands libtool"
 
11429
 
 
11430
 
 
11431
 
 
11432
 
 
11433
# Only expand once:
20097
11434
 
20098
11435
 
20099
11436
 
20100
11437
if test "$ac_cv_prog_gnu_ld" = "yes" ; then
20101
11438
 
20102
11439
cat >>confdefs.h <<\_ACEOF
20103
 
#define HAVE_GNU_LD
 
11440
#define HAVE_GNU_LD /**/
20104
11441
_ACEOF
20105
11442
 
20106
11443
fi
20107
11444
 
20108
 
{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
20109
 
echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
 
11445
{ $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
 
11446
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
20110
11447
    # Check whether --enable-maintainer-mode was given.
20111
11448
if test "${enable_maintainer_mode+set}" = set; then
20112
11449
  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
20114
11451
  USE_MAINTAINER_MODE=no
20115
11452
fi
20116
11453
 
20117
 
  { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
20118
 
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
 
11454
  { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
 
11455
$as_echo "$USE_MAINTAINER_MODE" >&6; }
20119
11456
   if test $USE_MAINTAINER_MODE = yes; then
20120
11457
  MAINTAINER_MODE_TRUE=
20121
11458
  MAINTAINER_MODE_FALSE='#'
20132
11469
  BUILD_TEST="yes"
20133
11470
 
20134
11471
cat >>confdefs.h <<\_ACEOF
20135
 
#define HAVE_MAINTAINER_MODE
 
11472
#define HAVE_MAINTAINER_MODE /**/
20136
11473
_ACEOF
20137
11474
 
20138
11475
fi
20155
11492
 
20156
11493
# Extract the first word of "cups-config", so it can be a program name with args.
20157
11494
set dummy cups-config; ac_word=$2
20158
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
20159
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
11495
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
11496
$as_echo_n "checking for $ac_word... " >&6; }
20160
11497
if test "${ac_cv_path_CUPS_CONFIG+set}" = set; then
20161
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11498
  $as_echo_n "(cached) " >&6
20162
11499
else
20163
11500
  case $CUPS_CONFIG in
20164
11501
  [\\/]* | ?:[\\/]*)
20173
11510
  for ac_exec_ext in '' $ac_executable_extensions; do
20174
11511
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20175
11512
    ac_cv_path_CUPS_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20176
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11513
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20177
11514
    break 2
20178
11515
  fi
20179
11516
done
20185
11522
fi
20186
11523
CUPS_CONFIG=$ac_cv_path_CUPS_CONFIG
20187
11524
if test -n "$CUPS_CONFIG"; then
20188
 
  { echo "$as_me:$LINENO: result: $CUPS_CONFIG" >&5
20189
 
echo "${ECHO_T}$CUPS_CONFIG" >&6; }
 
11525
  { $as_echo "$as_me:$LINENO: result: $CUPS_CONFIG" >&5
 
11526
$as_echo "$CUPS_CONFIG" >&6; }
20190
11527
else
20191
 
  { echo "$as_me:$LINENO: result: no" >&5
20192
 
echo "${ECHO_T}no" >&6; }
 
11528
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
11529
$as_echo "no" >&6; }
20193
11530
fi
20194
11531
 
20195
11532
 
20199
11536
  BUILD_CUPS="yes"
20200
11537
fi
20201
11538
# create custom command-line --with option
20202
 
{ echo "$as_me:$LINENO: checking whether to whether to build CUPS driver" >&5
20203
 
echo $ECHO_N "checking whether to whether to build CUPS driver... $ECHO_C" >&6; }
 
11539
{ $as_echo "$as_me:$LINENO: checking whether to whether to build CUPS driver" >&5
 
11540
$as_echo_n "checking whether to whether to build CUPS driver... " >&6; }
20204
11541
 
20205
11542
# Check whether --with-cups was given.
20206
11543
if test "${with_cups+set}" = set; then
20207
11544
  withval=$with_cups; case "${withval}" in
20208
11545
 
20209
 
    yes) BUILD_CUPS="yes" ; { echo "$as_me:$LINENO: result: yes" >&5
20210
 
echo "${ECHO_T}yes" >&6; } ; cups_prefix="/usr" ;;
20211
 
    no) BUILD_CUPS="no" ; { echo "$as_me:$LINENO: result: no" >&5
20212
 
echo "${ECHO_T}no" >&6; } ; cups_prefix="/usr" ;;
 
11546
    yes) BUILD_CUPS="yes" ; { $as_echo "$as_me:$LINENO: result: yes" >&5
 
11547
$as_echo "yes" >&6; } ; cups_prefix="/usr" ;;
 
11548
    no) BUILD_CUPS="no" ; { $as_echo "$as_me:$LINENO: result: no" >&5
 
11549
$as_echo "no" >&6; } ; cups_prefix="/usr" ;;
20213
11550
    *) if test -d ${withval} ; then
20214
11551
         BUILD_CUPS="yes"
20215
 
         { echo "$as_me:$LINENO: result: yes (using specified prefix)" >&5
20216
 
echo "${ECHO_T}yes (using specified prefix)" >&6; }
 
11552
         { $as_echo "$as_me:$LINENO: result: yes (using specified prefix)" >&5
 
11553
$as_echo "yes (using specified prefix)" >&6; }
20217
11554
         cups_prefix="${withval}"
20218
11555
       else
20219
 
         { echo "$as_me:$LINENO: result: unknown" >&5
20220
 
echo "${ECHO_T}unknown" >&6; }
20221
 
         { { echo "$as_me:$LINENO: error: ${withval}: no such directory for --with-cups" >&5
20222
 
echo "$as_me: error: ${withval}: no such directory for --with-cups" >&2;}
 
11556
         { $as_echo "$as_me:$LINENO: result: unknown" >&5
 
11557
$as_echo "unknown" >&6; }
 
11558
         { { $as_echo "$as_me:$LINENO: error: ${withval}: no such directory for --with-cups" >&5
 
11559
$as_echo "$as_me: error: ${withval}: no such directory for --with-cups" >&2;}
20223
11560
   { (exit 1); exit 1; }; }
20224
11561
       fi ;;
20225
11562
 
20228
11565
  if test -z "${BUILD_CUPS}" ; then
20229
11566
               BUILD_CUPS="(automatic)"
20230
11567
             fi
20231
 
             { echo "$as_me:$LINENO: result: ${BUILD_CUPS}" >&5
20232
 
echo "${ECHO_T}${BUILD_CUPS}" >&6; } ;
 
11568
             { $as_echo "$as_me:$LINENO: result: ${BUILD_CUPS}" >&5
 
11569
$as_echo "${BUILD_CUPS}" >&6; } ;
20233
11570
     cups_prefix="${prefix}"
20234
11571
 
20235
11572
fi
20241
11578
 
20242
11579
 
20243
11580
 
20244
 
  { echo "$as_me:$LINENO: checking whether NLS is requested" >&5
20245
 
echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6; }
 
11581
  { $as_echo "$as_me:$LINENO: checking whether NLS is requested" >&5
 
11582
$as_echo_n "checking whether NLS is requested... " >&6; }
20246
11583
    # Check whether --enable-nls was given.
20247
11584
if test "${enable_nls+set}" = set; then
20248
11585
  enableval=$enable_nls; USE_NLS=$enableval
20250
11587
  USE_NLS=yes
20251
11588
fi
20252
11589
 
20253
 
  { echo "$as_me:$LINENO: result: $USE_NLS" >&5
20254
 
echo "${ECHO_T}$USE_NLS" >&6; }
 
11590
  { $as_echo "$as_me:$LINENO: result: $USE_NLS" >&5
 
11591
$as_echo "$USE_NLS" >&6; }
20255
11592
 
20256
11593
 
20257
11594
 
20288
11625
 
20289
11626
# Extract the first word of "msgfmt", so it can be a program name with args.
20290
11627
set dummy msgfmt; ac_word=$2
20291
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
20292
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
11628
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
11629
$as_echo_n "checking for $ac_word... " >&6; }
20293
11630
if test "${ac_cv_path_MSGFMT+set}" = set; then
20294
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11631
  $as_echo_n "(cached) " >&6
20295
11632
else
20296
11633
  case "$MSGFMT" in
20297
11634
  [\\/]* | ?:[\\/]*)
20320
11657
fi
20321
11658
MSGFMT="$ac_cv_path_MSGFMT"
20322
11659
if test "$MSGFMT" != ":"; then
20323
 
  { echo "$as_me:$LINENO: result: $MSGFMT" >&5
20324
 
echo "${ECHO_T}$MSGFMT" >&6; }
 
11660
  { $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
 
11661
$as_echo "$MSGFMT" >&6; }
20325
11662
else
20326
 
  { echo "$as_me:$LINENO: result: no" >&5
20327
 
echo "${ECHO_T}no" >&6; }
 
11663
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
11664
$as_echo "no" >&6; }
20328
11665
fi
20329
11666
 
20330
11667
  # Extract the first word of "gmsgfmt", so it can be a program name with args.
20331
11668
set dummy gmsgfmt; ac_word=$2
20332
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
20333
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
11669
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
11670
$as_echo_n "checking for $ac_word... " >&6; }
20334
11671
if test "${ac_cv_path_GMSGFMT+set}" = set; then
20335
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11672
  $as_echo_n "(cached) " >&6
20336
11673
else
20337
11674
  case $GMSGFMT in
20338
11675
  [\\/]* | ?:[\\/]*)
20347
11684
  for ac_exec_ext in '' $ac_executable_extensions; do
20348
11685
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20349
11686
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
20350
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11687
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20351
11688
    break 2
20352
11689
  fi
20353
11690
done
20360
11697
fi
20361
11698
GMSGFMT=$ac_cv_path_GMSGFMT
20362
11699
if test -n "$GMSGFMT"; then
20363
 
  { echo "$as_me:$LINENO: result: $GMSGFMT" >&5
20364
 
echo "${ECHO_T}$GMSGFMT" >&6; }
 
11700
  { $as_echo "$as_me:$LINENO: result: $GMSGFMT" >&5
 
11701
$as_echo "$GMSGFMT" >&6; }
20365
11702
else
20366
 
  { echo "$as_me:$LINENO: result: no" >&5
20367
 
echo "${ECHO_T}no" >&6; }
 
11703
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
11704
$as_echo "no" >&6; }
20368
11705
fi
20369
11706
 
20370
11707
 
20411
11748
 
20412
11749
# Extract the first word of "xgettext", so it can be a program name with args.
20413
11750
set dummy xgettext; ac_word=$2
20414
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
20415
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
11751
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
11752
$as_echo_n "checking for $ac_word... " >&6; }
20416
11753
if test "${ac_cv_path_XGETTEXT+set}" = set; then
20417
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11754
  $as_echo_n "(cached) " >&6
20418
11755
else
20419
11756
  case "$XGETTEXT" in
20420
11757
  [\\/]* | ?:[\\/]*)
20443
11780
fi
20444
11781
XGETTEXT="$ac_cv_path_XGETTEXT"
20445
11782
if test "$XGETTEXT" != ":"; then
20446
 
  { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
20447
 
echo "${ECHO_T}$XGETTEXT" >&6; }
 
11783
  { $as_echo "$as_me:$LINENO: result: $XGETTEXT" >&5
 
11784
$as_echo "$XGETTEXT" >&6; }
20448
11785
else
20449
 
  { echo "$as_me:$LINENO: result: no" >&5
20450
 
echo "${ECHO_T}no" >&6; }
 
11786
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
11787
$as_echo "no" >&6; }
20451
11788
fi
20452
11789
 
20453
11790
    rm -f messages.po
20489
11826
 
20490
11827
# Extract the first word of "msgmerge", so it can be a program name with args.
20491
11828
set dummy msgmerge; ac_word=$2
20492
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
20493
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
11829
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
11830
$as_echo_n "checking for $ac_word... " >&6; }
20494
11831
if test "${ac_cv_path_MSGMERGE+set}" = set; then
20495
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11832
  $as_echo_n "(cached) " >&6
20496
11833
else
20497
11834
  case "$MSGMERGE" in
20498
11835
  [\\/]* | ?:[\\/]*)
20520
11857
fi
20521
11858
MSGMERGE="$ac_cv_path_MSGMERGE"
20522
11859
if test "$MSGMERGE" != ":"; then
20523
 
  { echo "$as_me:$LINENO: result: $MSGMERGE" >&5
20524
 
echo "${ECHO_T}$MSGMERGE" >&6; }
 
11860
  { $as_echo "$as_me:$LINENO: result: $MSGMERGE" >&5
 
11861
$as_echo "$MSGMERGE" >&6; }
20525
11862
else
20526
 
  { echo "$as_me:$LINENO: result: no" >&5
20527
 
echo "${ECHO_T}no" >&6; }
 
11863
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
11864
$as_echo "no" >&6; }
20528
11865
fi
20529
11866
 
20530
11867
 
20574
11911
ac_prog=ld
20575
11912
if test "$GCC" = yes; then
20576
11913
  # Check if gcc -print-prog-name=ld gives a path.
20577
 
  { echo "$as_me:$LINENO: checking for ld used by GCC" >&5
20578
 
echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6; }
 
11914
  { $as_echo "$as_me:$LINENO: checking for ld used by GCC" >&5
 
11915
$as_echo_n "checking for ld used by GCC... " >&6; }
20579
11916
  case $host in
20580
11917
  *-*-mingw*)
20581
11918
    # gcc leaves a trailing carriage return which upsets mingw
20604
11941
    ;;
20605
11942
  esac
20606
11943
elif test "$with_gnu_ld" = yes; then
20607
 
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
20608
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
 
11944
  { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
 
11945
$as_echo_n "checking for GNU ld... " >&6; }
20609
11946
else
20610
 
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
20611
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
 
11947
  { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
11948
$as_echo_n "checking for non-GNU ld... " >&6; }
20612
11949
fi
20613
11950
if test "${acl_cv_path_LD+set}" = set; then
20614
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11951
  $as_echo_n "(cached) " >&6
20615
11952
else
20616
11953
  if test -z "$LD"; then
20617
11954
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
20638
11975
 
20639
11976
LD="$acl_cv_path_LD"
20640
11977
if test -n "$LD"; then
20641
 
  { echo "$as_me:$LINENO: result: $LD" >&5
20642
 
echo "${ECHO_T}$LD" >&6; }
 
11978
  { $as_echo "$as_me:$LINENO: result: $LD" >&5
 
11979
$as_echo "$LD" >&6; }
20643
11980
else
20644
 
  { echo "$as_me:$LINENO: result: no" >&5
20645
 
echo "${ECHO_T}no" >&6; }
 
11981
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
11982
$as_echo "no" >&6; }
20646
11983
fi
20647
 
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
20648
 
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
 
11984
test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
 
11985
$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
20649
11986
   { (exit 1); exit 1; }; }
20650
 
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
20651
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
 
11987
{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
11988
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
20652
11989
if test "${acl_cv_prog_gnu_ld+set}" = set; then
20653
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11990
  $as_echo_n "(cached) " >&6
20654
11991
else
20655
11992
  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
20656
11993
case `$LD -v 2>&1 </dev/null` in
20660
11997
  acl_cv_prog_gnu_ld=no ;;
20661
11998
esac
20662
11999
fi
20663
 
{ echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
20664
 
echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6; }
 
12000
{ $as_echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
 
12001
$as_echo "$acl_cv_prog_gnu_ld" >&6; }
20665
12002
with_gnu_ld=$acl_cv_prog_gnu_ld
20666
12003
 
20667
12004
 
20668
12005
 
20669
12006
 
20670
 
                                                { echo "$as_me:$LINENO: checking for shared library run path origin" >&5
20671
 
echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6; }
 
12007
                                                { $as_echo "$as_me:$LINENO: checking for shared library run path origin" >&5
 
12008
$as_echo_n "checking for shared library run path origin... " >&6; }
20672
12009
if test "${acl_cv_rpath+set}" = set; then
20673
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12010
  $as_echo_n "(cached) " >&6
20674
12011
else
20675
12012
 
20676
12013
    CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
20680
12017
    acl_cv_rpath=done
20681
12018
 
20682
12019
fi
20683
 
{ echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
20684
 
echo "${ECHO_T}$acl_cv_rpath" >&6; }
 
12020
{ $as_echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
 
12021
$as_echo "$acl_cv_rpath" >&6; }
20685
12022
  wl="$acl_cv_wl"
20686
12023
  libext="$acl_cv_libext"
20687
12024
  shlibext="$acl_cv_shlibext"
21137
12474
 
21138
12475
 
21139
12476
 
21140
 
    { echo "$as_me:$LINENO: checking for CFPreferencesCopyAppValue" >&5
21141
 
echo $ECHO_N "checking for CFPreferencesCopyAppValue... $ECHO_C" >&6; }
 
12477
    { $as_echo "$as_me:$LINENO: checking for CFPreferencesCopyAppValue" >&5
 
12478
$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
21142
12479
if test "${gt_cv_func_CFPreferencesCopyAppValue+set}" = set; then
21143
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12480
  $as_echo_n "(cached) " >&6
21144
12481
else
21145
12482
  gt_save_LIBS="$LIBS"
21146
12483
     LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
21165
12502
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21166
12503
  *) ac_try_echo=$ac_try;;
21167
12504
esac
21168
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12505
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
12506
$as_echo "$ac_try_echo") >&5
21169
12507
  (eval "$ac_link") 2>conftest.er1
21170
12508
  ac_status=$?
21171
12509
  grep -v '^ *+' conftest.er1 >conftest.err
21172
12510
  rm -f conftest.er1
21173
12511
  cat conftest.err >&5
21174
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12512
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21175
12513
  (exit $ac_status); } && {
21176
12514
         test -z "$ac_c_werror_flag" ||
21177
12515
         test ! -s conftest.err
21178
 
       } && test -s conftest$ac_exeext &&
21179
 
       $as_test_x conftest$ac_exeext; then
 
12516
       } && test -s conftest$ac_exeext && {
 
12517
         test "$cross_compiling" = yes ||
 
12518
         $as_test_x conftest$ac_exeext
 
12519
       }; then
21180
12520
  gt_cv_func_CFPreferencesCopyAppValue=yes
21181
12521
else
21182
 
  echo "$as_me: failed program was:" >&5
 
12522
  $as_echo "$as_me: failed program was:" >&5
21183
12523
sed 's/^/| /' conftest.$ac_ext >&5
21184
12524
 
21185
12525
        gt_cv_func_CFPreferencesCopyAppValue=no
21186
12526
fi
21187
12527
 
 
12528
rm -rf conftest.dSYM
21188
12529
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21189
12530
      conftest$ac_exeext conftest.$ac_ext
21190
12531
     LIBS="$gt_save_LIBS"
21191
12532
fi
21192
 
{ echo "$as_me:$LINENO: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
21193
 
echo "${ECHO_T}$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
 
12533
{ $as_echo "$as_me:$LINENO: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
 
12534
$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
21194
12535
  if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
21195
12536
 
21196
12537
cat >>confdefs.h <<\_ACEOF
21198
12539
_ACEOF
21199
12540
 
21200
12541
  fi
21201
 
    { echo "$as_me:$LINENO: checking for CFLocaleCopyCurrent" >&5
21202
 
echo $ECHO_N "checking for CFLocaleCopyCurrent... $ECHO_C" >&6; }
 
12542
    { $as_echo "$as_me:$LINENO: checking for CFLocaleCopyCurrent" >&5
 
12543
$as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
21203
12544
if test "${gt_cv_func_CFLocaleCopyCurrent+set}" = set; then
21204
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12545
  $as_echo_n "(cached) " >&6
21205
12546
else
21206
12547
  gt_save_LIBS="$LIBS"
21207
12548
     LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
21226
12567
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21227
12568
  *) ac_try_echo=$ac_try;;
21228
12569
esac
21229
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12570
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
12571
$as_echo "$ac_try_echo") >&5
21230
12572
  (eval "$ac_link") 2>conftest.er1
21231
12573
  ac_status=$?
21232
12574
  grep -v '^ *+' conftest.er1 >conftest.err
21233
12575
  rm -f conftest.er1
21234
12576
  cat conftest.err >&5
21235
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12577
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21236
12578
  (exit $ac_status); } && {
21237
12579
         test -z "$ac_c_werror_flag" ||
21238
12580
         test ! -s conftest.err
21239
 
       } && test -s conftest$ac_exeext &&
21240
 
       $as_test_x conftest$ac_exeext; then
 
12581
       } && test -s conftest$ac_exeext && {
 
12582
         test "$cross_compiling" = yes ||
 
12583
         $as_test_x conftest$ac_exeext
 
12584
       }; then
21241
12585
  gt_cv_func_CFLocaleCopyCurrent=yes
21242
12586
else
21243
 
  echo "$as_me: failed program was:" >&5
 
12587
  $as_echo "$as_me: failed program was:" >&5
21244
12588
sed 's/^/| /' conftest.$ac_ext >&5
21245
12589
 
21246
12590
        gt_cv_func_CFLocaleCopyCurrent=no
21247
12591
fi
21248
12592
 
 
12593
rm -rf conftest.dSYM
21249
12594
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21250
12595
      conftest$ac_exeext conftest.$ac_ext
21251
12596
     LIBS="$gt_save_LIBS"
21252
12597
fi
21253
 
{ echo "$as_me:$LINENO: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
21254
 
echo "${ECHO_T}$gt_cv_func_CFLocaleCopyCurrent" >&6; }
 
12598
{ $as_echo "$as_me:$LINENO: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
 
12599
$as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
21255
12600
  if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
21256
12601
 
21257
12602
cat >>confdefs.h <<\_ACEOF
21301
12646
          gt_expression_test_code=
21302
12647
        fi
21303
12648
 
21304
 
        { echo "$as_me:$LINENO: checking for GNU gettext in libc" >&5
21305
 
echo $ECHO_N "checking for GNU gettext in libc... $ECHO_C" >&6; }
 
12649
        { $as_echo "$as_me:$LINENO: checking for GNU gettext in libc" >&5
 
12650
$as_echo_n "checking for GNU gettext in libc... " >&6; }
21306
12651
if { as_var=$gt_func_gnugettext_libc; eval "test \"\${$as_var+set}\" = set"; }; then
21307
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12652
  $as_echo_n "(cached) " >&6
21308
12653
else
21309
12654
  cat >conftest.$ac_ext <<_ACEOF
21310
12655
/* confdefs.h.  */
21331
12676
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21332
12677
  *) ac_try_echo=$ac_try;;
21333
12678
esac
21334
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12679
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
12680
$as_echo "$ac_try_echo") >&5
21335
12681
  (eval "$ac_link") 2>conftest.er1
21336
12682
  ac_status=$?
21337
12683
  grep -v '^ *+' conftest.er1 >conftest.err
21338
12684
  rm -f conftest.er1
21339
12685
  cat conftest.err >&5
21340
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12686
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21341
12687
  (exit $ac_status); } && {
21342
12688
         test -z "$ac_c_werror_flag" ||
21343
12689
         test ! -s conftest.err
21344
 
       } && test -s conftest$ac_exeext &&
21345
 
       $as_test_x conftest$ac_exeext; then
 
12690
       } && test -s conftest$ac_exeext && {
 
12691
         test "$cross_compiling" = yes ||
 
12692
         $as_test_x conftest$ac_exeext
 
12693
       }; then
21346
12694
  eval "$gt_func_gnugettext_libc=yes"
21347
12695
else
21348
 
  echo "$as_me: failed program was:" >&5
 
12696
  $as_echo "$as_me: failed program was:" >&5
21349
12697
sed 's/^/| /' conftest.$ac_ext >&5
21350
12698
 
21351
12699
        eval "$gt_func_gnugettext_libc=no"
21352
12700
fi
21353
12701
 
 
12702
rm -rf conftest.dSYM
21354
12703
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21355
12704
      conftest$ac_exeext conftest.$ac_ext
21356
12705
fi
21357
 
ac_res=`eval echo '${'$gt_func_gnugettext_libc'}'`
21358
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
21359
 
echo "${ECHO_T}$ac_res" >&6; }
 
12706
ac_res=`eval 'as_val=${'$gt_func_gnugettext_libc'}
 
12707
                 $as_echo "$as_val"'`
 
12708
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
12709
$as_echo "$ac_res" >&6; }
21360
12710
 
21361
12711
        if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
21362
12712
 
21389
12739
  done
21390
12740
 
21391
12741
 
21392
 
  { echo "$as_me:$LINENO: checking for iconv" >&5
21393
 
echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
 
12742
  { $as_echo "$as_me:$LINENO: checking for iconv" >&5
 
12743
$as_echo_n "checking for iconv... " >&6; }
21394
12744
if test "${am_cv_func_iconv+set}" = set; then
21395
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12745
  $as_echo_n "(cached) " >&6
21396
12746
else
21397
12747
 
21398
12748
    am_cv_func_iconv="no, consider installing GNU libiconv"
21421
12771
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21422
12772
  *) ac_try_echo=$ac_try;;
21423
12773
esac
21424
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12774
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
12775
$as_echo "$ac_try_echo") >&5
21425
12776
  (eval "$ac_link") 2>conftest.er1
21426
12777
  ac_status=$?
21427
12778
  grep -v '^ *+' conftest.er1 >conftest.err
21428
12779
  rm -f conftest.er1
21429
12780
  cat conftest.err >&5
21430
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12781
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21431
12782
  (exit $ac_status); } && {
21432
12783
         test -z "$ac_c_werror_flag" ||
21433
12784
         test ! -s conftest.err
21434
 
       } && test -s conftest$ac_exeext &&
21435
 
       $as_test_x conftest$ac_exeext; then
 
12785
       } && test -s conftest$ac_exeext && {
 
12786
         test "$cross_compiling" = yes ||
 
12787
         $as_test_x conftest$ac_exeext
 
12788
       }; then
21436
12789
  am_cv_func_iconv=yes
21437
12790
else
21438
 
  echo "$as_me: failed program was:" >&5
 
12791
  $as_echo "$as_me: failed program was:" >&5
21439
12792
sed 's/^/| /' conftest.$ac_ext >&5
21440
12793
 
21441
12794
 
21442
12795
fi
21443
12796
 
 
12797
rm -rf conftest.dSYM
21444
12798
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21445
12799
      conftest$ac_exeext conftest.$ac_ext
21446
12800
    if test "$am_cv_func_iconv" != yes; then
21470
12824
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21471
12825
  *) ac_try_echo=$ac_try;;
21472
12826
esac
21473
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12827
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
12828
$as_echo "$ac_try_echo") >&5
21474
12829
  (eval "$ac_link") 2>conftest.er1
21475
12830
  ac_status=$?
21476
12831
  grep -v '^ *+' conftest.er1 >conftest.err
21477
12832
  rm -f conftest.er1
21478
12833
  cat conftest.err >&5
21479
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12834
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21480
12835
  (exit $ac_status); } && {
21481
12836
         test -z "$ac_c_werror_flag" ||
21482
12837
         test ! -s conftest.err
21483
 
       } && test -s conftest$ac_exeext &&
21484
 
       $as_test_x conftest$ac_exeext; then
 
12838
       } && test -s conftest$ac_exeext && {
 
12839
         test "$cross_compiling" = yes ||
 
12840
         $as_test_x conftest$ac_exeext
 
12841
       }; then
21485
12842
  am_cv_lib_iconv=yes
21486
12843
        am_cv_func_iconv=yes
21487
12844
else
21488
 
  echo "$as_me: failed program was:" >&5
 
12845
  $as_echo "$as_me: failed program was:" >&5
21489
12846
sed 's/^/| /' conftest.$ac_ext >&5
21490
12847
 
21491
12848
 
21492
12849
fi
21493
12850
 
 
12851
rm -rf conftest.dSYM
21494
12852
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21495
12853
      conftest$ac_exeext conftest.$ac_ext
21496
12854
      LIBS="$am_save_LIBS"
21497
12855
    fi
21498
12856
 
21499
12857
fi
21500
 
{ echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
21501
 
echo "${ECHO_T}$am_cv_func_iconv" >&6; }
 
12858
{ $as_echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
 
12859
$as_echo "$am_cv_func_iconv" >&6; }
21502
12860
  if test "$am_cv_func_iconv" = yes; then
21503
12861
 
21504
12862
cat >>confdefs.h <<\_ACEOF
21507
12865
 
21508
12866
  fi
21509
12867
  if test "$am_cv_lib_iconv" = yes; then
21510
 
    { echo "$as_me:$LINENO: checking how to link with libiconv" >&5
21511
 
echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6; }
21512
 
    { echo "$as_me:$LINENO: result: $LIBICONV" >&5
21513
 
echo "${ECHO_T}$LIBICONV" >&6; }
 
12868
    { $as_echo "$as_me:$LINENO: checking how to link with libiconv" >&5
 
12869
$as_echo_n "checking how to link with libiconv... " >&6; }
 
12870
    { $as_echo "$as_me:$LINENO: result: $LIBICONV" >&5
 
12871
$as_echo "$LIBICONV" >&6; }
21514
12872
  else
21515
12873
            CPPFLAGS="$am_save_CPPFLAGS"
21516
12874
    LIBICONV=
21913
13271
    done
21914
13272
  fi
21915
13273
 
21916
 
          { echo "$as_me:$LINENO: checking for GNU gettext in libintl" >&5
21917
 
echo $ECHO_N "checking for GNU gettext in libintl... $ECHO_C" >&6; }
 
13274
          { $as_echo "$as_me:$LINENO: checking for GNU gettext in libintl" >&5
 
13275
$as_echo_n "checking for GNU gettext in libintl... " >&6; }
21918
13276
if { as_var=$gt_func_gnugettext_libintl; eval "test \"\${$as_var+set}\" = set"; }; then
21919
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
13277
  $as_echo_n "(cached) " >&6
21920
13278
else
21921
13279
  gt_save_CPPFLAGS="$CPPFLAGS"
21922
13280
            CPPFLAGS="$CPPFLAGS $INCINTL"
21951
13309
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21952
13310
  *) ac_try_echo=$ac_try;;
21953
13311
esac
21954
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
13312
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
13313
$as_echo "$ac_try_echo") >&5
21955
13314
  (eval "$ac_link") 2>conftest.er1
21956
13315
  ac_status=$?
21957
13316
  grep -v '^ *+' conftest.er1 >conftest.err
21958
13317
  rm -f conftest.er1
21959
13318
  cat conftest.err >&5
21960
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13319
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21961
13320
  (exit $ac_status); } && {
21962
13321
         test -z "$ac_c_werror_flag" ||
21963
13322
         test ! -s conftest.err
21964
 
       } && test -s conftest$ac_exeext &&
21965
 
       $as_test_x conftest$ac_exeext; then
 
13323
       } && test -s conftest$ac_exeext && {
 
13324
         test "$cross_compiling" = yes ||
 
13325
         $as_test_x conftest$ac_exeext
 
13326
       }; then
21966
13327
  eval "$gt_func_gnugettext_libintl=yes"
21967
13328
else
21968
 
  echo "$as_me: failed program was:" >&5
 
13329
  $as_echo "$as_me: failed program was:" >&5
21969
13330
sed 's/^/| /' conftest.$ac_ext >&5
21970
13331
 
21971
13332
        eval "$gt_func_gnugettext_libintl=no"
21972
13333
fi
21973
13334
 
 
13335
rm -rf conftest.dSYM
21974
13336
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21975
13337
      conftest$ac_exeext conftest.$ac_ext
21976
13338
                        if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
22004
13366
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22005
13367
  *) ac_try_echo=$ac_try;;
22006
13368
esac
22007
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
13369
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
13370
$as_echo "$ac_try_echo") >&5
22008
13371
  (eval "$ac_link") 2>conftest.er1
22009
13372
  ac_status=$?
22010
13373
  grep -v '^ *+' conftest.er1 >conftest.err
22011
13374
  rm -f conftest.er1
22012
13375
  cat conftest.err >&5
22013
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13376
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22014
13377
  (exit $ac_status); } && {
22015
13378
         test -z "$ac_c_werror_flag" ||
22016
13379
         test ! -s conftest.err
22017
 
       } && test -s conftest$ac_exeext &&
22018
 
       $as_test_x conftest$ac_exeext; then
 
13380
       } && test -s conftest$ac_exeext && {
 
13381
         test "$cross_compiling" = yes ||
 
13382
         $as_test_x conftest$ac_exeext
 
13383
       }; then
22019
13384
  LIBINTL="$LIBINTL $LIBICONV"
22020
13385
                LTLIBINTL="$LTLIBINTL $LTLIBICONV"
22021
13386
                eval "$gt_func_gnugettext_libintl=yes"
22022
13387
 
22023
13388
else
22024
 
  echo "$as_me: failed program was:" >&5
 
13389
  $as_echo "$as_me: failed program was:" >&5
22025
13390
sed 's/^/| /' conftest.$ac_ext >&5
22026
13391
 
22027
13392
 
22028
13393
fi
22029
13394
 
 
13395
rm -rf conftest.dSYM
22030
13396
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22031
13397
      conftest$ac_exeext conftest.$ac_ext
22032
13398
            fi
22033
13399
            CPPFLAGS="$gt_save_CPPFLAGS"
22034
13400
            LIBS="$gt_save_LIBS"
22035
13401
fi
22036
 
ac_res=`eval echo '${'$gt_func_gnugettext_libintl'}'`
22037
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
22038
 
echo "${ECHO_T}$ac_res" >&6; }
 
13402
ac_res=`eval 'as_val=${'$gt_func_gnugettext_libintl'}
 
13403
                 $as_echo "$as_val"'`
 
13404
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
13405
$as_echo "$ac_res" >&6; }
22039
13406
        fi
22040
13407
 
22041
13408
                                        if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
22071
13438
    fi
22072
13439
  fi
22073
13440
 
22074
 
  { echo "$as_me:$LINENO: checking whether to use NLS" >&5
22075
 
echo $ECHO_N "checking whether to use NLS... $ECHO_C" >&6; }
22076
 
  { echo "$as_me:$LINENO: result: $USE_NLS" >&5
22077
 
echo "${ECHO_T}$USE_NLS" >&6; }
 
13441
  { $as_echo "$as_me:$LINENO: checking whether to use NLS" >&5
 
13442
$as_echo_n "checking whether to use NLS... " >&6; }
 
13443
  { $as_echo "$as_me:$LINENO: result: $USE_NLS" >&5
 
13444
$as_echo "$USE_NLS" >&6; }
22078
13445
  if test "$USE_NLS" = "yes"; then
22079
 
    { echo "$as_me:$LINENO: checking where the gettext function comes from" >&5
22080
 
echo $ECHO_N "checking where the gettext function comes from... $ECHO_C" >&6; }
 
13446
    { $as_echo "$as_me:$LINENO: checking where the gettext function comes from" >&5
 
13447
$as_echo_n "checking where the gettext function comes from... " >&6; }
22081
13448
    if test "$gt_use_preinstalled_gnugettext" = "yes"; then
22082
13449
      if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
22083
13450
        gt_source="external libintl"
22087
13454
    else
22088
13455
      gt_source="included intl directory"
22089
13456
    fi
22090
 
    { echo "$as_me:$LINENO: result: $gt_source" >&5
22091
 
echo "${ECHO_T}$gt_source" >&6; }
 
13457
    { $as_echo "$as_me:$LINENO: result: $gt_source" >&5
 
13458
$as_echo "$gt_source" >&6; }
22092
13459
  fi
22093
13460
 
22094
13461
  if test "$USE_NLS" = "yes"; then
22095
13462
 
22096
13463
    if test "$gt_use_preinstalled_gnugettext" = "yes"; then
22097
13464
      if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
22098
 
        { echo "$as_me:$LINENO: checking how to link with libintl" >&5
22099
 
echo $ECHO_N "checking how to link with libintl... $ECHO_C" >&6; }
22100
 
        { echo "$as_me:$LINENO: result: $LIBINTL" >&5
22101
 
echo "${ECHO_T}$LIBINTL" >&6; }
 
13465
        { $as_echo "$as_me:$LINENO: checking how to link with libintl" >&5
 
13466
$as_echo_n "checking how to link with libintl... " >&6; }
 
13467
        { $as_echo "$as_me:$LINENO: result: $LIBINTL" >&5
 
13468
$as_echo "$LIBINTL" >&6; }
22102
13469
 
22103
13470
  for element in $INCINTL; do
22104
13471
    haveit=
22159
13526
 
22160
13527
 
22161
13528
# create custom command-line --enable option
22162
 
{ echo "$as_me:$LINENO: checking whether to build CUPS PPD files" >&5
22163
 
echo $ECHO_N "checking whether to build CUPS PPD files... $ECHO_C" >&6; }
 
13529
{ $as_echo "$as_me:$LINENO: checking whether to build CUPS PPD files" >&5
 
13530
$as_echo_n "checking whether to build CUPS PPD files... " >&6; }
22164
13531
# Check whether --enable-nls-macosx was given.
22165
13532
if test "${enable_nls_macosx+set}" = set; then
22166
13533
  enableval=$enable_nls_macosx; case "${enableval}" in
22167
13534
 
22168
 
                yes) USE_NLS_OSX="yes" ; { echo "$as_me:$LINENO: result: ${USE_NLS_OSX}" >&5
22169
 
echo "${ECHO_T}${USE_NLS_OSX}" >&6; } ;;
22170
 
                no) USE_NLS_OSX="no" ; { echo "$as_me:$LINENO: result: ${USE_NLS_OSX}" >&5
22171
 
echo "${ECHO_T}${USE_NLS_OSX}" >&6; } ;;
22172
 
                *) { echo "$as_me:$LINENO: result: unknown" >&5
22173
 
echo "${ECHO_T}unknown" >&6; }
22174
 
                   { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-nls-macosx" >&5
22175
 
echo "$as_me: error: bad value ${enableval} for --enable-nls-macosx" >&2;}
 
13535
                yes) USE_NLS_OSX="yes" ; { $as_echo "$as_me:$LINENO: result: ${USE_NLS_OSX}" >&5
 
13536
$as_echo "${USE_NLS_OSX}" >&6; } ;;
 
13537
                no) USE_NLS_OSX="no" ; { $as_echo "$as_me:$LINENO: result: ${USE_NLS_OSX}" >&5
 
13538
$as_echo "${USE_NLS_OSX}" >&6; } ;;
 
13539
                *) { $as_echo "$as_me:$LINENO: result: unknown" >&5
 
13540
$as_echo "unknown" >&6; }
 
13541
                   { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-nls-macosx" >&5
 
13542
$as_echo "$as_me: error: bad value ${enableval} for --enable-nls-macosx" >&2;}
22176
13543
   { (exit 1); exit 1; }; } ;;
22177
13544
 
22178
13545
            esac
22180
13547
  if test -z "${USE_NLS_OSX}" ; then
22181
13548
               USE_NLS_OSX="(automatic)"
22182
13549
             fi
22183
 
             { echo "$as_me:$LINENO: result: ${USE_NLS_OSX}" >&5
22184
 
echo "${ECHO_T}${USE_NLS_OSX}" >&6; } ;
 
13550
             { $as_echo "$as_me:$LINENO: result: ${USE_NLS_OSX}" >&5
 
13551
$as_echo "${USE_NLS_OSX}" >&6; } ;
22185
13552
fi
22186
13553
 
22187
13554
if test -z "${USE_NLS_OSX}" ; then
22208
13575
fi
22209
13576
 
22210
13577
# create custom command-line --enable option
22211
 
{ echo "$as_me:$LINENO: checking whether to build CUPS PPD files" >&5
22212
 
echo $ECHO_N "checking whether to build CUPS PPD files... $ECHO_C" >&6; }
 
13578
{ $as_echo "$as_me:$LINENO: checking whether to build CUPS PPD files" >&5
 
13579
$as_echo_n "checking whether to build CUPS PPD files... " >&6; }
22213
13580
# Check whether --enable-cups-ppds was given.
22214
13581
if test "${enable_cups_ppds+set}" = set; then
22215
13582
  enableval=$enable_cups_ppds; case "${enableval}" in
22216
13583
 
22217
 
                yes) BUILD_CUPS_PPDS="yes" ; { echo "$as_me:$LINENO: result: ${BUILD_CUPS_PPDS}" >&5
22218
 
echo "${ECHO_T}${BUILD_CUPS_PPDS}" >&6; } ;;
22219
 
                no) BUILD_CUPS_PPDS="no" ; { echo "$as_me:$LINENO: result: ${BUILD_CUPS_PPDS}" >&5
22220
 
echo "${ECHO_T}${BUILD_CUPS_PPDS}" >&6; } ;;
22221
 
                *) { echo "$as_me:$LINENO: result: unknown" >&5
22222
 
echo "${ECHO_T}unknown" >&6; }
22223
 
                   { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-cups-ppds" >&5
22224
 
echo "$as_me: error: bad value ${enableval} for --enable-cups-ppds" >&2;}
 
13584
                yes) BUILD_CUPS_PPDS="yes" ; { $as_echo "$as_me:$LINENO: result: ${BUILD_CUPS_PPDS}" >&5
 
13585
$as_echo "${BUILD_CUPS_PPDS}" >&6; } ;;
 
13586
                no) BUILD_CUPS_PPDS="no" ; { $as_echo "$as_me:$LINENO: result: ${BUILD_CUPS_PPDS}" >&5
 
13587
$as_echo "${BUILD_CUPS_PPDS}" >&6; } ;;
 
13588
                *) { $as_echo "$as_me:$LINENO: result: unknown" >&5
 
13589
$as_echo "unknown" >&6; }
 
13590
                   { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-cups-ppds" >&5
 
13591
$as_echo "$as_me: error: bad value ${enableval} for --enable-cups-ppds" >&2;}
22225
13592
   { (exit 1); exit 1; }; } ;;
22226
13593
 
22227
13594
            esac
22229
13596
  if test -z "${BUILD_CUPS_PPDS}" ; then
22230
13597
               BUILD_CUPS_PPDS="(automatic)"
22231
13598
             fi
22232
 
             { echo "$as_me:$LINENO: result: ${BUILD_CUPS_PPDS}" >&5
22233
 
echo "${ECHO_T}${BUILD_CUPS_PPDS}" >&6; } ;
 
13599
             { $as_echo "$as_me:$LINENO: result: ${BUILD_CUPS_PPDS}" >&5
 
13600
$as_echo "${BUILD_CUPS_PPDS}" >&6; } ;
22234
13601
fi
22235
13602
 
22236
13603
if test -z "${BUILD_CUPS_PPDS}" ; then
22239
13606
 
22240
13607
 
22241
13608
# create custom command-line --enable option
22242
 
{ echo "$as_me:$LINENO: checking whether to build CUPS 1.2 enhancements" >&5
22243
 
echo $ECHO_N "checking whether to build CUPS 1.2 enhancements... $ECHO_C" >&6; }
 
13609
{ $as_echo "$as_me:$LINENO: checking whether to build CUPS 1.2 enhancements" >&5
 
13610
$as_echo_n "checking whether to build CUPS 1.2 enhancements... " >&6; }
22244
13611
# Check whether --enable-cups-1_2-enhancements was given.
22245
13612
if test "${enable_cups_1_2_enhancements+set}" = set; then
22246
13613
  enableval=$enable_cups_1_2_enhancements; case "${enableval}" in
22247
13614
 
22248
 
                yes) BUILD_CUPS_1_2="yes" ; { echo "$as_me:$LINENO: result: ${BUILD_CUPS_1_2}" >&5
22249
 
echo "${ECHO_T}${BUILD_CUPS_1_2}" >&6; } ;;
22250
 
                no) BUILD_CUPS_1_2="no" ; { echo "$as_me:$LINENO: result: ${BUILD_CUPS_1_2}" >&5
22251
 
echo "${ECHO_T}${BUILD_CUPS_1_2}" >&6; } ;;
22252
 
                *) { echo "$as_me:$LINENO: result: unknown" >&5
22253
 
echo "${ECHO_T}unknown" >&6; }
22254
 
                   { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-cups-1_2-enhancements" >&5
22255
 
echo "$as_me: error: bad value ${enableval} for --enable-cups-1_2-enhancements" >&2;}
 
13615
                yes) BUILD_CUPS_1_2="yes" ; { $as_echo "$as_me:$LINENO: result: ${BUILD_CUPS_1_2}" >&5
 
13616
$as_echo "${BUILD_CUPS_1_2}" >&6; } ;;
 
13617
                no) BUILD_CUPS_1_2="no" ; { $as_echo "$as_me:$LINENO: result: ${BUILD_CUPS_1_2}" >&5
 
13618
$as_echo "${BUILD_CUPS_1_2}" >&6; } ;;
 
13619
                *) { $as_echo "$as_me:$LINENO: result: unknown" >&5
 
13620
$as_echo "unknown" >&6; }
 
13621
                   { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-cups-1_2-enhancements" >&5
 
13622
$as_echo "$as_me: error: bad value ${enableval} for --enable-cups-1_2-enhancements" >&2;}
22256
13623
   { (exit 1); exit 1; }; } ;;
22257
13624
 
22258
13625
            esac
22260
13627
  if test -z "${BUILD_CUPS_1_2}" ; then
22261
13628
               BUILD_CUPS_1_2="(automatic)"
22262
13629
             fi
22263
 
             { echo "$as_me:$LINENO: result: ${BUILD_CUPS_1_2}" >&5
22264
 
echo "${ECHO_T}${BUILD_CUPS_1_2}" >&6; } ;
 
13630
             { $as_echo "$as_me:$LINENO: result: ${BUILD_CUPS_1_2}" >&5
 
13631
$as_echo "${BUILD_CUPS_1_2}" >&6; } ;
22265
13632
fi
22266
13633
 
22267
13634
if test -z "${BUILD_CUPS_1_2}" ; then
22274
13641
fi
22275
13642
 
22276
13643
# create custom command-line --enable option
22277
 
{ echo "$as_me:$LINENO: checking whether to build translated CUPS PPD files" >&5
22278
 
echo $ECHO_N "checking whether to build translated CUPS PPD files... $ECHO_C" >&6; }
 
13644
{ $as_echo "$as_me:$LINENO: checking whether to build translated CUPS PPD files" >&5
 
13645
$as_echo_n "checking whether to build translated CUPS PPD files... " >&6; }
22279
13646
# Check whether --enable-translated-cups-ppds was given.
22280
13647
if test "${enable_translated_cups_ppds+set}" = set; then
22281
13648
  enableval=$enable_translated_cups_ppds; case "${enableval}" in
22282
13649
 
22283
 
                yes) BUILD_TRANSLATED_CUPS_PPDS="yes" ; { echo "$as_me:$LINENO: result: ${BUILD_TRANSLATED_CUPS_PPDS}" >&5
22284
 
echo "${ECHO_T}${BUILD_TRANSLATED_CUPS_PPDS}" >&6; } ;;
22285
 
                no) BUILD_TRANSLATED_CUPS_PPDS="no" ; { echo "$as_me:$LINENO: result: ${BUILD_TRANSLATED_CUPS_PPDS}" >&5
22286
 
echo "${ECHO_T}${BUILD_TRANSLATED_CUPS_PPDS}" >&6; } ;;
22287
 
                *) { echo "$as_me:$LINENO: result: unknown" >&5
22288
 
echo "${ECHO_T}unknown" >&6; }
22289
 
                   { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-translated-cups-ppds" >&5
22290
 
echo "$as_me: error: bad value ${enableval} for --enable-translated-cups-ppds" >&2;}
 
13650
                yes) BUILD_TRANSLATED_CUPS_PPDS="yes" ; { $as_echo "$as_me:$LINENO: result: ${BUILD_TRANSLATED_CUPS_PPDS}" >&5
 
13651
$as_echo "${BUILD_TRANSLATED_CUPS_PPDS}" >&6; } ;;
 
13652
                no) BUILD_TRANSLATED_CUPS_PPDS="no" ; { $as_echo "$as_me:$LINENO: result: ${BUILD_TRANSLATED_CUPS_PPDS}" >&5
 
13653
$as_echo "${BUILD_TRANSLATED_CUPS_PPDS}" >&6; } ;;
 
13654
                *) { $as_echo "$as_me:$LINENO: result: unknown" >&5
 
13655
$as_echo "unknown" >&6; }
 
13656
                   { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-translated-cups-ppds" >&5
 
13657
$as_echo "$as_me: error: bad value ${enableval} for --enable-translated-cups-ppds" >&2;}
22291
13658
   { (exit 1); exit 1; }; } ;;
22292
13659
 
22293
13660
            esac
22295
13662
  if test -z "${BUILD_TRANSLATED_CUPS_PPDS}" ; then
22296
13663
               BUILD_TRANSLATED_CUPS_PPDS="(automatic)"
22297
13664
             fi
22298
 
             { echo "$as_me:$LINENO: result: ${BUILD_TRANSLATED_CUPS_PPDS}" >&5
22299
 
echo "${ECHO_T}${BUILD_TRANSLATED_CUPS_PPDS}" >&6; } ;
 
13665
             { $as_echo "$as_me:$LINENO: result: ${BUILD_TRANSLATED_CUPS_PPDS}" >&5
 
13666
$as_echo "${BUILD_TRANSLATED_CUPS_PPDS}" >&6; } ;
22300
13667
fi
22301
13668
 
22302
13669
if test -z "${BUILD_TRANSLATED_CUPS_PPDS}" ; then
22311
13678
fi
22312
13679
 
22313
13680
# create custom command-line --enable option
22314
 
{ echo "$as_me:$LINENO: checking whether to build globalized CUPS PPD files" >&5
22315
 
echo $ECHO_N "checking whether to build globalized CUPS PPD files... $ECHO_C" >&6; }
 
13681
{ $as_echo "$as_me:$LINENO: checking whether to build globalized CUPS PPD files" >&5
 
13682
$as_echo_n "checking whether to build globalized CUPS PPD files... " >&6; }
22316
13683
# Check whether --enable-globalized-cups-ppds was given.
22317
13684
if test "${enable_globalized_cups_ppds+set}" = set; then
22318
13685
  enableval=$enable_globalized_cups_ppds; case "${enableval}" in
22319
13686
 
22320
 
                yes) BUILD_GLOBALIZED_CUPS_PPDS="yes" ; { echo "$as_me:$LINENO: result: ${BUILD_GLOBALIZED_CUPS_PPDS}" >&5
22321
 
echo "${ECHO_T}${BUILD_GLOBALIZED_CUPS_PPDS}" >&6; } ;;
22322
 
                no) BUILD_GLOBALIZED_CUPS_PPDS="no" ; { echo "$as_me:$LINENO: result: ${BUILD_GLOBALIZED_CUPS_PPDS}" >&5
22323
 
echo "${ECHO_T}${BUILD_GLOBALIZED_CUPS_PPDS}" >&6; } ;;
22324
 
                *) { echo "$as_me:$LINENO: result: unknown" >&5
22325
 
echo "${ECHO_T}unknown" >&6; }
22326
 
                   { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-globalized-cups-ppds" >&5
22327
 
echo "$as_me: error: bad value ${enableval} for --enable-globalized-cups-ppds" >&2;}
 
13687
                yes) BUILD_GLOBALIZED_CUPS_PPDS="yes" ; { $as_echo "$as_me:$LINENO: result: ${BUILD_GLOBALIZED_CUPS_PPDS}" >&5
 
13688
$as_echo "${BUILD_GLOBALIZED_CUPS_PPDS}" >&6; } ;;
 
13689
                no) BUILD_GLOBALIZED_CUPS_PPDS="no" ; { $as_echo "$as_me:$LINENO: result: ${BUILD_GLOBALIZED_CUPS_PPDS}" >&5
 
13690
$as_echo "${BUILD_GLOBALIZED_CUPS_PPDS}" >&6; } ;;
 
13691
                *) { $as_echo "$as_me:$LINENO: result: unknown" >&5
 
13692
$as_echo "unknown" >&6; }
 
13693
                   { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-globalized-cups-ppds" >&5
 
13694
$as_echo "$as_me: error: bad value ${enableval} for --enable-globalized-cups-ppds" >&2;}
22328
13695
   { (exit 1); exit 1; }; } ;;
22329
13696
 
22330
13697
            esac
22332
13699
  if test -z "${BUILD_GLOBALIZED_CUPS_PPDS}" ; then
22333
13700
               BUILD_GLOBALIZED_CUPS_PPDS="(automatic)"
22334
13701
             fi
22335
 
             { echo "$as_me:$LINENO: result: ${BUILD_GLOBALIZED_CUPS_PPDS}" >&5
22336
 
echo "${ECHO_T}${BUILD_GLOBALIZED_CUPS_PPDS}" >&6; } ;
 
13702
             { $as_echo "$as_me:$LINENO: result: ${BUILD_GLOBALIZED_CUPS_PPDS}" >&5
 
13703
$as_echo "${BUILD_GLOBALIZED_CUPS_PPDS}" >&6; } ;
22337
13704
fi
22338
13705
 
22339
13706
if test -z "${BUILD_GLOBALIZED_CUPS_PPDS}" ; then
22342
13709
 
22343
13710
 
22344
13711
# create custom command-line --enable option
22345
 
{ echo "$as_me:$LINENO: checking whether to build simplified CUPS PPD files" >&5
22346
 
echo $ECHO_N "checking whether to build simplified CUPS PPD files... $ECHO_C" >&6; }
 
13712
{ $as_echo "$as_me:$LINENO: checking whether to build simplified CUPS PPD files" >&5
 
13713
$as_echo_n "checking whether to build simplified CUPS PPD files... " >&6; }
22347
13714
# Check whether --enable-simplified-cups-ppds was given.
22348
13715
if test "${enable_simplified_cups_ppds+set}" = set; then
22349
13716
  enableval=$enable_simplified_cups_ppds; case "${enableval}" in
22350
13717
 
22351
 
    yes) WHICH_PPDS="-a"; BUILD_SIMPLIFIED_CUPS_PPDS=yes; { echo "$as_me:$LINENO: result: yes" >&5
22352
 
echo "${ECHO_T}yes" >&6; } ;;
22353
 
    no) WHICH_PPDS=""; BUILD_SIMPLIFIED_CUPS_PPDS=no; { echo "$as_me:$LINENO: result: no" >&5
22354
 
echo "${ECHO_T}no" >&6; } ;;
22355
 
    only) WHICH_PPDS="-s"; BUILD_SIMPLIFIED_CUPS_PPDS=only; { echo "$as_me:$LINENO: result: only" >&5
22356
 
echo "${ECHO_T}only" >&6; } ;;
22357
 
    *) { { echo "$as_me:$LINENO: error: ${enableval}: not a valid option ('yes', 'no', or 'only')" >&5
22358
 
echo "$as_me: error: ${enableval}: not a valid option ('yes', 'no', or 'only')" >&2;}
 
13718
    yes) WHICH_PPDS="-a"; BUILD_SIMPLIFIED_CUPS_PPDS=yes; { $as_echo "$as_me:$LINENO: result: yes" >&5
 
13719
$as_echo "yes" >&6; } ;;
 
13720
    no) WHICH_PPDS=""; BUILD_SIMPLIFIED_CUPS_PPDS=no; { $as_echo "$as_me:$LINENO: result: no" >&5
 
13721
$as_echo "no" >&6; } ;;
 
13722
    only) WHICH_PPDS="-s"; BUILD_SIMPLIFIED_CUPS_PPDS=only; { $as_echo "$as_me:$LINENO: result: only" >&5
 
13723
$as_echo "only" >&6; } ;;
 
13724
    *) { { $as_echo "$as_me:$LINENO: error: ${enableval}: not a valid option ('yes', 'no', or 'only')" >&5
 
13725
$as_echo "$as_me: error: ${enableval}: not a valid option ('yes', 'no', or 'only')" >&2;}
22359
13726
   { (exit 1); exit 1; }; } ;;
22360
13727
 
22361
13728
            esac
22363
13730
  if test -z "${BUILD_SIMPLIFIED_CUPS_PPDS}" ; then
22364
13731
               BUILD_SIMPLIFIED_CUPS_PPDS="no"
22365
13732
             fi
22366
 
             { echo "$as_me:$LINENO: result: ${BUILD_SIMPLIFIED_CUPS_PPDS}" >&5
22367
 
echo "${ECHO_T}${BUILD_SIMPLIFIED_CUPS_PPDS}" >&6; } ;
 
13733
             { $as_echo "$as_me:$LINENO: result: ${BUILD_SIMPLIFIED_CUPS_PPDS}" >&5
 
13734
$as_echo "${BUILD_SIMPLIFIED_CUPS_PPDS}" >&6; } ;
22368
13735
fi
22369
13736
 
22370
13737
if test -z "${BUILD_SIMPLIFIED_CUPS_PPDS}" ; then
22373
13740
 
22374
13741
 
22375
13742
# create custom command-line --enable option
22376
 
{ echo "$as_me:$LINENO: checking whether to place CUPS PPD files at top level" >&5
22377
 
echo $ECHO_N "checking whether to place CUPS PPD files at top level... $ECHO_C" >&6; }
 
13743
{ $as_echo "$as_me:$LINENO: checking whether to place CUPS PPD files at top level" >&5
 
13744
$as_echo_n "checking whether to place CUPS PPD files at top level... " >&6; }
22378
13745
# Check whether --enable-cups-ppds-at-top-level was given.
22379
13746
if test "${enable_cups_ppds_at_top_level+set}" = set; then
22380
13747
  enableval=$enable_cups_ppds_at_top_level; case "${enableval}" in
22381
13748
 
22382
 
                yes) CUPS_PPDS_AT_TOP_LEVEL="yes" ; { echo "$as_me:$LINENO: result: ${CUPS_PPDS_AT_TOP_LEVEL}" >&5
22383
 
echo "${ECHO_T}${CUPS_PPDS_AT_TOP_LEVEL}" >&6; } ;;
22384
 
                no) CUPS_PPDS_AT_TOP_LEVEL="no" ; { echo "$as_me:$LINENO: result: ${CUPS_PPDS_AT_TOP_LEVEL}" >&5
22385
 
echo "${ECHO_T}${CUPS_PPDS_AT_TOP_LEVEL}" >&6; } ;;
22386
 
                *) { echo "$as_me:$LINENO: result: unknown" >&5
22387
 
echo "${ECHO_T}unknown" >&6; }
22388
 
                   { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-cups-ppds-at-top-level" >&5
22389
 
echo "$as_me: error: bad value ${enableval} for --enable-cups-ppds-at-top-level" >&2;}
 
13749
                yes) CUPS_PPDS_AT_TOP_LEVEL="yes" ; { $as_echo "$as_me:$LINENO: result: ${CUPS_PPDS_AT_TOP_LEVEL}" >&5
 
13750
$as_echo "${CUPS_PPDS_AT_TOP_LEVEL}" >&6; } ;;
 
13751
                no) CUPS_PPDS_AT_TOP_LEVEL="no" ; { $as_echo "$as_me:$LINENO: result: ${CUPS_PPDS_AT_TOP_LEVEL}" >&5
 
13752
$as_echo "${CUPS_PPDS_AT_TOP_LEVEL}" >&6; } ;;
 
13753
                *) { $as_echo "$as_me:$LINENO: result: unknown" >&5
 
13754
$as_echo "unknown" >&6; }
 
13755
                   { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-cups-ppds-at-top-level" >&5
 
13756
$as_echo "$as_me: error: bad value ${enableval} for --enable-cups-ppds-at-top-level" >&2;}
22390
13757
   { (exit 1); exit 1; }; } ;;
22391
13758
 
22392
13759
            esac
22394
13761
  if test -z "${CUPS_PPDS_AT_TOP_LEVEL}" ; then
22395
13762
               CUPS_PPDS_AT_TOP_LEVEL="no"
22396
13763
             fi
22397
 
             { echo "$as_me:$LINENO: result: ${CUPS_PPDS_AT_TOP_LEVEL}" >&5
22398
 
echo "${ECHO_T}${CUPS_PPDS_AT_TOP_LEVEL}" >&6; } ;
 
13764
             { $as_echo "$as_me:$LINENO: result: ${CUPS_PPDS_AT_TOP_LEVEL}" >&5
 
13765
$as_echo "${CUPS_PPDS_AT_TOP_LEVEL}" >&6; } ;
22399
13766
fi
22400
13767
 
22401
13768
if test -z "${CUPS_PPDS_AT_TOP_LEVEL}" ; then
22404
13771
 
22405
13772
 
22406
13773
# create custom command-line --enable option
22407
 
{ echo "$as_me:$LINENO: checking whether to generate PostScript level 3 PPD files" >&5
22408
 
echo $ECHO_N "checking whether to generate PostScript level 3 PPD files... $ECHO_C" >&6; }
 
13774
{ $as_echo "$as_me:$LINENO: checking whether to generate PostScript level 3 PPD files" >&5
 
13775
$as_echo_n "checking whether to generate PostScript level 3 PPD files... " >&6; }
22409
13776
# Check whether --enable-cups-level3-ppds was given.
22410
13777
if test "${enable_cups_level3_ppds+set}" = set; then
22411
13778
  enableval=$enable_cups_level3_ppds; case "${enableval}" in
22412
13779
 
22413
 
                yes) USE_LEVEL3_PS="yes" ; { echo "$as_me:$LINENO: result: ${USE_LEVEL3_PS}" >&5
22414
 
echo "${ECHO_T}${USE_LEVEL3_PS}" >&6; } ;;
22415
 
                no) USE_LEVEL3_PS="no" ; { echo "$as_me:$LINENO: result: ${USE_LEVEL3_PS}" >&5
22416
 
echo "${ECHO_T}${USE_LEVEL3_PS}" >&6; } ;;
22417
 
                *) { echo "$as_me:$LINENO: result: unknown" >&5
22418
 
echo "${ECHO_T}unknown" >&6; }
22419
 
                   { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-cups-level3-ppds" >&5
22420
 
echo "$as_me: error: bad value ${enableval} for --enable-cups-level3-ppds" >&2;}
 
13780
                yes) USE_LEVEL3_PS="yes" ; { $as_echo "$as_me:$LINENO: result: ${USE_LEVEL3_PS}" >&5
 
13781
$as_echo "${USE_LEVEL3_PS}" >&6; } ;;
 
13782
                no) USE_LEVEL3_PS="no" ; { $as_echo "$as_me:$LINENO: result: ${USE_LEVEL3_PS}" >&5
 
13783
$as_echo "${USE_LEVEL3_PS}" >&6; } ;;
 
13784
                *) { $as_echo "$as_me:$LINENO: result: unknown" >&5
 
13785
$as_echo "unknown" >&6; }
 
13786
                   { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-cups-level3-ppds" >&5
 
13787
$as_echo "$as_me: error: bad value ${enableval} for --enable-cups-level3-ppds" >&2;}
22421
13788
   { (exit 1); exit 1; }; } ;;
22422
13789
 
22423
13790
            esac
22425
13792
  if test -z "${USE_LEVEL3_PS}" ; then
22426
13793
               USE_LEVEL3_PS="(automatic)"
22427
13794
             fi
22428
 
             { echo "$as_me:$LINENO: result: ${USE_LEVEL3_PS}" >&5
22429
 
echo "${ECHO_T}${USE_LEVEL3_PS}" >&6; } ;
 
13795
             { $as_echo "$as_me:$LINENO: result: ${USE_LEVEL3_PS}" >&5
 
13796
$as_echo "${USE_LEVEL3_PS}" >&6; } ;
22430
13797
fi
22431
13798
 
22432
13799
if test -z "${USE_LEVEL3_PS}" ; then
22436
13803
 
22437
13804
STATIC_GENPPD="$enable_static"
22438
13805
# create custom command-line --enable option
22439
 
{ echo "$as_me:$LINENO: checking whether to build a statically-linked cups-genppd and rastertogutenprint.  WARNING: Please read the README and NEWS (release notes) CAREFULLY before using --disable-static-genppd!" >&5
22440
 
echo $ECHO_N "checking whether to build a statically-linked cups-genppd and rastertogutenprint.  WARNING: Please read the README and NEWS (release notes) CAREFULLY before using --disable-static-genppd!... $ECHO_C" >&6; }
 
13806
{ $as_echo "$as_me:$LINENO: checking whether to build a statically-linked cups-genppd and rastertogutenprint.  WARNING: Please read the README and NEWS (release notes) CAREFULLY before using --disable-static-genppd!" >&5
 
13807
$as_echo_n "checking whether to build a statically-linked cups-genppd and rastertogutenprint.  WARNING: Please read the README and NEWS (release notes) CAREFULLY before using --disable-static-genppd!... " >&6; }
22441
13808
# Check whether --enable-static-genppd was given.
22442
13809
if test "${enable_static_genppd+set}" = set; then
22443
13810
  enableval=$enable_static_genppd; case "${enableval}" in
22444
13811
 
22445
 
                yes) STATIC_GENPPD="yes" ; { echo "$as_me:$LINENO: result: ${STATIC_GENPPD}" >&5
22446
 
echo "${ECHO_T}${STATIC_GENPPD}" >&6; } ;;
22447
 
                no) STATIC_GENPPD="no" ; { echo "$as_me:$LINENO: result: ${STATIC_GENPPD}" >&5
22448
 
echo "${ECHO_T}${STATIC_GENPPD}" >&6; } ;;
22449
 
                *) { echo "$as_me:$LINENO: result: unknown" >&5
22450
 
echo "${ECHO_T}unknown" >&6; }
22451
 
                   { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-static-genppd" >&5
22452
 
echo "$as_me: error: bad value ${enableval} for --enable-static-genppd" >&2;}
 
13812
                yes) STATIC_GENPPD="yes" ; { $as_echo "$as_me:$LINENO: result: ${STATIC_GENPPD}" >&5
 
13813
$as_echo "${STATIC_GENPPD}" >&6; } ;;
 
13814
                no) STATIC_GENPPD="no" ; { $as_echo "$as_me:$LINENO: result: ${STATIC_GENPPD}" >&5
 
13815
$as_echo "${STATIC_GENPPD}" >&6; } ;;
 
13816
                *) { $as_echo "$as_me:$LINENO: result: unknown" >&5
 
13817
$as_echo "unknown" >&6; }
 
13818
                   { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-static-genppd" >&5
 
13819
$as_echo "$as_me: error: bad value ${enableval} for --enable-static-genppd" >&2;}
22453
13820
   { (exit 1); exit 1; }; } ;;
22454
13821
 
22455
13822
            esac
22457
13824
  if test -z "${STATIC_GENPPD}" ; then
22458
13825
               STATIC_GENPPD="(automatic)"
22459
13826
             fi
22460
 
             { echo "$as_me:$LINENO: result: ${STATIC_GENPPD}" >&5
22461
 
echo "${ECHO_T}${STATIC_GENPPD}" >&6; } ;
 
13827
             { $as_echo "$as_me:$LINENO: result: ${STATIC_GENPPD}" >&5
 
13828
$as_echo "${STATIC_GENPPD}" >&6; } ;
22462
13829
fi
22463
13830
 
22464
13831
if test -z "${STATIC_GENPPD}" ; then
22468
13835
 
22469
13836
# Extract the first word of "foomatic-configure", so it can be a program name with args.
22470
13837
set dummy foomatic-configure; ac_word=$2
22471
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
22472
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
13838
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
13839
$as_echo_n "checking for $ac_word... " >&6; }
22473
13840
if test "${ac_cv_path_FOOMATIC_CONFIGURE+set}" = set; then
22474
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
13841
  $as_echo_n "(cached) " >&6
22475
13842
else
22476
13843
  case $FOOMATIC_CONFIGURE in
22477
13844
  [\\/]* | ?:[\\/]*)
22486
13853
  for ac_exec_ext in '' $ac_executable_extensions; do
22487
13854
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22488
13855
    ac_cv_path_FOOMATIC_CONFIGURE="$as_dir/$ac_word$ac_exec_ext"
22489
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
13856
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22490
13857
    break 2
22491
13858
  fi
22492
13859
done
22498
13865
fi
22499
13866
FOOMATIC_CONFIGURE=$ac_cv_path_FOOMATIC_CONFIGURE
22500
13867
if test -n "$FOOMATIC_CONFIGURE"; then
22501
 
  { echo "$as_me:$LINENO: result: $FOOMATIC_CONFIGURE" >&5
22502
 
echo "${ECHO_T}$FOOMATIC_CONFIGURE" >&6; }
 
13868
  { $as_echo "$as_me:$LINENO: result: $FOOMATIC_CONFIGURE" >&5
 
13869
$as_echo "$FOOMATIC_CONFIGURE" >&6; }
22503
13870
else
22504
 
  { echo "$as_me:$LINENO: result: no" >&5
22505
 
echo "${ECHO_T}no" >&6; }
 
13871
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
13872
$as_echo "no" >&6; }
22506
13873
fi
22507
13874
 
22508
13875
 
22512
13879
  BUILD_FOOMATIC="yes"
22513
13880
fi
22514
13881
# create custom command-line --with option
22515
 
{ echo "$as_me:$LINENO: checking whether to build foomatic data files" >&5
22516
 
echo $ECHO_N "checking whether to build foomatic data files... $ECHO_C" >&6; }
 
13882
{ $as_echo "$as_me:$LINENO: checking whether to build foomatic data files" >&5
 
13883
$as_echo_n "checking whether to build foomatic data files... " >&6; }
22517
13884
 
22518
13885
# Check whether --with-foomatic was given.
22519
13886
if test "${with_foomatic+set}" = set; then
22520
13887
  withval=$with_foomatic; case "${withval}" in
22521
13888
 
22522
 
                yes) BUILD_FOOMATIC="yes" ; { echo "$as_me:$LINENO: result: ${BUILD_FOOMATIC}" >&5
22523
 
echo "${ECHO_T}${BUILD_FOOMATIC}" >&6; } ;;
22524
 
                no) BUILD_FOOMATIC="no" ; { echo "$as_me:$LINENO: result: ${BUILD_FOOMATIC}" >&5
22525
 
echo "${ECHO_T}${BUILD_FOOMATIC}" >&6; } ;;
22526
 
                *) { echo "$as_me:$LINENO: result: unknown" >&5
22527
 
echo "${ECHO_T}unknown" >&6; }
22528
 
                   { { echo "$as_me:$LINENO: error: bad value ${withval} for --with-foomatic" >&5
22529
 
echo "$as_me: error: bad value ${withval} for --with-foomatic" >&2;}
 
13889
                yes) BUILD_FOOMATIC="yes" ; { $as_echo "$as_me:$LINENO: result: ${BUILD_FOOMATIC}" >&5
 
13890
$as_echo "${BUILD_FOOMATIC}" >&6; } ;;
 
13891
                no) BUILD_FOOMATIC="no" ; { $as_echo "$as_me:$LINENO: result: ${BUILD_FOOMATIC}" >&5
 
13892
$as_echo "${BUILD_FOOMATIC}" >&6; } ;;
 
13893
                *) { $as_echo "$as_me:$LINENO: result: unknown" >&5
 
13894
$as_echo "unknown" >&6; }
 
13895
                   { { $as_echo "$as_me:$LINENO: error: bad value ${withval} for --with-foomatic" >&5
 
13896
$as_echo "$as_me: error: bad value ${withval} for --with-foomatic" >&2;}
22530
13897
   { (exit 1); exit 1; }; } ;;
22531
13898
 
22532
13899
            esac
22534
13901
  if test -z "${BUILD_FOOMATIC}" ; then
22535
13902
               BUILD_FOOMATIC="(automatic)"
22536
13903
             fi
22537
 
             { echo "$as_me:$LINENO: result: ${BUILD_FOOMATIC}" >&5
22538
 
echo "${ECHO_T}${BUILD_FOOMATIC}" >&6; } ;
 
13904
             { $as_echo "$as_me:$LINENO: result: ${BUILD_FOOMATIC}" >&5
 
13905
$as_echo "${BUILD_FOOMATIC}" >&6; } ;
22539
13906
fi
22540
13907
 
22541
13908
if test -z "${BUILD_FOOMATIC}" ; then
22546
13913
 
22547
13914
# Extract the first word of "foomatic-ppdfile", so it can be a program name with args.
22548
13915
set dummy foomatic-ppdfile; ac_word=$2
22549
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
22550
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
13916
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
13917
$as_echo_n "checking for $ac_word... " >&6; }
22551
13918
if test "${ac_cv_path_FOOMATIC_PPDFILE+set}" = set; then
22552
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
13919
  $as_echo_n "(cached) " >&6
22553
13920
else
22554
13921
  case $FOOMATIC_PPDFILE in
22555
13922
  [\\/]* | ?:[\\/]*)
22564
13931
  for ac_exec_ext in '' $ac_executable_extensions; do
22565
13932
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22566
13933
    ac_cv_path_FOOMATIC_PPDFILE="$as_dir/$ac_word$ac_exec_ext"
22567
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
13934
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22568
13935
    break 2
22569
13936
  fi
22570
13937
done
22576
13943
fi
22577
13944
FOOMATIC_PPDFILE=$ac_cv_path_FOOMATIC_PPDFILE
22578
13945
if test -n "$FOOMATIC_PPDFILE"; then
22579
 
  { echo "$as_me:$LINENO: result: $FOOMATIC_PPDFILE" >&5
22580
 
echo "${ECHO_T}$FOOMATIC_PPDFILE" >&6; }
 
13946
  { $as_echo "$as_me:$LINENO: result: $FOOMATIC_PPDFILE" >&5
 
13947
$as_echo "$FOOMATIC_PPDFILE" >&6; }
22581
13948
else
22582
 
  { echo "$as_me:$LINENO: result: no" >&5
22583
 
echo "${ECHO_T}no" >&6; }
 
13949
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
13950
$as_echo "no" >&6; }
22584
13951
fi
22585
13952
 
22586
13953
 
22590
13957
  BUILD_FOOMATIC_3="yes"
22591
13958
fi
22592
13959
# create custom command-line --with option
22593
 
{ echo "$as_me:$LINENO: checking whether to make use of foomatic 3 extra features" >&5
22594
 
echo $ECHO_N "checking whether to make use of foomatic 3 extra features... $ECHO_C" >&6; }
 
13960
{ $as_echo "$as_me:$LINENO: checking whether to make use of foomatic 3 extra features" >&5
 
13961
$as_echo_n "checking whether to make use of foomatic 3 extra features... " >&6; }
22595
13962
 
22596
13963
# Check whether --with-foomatic3 was given.
22597
13964
if test "${with_foomatic3+set}" = set; then
22598
13965
  withval=$with_foomatic3; case "${withval}" in
22599
13966
 
22600
 
                yes) BUILD_FOOMATIC_3="yes" ; { echo "$as_me:$LINENO: result: ${BUILD_FOOMATIC_3}" >&5
22601
 
echo "${ECHO_T}${BUILD_FOOMATIC_3}" >&6; } ;;
22602
 
                no) BUILD_FOOMATIC_3="no" ; { echo "$as_me:$LINENO: result: ${BUILD_FOOMATIC_3}" >&5
22603
 
echo "${ECHO_T}${BUILD_FOOMATIC_3}" >&6; } ;;
22604
 
                *) { echo "$as_me:$LINENO: result: unknown" >&5
22605
 
echo "${ECHO_T}unknown" >&6; }
22606
 
                   { { echo "$as_me:$LINENO: error: bad value ${withval} for --with-foomatic3" >&5
22607
 
echo "$as_me: error: bad value ${withval} for --with-foomatic3" >&2;}
 
13967
                yes) BUILD_FOOMATIC_3="yes" ; { $as_echo "$as_me:$LINENO: result: ${BUILD_FOOMATIC_3}" >&5
 
13968
$as_echo "${BUILD_FOOMATIC_3}" >&6; } ;;
 
13969
                no) BUILD_FOOMATIC_3="no" ; { $as_echo "$as_me:$LINENO: result: ${BUILD_FOOMATIC_3}" >&5
 
13970
$as_echo "${BUILD_FOOMATIC_3}" >&6; } ;;
 
13971
                *) { $as_echo "$as_me:$LINENO: result: unknown" >&5
 
13972
$as_echo "unknown" >&6; }
 
13973
                   { { $as_echo "$as_me:$LINENO: error: bad value ${withval} for --with-foomatic3" >&5
 
13974
$as_echo "$as_me: error: bad value ${withval} for --with-foomatic3" >&2;}
22608
13975
   { (exit 1); exit 1; }; } ;;
22609
13976
 
22610
13977
            esac
22612
13979
  if test -z "${BUILD_FOOMATIC_3}" ; then
22613
13980
               BUILD_FOOMATIC_3="(automatic)"
22614
13981
             fi
22615
 
             { echo "$as_me:$LINENO: result: ${BUILD_FOOMATIC_3}" >&5
22616
 
echo "${ECHO_T}${BUILD_FOOMATIC_3}" >&6; } ;
 
13982
             { $as_echo "$as_me:$LINENO: result: ${BUILD_FOOMATIC_3}" >&5
 
13983
$as_echo "${BUILD_FOOMATIC_3}" >&6; } ;
22617
13984
fi
22618
13985
 
22619
13986
if test -z "${BUILD_FOOMATIC_3}" ; then
22623
13990
 
22624
13991
# Extract the first word of "ijs-config", so it can be a program name with args.
22625
13992
set dummy ijs-config; ac_word=$2
22626
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
22627
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
13993
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
13994
$as_echo_n "checking for $ac_word... " >&6; }
22628
13995
if test "${ac_cv_path_IJS_CONFIG+set}" = set; then
22629
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
13996
  $as_echo_n "(cached) " >&6
22630
13997
else
22631
13998
  case $IJS_CONFIG in
22632
13999
  [\\/]* | ?:[\\/]*)
22641
14008
  for ac_exec_ext in '' $ac_executable_extensions; do
22642
14009
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22643
14010
    ac_cv_path_IJS_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22644
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
14011
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22645
14012
    break 2
22646
14013
  fi
22647
14014
done
22653
14020
fi
22654
14021
IJS_CONFIG=$ac_cv_path_IJS_CONFIG
22655
14022
if test -n "$IJS_CONFIG"; then
22656
 
  { echo "$as_me:$LINENO: result: $IJS_CONFIG" >&5
22657
 
echo "${ECHO_T}$IJS_CONFIG" >&6; }
 
14023
  { $as_echo "$as_me:$LINENO: result: $IJS_CONFIG" >&5
 
14024
$as_echo "$IJS_CONFIG" >&6; }
22658
14025
else
22659
 
  { echo "$as_me:$LINENO: result: no" >&5
22660
 
echo "${ECHO_T}no" >&6; }
 
14026
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
14027
$as_echo "no" >&6; }
22661
14028
fi
22662
14029
 
22663
14030
 
22668
14035
  BUILD_GHOSTSCRIPT="yes"
22669
14036
fi
22670
14037
# create custom command-line --with option
22671
 
{ echo "$as_me:$LINENO: checking whether to build Ghostscript driver" >&5
22672
 
echo $ECHO_N "checking whether to build Ghostscript driver... $ECHO_C" >&6; }
 
14038
{ $as_echo "$as_me:$LINENO: checking whether to build Ghostscript driver" >&5
 
14039
$as_echo_n "checking whether to build Ghostscript driver... " >&6; }
22673
14040
 
22674
14041
# Check whether --with-ghostscript was given.
22675
14042
if test "${with_ghostscript+set}" = set; then
22676
14043
  withval=$with_ghostscript; case "${withval}" in
22677
14044
 
22678
 
                yes) BUILD_GHOSTSCRIPT="yes" ; { echo "$as_me:$LINENO: result: ${BUILD_GHOSTSCRIPT}" >&5
22679
 
echo "${ECHO_T}${BUILD_GHOSTSCRIPT}" >&6; } ;;
22680
 
                no) BUILD_GHOSTSCRIPT="no" ; { echo "$as_me:$LINENO: result: ${BUILD_GHOSTSCRIPT}" >&5
22681
 
echo "${ECHO_T}${BUILD_GHOSTSCRIPT}" >&6; } ;;
22682
 
                *) { echo "$as_me:$LINENO: result: unknown" >&5
22683
 
echo "${ECHO_T}unknown" >&6; }
22684
 
                   { { echo "$as_me:$LINENO: error: bad value ${withval} for --with-ghostscript" >&5
22685
 
echo "$as_me: error: bad value ${withval} for --with-ghostscript" >&2;}
 
14045
                yes) BUILD_GHOSTSCRIPT="yes" ; { $as_echo "$as_me:$LINENO: result: ${BUILD_GHOSTSCRIPT}" >&5
 
14046
$as_echo "${BUILD_GHOSTSCRIPT}" >&6; } ;;
 
14047
                no) BUILD_GHOSTSCRIPT="no" ; { $as_echo "$as_me:$LINENO: result: ${BUILD_GHOSTSCRIPT}" >&5
 
14048
$as_echo "${BUILD_GHOSTSCRIPT}" >&6; } ;;
 
14049
                *) { $as_echo "$as_me:$LINENO: result: unknown" >&5
 
14050
$as_echo "unknown" >&6; }
 
14051
                   { { $as_echo "$as_me:$LINENO: error: bad value ${withval} for --with-ghostscript" >&5
 
14052
$as_echo "$as_me: error: bad value ${withval} for --with-ghostscript" >&2;}
22686
14053
   { (exit 1); exit 1; }; } ;;
22687
14054
 
22688
14055
            esac
22690
14057
  if test -z "${BUILD_GHOSTSCRIPT}" ; then
22691
14058
               BUILD_GHOSTSCRIPT="(automatic)"
22692
14059
             fi
22693
 
             { echo "$as_me:$LINENO: result: ${BUILD_GHOSTSCRIPT}" >&5
22694
 
echo "${ECHO_T}${BUILD_GHOSTSCRIPT}" >&6; } ;
 
14060
             { $as_echo "$as_me:$LINENO: result: ${BUILD_GHOSTSCRIPT}" >&5
 
14061
$as_echo "${BUILD_GHOSTSCRIPT}" >&6; } ;
22695
14062
fi
22696
14063
 
22697
14064
if test -z "${BUILD_GHOSTSCRIPT}" ; then
22700
14067
 
22701
14068
 
22702
14069
# create custom command-line --with option
22703
 
{ echo "$as_me:$LINENO: checking whether to enable loadable modules" >&5
22704
 
echo $ECHO_N "checking whether to enable loadable modules... $ECHO_C" >&6; }
 
14070
{ $as_echo "$as_me:$LINENO: checking whether to enable loadable modules" >&5
 
14071
$as_echo_n "checking whether to enable loadable modules... " >&6; }
22705
14072
 
22706
14073
# Check whether --with-modules was given.
22707
14074
if test "${with_modules+set}" = set; then
22708
14075
  withval=$with_modules; case "${withval}" in
22709
14076
 
22710
 
    yes) WITH_MODULES="yes";  { echo "$as_me:$LINENO: result: yes" >&5
22711
 
echo "${ECHO_T}yes" >&6; } ;;
22712
 
    no) WITH_MODULES="no";  { echo "$as_me:$LINENO: result: no" >&5
22713
 
echo "${ECHO_T}no" >&6; } ;;
22714
 
    ltdl) WITH_MODULES="ltdl";  { echo "$as_me:$LINENO: result: ltdl" >&5
22715
 
echo "${ECHO_T}ltdl" >&6; } ;;
22716
 
    dlopen) WITH_MODULES="dlopen";  { echo "$as_me:$LINENO: result: dlopen" >&5
22717
 
echo "${ECHO_T}dlopen" >&6; } ;;
22718
 
    static) WITH_MODULES="static";  { echo "$as_me:$LINENO: result: static" >&5
22719
 
echo "${ECHO_T}static" >&6; } ;;
22720
 
    *) { { echo "$as_me:$LINENO: error: ${withval}: not a valid module loader" >&5
22721
 
echo "$as_me: error: ${withval}: not a valid module loader" >&2;}
 
14077
    yes) WITH_MODULES="yes";  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
14078
$as_echo "yes" >&6; } ;;
 
14079
    no) WITH_MODULES="no";  { $as_echo "$as_me:$LINENO: result: no" >&5
 
14080
$as_echo "no" >&6; } ;;
 
14081
    ltdl) WITH_MODULES="ltdl";  { $as_echo "$as_me:$LINENO: result: ltdl" >&5
 
14082
$as_echo "ltdl" >&6; } ;;
 
14083
    dlopen) WITH_MODULES="dlopen";  { $as_echo "$as_me:$LINENO: result: dlopen" >&5
 
14084
$as_echo "dlopen" >&6; } ;;
 
14085
    static) WITH_MODULES="static";  { $as_echo "$as_me:$LINENO: result: static" >&5
 
14086
$as_echo "static" >&6; } ;;
 
14087
    *) { { $as_echo "$as_me:$LINENO: error: ${withval}: not a valid module loader" >&5
 
14088
$as_echo "$as_me: error: ${withval}: not a valid module loader" >&2;}
22722
14089
   { (exit 1); exit 1; }; } ;;
22723
14090
 
22724
14091
            esac
22726
14093
  if test -z "${WITH_MODULES}" ; then
22727
14094
               WITH_MODULES="(automatic)"
22728
14095
             fi
22729
 
             { echo "$as_me:$LINENO: result: ${WITH_MODULES}" >&5
22730
 
echo "${ECHO_T}${WITH_MODULES}" >&6; } ;
 
14096
             { $as_echo "$as_me:$LINENO: result: ${WITH_MODULES}" >&5
 
14097
$as_echo "${WITH_MODULES}" >&6; } ;
22731
14098
    # if static libraries are enabled, modules must be static
22732
14099
    if test x$enable_static = xyes; then
22733
14100
      WITH_MODULES="static"
22748
14115
  elif test $WITH_MODULES = static; then
22749
14116
    :
22750
14117
  else
22751
 
    { { echo "$as_me:$LINENO: error: --disable-static must be used with --with-modules" >&5
22752
 
echo "$as_me: error: --disable-static must be used with --with-modules" >&2;}
 
14118
    { { $as_echo "$as_me:$LINENO: error: --disable-static must be used with --with-modules" >&5
 
14119
$as_echo "$as_me: error: --disable-static must be used with --with-modules" >&2;}
22753
14120
   { (exit 1); exit 1; }; }
22754
14121
  fi
22755
14122
fi
22756
14123
 
22757
14124
# create custom command-line --enable option
22758
 
{ echo "$as_me:$LINENO: checking whether to turn on debugging in build" >&5
22759
 
echo $ECHO_N "checking whether to turn on debugging in build... $ECHO_C" >&6; }
 
14125
{ $as_echo "$as_me:$LINENO: checking whether to turn on debugging in build" >&5
 
14126
$as_echo_n "checking whether to turn on debugging in build... " >&6; }
22760
14127
# Check whether --enable-debug was given.
22761
14128
if test "${enable_debug+set}" = set; then
22762
14129
  enableval=$enable_debug; case "${enableval}" in
22763
14130
 
22764
 
                yes) ENABLE_DEBUG="yes" ; { echo "$as_me:$LINENO: result: ${ENABLE_DEBUG}" >&5
22765
 
echo "${ECHO_T}${ENABLE_DEBUG}" >&6; } ;;
22766
 
                no) ENABLE_DEBUG="no" ; { echo "$as_me:$LINENO: result: ${ENABLE_DEBUG}" >&5
22767
 
echo "${ECHO_T}${ENABLE_DEBUG}" >&6; } ;;
22768
 
                *) { echo "$as_me:$LINENO: result: unknown" >&5
22769
 
echo "${ECHO_T}unknown" >&6; }
22770
 
                   { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-debug" >&5
22771
 
echo "$as_me: error: bad value ${enableval} for --enable-debug" >&2;}
 
14131
                yes) ENABLE_DEBUG="yes" ; { $as_echo "$as_me:$LINENO: result: ${ENABLE_DEBUG}" >&5
 
14132
$as_echo "${ENABLE_DEBUG}" >&6; } ;;
 
14133
                no) ENABLE_DEBUG="no" ; { $as_echo "$as_me:$LINENO: result: ${ENABLE_DEBUG}" >&5
 
14134
$as_echo "${ENABLE_DEBUG}" >&6; } ;;
 
14135
                *) { $as_echo "$as_me:$LINENO: result: unknown" >&5
 
14136
$as_echo "unknown" >&6; }
 
14137
                   { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-debug" >&5
 
14138
$as_echo "$as_me: error: bad value ${enableval} for --enable-debug" >&2;}
22772
14139
   { (exit 1); exit 1; }; } ;;
22773
14140
 
22774
14141
            esac
22776
14143
  if test -z "${ENABLE_DEBUG}" ; then
22777
14144
               ENABLE_DEBUG="no"
22778
14145
             fi
22779
 
             { echo "$as_me:$LINENO: result: ${ENABLE_DEBUG}" >&5
22780
 
echo "${ECHO_T}${ENABLE_DEBUG}" >&6; } ;
 
14146
             { $as_echo "$as_me:$LINENO: result: ${ENABLE_DEBUG}" >&5
 
14147
$as_echo "${ENABLE_DEBUG}" >&6; } ;
22781
14148
fi
22782
14149
 
22783
14150
if test -z "${ENABLE_DEBUG}" ; then
22786
14153
 
22787
14154
 
22788
14155
# create custom command-line --enable option
22789
 
{ echo "$as_me:$LINENO: checking whether to turn on profiling in build" >&5
22790
 
echo $ECHO_N "checking whether to turn on profiling in build... $ECHO_C" >&6; }
 
14156
{ $as_echo "$as_me:$LINENO: checking whether to turn on profiling in build" >&5
 
14157
$as_echo_n "checking whether to turn on profiling in build... " >&6; }
22791
14158
# Check whether --enable-profile was given.
22792
14159
if test "${enable_profile+set}" = set; then
22793
14160
  enableval=$enable_profile; case "${enableval}" in
22794
14161
 
22795
 
                yes) ENABLE_PROFILE="yes" ; { echo "$as_me:$LINENO: result: ${ENABLE_PROFILE}" >&5
22796
 
echo "${ECHO_T}${ENABLE_PROFILE}" >&6; } ;;
22797
 
                no) ENABLE_PROFILE="no" ; { echo "$as_me:$LINENO: result: ${ENABLE_PROFILE}" >&5
22798
 
echo "${ECHO_T}${ENABLE_PROFILE}" >&6; } ;;
22799
 
                *) { echo "$as_me:$LINENO: result: unknown" >&5
22800
 
echo "${ECHO_T}unknown" >&6; }
22801
 
                   { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-profile" >&5
22802
 
echo "$as_me: error: bad value ${enableval} for --enable-profile" >&2;}
 
14162
                yes) ENABLE_PROFILE="yes" ; { $as_echo "$as_me:$LINENO: result: ${ENABLE_PROFILE}" >&5
 
14163
$as_echo "${ENABLE_PROFILE}" >&6; } ;;
 
14164
                no) ENABLE_PROFILE="no" ; { $as_echo "$as_me:$LINENO: result: ${ENABLE_PROFILE}" >&5
 
14165
$as_echo "${ENABLE_PROFILE}" >&6; } ;;
 
14166
                *) { $as_echo "$as_me:$LINENO: result: unknown" >&5
 
14167
$as_echo "unknown" >&6; }
 
14168
                   { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-profile" >&5
 
14169
$as_echo "$as_me: error: bad value ${enableval} for --enable-profile" >&2;}
22803
14170
   { (exit 1); exit 1; }; } ;;
22804
14171
 
22805
14172
            esac
22807
14174
  if test -z "${ENABLE_PROFILE}" ; then
22808
14175
               ENABLE_PROFILE="no"
22809
14176
             fi
22810
 
             { echo "$as_me:$LINENO: result: ${ENABLE_PROFILE}" >&5
22811
 
echo "${ECHO_T}${ENABLE_PROFILE}" >&6; } ;
 
14177
             { $as_echo "$as_me:$LINENO: result: ${ENABLE_PROFILE}" >&5
 
14178
$as_echo "${ENABLE_PROFILE}" >&6; } ;
22812
14179
fi
22813
14180
 
22814
14181
if test -z "${ENABLE_PROFILE}" ; then
22817
14184
 
22818
14185
 
22819
14186
# create custom command-line --with option
22820
 
{ echo "$as_me:$LINENO: checking whether to use readline" >&5
22821
 
echo $ECHO_N "checking whether to use readline... $ECHO_C" >&6; }
 
14187
{ $as_echo "$as_me:$LINENO: checking whether to use readline" >&5
 
14188
$as_echo_n "checking whether to use readline... " >&6; }
22822
14189
 
22823
14190
# Check whether --with-readline was given.
22824
14191
if test "${with_readline+set}" = set; then
22825
14192
  withval=$with_readline; case "${withval}" in
22826
14193
 
22827
 
    yes) USE_READLINE="yes" ; { echo "$as_me:$LINENO: result: yes" >&5
22828
 
echo "${ECHO_T}yes" >&6; } ;;
22829
 
    no) USE_READLINE="no" ; { echo "$as_me:$LINENO: result: no" >&5
22830
 
echo "${ECHO_T}no" >&6; } ;;
 
14194
    yes) USE_READLINE="yes" ; { $as_echo "$as_me:$LINENO: result: yes" >&5
 
14195
$as_echo "yes" >&6; } ;;
 
14196
    no) USE_READLINE="no" ; { $as_echo "$as_me:$LINENO: result: no" >&5
 
14197
$as_echo "no" >&6; } ;;
22831
14198
    only) USE_READLINE="yes"
22832
14199
          EXTRA_LIBREADLINE_DEPS=" "
22833
 
          { echo "$as_me:$LINENO: result: yes (using only readline)" >&5
22834
 
echo "${ECHO_T}yes (using only readline)" >&6; } ;;
 
14200
          { $as_echo "$as_me:$LINENO: result: yes (using only readline)" >&5
 
14201
$as_echo "yes (using only readline)" >&6; } ;;
22835
14202
    *) USE_READLINE="yes"
22836
14203
       EXTRA_LIBREADLINE_DEPS="${withval}"
22837
 
       { echo "$as_me:$LINENO: result: yes (using extra libraries ${withval})" >&5
22838
 
echo "${ECHO_T}yes (using extra libraries ${withval})" >&6; } ;;
 
14204
       { $as_echo "$as_me:$LINENO: result: yes (using extra libraries ${withval})" >&5
 
14205
$as_echo "yes (using extra libraries ${withval})" >&6; } ;;
22839
14206
 
22840
14207
            esac
22841
14208
else
22842
14209
  if test -z "${USE_READLINE}" ; then
22843
14210
               USE_READLINE="yes"
22844
14211
             fi
22845
 
             { echo "$as_me:$LINENO: result: ${USE_READLINE}" >&5
22846
 
echo "${ECHO_T}${USE_READLINE}" >&6; } ;
 
14212
             { $as_echo "$as_me:$LINENO: result: ${USE_READLINE}" >&5
 
14213
$as_echo "${USE_READLINE}" >&6; } ;
22847
14214
fi
22848
14215
 
22849
14216
if test -z "${USE_READLINE}" ; then
22855
14222
do
22856
14223
  # Extract the first word of "$ac_prog", so it can be a program name with args.
22857
14224
set dummy $ac_prog; ac_word=$2
22858
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
22859
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
14225
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
14226
$as_echo_n "checking for $ac_word... " >&6; }
22860
14227
if test "${ac_cv_path_GIMPTOOL2_CHECK+set}" = set; then
22861
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14228
  $as_echo_n "(cached) " >&6
22862
14229
else
22863
14230
  case $GIMPTOOL2_CHECK in
22864
14231
  [\\/]* | ?:[\\/]*)
22873
14240
  for ac_exec_ext in '' $ac_executable_extensions; do
22874
14241
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22875
14242
    ac_cv_path_GIMPTOOL2_CHECK="$as_dir/$ac_word$ac_exec_ext"
22876
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
14243
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22877
14244
    break 2
22878
14245
  fi
22879
14246
done
22885
14252
fi
22886
14253
GIMPTOOL2_CHECK=$ac_cv_path_GIMPTOOL2_CHECK
22887
14254
if test -n "$GIMPTOOL2_CHECK"; then
22888
 
  { echo "$as_me:$LINENO: result: $GIMPTOOL2_CHECK" >&5
22889
 
echo "${ECHO_T}$GIMPTOOL2_CHECK" >&6; }
 
14255
  { $as_echo "$as_me:$LINENO: result: $GIMPTOOL2_CHECK" >&5
 
14256
$as_echo "$GIMPTOOL2_CHECK" >&6; }
22890
14257
else
22891
 
  { echo "$as_me:$LINENO: result: no" >&5
22892
 
echo "${ECHO_T}no" >&6; }
 
14258
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
14259
$as_echo "no" >&6; }
22893
14260
fi
22894
14261
 
22895
14262
 
22922
14289
        if test -n "$ac_tool_prefix"; then
22923
14290
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
22924
14291
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
22925
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
22926
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
14292
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
14293
$as_echo_n "checking for $ac_word... " >&6; }
22927
14294
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22928
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14295
  $as_echo_n "(cached) " >&6
22929
14296
else
22930
14297
  case $PKG_CONFIG in
22931
14298
  [\\/]* | ?:[\\/]*)
22940
14307
  for ac_exec_ext in '' $ac_executable_extensions; do
22941
14308
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22942
14309
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22943
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
14310
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22944
14311
    break 2
22945
14312
  fi
22946
14313
done
22952
14319
fi
22953
14320
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22954
14321
if test -n "$PKG_CONFIG"; then
22955
 
  { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22956
 
echo "${ECHO_T}$PKG_CONFIG" >&6; }
 
14322
  { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
 
14323
$as_echo "$PKG_CONFIG" >&6; }
22957
14324
else
22958
 
  { echo "$as_me:$LINENO: result: no" >&5
22959
 
echo "${ECHO_T}no" >&6; }
 
14325
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
14326
$as_echo "no" >&6; }
22960
14327
fi
22961
14328
 
22962
14329
 
22965
14332
  ac_pt_PKG_CONFIG=$PKG_CONFIG
22966
14333
  # Extract the first word of "pkg-config", so it can be a program name with args.
22967
14334
set dummy pkg-config; ac_word=$2
22968
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
22969
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
14335
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
14336
$as_echo_n "checking for $ac_word... " >&6; }
22970
14337
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
22971
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14338
  $as_echo_n "(cached) " >&6
22972
14339
else
22973
14340
  case $ac_pt_PKG_CONFIG in
22974
14341
  [\\/]* | ?:[\\/]*)
22983
14350
  for ac_exec_ext in '' $ac_executable_extensions; do
22984
14351
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22985
14352
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22986
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
14353
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22987
14354
    break 2
22988
14355
  fi
22989
14356
done
22995
14362
fi
22996
14363
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
22997
14364
if test -n "$ac_pt_PKG_CONFIG"; then
22998
 
  { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
22999
 
echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
 
14365
  { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
 
14366
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
23000
14367
else
23001
 
  { echo "$as_me:$LINENO: result: no" >&5
23002
 
echo "${ECHO_T}no" >&6; }
 
14368
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
14369
$as_echo "no" >&6; }
23003
14370
fi
23004
14371
 
23005
14372
  if test "x$ac_pt_PKG_CONFIG" = x; then
23007
14374
  else
23008
14375
    case $cross_compiling:$ac_tool_warned in
23009
14376
yes:)
23010
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
23011
 
whose name does not start with the host triplet.  If you think this
23012
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
23013
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
23014
 
whose name does not start with the host triplet.  If you think this
23015
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
14377
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
14378
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
23016
14379
ac_tool_warned=yes ;;
23017
14380
esac
23018
14381
    PKG_CONFIG=$ac_pt_PKG_CONFIG
23024
14387
fi
23025
14388
if test -n "$PKG_CONFIG"; then
23026
14389
        _pkg_min_version=0.9.0
23027
 
        { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
23028
 
echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
 
14390
        { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
 
14391
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
23029
14392
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
23030
 
                { echo "$as_me:$LINENO: result: yes" >&5
23031
 
echo "${ECHO_T}yes" >&6; }
 
14393
                { $as_echo "$as_me:$LINENO: result: yes" >&5
 
14394
$as_echo "yes" >&6; }
23032
14395
        else
23033
 
                { echo "$as_me:$LINENO: result: no" >&5
23034
 
echo "${ECHO_T}no" >&6; }
 
14396
                { $as_echo "$as_me:$LINENO: result: no" >&5
 
14397
$as_echo "no" >&6; }
23035
14398
                PKG_CONFIG=""
23036
14399
        fi
23037
14400
 
23038
14401
fi
23039
14402
 
23040
14403
pkg_failed=no
23041
 
{ echo "$as_me:$LINENO: checking for GTK2" >&5
23042
 
echo $ECHO_N "checking for GTK2... $ECHO_C" >&6; }
 
14404
{ $as_echo "$as_me:$LINENO: checking for GTK2" >&5
 
14405
$as_echo_n "checking for GTK2... " >&6; }
23043
14406
 
23044
14407
if test -n "$GTK2_CFLAGS"; then
23045
14408
    pkg_cv_GTK2_CFLAGS="$GTK2_CFLAGS"
23046
14409
 elif test -n "$PKG_CONFIG"; then
23047
14410
    if test -n "$PKG_CONFIG" && \
23048
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\"") >&5
 
14411
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\"") >&5
23049
14412
  ($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5
23050
14413
  ac_status=$?
23051
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14414
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23052
14415
  (exit $ac_status); }; then
23053
14416
  pkg_cv_GTK2_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0" 2>/dev/null`
23054
14417
else
23061
14424
    pkg_cv_GTK2_LIBS="$GTK2_LIBS"
23062
14425
 elif test -n "$PKG_CONFIG"; then
23063
14426
    if test -n "$PKG_CONFIG" && \
23064
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\"") >&5
 
14427
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\"") >&5
23065
14428
  ($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5
23066
14429
  ac_status=$?
23067
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14430
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23068
14431
  (exit $ac_status); }; then
23069
14432
  pkg_cv_GTK2_LIBS=`$PKG_CONFIG --libs "gtk+-2.0" 2>/dev/null`
23070
14433
else
23091
14454
        # Put the nasty error message in config.log where it belongs
23092
14455
        echo "$GTK2_PKG_ERRORS" >&5
23093
14456
 
23094
 
        { echo "$as_me:$LINENO: result: no" >&5
23095
 
echo "${ECHO_T}no" >&6; }
 
14457
        { $as_echo "$as_me:$LINENO: result: no" >&5
 
14458
$as_echo "no" >&6; }
23096
14459
                HAVE_GTK2=no
23097
14460
                   BUILD_LIBGUTENPRINTUI2=no
23098
14461
elif test $pkg_failed = untried; then
23101
14464
else
23102
14465
        GTK2_CFLAGS=$pkg_cv_GTK2_CFLAGS
23103
14466
        GTK2_LIBS=$pkg_cv_GTK2_LIBS
23104
 
        { echo "$as_me:$LINENO: result: yes" >&5
23105
 
echo "${ECHO_T}yes" >&6; }
 
14467
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
14468
$as_echo "yes" >&6; }
23106
14469
        HAVE_GTK2=yes
23107
14470
                   BUILD_LIBGUTENPRINTUI2=yes
23108
14471
                   GUTENPRINTUI2_LIBDEPS="${GUTENPRINTUI2_LIBDEPS} ${GTK2_LIBS}"
23111
14474
if test x$BUILD_GIMP2 = xyes; then
23112
14475
 
23113
14476
pkg_failed=no
23114
 
{ echo "$as_me:$LINENO: checking for GIMP2" >&5
23115
 
echo $ECHO_N "checking for GIMP2... $ECHO_C" >&6; }
 
14477
{ $as_echo "$as_me:$LINENO: checking for GIMP2" >&5
 
14478
$as_echo_n "checking for GIMP2... " >&6; }
23116
14479
 
23117
14480
if test -n "$GIMP2_CFLAGS"; then
23118
14481
    pkg_cv_GIMP2_CFLAGS="$GIMP2_CFLAGS"
23119
14482
 elif test -n "$PKG_CONFIG"; then
23120
14483
    if test -n "$PKG_CONFIG" && \
23121
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gimpui-2.0\"") >&5
 
14484
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gimpui-2.0\"") >&5
23122
14485
  ($PKG_CONFIG --exists --print-errors "gimpui-2.0") 2>&5
23123
14486
  ac_status=$?
23124
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14487
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23125
14488
  (exit $ac_status); }; then
23126
14489
  pkg_cv_GIMP2_CFLAGS=`$PKG_CONFIG --cflags "gimpui-2.0" 2>/dev/null`
23127
14490
else
23134
14497
    pkg_cv_GIMP2_LIBS="$GIMP2_LIBS"
23135
14498
 elif test -n "$PKG_CONFIG"; then
23136
14499
    if test -n "$PKG_CONFIG" && \
23137
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gimpui-2.0\"") >&5
 
14500
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gimpui-2.0\"") >&5
23138
14501
  ($PKG_CONFIG --exists --print-errors "gimpui-2.0") 2>&5
23139
14502
  ac_status=$?
23140
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14503
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23141
14504
  (exit $ac_status); }; then
23142
14505
  pkg_cv_GIMP2_LIBS=`$PKG_CONFIG --libs "gimpui-2.0" 2>/dev/null`
23143
14506
else
23164
14527
        # Put the nasty error message in config.log where it belongs
23165
14528
        echo "$GIMP2_PKG_ERRORS" >&5
23166
14529
 
23167
 
        { echo "$as_me:$LINENO: result: no" >&5
23168
 
echo "${ECHO_T}no" >&6; }
 
14530
        { $as_echo "$as_me:$LINENO: result: no" >&5
 
14531
$as_echo "no" >&6; }
23169
14532
                BUILD_GIMP2=no
23170
14533
elif test $pkg_failed = untried; then
23171
14534
        BUILD_GIMP2=no
23172
14535
else
23173
14536
        GIMP2_CFLAGS=$pkg_cv_GIMP2_CFLAGS
23174
14537
        GIMP2_LIBS=$pkg_cv_GIMP2_LIBS
23175
 
        { echo "$as_me:$LINENO: result: yes" >&5
23176
 
echo "${ECHO_T}yes" >&6; }
 
14538
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
14539
$as_echo "yes" >&6; }
23177
14540
        BUILD_GIMP2=yes
23178
14541
fi
23179
14542
fi
23180
14543
 
23181
14544
# create custom command-line --with option
23182
 
{ echo "$as_me:$LINENO: checking whether to build GIMP 2.x Print plugin" >&5
23183
 
echo $ECHO_N "checking whether to build GIMP 2.x Print plugin... $ECHO_C" >&6; }
 
14545
{ $as_echo "$as_me:$LINENO: checking whether to build GIMP 2.x Print plugin" >&5
 
14546
$as_echo_n "checking whether to build GIMP 2.x Print plugin... " >&6; }
23184
14547
 
23185
14548
# Check whether --with-gimp2 was given.
23186
14549
if test "${with_gimp2+set}" = set; then
23187
14550
  withval=$with_gimp2; case "${withval}" in
23188
14551
 
23189
 
                yes) BUILD_GIMP2="yes" ; { echo "$as_me:$LINENO: result: ${BUILD_GIMP2}" >&5
23190
 
echo "${ECHO_T}${BUILD_GIMP2}" >&6; } ;;
23191
 
                no) BUILD_GIMP2="no" ; { echo "$as_me:$LINENO: result: ${BUILD_GIMP2}" >&5
23192
 
echo "${ECHO_T}${BUILD_GIMP2}" >&6; } ;;
23193
 
                *) { echo "$as_me:$LINENO: result: unknown" >&5
23194
 
echo "${ECHO_T}unknown" >&6; }
23195
 
                   { { echo "$as_me:$LINENO: error: bad value ${withval} for --with-gimp2" >&5
23196
 
echo "$as_me: error: bad value ${withval} for --with-gimp2" >&2;}
 
14552
                yes) BUILD_GIMP2="yes" ; { $as_echo "$as_me:$LINENO: result: ${BUILD_GIMP2}" >&5
 
14553
$as_echo "${BUILD_GIMP2}" >&6; } ;;
 
14554
                no) BUILD_GIMP2="no" ; { $as_echo "$as_me:$LINENO: result: ${BUILD_GIMP2}" >&5
 
14555
$as_echo "${BUILD_GIMP2}" >&6; } ;;
 
14556
                *) { $as_echo "$as_me:$LINENO: result: unknown" >&5
 
14557
$as_echo "unknown" >&6; }
 
14558
                   { { $as_echo "$as_me:$LINENO: error: bad value ${withval} for --with-gimp2" >&5
 
14559
$as_echo "$as_me: error: bad value ${withval} for --with-gimp2" >&2;}
23197
14560
   { (exit 1); exit 1; }; } ;;
23198
14561
 
23199
14562
            esac
23201
14564
  if test -z "${BUILD_GIMP2}" ; then
23202
14565
               BUILD_GIMP2="(automatic)"
23203
14566
             fi
23204
 
             { echo "$as_me:$LINENO: result: ${BUILD_GIMP2}" >&5
23205
 
echo "${ECHO_T}${BUILD_GIMP2}" >&6; } ;
 
14567
             { $as_echo "$as_me:$LINENO: result: ${BUILD_GIMP2}" >&5
 
14568
$as_echo "${BUILD_GIMP2}" >&6; } ;
23206
14569
fi
23207
14570
 
23208
14571
if test -z "${BUILD_GIMP2}" ; then
23211
14574
 
23212
14575
 
23213
14576
# create custom command-line --with option
23214
 
{ echo "$as_me:$LINENO: checking whether to name GIMP 2.x Print plugin gutenprint (requires GIMP 2.2; normally used with GIMP 2.4 or above)" >&5
23215
 
echo $ECHO_N "checking whether to name GIMP 2.x Print plugin gutenprint (requires GIMP 2.2; normally used with GIMP 2.4 or above)... $ECHO_C" >&6; }
 
14577
{ $as_echo "$as_me:$LINENO: checking whether to name GIMP 2.x Print plugin gutenprint (requires GIMP 2.2; normally used with GIMP 2.4 or above)" >&5
 
14578
$as_echo_n "checking whether to name GIMP 2.x Print plugin gutenprint (requires GIMP 2.2; normally used with GIMP 2.4 or above)... " >&6; }
23216
14579
 
23217
14580
# Check whether --with-gimp2-as-gutenprint was given.
23218
14581
if test "${with_gimp2_as_gutenprint+set}" = set; then
23219
14582
  withval=$with_gimp2_as_gutenprint; case "${withval}" in
23220
14583
 
23221
 
                yes) BUILD_GIMP2_AS_GUTENPRINT="yes" ; { echo "$as_me:$LINENO: result: ${BUILD_GIMP2_AS_GUTENPRINT}" >&5
23222
 
echo "${ECHO_T}${BUILD_GIMP2_AS_GUTENPRINT}" >&6; } ;;
23223
 
                no) BUILD_GIMP2_AS_GUTENPRINT="no" ; { echo "$as_me:$LINENO: result: ${BUILD_GIMP2_AS_GUTENPRINT}" >&5
23224
 
echo "${ECHO_T}${BUILD_GIMP2_AS_GUTENPRINT}" >&6; } ;;
23225
 
                *) { echo "$as_me:$LINENO: result: unknown" >&5
23226
 
echo "${ECHO_T}unknown" >&6; }
23227
 
                   { { echo "$as_me:$LINENO: error: bad value ${withval} for --with-gimp2-as-gutenprint" >&5
23228
 
echo "$as_me: error: bad value ${withval} for --with-gimp2-as-gutenprint" >&2;}
 
14584
                yes) BUILD_GIMP2_AS_GUTENPRINT="yes" ; { $as_echo "$as_me:$LINENO: result: ${BUILD_GIMP2_AS_GUTENPRINT}" >&5
 
14585
$as_echo "${BUILD_GIMP2_AS_GUTENPRINT}" >&6; } ;;
 
14586
                no) BUILD_GIMP2_AS_GUTENPRINT="no" ; { $as_echo "$as_me:$LINENO: result: ${BUILD_GIMP2_AS_GUTENPRINT}" >&5
 
14587
$as_echo "${BUILD_GIMP2_AS_GUTENPRINT}" >&6; } ;;
 
14588
                *) { $as_echo "$as_me:$LINENO: result: unknown" >&5
 
14589
$as_echo "unknown" >&6; }
 
14590
                   { { $as_echo "$as_me:$LINENO: error: bad value ${withval} for --with-gimp2-as-gutenprint" >&5
 
14591
$as_echo "$as_me: error: bad value ${withval} for --with-gimp2-as-gutenprint" >&2;}
23229
14592
   { (exit 1); exit 1; }; } ;;
23230
14593
 
23231
14594
            esac
23233
14596
  if test -z "${BUILD_GIMP2_AS_GUTENPRINT}" ; then
23234
14597
               BUILD_GIMP2_AS_GUTENPRINT="(automatic)"
23235
14598
             fi
23236
 
             { echo "$as_me:$LINENO: result: ${BUILD_GIMP2_AS_GUTENPRINT}" >&5
23237
 
echo "${ECHO_T}${BUILD_GIMP2_AS_GUTENPRINT}" >&6; } ;
 
14599
             { $as_echo "$as_me:$LINENO: result: ${BUILD_GIMP2_AS_GUTENPRINT}" >&5
 
14600
$as_echo "${BUILD_GIMP2_AS_GUTENPRINT}" >&6; } ;
23238
14601
fi
23239
14602
 
23240
14603
if test -z "${BUILD_GIMP2_AS_GUTENPRINT}" ; then
23243
14606
 
23244
14607
 
23245
14608
# create custom command-line --enable option
23246
 
{ echo "$as_me:$LINENO: checking whether to build Gutenprint GTK+-2.0 user interface library" >&5
23247
 
echo $ECHO_N "checking whether to build Gutenprint GTK+-2.0 user interface library... $ECHO_C" >&6; }
 
14609
{ $as_echo "$as_me:$LINENO: checking whether to build Gutenprint GTK+-2.0 user interface library" >&5
 
14610
$as_echo_n "checking whether to build Gutenprint GTK+-2.0 user interface library... " >&6; }
23248
14611
# Check whether --enable-libgutenprintui2 was given.
23249
14612
if test "${enable_libgutenprintui2+set}" = set; then
23250
14613
  enableval=$enable_libgutenprintui2; case "${enableval}" in
23251
14614
 
23252
 
                yes) BUILD_LIBGUTENPRINTUI2="yes" ; { echo "$as_me:$LINENO: result: ${BUILD_LIBGUTENPRINTUI2}" >&5
23253
 
echo "${ECHO_T}${BUILD_LIBGUTENPRINTUI2}" >&6; } ;;
23254
 
                no) BUILD_LIBGUTENPRINTUI2="no" ; { echo "$as_me:$LINENO: result: ${BUILD_LIBGUTENPRINTUI2}" >&5
23255
 
echo "${ECHO_T}${BUILD_LIBGUTENPRINTUI2}" >&6; } ;;
23256
 
                *) { echo "$as_me:$LINENO: result: unknown" >&5
23257
 
echo "${ECHO_T}unknown" >&6; }
23258
 
                   { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-libgutenprintui2" >&5
23259
 
echo "$as_me: error: bad value ${enableval} for --enable-libgutenprintui2" >&2;}
 
14615
                yes) BUILD_LIBGUTENPRINTUI2="yes" ; { $as_echo "$as_me:$LINENO: result: ${BUILD_LIBGUTENPRINTUI2}" >&5
 
14616
$as_echo "${BUILD_LIBGUTENPRINTUI2}" >&6; } ;;
 
14617
                no) BUILD_LIBGUTENPRINTUI2="no" ; { $as_echo "$as_me:$LINENO: result: ${BUILD_LIBGUTENPRINTUI2}" >&5
 
14618
$as_echo "${BUILD_LIBGUTENPRINTUI2}" >&6; } ;;
 
14619
                *) { $as_echo "$as_me:$LINENO: result: unknown" >&5
 
14620
$as_echo "unknown" >&6; }
 
14621
                   { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-libgutenprintui2" >&5
 
14622
$as_echo "$as_me: error: bad value ${enableval} for --enable-libgutenprintui2" >&2;}
23260
14623
   { (exit 1); exit 1; }; } ;;
23261
14624
 
23262
14625
            esac
23264
14627
  if test -z "${BUILD_LIBGUTENPRINTUI2}" ; then
23265
14628
               BUILD_LIBGUTENPRINTUI2="(automatic)"
23266
14629
             fi
23267
 
             { echo "$as_me:$LINENO: result: ${BUILD_LIBGUTENPRINTUI2}" >&5
23268
 
echo "${ECHO_T}${BUILD_LIBGUTENPRINTUI2}" >&6; } ;
 
14630
             { $as_echo "$as_me:$LINENO: result: ${BUILD_LIBGUTENPRINTUI2}" >&5
 
14631
$as_echo "${BUILD_LIBGUTENPRINTUI2}" >&6; } ;
23269
14632
fi
23270
14633
 
23271
14634
if test -z "${BUILD_LIBGUTENPRINTUI2}" ; then
23274
14637
 
23275
14638
 
23276
14639
# create custom command-line --enable option
23277
 
{ echo "$as_me:$LINENO: checking whether to install sample images" >&5
23278
 
echo $ECHO_N "checking whether to install sample images... $ECHO_C" >&6; }
 
14640
{ $as_echo "$as_me:$LINENO: checking whether to install sample images" >&5
 
14641
$as_echo_n "checking whether to install sample images... " >&6; }
23279
14642
# Check whether --enable-samples was given.
23280
14643
if test "${enable_samples+set}" = set; then
23281
14644
  enableval=$enable_samples; case "${enableval}" in
23282
14645
 
23283
 
                yes) INSTALL_SAMPLES="yes" ; { echo "$as_me:$LINENO: result: ${INSTALL_SAMPLES}" >&5
23284
 
echo "${ECHO_T}${INSTALL_SAMPLES}" >&6; } ;;
23285
 
                no) INSTALL_SAMPLES="no" ; { echo "$as_me:$LINENO: result: ${INSTALL_SAMPLES}" >&5
23286
 
echo "${ECHO_T}${INSTALL_SAMPLES}" >&6; } ;;
23287
 
                *) { echo "$as_me:$LINENO: result: unknown" >&5
23288
 
echo "${ECHO_T}unknown" >&6; }
23289
 
                   { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-samples" >&5
23290
 
echo "$as_me: error: bad value ${enableval} for --enable-samples" >&2;}
 
14646
                yes) INSTALL_SAMPLES="yes" ; { $as_echo "$as_me:$LINENO: result: ${INSTALL_SAMPLES}" >&5
 
14647
$as_echo "${INSTALL_SAMPLES}" >&6; } ;;
 
14648
                no) INSTALL_SAMPLES="no" ; { $as_echo "$as_me:$LINENO: result: ${INSTALL_SAMPLES}" >&5
 
14649
$as_echo "${INSTALL_SAMPLES}" >&6; } ;;
 
14650
                *) { $as_echo "$as_me:$LINENO: result: unknown" >&5
 
14651
$as_echo "unknown" >&6; }
 
14652
                   { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-samples" >&5
 
14653
$as_echo "$as_me: error: bad value ${enableval} for --enable-samples" >&2;}
23291
14654
   { (exit 1); exit 1; }; } ;;
23292
14655
 
23293
14656
            esac
23295
14658
  if test -z "${INSTALL_SAMPLES}" ; then
23296
14659
               INSTALL_SAMPLES="yes"
23297
14660
             fi
23298
 
             { echo "$as_me:$LINENO: result: ${INSTALL_SAMPLES}" >&5
23299
 
echo "${ECHO_T}${INSTALL_SAMPLES}" >&6; } ;
 
14661
             { $as_echo "$as_me:$LINENO: result: ${INSTALL_SAMPLES}" >&5
 
14662
$as_echo "${INSTALL_SAMPLES}" >&6; } ;
23300
14663
fi
23301
14664
 
23302
14665
if test -z "${INSTALL_SAMPLES}" ; then
23305
14668
 
23306
14669
 
23307
14670
# create custom command-line --enable option
23308
 
{ echo "$as_me:$LINENO: checking whether to build escputil" >&5
23309
 
echo $ECHO_N "checking whether to build escputil... $ECHO_C" >&6; }
 
14671
{ $as_echo "$as_me:$LINENO: checking whether to build escputil" >&5
 
14672
$as_echo_n "checking whether to build escputil... " >&6; }
23310
14673
# Check whether --enable-escputil was given.
23311
14674
if test "${enable_escputil+set}" = set; then
23312
14675
  enableval=$enable_escputil; case "${enableval}" in
23313
14676
 
23314
 
                yes) BUILD_ESCPUTIL="yes" ; { echo "$as_me:$LINENO: result: ${BUILD_ESCPUTIL}" >&5
23315
 
echo "${ECHO_T}${BUILD_ESCPUTIL}" >&6; } ;;
23316
 
                no) BUILD_ESCPUTIL="no" ; { echo "$as_me:$LINENO: result: ${BUILD_ESCPUTIL}" >&5
23317
 
echo "${ECHO_T}${BUILD_ESCPUTIL}" >&6; } ;;
23318
 
                *) { echo "$as_me:$LINENO: result: unknown" >&5
23319
 
echo "${ECHO_T}unknown" >&6; }
23320
 
                   { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-escputil" >&5
23321
 
echo "$as_me: error: bad value ${enableval} for --enable-escputil" >&2;}
 
14677
                yes) BUILD_ESCPUTIL="yes" ; { $as_echo "$as_me:$LINENO: result: ${BUILD_ESCPUTIL}" >&5
 
14678
$as_echo "${BUILD_ESCPUTIL}" >&6; } ;;
 
14679
                no) BUILD_ESCPUTIL="no" ; { $as_echo "$as_me:$LINENO: result: ${BUILD_ESCPUTIL}" >&5
 
14680
$as_echo "${BUILD_ESCPUTIL}" >&6; } ;;
 
14681
                *) { $as_echo "$as_me:$LINENO: result: unknown" >&5
 
14682
$as_echo "unknown" >&6; }
 
14683
                   { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-escputil" >&5
 
14684
$as_echo "$as_me: error: bad value ${enableval} for --enable-escputil" >&2;}
23322
14685
   { (exit 1); exit 1; }; } ;;
23323
14686
 
23324
14687
            esac
23326
14689
  if test -z "${BUILD_ESCPUTIL}" ; then
23327
14690
               BUILD_ESCPUTIL="yes"
23328
14691
             fi
23329
 
             { echo "$as_me:$LINENO: result: ${BUILD_ESCPUTIL}" >&5
23330
 
echo "${ECHO_T}${BUILD_ESCPUTIL}" >&6; } ;
 
14692
             { $as_echo "$as_me:$LINENO: result: ${BUILD_ESCPUTIL}" >&5
 
14693
$as_echo "${BUILD_ESCPUTIL}" >&6; } ;
23331
14694
fi
23332
14695
 
23333
14696
if test -z "${BUILD_ESCPUTIL}" ; then
23336
14699
 
23337
14700
 
23338
14701
# create custom command-line --enable option
23339
 
{ echo "$as_me:$LINENO: checking whether to build test programs" >&5
23340
 
echo $ECHO_N "checking whether to build test programs... $ECHO_C" >&6; }
 
14702
{ $as_echo "$as_me:$LINENO: checking whether to build test programs" >&5
 
14703
$as_echo_n "checking whether to build test programs... " >&6; }
23341
14704
# Check whether --enable-test was given.
23342
14705
if test "${enable_test+set}" = set; then
23343
14706
  enableval=$enable_test; case "${enableval}" in
23344
14707
 
23345
 
                yes) BUILD_TEST="yes" ; { echo "$as_me:$LINENO: result: ${BUILD_TEST}" >&5
23346
 
echo "${ECHO_T}${BUILD_TEST}" >&6; } ;;
23347
 
                no) BUILD_TEST="no" ; { echo "$as_me:$LINENO: result: ${BUILD_TEST}" >&5
23348
 
echo "${ECHO_T}${BUILD_TEST}" >&6; } ;;
23349
 
                *) { echo "$as_me:$LINENO: result: unknown" >&5
23350
 
echo "${ECHO_T}unknown" >&6; }
23351
 
                   { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-test" >&5
23352
 
echo "$as_me: error: bad value ${enableval} for --enable-test" >&2;}
 
14708
                yes) BUILD_TEST="yes" ; { $as_echo "$as_me:$LINENO: result: ${BUILD_TEST}" >&5
 
14709
$as_echo "${BUILD_TEST}" >&6; } ;;
 
14710
                no) BUILD_TEST="no" ; { $as_echo "$as_me:$LINENO: result: ${BUILD_TEST}" >&5
 
14711
$as_echo "${BUILD_TEST}" >&6; } ;;
 
14712
                *) { $as_echo "$as_me:$LINENO: result: unknown" >&5
 
14713
$as_echo "unknown" >&6; }
 
14714
                   { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-test" >&5
 
14715
$as_echo "$as_me: error: bad value ${enableval} for --enable-test" >&2;}
23353
14716
   { (exit 1); exit 1; }; } ;;
23354
14717
 
23355
14718
            esac
23357
14720
  if test -z "${BUILD_TEST}" ; then
23358
14721
               BUILD_TEST="yes"
23359
14722
             fi
23360
 
             { echo "$as_me:$LINENO: result: ${BUILD_TEST}" >&5
23361
 
echo "${ECHO_T}${BUILD_TEST}" >&6; } ;
 
14723
             { $as_echo "$as_me:$LINENO: result: ${BUILD_TEST}" >&5
 
14724
$as_echo "${BUILD_TEST}" >&6; } ;
23362
14725
fi
23363
14726
 
23364
14727
if test -z "${BUILD_TEST}" ; then
23373
14736
fi
23374
14737
 
23375
14738
# create custom command-line --enable option
23376
 
{ echo "$as_me:$LINENO: checking whether to build testpattern generator" >&5
23377
 
echo $ECHO_N "checking whether to build testpattern generator... $ECHO_C" >&6; }
 
14739
{ $as_echo "$as_me:$LINENO: checking whether to build testpattern generator" >&5
 
14740
$as_echo_n "checking whether to build testpattern generator... " >&6; }
23378
14741
# Check whether --enable-testpattern was given.
23379
14742
if test "${enable_testpattern+set}" = set; then
23380
14743
  enableval=$enable_testpattern; case "${enableval}" in
23381
14744
 
23382
 
                yes) BUILD_TESTPATTERN="yes" ; { echo "$as_me:$LINENO: result: ${BUILD_TESTPATTERN}" >&5
23383
 
echo "${ECHO_T}${BUILD_TESTPATTERN}" >&6; } ;;
23384
 
                no) BUILD_TESTPATTERN="no" ; { echo "$as_me:$LINENO: result: ${BUILD_TESTPATTERN}" >&5
23385
 
echo "${ECHO_T}${BUILD_TESTPATTERN}" >&6; } ;;
23386
 
                *) { echo "$as_me:$LINENO: result: unknown" >&5
23387
 
echo "${ECHO_T}unknown" >&6; }
23388
 
                   { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-testpattern" >&5
23389
 
echo "$as_me: error: bad value ${enableval} for --enable-testpattern" >&2;}
 
14745
                yes) BUILD_TESTPATTERN="yes" ; { $as_echo "$as_me:$LINENO: result: ${BUILD_TESTPATTERN}" >&5
 
14746
$as_echo "${BUILD_TESTPATTERN}" >&6; } ;;
 
14747
                no) BUILD_TESTPATTERN="no" ; { $as_echo "$as_me:$LINENO: result: ${BUILD_TESTPATTERN}" >&5
 
14748
$as_echo "${BUILD_TESTPATTERN}" >&6; } ;;
 
14749
                *) { $as_echo "$as_me:$LINENO: result: unknown" >&5
 
14750
$as_echo "unknown" >&6; }
 
14751
                   { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-testpattern" >&5
 
14752
$as_echo "$as_me: error: bad value ${enableval} for --enable-testpattern" >&2;}
23390
14753
   { (exit 1); exit 1; }; } ;;
23391
14754
 
23392
14755
            esac
23394
14757
  if test -z "${BUILD_TESTPATTERN}" ; then
23395
14758
               BUILD_TESTPATTERN="(automatic)"
23396
14759
             fi
23397
 
             { echo "$as_me:$LINENO: result: ${BUILD_TESTPATTERN}" >&5
23398
 
echo "${ECHO_T}${BUILD_TESTPATTERN}" >&6; } ;
 
14760
             { $as_echo "$as_me:$LINENO: result: ${BUILD_TESTPATTERN}" >&5
 
14761
$as_echo "${BUILD_TESTPATTERN}" >&6; } ;
23399
14762
fi
23400
14763
 
23401
14764
if test -z "${BUILD_TESTPATTERN}" ; then
23404
14767
 
23405
14768
 
23406
14769
# create custom command-line --enable option
23407
 
{ echo "$as_me:$LINENO: checking whether to install GIMP plugin in home directory" >&5
23408
 
echo $ECHO_N "checking whether to install GIMP plugin in home directory... $ECHO_C" >&6; }
 
14770
{ $as_echo "$as_me:$LINENO: checking whether to install GIMP plugin in home directory" >&5
 
14771
$as_echo_n "checking whether to install GIMP plugin in home directory... " >&6; }
23409
14772
# Check whether --enable-user-install was given.
23410
14773
if test "${enable_user_install+set}" = set; then
23411
14774
  enableval=$enable_user_install; case "${enableval}" in
23412
14775
 
23413
 
                yes) USER_INSTALL="yes" ; { echo "$as_me:$LINENO: result: ${USER_INSTALL}" >&5
23414
 
echo "${ECHO_T}${USER_INSTALL}" >&6; } ;;
23415
 
                no) USER_INSTALL="no" ; { echo "$as_me:$LINENO: result: ${USER_INSTALL}" >&5
23416
 
echo "${ECHO_T}${USER_INSTALL}" >&6; } ;;
23417
 
                *) { echo "$as_me:$LINENO: result: unknown" >&5
23418
 
echo "${ECHO_T}unknown" >&6; }
23419
 
                   { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-user-install" >&5
23420
 
echo "$as_me: error: bad value ${enableval} for --enable-user-install" >&2;}
 
14776
                yes) USER_INSTALL="yes" ; { $as_echo "$as_me:$LINENO: result: ${USER_INSTALL}" >&5
 
14777
$as_echo "${USER_INSTALL}" >&6; } ;;
 
14778
                no) USER_INSTALL="no" ; { $as_echo "$as_me:$LINENO: result: ${USER_INSTALL}" >&5
 
14779
$as_echo "${USER_INSTALL}" >&6; } ;;
 
14780
                *) { $as_echo "$as_me:$LINENO: result: unknown" >&5
 
14781
$as_echo "unknown" >&6; }
 
14782
                   { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-user-install" >&5
 
14783
$as_echo "$as_me: error: bad value ${enableval} for --enable-user-install" >&2;}
23421
14784
   { (exit 1); exit 1; }; } ;;
23422
14785
 
23423
14786
            esac
23425
14788
  if test -z "${USER_INSTALL}" ; then
23426
14789
               USER_INSTALL="no"
23427
14790
             fi
23428
 
             { echo "$as_me:$LINENO: result: ${USER_INSTALL}" >&5
23429
 
echo "${ECHO_T}${USER_INSTALL}" >&6; } ;
 
14791
             { $as_echo "$as_me:$LINENO: result: ${USER_INSTALL}" >&5
 
14792
$as_echo "${USER_INSTALL}" >&6; } ;
23430
14793
fi
23431
14794
 
23432
14795
if test -z "${USER_INSTALL}" ; then
23469
14832
  done
23470
14833
 
23471
14834
 
23472
 
  { echo "$as_me:$LINENO: checking for iconv" >&5
23473
 
echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
 
14835
  { $as_echo "$as_me:$LINENO: checking for iconv" >&5
 
14836
$as_echo_n "checking for iconv... " >&6; }
23474
14837
if test "${am_cv_func_iconv+set}" = set; then
23475
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14838
  $as_echo_n "(cached) " >&6
23476
14839
else
23477
14840
 
23478
14841
    am_cv_func_iconv="no, consider installing GNU libiconv"
23501
14864
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23502
14865
  *) ac_try_echo=$ac_try;;
23503
14866
esac
23504
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
14867
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
14868
$as_echo "$ac_try_echo") >&5
23505
14869
  (eval "$ac_link") 2>conftest.er1
23506
14870
  ac_status=$?
23507
14871
  grep -v '^ *+' conftest.er1 >conftest.err
23508
14872
  rm -f conftest.er1
23509
14873
  cat conftest.err >&5
23510
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14874
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23511
14875
  (exit $ac_status); } && {
23512
14876
         test -z "$ac_c_werror_flag" ||
23513
14877
         test ! -s conftest.err
23514
 
       } && test -s conftest$ac_exeext &&
23515
 
       $as_test_x conftest$ac_exeext; then
 
14878
       } && test -s conftest$ac_exeext && {
 
14879
         test "$cross_compiling" = yes ||
 
14880
         $as_test_x conftest$ac_exeext
 
14881
       }; then
23516
14882
  am_cv_func_iconv=yes
23517
14883
else
23518
 
  echo "$as_me: failed program was:" >&5
 
14884
  $as_echo "$as_me: failed program was:" >&5
23519
14885
sed 's/^/| /' conftest.$ac_ext >&5
23520
14886
 
23521
14887
 
23522
14888
fi
23523
14889
 
 
14890
rm -rf conftest.dSYM
23524
14891
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23525
14892
      conftest$ac_exeext conftest.$ac_ext
23526
14893
    if test "$am_cv_func_iconv" != yes; then
23550
14917
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23551
14918
  *) ac_try_echo=$ac_try;;
23552
14919
esac
23553
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
14920
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
14921
$as_echo "$ac_try_echo") >&5
23554
14922
  (eval "$ac_link") 2>conftest.er1
23555
14923
  ac_status=$?
23556
14924
  grep -v '^ *+' conftest.er1 >conftest.err
23557
14925
  rm -f conftest.er1
23558
14926
  cat conftest.err >&5
23559
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14927
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23560
14928
  (exit $ac_status); } && {
23561
14929
         test -z "$ac_c_werror_flag" ||
23562
14930
         test ! -s conftest.err
23563
 
       } && test -s conftest$ac_exeext &&
23564
 
       $as_test_x conftest$ac_exeext; then
 
14931
       } && test -s conftest$ac_exeext && {
 
14932
         test "$cross_compiling" = yes ||
 
14933
         $as_test_x conftest$ac_exeext
 
14934
       }; then
23565
14935
  am_cv_lib_iconv=yes
23566
14936
        am_cv_func_iconv=yes
23567
14937
else
23568
 
  echo "$as_me: failed program was:" >&5
 
14938
  $as_echo "$as_me: failed program was:" >&5
23569
14939
sed 's/^/| /' conftest.$ac_ext >&5
23570
14940
 
23571
14941
 
23572
14942
fi
23573
14943
 
 
14944
rm -rf conftest.dSYM
23574
14945
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23575
14946
      conftest$ac_exeext conftest.$ac_ext
23576
14947
      LIBS="$am_save_LIBS"
23577
14948
    fi
23578
14949
 
23579
14950
fi
23580
 
{ echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
23581
 
echo "${ECHO_T}$am_cv_func_iconv" >&6; }
 
14951
{ $as_echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
 
14952
$as_echo "$am_cv_func_iconv" >&6; }
23582
14953
  if test "$am_cv_func_iconv" = yes; then
23583
14954
 
23584
14955
cat >>confdefs.h <<\_ACEOF
23587
14958
 
23588
14959
  fi
23589
14960
  if test "$am_cv_lib_iconv" = yes; then
23590
 
    { echo "$as_me:$LINENO: checking how to link with libiconv" >&5
23591
 
echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6; }
23592
 
    { echo "$as_me:$LINENO: result: $LIBICONV" >&5
23593
 
echo "${ECHO_T}$LIBICONV" >&6; }
 
14961
    { $as_echo "$as_me:$LINENO: checking how to link with libiconv" >&5
 
14962
$as_echo_n "checking how to link with libiconv... " >&6; }
 
14963
    { $as_echo "$as_me:$LINENO: result: $LIBICONV" >&5
 
14964
$as_echo "$LIBICONV" >&6; }
23594
14965
  else
23595
14966
            CPPFLAGS="$am_save_CPPFLAGS"
23596
14967
    LIBICONV=
23600
14971
 
23601
14972
 
23602
14973
 
23603
 
        { echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5
23604
 
echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6; }
 
14974
        { $as_echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5
 
14975
$as_echo_n "checking for strerror in -lcposix... " >&6; }
23605
14976
if test "${ac_cv_lib_cposix_strerror+set}" = set; then
23606
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14977
  $as_echo_n "(cached) " >&6
23607
14978
else
23608
14979
  ac_check_lib_save_LIBS=$LIBS
23609
14980
LIBS="-lcposix  $LIBS"
23635
15006
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23636
15007
  *) ac_try_echo=$ac_try;;
23637
15008
esac
23638
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
15009
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
15010
$as_echo "$ac_try_echo") >&5
23639
15011
  (eval "$ac_link") 2>conftest.er1
23640
15012
  ac_status=$?
23641
15013
  grep -v '^ *+' conftest.er1 >conftest.err
23642
15014
  rm -f conftest.er1
23643
15015
  cat conftest.err >&5
23644
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15016
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23645
15017
  (exit $ac_status); } && {
23646
15018
         test -z "$ac_c_werror_flag" ||
23647
15019
         test ! -s conftest.err
23648
 
       } && test -s conftest$ac_exeext &&
23649
 
       $as_test_x conftest$ac_exeext; then
 
15020
       } && test -s conftest$ac_exeext && {
 
15021
         test "$cross_compiling" = yes ||
 
15022
         $as_test_x conftest$ac_exeext
 
15023
       }; then
23650
15024
  ac_cv_lib_cposix_strerror=yes
23651
15025
else
23652
 
  echo "$as_me: failed program was:" >&5
 
15026
  $as_echo "$as_me: failed program was:" >&5
23653
15027
sed 's/^/| /' conftest.$ac_ext >&5
23654
15028
 
23655
15029
        ac_cv_lib_cposix_strerror=no
23656
15030
fi
23657
15031
 
 
15032
rm -rf conftest.dSYM
23658
15033
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23659
15034
      conftest$ac_exeext conftest.$ac_ext
23660
15035
LIBS=$ac_check_lib_save_LIBS
23661
15036
fi
23662
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5
23663
 
echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6; }
23664
 
if test $ac_cv_lib_cposix_strerror = yes; then
 
15037
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5
 
15038
$as_echo "$ac_cv_lib_cposix_strerror" >&6; }
 
15039
if test "x$ac_cv_lib_cposix_strerror" = x""yes; then
23665
15040
  LIBS="$LIBS -lcposix"
23666
15041
fi
23667
15042
 
23671
15046
do
23672
15047
  # Extract the first word of "$ac_prog", so it can be a program name with args.
23673
15048
set dummy $ac_prog; ac_word=$2
23674
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
23675
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
15049
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
15050
$as_echo_n "checking for $ac_word... " >&6; }
23676
15051
if test "${ac_cv_prog_AWK+set}" = set; then
23677
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15052
  $as_echo_n "(cached) " >&6
23678
15053
else
23679
15054
  if test -n "$AWK"; then
23680
15055
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
23687
15062
  for ac_exec_ext in '' $ac_executable_extensions; do
23688
15063
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23689
15064
    ac_cv_prog_AWK="$ac_prog"
23690
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
15065
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23691
15066
    break 2
23692
15067
  fi
23693
15068
done
23698
15073
fi
23699
15074
AWK=$ac_cv_prog_AWK
23700
15075
if test -n "$AWK"; then
23701
 
  { echo "$as_me:$LINENO: result: $AWK" >&5
23702
 
echo "${ECHO_T}$AWK" >&6; }
 
15076
  { $as_echo "$as_me:$LINENO: result: $AWK" >&5
 
15077
$as_echo "$AWK" >&6; }
23703
15078
else
23704
 
  { echo "$as_me:$LINENO: result: no" >&5
23705
 
echo "${ECHO_T}no" >&6; }
 
15079
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
15080
$as_echo "no" >&6; }
23706
15081
fi
23707
15082
 
23708
15083
 
23717
15092
if test -n "$ac_tool_prefix"; then
23718
15093
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
23719
15094
set dummy ${ac_tool_prefix}gcc; ac_word=$2
23720
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
23721
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
15095
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
15096
$as_echo_n "checking for $ac_word... " >&6; }
23722
15097
if test "${ac_cv_prog_CC+set}" = set; then
23723
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15098
  $as_echo_n "(cached) " >&6
23724
15099
else
23725
15100
  if test -n "$CC"; then
23726
15101
  ac_cv_prog_CC="$CC" # Let the user override the test.
23733
15108
  for ac_exec_ext in '' $ac_executable_extensions; do
23734
15109
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23735
15110
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
23736
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
15111
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23737
15112
    break 2
23738
15113
  fi
23739
15114
done
23744
15119
fi
23745
15120
CC=$ac_cv_prog_CC
23746
15121
if test -n "$CC"; then
23747
 
  { echo "$as_me:$LINENO: result: $CC" >&5
23748
 
echo "${ECHO_T}$CC" >&6; }
 
15122
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
15123
$as_echo "$CC" >&6; }
23749
15124
else
23750
 
  { echo "$as_me:$LINENO: result: no" >&5
23751
 
echo "${ECHO_T}no" >&6; }
 
15125
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
15126
$as_echo "no" >&6; }
23752
15127
fi
23753
15128
 
23754
15129
 
23757
15132
  ac_ct_CC=$CC
23758
15133
  # Extract the first word of "gcc", so it can be a program name with args.
23759
15134
set dummy gcc; ac_word=$2
23760
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
23761
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
15135
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
15136
$as_echo_n "checking for $ac_word... " >&6; }
23762
15137
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
23763
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15138
  $as_echo_n "(cached) " >&6
23764
15139
else
23765
15140
  if test -n "$ac_ct_CC"; then
23766
15141
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
23773
15148
  for ac_exec_ext in '' $ac_executable_extensions; do
23774
15149
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23775
15150
    ac_cv_prog_ac_ct_CC="gcc"
23776
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
15151
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23777
15152
    break 2
23778
15153
  fi
23779
15154
done
23784
15159
fi
23785
15160
ac_ct_CC=$ac_cv_prog_ac_ct_CC
23786
15161
if test -n "$ac_ct_CC"; then
23787
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
23788
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
 
15162
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
15163
$as_echo "$ac_ct_CC" >&6; }
23789
15164
else
23790
 
  { echo "$as_me:$LINENO: result: no" >&5
23791
 
echo "${ECHO_T}no" >&6; }
 
15165
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
15166
$as_echo "no" >&6; }
23792
15167
fi
23793
15168
 
23794
15169
  if test "x$ac_ct_CC" = x; then
23796
15171
  else
23797
15172
    case $cross_compiling:$ac_tool_warned in
23798
15173
yes:)
23799
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
23800
 
whose name does not start with the host triplet.  If you think this
23801
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
23802
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
23803
 
whose name does not start with the host triplet.  If you think this
23804
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
15174
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
15175
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
23805
15176
ac_tool_warned=yes ;;
23806
15177
esac
23807
15178
    CC=$ac_ct_CC
23814
15185
          if test -n "$ac_tool_prefix"; then
23815
15186
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
23816
15187
set dummy ${ac_tool_prefix}cc; ac_word=$2
23817
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
23818
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
15188
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
15189
$as_echo_n "checking for $ac_word... " >&6; }
23819
15190
if test "${ac_cv_prog_CC+set}" = set; then
23820
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15191
  $as_echo_n "(cached) " >&6
23821
15192
else
23822
15193
  if test -n "$CC"; then
23823
15194
  ac_cv_prog_CC="$CC" # Let the user override the test.
23830
15201
  for ac_exec_ext in '' $ac_executable_extensions; do
23831
15202
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23832
15203
    ac_cv_prog_CC="${ac_tool_prefix}cc"
23833
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
15204
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23834
15205
    break 2
23835
15206
  fi
23836
15207
done
23841
15212
fi
23842
15213
CC=$ac_cv_prog_CC
23843
15214
if test -n "$CC"; then
23844
 
  { echo "$as_me:$LINENO: result: $CC" >&5
23845
 
echo "${ECHO_T}$CC" >&6; }
 
15215
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
15216
$as_echo "$CC" >&6; }
23846
15217
else
23847
 
  { echo "$as_me:$LINENO: result: no" >&5
23848
 
echo "${ECHO_T}no" >&6; }
 
15218
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
15219
$as_echo "no" >&6; }
23849
15220
fi
23850
15221
 
23851
15222
 
23854
15225
if test -z "$CC"; then
23855
15226
  # Extract the first word of "cc", so it can be a program name with args.
23856
15227
set dummy cc; ac_word=$2
23857
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
23858
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
15228
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
15229
$as_echo_n "checking for $ac_word... " >&6; }
23859
15230
if test "${ac_cv_prog_CC+set}" = set; then
23860
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15231
  $as_echo_n "(cached) " >&6
23861
15232
else
23862
15233
  if test -n "$CC"; then
23863
15234
  ac_cv_prog_CC="$CC" # Let the user override the test.
23875
15246
       continue
23876
15247
     fi
23877
15248
    ac_cv_prog_CC="cc"
23878
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
15249
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23879
15250
    break 2
23880
15251
  fi
23881
15252
done
23898
15269
fi
23899
15270
CC=$ac_cv_prog_CC
23900
15271
if test -n "$CC"; then
23901
 
  { echo "$as_me:$LINENO: result: $CC" >&5
23902
 
echo "${ECHO_T}$CC" >&6; }
 
15272
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
15273
$as_echo "$CC" >&6; }
23903
15274
else
23904
 
  { echo "$as_me:$LINENO: result: no" >&5
23905
 
echo "${ECHO_T}no" >&6; }
 
15275
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
15276
$as_echo "no" >&6; }
23906
15277
fi
23907
15278
 
23908
15279
 
23913
15284
  do
23914
15285
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
23915
15286
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
23916
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
23917
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
15287
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
15288
$as_echo_n "checking for $ac_word... " >&6; }
23918
15289
if test "${ac_cv_prog_CC+set}" = set; then
23919
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15290
  $as_echo_n "(cached) " >&6
23920
15291
else
23921
15292
  if test -n "$CC"; then
23922
15293
  ac_cv_prog_CC="$CC" # Let the user override the test.
23929
15300
  for ac_exec_ext in '' $ac_executable_extensions; do
23930
15301
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23931
15302
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
23932
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
15303
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23933
15304
    break 2
23934
15305
  fi
23935
15306
done
23940
15311
fi
23941
15312
CC=$ac_cv_prog_CC
23942
15313
if test -n "$CC"; then
23943
 
  { echo "$as_me:$LINENO: result: $CC" >&5
23944
 
echo "${ECHO_T}$CC" >&6; }
 
15314
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
15315
$as_echo "$CC" >&6; }
23945
15316
else
23946
 
  { echo "$as_me:$LINENO: result: no" >&5
23947
 
echo "${ECHO_T}no" >&6; }
 
15317
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
15318
$as_echo "no" >&6; }
23948
15319
fi
23949
15320
 
23950
15321
 
23957
15328
do
23958
15329
  # Extract the first word of "$ac_prog", so it can be a program name with args.
23959
15330
set dummy $ac_prog; ac_word=$2
23960
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
23961
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
15331
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
15332
$as_echo_n "checking for $ac_word... " >&6; }
23962
15333
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
23963
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15334
  $as_echo_n "(cached) " >&6
23964
15335
else
23965
15336
  if test -n "$ac_ct_CC"; then
23966
15337
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
23973
15344
  for ac_exec_ext in '' $ac_executable_extensions; do
23974
15345
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23975
15346
    ac_cv_prog_ac_ct_CC="$ac_prog"
23976
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
15347
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23977
15348
    break 2
23978
15349
  fi
23979
15350
done
23984
15355
fi
23985
15356
ac_ct_CC=$ac_cv_prog_ac_ct_CC
23986
15357
if test -n "$ac_ct_CC"; then
23987
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
23988
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
 
15358
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
15359
$as_echo "$ac_ct_CC" >&6; }
23989
15360
else
23990
 
  { echo "$as_me:$LINENO: result: no" >&5
23991
 
echo "${ECHO_T}no" >&6; }
 
15361
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
15362
$as_echo "no" >&6; }
23992
15363
fi
23993
15364
 
23994
15365
 
24000
15371
  else
24001
15372
    case $cross_compiling:$ac_tool_warned in
24002
15373
yes:)
24003
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
24004
 
whose name does not start with the host triplet.  If you think this
24005
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
24006
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
24007
 
whose name does not start with the host triplet.  If you think this
24008
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
15374
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
15375
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
24009
15376
ac_tool_warned=yes ;;
24010
15377
esac
24011
15378
    CC=$ac_ct_CC
24015
15382
fi
24016
15383
 
24017
15384
 
24018
 
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
 
15385
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
15386
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
15387
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
24019
15388
See \`config.log' for more details." >&5
24020
 
echo "$as_me: error: no acceptable C compiler found in \$PATH
 
15389
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
24021
15390
See \`config.log' for more details." >&2;}
24022
 
   { (exit 1); exit 1; }; }
 
15391
   { (exit 1); exit 1; }; }; }
24023
15392
 
24024
15393
# Provide some information about the compiler.
24025
 
echo "$as_me:$LINENO: checking for C compiler version" >&5
24026
 
ac_compiler=`set X $ac_compile; echo $2`
 
15394
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
 
15395
set X $ac_compile
 
15396
ac_compiler=$2
24027
15397
{ (ac_try="$ac_compiler --version >&5"
24028
15398
case "(($ac_try" in
24029
15399
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24030
15400
  *) ac_try_echo=$ac_try;;
24031
15401
esac
24032
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
15402
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
15403
$as_echo "$ac_try_echo") >&5
24033
15404
  (eval "$ac_compiler --version >&5") 2>&5
24034
15405
  ac_status=$?
24035
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15406
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24036
15407
  (exit $ac_status); }
24037
15408
{ (ac_try="$ac_compiler -v >&5"
24038
15409
case "(($ac_try" in
24039
15410
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24040
15411
  *) ac_try_echo=$ac_try;;
24041
15412
esac
24042
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
15413
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
15414
$as_echo "$ac_try_echo") >&5
24043
15415
  (eval "$ac_compiler -v >&5") 2>&5
24044
15416
  ac_status=$?
24045
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15417
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24046
15418
  (exit $ac_status); }
24047
15419
{ (ac_try="$ac_compiler -V >&5"
24048
15420
case "(($ac_try" in
24049
15421
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24050
15422
  *) ac_try_echo=$ac_try;;
24051
15423
esac
24052
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
15424
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
15425
$as_echo "$ac_try_echo") >&5
24053
15426
  (eval "$ac_compiler -V >&5") 2>&5
24054
15427
  ac_status=$?
24055
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15428
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24056
15429
  (exit $ac_status); }
24057
15430
 
24058
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
24059
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
 
15431
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
15432
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
24060
15433
if test "${ac_cv_c_compiler_gnu+set}" = set; then
24061
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15434
  $as_echo_n "(cached) " >&6
24062
15435
else
24063
15436
  cat >conftest.$ac_ext <<_ACEOF
24064
15437
/* confdefs.h.  */
24084
15457
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24085
15458
  *) ac_try_echo=$ac_try;;
24086
15459
esac
24087
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
15460
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
15461
$as_echo "$ac_try_echo") >&5
24088
15462
  (eval "$ac_compile") 2>conftest.er1
24089
15463
  ac_status=$?
24090
15464
  grep -v '^ *+' conftest.er1 >conftest.err
24091
15465
  rm -f conftest.er1
24092
15466
  cat conftest.err >&5
24093
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15467
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24094
15468
  (exit $ac_status); } && {
24095
15469
         test -z "$ac_c_werror_flag" ||
24096
15470
         test ! -s conftest.err
24097
15471
       } && test -s conftest.$ac_objext; then
24098
15472
  ac_compiler_gnu=yes
24099
15473
else
24100
 
  echo "$as_me: failed program was:" >&5
 
15474
  $as_echo "$as_me: failed program was:" >&5
24101
15475
sed 's/^/| /' conftest.$ac_ext >&5
24102
15476
 
24103
15477
        ac_compiler_gnu=no
24107
15481
ac_cv_c_compiler_gnu=$ac_compiler_gnu
24108
15482
 
24109
15483
fi
24110
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
24111
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
24112
 
GCC=`test $ac_compiler_gnu = yes && echo yes`
 
15484
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
15485
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
 
15486
if test $ac_compiler_gnu = yes; then
 
15487
  GCC=yes
 
15488
else
 
15489
  GCC=
 
15490
fi
24113
15491
ac_test_CFLAGS=${CFLAGS+set}
24114
15492
ac_save_CFLAGS=$CFLAGS
24115
 
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
24116
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
 
15493
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
15494
$as_echo_n "checking whether $CC accepts -g... " >&6; }
24117
15495
if test "${ac_cv_prog_cc_g+set}" = set; then
24118
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15496
  $as_echo_n "(cached) " >&6
24119
15497
else
24120
15498
  ac_save_c_werror_flag=$ac_c_werror_flag
24121
15499
   ac_c_werror_flag=yes
24142
15520
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24143
15521
  *) ac_try_echo=$ac_try;;
24144
15522
esac
24145
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
15523
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
15524
$as_echo "$ac_try_echo") >&5
24146
15525
  (eval "$ac_compile") 2>conftest.er1
24147
15526
  ac_status=$?
24148
15527
  grep -v '^ *+' conftest.er1 >conftest.err
24149
15528
  rm -f conftest.er1
24150
15529
  cat conftest.err >&5
24151
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15530
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24152
15531
  (exit $ac_status); } && {
24153
15532
         test -z "$ac_c_werror_flag" ||
24154
15533
         test ! -s conftest.err
24155
15534
       } && test -s conftest.$ac_objext; then
24156
15535
  ac_cv_prog_cc_g=yes
24157
15536
else
24158
 
  echo "$as_me: failed program was:" >&5
 
15537
  $as_echo "$as_me: failed program was:" >&5
24159
15538
sed 's/^/| /' conftest.$ac_ext >&5
24160
15539
 
24161
15540
        CFLAGS=""
24180
15559
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24181
15560
  *) ac_try_echo=$ac_try;;
24182
15561
esac
24183
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
15562
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
15563
$as_echo "$ac_try_echo") >&5
24184
15564
  (eval "$ac_compile") 2>conftest.er1
24185
15565
  ac_status=$?
24186
15566
  grep -v '^ *+' conftest.er1 >conftest.err
24187
15567
  rm -f conftest.er1
24188
15568
  cat conftest.err >&5
24189
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15569
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24190
15570
  (exit $ac_status); } && {
24191
15571
         test -z "$ac_c_werror_flag" ||
24192
15572
         test ! -s conftest.err
24193
15573
       } && test -s conftest.$ac_objext; then
24194
15574
  :
24195
15575
else
24196
 
  echo "$as_me: failed program was:" >&5
 
15576
  $as_echo "$as_me: failed program was:" >&5
24197
15577
sed 's/^/| /' conftest.$ac_ext >&5
24198
15578
 
24199
15579
        ac_c_werror_flag=$ac_save_c_werror_flag
24219
15599
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24220
15600
  *) ac_try_echo=$ac_try;;
24221
15601
esac
24222
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
15602
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
15603
$as_echo "$ac_try_echo") >&5
24223
15604
  (eval "$ac_compile") 2>conftest.er1
24224
15605
  ac_status=$?
24225
15606
  grep -v '^ *+' conftest.er1 >conftest.err
24226
15607
  rm -f conftest.er1
24227
15608
  cat conftest.err >&5
24228
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15609
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24229
15610
  (exit $ac_status); } && {
24230
15611
         test -z "$ac_c_werror_flag" ||
24231
15612
         test ! -s conftest.err
24232
15613
       } && test -s conftest.$ac_objext; then
24233
15614
  ac_cv_prog_cc_g=yes
24234
15615
else
24235
 
  echo "$as_me: failed program was:" >&5
 
15616
  $as_echo "$as_me: failed program was:" >&5
24236
15617
sed 's/^/| /' conftest.$ac_ext >&5
24237
15618
 
24238
15619
 
24247
15628
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24248
15629
   ac_c_werror_flag=$ac_save_c_werror_flag
24249
15630
fi
24250
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
24251
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
 
15631
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
15632
$as_echo "$ac_cv_prog_cc_g" >&6; }
24252
15633
if test "$ac_test_CFLAGS" = set; then
24253
15634
  CFLAGS=$ac_save_CFLAGS
24254
15635
elif test $ac_cv_prog_cc_g = yes; then
24264
15645
    CFLAGS=
24265
15646
  fi
24266
15647
fi
24267
 
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
24268
 
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
 
15648
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
15649
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
24269
15650
if test "${ac_cv_prog_cc_c89+set}" = set; then
24270
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15651
  $as_echo_n "(cached) " >&6
24271
15652
else
24272
15653
  ac_cv_prog_cc_c89=no
24273
15654
ac_save_CC=$CC
24338
15719
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24339
15720
  *) ac_try_echo=$ac_try;;
24340
15721
esac
24341
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
15722
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
15723
$as_echo "$ac_try_echo") >&5
24342
15724
  (eval "$ac_compile") 2>conftest.er1
24343
15725
  ac_status=$?
24344
15726
  grep -v '^ *+' conftest.er1 >conftest.err
24345
15727
  rm -f conftest.er1
24346
15728
  cat conftest.err >&5
24347
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15729
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24348
15730
  (exit $ac_status); } && {
24349
15731
         test -z "$ac_c_werror_flag" ||
24350
15732
         test ! -s conftest.err
24351
15733
       } && test -s conftest.$ac_objext; then
24352
15734
  ac_cv_prog_cc_c89=$ac_arg
24353
15735
else
24354
 
  echo "$as_me: failed program was:" >&5
 
15736
  $as_echo "$as_me: failed program was:" >&5
24355
15737
sed 's/^/| /' conftest.$ac_ext >&5
24356
15738
 
24357
15739
 
24367
15749
# AC_CACHE_VAL
24368
15750
case "x$ac_cv_prog_cc_c89" in
24369
15751
  x)
24370
 
    { echo "$as_me:$LINENO: result: none needed" >&5
24371
 
echo "${ECHO_T}none needed" >&6; } ;;
 
15752
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
 
15753
$as_echo "none needed" >&6; } ;;
24372
15754
  xno)
24373
 
    { echo "$as_me:$LINENO: result: unsupported" >&5
24374
 
echo "${ECHO_T}unsupported" >&6; } ;;
 
15755
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
 
15756
$as_echo "unsupported" >&6; } ;;
24375
15757
  *)
24376
15758
    CC="$CC $ac_cv_prog_cc_c89"
24377
 
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
24378
 
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
 
15759
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
15760
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
24379
15761
esac
24380
15762
 
24381
15763
 
24387
15769
 
24388
15770
depcc="$CC"   am_compiler_list=
24389
15771
 
24390
 
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
24391
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
 
15772
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
15773
$as_echo_n "checking dependency style of $depcc... " >&6; }
24392
15774
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
24393
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15775
  $as_echo_n "(cached) " >&6
24394
15776
else
24395
15777
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
24396
15778
  # We make a subdir and do the tests there.  Otherwise we can end up
24478
15860
fi
24479
15861
 
24480
15862
fi
24481
 
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
24482
 
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
 
15863
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
15864
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
24483
15865
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
24484
15866
 
24485
15867
 if
24501
15883
if test -n "$ac_tool_prefix"; then
24502
15884
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
24503
15885
set dummy ${ac_tool_prefix}gcc; ac_word=$2
24504
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
24505
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
15886
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
15887
$as_echo_n "checking for $ac_word... " >&6; }
24506
15888
if test "${ac_cv_prog_CC+set}" = set; then
24507
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15889
  $as_echo_n "(cached) " >&6
24508
15890
else
24509
15891
  if test -n "$CC"; then
24510
15892
  ac_cv_prog_CC="$CC" # Let the user override the test.
24517
15899
  for ac_exec_ext in '' $ac_executable_extensions; do
24518
15900
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24519
15901
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
24520
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
15902
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24521
15903
    break 2
24522
15904
  fi
24523
15905
done
24528
15910
fi
24529
15911
CC=$ac_cv_prog_CC
24530
15912
if test -n "$CC"; then
24531
 
  { echo "$as_me:$LINENO: result: $CC" >&5
24532
 
echo "${ECHO_T}$CC" >&6; }
 
15913
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
15914
$as_echo "$CC" >&6; }
24533
15915
else
24534
 
  { echo "$as_me:$LINENO: result: no" >&5
24535
 
echo "${ECHO_T}no" >&6; }
 
15916
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
15917
$as_echo "no" >&6; }
24536
15918
fi
24537
15919
 
24538
15920
 
24541
15923
  ac_ct_CC=$CC
24542
15924
  # Extract the first word of "gcc", so it can be a program name with args.
24543
15925
set dummy gcc; ac_word=$2
24544
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
24545
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
15926
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
15927
$as_echo_n "checking for $ac_word... " >&6; }
24546
15928
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
24547
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15929
  $as_echo_n "(cached) " >&6
24548
15930
else
24549
15931
  if test -n "$ac_ct_CC"; then
24550
15932
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
24557
15939
  for ac_exec_ext in '' $ac_executable_extensions; do
24558
15940
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24559
15941
    ac_cv_prog_ac_ct_CC="gcc"
24560
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
15942
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24561
15943
    break 2
24562
15944
  fi
24563
15945
done
24568
15950
fi
24569
15951
ac_ct_CC=$ac_cv_prog_ac_ct_CC
24570
15952
if test -n "$ac_ct_CC"; then
24571
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
24572
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
 
15953
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
15954
$as_echo "$ac_ct_CC" >&6; }
24573
15955
else
24574
 
  { echo "$as_me:$LINENO: result: no" >&5
24575
 
echo "${ECHO_T}no" >&6; }
 
15956
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
15957
$as_echo "no" >&6; }
24576
15958
fi
24577
15959
 
24578
15960
  if test "x$ac_ct_CC" = x; then
24580
15962
  else
24581
15963
    case $cross_compiling:$ac_tool_warned in
24582
15964
yes:)
24583
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
24584
 
whose name does not start with the host triplet.  If you think this
24585
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
24586
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
24587
 
whose name does not start with the host triplet.  If you think this
24588
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
15965
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
15966
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
24589
15967
ac_tool_warned=yes ;;
24590
15968
esac
24591
15969
    CC=$ac_ct_CC
24598
15976
          if test -n "$ac_tool_prefix"; then
24599
15977
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
24600
15978
set dummy ${ac_tool_prefix}cc; ac_word=$2
24601
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
24602
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
15979
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
15980
$as_echo_n "checking for $ac_word... " >&6; }
24603
15981
if test "${ac_cv_prog_CC+set}" = set; then
24604
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15982
  $as_echo_n "(cached) " >&6
24605
15983
else
24606
15984
  if test -n "$CC"; then
24607
15985
  ac_cv_prog_CC="$CC" # Let the user override the test.
24614
15992
  for ac_exec_ext in '' $ac_executable_extensions; do
24615
15993
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24616
15994
    ac_cv_prog_CC="${ac_tool_prefix}cc"
24617
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
15995
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24618
15996
    break 2
24619
15997
  fi
24620
15998
done
24625
16003
fi
24626
16004
CC=$ac_cv_prog_CC
24627
16005
if test -n "$CC"; then
24628
 
  { echo "$as_me:$LINENO: result: $CC" >&5
24629
 
echo "${ECHO_T}$CC" >&6; }
 
16006
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
16007
$as_echo "$CC" >&6; }
24630
16008
else
24631
 
  { echo "$as_me:$LINENO: result: no" >&5
24632
 
echo "${ECHO_T}no" >&6; }
 
16009
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
16010
$as_echo "no" >&6; }
24633
16011
fi
24634
16012
 
24635
16013
 
24638
16016
if test -z "$CC"; then
24639
16017
  # Extract the first word of "cc", so it can be a program name with args.
24640
16018
set dummy cc; ac_word=$2
24641
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
24642
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
16019
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
16020
$as_echo_n "checking for $ac_word... " >&6; }
24643
16021
if test "${ac_cv_prog_CC+set}" = set; then
24644
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16022
  $as_echo_n "(cached) " >&6
24645
16023
else
24646
16024
  if test -n "$CC"; then
24647
16025
  ac_cv_prog_CC="$CC" # Let the user override the test.
24659
16037
       continue
24660
16038
     fi
24661
16039
    ac_cv_prog_CC="cc"
24662
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
16040
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24663
16041
    break 2
24664
16042
  fi
24665
16043
done
24682
16060
fi
24683
16061
CC=$ac_cv_prog_CC
24684
16062
if test -n "$CC"; then
24685
 
  { echo "$as_me:$LINENO: result: $CC" >&5
24686
 
echo "${ECHO_T}$CC" >&6; }
 
16063
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
16064
$as_echo "$CC" >&6; }
24687
16065
else
24688
 
  { echo "$as_me:$LINENO: result: no" >&5
24689
 
echo "${ECHO_T}no" >&6; }
 
16066
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
16067
$as_echo "no" >&6; }
24690
16068
fi
24691
16069
 
24692
16070
 
24697
16075
  do
24698
16076
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
24699
16077
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
24700
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
24701
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
16078
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
16079
$as_echo_n "checking for $ac_word... " >&6; }
24702
16080
if test "${ac_cv_prog_CC+set}" = set; then
24703
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16081
  $as_echo_n "(cached) " >&6
24704
16082
else
24705
16083
  if test -n "$CC"; then
24706
16084
  ac_cv_prog_CC="$CC" # Let the user override the test.
24713
16091
  for ac_exec_ext in '' $ac_executable_extensions; do
24714
16092
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24715
16093
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
24716
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
16094
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24717
16095
    break 2
24718
16096
  fi
24719
16097
done
24724
16102
fi
24725
16103
CC=$ac_cv_prog_CC
24726
16104
if test -n "$CC"; then
24727
 
  { echo "$as_me:$LINENO: result: $CC" >&5
24728
 
echo "${ECHO_T}$CC" >&6; }
 
16105
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
16106
$as_echo "$CC" >&6; }
24729
16107
else
24730
 
  { echo "$as_me:$LINENO: result: no" >&5
24731
 
echo "${ECHO_T}no" >&6; }
 
16108
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
16109
$as_echo "no" >&6; }
24732
16110
fi
24733
16111
 
24734
16112
 
24741
16119
do
24742
16120
  # Extract the first word of "$ac_prog", so it can be a program name with args.
24743
16121
set dummy $ac_prog; ac_word=$2
24744
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
24745
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
16122
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
16123
$as_echo_n "checking for $ac_word... " >&6; }
24746
16124
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
24747
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16125
  $as_echo_n "(cached) " >&6
24748
16126
else
24749
16127
  if test -n "$ac_ct_CC"; then
24750
16128
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
24757
16135
  for ac_exec_ext in '' $ac_executable_extensions; do
24758
16136
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24759
16137
    ac_cv_prog_ac_ct_CC="$ac_prog"
24760
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
16138
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24761
16139
    break 2
24762
16140
  fi
24763
16141
done
24768
16146
fi
24769
16147
ac_ct_CC=$ac_cv_prog_ac_ct_CC
24770
16148
if test -n "$ac_ct_CC"; then
24771
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
24772
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
 
16149
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
16150
$as_echo "$ac_ct_CC" >&6; }
24773
16151
else
24774
 
  { echo "$as_me:$LINENO: result: no" >&5
24775
 
echo "${ECHO_T}no" >&6; }
 
16152
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
16153
$as_echo "no" >&6; }
24776
16154
fi
24777
16155
 
24778
16156
 
24784
16162
  else
24785
16163
    case $cross_compiling:$ac_tool_warned in
24786
16164
yes:)
24787
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
24788
 
whose name does not start with the host triplet.  If you think this
24789
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
24790
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
24791
 
whose name does not start with the host triplet.  If you think this
24792
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
16165
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
16166
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
24793
16167
ac_tool_warned=yes ;;
24794
16168
esac
24795
16169
    CC=$ac_ct_CC
24799
16173
fi
24800
16174
 
24801
16175
 
24802
 
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
 
16176
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
16177
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
16178
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
24803
16179
See \`config.log' for more details." >&5
24804
 
echo "$as_me: error: no acceptable C compiler found in \$PATH
 
16180
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
24805
16181
See \`config.log' for more details." >&2;}
24806
 
   { (exit 1); exit 1; }; }
 
16182
   { (exit 1); exit 1; }; }; }
24807
16183
 
24808
16184
# Provide some information about the compiler.
24809
 
echo "$as_me:$LINENO: checking for C compiler version" >&5
24810
 
ac_compiler=`set X $ac_compile; echo $2`
 
16185
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
 
16186
set X $ac_compile
 
16187
ac_compiler=$2
24811
16188
{ (ac_try="$ac_compiler --version >&5"
24812
16189
case "(($ac_try" in
24813
16190
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24814
16191
  *) ac_try_echo=$ac_try;;
24815
16192
esac
24816
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
16193
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
16194
$as_echo "$ac_try_echo") >&5
24817
16195
  (eval "$ac_compiler --version >&5") 2>&5
24818
16196
  ac_status=$?
24819
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16197
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24820
16198
  (exit $ac_status); }
24821
16199
{ (ac_try="$ac_compiler -v >&5"
24822
16200
case "(($ac_try" in
24823
16201
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24824
16202
  *) ac_try_echo=$ac_try;;
24825
16203
esac
24826
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
16204
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
16205
$as_echo "$ac_try_echo") >&5
24827
16206
  (eval "$ac_compiler -v >&5") 2>&5
24828
16207
  ac_status=$?
24829
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16208
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24830
16209
  (exit $ac_status); }
24831
16210
{ (ac_try="$ac_compiler -V >&5"
24832
16211
case "(($ac_try" in
24833
16212
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24834
16213
  *) ac_try_echo=$ac_try;;
24835
16214
esac
24836
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
16215
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
16216
$as_echo "$ac_try_echo") >&5
24837
16217
  (eval "$ac_compiler -V >&5") 2>&5
24838
16218
  ac_status=$?
24839
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16219
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24840
16220
  (exit $ac_status); }
24841
16221
 
24842
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
24843
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
 
16222
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
16223
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
24844
16224
if test "${ac_cv_c_compiler_gnu+set}" = set; then
24845
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16225
  $as_echo_n "(cached) " >&6
24846
16226
else
24847
16227
  cat >conftest.$ac_ext <<_ACEOF
24848
16228
/* confdefs.h.  */
24868
16248
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24869
16249
  *) ac_try_echo=$ac_try;;
24870
16250
esac
24871
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
16251
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
16252
$as_echo "$ac_try_echo") >&5
24872
16253
  (eval "$ac_compile") 2>conftest.er1
24873
16254
  ac_status=$?
24874
16255
  grep -v '^ *+' conftest.er1 >conftest.err
24875
16256
  rm -f conftest.er1
24876
16257
  cat conftest.err >&5
24877
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16258
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24878
16259
  (exit $ac_status); } && {
24879
16260
         test -z "$ac_c_werror_flag" ||
24880
16261
         test ! -s conftest.err
24881
16262
       } && test -s conftest.$ac_objext; then
24882
16263
  ac_compiler_gnu=yes
24883
16264
else
24884
 
  echo "$as_me: failed program was:" >&5
 
16265
  $as_echo "$as_me: failed program was:" >&5
24885
16266
sed 's/^/| /' conftest.$ac_ext >&5
24886
16267
 
24887
16268
        ac_compiler_gnu=no
24891
16272
ac_cv_c_compiler_gnu=$ac_compiler_gnu
24892
16273
 
24893
16274
fi
24894
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
24895
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
24896
 
GCC=`test $ac_compiler_gnu = yes && echo yes`
 
16275
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
16276
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
 
16277
if test $ac_compiler_gnu = yes; then
 
16278
  GCC=yes
 
16279
else
 
16280
  GCC=
 
16281
fi
24897
16282
ac_test_CFLAGS=${CFLAGS+set}
24898
16283
ac_save_CFLAGS=$CFLAGS
24899
 
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
24900
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
 
16284
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
16285
$as_echo_n "checking whether $CC accepts -g... " >&6; }
24901
16286
if test "${ac_cv_prog_cc_g+set}" = set; then
24902
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16287
  $as_echo_n "(cached) " >&6
24903
16288
else
24904
16289
  ac_save_c_werror_flag=$ac_c_werror_flag
24905
16290
   ac_c_werror_flag=yes
24926
16311
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24927
16312
  *) ac_try_echo=$ac_try;;
24928
16313
esac
24929
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
16314
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
16315
$as_echo "$ac_try_echo") >&5
24930
16316
  (eval "$ac_compile") 2>conftest.er1
24931
16317
  ac_status=$?
24932
16318
  grep -v '^ *+' conftest.er1 >conftest.err
24933
16319
  rm -f conftest.er1
24934
16320
  cat conftest.err >&5
24935
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16321
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24936
16322
  (exit $ac_status); } && {
24937
16323
         test -z "$ac_c_werror_flag" ||
24938
16324
         test ! -s conftest.err
24939
16325
       } && test -s conftest.$ac_objext; then
24940
16326
  ac_cv_prog_cc_g=yes
24941
16327
else
24942
 
  echo "$as_me: failed program was:" >&5
 
16328
  $as_echo "$as_me: failed program was:" >&5
24943
16329
sed 's/^/| /' conftest.$ac_ext >&5
24944
16330
 
24945
16331
        CFLAGS=""
24964
16350
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24965
16351
  *) ac_try_echo=$ac_try;;
24966
16352
esac
24967
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
16353
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
16354
$as_echo "$ac_try_echo") >&5
24968
16355
  (eval "$ac_compile") 2>conftest.er1
24969
16356
  ac_status=$?
24970
16357
  grep -v '^ *+' conftest.er1 >conftest.err
24971
16358
  rm -f conftest.er1
24972
16359
  cat conftest.err >&5
24973
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16360
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24974
16361
  (exit $ac_status); } && {
24975
16362
         test -z "$ac_c_werror_flag" ||
24976
16363
         test ! -s conftest.err
24977
16364
       } && test -s conftest.$ac_objext; then
24978
16365
  :
24979
16366
else
24980
 
  echo "$as_me: failed program was:" >&5
 
16367
  $as_echo "$as_me: failed program was:" >&5
24981
16368
sed 's/^/| /' conftest.$ac_ext >&5
24982
16369
 
24983
16370
        ac_c_werror_flag=$ac_save_c_werror_flag
25003
16390
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25004
16391
  *) ac_try_echo=$ac_try;;
25005
16392
esac
25006
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
16393
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
16394
$as_echo "$ac_try_echo") >&5
25007
16395
  (eval "$ac_compile") 2>conftest.er1
25008
16396
  ac_status=$?
25009
16397
  grep -v '^ *+' conftest.er1 >conftest.err
25010
16398
  rm -f conftest.er1
25011
16399
  cat conftest.err >&5
25012
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16400
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25013
16401
  (exit $ac_status); } && {
25014
16402
         test -z "$ac_c_werror_flag" ||
25015
16403
         test ! -s conftest.err
25016
16404
       } && test -s conftest.$ac_objext; then
25017
16405
  ac_cv_prog_cc_g=yes
25018
16406
else
25019
 
  echo "$as_me: failed program was:" >&5
 
16407
  $as_echo "$as_me: failed program was:" >&5
25020
16408
sed 's/^/| /' conftest.$ac_ext >&5
25021
16409
 
25022
16410
 
25031
16419
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25032
16420
   ac_c_werror_flag=$ac_save_c_werror_flag
25033
16421
fi
25034
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
25035
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
 
16422
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
16423
$as_echo "$ac_cv_prog_cc_g" >&6; }
25036
16424
if test "$ac_test_CFLAGS" = set; then
25037
16425
  CFLAGS=$ac_save_CFLAGS
25038
16426
elif test $ac_cv_prog_cc_g = yes; then
25048
16436
    CFLAGS=
25049
16437
  fi
25050
16438
fi
25051
 
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
25052
 
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
 
16439
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
16440
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
25053
16441
if test "${ac_cv_prog_cc_c89+set}" = set; then
25054
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16442
  $as_echo_n "(cached) " >&6
25055
16443
else
25056
16444
  ac_cv_prog_cc_c89=no
25057
16445
ac_save_CC=$CC
25122
16510
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25123
16511
  *) ac_try_echo=$ac_try;;
25124
16512
esac
25125
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
16513
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
16514
$as_echo "$ac_try_echo") >&5
25126
16515
  (eval "$ac_compile") 2>conftest.er1
25127
16516
  ac_status=$?
25128
16517
  grep -v '^ *+' conftest.er1 >conftest.err
25129
16518
  rm -f conftest.er1
25130
16519
  cat conftest.err >&5
25131
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16520
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25132
16521
  (exit $ac_status); } && {
25133
16522
         test -z "$ac_c_werror_flag" ||
25134
16523
         test ! -s conftest.err
25135
16524
       } && test -s conftest.$ac_objext; then
25136
16525
  ac_cv_prog_cc_c89=$ac_arg
25137
16526
else
25138
 
  echo "$as_me: failed program was:" >&5
 
16527
  $as_echo "$as_me: failed program was:" >&5
25139
16528
sed 's/^/| /' conftest.$ac_ext >&5
25140
16529
 
25141
16530
 
25151
16540
# AC_CACHE_VAL
25152
16541
case "x$ac_cv_prog_cc_c89" in
25153
16542
  x)
25154
 
    { echo "$as_me:$LINENO: result: none needed" >&5
25155
 
echo "${ECHO_T}none needed" >&6; } ;;
 
16543
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
 
16544
$as_echo "none needed" >&6; } ;;
25156
16545
  xno)
25157
 
    { echo "$as_me:$LINENO: result: unsupported" >&5
25158
 
echo "${ECHO_T}unsupported" >&6; } ;;
 
16546
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
 
16547
$as_echo "unsupported" >&6; } ;;
25159
16548
  *)
25160
16549
    CC="$CC $ac_cv_prog_cc_c89"
25161
 
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
25162
 
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
 
16550
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
16551
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
25163
16552
esac
25164
16553
 
25165
16554
 
25171
16560
 
25172
16561
depcc="$CC"   am_compiler_list=
25173
16562
 
25174
 
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
25175
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
 
16563
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
16564
$as_echo_n "checking dependency style of $depcc... " >&6; }
25176
16565
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
25177
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16566
  $as_echo_n "(cached) " >&6
25178
16567
else
25179
16568
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
25180
16569
  # We make a subdir and do the tests there.  Otherwise we can end up
25262
16651
fi
25263
16652
 
25264
16653
fi
25265
 
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
25266
 
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
 
16654
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
16655
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
25267
16656
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
25268
16657
 
25269
16658
 if
25281
16670
am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
25282
16671
 
25283
16672
if test "x$CC" != xcc; then
25284
 
  { echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
25285
 
echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6; }
 
16673
  { $as_echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
 
16674
$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
25286
16675
else
25287
 
  { echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
25288
 
echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6; }
 
16676
  { $as_echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
 
16677
$as_echo_n "checking whether cc understands -c and -o together... " >&6; }
25289
16678
fi
25290
 
set dummy $CC; ac_cc=`echo $2 |
 
16679
set dummy $CC; ac_cc=`$as_echo "$2" |
25291
16680
                      sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
25292
16681
if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then
25293
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16682
  $as_echo_n "(cached) " >&6
25294
16683
else
25295
16684
  cat >conftest.$ac_ext <<_ACEOF
25296
16685
/* confdefs.h.  */
25316
16705
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25317
16706
  *) ac_try_echo=$ac_try;;
25318
16707
esac
25319
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
16708
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
16709
$as_echo "$ac_try_echo") >&5
25320
16710
  (eval "$ac_try") 2>&5
25321
16711
  ac_status=$?
25322
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16712
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25323
16713
  (exit $ac_status); } &&
25324
16714
   test -f conftest2.$ac_objext && { (case "(($ac_try" in
25325
16715
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25326
16716
  *) ac_try_echo=$ac_try;;
25327
16717
esac
25328
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
16718
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
16719
$as_echo "$ac_try_echo") >&5
25329
16720
  (eval "$ac_try") 2>&5
25330
16721
  ac_status=$?
25331
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16722
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25332
16723
  (exit $ac_status); };
25333
16724
then
25334
16725
  eval ac_cv_prog_cc_${ac_cc}_c_o=yes
25339
16730
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25340
16731
  *) ac_try_echo=$ac_try;;
25341
16732
esac
25342
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
16733
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
16734
$as_echo "$ac_try_echo") >&5
25343
16735
  (eval "$ac_try") 2>&5
25344
16736
  ac_status=$?
25345
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16737
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25346
16738
  (exit $ac_status); }; }; then
25347
16739
      ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
25348
16740
      rm -f conftest2.*
25350
16742
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25351
16743
  *) ac_try_echo=$ac_try;;
25352
16744
esac
25353
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
16745
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
16746
$as_echo "$ac_try_echo") >&5
25354
16747
  (eval "$ac_try") 2>&5
25355
16748
  ac_status=$?
25356
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16749
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25357
16750
  (exit $ac_status); } &&
25358
16751
         test -f conftest2.$ac_objext && { (case "(($ac_try" in
25359
16752
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25360
16753
  *) ac_try_echo=$ac_try;;
25361
16754
esac
25362
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
16755
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
16756
$as_echo "$ac_try_echo") >&5
25363
16757
  (eval "$ac_try") 2>&5
25364
16758
  ac_status=$?
25365
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16759
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25366
16760
  (exit $ac_status); };
25367
16761
      then
25368
16762
        # cc works too.
25380
16774
 
25381
16775
fi
25382
16776
if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
25383
 
  { echo "$as_me:$LINENO: result: yes" >&5
25384
 
echo "${ECHO_T}yes" >&6; }
 
16777
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
16778
$as_echo "yes" >&6; }
25385
16779
else
25386
 
  { echo "$as_me:$LINENO: result: no" >&5
25387
 
echo "${ECHO_T}no" >&6; }
 
16780
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
16781
$as_echo "no" >&6; }
25388
16782
 
25389
16783
cat >>confdefs.h <<\_ACEOF
25390
16784
#define NO_MINUS_C_MINUS_O 1
25419
16813
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
25420
16814
# OS/2's system install, which has a completely different semantic
25421
16815
# ./install, which can be erroneously created by make from ./install.sh.
25422
 
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
25423
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
 
16816
# Reject install programs that cannot install multiple files.
 
16817
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
16818
$as_echo_n "checking for a BSD-compatible install... " >&6; }
25424
16819
if test -z "$INSTALL"; then
25425
16820
if test "${ac_cv_path_install+set}" = set; then
25426
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16821
  $as_echo_n "(cached) " >&6
25427
16822
else
25428
16823
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25429
16824
for as_dir in $PATH
25452
16847
            # program-specific install script used by HP pwplus--don't use.
25453
16848
            :
25454
16849
          else
25455
 
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
25456
 
            break 3
 
16850
            rm -rf conftest.one conftest.two conftest.dir
 
16851
            echo one > conftest.one
 
16852
            echo two > conftest.two
 
16853
            mkdir conftest.dir
 
16854
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
 
16855
              test -s conftest.one && test -s conftest.two &&
 
16856
              test -s conftest.dir/conftest.one &&
 
16857
              test -s conftest.dir/conftest.two
 
16858
            then
 
16859
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
16860
              break 3
 
16861
            fi
25457
16862
          fi
25458
16863
        fi
25459
16864
      done
25460
16865
    done
25461
16866
    ;;
25462
16867
esac
 
16868
 
25463
16869
done
25464
16870
IFS=$as_save_IFS
25465
16871
 
 
16872
rm -rf conftest.one conftest.two conftest.dir
25466
16873
 
25467
16874
fi
25468
16875
  if test "${ac_cv_path_install+set}" = set; then
25475
16882
    INSTALL=$ac_install_sh
25476
16883
  fi
25477
16884
fi
25478
 
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
25479
 
echo "${ECHO_T}$INSTALL" >&6; }
 
16885
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
 
16886
$as_echo "$INSTALL" >&6; }
25480
16887
 
25481
16888
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
25482
16889
# It thinks the first close brace ends the variable substitution.
25486
16893
 
25487
16894
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
25488
16895
 
25489
 
{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
25490
 
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
 
16896
{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
 
16897
$as_echo_n "checking whether ln -s works... " >&6; }
25491
16898
LN_S=$as_ln_s
25492
16899
if test "$LN_S" = "ln -s"; then
25493
 
  { echo "$as_me:$LINENO: result: yes" >&5
25494
 
echo "${ECHO_T}yes" >&6; }
 
16900
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
16901
$as_echo "yes" >&6; }
25495
16902
else
25496
 
  { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
25497
 
echo "${ECHO_T}no, using $LN_S" >&6; }
 
16903
  { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
 
16904
$as_echo "no, using $LN_S" >&6; }
25498
16905
fi
25499
16906
 
25500
16907
for ac_prog in flex lex
25501
16908
do
25502
16909
  # Extract the first word of "$ac_prog", so it can be a program name with args.
25503
16910
set dummy $ac_prog; ac_word=$2
25504
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
25505
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
16911
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
16912
$as_echo_n "checking for $ac_word... " >&6; }
25506
16913
if test "${ac_cv_prog_LEX+set}" = set; then
25507
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16914
  $as_echo_n "(cached) " >&6
25508
16915
else
25509
16916
  if test -n "$LEX"; then
25510
16917
  ac_cv_prog_LEX="$LEX" # Let the user override the test.
25517
16924
  for ac_exec_ext in '' $ac_executable_extensions; do
25518
16925
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25519
16926
    ac_cv_prog_LEX="$ac_prog"
25520
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
16927
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25521
16928
    break 2
25522
16929
  fi
25523
16930
done
25528
16935
fi
25529
16936
LEX=$ac_cv_prog_LEX
25530
16937
if test -n "$LEX"; then
25531
 
  { echo "$as_me:$LINENO: result: $LEX" >&5
25532
 
echo "${ECHO_T}$LEX" >&6; }
 
16938
  { $as_echo "$as_me:$LINENO: result: $LEX" >&5
 
16939
$as_echo "$LEX" >&6; }
25533
16940
else
25534
 
  { echo "$as_me:$LINENO: result: no" >&5
25535
 
echo "${ECHO_T}no" >&6; }
 
16941
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
16942
$as_echo "no" >&6; }
25536
16943
fi
25537
16944
 
25538
16945
 
25565
16972
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25566
16973
  *) ac_try_echo=$ac_try;;
25567
16974
esac
25568
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
16975
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
16976
$as_echo "$ac_try_echo") >&5
25569
16977
  (eval "$LEX conftest.l") 2>&5
25570
16978
  ac_status=$?
25571
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16979
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25572
16980
  (exit $ac_status); }
25573
 
{ echo "$as_me:$LINENO: checking lex output file root" >&5
25574
 
echo $ECHO_N "checking lex output file root... $ECHO_C" >&6; }
 
16981
{ $as_echo "$as_me:$LINENO: checking lex output file root" >&5
 
16982
$as_echo_n "checking lex output file root... " >&6; }
25575
16983
if test "${ac_cv_prog_lex_root+set}" = set; then
25576
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16984
  $as_echo_n "(cached) " >&6
25577
16985
else
25578
16986
 
25579
16987
if test -f lex.yy.c; then
25581
16989
elif test -f lexyy.c; then
25582
16990
  ac_cv_prog_lex_root=lexyy
25583
16991
else
25584
 
  { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
25585
 
echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
 
16992
  { { $as_echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
 
16993
$as_echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
25586
16994
   { (exit 1); exit 1; }; }
25587
16995
fi
25588
16996
fi
25589
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
25590
 
echo "${ECHO_T}$ac_cv_prog_lex_root" >&6; }
 
16997
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
 
16998
$as_echo "$ac_cv_prog_lex_root" >&6; }
25591
16999
LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
25592
17000
 
25593
17001
if test -z "${LEXLIB+set}"; then
25594
 
  { echo "$as_me:$LINENO: checking lex library" >&5
25595
 
echo $ECHO_N "checking lex library... $ECHO_C" >&6; }
 
17002
  { $as_echo "$as_me:$LINENO: checking lex library" >&5
 
17003
$as_echo_n "checking lex library... " >&6; }
25596
17004
if test "${ac_cv_lib_lex+set}" = set; then
25597
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
17005
  $as_echo_n "(cached) " >&6
25598
17006
else
25599
17007
 
25600
17008
    ac_save_LIBS=$LIBS
25610
17018
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25611
17019
  *) ac_try_echo=$ac_try;;
25612
17020
esac
25613
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17021
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
17022
$as_echo "$ac_try_echo") >&5
25614
17023
  (eval "$ac_link") 2>conftest.er1
25615
17024
  ac_status=$?
25616
17025
  grep -v '^ *+' conftest.er1 >conftest.err
25617
17026
  rm -f conftest.er1
25618
17027
  cat conftest.err >&5
25619
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17028
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25620
17029
  (exit $ac_status); } && {
25621
17030
         test -z "$ac_c_werror_flag" ||
25622
17031
         test ! -s conftest.err
25623
 
       } && test -s conftest$ac_exeext &&
25624
 
       $as_test_x conftest$ac_exeext; then
 
17032
       } && test -s conftest$ac_exeext && {
 
17033
         test "$cross_compiling" = yes ||
 
17034
         $as_test_x conftest$ac_exeext
 
17035
       }; then
25625
17036
  ac_cv_lib_lex=$ac_lib
25626
17037
else
25627
 
  echo "$as_me: failed program was:" >&5
 
17038
  $as_echo "$as_me: failed program was:" >&5
25628
17039
sed 's/^/| /' conftest.$ac_ext >&5
25629
17040
 
25630
17041
 
25631
17042
fi
25632
17043
 
 
17044
rm -rf conftest.dSYM
25633
17045
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25634
17046
      conftest$ac_exeext conftest.$ac_ext
25635
17047
      test "$ac_cv_lib_lex" != 'none needed' && break
25637
17049
    LIBS=$ac_save_LIBS
25638
17050
 
25639
17051
fi
25640
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_lex" >&5
25641
 
echo "${ECHO_T}$ac_cv_lib_lex" >&6; }
 
17052
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_lex" >&5
 
17053
$as_echo "$ac_cv_lib_lex" >&6; }
25642
17054
  test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
25643
17055
fi
25644
17056
 
25645
17057
 
25646
 
{ echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
25647
 
echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6; }
 
17058
{ $as_echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
 
17059
$as_echo_n "checking whether yytext is a pointer... " >&6; }
25648
17060
if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
25649
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
17061
  $as_echo_n "(cached) " >&6
25650
17062
else
25651
17063
  # POSIX says lex can declare yytext either as a pointer or an array; the
25652
17064
# default is implementation-dependent.  Figure out which it is, since
25664
17076
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25665
17077
  *) ac_try_echo=$ac_try;;
25666
17078
esac
25667
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17079
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
17080
$as_echo "$ac_try_echo") >&5
25668
17081
  (eval "$ac_link") 2>conftest.er1
25669
17082
  ac_status=$?
25670
17083
  grep -v '^ *+' conftest.er1 >conftest.err
25671
17084
  rm -f conftest.er1
25672
17085
  cat conftest.err >&5
25673
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17086
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25674
17087
  (exit $ac_status); } && {
25675
17088
         test -z "$ac_c_werror_flag" ||
25676
17089
         test ! -s conftest.err
25677
 
       } && test -s conftest$ac_exeext &&
25678
 
       $as_test_x conftest$ac_exeext; then
 
17090
       } && test -s conftest$ac_exeext && {
 
17091
         test "$cross_compiling" = yes ||
 
17092
         $as_test_x conftest$ac_exeext
 
17093
       }; then
25679
17094
  ac_cv_prog_lex_yytext_pointer=yes
25680
17095
else
25681
 
  echo "$as_me: failed program was:" >&5
 
17096
  $as_echo "$as_me: failed program was:" >&5
25682
17097
sed 's/^/| /' conftest.$ac_ext >&5
25683
17098
 
25684
17099
 
25685
17100
fi
25686
17101
 
 
17102
rm -rf conftest.dSYM
25687
17103
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25688
17104
      conftest$ac_exeext conftest.$ac_ext
25689
17105
LIBS=$ac_save_LIBS
25690
17106
 
25691
17107
fi
25692
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
25693
 
echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6; }
 
17108
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
 
17109
$as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
25694
17110
if test $ac_cv_prog_lex_yytext_pointer = yes; then
25695
17111
 
25696
17112
cat >>confdefs.h <<\_ACEOF
25708
17124
do
25709
17125
  # Extract the first word of "$ac_prog", so it can be a program name with args.
25710
17126
set dummy $ac_prog; ac_word=$2
25711
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
25712
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
17127
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
17128
$as_echo_n "checking for $ac_word... " >&6; }
25713
17129
if test "${ac_cv_prog_YACC+set}" = set; then
25714
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
17130
  $as_echo_n "(cached) " >&6
25715
17131
else
25716
17132
  if test -n "$YACC"; then
25717
17133
  ac_cv_prog_YACC="$YACC" # Let the user override the test.
25724
17140
  for ac_exec_ext in '' $ac_executable_extensions; do
25725
17141
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25726
17142
    ac_cv_prog_YACC="$ac_prog"
25727
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
17143
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25728
17144
    break 2
25729
17145
  fi
25730
17146
done
25735
17151
fi
25736
17152
YACC=$ac_cv_prog_YACC
25737
17153
if test -n "$YACC"; then
25738
 
  { echo "$as_me:$LINENO: result: $YACC" >&5
25739
 
echo "${ECHO_T}$YACC" >&6; }
 
17154
  { $as_echo "$as_me:$LINENO: result: $YACC" >&5
 
17155
$as_echo "$YACC" >&6; }
25740
17156
else
25741
 
  { echo "$as_me:$LINENO: result: no" >&5
25742
 
echo "${ECHO_T}no" >&6; }
 
17157
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
17158
$as_echo "no" >&6; }
25743
17159
fi
25744
17160
 
25745
17161
 
25749
17165
 
25750
17166
# Extract the first word of "test", so it can be a program name with args.
25751
17167
set dummy test; ac_word=$2
25752
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
25753
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
17168
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
17169
$as_echo_n "checking for $ac_word... " >&6; }
25754
17170
if test "${ac_cv_path_TEST+set}" = set; then
25755
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
17171
  $as_echo_n "(cached) " >&6
25756
17172
else
25757
17173
  case $TEST in
25758
17174
  [\\/]* | ?:[\\/]*)
25767
17183
  for ac_exec_ext in '' $ac_executable_extensions; do
25768
17184
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25769
17185
    ac_cv_path_TEST="$as_dir/$ac_word$ac_exec_ext"
25770
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
17186
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25771
17187
    break 2
25772
17188
  fi
25773
17189
done
25779
17195
fi
25780
17196
TEST=$ac_cv_path_TEST
25781
17197
if test -n "$TEST"; then
25782
 
  { echo "$as_me:$LINENO: result: $TEST" >&5
25783
 
echo "${ECHO_T}$TEST" >&6; }
 
17198
  { $as_echo "$as_me:$LINENO: result: $TEST" >&5
 
17199
$as_echo "$TEST" >&6; }
25784
17200
else
25785
 
  { echo "$as_me:$LINENO: result: no" >&5
25786
 
echo "${ECHO_T}no" >&6; }
 
17201
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
17202
$as_echo "no" >&6; }
25787
17203
fi
25788
17204
 
25789
17205
 
25790
17206
# Extract the first word of "true", so it can be a program name with args.
25791
17207
set dummy true; ac_word=$2
25792
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
25793
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
17208
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
17209
$as_echo_n "checking for $ac_word... " >&6; }
25794
17210
if test "${ac_cv_path_TRUE+set}" = set; then
25795
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
17211
  $as_echo_n "(cached) " >&6
25796
17212
else
25797
17213
  case $TRUE in
25798
17214
  [\\/]* | ?:[\\/]*)
25807
17223
  for ac_exec_ext in '' $ac_executable_extensions; do
25808
17224
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25809
17225
    ac_cv_path_TRUE="$as_dir/$ac_word$ac_exec_ext"
25810
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
17226
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25811
17227
    break 2
25812
17228
  fi
25813
17229
done
25819
17235
fi
25820
17236
TRUE=$ac_cv_path_TRUE
25821
17237
if test -n "$TRUE"; then
25822
 
  { echo "$as_me:$LINENO: result: $TRUE" >&5
25823
 
echo "${ECHO_T}$TRUE" >&6; }
 
17238
  { $as_echo "$as_me:$LINENO: result: $TRUE" >&5
 
17239
$as_echo "$TRUE" >&6; }
25824
17240
else
25825
 
  { echo "$as_me:$LINENO: result: no" >&5
25826
 
echo "${ECHO_T}no" >&6; }
 
17241
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
17242
$as_echo "no" >&6; }
25827
17243
fi
25828
17244
 
25829
17245
 
25830
17246
# Extract the first word of "find", so it can be a program name with args.
25831
17247
set dummy find; ac_word=$2
25832
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
25833
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
17248
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
17249
$as_echo_n "checking for $ac_word... " >&6; }
25834
17250
if test "${ac_cv_path_FIND+set}" = set; then
25835
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
17251
  $as_echo_n "(cached) " >&6
25836
17252
else
25837
17253
  case $FIND in
25838
17254
  [\\/]* | ?:[\\/]*)
25847
17263
  for ac_exec_ext in '' $ac_executable_extensions; do
25848
17264
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25849
17265
    ac_cv_path_FIND="$as_dir/$ac_word$ac_exec_ext"
25850
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
17266
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25851
17267
    break 2
25852
17268
  fi
25853
17269
done
25859
17275
fi
25860
17276
FIND=$ac_cv_path_FIND
25861
17277
if test -n "$FIND"; then
25862
 
  { echo "$as_me:$LINENO: result: $FIND" >&5
25863
 
echo "${ECHO_T}$FIND" >&6; }
 
17278
  { $as_echo "$as_me:$LINENO: result: $FIND" >&5
 
17279
$as_echo "$FIND" >&6; }
25864
17280
else
25865
 
  { echo "$as_me:$LINENO: result: no" >&5
25866
 
echo "${ECHO_T}no" >&6; }
 
17281
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
17282
$as_echo "no" >&6; }
25867
17283
fi
25868
17284
 
25869
17285
 
25870
17286
# Extract the first word of "perl", so it can be a program name with args.
25871
17287
set dummy perl; ac_word=$2
25872
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
25873
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
17288
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
17289
$as_echo_n "checking for $ac_word... " >&6; }
25874
17290
if test "${ac_cv_path_PERL+set}" = set; then
25875
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
17291
  $as_echo_n "(cached) " >&6
25876
17292
else
25877
17293
  case $PERL in
25878
17294
  [\\/]* | ?:[\\/]*)
25887
17303
  for ac_exec_ext in '' $ac_executable_extensions; do
25888
17304
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25889
17305
    ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
25890
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
17306
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25891
17307
    break 2
25892
17308
  fi
25893
17309
done
25899
17315
fi
25900
17316
PERL=$ac_cv_path_PERL
25901
17317
if test -n "$PERL"; then
25902
 
  { echo "$as_me:$LINENO: result: $PERL" >&5
25903
 
echo "${ECHO_T}$PERL" >&6; }
 
17318
  { $as_echo "$as_me:$LINENO: result: $PERL" >&5
 
17319
$as_echo "$PERL" >&6; }
25904
17320
else
25905
 
  { echo "$as_me:$LINENO: result: no" >&5
25906
 
echo "${ECHO_T}no" >&6; }
 
17321
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
17322
$as_echo "no" >&6; }
25907
17323
fi
25908
17324
 
25909
17325
 
25910
17326
# Extract the first word of "glib-mkenums", so it can be a program name with args.
25911
17327
set dummy glib-mkenums; ac_word=$2
25912
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
25913
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
17328
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
17329
$as_echo_n "checking for $ac_word... " >&6; }
25914
17330
if test "${ac_cv_path_GLIB_MKENUMS+set}" = set; then
25915
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
17331
  $as_echo_n "(cached) " >&6
25916
17332
else
25917
17333
  case $GLIB_MKENUMS in
25918
17334
  [\\/]* | ?:[\\/]*)
25927
17343
  for ac_exec_ext in '' $ac_executable_extensions; do
25928
17344
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25929
17345
    ac_cv_path_GLIB_MKENUMS="$as_dir/$ac_word$ac_exec_ext"
25930
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
17346
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25931
17347
    break 2
25932
17348
  fi
25933
17349
done
25939
17355
fi
25940
17356
GLIB_MKENUMS=$ac_cv_path_GLIB_MKENUMS
25941
17357
if test -n "$GLIB_MKENUMS"; then
25942
 
  { echo "$as_me:$LINENO: result: $GLIB_MKENUMS" >&5
25943
 
echo "${ECHO_T}$GLIB_MKENUMS" >&6; }
 
17358
  { $as_echo "$as_me:$LINENO: result: $GLIB_MKENUMS" >&5
 
17359
$as_echo "$GLIB_MKENUMS" >&6; }
25944
17360
else
25945
 
  { echo "$as_me:$LINENO: result: no" >&5
25946
 
echo "${ECHO_T}no" >&6; }
 
17361
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
17362
$as_echo "no" >&6; }
25947
17363
fi
25948
17364
 
25949
17365
 
25950
17366
# Extract the first word of "convert", so it can be a program name with args.
25951
17367
set dummy convert; ac_word=$2
25952
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
25953
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
17368
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
17369
$as_echo_n "checking for $ac_word... " >&6; }
25954
17370
if test "${ac_cv_path_CONVERT+set}" = set; then
25955
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
17371
  $as_echo_n "(cached) " >&6
25956
17372
else
25957
17373
  case $CONVERT in
25958
17374
  [\\/]* | ?:[\\/]*)
25967
17383
  for ac_exec_ext in '' $ac_executable_extensions; do
25968
17384
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25969
17385
    ac_cv_path_CONVERT="$as_dir/$ac_word$ac_exec_ext"
25970
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
17386
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25971
17387
    break 2
25972
17388
  fi
25973
17389
done
25979
17395
fi
25980
17396
CONVERT=$ac_cv_path_CONVERT
25981
17397
if test -n "$CONVERT"; then
25982
 
  { echo "$as_me:$LINENO: result: $CONVERT" >&5
25983
 
echo "${ECHO_T}$CONVERT" >&6; }
 
17398
  { $as_echo "$as_me:$LINENO: result: $CONVERT" >&5
 
17399
$as_echo "$CONVERT" >&6; }
25984
17400
else
25985
 
  { echo "$as_me:$LINENO: result: no" >&5
25986
 
echo "${ECHO_T}no" >&6; }
 
17401
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
17402
$as_echo "no" >&6; }
25987
17403
fi
25988
17404
 
25989
17405
 
25990
17406
if test x${USE_MAINTAINER_MODE} = xyes ; then
25991
17407
  if test x${CONVERT} = x ; then
25992
 
    { echo "$as_me:$LINENO: WARNING: PostScript developer's guide cannot be regenerated!" >&5
25993
 
echo "$as_me: WARNING: PostScript developer's guide cannot be regenerated!" >&2;}
 
17408
    { $as_echo "$as_me:$LINENO: WARNING: PostScript developer's guide cannot be regenerated!" >&5
 
17409
$as_echo "$as_me: WARNING: PostScript developer's guide cannot be regenerated!" >&2;}
25994
17410
  fi
25995
17411
fi
25996
17412
# Extract the first word of "texi2html", so it can be a program name with args.
25997
17413
set dummy texi2html; ac_word=$2
25998
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
25999
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
17414
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
17415
$as_echo_n "checking for $ac_word... " >&6; }
26000
17416
if test "${ac_cv_path_TEXI2HTML+set}" = set; then
26001
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
17417
  $as_echo_n "(cached) " >&6
26002
17418
else
26003
17419
  case $TEXI2HTML in
26004
17420
  [\\/]* | ?:[\\/]*)
26013
17429
  for ac_exec_ext in '' $ac_executable_extensions; do
26014
17430
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26015
17431
    ac_cv_path_TEXI2HTML="$as_dir/$ac_word$ac_exec_ext"
26016
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
17432
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26017
17433
    break 2
26018
17434
  fi
26019
17435
done
26025
17441
fi
26026
17442
TEXI2HTML=$ac_cv_path_TEXI2HTML
26027
17443
if test -n "$TEXI2HTML"; then
26028
 
  { echo "$as_me:$LINENO: result: $TEXI2HTML" >&5
26029
 
echo "${ECHO_T}$TEXI2HTML" >&6; }
 
17444
  { $as_echo "$as_me:$LINENO: result: $TEXI2HTML" >&5
 
17445
$as_echo "$TEXI2HTML" >&6; }
26030
17446
else
26031
 
  { echo "$as_me:$LINENO: result: no" >&5
26032
 
echo "${ECHO_T}no" >&6; }
 
17447
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
17448
$as_echo "no" >&6; }
26033
17449
fi
26034
17450
 
26035
17451
 
26036
17452
if test x${USE_MAINTAINER_MODE} = xyes ; then
26037
17453
  if test x${TEXI2HTML} = x ; then
26038
 
    { echo "$as_me:$LINENO: WARNING: HTML documentation cannot be regenerated!" >&5
26039
 
echo "$as_me: WARNING: HTML documentation cannot be regenerated!" >&2;}
 
17454
    { $as_echo "$as_me:$LINENO: WARNING: HTML documentation cannot be regenerated!" >&5
 
17455
$as_echo "$as_me: WARNING: HTML documentation cannot be regenerated!" >&2;}
26040
17456
  fi
26041
17457
fi
26042
17458
# Extract the first word of "dvips", so it can be a program name with args.
26043
17459
set dummy dvips; ac_word=$2
26044
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
26045
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
17460
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
17461
$as_echo_n "checking for $ac_word... " >&6; }
26046
17462
if test "${ac_cv_path_DVIPS+set}" = set; then
26047
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
17463
  $as_echo_n "(cached) " >&6
26048
17464
else
26049
17465
  case $DVIPS in
26050
17466
  [\\/]* | ?:[\\/]*)
26059
17475
  for ac_exec_ext in '' $ac_executable_extensions; do
26060
17476
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26061
17477
    ac_cv_path_DVIPS="$as_dir/$ac_word$ac_exec_ext"
26062
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
17478
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26063
17479
    break 2
26064
17480
  fi
26065
17481
done
26071
17487
fi
26072
17488
DVIPS=$ac_cv_path_DVIPS
26073
17489
if test -n "$DVIPS"; then
26074
 
  { echo "$as_me:$LINENO: result: $DVIPS" >&5
26075
 
echo "${ECHO_T}$DVIPS" >&6; }
 
17490
  { $as_echo "$as_me:$LINENO: result: $DVIPS" >&5
 
17491
$as_echo "$DVIPS" >&6; }
26076
17492
else
26077
 
  { echo "$as_me:$LINENO: result: no" >&5
26078
 
echo "${ECHO_T}no" >&6; }
 
17493
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
17494
$as_echo "no" >&6; }
26079
17495
fi
26080
17496
 
26081
17497
 
26082
17498
if test x${USE_MAINTAINER_MODE} = xyes ; then
26083
17499
  if test x${DVIPS} = x ; then
26084
 
    { echo "$as_me:$LINENO: WARNING: PostScript documentation cannot be regenerated!" >&5
26085
 
echo "$as_me: WARNING: PostScript documentation cannot be regenerated!" >&2;}
 
17500
    { $as_echo "$as_me:$LINENO: WARNING: PostScript documentation cannot be regenerated!" >&5
 
17501
$as_echo "$as_me: WARNING: PostScript documentation cannot be regenerated!" >&2;}
26086
17502
  fi
26087
17503
fi
26088
17504
# Extract the first word of "db2pdf", so it can be a program name with args.
26089
17505
set dummy db2pdf; ac_word=$2
26090
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
26091
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
17506
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
17507
$as_echo_n "checking for $ac_word... " >&6; }
26092
17508
if test "${ac_cv_path_DB2PDF+set}" = set; then
26093
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
17509
  $as_echo_n "(cached) " >&6
26094
17510
else
26095
17511
  case $DB2PDF in
26096
17512
  [\\/]* | ?:[\\/]*)
26105
17521
  for ac_exec_ext in '' $ac_executable_extensions; do
26106
17522
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26107
17523
    ac_cv_path_DB2PDF="$as_dir/$ac_word$ac_exec_ext"
26108
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
17524
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26109
17525
    break 2
26110
17526
  fi
26111
17527
done
26117
17533
fi
26118
17534
DB2PDF=$ac_cv_path_DB2PDF
26119
17535
if test -n "$DB2PDF"; then
26120
 
  { echo "$as_me:$LINENO: result: $DB2PDF" >&5
26121
 
echo "${ECHO_T}$DB2PDF" >&6; }
 
17536
  { $as_echo "$as_me:$LINENO: result: $DB2PDF" >&5
 
17537
$as_echo "$DB2PDF" >&6; }
26122
17538
else
26123
 
  { echo "$as_me:$LINENO: result: no" >&5
26124
 
echo "${ECHO_T}no" >&6; }
 
17539
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
17540
$as_echo "no" >&6; }
26125
17541
fi
26126
17542
 
26127
17543
 
26128
17544
if test x${USE_MAINTAINER_MODE} = xyes ; then
26129
17545
  if test x${DB2PDF} = x ; then
26130
 
    { echo "$as_me:$LINENO: WARNING: PDF developer's guide cannot be regenerated!" >&5
26131
 
echo "$as_me: WARNING: PDF developer's guide cannot be regenerated!" >&2;}
 
17546
    { $as_echo "$as_me:$LINENO: WARNING: PDF developer's guide cannot be regenerated!" >&5
 
17547
$as_echo "$as_me: WARNING: PDF developer's guide cannot be regenerated!" >&2;}
26132
17548
  fi
26133
17549
fi
26134
17550
for ac_prog in dvipdf dvipdfm
26135
17551
do
26136
17552
  # Extract the first word of "$ac_prog", so it can be a program name with args.
26137
17553
set dummy $ac_prog; ac_word=$2
26138
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
26139
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
17554
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
17555
$as_echo_n "checking for $ac_word... " >&6; }
26140
17556
if test "${ac_cv_path_DVIPDF+set}" = set; then
26141
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
17557
  $as_echo_n "(cached) " >&6
26142
17558
else
26143
17559
  case $DVIPDF in
26144
17560
  [\\/]* | ?:[\\/]*)
26153
17569
  for ac_exec_ext in '' $ac_executable_extensions; do
26154
17570
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26155
17571
    ac_cv_path_DVIPDF="$as_dir/$ac_word$ac_exec_ext"
26156
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
17572
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26157
17573
    break 2
26158
17574
  fi
26159
17575
done
26165
17581
fi
26166
17582
DVIPDF=$ac_cv_path_DVIPDF
26167
17583
if test -n "$DVIPDF"; then
26168
 
  { echo "$as_me:$LINENO: result: $DVIPDF" >&5
26169
 
echo "${ECHO_T}$DVIPDF" >&6; }
 
17584
  { $as_echo "$as_me:$LINENO: result: $DVIPDF" >&5
 
17585
$as_echo "$DVIPDF" >&6; }
26170
17586
else
26171
 
  { echo "$as_me:$LINENO: result: no" >&5
26172
 
echo "${ECHO_T}no" >&6; }
 
17587
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
17588
$as_echo "no" >&6; }
26173
17589
fi
26174
17590
 
26175
17591
 
26178
17594
 
26179
17595
if test x${USE_MAINTAINER_MODE} = xyes ; then
26180
17596
  if test x${DVIPDF} = x ; then
26181
 
    { echo "$as_me:$LINENO: WARNING: PDF documentation cannot be regenerated!" >&5
26182
 
echo "$as_me: WARNING: PDF documentation cannot be regenerated!" >&2;}
 
17597
    { $as_echo "$as_me:$LINENO: WARNING: PDF documentation cannot be regenerated!" >&5
 
17598
$as_echo "$as_me: WARNING: PDF documentation cannot be regenerated!" >&2;}
26183
17599
  fi
26184
17600
fi
26185
17601
# Extract the first word of "db2ps", so it can be a program name with args.
26186
17602
set dummy db2ps; ac_word=$2
26187
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
26188
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
17603
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
17604
$as_echo_n "checking for $ac_word... " >&6; }
26189
17605
if test "${ac_cv_path_DB2PS+set}" = set; then
26190
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
17606
  $as_echo_n "(cached) " >&6
26191
17607
else
26192
17608
  case $DB2PS in
26193
17609
  [\\/]* | ?:[\\/]*)
26202
17618
  for ac_exec_ext in '' $ac_executable_extensions; do
26203
17619
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26204
17620
    ac_cv_path_DB2PS="$as_dir/$ac_word$ac_exec_ext"
26205
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
17621
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26206
17622
    break 2
26207
17623
  fi
26208
17624
done
26214
17630
fi
26215
17631
DB2PS=$ac_cv_path_DB2PS
26216
17632
if test -n "$DB2PS"; then
26217
 
  { echo "$as_me:$LINENO: result: $DB2PS" >&5
26218
 
echo "${ECHO_T}$DB2PS" >&6; }
 
17633
  { $as_echo "$as_me:$LINENO: result: $DB2PS" >&5
 
17634
$as_echo "$DB2PS" >&6; }
26219
17635
else
26220
 
  { echo "$as_me:$LINENO: result: no" >&5
26221
 
echo "${ECHO_T}no" >&6; }
 
17636
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
17637
$as_echo "no" >&6; }
26222
17638
fi
26223
17639
 
26224
17640
 
26225
17641
if test x${USE_MAINTAINER_MODE} = xyes ; then
26226
17642
  if test x${DB2PS} = x ; then
26227
 
    { echo "$as_me:$LINENO: WARNING: PostScript developer's guide cannot be regenerated!" >&5
26228
 
echo "$as_me: WARNING: PostScript developer's guide cannot be regenerated!" >&2;}
 
17643
    { $as_echo "$as_me:$LINENO: WARNING: PostScript developer's guide cannot be regenerated!" >&5
 
17644
$as_echo "$as_me: WARNING: PostScript developer's guide cannot be regenerated!" >&2;}
26229
17645
  fi
26230
17646
fi
26231
17647
# Extract the first word of "db2html", so it can be a program name with args.
26232
17648
set dummy db2html; ac_word=$2
26233
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
26234
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
17649
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
17650
$as_echo_n "checking for $ac_word... " >&6; }
26235
17651
if test "${ac_cv_path_DB2HTML+set}" = set; then
26236
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
17652
  $as_echo_n "(cached) " >&6
26237
17653
else
26238
17654
  case $DB2HTML in
26239
17655
  [\\/]* | ?:[\\/]*)
26248
17664
  for ac_exec_ext in '' $ac_executable_extensions; do
26249
17665
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26250
17666
    ac_cv_path_DB2HTML="$as_dir/$ac_word$ac_exec_ext"
26251
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
17667
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26252
17668
    break 2
26253
17669
  fi
26254
17670
done
26260
17676
fi
26261
17677
DB2HTML=$ac_cv_path_DB2HTML
26262
17678
if test -n "$DB2HTML"; then
26263
 
  { echo "$as_me:$LINENO: result: $DB2HTML" >&5
26264
 
echo "${ECHO_T}$DB2HTML" >&6; }
 
17679
  { $as_echo "$as_me:$LINENO: result: $DB2HTML" >&5
 
17680
$as_echo "$DB2HTML" >&6; }
26265
17681
else
26266
 
  { echo "$as_me:$LINENO: result: no" >&5
26267
 
echo "${ECHO_T}no" >&6; }
 
17682
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
17683
$as_echo "no" >&6; }
26268
17684
fi
26269
17685
 
26270
17686
 
26271
17687
if test x${USE_MAINTAINER_MODE} = xyes ; then
26272
17688
  if test x${DB2HTML} = x ; then
26273
 
    { echo "$as_me:$LINENO: WARNING: HTML developer's guide cannot be regenerated!" >&5
26274
 
echo "$as_me: WARNING: HTML developer's guide cannot be regenerated!" >&2;}
 
17689
    { $as_echo "$as_me:$LINENO: WARNING: HTML developer's guide cannot be regenerated!" >&5
 
17690
$as_echo "$as_me: WARNING: HTML developer's guide cannot be regenerated!" >&2;}
26275
17691
  fi
26276
17692
fi
26277
17693
# Extract the first word of "doxygen", so it can be a program name with args.
26278
17694
set dummy doxygen; ac_word=$2
26279
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
26280
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
17695
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
17696
$as_echo_n "checking for $ac_word... " >&6; }
26281
17697
if test "${ac_cv_path_DOXYGEN+set}" = set; then
26282
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
17698
  $as_echo_n "(cached) " >&6
26283
17699
else
26284
17700
  case $DOXYGEN in
26285
17701
  [\\/]* | ?:[\\/]*)
26294
17710
  for ac_exec_ext in '' $ac_executable_extensions; do
26295
17711
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26296
17712
    ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
26297
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
17713
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26298
17714
    break 2
26299
17715
  fi
26300
17716
done
26306
17722
fi
26307
17723
DOXYGEN=$ac_cv_path_DOXYGEN
26308
17724
if test -n "$DOXYGEN"; then
26309
 
  { echo "$as_me:$LINENO: result: $DOXYGEN" >&5
26310
 
echo "${ECHO_T}$DOXYGEN" >&6; }
 
17725
  { $as_echo "$as_me:$LINENO: result: $DOXYGEN" >&5
 
17726
$as_echo "$DOXYGEN" >&6; }
26311
17727
else
26312
 
  { echo "$as_me:$LINENO: result: no" >&5
26313
 
echo "${ECHO_T}no" >&6; }
 
17728
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
17729
$as_echo "no" >&6; }
26314
17730
fi
26315
17731
 
26316
17732
 
26317
17733
if test x${USE_MAINTAINER_MODE} = xyes ; then
26318
17734
  if test x${DOXYGEN} = x ; then
26319
 
    { echo "$as_me:$LINENO: WARNING: HTML developer's guide cannot be regenerated!" >&5
26320
 
echo "$as_me: WARNING: HTML developer's guide cannot be regenerated!" >&2;}
 
17735
    { $as_echo "$as_me:$LINENO: WARNING: HTML developer's guide cannot be regenerated!" >&5
 
17736
$as_echo "$as_me: WARNING: HTML developer's guide cannot be regenerated!" >&2;}
26321
17737
  fi
26322
17738
fi
26323
17739
 
26324
17740
if test x${BUILD_CUPS} = xyes; then
26325
17741
  # Extract the first word of "dialog", so it can be a program name with args.
26326
17742
set dummy dialog; ac_word=$2
26327
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
26328
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
17743
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
17744
$as_echo_n "checking for $ac_word... " >&6; }
26329
17745
if test "${ac_cv_path_DIALOG+set}" = set; then
26330
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
17746
  $as_echo_n "(cached) " >&6
26331
17747
else
26332
17748
  case $DIALOG in
26333
17749
  [\\/]* | ?:[\\/]*)
26342
17758
  for ac_exec_ext in '' $ac_executable_extensions; do
26343
17759
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26344
17760
    ac_cv_path_DIALOG="$as_dir/$ac_word$ac_exec_ext"
26345
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
17761
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26346
17762
    break 2
26347
17763
  fi
26348
17764
done
26354
17770
fi
26355
17771
DIALOG=$ac_cv_path_DIALOG
26356
17772
if test -n "$DIALOG"; then
26357
 
  { echo "$as_me:$LINENO: result: $DIALOG" >&5
26358
 
echo "${ECHO_T}$DIALOG" >&6; }
 
17773
  { $as_echo "$as_me:$LINENO: result: $DIALOG" >&5
 
17774
$as_echo "$DIALOG" >&6; }
26359
17775
else
26360
 
  { echo "$as_me:$LINENO: result: no" >&5
26361
 
echo "${ECHO_T}no" >&6; }
 
17776
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
17777
$as_echo "no" >&6; }
26362
17778
fi
26363
17779
 
26364
17780
 
26369
17785
  PATH_SBIN=$PATH:/usr/sbin:/usr/local/sbin
26370
17786
  # Extract the first word of "foomatic-kitload", so it can be a program name with args.
26371
17787
set dummy foomatic-kitload; ac_word=$2
26372
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
26373
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
17788
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
17789
$as_echo_n "checking for $ac_word... " >&6; }
26374
17790
if test "${ac_cv_path_FOOMATIC_KITLOAD+set}" = set; then
26375
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
17791
  $as_echo_n "(cached) " >&6
26376
17792
else
26377
17793
  case $FOOMATIC_KITLOAD in
26378
17794
  [\\/]* | ?:[\\/]*)
26387
17803
  for ac_exec_ext in '' $ac_executable_extensions; do
26388
17804
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26389
17805
    ac_cv_path_FOOMATIC_KITLOAD="$as_dir/$ac_word$ac_exec_ext"
26390
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
17806
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26391
17807
    break 2
26392
17808
  fi
26393
17809
done
26399
17815
fi
26400
17816
FOOMATIC_KITLOAD=$ac_cv_path_FOOMATIC_KITLOAD
26401
17817
if test -n "$FOOMATIC_KITLOAD"; then
26402
 
  { echo "$as_me:$LINENO: result: $FOOMATIC_KITLOAD" >&5
26403
 
echo "${ECHO_T}$FOOMATIC_KITLOAD" >&6; }
 
17818
  { $as_echo "$as_me:$LINENO: result: $FOOMATIC_KITLOAD" >&5
 
17819
$as_echo "$FOOMATIC_KITLOAD" >&6; }
26404
17820
else
26405
 
  { echo "$as_me:$LINENO: result: no" >&5
26406
 
echo "${ECHO_T}no" >&6; }
 
17821
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
17822
$as_echo "no" >&6; }
26407
17823
fi
26408
17824
 
26409
17825
 
26410
17826
  if test -z "$FOOMATIC_KITLOAD" ; then
26411
 
    { echo "$as_me:$LINENO: WARNING: Cannot find foomatic-kitload; attempt to install foomatic will fail" >&5
26412
 
echo "$as_me: WARNING: Cannot find foomatic-kitload; attempt to install foomatic will fail" >&2;}
 
17827
    { $as_echo "$as_me:$LINENO: WARNING: Cannot find foomatic-kitload; attempt to install foomatic will fail" >&5
 
17828
$as_echo "$as_me: WARNING: Cannot find foomatic-kitload; attempt to install foomatic will fail" >&2;}
26413
17829
  fi
26414
17830
fi
26415
17831
 
26416
17832
if test x${BUILD_GHOSTSCRIPT} = xyes ; then
26417
17833
  if test -z "$IJS_CONFIG" ; then
26418
 
    { { echo "$as_me:$LINENO: error: Cannot find ijs-config; please ensure Ghostscript 6.53 or above is installed" >&5
26419
 
echo "$as_me: error: Cannot find ijs-config; please ensure Ghostscript 6.53 or above is installed" >&2;}
 
17834
    { { $as_echo "$as_me:$LINENO: error: Cannot find ijs-config; please ensure Ghostscript 6.53 or above is installed" >&5
 
17835
$as_echo "$as_me: error: Cannot find ijs-config; please ensure Ghostscript 6.53 or above is installed" >&2;}
26420
17836
   { (exit 1); exit 1; }; };
26421
17837
  fi
26422
17838
  IJS_CFLAGS=`$IJS_CONFIG --cflags`
26513
17929
 
26514
17930
  for stp_ac_arg in -Wall -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wwrite-strings -Werror-implicit-function-declaration -Winline -Wformat=2 -finline-limit=131072 ; do
26515
17931
 
26516
 
  { echo "$as_me:$LINENO: checking if ${CC} supports ${stp_ac_arg}" >&5
26517
 
echo $ECHO_N "checking if ${CC} supports ${stp_ac_arg}... $ECHO_C" >&6; }
 
17932
  { $as_echo "$as_me:$LINENO: checking if ${CC} supports ${stp_ac_arg}" >&5
 
17933
$as_echo_n "checking if ${CC} supports ${stp_ac_arg}... " >&6; }
26518
17934
  stp_acOLDCFLAGS="${CFLAGS}"
26519
17935
  CFLAGS="${GNUCFLAGS} ${stp_ac_arg}"
26520
17936
  cat >conftest.$ac_ext <<_ACEOF
26538
17954
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26539
17955
  *) ac_try_echo=$ac_try;;
26540
17956
esac
26541
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17957
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
17958
$as_echo "$ac_try_echo") >&5
26542
17959
  (eval "$ac_compile") 2>conftest.er1
26543
17960
  ac_status=$?
26544
17961
  grep -v '^ *+' conftest.er1 >conftest.err
26545
17962
  rm -f conftest.er1
26546
17963
  cat conftest.err >&5
26547
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17964
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26548
17965
  (exit $ac_status); } && {
26549
17966
         test -z "$ac_c_werror_flag" ||
26550
17967
         test ! -s conftest.err
26551
17968
       } && test -s conftest.$ac_objext; then
26552
 
   { echo "$as_me:$LINENO: result: yes" >&5
26553
 
echo "${ECHO_T}yes" >&6; };
 
17969
   { $as_echo "$as_me:$LINENO: result: yes" >&5
 
17970
$as_echo "yes" >&6; };
26554
17971
        stp_newCFLAGS="$CFLAGS"
26555
17972
else
26556
 
  echo "$as_me: failed program was:" >&5
 
17973
  $as_echo "$as_me: failed program was:" >&5
26557
17974
sed 's/^/| /' conftest.$ac_ext >&5
26558
17975
 
26559
 
         { echo "$as_me:$LINENO: result: no" >&5
26560
 
echo "${ECHO_T}no" >&6; };
 
17976
         { $as_echo "$as_me:$LINENO: result: no" >&5
 
17977
$as_echo "no" >&6; };
26561
17978
        stp_newCFLAGS="$stp_acOLDCFLAGS"
26562
17979
fi
26563
17980
 
26571
17988
 
26572
17989
  for stp_ac_arg in -pedantic -Waggregate-return -Wcast-qual -Wshadow -Wredundant-decls ; do
26573
17990
 
26574
 
  { echo "$as_me:$LINENO: checking if ${CC} supports ${stp_ac_arg}" >&5
26575
 
echo $ECHO_N "checking if ${CC} supports ${stp_ac_arg}... $ECHO_C" >&6; }
 
17991
  { $as_echo "$as_me:$LINENO: checking if ${CC} supports ${stp_ac_arg}" >&5
 
17992
$as_echo_n "checking if ${CC} supports ${stp_ac_arg}... " >&6; }
26576
17993
  stp_acOLDCFLAGS="${CFLAGS}"
26577
17994
  CFLAGS="${GNUCFLAGS} ${stp_ac_arg}"
26578
17995
  cat >conftest.$ac_ext <<_ACEOF
26596
18013
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26597
18014
  *) ac_try_echo=$ac_try;;
26598
18015
esac
26599
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18016
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
18017
$as_echo "$ac_try_echo") >&5
26600
18018
  (eval "$ac_compile") 2>conftest.er1
26601
18019
  ac_status=$?
26602
18020
  grep -v '^ *+' conftest.er1 >conftest.err
26603
18021
  rm -f conftest.er1
26604
18022
  cat conftest.err >&5
26605
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18023
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26606
18024
  (exit $ac_status); } && {
26607
18025
         test -z "$ac_c_werror_flag" ||
26608
18026
         test ! -s conftest.err
26609
18027
       } && test -s conftest.$ac_objext; then
26610
 
   { echo "$as_me:$LINENO: result: yes" >&5
26611
 
echo "${ECHO_T}yes" >&6; };
 
18028
   { $as_echo "$as_me:$LINENO: result: yes" >&5
 
18029
$as_echo "yes" >&6; };
26612
18030
        stp_newCFLAGS="$CFLAGS"
26613
18031
else
26614
 
  echo "$as_me: failed program was:" >&5
 
18032
  $as_echo "$as_me: failed program was:" >&5
26615
18033
sed 's/^/| /' conftest.$ac_ext >&5
26616
18034
 
26617
 
         { echo "$as_me:$LINENO: result: no" >&5
26618
 
echo "${ECHO_T}no" >&6; };
 
18035
         { $as_echo "$as_me:$LINENO: result: no" >&5
 
18036
$as_echo "no" >&6; };
26619
18037
        stp_newCFLAGS="$stp_acOLDCFLAGS"
26620
18038
fi
26621
18039
 
26628
18046
  fi
26629
18047
  if test x$ENABLE_DEBUG = xyes ; then
26630
18048
 
26631
 
  { echo "$as_me:$LINENO: checking if ${CC} supports -g" >&5
26632
 
echo $ECHO_N "checking if ${CC} supports -g... $ECHO_C" >&6; }
 
18049
  { $as_echo "$as_me:$LINENO: checking if ${CC} supports -g" >&5
 
18050
$as_echo_n "checking if ${CC} supports -g... " >&6; }
26633
18051
  stp_acOLDCFLAGS="${CFLAGS}"
26634
18052
  CFLAGS="${CFLAGS} -g"
26635
18053
  cat >conftest.$ac_ext <<_ACEOF
26653
18071
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26654
18072
  *) ac_try_echo=$ac_try;;
26655
18073
esac
26656
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18074
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
18075
$as_echo "$ac_try_echo") >&5
26657
18076
  (eval "$ac_compile") 2>conftest.er1
26658
18077
  ac_status=$?
26659
18078
  grep -v '^ *+' conftest.er1 >conftest.err
26660
18079
  rm -f conftest.er1
26661
18080
  cat conftest.err >&5
26662
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18081
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26663
18082
  (exit $ac_status); } && {
26664
18083
         test -z "$ac_c_werror_flag" ||
26665
18084
         test ! -s conftest.err
26666
18085
       } && test -s conftest.$ac_objext; then
26667
 
   { echo "$as_me:$LINENO: result: yes" >&5
26668
 
echo "${ECHO_T}yes" >&6; };
 
18086
   { $as_echo "$as_me:$LINENO: result: yes" >&5
 
18087
$as_echo "yes" >&6; };
26669
18088
        stp_newCFLAGS="$CFLAGS"
26670
18089
else
26671
 
  echo "$as_me: failed program was:" >&5
 
18090
  $as_echo "$as_me: failed program was:" >&5
26672
18091
sed 's/^/| /' conftest.$ac_ext >&5
26673
18092
 
26674
 
         { echo "$as_me:$LINENO: result: no" >&5
26675
 
echo "${ECHO_T}no" >&6; };
 
18093
         { $as_echo "$as_me:$LINENO: result: no" >&5
 
18094
$as_echo "no" >&6; };
26676
18095
        stp_newCFLAGS="$stp_acOLDCFLAGS"
26677
18096
fi
26678
18097
 
26685
18104
  for stp_ac_arg in -O6 -O3 -O2 -O1 -O ; do
26686
18105
    stp_ac_save_CFLAGS="${CFLAGS}"
26687
18106
 
26688
 
  { echo "$as_me:$LINENO: checking if ${CC} supports ${stp_ac_arg}" >&5
26689
 
echo $ECHO_N "checking if ${CC} supports ${stp_ac_arg}... $ECHO_C" >&6; }
 
18107
  { $as_echo "$as_me:$LINENO: checking if ${CC} supports ${stp_ac_arg}" >&5
 
18108
$as_echo_n "checking if ${CC} supports ${stp_ac_arg}... " >&6; }
26690
18109
  stp_acOLDCFLAGS="${CFLAGS}"
26691
18110
  CFLAGS="${CFLAGS} ${stp_ac_arg}"
26692
18111
  cat >conftest.$ac_ext <<_ACEOF
26710
18129
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26711
18130
  *) ac_try_echo=$ac_try;;
26712
18131
esac
26713
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18132
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
18133
$as_echo "$ac_try_echo") >&5
26714
18134
  (eval "$ac_compile") 2>conftest.er1
26715
18135
  ac_status=$?
26716
18136
  grep -v '^ *+' conftest.er1 >conftest.err
26717
18137
  rm -f conftest.er1
26718
18138
  cat conftest.err >&5
26719
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18139
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26720
18140
  (exit $ac_status); } && {
26721
18141
         test -z "$ac_c_werror_flag" ||
26722
18142
         test ! -s conftest.err
26723
18143
       } && test -s conftest.$ac_objext; then
26724
 
   { echo "$as_me:$LINENO: result: yes" >&5
26725
 
echo "${ECHO_T}yes" >&6; };
 
18144
   { $as_echo "$as_me:$LINENO: result: yes" >&5
 
18145
$as_echo "yes" >&6; };
26726
18146
        stp_newCFLAGS="$CFLAGS"
26727
18147
else
26728
 
  echo "$as_me: failed program was:" >&5
 
18148
  $as_echo "$as_me: failed program was:" >&5
26729
18149
sed 's/^/| /' conftest.$ac_ext >&5
26730
18150
 
26731
 
         { echo "$as_me:$LINENO: result: no" >&5
26732
 
echo "${ECHO_T}no" >&6; };
 
18151
         { $as_echo "$as_me:$LINENO: result: no" >&5
 
18152
$as_echo "no" >&6; };
26733
18153
        stp_newCFLAGS="$stp_acOLDCFLAGS"
26734
18154
fi
26735
18155
 
26744
18164
else
26745
18165
  if test x$ENABLE_DEBUG = xyes ; then
26746
18166
 
26747
 
  { echo "$as_me:$LINENO: checking if ${CC} supports -g" >&5
26748
 
echo $ECHO_N "checking if ${CC} supports -g... $ECHO_C" >&6; }
 
18167
  { $as_echo "$as_me:$LINENO: checking if ${CC} supports -g" >&5
 
18168
$as_echo_n "checking if ${CC} supports -g... " >&6; }
26749
18169
  stp_acOLDCFLAGS="${CFLAGS}"
26750
18170
  CFLAGS="${CFLAGS} -g"
26751
18171
  cat >conftest.$ac_ext <<_ACEOF
26769
18189
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26770
18190
  *) ac_try_echo=$ac_try;;
26771
18191
esac
26772
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18192
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
18193
$as_echo "$ac_try_echo") >&5
26773
18194
  (eval "$ac_compile") 2>conftest.er1
26774
18195
  ac_status=$?
26775
18196
  grep -v '^ *+' conftest.er1 >conftest.err
26776
18197
  rm -f conftest.er1
26777
18198
  cat conftest.err >&5
26778
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18199
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26779
18200
  (exit $ac_status); } && {
26780
18201
         test -z "$ac_c_werror_flag" ||
26781
18202
         test ! -s conftest.err
26782
18203
       } && test -s conftest.$ac_objext; then
26783
 
   { echo "$as_me:$LINENO: result: yes" >&5
26784
 
echo "${ECHO_T}yes" >&6; };
 
18204
   { $as_echo "$as_me:$LINENO: result: yes" >&5
 
18205
$as_echo "yes" >&6; };
26785
18206
        stp_newCFLAGS="$CFLAGS"
26786
18207
else
26787
 
  echo "$as_me: failed program was:" >&5
 
18208
  $as_echo "$as_me: failed program was:" >&5
26788
18209
sed 's/^/| /' conftest.$ac_ext >&5
26789
18210
 
26790
 
         { echo "$as_me:$LINENO: result: no" >&5
26791
 
echo "${ECHO_T}no" >&6; };
 
18211
         { $as_echo "$as_me:$LINENO: result: no" >&5
 
18212
$as_echo "no" >&6; };
26792
18213
        stp_newCFLAGS="$stp_acOLDCFLAGS"
26793
18214
fi
26794
18215
 
26801
18222
  for stp_ac_arg in -O ; do
26802
18223
    stp_ac_save_CFLAGS="${CFLAGS}"
26803
18224
 
26804
 
  { echo "$as_me:$LINENO: checking if ${CC} supports ${stp_ac_arg}" >&5
26805
 
echo $ECHO_N "checking if ${CC} supports ${stp_ac_arg}... $ECHO_C" >&6; }
 
18225
  { $as_echo "$as_me:$LINENO: checking if ${CC} supports ${stp_ac_arg}" >&5
 
18226
$as_echo_n "checking if ${CC} supports ${stp_ac_arg}... " >&6; }
26806
18227
  stp_acOLDCFLAGS="${CFLAGS}"
26807
18228
  CFLAGS="${CFLAGS} ${stp_ac_arg}"
26808
18229
  cat >conftest.$ac_ext <<_ACEOF
26826
18247
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26827
18248
  *) ac_try_echo=$ac_try;;
26828
18249
esac
26829
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18250
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
18251
$as_echo "$ac_try_echo") >&5
26830
18252
  (eval "$ac_compile") 2>conftest.er1
26831
18253
  ac_status=$?
26832
18254
  grep -v '^ *+' conftest.er1 >conftest.err
26833
18255
  rm -f conftest.er1
26834
18256
  cat conftest.err >&5
26835
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18257
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26836
18258
  (exit $ac_status); } && {
26837
18259
         test -z "$ac_c_werror_flag" ||
26838
18260
         test ! -s conftest.err
26839
18261
       } && test -s conftest.$ac_objext; then
26840
 
   { echo "$as_me:$LINENO: result: yes" >&5
26841
 
echo "${ECHO_T}yes" >&6; };
 
18262
   { $as_echo "$as_me:$LINENO: result: yes" >&5
 
18263
$as_echo "yes" >&6; };
26842
18264
        stp_newCFLAGS="$CFLAGS"
26843
18265
else
26844
 
  echo "$as_me: failed program was:" >&5
 
18266
  $as_echo "$as_me: failed program was:" >&5
26845
18267
sed 's/^/| /' conftest.$ac_ext >&5
26846
18268
 
26847
 
         { echo "$as_me:$LINENO: result: no" >&5
26848
 
echo "${ECHO_T}no" >&6; };
 
18269
         { $as_echo "$as_me:$LINENO: result: no" >&5
 
18270
$as_echo "no" >&6; };
26849
18271
        stp_newCFLAGS="$stp_acOLDCFLAGS"
26850
18272
fi
26851
18273
 
26860
18282
fi
26861
18283
if test x$ENABLE_PROFILE = xyes ; then
26862
18284
 
26863
 
  { echo "$as_me:$LINENO: checking if ${CC} supports -pg" >&5
26864
 
echo $ECHO_N "checking if ${CC} supports -pg... $ECHO_C" >&6; }
 
18285
  { $as_echo "$as_me:$LINENO: checking if ${CC} supports -pg" >&5
 
18286
$as_echo_n "checking if ${CC} supports -pg... " >&6; }
26865
18287
  stp_acOLDCFLAGS="${CFLAGS}"
26866
18288
  CFLAGS="${CFLAGS} -pg"
26867
18289
  cat >conftest.$ac_ext <<_ACEOF
26885
18307
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26886
18308
  *) ac_try_echo=$ac_try;;
26887
18309
esac
26888
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18310
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
18311
$as_echo "$ac_try_echo") >&5
26889
18312
  (eval "$ac_compile") 2>conftest.er1
26890
18313
  ac_status=$?
26891
18314
  grep -v '^ *+' conftest.er1 >conftest.err
26892
18315
  rm -f conftest.er1
26893
18316
  cat conftest.err >&5
26894
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18317
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26895
18318
  (exit $ac_status); } && {
26896
18319
         test -z "$ac_c_werror_flag" ||
26897
18320
         test ! -s conftest.err
26898
18321
       } && test -s conftest.$ac_objext; then
26899
 
   { echo "$as_me:$LINENO: result: yes" >&5
26900
 
echo "${ECHO_T}yes" >&6; };
 
18322
   { $as_echo "$as_me:$LINENO: result: yes" >&5
 
18323
$as_echo "yes" >&6; };
26901
18324
        stp_newCFLAGS="$CFLAGS"
26902
18325
else
26903
 
  echo "$as_me: failed program was:" >&5
 
18326
  $as_echo "$as_me: failed program was:" >&5
26904
18327
sed 's/^/| /' conftest.$ac_ext >&5
26905
18328
 
26906
 
         { echo "$as_me:$LINENO: result: no" >&5
26907
 
echo "${ECHO_T}no" >&6; };
 
18329
         { $as_echo "$as_me:$LINENO: result: no" >&5
 
18330
$as_echo "no" >&6; };
26908
18331
        stp_newCFLAGS="$stp_acOLDCFLAGS"
26909
18332
fi
26910
18333
 
26917
18340
 
26918
18341
 
26919
18342
 
26920
 
{ echo "$as_me:$LINENO: checking if $CC supports __attribute__ syntax" >&5
26921
 
echo $ECHO_N "checking if $CC supports __attribute__ syntax... $ECHO_C" >&6; }
 
18343
{ $as_echo "$as_me:$LINENO: checking if $CC supports __attribute__ syntax" >&5
 
18344
$as_echo_n "checking if $CC supports __attribute__ syntax... " >&6; }
26922
18345
cat >conftest.$ac_ext <<_ACEOF
26923
18346
/* confdefs.h.  */
26924
18347
_ACEOF
26944
18367
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26945
18368
  *) ac_try_echo=$ac_try;;
26946
18369
esac
26947
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18370
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
18371
$as_echo "$ac_try_echo") >&5
26948
18372
  (eval "$ac_compile") 2>conftest.er1
26949
18373
  ac_status=$?
26950
18374
  grep -v '^ *+' conftest.er1 >conftest.err
26951
18375
  rm -f conftest.er1
26952
18376
  cat conftest.err >&5
26953
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18377
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26954
18378
  (exit $ac_status); } && {
26955
18379
         test -z "$ac_c_werror_flag" ||
26956
18380
         test ! -s conftest.err
26957
18381
       } && test -s conftest.$ac_objext; then
26958
 
  { echo "$as_me:$LINENO: result: yes" >&5
26959
 
echo "${ECHO_T}yes" >&6; }
 
18382
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
18383
$as_echo "yes" >&6; }
26960
18384
                   cat >>confdefs.h <<\_ACEOF
26961
18385
#define HAVE_GCC_ATTRIBUTES 1
26962
18386
_ACEOF
26963
18387
 
26964
18388
else
26965
 
  echo "$as_me: failed program was:" >&5
 
18389
  $as_echo "$as_me: failed program was:" >&5
26966
18390
sed 's/^/| /' conftest.$ac_ext >&5
26967
18391
 
26968
 
        { echo "$as_me:$LINENO: result: no" >&5
26969
 
echo "${ECHO_T}no" >&6; }
 
18392
        { $as_echo "$as_me:$LINENO: result: no" >&5
 
18393
$as_echo "no" >&6; }
26970
18394
fi
26971
18395
 
26972
18396
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26979
18403
if test "$USE_READLINE" = yes ; then
26980
18404
  if test "$EXTRA_LIBREADLINE_DEPS" = "" ; then
26981
18405
    unset ac_cv_lib_readline_readline
26982
 
    { echo "$as_me:$LINENO: checking for readline in -lreadline" >&5
26983
 
echo $ECHO_N "checking for readline in -lreadline... $ECHO_C" >&6; }
 
18406
    { $as_echo "$as_me:$LINENO: checking for readline in -lreadline" >&5
 
18407
$as_echo_n "checking for readline in -lreadline... " >&6; }
26984
18408
if test "${ac_cv_lib_readline_readline+set}" = set; then
26985
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
18409
  $as_echo_n "(cached) " >&6
26986
18410
else
26987
18411
  ac_check_lib_save_LIBS=$LIBS
26988
18412
LIBS="-lreadline -lncurses $LIBS"
27014
18438
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27015
18439
  *) ac_try_echo=$ac_try;;
27016
18440
esac
27017
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18441
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
18442
$as_echo "$ac_try_echo") >&5
27018
18443
  (eval "$ac_link") 2>conftest.er1
27019
18444
  ac_status=$?
27020
18445
  grep -v '^ *+' conftest.er1 >conftest.err
27021
18446
  rm -f conftest.er1
27022
18447
  cat conftest.err >&5
27023
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18448
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27024
18449
  (exit $ac_status); } && {
27025
18450
         test -z "$ac_c_werror_flag" ||
27026
18451
         test ! -s conftest.err
27027
 
       } && test -s conftest$ac_exeext &&
27028
 
       $as_test_x conftest$ac_exeext; then
 
18452
       } && test -s conftest$ac_exeext && {
 
18453
         test "$cross_compiling" = yes ||
 
18454
         $as_test_x conftest$ac_exeext
 
18455
       }; then
27029
18456
  ac_cv_lib_readline_readline=yes
27030
18457
else
27031
 
  echo "$as_me: failed program was:" >&5
 
18458
  $as_echo "$as_me: failed program was:" >&5
27032
18459
sed 's/^/| /' conftest.$ac_ext >&5
27033
18460
 
27034
18461
        ac_cv_lib_readline_readline=no
27035
18462
fi
27036
18463
 
 
18464
rm -rf conftest.dSYM
27037
18465
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27038
18466
      conftest$ac_exeext conftest.$ac_ext
27039
18467
LIBS=$ac_check_lib_save_LIBS
27040
18468
fi
27041
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_readline_readline" >&5
27042
 
echo "${ECHO_T}$ac_cv_lib_readline_readline" >&6; }
27043
 
if test $ac_cv_lib_readline_readline = yes; then
 
18469
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_readline_readline" >&5
 
18470
$as_echo "$ac_cv_lib_readline_readline" >&6; }
 
18471
if test "x$ac_cv_lib_readline_readline" = x""yes; then
27044
18472
  HAVE_LIBREADLINE=true
27045
18473
else
27046
18474
  HAVE_LIBREADLINE=false
27055
18483
 
27056
18484
    else
27057
18485
      unset ac_cv_lib_readline_readline
27058
 
      { echo "$as_me:$LINENO: checking for readline in -lreadline" >&5
27059
 
echo $ECHO_N "checking for readline in -lreadline... $ECHO_C" >&6; }
 
18486
      { $as_echo "$as_me:$LINENO: checking for readline in -lreadline" >&5
 
18487
$as_echo_n "checking for readline in -lreadline... " >&6; }
27060
18488
if test "${ac_cv_lib_readline_readline+set}" = set; then
27061
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
18489
  $as_echo_n "(cached) " >&6
27062
18490
else
27063
18491
  ac_check_lib_save_LIBS=$LIBS
27064
18492
LIBS="-lreadline -lcurses $LIBS"
27090
18518
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27091
18519
  *) ac_try_echo=$ac_try;;
27092
18520
esac
27093
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18521
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
18522
$as_echo "$ac_try_echo") >&5
27094
18523
  (eval "$ac_link") 2>conftest.er1
27095
18524
  ac_status=$?
27096
18525
  grep -v '^ *+' conftest.er1 >conftest.err
27097
18526
  rm -f conftest.er1
27098
18527
  cat conftest.err >&5
27099
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18528
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27100
18529
  (exit $ac_status); } && {
27101
18530
         test -z "$ac_c_werror_flag" ||
27102
18531
         test ! -s conftest.err
27103
 
       } && test -s conftest$ac_exeext &&
27104
 
       $as_test_x conftest$ac_exeext; then
 
18532
       } && test -s conftest$ac_exeext && {
 
18533
         test "$cross_compiling" = yes ||
 
18534
         $as_test_x conftest$ac_exeext
 
18535
       }; then
27105
18536
  ac_cv_lib_readline_readline=yes
27106
18537
else
27107
 
  echo "$as_me: failed program was:" >&5
 
18538
  $as_echo "$as_me: failed program was:" >&5
27108
18539
sed 's/^/| /' conftest.$ac_ext >&5
27109
18540
 
27110
18541
        ac_cv_lib_readline_readline=no
27111
18542
fi
27112
18543
 
 
18544
rm -rf conftest.dSYM
27113
18545
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27114
18546
      conftest$ac_exeext conftest.$ac_ext
27115
18547
LIBS=$ac_check_lib_save_LIBS
27116
18548
fi
27117
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_readline_readline" >&5
27118
 
echo "${ECHO_T}$ac_cv_lib_readline_readline" >&6; }
27119
 
if test $ac_cv_lib_readline_readline = yes; then
 
18549
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_readline_readline" >&5
 
18550
$as_echo "$ac_cv_lib_readline_readline" >&6; }
 
18551
if test "x$ac_cv_lib_readline_readline" = x""yes; then
27120
18552
  HAVE_LIBREADLINE=true
27121
18553
else
27122
18554
  HAVE_LIBREADLINE=false
27131
18563
 
27132
18564
      else
27133
18565
        unset ac_cv_lib_readline_readline
27134
 
        { echo "$as_me:$LINENO: checking for readline in -lreadline" >&5
27135
 
echo $ECHO_N "checking for readline in -lreadline... $ECHO_C" >&6; }
 
18566
        { $as_echo "$as_me:$LINENO: checking for readline in -lreadline" >&5
 
18567
$as_echo_n "checking for readline in -lreadline... " >&6; }
27136
18568
if test "${ac_cv_lib_readline_readline+set}" = set; then
27137
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
18569
  $as_echo_n "(cached) " >&6
27138
18570
else
27139
18571
  ac_check_lib_save_LIBS=$LIBS
27140
18572
LIBS="-lreadline -ltermcap $LIBS"
27166
18598
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27167
18599
  *) ac_try_echo=$ac_try;;
27168
18600
esac
27169
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18601
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
18602
$as_echo "$ac_try_echo") >&5
27170
18603
  (eval "$ac_link") 2>conftest.er1
27171
18604
  ac_status=$?
27172
18605
  grep -v '^ *+' conftest.er1 >conftest.err
27173
18606
  rm -f conftest.er1
27174
18607
  cat conftest.err >&5
27175
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18608
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27176
18609
  (exit $ac_status); } && {
27177
18610
         test -z "$ac_c_werror_flag" ||
27178
18611
         test ! -s conftest.err
27179
 
       } && test -s conftest$ac_exeext &&
27180
 
       $as_test_x conftest$ac_exeext; then
 
18612
       } && test -s conftest$ac_exeext && {
 
18613
         test "$cross_compiling" = yes ||
 
18614
         $as_test_x conftest$ac_exeext
 
18615
       }; then
27181
18616
  ac_cv_lib_readline_readline=yes
27182
18617
else
27183
 
  echo "$as_me: failed program was:" >&5
 
18618
  $as_echo "$as_me: failed program was:" >&5
27184
18619
sed 's/^/| /' conftest.$ac_ext >&5
27185
18620
 
27186
18621
        ac_cv_lib_readline_readline=no
27187
18622
fi
27188
18623
 
 
18624
rm -rf conftest.dSYM
27189
18625
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27190
18626
      conftest$ac_exeext conftest.$ac_ext
27191
18627
LIBS=$ac_check_lib_save_LIBS
27192
18628
fi
27193
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_readline_readline" >&5
27194
 
echo "${ECHO_T}$ac_cv_lib_readline_readline" >&6; }
27195
 
if test $ac_cv_lib_readline_readline = yes; then
 
18629
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_readline_readline" >&5
 
18630
$as_echo "$ac_cv_lib_readline_readline" >&6; }
 
18631
if test "x$ac_cv_lib_readline_readline" = x""yes; then
27196
18632
  HAVE_LIBREADLINE=true
27197
18633
else
27198
18634
  HAVE_LIBREADLINE=false
27207
18643
 
27208
18644
        else
27209
18645
          unset ac_cv_lib_readline_readline
27210
 
          { echo "$as_me:$LINENO: checking for readline in -lreadline" >&5
27211
 
echo $ECHO_N "checking for readline in -lreadline... $ECHO_C" >&6; }
 
18646
          { $as_echo "$as_me:$LINENO: checking for readline in -lreadline" >&5
 
18647
$as_echo_n "checking for readline in -lreadline... " >&6; }
27212
18648
if test "${ac_cv_lib_readline_readline+set}" = set; then
27213
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
18649
  $as_echo_n "(cached) " >&6
27214
18650
else
27215
18651
  ac_check_lib_save_LIBS=$LIBS
27216
18652
LIBS="-lreadline  $LIBS"
27242
18678
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27243
18679
  *) ac_try_echo=$ac_try;;
27244
18680
esac
27245
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18681
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
18682
$as_echo "$ac_try_echo") >&5
27246
18683
  (eval "$ac_link") 2>conftest.er1
27247
18684
  ac_status=$?
27248
18685
  grep -v '^ *+' conftest.er1 >conftest.err
27249
18686
  rm -f conftest.er1
27250
18687
  cat conftest.err >&5
27251
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18688
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27252
18689
  (exit $ac_status); } && {
27253
18690
         test -z "$ac_c_werror_flag" ||
27254
18691
         test ! -s conftest.err
27255
 
       } && test -s conftest$ac_exeext &&
27256
 
       $as_test_x conftest$ac_exeext; then
 
18692
       } && test -s conftest$ac_exeext && {
 
18693
         test "$cross_compiling" = yes ||
 
18694
         $as_test_x conftest$ac_exeext
 
18695
       }; then
27257
18696
  ac_cv_lib_readline_readline=yes
27258
18697
else
27259
 
  echo "$as_me: failed program was:" >&5
 
18698
  $as_echo "$as_me: failed program was:" >&5
27260
18699
sed 's/^/| /' conftest.$ac_ext >&5
27261
18700
 
27262
18701
        ac_cv_lib_readline_readline=no
27263
18702
fi
27264
18703
 
 
18704
rm -rf conftest.dSYM
27265
18705
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27266
18706
      conftest$ac_exeext conftest.$ac_ext
27267
18707
LIBS=$ac_check_lib_save_LIBS
27268
18708
fi
27269
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_readline_readline" >&5
27270
 
echo "${ECHO_T}$ac_cv_lib_readline_readline" >&6; }
27271
 
if test $ac_cv_lib_readline_readline = yes; then
 
18709
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_readline_readline" >&5
 
18710
$as_echo "$ac_cv_lib_readline_readline" >&6; }
 
18711
if test "x$ac_cv_lib_readline_readline" = x""yes; then
27272
18712
  HAVE_LIBREADLINE=true
27273
18713
else
27274
18714
  HAVE_LIBREADLINE=false
27290
18730
    fi
27291
18731
  else
27292
18732
    unset ac_cv_lib_readline_readline
27293
 
    { echo "$as_me:$LINENO: checking for readline in -lreadline" >&5
27294
 
echo $ECHO_N "checking for readline in -lreadline... $ECHO_C" >&6; }
 
18733
    { $as_echo "$as_me:$LINENO: checking for readline in -lreadline" >&5
 
18734
$as_echo_n "checking for readline in -lreadline... " >&6; }
27295
18735
if test "${ac_cv_lib_readline_readline+set}" = set; then
27296
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
18736
  $as_echo_n "(cached) " >&6
27297
18737
else
27298
18738
  ac_check_lib_save_LIBS=$LIBS
27299
18739
LIBS="-lreadline ${EXTRA_LIBREADLINE_DEPS} $LIBS"
27325
18765
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27326
18766
  *) ac_try_echo=$ac_try;;
27327
18767
esac
27328
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18768
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
18769
$as_echo "$ac_try_echo") >&5
27329
18770
  (eval "$ac_link") 2>conftest.er1
27330
18771
  ac_status=$?
27331
18772
  grep -v '^ *+' conftest.er1 >conftest.err
27332
18773
  rm -f conftest.er1
27333
18774
  cat conftest.err >&5
27334
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18775
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27335
18776
  (exit $ac_status); } && {
27336
18777
         test -z "$ac_c_werror_flag" ||
27337
18778
         test ! -s conftest.err
27338
 
       } && test -s conftest$ac_exeext &&
27339
 
       $as_test_x conftest$ac_exeext; then
 
18779
       } && test -s conftest$ac_exeext && {
 
18780
         test "$cross_compiling" = yes ||
 
18781
         $as_test_x conftest$ac_exeext
 
18782
       }; then
27340
18783
  ac_cv_lib_readline_readline=yes
27341
18784
else
27342
 
  echo "$as_me: failed program was:" >&5
 
18785
  $as_echo "$as_me: failed program was:" >&5
27343
18786
sed 's/^/| /' conftest.$ac_ext >&5
27344
18787
 
27345
18788
        ac_cv_lib_readline_readline=no
27346
18789
fi
27347
18790
 
 
18791
rm -rf conftest.dSYM
27348
18792
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27349
18793
      conftest$ac_exeext conftest.$ac_ext
27350
18794
LIBS=$ac_check_lib_save_LIBS
27351
18795
fi
27352
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_readline_readline" >&5
27353
 
echo "${ECHO_T}$ac_cv_lib_readline_readline" >&6; }
27354
 
if test $ac_cv_lib_readline_readline = yes; then
 
18796
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_readline_readline" >&5
 
18797
$as_echo "$ac_cv_lib_readline_readline" >&6; }
 
18798
if test "x$ac_cv_lib_readline_readline" = x""yes; then
27355
18799
  HAVE_LIBREADLINE=true
27356
18800
else
27357
18801
  HAVE_LIBREADLINE=false
27378
18822
 
27379
18823
fi
27380
18824
 
27381
 
{ echo "$as_me:$LINENO: checking for lt_dlopen in -lltdl" >&5
27382
 
echo $ECHO_N "checking for lt_dlopen in -lltdl... $ECHO_C" >&6; }
 
18825
{ $as_echo "$as_me:$LINENO: checking for lt_dlopen in -lltdl" >&5
 
18826
$as_echo_n "checking for lt_dlopen in -lltdl... " >&6; }
27383
18827
if test "${ac_cv_lib_ltdl_lt_dlopen+set}" = set; then
27384
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
18828
  $as_echo_n "(cached) " >&6
27385
18829
else
27386
18830
  ac_check_lib_save_LIBS=$LIBS
27387
18831
LIBS="-lltdl  $LIBS"
27413
18857
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27414
18858
  *) ac_try_echo=$ac_try;;
27415
18859
esac
27416
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18860
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
18861
$as_echo "$ac_try_echo") >&5
27417
18862
  (eval "$ac_link") 2>conftest.er1
27418
18863
  ac_status=$?
27419
18864
  grep -v '^ *+' conftest.er1 >conftest.err
27420
18865
  rm -f conftest.er1
27421
18866
  cat conftest.err >&5
27422
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18867
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27423
18868
  (exit $ac_status); } && {
27424
18869
         test -z "$ac_c_werror_flag" ||
27425
18870
         test ! -s conftest.err
27426
 
       } && test -s conftest$ac_exeext &&
27427
 
       $as_test_x conftest$ac_exeext; then
 
18871
       } && test -s conftest$ac_exeext && {
 
18872
         test "$cross_compiling" = yes ||
 
18873
         $as_test_x conftest$ac_exeext
 
18874
       }; then
27428
18875
  ac_cv_lib_ltdl_lt_dlopen=yes
27429
18876
else
27430
 
  echo "$as_me: failed program was:" >&5
 
18877
  $as_echo "$as_me: failed program was:" >&5
27431
18878
sed 's/^/| /' conftest.$ac_ext >&5
27432
18879
 
27433
18880
        ac_cv_lib_ltdl_lt_dlopen=no
27434
18881
fi
27435
18882
 
 
18883
rm -rf conftest.dSYM
27436
18884
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27437
18885
      conftest$ac_exeext conftest.$ac_ext
27438
18886
LIBS=$ac_check_lib_save_LIBS
27439
18887
fi
27440
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_ltdl_lt_dlopen" >&5
27441
 
echo "${ECHO_T}$ac_cv_lib_ltdl_lt_dlopen" >&6; }
27442
 
if test $ac_cv_lib_ltdl_lt_dlopen = yes; then
 
18888
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ltdl_lt_dlopen" >&5
 
18889
$as_echo "$ac_cv_lib_ltdl_lt_dlopen" >&6; }
 
18890
if test "x$ac_cv_lib_ltdl_lt_dlopen" = x""yes; then
27443
18891
  LTDL_LIBS="-lltdl"
27444
18892
fi
27445
18893
 
27446
18894
 
27447
 
{ echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
27448
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
 
18895
{ $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
18896
$as_echo_n "checking for dlopen in -ldl... " >&6; }
27449
18897
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
27450
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
18898
  $as_echo_n "(cached) " >&6
27451
18899
else
27452
18900
  ac_check_lib_save_LIBS=$LIBS
27453
18901
LIBS="-ldl  $LIBS"
27479
18927
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27480
18928
  *) ac_try_echo=$ac_try;;
27481
18929
esac
27482
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18930
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
18931
$as_echo "$ac_try_echo") >&5
27483
18932
  (eval "$ac_link") 2>conftest.er1
27484
18933
  ac_status=$?
27485
18934
  grep -v '^ *+' conftest.er1 >conftest.err
27486
18935
  rm -f conftest.er1
27487
18936
  cat conftest.err >&5
27488
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18937
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27489
18938
  (exit $ac_status); } && {
27490
18939
         test -z "$ac_c_werror_flag" ||
27491
18940
         test ! -s conftest.err
27492
 
       } && test -s conftest$ac_exeext &&
27493
 
       $as_test_x conftest$ac_exeext; then
 
18941
       } && test -s conftest$ac_exeext && {
 
18942
         test "$cross_compiling" = yes ||
 
18943
         $as_test_x conftest$ac_exeext
 
18944
       }; then
27494
18945
  ac_cv_lib_dl_dlopen=yes
27495
18946
else
27496
 
  echo "$as_me: failed program was:" >&5
 
18947
  $as_echo "$as_me: failed program was:" >&5
27497
18948
sed 's/^/| /' conftest.$ac_ext >&5
27498
18949
 
27499
18950
        ac_cv_lib_dl_dlopen=no
27500
18951
fi
27501
18952
 
 
18953
rm -rf conftest.dSYM
27502
18954
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27503
18955
      conftest$ac_exeext conftest.$ac_ext
27504
18956
LIBS=$ac_check_lib_save_LIBS
27505
18957
fi
27506
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
27507
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
27508
 
if test $ac_cv_lib_dl_dlopen = yes; then
 
18958
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
18959
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 
18960
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
27509
18961
  DLOPEN_LIBS="-ldl"
27510
18962
fi
27511
18963
 
27512
18964
 
27513
 
{ echo "$as_me:$LINENO: checking for pow in -lm" >&5
27514
 
echo $ECHO_N "checking for pow in -lm... $ECHO_C" >&6; }
 
18965
{ $as_echo "$as_me:$LINENO: checking for pow in -lm" >&5
 
18966
$as_echo_n "checking for pow in -lm... " >&6; }
27515
18967
if test "${ac_cv_lib_m_pow+set}" = set; then
27516
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
18968
  $as_echo_n "(cached) " >&6
27517
18969
else
27518
18970
  ac_check_lib_save_LIBS=$LIBS
27519
18971
LIBS="-lm  $LIBS"
27545
18997
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27546
18998
  *) ac_try_echo=$ac_try;;
27547
18999
esac
27548
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19000
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
19001
$as_echo "$ac_try_echo") >&5
27549
19002
  (eval "$ac_link") 2>conftest.er1
27550
19003
  ac_status=$?
27551
19004
  grep -v '^ *+' conftest.er1 >conftest.err
27552
19005
  rm -f conftest.er1
27553
19006
  cat conftest.err >&5
27554
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19007
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27555
19008
  (exit $ac_status); } && {
27556
19009
         test -z "$ac_c_werror_flag" ||
27557
19010
         test ! -s conftest.err
27558
 
       } && test -s conftest$ac_exeext &&
27559
 
       $as_test_x conftest$ac_exeext; then
 
19011
       } && test -s conftest$ac_exeext && {
 
19012
         test "$cross_compiling" = yes ||
 
19013
         $as_test_x conftest$ac_exeext
 
19014
       }; then
27560
19015
  ac_cv_lib_m_pow=yes
27561
19016
else
27562
 
  echo "$as_me: failed program was:" >&5
 
19017
  $as_echo "$as_me: failed program was:" >&5
27563
19018
sed 's/^/| /' conftest.$ac_ext >&5
27564
19019
 
27565
19020
        ac_cv_lib_m_pow=no
27566
19021
fi
27567
19022
 
 
19023
rm -rf conftest.dSYM
27568
19024
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27569
19025
      conftest$ac_exeext conftest.$ac_ext
27570
19026
LIBS=$ac_check_lib_save_LIBS
27571
19027
fi
27572
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_m_pow" >&5
27573
 
echo "${ECHO_T}$ac_cv_lib_m_pow" >&6; }
27574
 
if test $ac_cv_lib_m_pow = yes; then
 
19028
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_pow" >&5
 
19029
$as_echo "$ac_cv_lib_m_pow" >&6; }
 
19030
if test "x$ac_cv_lib_m_pow" = x""yes; then
27575
19031
  GUTENPRINT_LIBDEPS="${GUTENPRINT_LIBDEPS} -lm"
27576
19032
             gutenprint_libdeps="${gutenprint_libdeps} -lm"
27577
19033
fi
27578
19034
 
27579
19035
 
27580
 
{ echo "$as_me:$LINENO: checking for pow in -lm" >&5
27581
 
echo $ECHO_N "checking for pow in -lm... $ECHO_C" >&6; }
 
19036
{ $as_echo "$as_me:$LINENO: checking for pow in -lm" >&5
 
19037
$as_echo_n "checking for pow in -lm... " >&6; }
27582
19038
if test "${ac_cv_lib_m_pow+set}" = set; then
27583
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
19039
  $as_echo_n "(cached) " >&6
27584
19040
else
27585
19041
  ac_check_lib_save_LIBS=$LIBS
27586
19042
LIBS="-lm  $LIBS"
27612
19068
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27613
19069
  *) ac_try_echo=$ac_try;;
27614
19070
esac
27615
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19071
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
19072
$as_echo "$ac_try_echo") >&5
27616
19073
  (eval "$ac_link") 2>conftest.er1
27617
19074
  ac_status=$?
27618
19075
  grep -v '^ *+' conftest.er1 >conftest.err
27619
19076
  rm -f conftest.er1
27620
19077
  cat conftest.err >&5
27621
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19078
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27622
19079
  (exit $ac_status); } && {
27623
19080
         test -z "$ac_c_werror_flag" ||
27624
19081
         test ! -s conftest.err
27625
 
       } && test -s conftest$ac_exeext &&
27626
 
       $as_test_x conftest$ac_exeext; then
 
19082
       } && test -s conftest$ac_exeext && {
 
19083
         test "$cross_compiling" = yes ||
 
19084
         $as_test_x conftest$ac_exeext
 
19085
       }; then
27627
19086
  ac_cv_lib_m_pow=yes
27628
19087
else
27629
 
  echo "$as_me: failed program was:" >&5
 
19088
  $as_echo "$as_me: failed program was:" >&5
27630
19089
sed 's/^/| /' conftest.$ac_ext >&5
27631
19090
 
27632
19091
        ac_cv_lib_m_pow=no
27633
19092
fi
27634
19093
 
 
19094
rm -rf conftest.dSYM
27635
19095
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27636
19096
      conftest$ac_exeext conftest.$ac_ext
27637
19097
LIBS=$ac_check_lib_save_LIBS
27638
19098
fi
27639
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_m_pow" >&5
27640
 
echo "${ECHO_T}$ac_cv_lib_m_pow" >&6; }
27641
 
if test $ac_cv_lib_m_pow = yes; then
 
19099
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_pow" >&5
 
19100
$as_echo "$ac_cv_lib_m_pow" >&6; }
 
19101
if test "x$ac_cv_lib_m_pow" = x""yes; then
27642
19102
  CUPS_LIBS="${CUPS_LIBS} -lm"
27643
19103
fi
27644
19104
 
27645
19105
if test x${BUILD_CUPS} = xyes ; then
27646
 
  { echo "$as_me:$LINENO: checking for gzgets in -lz" >&5
27647
 
echo $ECHO_N "checking for gzgets in -lz... $ECHO_C" >&6; }
 
19106
  { $as_echo "$as_me:$LINENO: checking for gzgets in -lz" >&5
 
19107
$as_echo_n "checking for gzgets in -lz... " >&6; }
27648
19108
if test "${ac_cv_lib_z_gzgets+set}" = set; then
27649
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
19109
  $as_echo_n "(cached) " >&6
27650
19110
else
27651
19111
  ac_check_lib_save_LIBS=$LIBS
27652
19112
LIBS="-lz  $LIBS"
27678
19138
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27679
19139
  *) ac_try_echo=$ac_try;;
27680
19140
esac
27681
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19141
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
19142
$as_echo "$ac_try_echo") >&5
27682
19143
  (eval "$ac_link") 2>conftest.er1
27683
19144
  ac_status=$?
27684
19145
  grep -v '^ *+' conftest.er1 >conftest.err
27685
19146
  rm -f conftest.er1
27686
19147
  cat conftest.err >&5
27687
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19148
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27688
19149
  (exit $ac_status); } && {
27689
19150
         test -z "$ac_c_werror_flag" ||
27690
19151
         test ! -s conftest.err
27691
 
       } && test -s conftest$ac_exeext &&
27692
 
       $as_test_x conftest$ac_exeext; then
 
19152
       } && test -s conftest$ac_exeext && {
 
19153
         test "$cross_compiling" = yes ||
 
19154
         $as_test_x conftest$ac_exeext
 
19155
       }; then
27693
19156
  ac_cv_lib_z_gzgets=yes
27694
19157
else
27695
 
  echo "$as_me: failed program was:" >&5
 
19158
  $as_echo "$as_me: failed program was:" >&5
27696
19159
sed 's/^/| /' conftest.$ac_ext >&5
27697
19160
 
27698
19161
        ac_cv_lib_z_gzgets=no
27699
19162
fi
27700
19163
 
 
19164
rm -rf conftest.dSYM
27701
19165
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27702
19166
      conftest$ac_exeext conftest.$ac_ext
27703
19167
LIBS=$ac_check_lib_save_LIBS
27704
19168
fi
27705
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_z_gzgets" >&5
27706
 
echo "${ECHO_T}$ac_cv_lib_z_gzgets" >&6; }
27707
 
if test $ac_cv_lib_z_gzgets = yes; then
 
19169
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_z_gzgets" >&5
 
19170
$as_echo "$ac_cv_lib_z_gzgets" >&6; }
 
19171
if test "x$ac_cv_lib_z_gzgets" = x""yes; then
27708
19172
  HAVE_LIBZ=true
27709
19173
else
27710
19174
  HAVE_LIBZ=false
27714
19178
    GENPPD_LIBS="-lz"
27715
19179
 
27716
19180
cat >>confdefs.h <<\_ACEOF
27717
 
#define HAVE_LIBZ
 
19181
#define HAVE_LIBZ /**/
27718
19182
_ACEOF
27719
19183
 
27720
19184
  fi
27721
19185
  # Extract the first word of "cups-config", so it can be a program name with args.
27722
19186
set dummy cups-config; ac_word=$2
27723
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
27724
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
19187
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
19188
$as_echo_n "checking for $ac_word... " >&6; }
27725
19189
if test "${ac_cv_path_CUPS_CONFIG+set}" = set; then
27726
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
19190
  $as_echo_n "(cached) " >&6
27727
19191
else
27728
19192
  case $CUPS_CONFIG in
27729
19193
  [\\/]* | ?:[\\/]*)
27738
19202
  for ac_exec_ext in '' $ac_executable_extensions; do
27739
19203
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27740
19204
    ac_cv_path_CUPS_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27741
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
19205
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27742
19206
    break 2
27743
19207
  fi
27744
19208
done
27750
19214
fi
27751
19215
CUPS_CONFIG=$ac_cv_path_CUPS_CONFIG
27752
19216
if test -n "$CUPS_CONFIG"; then
27753
 
  { echo "$as_me:$LINENO: result: $CUPS_CONFIG" >&5
27754
 
echo "${ECHO_T}$CUPS_CONFIG" >&6; }
 
19217
  { $as_echo "$as_me:$LINENO: result: $CUPS_CONFIG" >&5
 
19218
$as_echo "$CUPS_CONFIG" >&6; }
27755
19219
else
27756
 
  { echo "$as_me:$LINENO: result: no" >&5
27757
 
echo "${ECHO_T}no" >&6; }
 
19220
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
19221
$as_echo "no" >&6; }
27758
19222
fi
27759
19223
 
27760
19224
 
27764
19228
  else
27765
19229
        SAVELIBS="$LIBS"
27766
19230
    LIBS="$LIBS ${CUPS_LIBS}"
27767
 
    { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
27768
 
echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
 
19231
    { $as_echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
 
19232
$as_echo_n "checking for socket in -lsocket... " >&6; }
27769
19233
if test "${ac_cv_lib_socket_socket+set}" = set; then
27770
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
19234
  $as_echo_n "(cached) " >&6
27771
19235
else
27772
19236
  ac_check_lib_save_LIBS=$LIBS
27773
19237
LIBS="-lsocket  $LIBS"
27799
19263
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27800
19264
  *) ac_try_echo=$ac_try;;
27801
19265
esac
27802
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19266
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
19267
$as_echo "$ac_try_echo") >&5
27803
19268
  (eval "$ac_link") 2>conftest.er1
27804
19269
  ac_status=$?
27805
19270
  grep -v '^ *+' conftest.er1 >conftest.err
27806
19271
  rm -f conftest.er1
27807
19272
  cat conftest.err >&5
27808
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19273
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27809
19274
  (exit $ac_status); } && {
27810
19275
         test -z "$ac_c_werror_flag" ||
27811
19276
         test ! -s conftest.err
27812
 
       } && test -s conftest$ac_exeext &&
27813
 
       $as_test_x conftest$ac_exeext; then
 
19277
       } && test -s conftest$ac_exeext && {
 
19278
         test "$cross_compiling" = yes ||
 
19279
         $as_test_x conftest$ac_exeext
 
19280
       }; then
27814
19281
  ac_cv_lib_socket_socket=yes
27815
19282
else
27816
 
  echo "$as_me: failed program was:" >&5
 
19283
  $as_echo "$as_me: failed program was:" >&5
27817
19284
sed 's/^/| /' conftest.$ac_ext >&5
27818
19285
 
27819
19286
        ac_cv_lib_socket_socket=no
27820
19287
fi
27821
19288
 
 
19289
rm -rf conftest.dSYM
27822
19290
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27823
19291
      conftest$ac_exeext conftest.$ac_ext
27824
19292
LIBS=$ac_check_lib_save_LIBS
27825
19293
fi
27826
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
27827
 
echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
27828
 
if test $ac_cv_lib_socket_socket = yes; then
 
19294
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
 
19295
$as_echo "$ac_cv_lib_socket_socket" >&6; }
 
19296
if test "x$ac_cv_lib_socket_socket" = x""yes; then
27829
19297
  if test x${OSTYPE} != xirix ; then
27830
19298
      CUPS_LIBS="${CUPS_LIBS} -lsocket"
27831
19299
      LIBS="$LIBS -lsocket"
27832
19300
    fi
27833
19301
fi
27834
19302
 
27835
 
    { echo "$as_me:$LINENO: checking for gethostbyaddr in -lnsl" >&5
27836
 
echo $ECHO_N "checking for gethostbyaddr in -lnsl... $ECHO_C" >&6; }
 
19303
    { $as_echo "$as_me:$LINENO: checking for gethostbyaddr in -lnsl" >&5
 
19304
$as_echo_n "checking for gethostbyaddr in -lnsl... " >&6; }
27837
19305
if test "${ac_cv_lib_nsl_gethostbyaddr+set}" = set; then
27838
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
19306
  $as_echo_n "(cached) " >&6
27839
19307
else
27840
19308
  ac_check_lib_save_LIBS=$LIBS
27841
19309
LIBS="-lnsl  $LIBS"
27867
19335
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27868
19336
  *) ac_try_echo=$ac_try;;
27869
19337
esac
27870
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19338
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
19339
$as_echo "$ac_try_echo") >&5
27871
19340
  (eval "$ac_link") 2>conftest.er1
27872
19341
  ac_status=$?
27873
19342
  grep -v '^ *+' conftest.er1 >conftest.err
27874
19343
  rm -f conftest.er1
27875
19344
  cat conftest.err >&5
27876
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19345
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27877
19346
  (exit $ac_status); } && {
27878
19347
         test -z "$ac_c_werror_flag" ||
27879
19348
         test ! -s conftest.err
27880
 
       } && test -s conftest$ac_exeext &&
27881
 
       $as_test_x conftest$ac_exeext; then
 
19349
       } && test -s conftest$ac_exeext && {
 
19350
         test "$cross_compiling" = yes ||
 
19351
         $as_test_x conftest$ac_exeext
 
19352
       }; then
27882
19353
  ac_cv_lib_nsl_gethostbyaddr=yes
27883
19354
else
27884
 
  echo "$as_me: failed program was:" >&5
 
19355
  $as_echo "$as_me: failed program was:" >&5
27885
19356
sed 's/^/| /' conftest.$ac_ext >&5
27886
19357
 
27887
19358
        ac_cv_lib_nsl_gethostbyaddr=no
27888
19359
fi
27889
19360
 
 
19361
rm -rf conftest.dSYM
27890
19362
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27891
19363
      conftest$ac_exeext conftest.$ac_ext
27892
19364
LIBS=$ac_check_lib_save_LIBS
27893
19365
fi
27894
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyaddr" >&5
27895
 
echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyaddr" >&6; }
27896
 
if test $ac_cv_lib_nsl_gethostbyaddr = yes; then
 
19366
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyaddr" >&5
 
19367
$as_echo "$ac_cv_lib_nsl_gethostbyaddr" >&6; }
 
19368
if test "x$ac_cv_lib_nsl_gethostbyaddr" = x""yes; then
27897
19369
  if test x${OSTYPE} != xirix ; then
27898
19370
      CUPS_LIBS="${CUPS_LIBS} -lnsl"
27899
19371
      LIBS="$LIBS -lnsl"
27902
19374
 
27903
19375
 
27904
19376
            if test "${ac_cv_header_openssl_ssl_h+set}" = set; then
27905
 
  { echo "$as_me:$LINENO: checking for openssl/ssl.h" >&5
27906
 
echo $ECHO_N "checking for openssl/ssl.h... $ECHO_C" >&6; }
 
19377
  { $as_echo "$as_me:$LINENO: checking for openssl/ssl.h" >&5
 
19378
$as_echo_n "checking for openssl/ssl.h... " >&6; }
27907
19379
if test "${ac_cv_header_openssl_ssl_h+set}" = set; then
27908
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
19380
  $as_echo_n "(cached) " >&6
27909
19381
fi
27910
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_openssl_ssl_h" >&5
27911
 
echo "${ECHO_T}$ac_cv_header_openssl_ssl_h" >&6; }
 
19382
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_openssl_ssl_h" >&5
 
19383
$as_echo "$ac_cv_header_openssl_ssl_h" >&6; }
27912
19384
else
27913
19385
  # Is the header compilable?
27914
 
{ echo "$as_me:$LINENO: checking openssl/ssl.h usability" >&5
27915
 
echo $ECHO_N "checking openssl/ssl.h usability... $ECHO_C" >&6; }
 
19386
{ $as_echo "$as_me:$LINENO: checking openssl/ssl.h usability" >&5
 
19387
$as_echo_n "checking openssl/ssl.h usability... " >&6; }
27916
19388
cat >conftest.$ac_ext <<_ACEOF
27917
19389
/* confdefs.h.  */
27918
19390
_ACEOF
27928
19400
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27929
19401
  *) ac_try_echo=$ac_try;;
27930
19402
esac
27931
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19403
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
19404
$as_echo "$ac_try_echo") >&5
27932
19405
  (eval "$ac_compile") 2>conftest.er1
27933
19406
  ac_status=$?
27934
19407
  grep -v '^ *+' conftest.er1 >conftest.err
27935
19408
  rm -f conftest.er1
27936
19409
  cat conftest.err >&5
27937
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19410
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27938
19411
  (exit $ac_status); } && {
27939
19412
         test -z "$ac_c_werror_flag" ||
27940
19413
         test ! -s conftest.err
27941
19414
       } && test -s conftest.$ac_objext; then
27942
19415
  ac_header_compiler=yes
27943
19416
else
27944
 
  echo "$as_me: failed program was:" >&5
 
19417
  $as_echo "$as_me: failed program was:" >&5
27945
19418
sed 's/^/| /' conftest.$ac_ext >&5
27946
19419
 
27947
19420
        ac_header_compiler=no
27948
19421
fi
27949
19422
 
27950
19423
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27951
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27952
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
 
19424
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
19425
$as_echo "$ac_header_compiler" >&6; }
27953
19426
 
27954
19427
# Is the header present?
27955
 
{ echo "$as_me:$LINENO: checking openssl/ssl.h presence" >&5
27956
 
echo $ECHO_N "checking openssl/ssl.h presence... $ECHO_C" >&6; }
 
19428
{ $as_echo "$as_me:$LINENO: checking openssl/ssl.h presence" >&5
 
19429
$as_echo_n "checking openssl/ssl.h presence... " >&6; }
27957
19430
cat >conftest.$ac_ext <<_ACEOF
27958
19431
/* confdefs.h.  */
27959
19432
_ACEOF
27967
19440
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27968
19441
  *) ac_try_echo=$ac_try;;
27969
19442
esac
27970
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19443
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
19444
$as_echo "$ac_try_echo") >&5
27971
19445
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
27972
19446
  ac_status=$?
27973
19447
  grep -v '^ *+' conftest.er1 >conftest.err
27974
19448
  rm -f conftest.er1
27975
19449
  cat conftest.err >&5
27976
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19450
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27977
19451
  (exit $ac_status); } >/dev/null && {
27978
19452
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
27979
19453
         test ! -s conftest.err
27980
19454
       }; then
27981
19455
  ac_header_preproc=yes
27982
19456
else
27983
 
  echo "$as_me: failed program was:" >&5
 
19457
  $as_echo "$as_me: failed program was:" >&5
27984
19458
sed 's/^/| /' conftest.$ac_ext >&5
27985
19459
 
27986
19460
  ac_header_preproc=no
27987
19461
fi
27988
19462
 
27989
19463
rm -f conftest.err conftest.$ac_ext
27990
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27991
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
 
19464
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
19465
$as_echo "$ac_header_preproc" >&6; }
27992
19466
 
27993
19467
# So?  What about this header?
27994
19468
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27995
19469
  yes:no: )
27996
 
    { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: accepted by the compiler, rejected by the preprocessor!" >&5
27997
 
echo "$as_me: WARNING: openssl/ssl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27998
 
    { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: proceeding with the compiler's result" >&5
27999
 
echo "$as_me: WARNING: openssl/ssl.h: proceeding with the compiler's result" >&2;}
 
19470
    { $as_echo "$as_me:$LINENO: WARNING: openssl/ssl.h: accepted by the compiler, rejected by the preprocessor!" >&5
 
19471
$as_echo "$as_me: WARNING: openssl/ssl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
19472
    { $as_echo "$as_me:$LINENO: WARNING: openssl/ssl.h: proceeding with the compiler's result" >&5
 
19473
$as_echo "$as_me: WARNING: openssl/ssl.h: proceeding with the compiler's result" >&2;}
28000
19474
    ac_header_preproc=yes
28001
19475
    ;;
28002
19476
  no:yes:* )
28003
 
    { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: present but cannot be compiled" >&5
28004
 
echo "$as_me: WARNING: openssl/ssl.h: present but cannot be compiled" >&2;}
28005
 
    { echo "$as_me:$LINENO: WARNING: openssl/ssl.h:     check for missing prerequisite headers?" >&5
28006
 
echo "$as_me: WARNING: openssl/ssl.h:     check for missing prerequisite headers?" >&2;}
28007
 
    { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: see the Autoconf documentation" >&5
28008
 
echo "$as_me: WARNING: openssl/ssl.h: see the Autoconf documentation" >&2;}
28009
 
    { echo "$as_me:$LINENO: WARNING: openssl/ssl.h:     section \"Present But Cannot Be Compiled\"" >&5
28010
 
echo "$as_me: WARNING: openssl/ssl.h:     section \"Present But Cannot Be Compiled\"" >&2;}
28011
 
    { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: proceeding with the preprocessor's result" >&5
28012
 
echo "$as_me: WARNING: openssl/ssl.h: proceeding with the preprocessor's result" >&2;}
28013
 
    { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: in the future, the compiler will take precedence" >&5
28014
 
echo "$as_me: WARNING: openssl/ssl.h: in the future, the compiler will take precedence" >&2;}
 
19477
    { $as_echo "$as_me:$LINENO: WARNING: openssl/ssl.h: present but cannot be compiled" >&5
 
19478
$as_echo "$as_me: WARNING: openssl/ssl.h: present but cannot be compiled" >&2;}
 
19479
    { $as_echo "$as_me:$LINENO: WARNING: openssl/ssl.h:     check for missing prerequisite headers?" >&5
 
19480
$as_echo "$as_me: WARNING: openssl/ssl.h:     check for missing prerequisite headers?" >&2;}
 
19481
    { $as_echo "$as_me:$LINENO: WARNING: openssl/ssl.h: see the Autoconf documentation" >&5
 
19482
$as_echo "$as_me: WARNING: openssl/ssl.h: see the Autoconf documentation" >&2;}
 
19483
    { $as_echo "$as_me:$LINENO: WARNING: openssl/ssl.h:     section \"Present But Cannot Be Compiled\"" >&5
 
19484
$as_echo "$as_me: WARNING: openssl/ssl.h:     section \"Present But Cannot Be Compiled\"" >&2;}
 
19485
    { $as_echo "$as_me:$LINENO: WARNING: openssl/ssl.h: proceeding with the preprocessor's result" >&5
 
19486
$as_echo "$as_me: WARNING: openssl/ssl.h: proceeding with the preprocessor's result" >&2;}
 
19487
    { $as_echo "$as_me:$LINENO: WARNING: openssl/ssl.h: in the future, the compiler will take precedence" >&5
 
19488
$as_echo "$as_me: WARNING: openssl/ssl.h: in the future, the compiler will take precedence" >&2;}
28015
19489
    ( cat <<\_ASBOX
28016
19490
## ----------------------------------------------------- ##
28017
19491
## Report this to gimp-print-devel@lists.sourceforge.net ##
28020
19494
     ) | sed "s/^/$as_me: WARNING:     /" >&2
28021
19495
    ;;
28022
19496
esac
28023
 
{ echo "$as_me:$LINENO: checking for openssl/ssl.h" >&5
28024
 
echo $ECHO_N "checking for openssl/ssl.h... $ECHO_C" >&6; }
 
19497
{ $as_echo "$as_me:$LINENO: checking for openssl/ssl.h" >&5
 
19498
$as_echo_n "checking for openssl/ssl.h... " >&6; }
28025
19499
if test "${ac_cv_header_openssl_ssl_h+set}" = set; then
28026
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
19500
  $as_echo_n "(cached) " >&6
28027
19501
else
28028
19502
  ac_cv_header_openssl_ssl_h=$ac_header_preproc
28029
19503
fi
28030
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_openssl_ssl_h" >&5
28031
 
echo "${ECHO_T}$ac_cv_header_openssl_ssl_h" >&6; }
 
19504
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_openssl_ssl_h" >&5
 
19505
$as_echo "$ac_cv_header_openssl_ssl_h" >&6; }
28032
19506
 
28033
19507
fi
28034
 
if test $ac_cv_header_openssl_ssl_h = yes; then
 
19508
if test "x$ac_cv_header_openssl_ssl_h" = x""yes; then
28035
19509
 
28036
19510
      SSL="no"
28037
19511
 
28040
19514
          "-lcrypto -lrsaref" \
28041
19515
          "-lcrypto -lRSAglue -lrsaref"
28042
19516
      do
28043
 
          { echo "$as_me:$LINENO: checking for SSL_new in -lssl" >&5
28044
 
echo $ECHO_N "checking for SSL_new in -lssl... $ECHO_C" >&6; }
 
19517
          { $as_echo "$as_me:$LINENO: checking for SSL_new in -lssl" >&5
 
19518
$as_echo_n "checking for SSL_new in -lssl... " >&6; }
28045
19519
if test "${ac_cv_lib_ssl_SSL_new+set}" = set; then
28046
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
19520
  $as_echo_n "(cached) " >&6
28047
19521
else
28048
19522
  ac_check_lib_save_LIBS=$LIBS
28049
19523
LIBS="-lssl $libcrypto $LIBS"
28075
19549
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28076
19550
  *) ac_try_echo=$ac_try;;
28077
19551
esac
28078
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19552
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
19553
$as_echo "$ac_try_echo") >&5
28079
19554
  (eval "$ac_link") 2>conftest.er1
28080
19555
  ac_status=$?
28081
19556
  grep -v '^ *+' conftest.er1 >conftest.err
28082
19557
  rm -f conftest.er1
28083
19558
  cat conftest.err >&5
28084
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19559
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28085
19560
  (exit $ac_status); } && {
28086
19561
         test -z "$ac_c_werror_flag" ||
28087
19562
         test ! -s conftest.err
28088
 
       } && test -s conftest$ac_exeext &&
28089
 
       $as_test_x conftest$ac_exeext; then
 
19563
       } && test -s conftest$ac_exeext && {
 
19564
         test "$cross_compiling" = yes ||
 
19565
         $as_test_x conftest$ac_exeext
 
19566
       }; then
28090
19567
  ac_cv_lib_ssl_SSL_new=yes
28091
19568
else
28092
 
  echo "$as_me: failed program was:" >&5
 
19569
  $as_echo "$as_me: failed program was:" >&5
28093
19570
sed 's/^/| /' conftest.$ac_ext >&5
28094
19571
 
28095
19572
        ac_cv_lib_ssl_SSL_new=no
28096
19573
fi
28097
19574
 
 
19575
rm -rf conftest.dSYM
28098
19576
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28099
19577
      conftest$ac_exeext conftest.$ac_ext
28100
19578
LIBS=$ac_check_lib_save_LIBS
28101
19579
fi
28102
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_ssl_SSL_new" >&5
28103
 
echo "${ECHO_T}$ac_cv_lib_ssl_SSL_new" >&6; }
28104
 
if test $ac_cv_lib_ssl_SSL_new = yes; then
 
19580
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ssl_SSL_new" >&5
 
19581
$as_echo "$ac_cv_lib_ssl_SSL_new" >&6; }
 
19582
if test "x$ac_cv_lib_ssl_SSL_new" = x""yes; then
28105
19583
  CUPS_LIBS="${CUPS_LIBS} -lssl $libcrypto"
28106
19584
               SSL="yes"
28107
19585
fi
28115
19593
 
28116
19594
 
28117
19595
 
28118
 
        { echo "$as_me:$LINENO: checking for cupsPrintFiles in -lcups" >&5
28119
 
echo $ECHO_N "checking for cupsPrintFiles in -lcups... $ECHO_C" >&6; }
 
19596
        { $as_echo "$as_me:$LINENO: checking for cupsPrintFiles in -lcups" >&5
 
19597
$as_echo_n "checking for cupsPrintFiles in -lcups... " >&6; }
28120
19598
if test "${ac_cv_lib_cups_cupsPrintFiles+set}" = set; then
28121
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
19599
  $as_echo_n "(cached) " >&6
28122
19600
else
28123
19601
  ac_check_lib_save_LIBS=$LIBS
28124
19602
LIBS="-lcups  $LIBS"
28150
19628
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28151
19629
  *) ac_try_echo=$ac_try;;
28152
19630
esac
28153
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19631
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
19632
$as_echo "$ac_try_echo") >&5
28154
19633
  (eval "$ac_link") 2>conftest.er1
28155
19634
  ac_status=$?
28156
19635
  grep -v '^ *+' conftest.er1 >conftest.err
28157
19636
  rm -f conftest.er1
28158
19637
  cat conftest.err >&5
28159
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19638
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28160
19639
  (exit $ac_status); } && {
28161
19640
         test -z "$ac_c_werror_flag" ||
28162
19641
         test ! -s conftest.err
28163
 
       } && test -s conftest$ac_exeext &&
28164
 
       $as_test_x conftest$ac_exeext; then
 
19642
       } && test -s conftest$ac_exeext && {
 
19643
         test "$cross_compiling" = yes ||
 
19644
         $as_test_x conftest$ac_exeext
 
19645
       }; then
28165
19646
  ac_cv_lib_cups_cupsPrintFiles=yes
28166
19647
else
28167
 
  echo "$as_me: failed program was:" >&5
 
19648
  $as_echo "$as_me: failed program was:" >&5
28168
19649
sed 's/^/| /' conftest.$ac_ext >&5
28169
19650
 
28170
19651
        ac_cv_lib_cups_cupsPrintFiles=no
28171
19652
fi
28172
19653
 
 
19654
rm -rf conftest.dSYM
28173
19655
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28174
19656
      conftest$ac_exeext conftest.$ac_ext
28175
19657
LIBS=$ac_check_lib_save_LIBS
28176
19658
fi
28177
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_cups_cupsPrintFiles" >&5
28178
 
echo "${ECHO_T}$ac_cv_lib_cups_cupsPrintFiles" >&6; }
28179
 
if test $ac_cv_lib_cups_cupsPrintFiles = yes; then
 
19659
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_cups_cupsPrintFiles" >&5
 
19660
$as_echo "$ac_cv_lib_cups_cupsPrintFiles" >&6; }
 
19661
if test "x$ac_cv_lib_cups_cupsPrintFiles" = x""yes; then
28180
19662
  CUPS_LIBS="${CUPS_LIBS} -lcups"
28181
19663
else
28182
19664
  LIBS="$LIBS -lcups"
28183
 
      { { echo "$as_me:$LINENO: error: Cannot find CUPS libraries (libcups)" >&5
28184
 
echo "$as_me: error: Cannot find CUPS libraries (libcups)" >&2;}
 
19665
      { { $as_echo "$as_me:$LINENO: error: Cannot find CUPS libraries (libcups)" >&5
 
19666
$as_echo "$as_me: error: Cannot find CUPS libraries (libcups)" >&2;}
28185
19667
   { (exit 1); exit 1; }; }
28186
19668
fi
28187
19669
 
28188
 
    { echo "$as_me:$LINENO: checking for cupsRasterOpen in -lcupsimage" >&5
28189
 
echo $ECHO_N "checking for cupsRasterOpen in -lcupsimage... $ECHO_C" >&6; }
 
19670
    { $as_echo "$as_me:$LINENO: checking for cupsRasterOpen in -lcupsimage" >&5
 
19671
$as_echo_n "checking for cupsRasterOpen in -lcupsimage... " >&6; }
28190
19672
if test "${ac_cv_lib_cupsimage_cupsRasterOpen+set}" = set; then
28191
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
19673
  $as_echo_n "(cached) " >&6
28192
19674
else
28193
19675
  ac_check_lib_save_LIBS=$LIBS
28194
19676
LIBS="-lcupsimage -lcups $LIBS"
28220
19702
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28221
19703
  *) ac_try_echo=$ac_try;;
28222
19704
esac
28223
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19705
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
19706
$as_echo "$ac_try_echo") >&5
28224
19707
  (eval "$ac_link") 2>conftest.er1
28225
19708
  ac_status=$?
28226
19709
  grep -v '^ *+' conftest.er1 >conftest.err
28227
19710
  rm -f conftest.er1
28228
19711
  cat conftest.err >&5
28229
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19712
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28230
19713
  (exit $ac_status); } && {
28231
19714
         test -z "$ac_c_werror_flag" ||
28232
19715
         test ! -s conftest.err
28233
 
       } && test -s conftest$ac_exeext &&
28234
 
       $as_test_x conftest$ac_exeext; then
 
19716
       } && test -s conftest$ac_exeext && {
 
19717
         test "$cross_compiling" = yes ||
 
19718
         $as_test_x conftest$ac_exeext
 
19719
       }; then
28235
19720
  ac_cv_lib_cupsimage_cupsRasterOpen=yes
28236
19721
else
28237
 
  echo "$as_me: failed program was:" >&5
 
19722
  $as_echo "$as_me: failed program was:" >&5
28238
19723
sed 's/^/| /' conftest.$ac_ext >&5
28239
19724
 
28240
19725
        ac_cv_lib_cupsimage_cupsRasterOpen=no
28241
19726
fi
28242
19727
 
 
19728
rm -rf conftest.dSYM
28243
19729
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28244
19730
      conftest$ac_exeext conftest.$ac_ext
28245
19731
LIBS=$ac_check_lib_save_LIBS
28246
19732
fi
28247
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_cupsimage_cupsRasterOpen" >&5
28248
 
echo "${ECHO_T}$ac_cv_lib_cupsimage_cupsRasterOpen" >&6; }
28249
 
if test $ac_cv_lib_cupsimage_cupsRasterOpen = yes; then
 
19733
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_cupsimage_cupsRasterOpen" >&5
 
19734
$as_echo "$ac_cv_lib_cupsimage_cupsRasterOpen" >&6; }
 
19735
if test "x$ac_cv_lib_cupsimage_cupsRasterOpen" = x""yes; then
28250
19736
  CUPS_LIBS="${CUPS_LIBS} -lcupsimage"
28251
19737
else
28252
 
  { { echo "$as_me:$LINENO: error: Cannot find CUPS libraries (libcupsimage)" >&5
28253
 
echo "$as_me: error: Cannot find CUPS libraries (libcupsimage)" >&2;}
 
19738
  { { $as_echo "$as_me:$LINENO: error: Cannot find CUPS libraries (libcupsimage)" >&5
 
19739
$as_echo "$as_me: error: Cannot find CUPS libraries (libcupsimage)" >&2;}
28254
19740
   { (exit 1); exit 1; }; }
28255
19741
fi
28256
19742
 
28272
19758
fi
28273
19759
 
28274
19760
 
28275
 
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
28276
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
 
19761
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
19762
$as_echo_n "checking for ANSI C header files... " >&6; }
28277
19763
if test "${ac_cv_header_stdc+set}" = set; then
28278
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
19764
  $as_echo_n "(cached) " >&6
28279
19765
else
28280
19766
  cat >conftest.$ac_ext <<_ACEOF
28281
19767
/* confdefs.h.  */
28302
19788
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28303
19789
  *) ac_try_echo=$ac_try;;
28304
19790
esac
28305
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19791
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
19792
$as_echo "$ac_try_echo") >&5
28306
19793
  (eval "$ac_compile") 2>conftest.er1
28307
19794
  ac_status=$?
28308
19795
  grep -v '^ *+' conftest.er1 >conftest.err
28309
19796
  rm -f conftest.er1
28310
19797
  cat conftest.err >&5
28311
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19798
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28312
19799
  (exit $ac_status); } && {
28313
19800
         test -z "$ac_c_werror_flag" ||
28314
19801
         test ! -s conftest.err
28315
19802
       } && test -s conftest.$ac_objext; then
28316
19803
  ac_cv_header_stdc=yes
28317
19804
else
28318
 
  echo "$as_me: failed program was:" >&5
 
19805
  $as_echo "$as_me: failed program was:" >&5
28319
19806
sed 's/^/| /' conftest.$ac_ext >&5
28320
19807
 
28321
19808
        ac_cv_header_stdc=no
28407
19894
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28408
19895
  *) ac_try_echo=$ac_try;;
28409
19896
esac
28410
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19897
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
19898
$as_echo "$ac_try_echo") >&5
28411
19899
  (eval "$ac_link") 2>&5
28412
19900
  ac_status=$?
28413
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19901
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28414
19902
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28415
19903
  { (case "(($ac_try" in
28416
19904
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28417
19905
  *) ac_try_echo=$ac_try;;
28418
19906
esac
28419
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19907
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
19908
$as_echo "$ac_try_echo") >&5
28420
19909
  (eval "$ac_try") 2>&5
28421
19910
  ac_status=$?
28422
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19911
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28423
19912
  (exit $ac_status); }; }; then
28424
19913
  :
28425
19914
else
28426
 
  echo "$as_me: program exited with status $ac_status" >&5
28427
 
echo "$as_me: failed program was:" >&5
 
19915
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
19916
$as_echo "$as_me: failed program was:" >&5
28428
19917
sed 's/^/| /' conftest.$ac_ext >&5
28429
19918
 
28430
19919
( exit $ac_status )
28431
19920
ac_cv_header_stdc=no
28432
19921
fi
 
19922
rm -rf conftest.dSYM
28433
19923
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28434
19924
fi
28435
19925
 
28436
19926
 
28437
19927
fi
28438
19928
fi
28439
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
28440
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
 
19929
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
19930
$as_echo "$ac_cv_header_stdc" >&6; }
28441
19931
if test $ac_cv_header_stdc = yes; then
28442
19932
 
28443
19933
cat >>confdefs.h <<\_ACEOF
28449
19939
 
28450
19940
for ac_header in getopt.h
28451
19941
do
28452
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28453
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28454
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
28455
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
28456
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28457
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
19942
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
19943
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
19944
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
19945
$as_echo_n "checking for $ac_header... " >&6; }
 
19946
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
19947
  $as_echo_n "(cached) " >&6
28458
19948
fi
28459
 
ac_res=`eval echo '${'$as_ac_Header'}'`
28460
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
28461
 
echo "${ECHO_T}$ac_res" >&6; }
 
19949
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
19950
                 $as_echo "$as_val"'`
 
19951
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
19952
$as_echo "$ac_res" >&6; }
28462
19953
else
28463
19954
  # Is the header compilable?
28464
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
28465
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
 
19955
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
19956
$as_echo_n "checking $ac_header usability... " >&6; }
28466
19957
cat >conftest.$ac_ext <<_ACEOF
28467
19958
/* confdefs.h.  */
28468
19959
_ACEOF
28478
19969
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28479
19970
  *) ac_try_echo=$ac_try;;
28480
19971
esac
28481
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19972
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
19973
$as_echo "$ac_try_echo") >&5
28482
19974
  (eval "$ac_compile") 2>conftest.er1
28483
19975
  ac_status=$?
28484
19976
  grep -v '^ *+' conftest.er1 >conftest.err
28485
19977
  rm -f conftest.er1
28486
19978
  cat conftest.err >&5
28487
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19979
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28488
19980
  (exit $ac_status); } && {
28489
19981
         test -z "$ac_c_werror_flag" ||
28490
19982
         test ! -s conftest.err
28491
19983
       } && test -s conftest.$ac_objext; then
28492
19984
  ac_header_compiler=yes
28493
19985
else
28494
 
  echo "$as_me: failed program was:" >&5
 
19986
  $as_echo "$as_me: failed program was:" >&5
28495
19987
sed 's/^/| /' conftest.$ac_ext >&5
28496
19988
 
28497
19989
        ac_header_compiler=no
28498
19990
fi
28499
19991
 
28500
19992
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28501
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28502
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
 
19993
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
19994
$as_echo "$ac_header_compiler" >&6; }
28503
19995
 
28504
19996
# Is the header present?
28505
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
28506
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
 
19997
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
19998
$as_echo_n "checking $ac_header presence... " >&6; }
28507
19999
cat >conftest.$ac_ext <<_ACEOF
28508
20000
/* confdefs.h.  */
28509
20001
_ACEOF
28517
20009
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28518
20010
  *) ac_try_echo=$ac_try;;
28519
20011
esac
28520
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20012
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
20013
$as_echo "$ac_try_echo") >&5
28521
20014
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28522
20015
  ac_status=$?
28523
20016
  grep -v '^ *+' conftest.er1 >conftest.err
28524
20017
  rm -f conftest.er1
28525
20018
  cat conftest.err >&5
28526
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20019
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28527
20020
  (exit $ac_status); } >/dev/null && {
28528
20021
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
28529
20022
         test ! -s conftest.err
28530
20023
       }; then
28531
20024
  ac_header_preproc=yes
28532
20025
else
28533
 
  echo "$as_me: failed program was:" >&5
 
20026
  $as_echo "$as_me: failed program was:" >&5
28534
20027
sed 's/^/| /' conftest.$ac_ext >&5
28535
20028
 
28536
20029
  ac_header_preproc=no
28537
20030
fi
28538
20031
 
28539
20032
rm -f conftest.err conftest.$ac_ext
28540
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28541
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
 
20033
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
20034
$as_echo "$ac_header_preproc" >&6; }
28542
20035
 
28543
20036
# So?  What about this header?
28544
20037
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28545
20038
  yes:no: )
28546
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28547
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28548
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
28549
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
20039
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
20040
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
20041
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
20042
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
28550
20043
    ac_header_preproc=yes
28551
20044
    ;;
28552
20045
  no:yes:* )
28553
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28554
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28555
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
28556
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
28557
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
28558
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
28559
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
28560
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
28561
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28562
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28563
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
28564
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
20046
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
20047
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
20048
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
20049
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
20050
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
20051
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
20052
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
20053
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
20054
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
20055
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
20056
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
20057
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
28565
20058
    ( cat <<\_ASBOX
28566
20059
## ----------------------------------------------------- ##
28567
20060
## Report this to gimp-print-devel@lists.sourceforge.net ##
28570
20063
     ) | sed "s/^/$as_me: WARNING:     /" >&2
28571
20064
    ;;
28572
20065
esac
28573
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
28574
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
20066
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
20067
$as_echo_n "checking for $ac_header... " >&6; }
28575
20068
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28576
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20069
  $as_echo_n "(cached) " >&6
28577
20070
else
28578
20071
  eval "$as_ac_Header=\$ac_header_preproc"
28579
20072
fi
28580
 
ac_res=`eval echo '${'$as_ac_Header'}'`
28581
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
28582
 
echo "${ECHO_T}$ac_res" >&6; }
 
20073
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
20074
                 $as_echo "$as_val"'`
 
20075
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
20076
$as_echo "$ac_res" >&6; }
28583
20077
 
28584
20078
fi
28585
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
20079
as_val=`eval 'as_val=${'$as_ac_Header'}
 
20080
                 $as_echo "$as_val"'`
 
20081
   if test "x$as_val" = x""yes; then
28586
20082
  cat >>confdefs.h <<_ACEOF
28587
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
20083
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
28588
20084
_ACEOF
28589
20085
 
28590
20086
fi
28592
20088
done
28593
20089
 
28594
20090
if test "${ac_cv_header_readline_readline_h+set}" = set; then
28595
 
  { echo "$as_me:$LINENO: checking for readline/readline.h" >&5
28596
 
echo $ECHO_N "checking for readline/readline.h... $ECHO_C" >&6; }
 
20091
  { $as_echo "$as_me:$LINENO: checking for readline/readline.h" >&5
 
20092
$as_echo_n "checking for readline/readline.h... " >&6; }
28597
20093
if test "${ac_cv_header_readline_readline_h+set}" = set; then
28598
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20094
  $as_echo_n "(cached) " >&6
28599
20095
fi
28600
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_readline_readline_h" >&5
28601
 
echo "${ECHO_T}$ac_cv_header_readline_readline_h" >&6; }
 
20096
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_readline_readline_h" >&5
 
20097
$as_echo "$ac_cv_header_readline_readline_h" >&6; }
28602
20098
else
28603
20099
  # Is the header compilable?
28604
 
{ echo "$as_me:$LINENO: checking readline/readline.h usability" >&5
28605
 
echo $ECHO_N "checking readline/readline.h usability... $ECHO_C" >&6; }
 
20100
{ $as_echo "$as_me:$LINENO: checking readline/readline.h usability" >&5
 
20101
$as_echo_n "checking readline/readline.h usability... " >&6; }
28606
20102
cat >conftest.$ac_ext <<_ACEOF
28607
20103
/* confdefs.h.  */
28608
20104
_ACEOF
28618
20114
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28619
20115
  *) ac_try_echo=$ac_try;;
28620
20116
esac
28621
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20117
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
20118
$as_echo "$ac_try_echo") >&5
28622
20119
  (eval "$ac_compile") 2>conftest.er1
28623
20120
  ac_status=$?
28624
20121
  grep -v '^ *+' conftest.er1 >conftest.err
28625
20122
  rm -f conftest.er1
28626
20123
  cat conftest.err >&5
28627
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20124
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28628
20125
  (exit $ac_status); } && {
28629
20126
         test -z "$ac_c_werror_flag" ||
28630
20127
         test ! -s conftest.err
28631
20128
       } && test -s conftest.$ac_objext; then
28632
20129
  ac_header_compiler=yes
28633
20130
else
28634
 
  echo "$as_me: failed program was:" >&5
 
20131
  $as_echo "$as_me: failed program was:" >&5
28635
20132
sed 's/^/| /' conftest.$ac_ext >&5
28636
20133
 
28637
20134
        ac_header_compiler=no
28638
20135
fi
28639
20136
 
28640
20137
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28641
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28642
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
 
20138
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
20139
$as_echo "$ac_header_compiler" >&6; }
28643
20140
 
28644
20141
# Is the header present?
28645
 
{ echo "$as_me:$LINENO: checking readline/readline.h presence" >&5
28646
 
echo $ECHO_N "checking readline/readline.h presence... $ECHO_C" >&6; }
 
20142
{ $as_echo "$as_me:$LINENO: checking readline/readline.h presence" >&5
 
20143
$as_echo_n "checking readline/readline.h presence... " >&6; }
28647
20144
cat >conftest.$ac_ext <<_ACEOF
28648
20145
/* confdefs.h.  */
28649
20146
_ACEOF
28657
20154
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28658
20155
  *) ac_try_echo=$ac_try;;
28659
20156
esac
28660
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20157
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
20158
$as_echo "$ac_try_echo") >&5
28661
20159
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28662
20160
  ac_status=$?
28663
20161
  grep -v '^ *+' conftest.er1 >conftest.err
28664
20162
  rm -f conftest.er1
28665
20163
  cat conftest.err >&5
28666
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20164
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28667
20165
  (exit $ac_status); } >/dev/null && {
28668
20166
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
28669
20167
         test ! -s conftest.err
28670
20168
       }; then
28671
20169
  ac_header_preproc=yes
28672
20170
else
28673
 
  echo "$as_me: failed program was:" >&5
 
20171
  $as_echo "$as_me: failed program was:" >&5
28674
20172
sed 's/^/| /' conftest.$ac_ext >&5
28675
20173
 
28676
20174
  ac_header_preproc=no
28677
20175
fi
28678
20176
 
28679
20177
rm -f conftest.err conftest.$ac_ext
28680
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28681
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
 
20178
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
20179
$as_echo "$ac_header_preproc" >&6; }
28682
20180
 
28683
20181
# So?  What about this header?
28684
20182
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28685
20183
  yes:no: )
28686
 
    { echo "$as_me:$LINENO: WARNING: readline/readline.h: accepted by the compiler, rejected by the preprocessor!" >&5
28687
 
echo "$as_me: WARNING: readline/readline.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28688
 
    { echo "$as_me:$LINENO: WARNING: readline/readline.h: proceeding with the compiler's result" >&5
28689
 
echo "$as_me: WARNING: readline/readline.h: proceeding with the compiler's result" >&2;}
 
20184
    { $as_echo "$as_me:$LINENO: WARNING: readline/readline.h: accepted by the compiler, rejected by the preprocessor!" >&5
 
20185
$as_echo "$as_me: WARNING: readline/readline.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
20186
    { $as_echo "$as_me:$LINENO: WARNING: readline/readline.h: proceeding with the compiler's result" >&5
 
20187
$as_echo "$as_me: WARNING: readline/readline.h: proceeding with the compiler's result" >&2;}
28690
20188
    ac_header_preproc=yes
28691
20189
    ;;
28692
20190
  no:yes:* )
28693
 
    { echo "$as_me:$LINENO: WARNING: readline/readline.h: present but cannot be compiled" >&5
28694
 
echo "$as_me: WARNING: readline/readline.h: present but cannot be compiled" >&2;}
28695
 
    { echo "$as_me:$LINENO: WARNING: readline/readline.h:     check for missing prerequisite headers?" >&5
28696
 
echo "$as_me: WARNING: readline/readline.h:     check for missing prerequisite headers?" >&2;}
28697
 
    { echo "$as_me:$LINENO: WARNING: readline/readline.h: see the Autoconf documentation" >&5
28698
 
echo "$as_me: WARNING: readline/readline.h: see the Autoconf documentation" >&2;}
28699
 
    { echo "$as_me:$LINENO: WARNING: readline/readline.h:     section \"Present But Cannot Be Compiled\"" >&5
28700
 
echo "$as_me: WARNING: readline/readline.h:     section \"Present But Cannot Be Compiled\"" >&2;}
28701
 
    { echo "$as_me:$LINENO: WARNING: readline/readline.h: proceeding with the preprocessor's result" >&5
28702
 
echo "$as_me: WARNING: readline/readline.h: proceeding with the preprocessor's result" >&2;}
28703
 
    { echo "$as_me:$LINENO: WARNING: readline/readline.h: in the future, the compiler will take precedence" >&5
28704
 
echo "$as_me: WARNING: readline/readline.h: in the future, the compiler will take precedence" >&2;}
 
20191
    { $as_echo "$as_me:$LINENO: WARNING: readline/readline.h: present but cannot be compiled" >&5
 
20192
$as_echo "$as_me: WARNING: readline/readline.h: present but cannot be compiled" >&2;}
 
20193
    { $as_echo "$as_me:$LINENO: WARNING: readline/readline.h:     check for missing prerequisite headers?" >&5
 
20194
$as_echo "$as_me: WARNING: readline/readline.h:     check for missing prerequisite headers?" >&2;}
 
20195
    { $as_echo "$as_me:$LINENO: WARNING: readline/readline.h: see the Autoconf documentation" >&5
 
20196
$as_echo "$as_me: WARNING: readline/readline.h: see the Autoconf documentation" >&2;}
 
20197
    { $as_echo "$as_me:$LINENO: WARNING: readline/readline.h:     section \"Present But Cannot Be Compiled\"" >&5
 
20198
$as_echo "$as_me: WARNING: readline/readline.h:     section \"Present But Cannot Be Compiled\"" >&2;}
 
20199
    { $as_echo "$as_me:$LINENO: WARNING: readline/readline.h: proceeding with the preprocessor's result" >&5
 
20200
$as_echo "$as_me: WARNING: readline/readline.h: proceeding with the preprocessor's result" >&2;}
 
20201
    { $as_echo "$as_me:$LINENO: WARNING: readline/readline.h: in the future, the compiler will take precedence" >&5
 
20202
$as_echo "$as_me: WARNING: readline/readline.h: in the future, the compiler will take precedence" >&2;}
28705
20203
    ( cat <<\_ASBOX
28706
20204
## ----------------------------------------------------- ##
28707
20205
## Report this to gimp-print-devel@lists.sourceforge.net ##
28710
20208
     ) | sed "s/^/$as_me: WARNING:     /" >&2
28711
20209
    ;;
28712
20210
esac
28713
 
{ echo "$as_me:$LINENO: checking for readline/readline.h" >&5
28714
 
echo $ECHO_N "checking for readline/readline.h... $ECHO_C" >&6; }
 
20211
{ $as_echo "$as_me:$LINENO: checking for readline/readline.h" >&5
 
20212
$as_echo_n "checking for readline/readline.h... " >&6; }
28715
20213
if test "${ac_cv_header_readline_readline_h+set}" = set; then
28716
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20214
  $as_echo_n "(cached) " >&6
28717
20215
else
28718
20216
  ac_cv_header_readline_readline_h=$ac_header_preproc
28719
20217
fi
28720
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_readline_readline_h" >&5
28721
 
echo "${ECHO_T}$ac_cv_header_readline_readline_h" >&6; }
 
20218
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_readline_readline_h" >&5
 
20219
$as_echo "$ac_cv_header_readline_readline_h" >&6; }
28722
20220
 
28723
20221
fi
28724
 
if test $ac_cv_header_readline_readline_h = yes; then
 
20222
if test "x$ac_cv_header_readline_readline_h" = x""yes; then
28725
20223
  HAVE_READLINE_READLINE_H=true
28726
20224
else
28727
20225
  HAVE_READLINE_READLINE_H=false
28731
20229
if test x${HAVE_READLINE_READLINE_H} = xtrue ; then
28732
20230
 
28733
20231
cat >>confdefs.h <<\_ACEOF
28734
 
#define HAVE_READLINE_READLINE_H
 
20232
#define HAVE_READLINE_READLINE_H /**/
28735
20233
_ACEOF
28736
20234
 
28737
20235
  if test x${HAVE_LIBREADLINE} = xtrue ; then
28741
20239
 
28742
20240
for ac_header in dlfcn.h
28743
20241
do
28744
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28745
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28746
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
28747
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
28748
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28749
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20242
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
20243
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
20244
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
20245
$as_echo_n "checking for $ac_header... " >&6; }
 
20246
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
20247
  $as_echo_n "(cached) " >&6
28750
20248
fi
28751
 
ac_res=`eval echo '${'$as_ac_Header'}'`
28752
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
28753
 
echo "${ECHO_T}$ac_res" >&6; }
 
20249
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
20250
                 $as_echo "$as_val"'`
 
20251
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
20252
$as_echo "$ac_res" >&6; }
28754
20253
else
28755
20254
  # Is the header compilable?
28756
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
28757
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
 
20255
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
20256
$as_echo_n "checking $ac_header usability... " >&6; }
28758
20257
cat >conftest.$ac_ext <<_ACEOF
28759
20258
/* confdefs.h.  */
28760
20259
_ACEOF
28770
20269
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28771
20270
  *) ac_try_echo=$ac_try;;
28772
20271
esac
28773
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20272
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
20273
$as_echo "$ac_try_echo") >&5
28774
20274
  (eval "$ac_compile") 2>conftest.er1
28775
20275
  ac_status=$?
28776
20276
  grep -v '^ *+' conftest.er1 >conftest.err
28777
20277
  rm -f conftest.er1
28778
20278
  cat conftest.err >&5
28779
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20279
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28780
20280
  (exit $ac_status); } && {
28781
20281
         test -z "$ac_c_werror_flag" ||
28782
20282
         test ! -s conftest.err
28783
20283
       } && test -s conftest.$ac_objext; then
28784
20284
  ac_header_compiler=yes
28785
20285
else
28786
 
  echo "$as_me: failed program was:" >&5
 
20286
  $as_echo "$as_me: failed program was:" >&5
28787
20287
sed 's/^/| /' conftest.$ac_ext >&5
28788
20288
 
28789
20289
        ac_header_compiler=no
28790
20290
fi
28791
20291
 
28792
20292
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28793
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28794
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
 
20293
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
20294
$as_echo "$ac_header_compiler" >&6; }
28795
20295
 
28796
20296
# Is the header present?
28797
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
28798
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
 
20297
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
20298
$as_echo_n "checking $ac_header presence... " >&6; }
28799
20299
cat >conftest.$ac_ext <<_ACEOF
28800
20300
/* confdefs.h.  */
28801
20301
_ACEOF
28809
20309
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28810
20310
  *) ac_try_echo=$ac_try;;
28811
20311
esac
28812
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20312
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
20313
$as_echo "$ac_try_echo") >&5
28813
20314
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28814
20315
  ac_status=$?
28815
20316
  grep -v '^ *+' conftest.er1 >conftest.err
28816
20317
  rm -f conftest.er1
28817
20318
  cat conftest.err >&5
28818
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20319
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28819
20320
  (exit $ac_status); } >/dev/null && {
28820
20321
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
28821
20322
         test ! -s conftest.err
28822
20323
       }; then
28823
20324
  ac_header_preproc=yes
28824
20325
else
28825
 
  echo "$as_me: failed program was:" >&5
 
20326
  $as_echo "$as_me: failed program was:" >&5
28826
20327
sed 's/^/| /' conftest.$ac_ext >&5
28827
20328
 
28828
20329
  ac_header_preproc=no
28829
20330
fi
28830
20331
 
28831
20332
rm -f conftest.err conftest.$ac_ext
28832
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28833
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
 
20333
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
20334
$as_echo "$ac_header_preproc" >&6; }
28834
20335
 
28835
20336
# So?  What about this header?
28836
20337
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28837
20338
  yes:no: )
28838
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28839
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28840
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
28841
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
20339
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
20340
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
20341
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
20342
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
28842
20343
    ac_header_preproc=yes
28843
20344
    ;;
28844
20345
  no:yes:* )
28845
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28846
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28847
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
28848
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
28849
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
28850
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
28851
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
28852
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
28853
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28854
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28855
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
28856
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
20346
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
20347
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
20348
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
20349
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
20350
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
20351
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
20352
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
20353
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
20354
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
20355
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
20356
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
20357
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
28857
20358
    ( cat <<\_ASBOX
28858
20359
## ----------------------------------------------------- ##
28859
20360
## Report this to gimp-print-devel@lists.sourceforge.net ##
28862
20363
     ) | sed "s/^/$as_me: WARNING:     /" >&2
28863
20364
    ;;
28864
20365
esac
28865
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
28866
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
20366
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
20367
$as_echo_n "checking for $ac_header... " >&6; }
28867
20368
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28868
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20369
  $as_echo_n "(cached) " >&6
28869
20370
else
28870
20371
  eval "$as_ac_Header=\$ac_header_preproc"
28871
20372
fi
28872
 
ac_res=`eval echo '${'$as_ac_Header'}'`
28873
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
28874
 
echo "${ECHO_T}$ac_res" >&6; }
 
20373
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
20374
                 $as_echo "$as_val"'`
 
20375
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
20376
$as_echo "$ac_res" >&6; }
28875
20377
 
28876
20378
fi
28877
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
20379
as_val=`eval 'as_val=${'$as_ac_Header'}
 
20380
                 $as_echo "$as_val"'`
 
20381
   if test "x$as_val" = x""yes; then
28878
20382
  cat >>confdefs.h <<_ACEOF
28879
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
20383
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
28880
20384
_ACEOF
28881
20385
 HAVE_DLFCN_H=true
28882
20386
fi
28886
20390
 
28887
20391
for ac_header in fcntl.h
28888
20392
do
28889
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28890
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28891
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
28892
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
28893
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28894
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20393
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
20394
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
20395
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
20396
$as_echo_n "checking for $ac_header... " >&6; }
 
20397
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
20398
  $as_echo_n "(cached) " >&6
28895
20399
fi
28896
 
ac_res=`eval echo '${'$as_ac_Header'}'`
28897
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
28898
 
echo "${ECHO_T}$ac_res" >&6; }
 
20400
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
20401
                 $as_echo "$as_val"'`
 
20402
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
20403
$as_echo "$ac_res" >&6; }
28899
20404
else
28900
20405
  # Is the header compilable?
28901
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
28902
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
 
20406
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
20407
$as_echo_n "checking $ac_header usability... " >&6; }
28903
20408
cat >conftest.$ac_ext <<_ACEOF
28904
20409
/* confdefs.h.  */
28905
20410
_ACEOF
28915
20420
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28916
20421
  *) ac_try_echo=$ac_try;;
28917
20422
esac
28918
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20423
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
20424
$as_echo "$ac_try_echo") >&5
28919
20425
  (eval "$ac_compile") 2>conftest.er1
28920
20426
  ac_status=$?
28921
20427
  grep -v '^ *+' conftest.er1 >conftest.err
28922
20428
  rm -f conftest.er1
28923
20429
  cat conftest.err >&5
28924
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20430
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28925
20431
  (exit $ac_status); } && {
28926
20432
         test -z "$ac_c_werror_flag" ||
28927
20433
         test ! -s conftest.err
28928
20434
       } && test -s conftest.$ac_objext; then
28929
20435
  ac_header_compiler=yes
28930
20436
else
28931
 
  echo "$as_me: failed program was:" >&5
 
20437
  $as_echo "$as_me: failed program was:" >&5
28932
20438
sed 's/^/| /' conftest.$ac_ext >&5
28933
20439
 
28934
20440
        ac_header_compiler=no
28935
20441
fi
28936
20442
 
28937
20443
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28938
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28939
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
 
20444
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
20445
$as_echo "$ac_header_compiler" >&6; }
28940
20446
 
28941
20447
# Is the header present?
28942
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
28943
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
 
20448
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
20449
$as_echo_n "checking $ac_header presence... " >&6; }
28944
20450
cat >conftest.$ac_ext <<_ACEOF
28945
20451
/* confdefs.h.  */
28946
20452
_ACEOF
28954
20460
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28955
20461
  *) ac_try_echo=$ac_try;;
28956
20462
esac
28957
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20463
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
20464
$as_echo "$ac_try_echo") >&5
28958
20465
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28959
20466
  ac_status=$?
28960
20467
  grep -v '^ *+' conftest.er1 >conftest.err
28961
20468
  rm -f conftest.er1
28962
20469
  cat conftest.err >&5
28963
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20470
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28964
20471
  (exit $ac_status); } >/dev/null && {
28965
20472
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
28966
20473
         test ! -s conftest.err
28967
20474
       }; then
28968
20475
  ac_header_preproc=yes
28969
20476
else
28970
 
  echo "$as_me: failed program was:" >&5
 
20477
  $as_echo "$as_me: failed program was:" >&5
28971
20478
sed 's/^/| /' conftest.$ac_ext >&5
28972
20479
 
28973
20480
  ac_header_preproc=no
28974
20481
fi
28975
20482
 
28976
20483
rm -f conftest.err conftest.$ac_ext
28977
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28978
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
 
20484
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
20485
$as_echo "$ac_header_preproc" >&6; }
28979
20486
 
28980
20487
# So?  What about this header?
28981
20488
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28982
20489
  yes:no: )
28983
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28984
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28985
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
28986
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
20490
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
20491
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
20492
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
20493
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
28987
20494
    ac_header_preproc=yes
28988
20495
    ;;
28989
20496
  no:yes:* )
28990
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28991
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28992
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
28993
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
28994
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
28995
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
28996
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
28997
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
28998
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28999
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29000
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29001
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
20497
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
20498
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
20499
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
20500
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
20501
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
20502
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
20503
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
20504
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
20505
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
20506
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
20507
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
20508
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29002
20509
    ( cat <<\_ASBOX
29003
20510
## ----------------------------------------------------- ##
29004
20511
## Report this to gimp-print-devel@lists.sourceforge.net ##
29007
20514
     ) | sed "s/^/$as_me: WARNING:     /" >&2
29008
20515
    ;;
29009
20516
esac
29010
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
29011
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
20517
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
20518
$as_echo_n "checking for $ac_header... " >&6; }
29012
20519
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29013
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20520
  $as_echo_n "(cached) " >&6
29014
20521
else
29015
20522
  eval "$as_ac_Header=\$ac_header_preproc"
29016
20523
fi
29017
 
ac_res=`eval echo '${'$as_ac_Header'}'`
29018
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
29019
 
echo "${ECHO_T}$ac_res" >&6; }
 
20524
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
20525
                 $as_echo "$as_val"'`
 
20526
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
20527
$as_echo "$ac_res" >&6; }
29020
20528
 
29021
20529
fi
29022
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
20530
as_val=`eval 'as_val=${'$as_ac_Header'}
 
20531
                 $as_echo "$as_val"'`
 
20532
   if test "x$as_val" = x""yes; then
29023
20533
  cat >>confdefs.h <<_ACEOF
29024
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
20534
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
29025
20535
_ACEOF
29026
20536
 
29027
20537
fi
29031
20541
 
29032
20542
for ac_header in limits.h
29033
20543
do
29034
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29035
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29036
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
29037
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29038
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29039
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20544
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
20545
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
20546
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
20547
$as_echo_n "checking for $ac_header... " >&6; }
 
20548
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
20549
  $as_echo_n "(cached) " >&6
29040
20550
fi
29041
 
ac_res=`eval echo '${'$as_ac_Header'}'`
29042
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
29043
 
echo "${ECHO_T}$ac_res" >&6; }
 
20551
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
20552
                 $as_echo "$as_val"'`
 
20553
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
20554
$as_echo "$ac_res" >&6; }
29044
20555
else
29045
20556
  # Is the header compilable?
29046
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
29047
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
 
20557
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
20558
$as_echo_n "checking $ac_header usability... " >&6; }
29048
20559
cat >conftest.$ac_ext <<_ACEOF
29049
20560
/* confdefs.h.  */
29050
20561
_ACEOF
29060
20571
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29061
20572
  *) ac_try_echo=$ac_try;;
29062
20573
esac
29063
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20574
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
20575
$as_echo "$ac_try_echo") >&5
29064
20576
  (eval "$ac_compile") 2>conftest.er1
29065
20577
  ac_status=$?
29066
20578
  grep -v '^ *+' conftest.er1 >conftest.err
29067
20579
  rm -f conftest.er1
29068
20580
  cat conftest.err >&5
29069
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20581
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29070
20582
  (exit $ac_status); } && {
29071
20583
         test -z "$ac_c_werror_flag" ||
29072
20584
         test ! -s conftest.err
29073
20585
       } && test -s conftest.$ac_objext; then
29074
20586
  ac_header_compiler=yes
29075
20587
else
29076
 
  echo "$as_me: failed program was:" >&5
 
20588
  $as_echo "$as_me: failed program was:" >&5
29077
20589
sed 's/^/| /' conftest.$ac_ext >&5
29078
20590
 
29079
20591
        ac_header_compiler=no
29080
20592
fi
29081
20593
 
29082
20594
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29083
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29084
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
 
20595
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
20596
$as_echo "$ac_header_compiler" >&6; }
29085
20597
 
29086
20598
# Is the header present?
29087
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
29088
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
 
20599
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
20600
$as_echo_n "checking $ac_header presence... " >&6; }
29089
20601
cat >conftest.$ac_ext <<_ACEOF
29090
20602
/* confdefs.h.  */
29091
20603
_ACEOF
29099
20611
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29100
20612
  *) ac_try_echo=$ac_try;;
29101
20613
esac
29102
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20614
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
20615
$as_echo "$ac_try_echo") >&5
29103
20616
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29104
20617
  ac_status=$?
29105
20618
  grep -v '^ *+' conftest.er1 >conftest.err
29106
20619
  rm -f conftest.er1
29107
20620
  cat conftest.err >&5
29108
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20621
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29109
20622
  (exit $ac_status); } >/dev/null && {
29110
20623
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
29111
20624
         test ! -s conftest.err
29112
20625
       }; then
29113
20626
  ac_header_preproc=yes
29114
20627
else
29115
 
  echo "$as_me: failed program was:" >&5
 
20628
  $as_echo "$as_me: failed program was:" >&5
29116
20629
sed 's/^/| /' conftest.$ac_ext >&5
29117
20630
 
29118
20631
  ac_header_preproc=no
29119
20632
fi
29120
20633
 
29121
20634
rm -f conftest.err conftest.$ac_ext
29122
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29123
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
 
20635
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
20636
$as_echo "$ac_header_preproc" >&6; }
29124
20637
 
29125
20638
# So?  What about this header?
29126
20639
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29127
20640
  yes:no: )
29128
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29129
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29130
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29131
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
20641
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
20642
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
20643
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
20644
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29132
20645
    ac_header_preproc=yes
29133
20646
    ;;
29134
20647
  no:yes:* )
29135
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29136
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29137
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
29138
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
29139
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29140
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29141
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
29142
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
29143
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29144
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29145
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29146
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
20648
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
20649
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
20650
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
20651
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
20652
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
20653
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
20654
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
20655
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
20656
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
20657
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
20658
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
20659
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29147
20660
    ( cat <<\_ASBOX
29148
20661
## ----------------------------------------------------- ##
29149
20662
## Report this to gimp-print-devel@lists.sourceforge.net ##
29152
20665
     ) | sed "s/^/$as_me: WARNING:     /" >&2
29153
20666
    ;;
29154
20667
esac
29155
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
29156
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
20668
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
20669
$as_echo_n "checking for $ac_header... " >&6; }
29157
20670
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29158
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20671
  $as_echo_n "(cached) " >&6
29159
20672
else
29160
20673
  eval "$as_ac_Header=\$ac_header_preproc"
29161
20674
fi
29162
 
ac_res=`eval echo '${'$as_ac_Header'}'`
29163
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
29164
 
echo "${ECHO_T}$ac_res" >&6; }
 
20675
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
20676
                 $as_echo "$as_val"'`
 
20677
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
20678
$as_echo "$ac_res" >&6; }
29165
20679
 
29166
20680
fi
29167
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
20681
as_val=`eval 'as_val=${'$as_ac_Header'}
 
20682
                 $as_echo "$as_val"'`
 
20683
   if test "x$as_val" = x""yes; then
29168
20684
  cat >>confdefs.h <<_ACEOF
29169
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
20685
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
29170
20686
_ACEOF
29171
20687
 
29172
20688
fi
29176
20692
 
29177
20693
for ac_header in locale.h
29178
20694
do
29179
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29180
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29181
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
29182
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29183
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29184
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20695
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
20696
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
20697
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
20698
$as_echo_n "checking for $ac_header... " >&6; }
 
20699
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
20700
  $as_echo_n "(cached) " >&6
29185
20701
fi
29186
 
ac_res=`eval echo '${'$as_ac_Header'}'`
29187
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
29188
 
echo "${ECHO_T}$ac_res" >&6; }
 
20702
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
20703
                 $as_echo "$as_val"'`
 
20704
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
20705
$as_echo "$ac_res" >&6; }
29189
20706
else
29190
20707
  # Is the header compilable?
29191
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
29192
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
 
20708
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
20709
$as_echo_n "checking $ac_header usability... " >&6; }
29193
20710
cat >conftest.$ac_ext <<_ACEOF
29194
20711
/* confdefs.h.  */
29195
20712
_ACEOF
29205
20722
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29206
20723
  *) ac_try_echo=$ac_try;;
29207
20724
esac
29208
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20725
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
20726
$as_echo "$ac_try_echo") >&5
29209
20727
  (eval "$ac_compile") 2>conftest.er1
29210
20728
  ac_status=$?
29211
20729
  grep -v '^ *+' conftest.er1 >conftest.err
29212
20730
  rm -f conftest.er1
29213
20731
  cat conftest.err >&5
29214
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20732
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29215
20733
  (exit $ac_status); } && {
29216
20734
         test -z "$ac_c_werror_flag" ||
29217
20735
         test ! -s conftest.err
29218
20736
       } && test -s conftest.$ac_objext; then
29219
20737
  ac_header_compiler=yes
29220
20738
else
29221
 
  echo "$as_me: failed program was:" >&5
 
20739
  $as_echo "$as_me: failed program was:" >&5
29222
20740
sed 's/^/| /' conftest.$ac_ext >&5
29223
20741
 
29224
20742
        ac_header_compiler=no
29225
20743
fi
29226
20744
 
29227
20745
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29228
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29229
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
 
20746
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
20747
$as_echo "$ac_header_compiler" >&6; }
29230
20748
 
29231
20749
# Is the header present?
29232
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
29233
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
 
20750
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
20751
$as_echo_n "checking $ac_header presence... " >&6; }
29234
20752
cat >conftest.$ac_ext <<_ACEOF
29235
20753
/* confdefs.h.  */
29236
20754
_ACEOF
29244
20762
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29245
20763
  *) ac_try_echo=$ac_try;;
29246
20764
esac
29247
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20765
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
20766
$as_echo "$ac_try_echo") >&5
29248
20767
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29249
20768
  ac_status=$?
29250
20769
  grep -v '^ *+' conftest.er1 >conftest.err
29251
20770
  rm -f conftest.er1
29252
20771
  cat conftest.err >&5
29253
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20772
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29254
20773
  (exit $ac_status); } >/dev/null && {
29255
20774
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
29256
20775
         test ! -s conftest.err
29257
20776
       }; then
29258
20777
  ac_header_preproc=yes
29259
20778
else
29260
 
  echo "$as_me: failed program was:" >&5
 
20779
  $as_echo "$as_me: failed program was:" >&5
29261
20780
sed 's/^/| /' conftest.$ac_ext >&5
29262
20781
 
29263
20782
  ac_header_preproc=no
29264
20783
fi
29265
20784
 
29266
20785
rm -f conftest.err conftest.$ac_ext
29267
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29268
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
 
20786
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
20787
$as_echo "$ac_header_preproc" >&6; }
29269
20788
 
29270
20789
# So?  What about this header?
29271
20790
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29272
20791
  yes:no: )
29273
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29274
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29275
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29276
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
20792
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
20793
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
20794
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
20795
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29277
20796
    ac_header_preproc=yes
29278
20797
    ;;
29279
20798
  no:yes:* )
29280
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29281
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29282
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
29283
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
29284
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29285
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29286
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
29287
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
29288
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29289
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29290
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29291
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
20799
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
20800
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
20801
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
20802
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
20803
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
20804
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
20805
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
20806
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
20807
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
20808
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
20809
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
20810
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29292
20811
    ( cat <<\_ASBOX
29293
20812
## ----------------------------------------------------- ##
29294
20813
## Report this to gimp-print-devel@lists.sourceforge.net ##
29297
20816
     ) | sed "s/^/$as_me: WARNING:     /" >&2
29298
20817
    ;;
29299
20818
esac
29300
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
29301
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
20819
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
20820
$as_echo_n "checking for $ac_header... " >&6; }
29302
20821
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29303
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20822
  $as_echo_n "(cached) " >&6
29304
20823
else
29305
20824
  eval "$as_ac_Header=\$ac_header_preproc"
29306
20825
fi
29307
 
ac_res=`eval echo '${'$as_ac_Header'}'`
29308
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
29309
 
echo "${ECHO_T}$ac_res" >&6; }
 
20826
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
20827
                 $as_echo "$as_val"'`
 
20828
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
20829
$as_echo "$ac_res" >&6; }
29310
20830
 
29311
20831
fi
29312
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
20832
as_val=`eval 'as_val=${'$as_ac_Header'}
 
20833
                 $as_echo "$as_val"'`
 
20834
   if test "x$as_val" = x""yes; then
29313
20835
  cat >>confdefs.h <<_ACEOF
29314
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
20836
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
29315
20837
_ACEOF
29316
20838
 
29317
20839
fi
29321
20843
 
29322
20844
for ac_header in ltdl.h
29323
20845
do
29324
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29325
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29326
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
29327
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29328
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29329
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20846
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
20847
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
20848
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
20849
$as_echo_n "checking for $ac_header... " >&6; }
 
20850
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
20851
  $as_echo_n "(cached) " >&6
29330
20852
fi
29331
 
ac_res=`eval echo '${'$as_ac_Header'}'`
29332
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
29333
 
echo "${ECHO_T}$ac_res" >&6; }
 
20853
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
20854
                 $as_echo "$as_val"'`
 
20855
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
20856
$as_echo "$ac_res" >&6; }
29334
20857
else
29335
20858
  # Is the header compilable?
29336
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
29337
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
 
20859
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
20860
$as_echo_n "checking $ac_header usability... " >&6; }
29338
20861
cat >conftest.$ac_ext <<_ACEOF
29339
20862
/* confdefs.h.  */
29340
20863
_ACEOF
29350
20873
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29351
20874
  *) ac_try_echo=$ac_try;;
29352
20875
esac
29353
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20876
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
20877
$as_echo "$ac_try_echo") >&5
29354
20878
  (eval "$ac_compile") 2>conftest.er1
29355
20879
  ac_status=$?
29356
20880
  grep -v '^ *+' conftest.er1 >conftest.err
29357
20881
  rm -f conftest.er1
29358
20882
  cat conftest.err >&5
29359
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20883
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29360
20884
  (exit $ac_status); } && {
29361
20885
         test -z "$ac_c_werror_flag" ||
29362
20886
         test ! -s conftest.err
29363
20887
       } && test -s conftest.$ac_objext; then
29364
20888
  ac_header_compiler=yes
29365
20889
else
29366
 
  echo "$as_me: failed program was:" >&5
 
20890
  $as_echo "$as_me: failed program was:" >&5
29367
20891
sed 's/^/| /' conftest.$ac_ext >&5
29368
20892
 
29369
20893
        ac_header_compiler=no
29370
20894
fi
29371
20895
 
29372
20896
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29373
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29374
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
 
20897
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
20898
$as_echo "$ac_header_compiler" >&6; }
29375
20899
 
29376
20900
# Is the header present?
29377
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
29378
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
 
20901
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
20902
$as_echo_n "checking $ac_header presence... " >&6; }
29379
20903
cat >conftest.$ac_ext <<_ACEOF
29380
20904
/* confdefs.h.  */
29381
20905
_ACEOF
29389
20913
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29390
20914
  *) ac_try_echo=$ac_try;;
29391
20915
esac
29392
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20916
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
20917
$as_echo "$ac_try_echo") >&5
29393
20918
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29394
20919
  ac_status=$?
29395
20920
  grep -v '^ *+' conftest.er1 >conftest.err
29396
20921
  rm -f conftest.er1
29397
20922
  cat conftest.err >&5
29398
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20923
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29399
20924
  (exit $ac_status); } >/dev/null && {
29400
20925
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
29401
20926
         test ! -s conftest.err
29402
20927
       }; then
29403
20928
  ac_header_preproc=yes
29404
20929
else
29405
 
  echo "$as_me: failed program was:" >&5
 
20930
  $as_echo "$as_me: failed program was:" >&5
29406
20931
sed 's/^/| /' conftest.$ac_ext >&5
29407
20932
 
29408
20933
  ac_header_preproc=no
29409
20934
fi
29410
20935
 
29411
20936
rm -f conftest.err conftest.$ac_ext
29412
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29413
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
 
20937
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
20938
$as_echo "$ac_header_preproc" >&6; }
29414
20939
 
29415
20940
# So?  What about this header?
29416
20941
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29417
20942
  yes:no: )
29418
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29419
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29420
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29421
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
20943
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
20944
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
20945
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
20946
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29422
20947
    ac_header_preproc=yes
29423
20948
    ;;
29424
20949
  no:yes:* )
29425
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29426
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29427
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
29428
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
29429
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29430
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29431
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
29432
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
29433
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29434
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29435
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29436
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
20950
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
20951
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
20952
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
20953
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
20954
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
20955
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
20956
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
20957
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
20958
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
20959
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
20960
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
20961
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29437
20962
    ( cat <<\_ASBOX
29438
20963
## ----------------------------------------------------- ##
29439
20964
## Report this to gimp-print-devel@lists.sourceforge.net ##
29442
20967
     ) | sed "s/^/$as_me: WARNING:     /" >&2
29443
20968
    ;;
29444
20969
esac
29445
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
29446
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
20970
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
20971
$as_echo_n "checking for $ac_header... " >&6; }
29447
20972
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29448
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20973
  $as_echo_n "(cached) " >&6
29449
20974
else
29450
20975
  eval "$as_ac_Header=\$ac_header_preproc"
29451
20976
fi
29452
 
ac_res=`eval echo '${'$as_ac_Header'}'`
29453
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
29454
 
echo "${ECHO_T}$ac_res" >&6; }
 
20977
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
20978
                 $as_echo "$as_val"'`
 
20979
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
20980
$as_echo "$ac_res" >&6; }
29455
20981
 
29456
20982
fi
29457
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
20983
as_val=`eval 'as_val=${'$as_ac_Header'}
 
20984
                 $as_echo "$as_val"'`
 
20985
   if test "x$as_val" = x""yes; then
29458
20986
  cat >>confdefs.h <<_ACEOF
29459
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
20987
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
29460
20988
_ACEOF
29461
20989
 HAVE_LTDL_H=true
29462
20990
fi
29468
20996
 
29469
20997
for ac_header in stdarg.h stdlib.h string.h
29470
20998
do
29471
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29472
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29473
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
29474
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29475
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29476
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20999
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
21000
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
21001
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
21002
$as_echo_n "checking for $ac_header... " >&6; }
 
21003
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
21004
  $as_echo_n "(cached) " >&6
29477
21005
fi
29478
 
ac_res=`eval echo '${'$as_ac_Header'}'`
29479
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
29480
 
echo "${ECHO_T}$ac_res" >&6; }
 
21006
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
21007
                 $as_echo "$as_val"'`
 
21008
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
21009
$as_echo "$ac_res" >&6; }
29481
21010
else
29482
21011
  # Is the header compilable?
29483
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
29484
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
 
21012
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
21013
$as_echo_n "checking $ac_header usability... " >&6; }
29485
21014
cat >conftest.$ac_ext <<_ACEOF
29486
21015
/* confdefs.h.  */
29487
21016
_ACEOF
29497
21026
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29498
21027
  *) ac_try_echo=$ac_try;;
29499
21028
esac
29500
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21029
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
21030
$as_echo "$ac_try_echo") >&5
29501
21031
  (eval "$ac_compile") 2>conftest.er1
29502
21032
  ac_status=$?
29503
21033
  grep -v '^ *+' conftest.er1 >conftest.err
29504
21034
  rm -f conftest.er1
29505
21035
  cat conftest.err >&5
29506
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21036
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29507
21037
  (exit $ac_status); } && {
29508
21038
         test -z "$ac_c_werror_flag" ||
29509
21039
         test ! -s conftest.err
29510
21040
       } && test -s conftest.$ac_objext; then
29511
21041
  ac_header_compiler=yes
29512
21042
else
29513
 
  echo "$as_me: failed program was:" >&5
 
21043
  $as_echo "$as_me: failed program was:" >&5
29514
21044
sed 's/^/| /' conftest.$ac_ext >&5
29515
21045
 
29516
21046
        ac_header_compiler=no
29517
21047
fi
29518
21048
 
29519
21049
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29520
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29521
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
 
21050
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
21051
$as_echo "$ac_header_compiler" >&6; }
29522
21052
 
29523
21053
# Is the header present?
29524
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
29525
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
 
21054
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
21055
$as_echo_n "checking $ac_header presence... " >&6; }
29526
21056
cat >conftest.$ac_ext <<_ACEOF
29527
21057
/* confdefs.h.  */
29528
21058
_ACEOF
29536
21066
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29537
21067
  *) ac_try_echo=$ac_try;;
29538
21068
esac
29539
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21069
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
21070
$as_echo "$ac_try_echo") >&5
29540
21071
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29541
21072
  ac_status=$?
29542
21073
  grep -v '^ *+' conftest.er1 >conftest.err
29543
21074
  rm -f conftest.er1
29544
21075
  cat conftest.err >&5
29545
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21076
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29546
21077
  (exit $ac_status); } >/dev/null && {
29547
21078
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
29548
21079
         test ! -s conftest.err
29549
21080
       }; then
29550
21081
  ac_header_preproc=yes
29551
21082
else
29552
 
  echo "$as_me: failed program was:" >&5
 
21083
  $as_echo "$as_me: failed program was:" >&5
29553
21084
sed 's/^/| /' conftest.$ac_ext >&5
29554
21085
 
29555
21086
  ac_header_preproc=no
29556
21087
fi
29557
21088
 
29558
21089
rm -f conftest.err conftest.$ac_ext
29559
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29560
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
 
21090
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
21091
$as_echo "$ac_header_preproc" >&6; }
29561
21092
 
29562
21093
# So?  What about this header?
29563
21094
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29564
21095
  yes:no: )
29565
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29566
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29567
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29568
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
21096
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
21097
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
21098
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
21099
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29569
21100
    ac_header_preproc=yes
29570
21101
    ;;
29571
21102
  no:yes:* )
29572
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29573
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29574
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
29575
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
29576
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29577
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29578
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
29579
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
29580
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29581
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29582
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29583
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
21103
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
21104
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
21105
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
21106
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
21107
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
21108
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
21109
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
21110
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
21111
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
21112
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
21113
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
21114
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29584
21115
    ( cat <<\_ASBOX
29585
21116
## ----------------------------------------------------- ##
29586
21117
## Report this to gimp-print-devel@lists.sourceforge.net ##
29589
21120
     ) | sed "s/^/$as_me: WARNING:     /" >&2
29590
21121
    ;;
29591
21122
esac
29592
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
29593
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
21123
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
21124
$as_echo_n "checking for $ac_header... " >&6; }
29594
21125
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29595
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
21126
  $as_echo_n "(cached) " >&6
29596
21127
else
29597
21128
  eval "$as_ac_Header=\$ac_header_preproc"
29598
21129
fi
29599
 
ac_res=`eval echo '${'$as_ac_Header'}'`
29600
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
29601
 
echo "${ECHO_T}$ac_res" >&6; }
 
21130
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
21131
                 $as_echo "$as_val"'`
 
21132
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
21133
$as_echo "$ac_res" >&6; }
29602
21134
 
29603
21135
fi
29604
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
21136
as_val=`eval 'as_val=${'$as_ac_Header'}
 
21137
                 $as_echo "$as_val"'`
 
21138
   if test "x$as_val" = x""yes; then
29605
21139
  cat >>confdefs.h <<_ACEOF
29606
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
21140
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
29607
21141
_ACEOF
29608
21142
 
29609
21143
fi
29614
21148
 
29615
21149
for ac_header in sys/time.h sys/types.h
29616
21150
do
29617
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29618
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29619
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
29620
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29621
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29622
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
21151
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
21152
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
21153
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
21154
$as_echo_n "checking for $ac_header... " >&6; }
 
21155
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
21156
  $as_echo_n "(cached) " >&6
29623
21157
fi
29624
 
ac_res=`eval echo '${'$as_ac_Header'}'`
29625
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
29626
 
echo "${ECHO_T}$ac_res" >&6; }
 
21158
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
21159
                 $as_echo "$as_val"'`
 
21160
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
21161
$as_echo "$ac_res" >&6; }
29627
21162
else
29628
21163
  # Is the header compilable?
29629
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
29630
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
 
21164
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
21165
$as_echo_n "checking $ac_header usability... " >&6; }
29631
21166
cat >conftest.$ac_ext <<_ACEOF
29632
21167
/* confdefs.h.  */
29633
21168
_ACEOF
29643
21178
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29644
21179
  *) ac_try_echo=$ac_try;;
29645
21180
esac
29646
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21181
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
21182
$as_echo "$ac_try_echo") >&5
29647
21183
  (eval "$ac_compile") 2>conftest.er1
29648
21184
  ac_status=$?
29649
21185
  grep -v '^ *+' conftest.er1 >conftest.err
29650
21186
  rm -f conftest.er1
29651
21187
  cat conftest.err >&5
29652
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21188
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29653
21189
  (exit $ac_status); } && {
29654
21190
         test -z "$ac_c_werror_flag" ||
29655
21191
         test ! -s conftest.err
29656
21192
       } && test -s conftest.$ac_objext; then
29657
21193
  ac_header_compiler=yes
29658
21194
else
29659
 
  echo "$as_me: failed program was:" >&5
 
21195
  $as_echo "$as_me: failed program was:" >&5
29660
21196
sed 's/^/| /' conftest.$ac_ext >&5
29661
21197
 
29662
21198
        ac_header_compiler=no
29663
21199
fi
29664
21200
 
29665
21201
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29666
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29667
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
 
21202
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
21203
$as_echo "$ac_header_compiler" >&6; }
29668
21204
 
29669
21205
# Is the header present?
29670
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
29671
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
 
21206
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
21207
$as_echo_n "checking $ac_header presence... " >&6; }
29672
21208
cat >conftest.$ac_ext <<_ACEOF
29673
21209
/* confdefs.h.  */
29674
21210
_ACEOF
29682
21218
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29683
21219
  *) ac_try_echo=$ac_try;;
29684
21220
esac
29685
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21221
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
21222
$as_echo "$ac_try_echo") >&5
29686
21223
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29687
21224
  ac_status=$?
29688
21225
  grep -v '^ *+' conftest.er1 >conftest.err
29689
21226
  rm -f conftest.er1
29690
21227
  cat conftest.err >&5
29691
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21228
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29692
21229
  (exit $ac_status); } >/dev/null && {
29693
21230
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
29694
21231
         test ! -s conftest.err
29695
21232
       }; then
29696
21233
  ac_header_preproc=yes
29697
21234
else
29698
 
  echo "$as_me: failed program was:" >&5
 
21235
  $as_echo "$as_me: failed program was:" >&5
29699
21236
sed 's/^/| /' conftest.$ac_ext >&5
29700
21237
 
29701
21238
  ac_header_preproc=no
29702
21239
fi
29703
21240
 
29704
21241
rm -f conftest.err conftest.$ac_ext
29705
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29706
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
 
21242
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
21243
$as_echo "$ac_header_preproc" >&6; }
29707
21244
 
29708
21245
# So?  What about this header?
29709
21246
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29710
21247
  yes:no: )
29711
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29712
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29713
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29714
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
21248
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
21249
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
21250
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
21251
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29715
21252
    ac_header_preproc=yes
29716
21253
    ;;
29717
21254
  no:yes:* )
29718
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29719
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29720
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
29721
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
29722
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29723
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29724
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
29725
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
29726
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29727
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29728
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29729
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
21255
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
21256
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
21257
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
21258
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
21259
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
21260
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
21261
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
21262
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
21263
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
21264
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
21265
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
21266
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29730
21267
    ( cat <<\_ASBOX
29731
21268
## ----------------------------------------------------- ##
29732
21269
## Report this to gimp-print-devel@lists.sourceforge.net ##
29735
21272
     ) | sed "s/^/$as_me: WARNING:     /" >&2
29736
21273
    ;;
29737
21274
esac
29738
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
29739
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
21275
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
21276
$as_echo_n "checking for $ac_header... " >&6; }
29740
21277
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29741
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
21278
  $as_echo_n "(cached) " >&6
29742
21279
else
29743
21280
  eval "$as_ac_Header=\$ac_header_preproc"
29744
21281
fi
29745
 
ac_res=`eval echo '${'$as_ac_Header'}'`
29746
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
29747
 
echo "${ECHO_T}$ac_res" >&6; }
 
21282
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
21283
                 $as_echo "$as_val"'`
 
21284
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
21285
$as_echo "$ac_res" >&6; }
29748
21286
 
29749
21287
fi
29750
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
21288
as_val=`eval 'as_val=${'$as_ac_Header'}
 
21289
                 $as_echo "$as_val"'`
 
21290
   if test "x$as_val" = x""yes; then
29751
21291
  cat >>confdefs.h <<_ACEOF
29752
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
21292
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
29753
21293
_ACEOF
29754
21294
 
29755
21295
fi
29759
21299
 
29760
21300
for ac_header in time.h
29761
21301
do
29762
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29763
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29764
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
29765
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29766
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29767
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
21302
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
21303
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
21304
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
21305
$as_echo_n "checking for $ac_header... " >&6; }
 
21306
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
21307
  $as_echo_n "(cached) " >&6
29768
21308
fi
29769
 
ac_res=`eval echo '${'$as_ac_Header'}'`
29770
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
29771
 
echo "${ECHO_T}$ac_res" >&6; }
 
21309
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
21310
                 $as_echo "$as_val"'`
 
21311
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
21312
$as_echo "$ac_res" >&6; }
29772
21313
else
29773
21314
  # Is the header compilable?
29774
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
29775
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
 
21315
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
21316
$as_echo_n "checking $ac_header usability... " >&6; }
29776
21317
cat >conftest.$ac_ext <<_ACEOF
29777
21318
/* confdefs.h.  */
29778
21319
_ACEOF
29788
21329
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29789
21330
  *) ac_try_echo=$ac_try;;
29790
21331
esac
29791
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21332
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
21333
$as_echo "$ac_try_echo") >&5
29792
21334
  (eval "$ac_compile") 2>conftest.er1
29793
21335
  ac_status=$?
29794
21336
  grep -v '^ *+' conftest.er1 >conftest.err
29795
21337
  rm -f conftest.er1
29796
21338
  cat conftest.err >&5
29797
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21339
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29798
21340
  (exit $ac_status); } && {
29799
21341
         test -z "$ac_c_werror_flag" ||
29800
21342
         test ! -s conftest.err
29801
21343
       } && test -s conftest.$ac_objext; then
29802
21344
  ac_header_compiler=yes
29803
21345
else
29804
 
  echo "$as_me: failed program was:" >&5
 
21346
  $as_echo "$as_me: failed program was:" >&5
29805
21347
sed 's/^/| /' conftest.$ac_ext >&5
29806
21348
 
29807
21349
        ac_header_compiler=no
29808
21350
fi
29809
21351
 
29810
21352
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29811
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29812
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
 
21353
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
21354
$as_echo "$ac_header_compiler" >&6; }
29813
21355
 
29814
21356
# Is the header present?
29815
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
29816
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
 
21357
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
21358
$as_echo_n "checking $ac_header presence... " >&6; }
29817
21359
cat >conftest.$ac_ext <<_ACEOF
29818
21360
/* confdefs.h.  */
29819
21361
_ACEOF
29827
21369
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29828
21370
  *) ac_try_echo=$ac_try;;
29829
21371
esac
29830
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21372
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
21373
$as_echo "$ac_try_echo") >&5
29831
21374
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29832
21375
  ac_status=$?
29833
21376
  grep -v '^ *+' conftest.er1 >conftest.err
29834
21377
  rm -f conftest.er1
29835
21378
  cat conftest.err >&5
29836
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21379
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29837
21380
  (exit $ac_status); } >/dev/null && {
29838
21381
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
29839
21382
         test ! -s conftest.err
29840
21383
       }; then
29841
21384
  ac_header_preproc=yes
29842
21385
else
29843
 
  echo "$as_me: failed program was:" >&5
 
21386
  $as_echo "$as_me: failed program was:" >&5
29844
21387
sed 's/^/| /' conftest.$ac_ext >&5
29845
21388
 
29846
21389
  ac_header_preproc=no
29847
21390
fi
29848
21391
 
29849
21392
rm -f conftest.err conftest.$ac_ext
29850
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29851
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
 
21393
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
21394
$as_echo "$ac_header_preproc" >&6; }
29852
21395
 
29853
21396
# So?  What about this header?
29854
21397
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29855
21398
  yes:no: )
29856
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29857
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29858
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29859
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
21399
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
21400
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
21401
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
21402
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29860
21403
    ac_header_preproc=yes
29861
21404
    ;;
29862
21405
  no:yes:* )
29863
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29864
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29865
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
29866
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
29867
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29868
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29869
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
29870
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
29871
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29872
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29873
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29874
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
21406
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
21407
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
21408
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
21409
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
21410
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
21411
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
21412
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
21413
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
21414
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
21415
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
21416
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
21417
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29875
21418
    ( cat <<\_ASBOX
29876
21419
## ----------------------------------------------------- ##
29877
21420
## Report this to gimp-print-devel@lists.sourceforge.net ##
29880
21423
     ) | sed "s/^/$as_me: WARNING:     /" >&2
29881
21424
    ;;
29882
21425
esac
29883
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
29884
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
21426
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
21427
$as_echo_n "checking for $ac_header... " >&6; }
29885
21428
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29886
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
21429
  $as_echo_n "(cached) " >&6
29887
21430
else
29888
21431
  eval "$as_ac_Header=\$ac_header_preproc"
29889
21432
fi
29890
 
ac_res=`eval echo '${'$as_ac_Header'}'`
29891
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
29892
 
echo "${ECHO_T}$ac_res" >&6; }
 
21433
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
21434
                 $as_echo "$as_val"'`
 
21435
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
21436
$as_echo "$ac_res" >&6; }
29893
21437
 
29894
21438
fi
29895
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
21439
as_val=`eval 'as_val=${'$as_ac_Header'}
 
21440
                 $as_echo "$as_val"'`
 
21441
   if test "x$as_val" = x""yes; then
29896
21442
  cat >>confdefs.h <<_ACEOF
29897
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
21443
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
29898
21444
_ACEOF
29899
21445
 
29900
21446
fi
29904
21450
 
29905
21451
for ac_header in unistd.h
29906
21452
do
29907
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29908
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29909
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
29910
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29911
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29912
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
21453
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
21454
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
21455
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
21456
$as_echo_n "checking for $ac_header... " >&6; }
 
21457
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
21458
  $as_echo_n "(cached) " >&6
29913
21459
fi
29914
 
ac_res=`eval echo '${'$as_ac_Header'}'`
29915
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
29916
 
echo "${ECHO_T}$ac_res" >&6; }
 
21460
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
21461
                 $as_echo "$as_val"'`
 
21462
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
21463
$as_echo "$ac_res" >&6; }
29917
21464
else
29918
21465
  # Is the header compilable?
29919
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
29920
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
 
21466
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
21467
$as_echo_n "checking $ac_header usability... " >&6; }
29921
21468
cat >conftest.$ac_ext <<_ACEOF
29922
21469
/* confdefs.h.  */
29923
21470
_ACEOF
29933
21480
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29934
21481
  *) ac_try_echo=$ac_try;;
29935
21482
esac
29936
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21483
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
21484
$as_echo "$ac_try_echo") >&5
29937
21485
  (eval "$ac_compile") 2>conftest.er1
29938
21486
  ac_status=$?
29939
21487
  grep -v '^ *+' conftest.er1 >conftest.err
29940
21488
  rm -f conftest.er1
29941
21489
  cat conftest.err >&5
29942
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21490
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29943
21491
  (exit $ac_status); } && {
29944
21492
         test -z "$ac_c_werror_flag" ||
29945
21493
         test ! -s conftest.err
29946
21494
       } && test -s conftest.$ac_objext; then
29947
21495
  ac_header_compiler=yes
29948
21496
else
29949
 
  echo "$as_me: failed program was:" >&5
 
21497
  $as_echo "$as_me: failed program was:" >&5
29950
21498
sed 's/^/| /' conftest.$ac_ext >&5
29951
21499
 
29952
21500
        ac_header_compiler=no
29953
21501
fi
29954
21502
 
29955
21503
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29956
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29957
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
 
21504
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
21505
$as_echo "$ac_header_compiler" >&6; }
29958
21506
 
29959
21507
# Is the header present?
29960
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
29961
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
 
21508
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
21509
$as_echo_n "checking $ac_header presence... " >&6; }
29962
21510
cat >conftest.$ac_ext <<_ACEOF
29963
21511
/* confdefs.h.  */
29964
21512
_ACEOF
29972
21520
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29973
21521
  *) ac_try_echo=$ac_try;;
29974
21522
esac
29975
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21523
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
21524
$as_echo "$ac_try_echo") >&5
29976
21525
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29977
21526
  ac_status=$?
29978
21527
  grep -v '^ *+' conftest.er1 >conftest.err
29979
21528
  rm -f conftest.er1
29980
21529
  cat conftest.err >&5
29981
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21530
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29982
21531
  (exit $ac_status); } >/dev/null && {
29983
21532
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
29984
21533
         test ! -s conftest.err
29985
21534
       }; then
29986
21535
  ac_header_preproc=yes
29987
21536
else
29988
 
  echo "$as_me: failed program was:" >&5
 
21537
  $as_echo "$as_me: failed program was:" >&5
29989
21538
sed 's/^/| /' conftest.$ac_ext >&5
29990
21539
 
29991
21540
  ac_header_preproc=no
29992
21541
fi
29993
21542
 
29994
21543
rm -f conftest.err conftest.$ac_ext
29995
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29996
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
 
21544
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
21545
$as_echo "$ac_header_preproc" >&6; }
29997
21546
 
29998
21547
# So?  What about this header?
29999
21548
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30000
21549
  yes:no: )
30001
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30002
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30003
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30004
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
21550
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
21551
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
21552
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
21553
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30005
21554
    ac_header_preproc=yes
30006
21555
    ;;
30007
21556
  no:yes:* )
30008
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30009
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30010
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
30011
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
30012
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30013
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30014
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
30015
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
30016
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30017
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30018
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30019
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
21557
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
21558
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
21559
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
21560
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
21561
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
21562
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
21563
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
21564
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
21565
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
21566
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
21567
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
21568
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30020
21569
    ( cat <<\_ASBOX
30021
21570
## ----------------------------------------------------- ##
30022
21571
## Report this to gimp-print-devel@lists.sourceforge.net ##
30025
21574
     ) | sed "s/^/$as_me: WARNING:     /" >&2
30026
21575
    ;;
30027
21576
esac
30028
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
30029
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
21577
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
21578
$as_echo_n "checking for $ac_header... " >&6; }
30030
21579
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
30031
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
21580
  $as_echo_n "(cached) " >&6
30032
21581
else
30033
21582
  eval "$as_ac_Header=\$ac_header_preproc"
30034
21583
fi
30035
 
ac_res=`eval echo '${'$as_ac_Header'}'`
30036
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
30037
 
echo "${ECHO_T}$ac_res" >&6; }
 
21584
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
21585
                 $as_echo "$as_val"'`
 
21586
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
21587
$as_echo "$ac_res" >&6; }
30038
21588
 
30039
21589
fi
30040
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
21590
as_val=`eval 'as_val=${'$as_ac_Header'}
 
21591
                 $as_echo "$as_val"'`
 
21592
   if test "x$as_val" = x""yes; then
30041
21593
  cat >>confdefs.h <<_ACEOF
30042
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
21594
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
30043
21595
_ACEOF
30044
21596
 
30045
21597
fi
30047
21599
done
30048
21600
 
30049
21601
 
30050
 
{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
30051
 
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
 
21602
{ $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
 
21603
$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
30052
21604
if test "${ac_cv_c_const+set}" = set; then
30053
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
21605
  $as_echo_n "(cached) " >&6
30054
21606
else
30055
21607
  cat >conftest.$ac_ext <<_ACEOF
30056
21608
/* confdefs.h.  */
30122
21674
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30123
21675
  *) ac_try_echo=$ac_try;;
30124
21676
esac
30125
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21677
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
21678
$as_echo "$ac_try_echo") >&5
30126
21679
  (eval "$ac_compile") 2>conftest.er1
30127
21680
  ac_status=$?
30128
21681
  grep -v '^ *+' conftest.er1 >conftest.err
30129
21682
  rm -f conftest.er1
30130
21683
  cat conftest.err >&5
30131
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21684
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
30132
21685
  (exit $ac_status); } && {
30133
21686
         test -z "$ac_c_werror_flag" ||
30134
21687
         test ! -s conftest.err
30135
21688
       } && test -s conftest.$ac_objext; then
30136
21689
  ac_cv_c_const=yes
30137
21690
else
30138
 
  echo "$as_me: failed program was:" >&5
 
21691
  $as_echo "$as_me: failed program was:" >&5
30139
21692
sed 's/^/| /' conftest.$ac_ext >&5
30140
21693
 
30141
21694
        ac_cv_c_const=no
30143
21696
 
30144
21697
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30145
21698
fi
30146
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
30147
 
echo "${ECHO_T}$ac_cv_c_const" >&6; }
 
21699
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
 
21700
$as_echo "$ac_cv_c_const" >&6; }
30148
21701
if test $ac_cv_c_const = no; then
30149
21702
 
30150
21703
cat >>confdefs.h <<\_ACEOF
30151
 
#define const
 
21704
#define const /**/
30152
21705
_ACEOF
30153
21706
 
30154
21707
fi
30155
21708
 
30156
 
{ echo "$as_me:$LINENO: checking for inline" >&5
30157
 
echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
 
21709
{ $as_echo "$as_me:$LINENO: checking for inline" >&5
 
21710
$as_echo_n "checking for inline... " >&6; }
30158
21711
if test "${ac_cv_c_inline+set}" = set; then
30159
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
21712
  $as_echo_n "(cached) " >&6
30160
21713
else
30161
21714
  ac_cv_c_inline=no
30162
21715
for ac_kw in inline __inline__ __inline; do
30179
21732
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30180
21733
  *) ac_try_echo=$ac_try;;
30181
21734
esac
30182
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21735
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
21736
$as_echo "$ac_try_echo") >&5
30183
21737
  (eval "$ac_compile") 2>conftest.er1
30184
21738
  ac_status=$?
30185
21739
  grep -v '^ *+' conftest.er1 >conftest.err
30186
21740
  rm -f conftest.er1
30187
21741
  cat conftest.err >&5
30188
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21742
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
30189
21743
  (exit $ac_status); } && {
30190
21744
         test -z "$ac_c_werror_flag" ||
30191
21745
         test ! -s conftest.err
30192
21746
       } && test -s conftest.$ac_objext; then
30193
21747
  ac_cv_c_inline=$ac_kw
30194
21748
else
30195
 
  echo "$as_me: failed program was:" >&5
 
21749
  $as_echo "$as_me: failed program was:" >&5
30196
21750
sed 's/^/| /' conftest.$ac_ext >&5
30197
21751
 
30198
21752
 
30203
21757
done
30204
21758
 
30205
21759
fi
30206
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
30207
 
echo "${ECHO_T}$ac_cv_c_inline" >&6; }
 
21760
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
 
21761
$as_echo "$ac_cv_c_inline" >&6; }
30208
21762
 
30209
21763
 
30210
21764
case $ac_cv_c_inline in
30222
21776
    ;;
30223
21777
esac
30224
21778
 
30225
 
{ echo "$as_me:$LINENO: checking for off_t" >&5
30226
 
echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
 
21779
{ $as_echo "$as_me:$LINENO: checking for off_t" >&5
 
21780
$as_echo_n "checking for off_t... " >&6; }
30227
21781
if test "${ac_cv_type_off_t+set}" = set; then
30228
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
21782
  $as_echo_n "(cached) " >&6
30229
21783
else
 
21784
  ac_cv_type_off_t=no
 
21785
cat >conftest.$ac_ext <<_ACEOF
 
21786
/* confdefs.h.  */
 
21787
_ACEOF
 
21788
cat confdefs.h >>conftest.$ac_ext
 
21789
cat >>conftest.$ac_ext <<_ACEOF
 
21790
/* end confdefs.h.  */
 
21791
$ac_includes_default
 
21792
int
 
21793
main ()
 
21794
{
 
21795
if (sizeof (off_t))
 
21796
       return 0;
 
21797
  ;
 
21798
  return 0;
 
21799
}
 
21800
_ACEOF
 
21801
rm -f conftest.$ac_objext
 
21802
if { (ac_try="$ac_compile"
 
21803
case "(($ac_try" in
 
21804
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21805
  *) ac_try_echo=$ac_try;;
 
21806
esac
 
21807
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
21808
$as_echo "$ac_try_echo") >&5
 
21809
  (eval "$ac_compile") 2>conftest.er1
 
21810
  ac_status=$?
 
21811
  grep -v '^ *+' conftest.er1 >conftest.err
 
21812
  rm -f conftest.er1
 
21813
  cat conftest.err >&5
 
21814
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21815
  (exit $ac_status); } && {
 
21816
         test -z "$ac_c_werror_flag" ||
 
21817
         test ! -s conftest.err
 
21818
       } && test -s conftest.$ac_objext; then
30230
21819
  cat >conftest.$ac_ext <<_ACEOF
30231
21820
/* confdefs.h.  */
30232
21821
_ACEOF
30234
21823
cat >>conftest.$ac_ext <<_ACEOF
30235
21824
/* end confdefs.h.  */
30236
21825
$ac_includes_default
30237
 
typedef off_t ac__type_new_;
30238
21826
int
30239
21827
main ()
30240
21828
{
30241
 
if ((ac__type_new_ *) 0)
30242
 
  return 0;
30243
 
if (sizeof (ac__type_new_))
30244
 
  return 0;
 
21829
if (sizeof ((off_t)))
 
21830
          return 0;
30245
21831
  ;
30246
21832
  return 0;
30247
21833
}
30252
21838
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30253
21839
  *) ac_try_echo=$ac_try;;
30254
21840
esac
30255
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21841
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
21842
$as_echo "$ac_try_echo") >&5
30256
21843
  (eval "$ac_compile") 2>conftest.er1
30257
21844
  ac_status=$?
30258
21845
  grep -v '^ *+' conftest.er1 >conftest.err
30259
21846
  rm -f conftest.er1
30260
21847
  cat conftest.err >&5
30261
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21848
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
30262
21849
  (exit $ac_status); } && {
30263
21850
         test -z "$ac_c_werror_flag" ||
30264
21851
         test ! -s conftest.err
30265
21852
       } && test -s conftest.$ac_objext; then
30266
 
  ac_cv_type_off_t=yes
30267
 
else
30268
 
  echo "$as_me: failed program was:" >&5
30269
 
sed 's/^/| /' conftest.$ac_ext >&5
30270
 
 
30271
 
        ac_cv_type_off_t=no
30272
 
fi
30273
 
 
30274
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30275
 
fi
30276
 
{ echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
30277
 
echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
30278
 
if test $ac_cv_type_off_t = yes; then
 
21853
  :
 
21854
else
 
21855
  $as_echo "$as_me: failed program was:" >&5
 
21856
sed 's/^/| /' conftest.$ac_ext >&5
 
21857
 
 
21858
        ac_cv_type_off_t=yes
 
21859
fi
 
21860
 
 
21861
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
21862
else
 
21863
  $as_echo "$as_me: failed program was:" >&5
 
21864
sed 's/^/| /' conftest.$ac_ext >&5
 
21865
 
 
21866
 
 
21867
fi
 
21868
 
 
21869
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
21870
fi
 
21871
{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
 
21872
$as_echo "$ac_cv_type_off_t" >&6; }
 
21873
if test "x$ac_cv_type_off_t" = x""yes; then
30279
21874
  :
30280
21875
else
30281
21876
 
30285
21880
 
30286
21881
fi
30287
21882
 
30288
 
{ echo "$as_me:$LINENO: checking for size_t" >&5
30289
 
echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
 
21883
{ $as_echo "$as_me:$LINENO: checking for size_t" >&5
 
21884
$as_echo_n "checking for size_t... " >&6; }
30290
21885
if test "${ac_cv_type_size_t+set}" = set; then
30291
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
21886
  $as_echo_n "(cached) " >&6
30292
21887
else
 
21888
  ac_cv_type_size_t=no
 
21889
cat >conftest.$ac_ext <<_ACEOF
 
21890
/* confdefs.h.  */
 
21891
_ACEOF
 
21892
cat confdefs.h >>conftest.$ac_ext
 
21893
cat >>conftest.$ac_ext <<_ACEOF
 
21894
/* end confdefs.h.  */
 
21895
$ac_includes_default
 
21896
int
 
21897
main ()
 
21898
{
 
21899
if (sizeof (size_t))
 
21900
       return 0;
 
21901
  ;
 
21902
  return 0;
 
21903
}
 
21904
_ACEOF
 
21905
rm -f conftest.$ac_objext
 
21906
if { (ac_try="$ac_compile"
 
21907
case "(($ac_try" in
 
21908
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21909
  *) ac_try_echo=$ac_try;;
 
21910
esac
 
21911
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
21912
$as_echo "$ac_try_echo") >&5
 
21913
  (eval "$ac_compile") 2>conftest.er1
 
21914
  ac_status=$?
 
21915
  grep -v '^ *+' conftest.er1 >conftest.err
 
21916
  rm -f conftest.er1
 
21917
  cat conftest.err >&5
 
21918
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21919
  (exit $ac_status); } && {
 
21920
         test -z "$ac_c_werror_flag" ||
 
21921
         test ! -s conftest.err
 
21922
       } && test -s conftest.$ac_objext; then
30293
21923
  cat >conftest.$ac_ext <<_ACEOF
30294
21924
/* confdefs.h.  */
30295
21925
_ACEOF
30297
21927
cat >>conftest.$ac_ext <<_ACEOF
30298
21928
/* end confdefs.h.  */
30299
21929
$ac_includes_default
30300
 
typedef size_t ac__type_new_;
30301
21930
int
30302
21931
main ()
30303
21932
{
30304
 
if ((ac__type_new_ *) 0)
30305
 
  return 0;
30306
 
if (sizeof (ac__type_new_))
30307
 
  return 0;
 
21933
if (sizeof ((size_t)))
 
21934
          return 0;
30308
21935
  ;
30309
21936
  return 0;
30310
21937
}
30315
21942
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30316
21943
  *) ac_try_echo=$ac_try;;
30317
21944
esac
30318
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21945
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
21946
$as_echo "$ac_try_echo") >&5
30319
21947
  (eval "$ac_compile") 2>conftest.er1
30320
21948
  ac_status=$?
30321
21949
  grep -v '^ *+' conftest.er1 >conftest.err
30322
21950
  rm -f conftest.er1
30323
21951
  cat conftest.err >&5
30324
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21952
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
30325
21953
  (exit $ac_status); } && {
30326
21954
         test -z "$ac_c_werror_flag" ||
30327
21955
         test ! -s conftest.err
30328
21956
       } && test -s conftest.$ac_objext; then
30329
 
  ac_cv_type_size_t=yes
30330
 
else
30331
 
  echo "$as_me: failed program was:" >&5
30332
 
sed 's/^/| /' conftest.$ac_ext >&5
30333
 
 
30334
 
        ac_cv_type_size_t=no
30335
 
fi
30336
 
 
30337
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30338
 
fi
30339
 
{ echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
30340
 
echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
30341
 
if test $ac_cv_type_size_t = yes; then
 
21957
  :
 
21958
else
 
21959
  $as_echo "$as_me: failed program was:" >&5
 
21960
sed 's/^/| /' conftest.$ac_ext >&5
 
21961
 
 
21962
        ac_cv_type_size_t=yes
 
21963
fi
 
21964
 
 
21965
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
21966
else
 
21967
  $as_echo "$as_me: failed program was:" >&5
 
21968
sed 's/^/| /' conftest.$ac_ext >&5
 
21969
 
 
21970
 
 
21971
fi
 
21972
 
 
21973
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
21974
fi
 
21975
{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
 
21976
$as_echo "$ac_cv_type_size_t" >&6; }
 
21977
if test "x$ac_cv_type_size_t" = x""yes; then
30342
21978
  :
30343
21979
else
30344
21980
 
30348
21984
 
30349
21985
fi
30350
21986
 
30351
 
{ echo "$as_me:$LINENO: checking return type of signal handlers" >&5
30352
 
echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6; }
 
21987
{ $as_echo "$as_me:$LINENO: checking return type of signal handlers" >&5
 
21988
$as_echo_n "checking return type of signal handlers... " >&6; }
30353
21989
if test "${ac_cv_type_signal+set}" = set; then
30354
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
21990
  $as_echo_n "(cached) " >&6
30355
21991
else
30356
21992
  cat >conftest.$ac_ext <<_ACEOF
30357
21993
/* confdefs.h.  */
30376
22012
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30377
22013
  *) ac_try_echo=$ac_try;;
30378
22014
esac
30379
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22015
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
22016
$as_echo "$ac_try_echo") >&5
30380
22017
  (eval "$ac_compile") 2>conftest.er1
30381
22018
  ac_status=$?
30382
22019
  grep -v '^ *+' conftest.er1 >conftest.err
30383
22020
  rm -f conftest.er1
30384
22021
  cat conftest.err >&5
30385
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22022
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
30386
22023
  (exit $ac_status); } && {
30387
22024
         test -z "$ac_c_werror_flag" ||
30388
22025
         test ! -s conftest.err
30389
22026
       } && test -s conftest.$ac_objext; then
30390
22027
  ac_cv_type_signal=int
30391
22028
else
30392
 
  echo "$as_me: failed program was:" >&5
 
22029
  $as_echo "$as_me: failed program was:" >&5
30393
22030
sed 's/^/| /' conftest.$ac_ext >&5
30394
22031
 
30395
22032
        ac_cv_type_signal=void
30397
22034
 
30398
22035
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30399
22036
fi
30400
 
{ echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
30401
 
echo "${ECHO_T}$ac_cv_type_signal" >&6; }
 
22037
{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
 
22038
$as_echo "$ac_cv_type_signal" >&6; }
30402
22039
 
30403
22040
cat >>confdefs.h <<_ACEOF
30404
22041
#define RETSIGTYPE $ac_cv_type_signal
30411
22048
 
30412
22049
for ac_func in nanosleep poll usleep
30413
22050
do
30414
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30415
 
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
30416
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
22051
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
22052
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
 
22053
$as_echo_n "checking for $ac_func... " >&6; }
30417
22054
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30418
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
22055
  $as_echo_n "(cached) " >&6
30419
22056
else
30420
22057
  cat >conftest.$ac_ext <<_ACEOF
30421
22058
/* confdefs.h.  */
30468
22105
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30469
22106
  *) ac_try_echo=$ac_try;;
30470
22107
esac
30471
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22108
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
22109
$as_echo "$ac_try_echo") >&5
30472
22110
  (eval "$ac_link") 2>conftest.er1
30473
22111
  ac_status=$?
30474
22112
  grep -v '^ *+' conftest.er1 >conftest.err
30475
22113
  rm -f conftest.er1
30476
22114
  cat conftest.err >&5
30477
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22115
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
30478
22116
  (exit $ac_status); } && {
30479
22117
         test -z "$ac_c_werror_flag" ||
30480
22118
         test ! -s conftest.err
30481
 
       } && test -s conftest$ac_exeext &&
30482
 
       $as_test_x conftest$ac_exeext; then
 
22119
       } && test -s conftest$ac_exeext && {
 
22120
         test "$cross_compiling" = yes ||
 
22121
         $as_test_x conftest$ac_exeext
 
22122
       }; then
30483
22123
  eval "$as_ac_var=yes"
30484
22124
else
30485
 
  echo "$as_me: failed program was:" >&5
 
22125
  $as_echo "$as_me: failed program was:" >&5
30486
22126
sed 's/^/| /' conftest.$ac_ext >&5
30487
22127
 
30488
22128
        eval "$as_ac_var=no"
30489
22129
fi
30490
22130
 
 
22131
rm -rf conftest.dSYM
30491
22132
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30492
22133
      conftest$ac_exeext conftest.$ac_ext
30493
22134
fi
30494
 
ac_res=`eval echo '${'$as_ac_var'}'`
30495
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
30496
 
echo "${ECHO_T}$ac_res" >&6; }
30497
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
22135
ac_res=`eval 'as_val=${'$as_ac_var'}
 
22136
                 $as_echo "$as_val"'`
 
22137
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
22138
$as_echo "$ac_res" >&6; }
 
22139
as_val=`eval 'as_val=${'$as_ac_var'}
 
22140
                 $as_echo "$as_val"'`
 
22141
   if test "x$as_val" = x""yes; then
30498
22142
  cat >>confdefs.h <<_ACEOF
30499
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
22143
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30500
22144
_ACEOF
30501
22145
 
30502
22146
fi
30505
22149
 
30506
22150
for ac_func in getopt_long
30507
22151
do
30508
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30509
 
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
30510
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
22152
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
22153
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
 
22154
$as_echo_n "checking for $ac_func... " >&6; }
30511
22155
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30512
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
22156
  $as_echo_n "(cached) " >&6
30513
22157
else
30514
22158
  cat >conftest.$ac_ext <<_ACEOF
30515
22159
/* confdefs.h.  */
30562
22206
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30563
22207
  *) ac_try_echo=$ac_try;;
30564
22208
esac
30565
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22209
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
22210
$as_echo "$ac_try_echo") >&5
30566
22211
  (eval "$ac_link") 2>conftest.er1
30567
22212
  ac_status=$?
30568
22213
  grep -v '^ *+' conftest.er1 >conftest.err
30569
22214
  rm -f conftest.er1
30570
22215
  cat conftest.err >&5
30571
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22216
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
30572
22217
  (exit $ac_status); } && {
30573
22218
         test -z "$ac_c_werror_flag" ||
30574
22219
         test ! -s conftest.err
30575
 
       } && test -s conftest$ac_exeext &&
30576
 
       $as_test_x conftest$ac_exeext; then
 
22220
       } && test -s conftest$ac_exeext && {
 
22221
         test "$cross_compiling" = yes ||
 
22222
         $as_test_x conftest$ac_exeext
 
22223
       }; then
30577
22224
  eval "$as_ac_var=yes"
30578
22225
else
30579
 
  echo "$as_me: failed program was:" >&5
 
22226
  $as_echo "$as_me: failed program was:" >&5
30580
22227
sed 's/^/| /' conftest.$ac_ext >&5
30581
22228
 
30582
22229
        eval "$as_ac_var=no"
30583
22230
fi
30584
22231
 
 
22232
rm -rf conftest.dSYM
30585
22233
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30586
22234
      conftest$ac_exeext conftest.$ac_ext
30587
22235
fi
30588
 
ac_res=`eval echo '${'$as_ac_var'}'`
30589
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
30590
 
echo "${ECHO_T}$ac_res" >&6; }
30591
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
22236
ac_res=`eval 'as_val=${'$as_ac_var'}
 
22237
                 $as_echo "$as_val"'`
 
22238
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
22239
$as_echo "$ac_res" >&6; }
 
22240
as_val=`eval 'as_val=${'$as_ac_var'}
 
22241
                 $as_echo "$as_val"'`
 
22242
   if test "x$as_val" = x""yes; then
30592
22243
  cat >>confdefs.h <<_ACEOF
30593
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
22244
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30594
22245
_ACEOF
30595
22246
 
30596
22247
fi
30597
22248
done
30598
22249
 
30599
22250
 
30600
 
{ echo "$as_me:$LINENO: checking for library containing finite" >&5
30601
 
echo $ECHO_N "checking for library containing finite... $ECHO_C" >&6; }
 
22251
{ $as_echo "$as_me:$LINENO: checking for library containing finite" >&5
 
22252
$as_echo_n "checking for library containing finite... " >&6; }
30602
22253
if test "${ac_cv_search_finite+set}" = set; then
30603
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
22254
  $as_echo_n "(cached) " >&6
30604
22255
else
30605
22256
  ac_func_search_save_LIBS=$LIBS
30606
22257
cat >conftest.$ac_ext <<_ACEOF
30638
22289
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30639
22290
  *) ac_try_echo=$ac_try;;
30640
22291
esac
30641
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22292
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
22293
$as_echo "$ac_try_echo") >&5
30642
22294
  (eval "$ac_link") 2>conftest.er1
30643
22295
  ac_status=$?
30644
22296
  grep -v '^ *+' conftest.er1 >conftest.err
30645
22297
  rm -f conftest.er1
30646
22298
  cat conftest.err >&5
30647
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22299
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
30648
22300
  (exit $ac_status); } && {
30649
22301
         test -z "$ac_c_werror_flag" ||
30650
22302
         test ! -s conftest.err
30651
 
       } && test -s conftest$ac_exeext &&
30652
 
       $as_test_x conftest$ac_exeext; then
 
22303
       } && test -s conftest$ac_exeext && {
 
22304
         test "$cross_compiling" = yes ||
 
22305
         $as_test_x conftest$ac_exeext
 
22306
       }; then
30653
22307
  ac_cv_search_finite=$ac_res
30654
22308
else
30655
 
  echo "$as_me: failed program was:" >&5
 
22309
  $as_echo "$as_me: failed program was:" >&5
30656
22310
sed 's/^/| /' conftest.$ac_ext >&5
30657
22311
 
30658
22312
 
30659
22313
fi
30660
22314
 
 
22315
rm -rf conftest.dSYM
30661
22316
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30662
22317
      conftest$ac_exeext
30663
22318
  if test "${ac_cv_search_finite+set}" = set; then
30672
22327
rm conftest.$ac_ext
30673
22328
LIBS=$ac_func_search_save_LIBS
30674
22329
fi
30675
 
{ echo "$as_me:$LINENO: result: $ac_cv_search_finite" >&5
30676
 
echo "${ECHO_T}$ac_cv_search_finite" >&6; }
 
22330
{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_finite" >&5
 
22331
$as_echo "$ac_cv_search_finite" >&6; }
30677
22332
ac_res=$ac_cv_search_finite
30678
22333
if test "$ac_res" != no; then
30679
22334
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
30941
22596
  fi
30942
22597
fi
30943
22598
# define what module system is to be used
30944
 
{ echo "$as_me:$LINENO: checking which module system will be used" >&5
30945
 
echo $ECHO_N "checking which module system will be used... $ECHO_C" >&6; }
 
22599
{ $as_echo "$as_me:$LINENO: checking which module system will be used" >&5
 
22600
$as_echo_n "checking which module system will be used... " >&6; }
30946
22601
if test x$USE_LTDL = xtrue; then
30947
22602
  MODULE="true"
30948
22603
 
30957
22612
 
30958
22613
  GUTENPRINT_LIBDEPS="${GUTENPRINT_LIBDEPS} ${LTDL_LIBS}"
30959
22614
  gutenprint_libdeps="${gutenprint_libdeps} ${LTDL_LIBS}"
30960
 
  { echo "$as_me:$LINENO: result: ltdl" >&5
30961
 
echo "${ECHO_T}ltdl" >&6; }
 
22615
  { $as_echo "$as_me:$LINENO: result: ltdl" >&5
 
22616
$as_echo "ltdl" >&6; }
30962
22617
elif test x$USE_DLOPEN = xtrue; then
30963
22618
  MODULE="true"
30964
22619
 
30973
22628
 
30974
22629
  GUTENPRINT_LIBDEPS="${GUTENPRINT_LIBDEPS} ${DLOPEN_LIBS}"
30975
22630
  gutenprint_libdeps="${gutenprint_libdeps} ${DLOPEN_LIBS}"
30976
 
  { echo "$as_me:$LINENO: result: dlopen" >&5
30977
 
echo "${ECHO_T}dlopen" >&6; }
 
22631
  { $as_echo "$as_me:$LINENO: result: dlopen" >&5
 
22632
$as_echo "dlopen" >&6; }
30978
22633
else
30979
22634
  MODULE="false"
30980
 
  { echo "$as_me:$LINENO: result: static" >&5
30981
 
echo "${ECHO_T}static" >&6; }
 
22635
  { $as_echo "$as_me:$LINENO: result: static" >&5
 
22636
$as_echo "static" >&6; }
30982
22637
fi
30983
22638
 if test x$MODULE = xtrue; then
30984
22639
  BUILD_MODULES_TRUE=
31042
22697
#define CUPS_PPD_PS_LEVEL ${CUPS_PPD_PS_LEVEL}
31043
22698
_ACEOF
31044
22699
 
31045
 
RELEASE_DATE="21 Dec 2008"
 
22700
RELEASE_DATE="26 Jul 2009"
31046
22701
 
31047
22702
cat >>confdefs.h <<_ACEOF
31048
22703
#define RELEASE_DATE "${RELEASE_DATE}"
31221
22876
    case $ac_val in #(
31222
22877
    *${as_nl}*)
31223
22878
      case $ac_var in #(
31224
 
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
31225
 
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
22879
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
22880
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
31226
22881
      esac
31227
22882
      case $ac_var in #(
31228
22883
      _ | IFS | as_nl) ;; #(
 
22884
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
31229
22885
      *) $as_unset $ac_var ;;
31230
22886
      esac ;;
31231
22887
    esac
31258
22914
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
31259
22915
  if test -w "$cache_file"; then
31260
22916
    test "x$cache_file" != "x/dev/null" &&
31261
 
      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
31262
 
echo "$as_me: updating cache $cache_file" >&6;}
 
22917
      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
 
22918
$as_echo "$as_me: updating cache $cache_file" >&6;}
31263
22919
    cat confcache >$cache_file
31264
22920
  else
31265
 
    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
31266
 
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
 
22921
    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 
22922
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
31267
22923
  fi
31268
22924
fi
31269
22925
rm -f confcache
31279
22935
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
31280
22936
  # 1. Remove the extension, and $U if already installed.
31281
22937
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
31282
 
  ac_i=`echo "$ac_i" | sed "$ac_script"`
 
22938
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
31283
22939
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
31284
22940
  #    will be set to the directory where LIBOBJS objects are built.
31285
22941
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
31291
22947
 
31292
22948
 
31293
22949
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
31294
 
  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
 
22950
  { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
31295
22951
Usually this means the macro was only invoked conditionally." >&5
31296
 
echo "$as_me: error: conditional \"AMDEP\" was never defined.
 
22952
$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
31297
22953
Usually this means the macro was only invoked conditionally." >&2;}
31298
22954
   { (exit 1); exit 1; }; }
31299
22955
fi
31300
22956
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
31301
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
31302
 
Usually this means the macro was only invoked conditionally." >&5
31303
 
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
31304
 
Usually this means the macro was only invoked conditionally." >&2;}
31305
 
   { (exit 1); exit 1; }; }
31306
 
fi
31307
 
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
31308
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
31309
 
Usually this means the macro was only invoked conditionally." >&5
31310
 
echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
 
22957
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
 
22958
Usually this means the macro was only invoked conditionally." >&5
 
22959
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
31311
22960
Usually this means the macro was only invoked conditionally." >&2;}
31312
22961
   { (exit 1); exit 1; }; }
31313
22962
fi
31314
22963
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
31315
 
  { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
 
22964
  { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
31316
22965
Usually this means the macro was only invoked conditionally." >&5
31317
 
echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
 
22966
$as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
31318
22967
Usually this means the macro was only invoked conditionally." >&2;}
31319
22968
   { (exit 1); exit 1; }; }
31320
22969
fi
31321
22970
if test -z "${USE_NLS_TRUE}" && test -z "${USE_NLS_FALSE}"; then
31322
 
  { { echo "$as_me:$LINENO: error: conditional \"USE_NLS\" was never defined.
31323
 
Usually this means the macro was only invoked conditionally." >&5
31324
 
echo "$as_me: error: conditional \"USE_NLS\" was never defined.
31325
 
Usually this means the macro was only invoked conditionally." >&2;}
31326
 
   { (exit 1); exit 1; }; }
31327
 
fi
31328
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
31329
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
31330
 
Usually this means the macro was only invoked conditionally." >&5
31331
 
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
31332
 
Usually this means the macro was only invoked conditionally." >&2;}
31333
 
   { (exit 1); exit 1; }; }
31334
 
fi
31335
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
31336
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
31337
 
Usually this means the macro was only invoked conditionally." >&5
31338
 
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
 
22971
  { { $as_echo "$as_me:$LINENO: error: conditional \"USE_NLS\" was never defined.
 
22972
Usually this means the macro was only invoked conditionally." >&5
 
22973
$as_echo "$as_me: error: conditional \"USE_NLS\" was never defined.
 
22974
Usually this means the macro was only invoked conditionally." >&2;}
 
22975
   { (exit 1); exit 1; }; }
 
22976
fi
 
22977
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
22978
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
 
22979
Usually this means the macro was only invoked conditionally." >&5
 
22980
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
 
22981
Usually this means the macro was only invoked conditionally." >&2;}
 
22982
   { (exit 1); exit 1; }; }
 
22983
fi
 
22984
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
22985
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
 
22986
Usually this means the macro was only invoked conditionally." >&5
 
22987
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
31339
22988
Usually this means the macro was only invoked conditionally." >&2;}
31340
22989
   { (exit 1); exit 1; }; }
31341
22990
fi
31342
22991
if test -z "${BUILD_FOOMATIC_TRUE}" && test -z "${BUILD_FOOMATIC_FALSE}"; then
31343
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_FOOMATIC\" was never defined.
 
22992
  { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_FOOMATIC\" was never defined.
31344
22993
Usually this means the macro was only invoked conditionally." >&5
31345
 
echo "$as_me: error: conditional \"BUILD_FOOMATIC\" was never defined.
 
22994
$as_echo "$as_me: error: conditional \"BUILD_FOOMATIC\" was never defined.
31346
22995
Usually this means the macro was only invoked conditionally." >&2;}
31347
22996
   { (exit 1); exit 1; }; }
31348
22997
fi
31349
22998
if test -z "${BUILD_FOOMATIC_3_TRUE}" && test -z "${BUILD_FOOMATIC_3_FALSE}"; then
31350
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_FOOMATIC_3\" was never defined.
 
22999
  { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_FOOMATIC_3\" was never defined.
31351
23000
Usually this means the macro was only invoked conditionally." >&5
31352
 
echo "$as_me: error: conditional \"BUILD_FOOMATIC_3\" was never defined.
 
23001
$as_echo "$as_me: error: conditional \"BUILD_FOOMATIC_3\" was never defined.
31353
23002
Usually this means the macro was only invoked conditionally." >&2;}
31354
23003
   { (exit 1); exit 1; }; }
31355
23004
fi
31356
23005
if test -z "${BUILD_GHOSTSCRIPT_TRUE}" && test -z "${BUILD_GHOSTSCRIPT_FALSE}"; then
31357
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_GHOSTSCRIPT\" was never defined.
 
23006
  { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_GHOSTSCRIPT\" was never defined.
31358
23007
Usually this means the macro was only invoked conditionally." >&5
31359
 
echo "$as_me: error: conditional \"BUILD_GHOSTSCRIPT\" was never defined.
 
23008
$as_echo "$as_me: error: conditional \"BUILD_GHOSTSCRIPT\" was never defined.
31360
23009
Usually this means the macro was only invoked conditionally." >&2;}
31361
23010
   { (exit 1); exit 1; }; }
31362
23011
fi
31363
23012
if test -z "${BUILD_CUPS_TRUE}" && test -z "${BUILD_CUPS_FALSE}"; then
31364
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_CUPS\" was never defined.
 
23013
  { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_CUPS\" was never defined.
31365
23014
Usually this means the macro was only invoked conditionally." >&5
31366
 
echo "$as_me: error: conditional \"BUILD_CUPS\" was never defined.
 
23015
$as_echo "$as_me: error: conditional \"BUILD_CUPS\" was never defined.
31367
23016
Usually this means the macro was only invoked conditionally." >&2;}
31368
23017
   { (exit 1); exit 1; }; }
31369
23018
fi
31370
23019
if test -z "${BUILD_CUPS_1_2_TRUE}" && test -z "${BUILD_CUPS_1_2_FALSE}"; then
31371
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_CUPS_1_2\" was never defined.
 
23020
  { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_CUPS_1_2\" was never defined.
31372
23021
Usually this means the macro was only invoked conditionally." >&5
31373
 
echo "$as_me: error: conditional \"BUILD_CUPS_1_2\" was never defined.
 
23022
$as_echo "$as_me: error: conditional \"BUILD_CUPS_1_2\" was never defined.
31374
23023
Usually this means the macro was only invoked conditionally." >&2;}
31375
23024
   { (exit 1); exit 1; }; }
31376
23025
fi
31377
23026
if test -z "${BUILD_CUPS_PPDS_TRUE}" && test -z "${BUILD_CUPS_PPDS_FALSE}"; then
31378
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_CUPS_PPDS\" was never defined.
 
23027
  { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_CUPS_PPDS\" was never defined.
31379
23028
Usually this means the macro was only invoked conditionally." >&5
31380
 
echo "$as_me: error: conditional \"BUILD_CUPS_PPDS\" was never defined.
 
23029
$as_echo "$as_me: error: conditional \"BUILD_CUPS_PPDS\" was never defined.
31381
23030
Usually this means the macro was only invoked conditionally." >&2;}
31382
23031
   { (exit 1); exit 1; }; }
31383
23032
fi
31384
23033
if test -z "${CUPS_PPDS_AT_TOP_LEVEL_TRUE}" && test -z "${CUPS_PPDS_AT_TOP_LEVEL_FALSE}"; then
31385
 
  { { echo "$as_me:$LINENO: error: conditional \"CUPS_PPDS_AT_TOP_LEVEL\" was never defined.
 
23034
  { { $as_echo "$as_me:$LINENO: error: conditional \"CUPS_PPDS_AT_TOP_LEVEL\" was never defined.
31386
23035
Usually this means the macro was only invoked conditionally." >&5
31387
 
echo "$as_me: error: conditional \"CUPS_PPDS_AT_TOP_LEVEL\" was never defined.
 
23036
$as_echo "$as_me: error: conditional \"CUPS_PPDS_AT_TOP_LEVEL\" was never defined.
31388
23037
Usually this means the macro was only invoked conditionally." >&2;}
31389
23038
   { (exit 1); exit 1; }; }
31390
23039
fi
31391
23040
if test -z "${BUILD_TRANSLATED_CUPS_PPDS_TRUE}" && test -z "${BUILD_TRANSLATED_CUPS_PPDS_FALSE}"; then
31392
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_TRANSLATED_CUPS_PPDS\" was never defined.
 
23041
  { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_TRANSLATED_CUPS_PPDS\" was never defined.
31393
23042
Usually this means the macro was only invoked conditionally." >&5
31394
 
echo "$as_me: error: conditional \"BUILD_TRANSLATED_CUPS_PPDS\" was never defined.
 
23043
$as_echo "$as_me: error: conditional \"BUILD_TRANSLATED_CUPS_PPDS\" was never defined.
31395
23044
Usually this means the macro was only invoked conditionally." >&2;}
31396
23045
   { (exit 1); exit 1; }; }
31397
23046
fi
31398
23047
if test -z "${BUILD_GLOBALIZED_CUPS_PPDS_TRUE}" && test -z "${BUILD_GLOBALIZED_CUPS_PPDS_FALSE}"; then
31399
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_GLOBALIZED_CUPS_PPDS\" was never defined.
 
23048
  { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_GLOBALIZED_CUPS_PPDS\" was never defined.
31400
23049
Usually this means the macro was only invoked conditionally." >&5
31401
 
echo "$as_me: error: conditional \"BUILD_GLOBALIZED_CUPS_PPDS\" was never defined.
 
23050
$as_echo "$as_me: error: conditional \"BUILD_GLOBALIZED_CUPS_PPDS\" was never defined.
31402
23051
Usually this means the macro was only invoked conditionally." >&2;}
31403
23052
   { (exit 1); exit 1; }; }
31404
23053
fi
31405
23054
if test -z "${BUILD_SIMPLIFIED_CUPS_PPDS_TRUE}" && test -z "${BUILD_SIMPLIFIED_CUPS_PPDS_FALSE}"; then
31406
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_SIMPLIFIED_CUPS_PPDS\" was never defined.
 
23055
  { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_SIMPLIFIED_CUPS_PPDS\" was never defined.
31407
23056
Usually this means the macro was only invoked conditionally." >&5
31408
 
echo "$as_me: error: conditional \"BUILD_SIMPLIFIED_CUPS_PPDS\" was never defined.
 
23057
$as_echo "$as_me: error: conditional \"BUILD_SIMPLIFIED_CUPS_PPDS\" was never defined.
31409
23058
Usually this means the macro was only invoked conditionally." >&2;}
31410
23059
   { (exit 1); exit 1; }; }
31411
23060
fi
31412
23061
if test -z "${USE_LEVEL3_PS_TRUE}" && test -z "${USE_LEVEL3_PS_FALSE}"; then
31413
 
  { { echo "$as_me:$LINENO: error: conditional \"USE_LEVEL3_PS\" was never defined.
 
23062
  { { $as_echo "$as_me:$LINENO: error: conditional \"USE_LEVEL3_PS\" was never defined.
31414
23063
Usually this means the macro was only invoked conditionally." >&5
31415
 
echo "$as_me: error: conditional \"USE_LEVEL3_PS\" was never defined.
 
23064
$as_echo "$as_me: error: conditional \"USE_LEVEL3_PS\" was never defined.
31416
23065
Usually this means the macro was only invoked conditionally." >&2;}
31417
23066
   { (exit 1); exit 1; }; }
31418
23067
fi
31419
23068
if test -z "${BUILD_ESCPUTIL_TRUE}" && test -z "${BUILD_ESCPUTIL_FALSE}"; then
31420
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_ESCPUTIL\" was never defined.
 
23069
  { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_ESCPUTIL\" was never defined.
31421
23070
Usually this means the macro was only invoked conditionally." >&5
31422
 
echo "$as_me: error: conditional \"BUILD_ESCPUTIL\" was never defined.
 
23071
$as_echo "$as_me: error: conditional \"BUILD_ESCPUTIL\" was never defined.
31423
23072
Usually this means the macro was only invoked conditionally." >&2;}
31424
23073
   { (exit 1); exit 1; }; }
31425
23074
fi
31426
23075
if test -z "${BUILD_TEST_TRUE}" && test -z "${BUILD_TEST_FALSE}"; then
31427
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_TEST\" was never defined.
 
23076
  { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_TEST\" was never defined.
31428
23077
Usually this means the macro was only invoked conditionally." >&5
31429
 
echo "$as_me: error: conditional \"BUILD_TEST\" was never defined.
 
23078
$as_echo "$as_me: error: conditional \"BUILD_TEST\" was never defined.
31430
23079
Usually this means the macro was only invoked conditionally." >&2;}
31431
23080
   { (exit 1); exit 1; }; }
31432
23081
fi
31433
23082
if test -z "${BUILD_TESTPATTERN_TRUE}" && test -z "${BUILD_TESTPATTERN_FALSE}"; then
31434
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_TESTPATTERN\" was never defined.
 
23083
  { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_TESTPATTERN\" was never defined.
31435
23084
Usually this means the macro was only invoked conditionally." >&5
31436
 
echo "$as_me: error: conditional \"BUILD_TESTPATTERN\" was never defined.
 
23085
$as_echo "$as_me: error: conditional \"BUILD_TESTPATTERN\" was never defined.
31437
23086
Usually this means the macro was only invoked conditionally." >&2;}
31438
23087
   { (exit 1); exit 1; }; }
31439
23088
fi
31440
23089
if test -z "${BUILD_LIBGUTENPRINTUI2_TRUE}" && test -z "${BUILD_LIBGUTENPRINTUI2_FALSE}"; then
31441
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_LIBGUTENPRINTUI2\" was never defined.
 
23090
  { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_LIBGUTENPRINTUI2\" was never defined.
31442
23091
Usually this means the macro was only invoked conditionally." >&5
31443
 
echo "$as_me: error: conditional \"BUILD_LIBGUTENPRINTUI2\" was never defined.
 
23092
$as_echo "$as_me: error: conditional \"BUILD_LIBGUTENPRINTUI2\" was never defined.
31444
23093
Usually this means the macro was only invoked conditionally." >&2;}
31445
23094
   { (exit 1); exit 1; }; }
31446
23095
fi
31447
23096
if test -z "${BUILD_GIMP2_TRUE}" && test -z "${BUILD_GIMP2_FALSE}"; then
31448
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_GIMP2\" was never defined.
 
23097
  { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_GIMP2\" was never defined.
31449
23098
Usually this means the macro was only invoked conditionally." >&5
31450
 
echo "$as_me: error: conditional \"BUILD_GIMP2\" was never defined.
 
23099
$as_echo "$as_me: error: conditional \"BUILD_GIMP2\" was never defined.
31451
23100
Usually this means the macro was only invoked conditionally." >&2;}
31452
23101
   { (exit 1); exit 1; }; }
31453
23102
fi
31454
23103
if test -z "${BUILD_GIMP2_AS_GUTENPRINT_TRUE}" && test -z "${BUILD_GIMP2_AS_GUTENPRINT_FALSE}"; then
31455
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_GIMP2_AS_GUTENPRINT\" was never defined.
 
23104
  { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_GIMP2_AS_GUTENPRINT\" was never defined.
31456
23105
Usually this means the macro was only invoked conditionally." >&5
31457
 
echo "$as_me: error: conditional \"BUILD_GIMP2_AS_GUTENPRINT\" was never defined.
 
23106
$as_echo "$as_me: error: conditional \"BUILD_GIMP2_AS_GUTENPRINT\" was never defined.
31458
23107
Usually this means the macro was only invoked conditionally." >&2;}
31459
23108
   { (exit 1); exit 1; }; }
31460
23109
fi
31461
23110
if test -z "${INSTALL_SAMPLES_TRUE}" && test -z "${INSTALL_SAMPLES_FALSE}"; then
31462
 
  { { echo "$as_me:$LINENO: error: conditional \"INSTALL_SAMPLES\" was never defined.
 
23111
  { { $as_echo "$as_me:$LINENO: error: conditional \"INSTALL_SAMPLES\" was never defined.
31463
23112
Usually this means the macro was only invoked conditionally." >&5
31464
 
echo "$as_me: error: conditional \"INSTALL_SAMPLES\" was never defined.
 
23113
$as_echo "$as_me: error: conditional \"INSTALL_SAMPLES\" was never defined.
31465
23114
Usually this means the macro was only invoked conditionally." >&2;}
31466
23115
   { (exit 1); exit 1; }; }
31467
23116
fi
31468
23117
if test -z "${INSTALL_USER_GUIDE_TRUE}" && test -z "${INSTALL_USER_GUIDE_FALSE}"; then
31469
 
  { { echo "$as_me:$LINENO: error: conditional \"INSTALL_USER_GUIDE\" was never defined.
 
23118
  { { $as_echo "$as_me:$LINENO: error: conditional \"INSTALL_USER_GUIDE\" was never defined.
31470
23119
Usually this means the macro was only invoked conditionally." >&5
31471
 
echo "$as_me: error: conditional \"INSTALL_USER_GUIDE\" was never defined.
 
23120
$as_echo "$as_me: error: conditional \"INSTALL_USER_GUIDE\" was never defined.
31472
23121
Usually this means the macro was only invoked conditionally." >&2;}
31473
23122
   { (exit 1); exit 1; }; }
31474
23123
fi
31475
23124
if test -z "${BUILD_MODULES_TRUE}" && test -z "${BUILD_MODULES_FALSE}"; then
31476
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_MODULES\" was never defined.
 
23125
  { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_MODULES\" was never defined.
31477
23126
Usually this means the macro was only invoked conditionally." >&5
31478
 
echo "$as_me: error: conditional \"BUILD_MODULES\" was never defined.
 
23127
$as_echo "$as_me: error: conditional \"BUILD_MODULES\" was never defined.
31479
23128
Usually this means the macro was only invoked conditionally." >&2;}
31480
23129
   { (exit 1); exit 1; }; }
31481
23130
fi
31482
23131
if test -z "${BUILD_GENPPD_STATIC_TRUE}" && test -z "${BUILD_GENPPD_STATIC_FALSE}"; then
31483
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_GENPPD_STATIC\" was never defined.
 
23132
  { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_GENPPD_STATIC\" was never defined.
31484
23133
Usually this means the macro was only invoked conditionally." >&5
31485
 
echo "$as_me: error: conditional \"BUILD_GENPPD_STATIC\" was never defined.
 
23134
$as_echo "$as_me: error: conditional \"BUILD_GENPPD_STATIC\" was never defined.
31486
23135
Usually this means the macro was only invoked conditionally." >&2;}
31487
23136
   { (exit 1); exit 1; }; }
31488
23137
fi
31492
23141
 
31493
23142
 
31494
23143
: ${CONFIG_STATUS=./config.status}
 
23144
ac_write_fail=0
31495
23145
ac_clean_files_save=$ac_clean_files
31496
23146
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
31497
 
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
31498
 
echo "$as_me: creating $CONFIG_STATUS" >&6;}
31499
 
cat >$CONFIG_STATUS <<_ACEOF
 
23147
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
 
23148
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
 
23149
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
31500
23150
#! $SHELL
31501
23151
# Generated by $as_me.
31502
23152
# Run this file to recreate the current configuration.
31509
23159
SHELL=\${CONFIG_SHELL-$SHELL}
31510
23160
_ACEOF
31511
23161
 
31512
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
23162
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
31513
23163
## --------------------- ##
31514
23164
## M4sh Initialization.  ##
31515
23165
## --------------------- ##
31519
23169
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
31520
23170
  emulate sh
31521
23171
  NULLCMD=:
31522
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
23172
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
31523
23173
  # is contrary to our usage.  Disable this feature.
31524
23174
  alias -g '${1+"$@"}'='"$@"'
31525
23175
  setopt NO_GLOB_SUBST
31541
23191
as_cr_digits='0123456789'
31542
23192
as_cr_alnum=$as_cr_Letters$as_cr_digits
31543
23193
 
 
23194
as_nl='
 
23195
'
 
23196
export as_nl
 
23197
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
23198
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
23199
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
23200
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
23201
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
23202
  as_echo='printf %s\n'
 
23203
  as_echo_n='printf %s'
 
23204
else
 
23205
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
23206
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
23207
    as_echo_n='/usr/ucb/echo -n'
 
23208
  else
 
23209
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
23210
    as_echo_n_body='eval
 
23211
      arg=$1;
 
23212
      case $arg in
 
23213
      *"$as_nl"*)
 
23214
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
23215
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
23216
      esac;
 
23217
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
23218
    '
 
23219
    export as_echo_n_body
 
23220
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
23221
  fi
 
23222
  export as_echo_body
 
23223
  as_echo='sh -c $as_echo_body as_echo'
 
23224
fi
 
23225
 
31544
23226
# The user is always right.
31545
23227
if test "${PATH_SEPARATOR+set}" != set; then
31546
 
  echo "#! /bin/sh" >conf$$.sh
31547
 
  echo  "exit 0"   >>conf$$.sh
31548
 
  chmod +x conf$$.sh
31549
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
31550
 
    PATH_SEPARATOR=';'
31551
 
  else
31552
 
    PATH_SEPARATOR=:
31553
 
  fi
31554
 
  rm -f conf$$.sh
 
23228
  PATH_SEPARATOR=:
 
23229
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
23230
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
23231
      PATH_SEPARATOR=';'
 
23232
  }
31555
23233
fi
31556
23234
 
31557
23235
# Support unset when possible.
31567
23245
# there to prevent editors from complaining about space-tab.
31568
23246
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
31569
23247
# splitting by setting IFS to empty value.)
31570
 
as_nl='
31571
 
'
31572
23248
IFS=" ""        $as_nl"
31573
23249
 
31574
23250
# Find who we are.  Look in the path if we contain no directory separator.
31591
23267
  as_myself=$0
31592
23268
fi
31593
23269
if test ! -f "$as_myself"; then
31594
 
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
23270
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
31595
23271
  { (exit 1); exit 1; }
31596
23272
fi
31597
23273
 
31604
23280
PS4='+ '
31605
23281
 
31606
23282
# NLS nuisances.
31607
 
for as_var in \
31608
 
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
31609
 
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
31610
 
  LC_TELEPHONE LC_TIME
31611
 
do
31612
 
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
31613
 
    eval $as_var=C; export $as_var
31614
 
  else
31615
 
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
31616
 
  fi
31617
 
done
 
23283
LC_ALL=C
 
23284
export LC_ALL
 
23285
LANGUAGE=C
 
23286
export LANGUAGE
31618
23287
 
31619
23288
# Required to use basename.
31620
23289
if expr a : '\(a\)' >/dev/null 2>&1 &&
31636
23305
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
31637
23306
         X"$0" : 'X\(//\)$' \| \
31638
23307
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
31639
 
echo X/"$0" |
 
23308
$as_echo X/"$0" |
31640
23309
    sed '/^.*\/\([^/][^/]*\)\/*$/{
31641
23310
            s//\1/
31642
23311
            q
31687
23356
      s/-\n.*//
31688
23357
    ' >$as_me.lineno &&
31689
23358
  chmod +x "$as_me.lineno" ||
31690
 
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
 
23359
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
31691
23360
   { (exit 1); exit 1; }; }
31692
23361
 
31693
23362
  # Don't try to exec as it changes $[0], causing all sort of problems
31715
23384
*)
31716
23385
  ECHO_N='-n';;
31717
23386
esac
31718
 
 
31719
23387
if expr a : '\(a\)' >/dev/null 2>&1 &&
31720
23388
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
31721
23389
  as_expr=expr
31728
23396
  rm -f conf$$.dir/conf$$.file
31729
23397
else
31730
23398
  rm -f conf$$.dir
31731
 
  mkdir conf$$.dir
 
23399
  mkdir conf$$.dir 2>/dev/null
31732
23400
fi
31733
 
echo >conf$$.file
31734
 
if ln -s conf$$.file conf$$ 2>/dev/null; then
31735
 
  as_ln_s='ln -s'
31736
 
  # ... but there are two gotchas:
31737
 
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
31738
 
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
31739
 
  # In both cases, we have to default to `cp -p'.
31740
 
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
23401
if (echo >conf$$.file) 2>/dev/null; then
 
23402
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
23403
    as_ln_s='ln -s'
 
23404
    # ... but there are two gotchas:
 
23405
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
23406
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
23407
    # In both cases, we have to default to `cp -p'.
 
23408
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
23409
      as_ln_s='cp -p'
 
23410
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
23411
    as_ln_s=ln
 
23412
  else
31741
23413
    as_ln_s='cp -p'
31742
 
elif ln conf$$.file conf$$ 2>/dev/null; then
31743
 
  as_ln_s=ln
 
23414
  fi
31744
23415
else
31745
23416
  as_ln_s='cp -p'
31746
23417
fi
31765
23436
  as_test_x='
31766
23437
    eval sh -c '\''
31767
23438
      if test -d "$1"; then
31768
 
        test -d "$1/.";
 
23439
        test -d "$1/.";
31769
23440
      else
31770
23441
        case $1 in
31771
 
        -*)set "./$1";;
 
23442
        -*)set "./$1";;
31772
23443
        esac;
31773
23444
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
31774
23445
        ???[sx]*):;;*)false;;esac;fi
31790
23461
# report actual input values of CONFIG_FILES etc. instead of their
31791
23462
# values after options handling.
31792
23463
ac_log="
31793
 
This file was extended by gutenprint $as_me 5.2.3, which was
31794
 
generated by GNU Autoconf 2.61.  Invocation command line was
 
23464
This file was extended by gutenprint $as_me 5.2.4, which was
 
23465
generated by GNU Autoconf 2.63.  Invocation command line was
31795
23466
 
31796
23467
  CONFIG_FILES    = $CONFIG_FILES
31797
23468
  CONFIG_HEADERS  = $CONFIG_HEADERS
31804
23475
 
31805
23476
_ACEOF
31806
23477
 
31807
 
cat >>$CONFIG_STATUS <<_ACEOF
 
23478
case $ac_config_files in *"
 
23479
"*) set x $ac_config_files; shift; ac_config_files=$*;;
 
23480
esac
 
23481
 
 
23482
case $ac_config_headers in *"
 
23483
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
 
23484
esac
 
23485
 
 
23486
 
 
23487
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
31808
23488
# Files that config.status was made for.
31809
23489
config_files="$ac_config_files"
31810
23490
config_headers="$ac_config_headers"
31812
23492
 
31813
23493
_ACEOF
31814
23494
 
31815
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
23495
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
31816
23496
ac_cs_usage="\
31817
23497
\`$as_me' instantiates files from templates according to the
31818
23498
current configuration.
31819
23499
 
31820
 
Usage: $0 [OPTIONS] [FILE]...
 
23500
Usage: $0 [OPTION]... [FILE]...
31821
23501
 
31822
23502
  -h, --help       print this help, then exit
31823
23503
  -V, --version    print version number and configuration settings, then exit
31824
 
  -q, --quiet      do not print progress messages
 
23504
  -q, --quiet, --silent
 
23505
                   do not print progress messages
31825
23506
  -d, --debug      don't remove temporary files
31826
23507
      --recheck    update $as_me by reconfiguring in the same conditions
31827
 
  --file=FILE[:TEMPLATE]
31828
 
                   instantiate the configuration file FILE
31829
 
  --header=FILE[:TEMPLATE]
31830
 
                   instantiate the configuration header FILE
 
23508
      --file=FILE[:TEMPLATE]
 
23509
                   instantiate the configuration file FILE
 
23510
      --header=FILE[:TEMPLATE]
 
23511
                   instantiate the configuration header FILE
31831
23512
 
31832
23513
Configuration files:
31833
23514
$config_files
31841
23522
Report bugs to <bug-autoconf@gnu.org>."
31842
23523
 
31843
23524
_ACEOF
31844
 
cat >>$CONFIG_STATUS <<_ACEOF
 
23525
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
31845
23526
ac_cs_version="\\
31846
 
gutenprint config.status 5.2.3
31847
 
configured by $0, generated by GNU Autoconf 2.61,
31848
 
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
 
23527
gutenprint config.status 5.2.4
 
23528
configured by $0, generated by GNU Autoconf 2.63,
 
23529
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
31849
23530
 
31850
 
Copyright (C) 2006 Free Software Foundation, Inc.
 
23531
Copyright (C) 2008 Free Software Foundation, Inc.
31851
23532
This config.status script is free software; the Free Software Foundation
31852
23533
gives unlimited permission to copy, distribute and modify it."
31853
23534
 
31855
23536
srcdir='$srcdir'
31856
23537
INSTALL='$INSTALL'
31857
23538
MKDIR_P='$MKDIR_P'
 
23539
AWK='$AWK'
 
23540
test -n "\$AWK" || AWK=awk
31858
23541
_ACEOF
31859
23542
 
31860
 
cat >>$CONFIG_STATUS <<\_ACEOF
31861
 
# If no file are specified by the user, then we need to provide default
31862
 
# value.  By we need to know if files were specified by the user.
 
23543
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
23544
# The default lists apply if the user does not specify any file.
31863
23545
ac_need_defaults=:
31864
23546
while test $# != 0
31865
23547
do
31881
23563
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
31882
23564
    ac_cs_recheck=: ;;
31883
23565
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
31884
 
    echo "$ac_cs_version"; exit ;;
 
23566
    $as_echo "$ac_cs_version"; exit ;;
31885
23567
  --debug | --debu | --deb | --de | --d | -d )
31886
23568
    debug=: ;;
31887
23569
  --file | --fil | --fi | --f )
31888
23570
    $ac_shift
31889
 
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
 
23571
    case $ac_optarg in
 
23572
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
23573
    esac
 
23574
    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
31890
23575
    ac_need_defaults=false;;
31891
23576
  --header | --heade | --head | --hea )
31892
23577
    $ac_shift
31893
 
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
 
23578
    case $ac_optarg in
 
23579
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
23580
    esac
 
23581
    CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
31894
23582
    ac_need_defaults=false;;
31895
23583
  --he | --h)
31896
23584
    # Conflict between --help and --header
31897
 
    { echo "$as_me: error: ambiguous option: $1
 
23585
    { $as_echo "$as_me: error: ambiguous option: $1
31898
23586
Try \`$0 --help' for more information." >&2
31899
23587
   { (exit 1); exit 1; }; };;
31900
23588
  --help | --hel | -h )
31901
 
    echo "$ac_cs_usage"; exit ;;
 
23589
    $as_echo "$ac_cs_usage"; exit ;;
31902
23590
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
31903
23591
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
31904
23592
    ac_cs_silent=: ;;
31905
23593
 
31906
23594
  # This is an error.
31907
 
  -*) { echo "$as_me: error: unrecognized option: $1
 
23595
  -*) { $as_echo "$as_me: error: unrecognized option: $1
31908
23596
Try \`$0 --help' for more information." >&2
31909
23597
   { (exit 1); exit 1; }; } ;;
31910
23598
 
31923
23611
fi
31924
23612
 
31925
23613
_ACEOF
31926
 
cat >>$CONFIG_STATUS <<_ACEOF
 
23614
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
31927
23615
if \$ac_cs_recheck; then
31928
 
  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
31929
 
  CONFIG_SHELL=$SHELL
 
23616
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
23617
  shift
 
23618
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
 
23619
  CONFIG_SHELL='$SHELL'
31930
23620
  export CONFIG_SHELL
31931
 
  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
23621
  exec "\$@"
31932
23622
fi
31933
23623
 
31934
23624
_ACEOF
31935
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
23625
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
31936
23626
exec 5>>config.log
31937
23627
{
31938
23628
  echo
31939
23629
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
31940
23630
## Running $as_me. ##
31941
23631
_ASBOX
31942
 
  echo "$ac_log"
 
23632
  $as_echo "$ac_log"
31943
23633
} >&5
31944
23634
 
31945
23635
_ACEOF
31946
 
cat >>$CONFIG_STATUS <<_ACEOF
 
23636
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
31947
23637
#
31948
23638
# INIT-COMMANDS
31949
23639
#
31950
23640
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
 
23641
 
 
23642
 
 
23643
# The HP-UX ksh and POSIX shell print the target directory to stdout
 
23644
# if CDPATH is set.
 
23645
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
23646
 
 
23647
sed_quote_subst='$sed_quote_subst'
 
23648
double_quote_subst='$double_quote_subst'
 
23649
delay_variable_subst='$delay_variable_subst'
 
23650
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
 
23651
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
 
23652
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
 
23653
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
 
23654
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
 
23655
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
 
23656
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
 
23657
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
 
23658
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
 
23659
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
 
23660
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
 
23661
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
 
23662
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
 
23663
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
 
23664
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
 
23665
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
 
23666
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
 
23667
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
 
23668
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
 
23669
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
 
23670
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
 
23671
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
 
23672
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
 
23673
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
 
23674
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
 
23675
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
 
23676
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
23677
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
23678
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
 
23679
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
 
23680
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
 
23681
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
 
23682
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
 
23683
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
 
23684
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
 
23685
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
23686
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
23687
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
23688
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
 
23689
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
 
23690
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
 
23691
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
 
23692
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
 
23693
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
 
23694
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
 
23695
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
 
23696
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
 
23697
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
 
23698
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
 
23699
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
 
23700
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
23701
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
 
23702
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
 
23703
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
 
23704
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
 
23705
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
 
23706
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
 
23707
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
 
23708
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
 
23709
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
 
23710
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
 
23711
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
 
23712
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
23713
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
23714
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
 
23715
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
 
23716
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
23717
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
23718
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
 
23719
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
23720
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
23721
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
23722
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
23723
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
23724
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
23725
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
 
23726
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
23727
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
23728
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
23729
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
 
23730
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
 
23731
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
 
23732
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
 
23733
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
 
23734
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 
23735
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
 
23736
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
 
23737
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
 
23738
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
 
23739
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
 
23740
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
23741
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
 
23742
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
 
23743
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
23744
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
23745
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
 
23746
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
 
23747
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
 
23748
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
 
23749
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 
23750
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 
23751
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
 
23752
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
23753
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
23754
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
23755
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
23756
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
23757
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
23758
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
 
23759
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
 
23760
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
23761
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
23762
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
 
23763
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
 
23764
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
 
23765
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
 
23766
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
 
23767
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
 
23768
 
 
23769
LTCC='$LTCC'
 
23770
LTCFLAGS='$LTCFLAGS'
 
23771
compiler='$compiler_DEFAULT'
 
23772
 
 
23773
# Quote evaled strings.
 
23774
for var in SED \
 
23775
GREP \
 
23776
EGREP \
 
23777
FGREP \
 
23778
LD \
 
23779
NM \
 
23780
LN_S \
 
23781
lt_SP2NL \
 
23782
lt_NL2SP \
 
23783
reload_flag \
 
23784
OBJDUMP \
 
23785
deplibs_check_method \
 
23786
file_magic_cmd \
 
23787
AR \
 
23788
AR_FLAGS \
 
23789
STRIP \
 
23790
RANLIB \
 
23791
CC \
 
23792
CFLAGS \
 
23793
compiler \
 
23794
lt_cv_sys_global_symbol_pipe \
 
23795
lt_cv_sys_global_symbol_to_cdecl \
 
23796
lt_cv_sys_global_symbol_to_c_name_address \
 
23797
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
 
23798
SHELL \
 
23799
ECHO \
 
23800
lt_prog_compiler_no_builtin_flag \
 
23801
lt_prog_compiler_wl \
 
23802
lt_prog_compiler_pic \
 
23803
lt_prog_compiler_static \
 
23804
lt_cv_prog_compiler_c_o \
 
23805
need_locks \
 
23806
DSYMUTIL \
 
23807
NMEDIT \
 
23808
LIPO \
 
23809
OTOOL \
 
23810
OTOOL64 \
 
23811
shrext_cmds \
 
23812
export_dynamic_flag_spec \
 
23813
whole_archive_flag_spec \
 
23814
compiler_needs_object \
 
23815
with_gnu_ld \
 
23816
allow_undefined_flag \
 
23817
no_undefined_flag \
 
23818
hardcode_libdir_flag_spec \
 
23819
hardcode_libdir_flag_spec_ld \
 
23820
hardcode_libdir_separator \
 
23821
fix_srcfile_path \
 
23822
exclude_expsyms \
 
23823
include_expsyms \
 
23824
file_list_spec \
 
23825
variables_saved_for_relink \
 
23826
libname_spec \
 
23827
library_names_spec \
 
23828
soname_spec \
 
23829
finish_eval \
 
23830
old_striplib \
 
23831
striplib; do
 
23832
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
23833
    *[\\\\\\\`\\"\\\$]*)
 
23834
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
 
23835
      ;;
 
23836
    *)
 
23837
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
23838
      ;;
 
23839
    esac
 
23840
done
 
23841
 
 
23842
# Double-quote double-evaled strings.
 
23843
for var in reload_cmds \
 
23844
old_postinstall_cmds \
 
23845
old_postuninstall_cmds \
 
23846
old_archive_cmds \
 
23847
extract_expsyms_cmds \
 
23848
old_archive_from_new_cmds \
 
23849
old_archive_from_expsyms_cmds \
 
23850
archive_cmds \
 
23851
archive_expsym_cmds \
 
23852
module_cmds \
 
23853
module_expsym_cmds \
 
23854
export_symbols_cmds \
 
23855
prelink_cmds \
 
23856
postinstall_cmds \
 
23857
postuninstall_cmds \
 
23858
finish_cmds \
 
23859
sys_lib_search_path_spec \
 
23860
sys_lib_dlsearch_path_spec; do
 
23861
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
23862
    *[\\\\\\\`\\"\\\$]*)
 
23863
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
 
23864
      ;;
 
23865
    *)
 
23866
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
23867
      ;;
 
23868
    esac
 
23869
done
 
23870
 
 
23871
# Fix-up fallback echo if it was mangled by the above quoting rules.
 
23872
case \$lt_ECHO in
 
23873
*'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
 
23874
  ;;
 
23875
esac
 
23876
 
 
23877
ac_aux_dir='$ac_aux_dir'
 
23878
xsi_shell='$xsi_shell'
 
23879
lt_shell_append='$lt_shell_append'
 
23880
 
 
23881
# See if we are running on zsh, and set the options which allow our
 
23882
# commands through without removal of \ escapes INIT.
 
23883
if test -n "\${ZSH_VERSION+set}" ; then
 
23884
   setopt NO_GLOB_SUBST
 
23885
fi
 
23886
 
 
23887
 
 
23888
    PACKAGE='$PACKAGE'
 
23889
    VERSION='$VERSION'
 
23890
    TIMESTAMP='$TIMESTAMP'
 
23891
    RM='$RM'
 
23892
    ofile='$ofile'
 
23893
 
 
23894
 
 
23895
 
31951
23896
# Capture the value of obsolete ALL_LINGUAS because we need it to compute
31952
23897
    # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
31953
23898
    # from automake < 1.5.
31960
23905
 
31961
23906
_ACEOF
31962
23907
 
31963
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
23908
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
31964
23909
 
31965
23910
# Handling of arguments.
31966
23911
for ac_config_target in $ac_config_targets
31968
23913
  case $ac_config_target in
31969
23914
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
31970
23915
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 
23916
    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
31971
23917
    "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
31972
23918
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
31973
23919
    "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
32016
23962
    "scripts/Makefile") CONFIG_FILES="$CONFIG_FILES scripts/Makefile" ;;
32017
23963
    "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
32018
23964
 
32019
 
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
32020
 
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
 
23965
  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
 
23966
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
32021
23967
   { (exit 1); exit 1; }; };;
32022
23968
  esac
32023
23969
done
32058
24004
  (umask 077 && mkdir "$tmp")
32059
24005
} ||
32060
24006
{
32061
 
   echo "$me: cannot create a temporary directory in ." >&2
 
24007
   $as_echo "$as_me: cannot create a temporary directory in ." >&2
32062
24008
   { (exit 1); exit 1; }
32063
24009
}
32064
24010
 
32065
 
#
32066
 
# Set up the sed scripts for CONFIG_FILES section.
32067
 
#
32068
 
 
32069
 
# No need to generate the scripts if there are no CONFIG_FILES.
32070
 
# This happens for instance when ./config.status config.h
 
24011
# Set up the scripts for CONFIG_FILES section.
 
24012
# No need to generate them if there are no CONFIG_FILES.
 
24013
# This happens for instance with `./config.status config.h'.
32071
24014
if test -n "$CONFIG_FILES"; then
32072
24015
 
32073
 
_ACEOF
32074
 
 
32075
 
 
32076
 
 
32077
 
ac_delim='%!_!# '
32078
 
for ac_last_try in false false false false false :; do
32079
 
  cat >conf$$subs.sed <<_ACEOF
32080
 
SHELL!$SHELL$ac_delim
32081
 
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
32082
 
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
32083
 
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
32084
 
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
32085
 
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
32086
 
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
32087
 
exec_prefix!$exec_prefix$ac_delim
32088
 
prefix!$prefix$ac_delim
32089
 
program_transform_name!$program_transform_name$ac_delim
32090
 
bindir!$bindir$ac_delim
32091
 
sbindir!$sbindir$ac_delim
32092
 
libexecdir!$libexecdir$ac_delim
32093
 
datarootdir!$datarootdir$ac_delim
32094
 
datadir!$datadir$ac_delim
32095
 
sysconfdir!$sysconfdir$ac_delim
32096
 
sharedstatedir!$sharedstatedir$ac_delim
32097
 
localstatedir!$localstatedir$ac_delim
32098
 
includedir!$includedir$ac_delim
32099
 
oldincludedir!$oldincludedir$ac_delim
32100
 
docdir!$docdir$ac_delim
32101
 
infodir!$infodir$ac_delim
32102
 
htmldir!$htmldir$ac_delim
32103
 
dvidir!$dvidir$ac_delim
32104
 
pdfdir!$pdfdir$ac_delim
32105
 
psdir!$psdir$ac_delim
32106
 
libdir!$libdir$ac_delim
32107
 
localedir!$localedir$ac_delim
32108
 
mandir!$mandir$ac_delim
32109
 
DEFS!$DEFS$ac_delim
32110
 
ECHO_C!$ECHO_C$ac_delim
32111
 
ECHO_N!$ECHO_N$ac_delim
32112
 
ECHO_T!$ECHO_T$ac_delim
32113
 
LIBS!$LIBS$ac_delim
32114
 
build_alias!$build_alias$ac_delim
32115
 
host_alias!$host_alias$ac_delim
32116
 
target_alias!$target_alias$ac_delim
32117
 
GUTENPRINT_MAJOR_VERSION!$GUTENPRINT_MAJOR_VERSION$ac_delim
32118
 
GUTENPRINT_MINOR_VERSION!$GUTENPRINT_MINOR_VERSION$ac_delim
32119
 
GUTENPRINT_MICRO_VERSION!$GUTENPRINT_MICRO_VERSION$ac_delim
32120
 
GUTENPRINT_CURRENT_INTERFACE!$GUTENPRINT_CURRENT_INTERFACE$ac_delim
32121
 
GUTENPRINT_INTERFACE_AGE!$GUTENPRINT_INTERFACE_AGE$ac_delim
32122
 
GUTENPRINT_BINARY_AGE!$GUTENPRINT_BINARY_AGE$ac_delim
32123
 
GUTENPRINT_VERSION!$GUTENPRINT_VERSION$ac_delim
32124
 
GUTENPRINTUI2_CURRENT_INTERFACE!$GUTENPRINTUI2_CURRENT_INTERFACE$ac_delim
32125
 
GUTENPRINTUI2_INTERFACE_AGE!$GUTENPRINTUI2_INTERFACE_AGE$ac_delim
32126
 
GUTENPRINTUI2_BINARY_AGE!$GUTENPRINTUI2_BINARY_AGE$ac_delim
32127
 
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
32128
 
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
32129
 
INSTALL_DATA!$INSTALL_DATA$ac_delim
32130
 
am__isrc!$am__isrc$ac_delim
32131
 
CYGPATH_W!$CYGPATH_W$ac_delim
32132
 
PACKAGE!$PACKAGE$ac_delim
32133
 
VERSION!$VERSION$ac_delim
32134
 
ACLOCAL!$ACLOCAL$ac_delim
32135
 
AUTOCONF!$AUTOCONF$ac_delim
32136
 
AUTOMAKE!$AUTOMAKE$ac_delim
32137
 
AUTOHEADER!$AUTOHEADER$ac_delim
32138
 
MAKEINFO!$MAKEINFO$ac_delim
32139
 
install_sh!$install_sh$ac_delim
32140
 
STRIP!$STRIP$ac_delim
32141
 
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
32142
 
mkdir_p!$mkdir_p$ac_delim
32143
 
AWK!$AWK$ac_delim
32144
 
SET_MAKE!$SET_MAKE$ac_delim
32145
 
am__leading_dot!$am__leading_dot$ac_delim
32146
 
AMTAR!$AMTAR$ac_delim
32147
 
am__tar!$am__tar$ac_delim
32148
 
am__untar!$am__untar$ac_delim
32149
 
ALL_LINGUAS!$ALL_LINGUAS$ac_delim
32150
 
build!$build$ac_delim
32151
 
build_cpu!$build_cpu$ac_delim
32152
 
build_vendor!$build_vendor$ac_delim
32153
 
build_os!$build_os$ac_delim
32154
 
host!$host$ac_delim
32155
 
host_cpu!$host_cpu$ac_delim
32156
 
host_vendor!$host_vendor$ac_delim
32157
 
host_os!$host_os$ac_delim
32158
 
CC!$CC$ac_delim
32159
 
CFLAGS!$CFLAGS$ac_delim
32160
 
LDFLAGS!$LDFLAGS$ac_delim
32161
 
CPPFLAGS!$CPPFLAGS$ac_delim
32162
 
ac_ct_CC!$ac_ct_CC$ac_delim
32163
 
EXEEXT!$EXEEXT$ac_delim
32164
 
OBJEXT!$OBJEXT$ac_delim
32165
 
DEPDIR!$DEPDIR$ac_delim
32166
 
am__include!$am__include$ac_delim
32167
 
am__quote!$am__quote$ac_delim
32168
 
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
32169
 
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
32170
 
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
32171
 
CCDEPMODE!$CCDEPMODE$ac_delim
32172
 
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
32173
 
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
32174
 
SED!$SED$ac_delim
32175
 
GREP!$GREP$ac_delim
32176
 
EGREP!$EGREP$ac_delim
32177
 
_ACEOF
32178
 
 
32179
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
32180
 
    break
32181
 
  elif $ac_last_try; then
32182
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
32183
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
32184
 
   { (exit 1); exit 1; }; }
32185
 
  else
32186
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
32187
 
  fi
32188
 
done
32189
 
 
32190
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
32191
 
if test -n "$ac_eof"; then
32192
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
32193
 
  ac_eof=`expr $ac_eof + 1`
32194
 
fi
32195
 
 
32196
 
cat >>$CONFIG_STATUS <<_ACEOF
32197
 
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
32198
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
32199
 
_ACEOF
32200
 
sed '
32201
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
32202
 
s/^/s,@/; s/!/@,|#_!!_#|/
32203
 
:n
32204
 
t n
32205
 
s/'"$ac_delim"'$/,g/; t
32206
 
s/$/\\/; p
32207
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
32208
 
' >>$CONFIG_STATUS <conf$$subs.sed
32209
 
rm -f conf$$subs.sed
32210
 
cat >>$CONFIG_STATUS <<_ACEOF
32211
 
CEOF$ac_eof
32212
 
_ACEOF
32213
 
 
32214
 
 
32215
 
ac_delim='%!_!# '
32216
 
for ac_last_try in false false false false false :; do
32217
 
  cat >conf$$subs.sed <<_ACEOF
32218
 
LN_S!$LN_S$ac_delim
32219
 
ECHO!$ECHO$ac_delim
32220
 
AR!$AR$ac_delim
32221
 
RANLIB!$RANLIB$ac_delim
32222
 
DSYMUTIL!$DSYMUTIL$ac_delim
32223
 
NMEDIT!$NMEDIT$ac_delim
32224
 
CPP!$CPP$ac_delim
32225
 
CXX!$CXX$ac_delim
32226
 
CXXFLAGS!$CXXFLAGS$ac_delim
32227
 
ac_ct_CXX!$ac_ct_CXX$ac_delim
32228
 
CXXDEPMODE!$CXXDEPMODE$ac_delim
32229
 
am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
32230
 
am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
32231
 
CXXCPP!$CXXCPP$ac_delim
32232
 
F77!$F77$ac_delim
32233
 
FFLAGS!$FFLAGS$ac_delim
32234
 
ac_ct_F77!$ac_ct_F77$ac_delim
32235
 
LIBTOOL!$LIBTOOL$ac_delim
32236
 
LIBTOOL_DEPS!$LIBTOOL_DEPS$ac_delim
32237
 
MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
32238
 
MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
32239
 
MAINT!$MAINT$ac_delim
32240
 
CUPS_CONFIG!$CUPS_CONFIG$ac_delim
32241
 
USE_NLS!$USE_NLS$ac_delim
32242
 
MSGFMT!$MSGFMT$ac_delim
32243
 
GMSGFMT!$GMSGFMT$ac_delim
32244
 
MSGFMT_015!$MSGFMT_015$ac_delim
32245
 
GMSGFMT_015!$GMSGFMT_015$ac_delim
32246
 
XGETTEXT!$XGETTEXT$ac_delim
32247
 
XGETTEXT_015!$XGETTEXT_015$ac_delim
32248
 
MSGMERGE!$MSGMERGE$ac_delim
32249
 
INTL_MACOSX_LIBS!$INTL_MACOSX_LIBS$ac_delim
32250
 
LIBICONV!$LIBICONV$ac_delim
32251
 
LTLIBICONV!$LTLIBICONV$ac_delim
32252
 
INTLLIBS!$INTLLIBS$ac_delim
32253
 
LIBINTL!$LIBINTL$ac_delim
32254
 
LTLIBINTL!$LTLIBINTL$ac_delim
32255
 
POSUB!$POSUB$ac_delim
32256
 
USE_NLS_TRUE!$USE_NLS_TRUE$ac_delim
32257
 
USE_NLS_FALSE!$USE_NLS_FALSE$ac_delim
32258
 
FOOMATIC_CONFIGURE!$FOOMATIC_CONFIGURE$ac_delim
32259
 
FOOMATIC_PPDFILE!$FOOMATIC_PPDFILE$ac_delim
32260
 
IJS_CONFIG!$IJS_CONFIG$ac_delim
32261
 
GIMPTOOL2_CHECK!$GIMPTOOL2_CHECK$ac_delim
32262
 
PKG_CONFIG!$PKG_CONFIG$ac_delim
32263
 
GTK2_CFLAGS!$GTK2_CFLAGS$ac_delim
32264
 
GTK2_LIBS!$GTK2_LIBS$ac_delim
32265
 
GIMP2_CFLAGS!$GIMP2_CFLAGS$ac_delim
32266
 
GIMP2_LIBS!$GIMP2_LIBS$ac_delim
32267
 
LEX!$LEX$ac_delim
32268
 
LEX_OUTPUT_ROOT!$LEX_OUTPUT_ROOT$ac_delim
32269
 
LEXLIB!$LEXLIB$ac_delim
32270
 
YACC!$YACC$ac_delim
32271
 
YFLAGS!$YFLAGS$ac_delim
32272
 
TEST!$TEST$ac_delim
32273
 
TRUE!$TRUE$ac_delim
32274
 
FIND!$FIND$ac_delim
32275
 
PERL!$PERL$ac_delim
32276
 
GLIB_MKENUMS!$GLIB_MKENUMS$ac_delim
32277
 
CONVERT!$CONVERT$ac_delim
32278
 
TEXI2HTML!$TEXI2HTML$ac_delim
32279
 
DVIPS!$DVIPS$ac_delim
32280
 
DB2PDF!$DB2PDF$ac_delim
32281
 
DVIPDF!$DVIPDF$ac_delim
32282
 
DB2PS!$DB2PS$ac_delim
32283
 
DB2HTML!$DB2HTML$ac_delim
32284
 
DOXYGEN!$DOXYGEN$ac_delim
32285
 
DIALOG!$DIALOG$ac_delim
32286
 
FOOMATIC_KITLOAD!$FOOMATIC_KITLOAD$ac_delim
32287
 
GNUCFLAGS!$GNUCFLAGS$ac_delim
32288
 
BUILD_FOOMATIC_TRUE!$BUILD_FOOMATIC_TRUE$ac_delim
32289
 
BUILD_FOOMATIC_FALSE!$BUILD_FOOMATIC_FALSE$ac_delim
32290
 
BUILD_FOOMATIC_3_TRUE!$BUILD_FOOMATIC_3_TRUE$ac_delim
32291
 
BUILD_FOOMATIC_3_FALSE!$BUILD_FOOMATIC_3_FALSE$ac_delim
32292
 
BUILD_GHOSTSCRIPT_TRUE!$BUILD_GHOSTSCRIPT_TRUE$ac_delim
32293
 
BUILD_GHOSTSCRIPT_FALSE!$BUILD_GHOSTSCRIPT_FALSE$ac_delim
32294
 
BUILD_CUPS_TRUE!$BUILD_CUPS_TRUE$ac_delim
32295
 
BUILD_CUPS_FALSE!$BUILD_CUPS_FALSE$ac_delim
32296
 
BUILD_CUPS_1_2_TRUE!$BUILD_CUPS_1_2_TRUE$ac_delim
32297
 
BUILD_CUPS_1_2_FALSE!$BUILD_CUPS_1_2_FALSE$ac_delim
32298
 
BUILD_CUPS_PPDS_TRUE!$BUILD_CUPS_PPDS_TRUE$ac_delim
32299
 
BUILD_CUPS_PPDS_FALSE!$BUILD_CUPS_PPDS_FALSE$ac_delim
32300
 
CUPS_PPDS_AT_TOP_LEVEL_TRUE!$CUPS_PPDS_AT_TOP_LEVEL_TRUE$ac_delim
32301
 
CUPS_PPDS_AT_TOP_LEVEL_FALSE!$CUPS_PPDS_AT_TOP_LEVEL_FALSE$ac_delim
32302
 
BUILD_TRANSLATED_CUPS_PPDS_TRUE!$BUILD_TRANSLATED_CUPS_PPDS_TRUE$ac_delim
32303
 
BUILD_TRANSLATED_CUPS_PPDS_FALSE!$BUILD_TRANSLATED_CUPS_PPDS_FALSE$ac_delim
32304
 
BUILD_GLOBALIZED_CUPS_PPDS_TRUE!$BUILD_GLOBALIZED_CUPS_PPDS_TRUE$ac_delim
32305
 
BUILD_GLOBALIZED_CUPS_PPDS_FALSE!$BUILD_GLOBALIZED_CUPS_PPDS_FALSE$ac_delim
32306
 
BUILD_SIMPLIFIED_CUPS_PPDS_TRUE!$BUILD_SIMPLIFIED_CUPS_PPDS_TRUE$ac_delim
32307
 
BUILD_SIMPLIFIED_CUPS_PPDS_FALSE!$BUILD_SIMPLIFIED_CUPS_PPDS_FALSE$ac_delim
32308
 
USE_LEVEL3_PS_TRUE!$USE_LEVEL3_PS_TRUE$ac_delim
32309
 
USE_LEVEL3_PS_FALSE!$USE_LEVEL3_PS_FALSE$ac_delim
32310
 
BUILD_ESCPUTIL_TRUE!$BUILD_ESCPUTIL_TRUE$ac_delim
32311
 
BUILD_ESCPUTIL_FALSE!$BUILD_ESCPUTIL_FALSE$ac_delim
32312
 
BUILD_TEST_TRUE!$BUILD_TEST_TRUE$ac_delim
32313
 
BUILD_TEST_FALSE!$BUILD_TEST_FALSE$ac_delim
32314
 
BUILD_TESTPATTERN_TRUE!$BUILD_TESTPATTERN_TRUE$ac_delim
32315
 
_ACEOF
32316
 
 
32317
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
32318
 
    break
32319
 
  elif $ac_last_try; then
32320
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
32321
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
32322
 
   { (exit 1); exit 1; }; }
32323
 
  else
32324
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
32325
 
  fi
32326
 
done
32327
 
 
32328
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
32329
 
if test -n "$ac_eof"; then
32330
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
32331
 
  ac_eof=`expr $ac_eof + 1`
32332
 
fi
32333
 
 
32334
 
cat >>$CONFIG_STATUS <<_ACEOF
32335
 
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
32336
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
32337
 
_ACEOF
32338
 
sed '
32339
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
32340
 
s/^/s,@/; s/!/@,|#_!!_#|/
32341
 
:n
32342
 
t n
32343
 
s/'"$ac_delim"'$/,g/; t
32344
 
s/$/\\/; p
32345
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
32346
 
' >>$CONFIG_STATUS <conf$$subs.sed
32347
 
rm -f conf$$subs.sed
32348
 
cat >>$CONFIG_STATUS <<_ACEOF
32349
 
CEOF$ac_eof
32350
 
_ACEOF
32351
 
 
32352
 
 
32353
 
ac_delim='%!_!# '
32354
 
for ac_last_try in false false false false false :; do
32355
 
  cat >conf$$subs.sed <<_ACEOF
32356
 
BUILD_TESTPATTERN_FALSE!$BUILD_TESTPATTERN_FALSE$ac_delim
32357
 
BUILD_LIBGUTENPRINTUI2_TRUE!$BUILD_LIBGUTENPRINTUI2_TRUE$ac_delim
32358
 
BUILD_LIBGUTENPRINTUI2_FALSE!$BUILD_LIBGUTENPRINTUI2_FALSE$ac_delim
32359
 
BUILD_GIMP2_TRUE!$BUILD_GIMP2_TRUE$ac_delim
32360
 
BUILD_GIMP2_FALSE!$BUILD_GIMP2_FALSE$ac_delim
32361
 
BUILD_GIMP2_AS_GUTENPRINT_TRUE!$BUILD_GIMP2_AS_GUTENPRINT_TRUE$ac_delim
32362
 
BUILD_GIMP2_AS_GUTENPRINT_FALSE!$BUILD_GIMP2_AS_GUTENPRINT_FALSE$ac_delim
32363
 
INSTALL_SAMPLES_TRUE!$INSTALL_SAMPLES_TRUE$ac_delim
32364
 
INSTALL_SAMPLES_FALSE!$INSTALL_SAMPLES_FALSE$ac_delim
32365
 
INSTALL_USER_GUIDE_TRUE!$INSTALL_USER_GUIDE_TRUE$ac_delim
32366
 
INSTALL_USER_GUIDE_FALSE!$INSTALL_USER_GUIDE_FALSE$ac_delim
32367
 
BUILD_MODULES_TRUE!$BUILD_MODULES_TRUE$ac_delim
32368
 
BUILD_MODULES_FALSE!$BUILD_MODULES_FALSE$ac_delim
32369
 
BUILD_GENPPD_STATIC_TRUE!$BUILD_GENPPD_STATIC_TRUE$ac_delim
32370
 
BUILD_GENPPD_STATIC_FALSE!$BUILD_GENPPD_STATIC_FALSE$ac_delim
32371
 
RELEASE_DATE!$RELEASE_DATE$ac_delim
32372
 
cups_prefix!$cups_prefix$ac_delim
32373
 
cups_exec_prefix!$cups_exec_prefix$ac_delim
32374
 
cups_bindir!$cups_bindir$ac_delim
32375
 
cups_sbindir!$cups_sbindir$ac_delim
32376
 
cups_conf_datadir!$cups_conf_datadir$ac_delim
32377
 
cups_conf_serverbin!$cups_conf_serverbin$ac_delim
32378
 
cups_conf_serverroot!$cups_conf_serverroot$ac_delim
32379
 
CUPS_CFLAGS!$CUPS_CFLAGS$ac_delim
32380
 
CUPS_LIBS!$CUPS_LIBS$ac_delim
32381
 
CUPS_PPD_PS_LEVEL!$CUPS_PPD_PS_LEVEL$ac_delim
32382
 
GENPPD_LIBS!$GENPPD_LIBS$ac_delim
32383
 
IJS_CFLAGS!$IJS_CFLAGS$ac_delim
32384
 
IJS_LIBS!$IJS_LIBS$ac_delim
32385
 
RM!$RM$ac_delim
32386
 
gimp2_plug_indir!$gimp2_plug_indir$ac_delim
32387
 
GUTENPRINT_CFLAGS!$GUTENPRINT_CFLAGS$ac_delim
32388
 
GUTENPRINT_LIBS!$GUTENPRINT_LIBS$ac_delim
32389
 
GUTENPRINT_LIBDEPS!$GUTENPRINT_LIBDEPS$ac_delim
32390
 
GUTENPRINTUI2_CFLAGS!$GUTENPRINTUI2_CFLAGS$ac_delim
32391
 
GUTENPRINTUI2_LIBS!$GUTENPRINTUI2_LIBS$ac_delim
32392
 
GUTENPRINTUI2_LIBDEPS!$GUTENPRINTUI2_LIBDEPS$ac_delim
32393
 
GUTENPRINTUI2_VERSION!$GUTENPRINTUI2_VERSION$ac_delim
32394
 
gutenprint_cflags!$gutenprint_cflags$ac_delim
32395
 
gutenprint_libs!$gutenprint_libs$ac_delim
32396
 
gutenprint_libdeps!$gutenprint_libdeps$ac_delim
32397
 
gutenprintui2_cflags!$gutenprintui2_cflags$ac_delim
32398
 
gutenprintui2_libs!$gutenprintui2_libs$ac_delim
32399
 
gutenprintui2_libdeps!$gutenprintui2_libdeps$ac_delim
32400
 
LIBREADLINE_DEPS!$LIBREADLINE_DEPS$ac_delim
32401
 
MAINTAINER_CFLAGS!$MAINTAINER_CFLAGS$ac_delim
32402
 
PLUG_IN_PATH!$PLUG_IN_PATH$ac_delim
32403
 
WHICH_PPDS!$WHICH_PPDS$ac_delim
32404
 
BUILD_CUPS_PPDS!$BUILD_CUPS_PPDS$ac_delim
32405
 
LIBOBJS!$LIBOBJS$ac_delim
32406
 
LTLIBOBJS!$LTLIBOBJS$ac_delim
32407
 
LTALLOCA!$LTALLOCA$ac_delim
32408
 
_ACEOF
32409
 
 
32410
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 52; then
32411
 
    break
32412
 
  elif $ac_last_try; then
32413
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
32414
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
32415
 
   { (exit 1); exit 1; }; }
32416
 
  else
32417
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
32418
 
  fi
32419
 
done
32420
 
 
32421
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
32422
 
if test -n "$ac_eof"; then
32423
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
32424
 
  ac_eof=`expr $ac_eof + 1`
32425
 
fi
32426
 
 
32427
 
cat >>$CONFIG_STATUS <<_ACEOF
32428
 
cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
32429
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
32430
 
_ACEOF
32431
 
sed '
32432
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
32433
 
s/^/s,@/; s/!/@,|#_!!_#|/
32434
 
:n
32435
 
t n
32436
 
s/'"$ac_delim"'$/,g/; t
32437
 
s/$/\\/; p
32438
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
32439
 
' >>$CONFIG_STATUS <conf$$subs.sed
32440
 
rm -f conf$$subs.sed
32441
 
cat >>$CONFIG_STATUS <<_ACEOF
32442
 
:end
32443
 
s/|#_!!_#|//g
32444
 
CEOF$ac_eof
32445
 
_ACEOF
32446
 
 
 
24016
 
 
24017
ac_cr='
 
 
b"'"
 
24018
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
 
24019
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
 
24020
  ac_cs_awk_cr='\\r'
 
24021
else
 
24022
  ac_cs_awk_cr=$ac_cr
 
24023
fi
 
24024
 
 
24025
echo 'BEGIN {' >"$tmp/subs1.awk" &&
 
24026
_ACEOF
 
24027
 
 
24028
 
 
24029
{
 
24030
  echo "cat >conf$$subs.awk <<_ACEOF" &&
 
24031
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
 
24032
  echo "_ACEOF"
 
24033
} >conf$$subs.sh ||
 
24034
  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
24035
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
24036
   { (exit 1); exit 1; }; }
 
24037
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
 
24038
ac_delim='%!_!# '
 
24039
for ac_last_try in false false false false false :; do
 
24040
  . ./conf$$subs.sh ||
 
24041
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
24042
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
24043
   { (exit 1); exit 1; }; }
 
24044
 
 
24045
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
 
24046
  if test $ac_delim_n = $ac_delim_num; then
 
24047
    break
 
24048
  elif $ac_last_try; then
 
24049
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
24050
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
24051
   { (exit 1); exit 1; }; }
 
24052
  else
 
24053
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
24054
  fi
 
24055
done
 
24056
rm -f conf$$subs.sh
 
24057
 
 
24058
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
24059
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
 
24060
_ACEOF
 
24061
sed -n '
 
24062
h
 
24063
s/^/S["/; s/!.*/"]=/
 
24064
p
 
24065
g
 
24066
s/^[^!]*!//
 
24067
:repl
 
24068
t repl
 
24069
s/'"$ac_delim"'$//
 
24070
t delim
 
24071
:nl
 
24072
h
 
24073
s/\(.\{148\}\).*/\1/
 
24074
t more1
 
24075
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
 
24076
p
 
24077
n
 
24078
b repl
 
24079
:more1
 
24080
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
24081
p
 
24082
g
 
24083
s/.\{148\}//
 
24084
t nl
 
24085
:delim
 
24086
h
 
24087
s/\(.\{148\}\).*/\1/
 
24088
t more2
 
24089
s/["\\]/\\&/g; s/^/"/; s/$/"/
 
24090
p
 
24091
b
 
24092
:more2
 
24093
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
24094
p
 
24095
g
 
24096
s/.\{148\}//
 
24097
t delim
 
24098
' <conf$$subs.awk | sed '
 
24099
/^[^""]/{
 
24100
  N
 
24101
  s/\n//
 
24102
}
 
24103
' >>$CONFIG_STATUS || ac_write_fail=1
 
24104
rm -f conf$$subs.awk
 
24105
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
24106
_ACAWK
 
24107
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
 
24108
  for (key in S) S_is_set[key] = 1
 
24109
  FS = ""
 
24110
 
 
24111
}
 
24112
{
 
24113
  line = $ 0
 
24114
  nfields = split(line, field, "@")
 
24115
  substed = 0
 
24116
  len = length(field[1])
 
24117
  for (i = 2; i < nfields; i++) {
 
24118
    key = field[i]
 
24119
    keylen = length(key)
 
24120
    if (S_is_set[key]) {
 
24121
      value = S[key]
 
24122
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
 
24123
      len += length(value) + length(field[++i])
 
24124
      substed = 1
 
24125
    } else
 
24126
      len += 1 + keylen
 
24127
  }
 
24128
 
 
24129
  print line
 
24130
}
 
24131
 
 
24132
_ACAWK
 
24133
_ACEOF
 
24134
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
24135
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
 
24136
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
 
24137
else
 
24138
  cat
 
24139
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
 
24140
  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
 
24141
$as_echo "$as_me: error: could not setup config files machinery" >&2;}
 
24142
   { (exit 1); exit 1; }; }
 
24143
_ACEOF
32447
24144
 
32448
24145
# VPATH may cause trouble with some makes, so we remove $(srcdir),
32449
24146
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
32460
24157
}'
32461
24158
fi
32462
24159
 
32463
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
24160
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32464
24161
fi # test -n "$CONFIG_FILES"
32465
24162
 
32466
 
 
32467
 
for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
 
24163
# Set up the scripts for CONFIG_HEADERS section.
 
24164
# No need to generate them if there are no CONFIG_HEADERS.
 
24165
# This happens for instance with `./config.status Makefile'.
 
24166
if test -n "$CONFIG_HEADERS"; then
 
24167
cat >"$tmp/defines.awk" <<\_ACAWK ||
 
24168
BEGIN {
 
24169
_ACEOF
 
24170
 
 
24171
# Transform confdefs.h into an awk script `defines.awk', embedded as
 
24172
# here-document in config.status, that substitutes the proper values into
 
24173
# config.h.in to produce config.h.
 
24174
 
 
24175
# Create a delimiter string that does not exist in confdefs.h, to ease
 
24176
# handling of long lines.
 
24177
ac_delim='%!_!# '
 
24178
for ac_last_try in false false :; do
 
24179
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
 
24180
  if test -z "$ac_t"; then
 
24181
    break
 
24182
  elif $ac_last_try; then
 
24183
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
 
24184
$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
 
24185
   { (exit 1); exit 1; }; }
 
24186
  else
 
24187
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
24188
  fi
 
24189
done
 
24190
 
 
24191
# For the awk script, D is an array of macro values keyed by name,
 
24192
# likewise P contains macro parameters if any.  Preserve backslash
 
24193
# newline sequences.
 
24194
 
 
24195
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 
24196
sed -n '
 
24197
s/.\{148\}/&'"$ac_delim"'/g
 
24198
t rset
 
24199
:rset
 
24200
s/^[     ]*#[    ]*define[       ][      ]*/ /
 
24201
t def
 
24202
d
 
24203
:def
 
24204
s/\\$//
 
24205
t bsnl
 
24206
s/["\\]/\\&/g
 
24207
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
24208
D["\1"]=" \3"/p
 
24209
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
 
24210
d
 
24211
:bsnl
 
24212
s/["\\]/\\&/g
 
24213
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
24214
D["\1"]=" \3\\\\\\n"\\/p
 
24215
t cont
 
24216
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
 
24217
t cont
 
24218
d
 
24219
:cont
 
24220
n
 
24221
s/.\{148\}/&'"$ac_delim"'/g
 
24222
t clear
 
24223
:clear
 
24224
s/\\$//
 
24225
t bsnlc
 
24226
s/["\\]/\\&/g; s/^/"/; s/$/"/p
 
24227
d
 
24228
:bsnlc
 
24229
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
 
24230
b cont
 
24231
' <confdefs.h | sed '
 
24232
s/'"$ac_delim"'/"\\\
 
24233
"/g' >>$CONFIG_STATUS || ac_write_fail=1
 
24234
 
 
24235
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
24236
  for (key in D) D_is_set[key] = 1
 
24237
  FS = ""
 
24238
}
 
24239
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
 
24240
  line = \$ 0
 
24241
  split(line, arg, " ")
 
24242
  if (arg[1] == "#") {
 
24243
    defundef = arg[2]
 
24244
    mac1 = arg[3]
 
24245
  } else {
 
24246
    defundef = substr(arg[1], 2)
 
24247
    mac1 = arg[2]
 
24248
  }
 
24249
  split(mac1, mac2, "(") #)
 
24250
  macro = mac2[1]
 
24251
  prefix = substr(line, 1, index(line, defundef) - 1)
 
24252
  if (D_is_set[macro]) {
 
24253
    # Preserve the white space surrounding the "#".
 
24254
    print prefix "define", macro P[macro] D[macro]
 
24255
    next
 
24256
  } else {
 
24257
    # Replace #undef with comments.  This is necessary, for example,
 
24258
    # in the case of _POSIX_SOURCE, which is predefined and required
 
24259
    # on some systems where configure will not decide to define it.
 
24260
    if (defundef == "undef") {
 
24261
      print "/*", prefix defundef, macro, "*/"
 
24262
      next
 
24263
    }
 
24264
  }
 
24265
}
 
24266
{ print }
 
24267
_ACAWK
 
24268
_ACEOF
 
24269
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
24270
  { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
 
24271
$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
 
24272
   { (exit 1); exit 1; }; }
 
24273
fi # test -n "$CONFIG_HEADERS"
 
24274
 
 
24275
 
 
24276
eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
 
24277
shift
 
24278
for ac_tag
32468
24279
do
32469
24280
  case $ac_tag in
32470
24281
  :[FHLC]) ac_mode=$ac_tag; continue;;
32471
24282
  esac
32472
24283
  case $ac_mode$ac_tag in
32473
24284
  :[FHL]*:*);;
32474
 
  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
32475
 
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
 
24285
  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
 
24286
$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
32476
24287
   { (exit 1); exit 1; }; };;
32477
24288
  :[FH]-) ac_tag=-:-;;
32478
24289
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
32501
24312
           [\\/$]*) false;;
32502
24313
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
32503
24314
           esac ||
32504
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
32505
 
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
 
24315
           { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
 
24316
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
32506
24317
   { (exit 1); exit 1; }; };;
32507
24318
      esac
32508
 
      ac_file_inputs="$ac_file_inputs $ac_f"
 
24319
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
 
24320
      ac_file_inputs="$ac_file_inputs '$ac_f'"
32509
24321
    done
32510
24322
 
32511
24323
    # Let's still pretend it is `configure' which instantiates (i.e., don't
32512
24324
    # use $as_me), people would be surprised to read:
32513
24325
    #    /* config.h.  Generated by config.status.  */
32514
 
    configure_input="Generated from "`IFS=:
32515
 
          echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
 
24326
    configure_input='Generated from '`
 
24327
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
 
24328
        `' by configure.'
32516
24329
    if test x"$ac_file" != x-; then
32517
24330
      configure_input="$ac_file.  $configure_input"
32518
 
      { echo "$as_me:$LINENO: creating $ac_file" >&5
32519
 
echo "$as_me: creating $ac_file" >&6;}
 
24331
      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
 
24332
$as_echo "$as_me: creating $ac_file" >&6;}
32520
24333
    fi
 
24334
    # Neutralize special characters interpreted by sed in replacement strings.
 
24335
    case $configure_input in #(
 
24336
    *\&* | *\|* | *\\* )
 
24337
       ac_sed_conf_input=`$as_echo "$configure_input" |
 
24338
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
 
24339
    *) ac_sed_conf_input=$configure_input;;
 
24340
    esac
32521
24341
 
32522
24342
    case $ac_tag in
32523
 
    *:-:* | *:-) cat >"$tmp/stdin";;
 
24343
    *:-:* | *:-) cat >"$tmp/stdin" \
 
24344
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
24345
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
24346
   { (exit 1); exit 1; }; } ;;
32524
24347
    esac
32525
24348
    ;;
32526
24349
  esac
32530
24353
         X"$ac_file" : 'X\(//\)[^/]' \| \
32531
24354
         X"$ac_file" : 'X\(//\)$' \| \
32532
24355
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
32533
 
echo X"$ac_file" |
 
24356
$as_echo X"$ac_file" |
32534
24357
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
32535
24358
            s//\1/
32536
24359
            q
32556
24379
    as_dirs=
32557
24380
    while :; do
32558
24381
      case $as_dir in #(
32559
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
24382
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
32560
24383
      *) as_qdir=$as_dir;;
32561
24384
      esac
32562
24385
      as_dirs="'$as_qdir' $as_dirs"
32565
24388
         X"$as_dir" : 'X\(//\)[^/]' \| \
32566
24389
         X"$as_dir" : 'X\(//\)$' \| \
32567
24390
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
32568
 
echo X"$as_dir" |
 
24391
$as_echo X"$as_dir" |
32569
24392
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
32570
24393
            s//\1/
32571
24394
            q
32586
24409
      test -d "$as_dir" && break
32587
24410
    done
32588
24411
    test -z "$as_dirs" || eval "mkdir $as_dirs"
32589
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
32590
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
 
24412
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
24413
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
32591
24414
   { (exit 1); exit 1; }; }; }
32592
24415
  ac_builddir=.
32593
24416
 
32594
24417
case "$ac_dir" in
32595
24418
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
32596
24419
*)
32597
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 
24420
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
32598
24421
  # A ".." for each directory in $ac_dir_suffix.
32599
 
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
24422
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
32600
24423
  case $ac_top_builddir_sub in
32601
24424
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
32602
24425
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
32641
24464
  esac
32642
24465
_ACEOF
32643
24466
 
32644
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
24467
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32645
24468
# If the template does not know about datarootdir, expand it.
32646
24469
# FIXME: This hack should be removed a few years after 2.60.
32647
24470
ac_datarootdir_hack=; ac_datarootdir_seen=
32648
24471
 
32649
 
case `sed -n '/datarootdir/ {
 
24472
ac_sed_dataroot='
 
24473
/datarootdir/ {
32650
24474
  p
32651
24475
  q
32652
24476
}
32655
24479
/@infodir@/p
32656
24480
/@localedir@/p
32657
24481
/@mandir@/p
32658
 
' $ac_file_inputs` in
 
24482
'
 
24483
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
32659
24484
*datarootdir*) ac_datarootdir_seen=yes;;
32660
24485
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
32661
 
  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
32662
 
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
24486
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
24487
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
32663
24488
_ACEOF
32664
 
cat >>$CONFIG_STATUS <<_ACEOF
 
24489
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32665
24490
  ac_datarootdir_hack='
32666
24491
  s&@datadir@&$datadir&g
32667
24492
  s&@docdir@&$docdir&g
32675
24500
# Neutralize VPATH when `$srcdir' = `.'.
32676
24501
# Shell code in configure.ac might set extrasub.
32677
24502
# FIXME: do we really want to maintain this feature?
32678
 
cat >>$CONFIG_STATUS <<_ACEOF
32679
 
  sed "$ac_vpsub
 
24503
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
24504
ac_sed_extra="$ac_vpsub
32680
24505
$extrasub
32681
24506
_ACEOF
32682
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
24507
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32683
24508
:t
32684
24509
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
32685
 
s&@configure_input@&$configure_input&;t t
 
24510
s|@configure_input@|$ac_sed_conf_input|;t t
32686
24511
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
24512
s&@top_build_prefix@&$ac_top_build_prefix&;t t
32687
24513
s&@srcdir@&$ac_srcdir&;t t
32688
24514
s&@abs_srcdir@&$ac_abs_srcdir&;t t
32689
24515
s&@top_srcdir@&$ac_top_srcdir&;t t
32694
24520
s&@INSTALL@&$ac_INSTALL&;t t
32695
24521
s&@MKDIR_P@&$ac_MKDIR_P&;t t
32696
24522
$ac_datarootdir_hack
32697
 
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" | sed -f "$tmp/subs-3.sed" >$tmp/out
 
24523
"
 
24524
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
 
24525
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
24526
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
24527
   { (exit 1); exit 1; }; }
32698
24528
 
32699
24529
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
32700
24530
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
32701
24531
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
32702
 
  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
24532
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
32703
24533
which seems to be undefined.  Please make sure it is defined." >&5
32704
 
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
24534
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
32705
24535
which seems to be undefined.  Please make sure it is defined." >&2;}
32706
24536
 
32707
24537
  rm -f "$tmp/stdin"
32708
24538
  case $ac_file in
32709
 
  -) cat "$tmp/out"; rm -f "$tmp/out";;
32710
 
  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
32711
 
  esac
 
24539
  -) cat "$tmp/out" && rm -f "$tmp/out";;
 
24540
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
 
24541
  esac \
 
24542
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
24543
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
24544
   { (exit 1); exit 1; }; }
32712
24545
 ;;
32713
24546
  :H)
32714
24547
  #
32715
24548
  # CONFIG_HEADER
32716
24549
  #
32717
 
_ACEOF
32718
 
 
32719
 
# Transform confdefs.h into a sed script `conftest.defines', that
32720
 
# substitutes the proper values into config.h.in to produce config.h.
32721
 
rm -f conftest.defines conftest.tail
32722
 
# First, append a space to every undef/define line, to ease matching.
32723
 
echo 's/$/ /' >conftest.defines
32724
 
# Then, protect against being on the right side of a sed subst, or in
32725
 
# an unquoted here document, in config.status.  If some macros were
32726
 
# called several times there might be several #defines for the same
32727
 
# symbol, which is useless.  But do not sort them, since the last
32728
 
# AC_DEFINE must be honored.
32729
 
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
32730
 
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
32731
 
# NAME is the cpp macro being defined, VALUE is the value it is being given.
32732
 
# PARAMS is the parameter list in the macro definition--in most cases, it's
32733
 
# just an empty string.
32734
 
ac_dA='s,^\\([   #]*\\)[^        ]*\\([  ]*'
32735
 
ac_dB='\\)[      (].*,\\1define\\2'
32736
 
ac_dC=' '
32737
 
ac_dD=' ,'
32738
 
 
32739
 
uniq confdefs.h |
32740
 
  sed -n '
32741
 
        t rset
32742
 
        :rset
32743
 
        s/^[     ]*#[    ]*define[       ][      ]*//
32744
 
        t ok
32745
 
        d
32746
 
        :ok
32747
 
        s/[\\&,]/\\&/g
32748
 
        s/^\('"$ac_word_re"'\)\(([^()]*)\)[      ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
32749
 
        s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
32750
 
  ' >>conftest.defines
32751
 
 
32752
 
# Remove the space that was appended to ease matching.
32753
 
# Then replace #undef with comments.  This is necessary, for
32754
 
# example, in the case of _POSIX_SOURCE, which is predefined and required
32755
 
# on some systems where configure will not decide to define it.
32756
 
# (The regexp can be short, since the line contains either #define or #undef.)
32757
 
echo 's/ $//
32758
 
s,^[     #]*u.*,/* & */,' >>conftest.defines
32759
 
 
32760
 
# Break up conftest.defines:
32761
 
ac_max_sed_lines=50
32762
 
 
32763
 
# First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1"
32764
 
# Second one is:         sed -f defines.sed "$tmp/out1" >"$tmp/out2"
32765
 
# Third one will be:     sed -f defines.sed "$tmp/out2" >"$tmp/out1"
32766
 
# et cetera.
32767
 
ac_in='$ac_file_inputs'
32768
 
ac_out='"$tmp/out1"'
32769
 
ac_nxt='"$tmp/out2"'
32770
 
 
32771
 
while :
32772
 
do
32773
 
  # Write a here document:
32774
 
    cat >>$CONFIG_STATUS <<_ACEOF
32775
 
    # First, check the format of the line:
32776
 
    cat >"\$tmp/defines.sed" <<\\CEOF
32777
 
/^[      ]*#[    ]*undef[        ][      ]*$ac_word_re[  ]*\$/b def
32778
 
/^[      ]*#[    ]*define[       ][      ]*$ac_word_re[(         ]/b def
32779
 
b
32780
 
:def
32781
 
_ACEOF
32782
 
  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
32783
 
  echo 'CEOF
32784
 
    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
32785
 
  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
32786
 
  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
32787
 
  grep . conftest.tail >/dev/null || break
32788
 
  rm -f conftest.defines
32789
 
  mv conftest.tail conftest.defines
32790
 
done
32791
 
rm -f conftest.defines conftest.tail
32792
 
 
32793
 
echo "ac_result=$ac_in" >>$CONFIG_STATUS
32794
 
cat >>$CONFIG_STATUS <<\_ACEOF
32795
24550
  if test x"$ac_file" != x-; then
32796
 
    echo "/* $configure_input  */" >"$tmp/config.h"
32797
 
    cat "$ac_result" >>"$tmp/config.h"
32798
 
    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
32799
 
      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
32800
 
echo "$as_me: $ac_file is unchanged" >&6;}
 
24551
    {
 
24552
      $as_echo "/* $configure_input  */" \
 
24553
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
 
24554
    } >"$tmp/config.h" \
 
24555
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
24556
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
24557
   { (exit 1); exit 1; }; }
 
24558
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
 
24559
      { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
 
24560
$as_echo "$as_me: $ac_file is unchanged" >&6;}
32801
24561
    else
32802
 
      rm -f $ac_file
32803
 
      mv "$tmp/config.h" $ac_file
 
24562
      rm -f "$ac_file"
 
24563
      mv "$tmp/config.h" "$ac_file" \
 
24564
        || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
24565
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
24566
   { (exit 1); exit 1; }; }
32804
24567
    fi
32805
24568
  else
32806
 
    echo "/* $configure_input  */"
32807
 
    cat "$ac_result"
 
24569
    $as_echo "/* $configure_input  */" \
 
24570
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
 
24571
      || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
 
24572
$as_echo "$as_me: error: could not create -" >&2;}
 
24573
   { (exit 1); exit 1; }; }
32808
24574
  fi
32809
 
  rm -f "$tmp/out12"
32810
 
# Compute $ac_file's index in $config_headers.
32811
 
_am_arg=$ac_file
 
24575
# Compute "$ac_file"'s index in $config_headers.
 
24576
_am_arg="$ac_file"
32812
24577
_am_stamp_count=1
32813
24578
for _am_header in $config_headers :; do
32814
24579
  case $_am_header in
32823
24588
         X"$_am_arg" : 'X\(//\)[^/]' \| \
32824
24589
         X"$_am_arg" : 'X\(//\)$' \| \
32825
24590
         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
32826
 
echo X"$_am_arg" |
 
24591
$as_echo X"$_am_arg" |
32827
24592
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
32828
24593
            s//\1/
32829
24594
            q
32843
24608
          s/.*/./; q'`/stamp-h$_am_stamp_count
32844
24609
 ;;
32845
24610
 
32846
 
  :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
32847
 
echo "$as_me: executing $ac_file commands" >&6;}
 
24611
  :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
 
24612
$as_echo "$as_me: executing $ac_file commands" >&6;}
32848
24613
 ;;
32849
24614
  esac
32850
24615
 
32866
24631
         X"$mf" : 'X\(//\)[^/]' \| \
32867
24632
         X"$mf" : 'X\(//\)$' \| \
32868
24633
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
32869
 
echo X"$mf" |
 
24634
$as_echo X"$mf" |
32870
24635
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
32871
24636
            s//\1/
32872
24637
            q
32910
24675
         X"$file" : 'X\(//\)[^/]' \| \
32911
24676
         X"$file" : 'X\(//\)$' \| \
32912
24677
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
32913
 
echo X"$file" |
 
24678
$as_echo X"$file" |
32914
24679
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
32915
24680
            s//\1/
32916
24681
            q
32936
24701
    as_dirs=
32937
24702
    while :; do
32938
24703
      case $as_dir in #(
32939
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
24704
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
32940
24705
      *) as_qdir=$as_dir;;
32941
24706
      esac
32942
24707
      as_dirs="'$as_qdir' $as_dirs"
32945
24710
         X"$as_dir" : 'X\(//\)[^/]' \| \
32946
24711
         X"$as_dir" : 'X\(//\)$' \| \
32947
24712
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
32948
 
echo X"$as_dir" |
 
24713
$as_echo X"$as_dir" |
32949
24714
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
32950
24715
            s//\1/
32951
24716
            q
32966
24731
      test -d "$as_dir" && break
32967
24732
    done
32968
24733
    test -z "$as_dirs" || eval "mkdir $as_dirs"
32969
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
32970
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
 
24734
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
24735
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
32971
24736
   { (exit 1); exit 1; }; }; }
32972
24737
    # echo "creating $dirpart/$file"
32973
24738
    echo '# dummy' > "$dirpart/$file"
32974
24739
  done
32975
24740
done
32976
24741
 ;;
 
24742
    "libtool":C)
 
24743
 
 
24744
    # See if we are running on zsh, and set the options which allow our
 
24745
    # commands through without removal of \ escapes.
 
24746
    if test -n "${ZSH_VERSION+set}" ; then
 
24747
      setopt NO_GLOB_SUBST
 
24748
    fi
 
24749
 
 
24750
    cfgfile="${ofile}T"
 
24751
    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
 
24752
    $RM "$cfgfile"
 
24753
 
 
24754
    cat <<_LT_EOF >> "$cfgfile"
 
24755
#! $SHELL
 
24756
 
 
24757
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
 
24758
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
 
24759
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
 
24760
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
 
24761
#
 
24762
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
 
24763
#                 2006, 2007, 2008 Free Software Foundation, Inc.
 
24764
#   Written by Gordon Matzigkeit, 1996
 
24765
#
 
24766
#   This file is part of GNU Libtool.
 
24767
#
 
24768
# GNU Libtool is free software; you can redistribute it and/or
 
24769
# modify it under the terms of the GNU General Public License as
 
24770
# published by the Free Software Foundation; either version 2 of
 
24771
# the License, or (at your option) any later version.
 
24772
#
 
24773
# As a special exception to the GNU General Public License,
 
24774
# if you distribute this file as part of a program or library that
 
24775
# is built using GNU Libtool, you may include this file under the
 
24776
# same distribution terms that you use for the rest of that program.
 
24777
#
 
24778
# GNU Libtool is distributed in the hope that it will be useful,
 
24779
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
24780
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
24781
# GNU General Public License for more details.
 
24782
#
 
24783
# You should have received a copy of the GNU General Public License
 
24784
# along with GNU Libtool; see the file COPYING.  If not, a copy
 
24785
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
 
24786
# obtained by writing to the Free Software Foundation, Inc.,
 
24787
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 
24788
 
 
24789
 
 
24790
# The names of the tagged configurations supported by this script.
 
24791
available_tags=""
 
24792
 
 
24793
# ### BEGIN LIBTOOL CONFIG
 
24794
 
 
24795
# Whether or not to build static libraries.
 
24796
build_old_libs=$enable_static
 
24797
 
 
24798
# Which release of libtool.m4 was used?
 
24799
macro_version=$macro_version
 
24800
macro_revision=$macro_revision
 
24801
 
 
24802
# Whether or not to build shared libraries.
 
24803
build_libtool_libs=$enable_shared
 
24804
 
 
24805
# What type of objects to build.
 
24806
pic_mode=$pic_mode
 
24807
 
 
24808
# Whether or not to optimize for fast installation.
 
24809
fast_install=$enable_fast_install
 
24810
 
 
24811
# The host system.
 
24812
host_alias=$host_alias
 
24813
host=$host
 
24814
host_os=$host_os
 
24815
 
 
24816
# The build system.
 
24817
build_alias=$build_alias
 
24818
build=$build
 
24819
build_os=$build_os
 
24820
 
 
24821
# A sed program that does not truncate output.
 
24822
SED=$lt_SED
 
24823
 
 
24824
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
 
24825
Xsed="\$SED -e 1s/^X//"
 
24826
 
 
24827
# A grep program that handles long lines.
 
24828
GREP=$lt_GREP
 
24829
 
 
24830
# An ERE matcher.
 
24831
EGREP=$lt_EGREP
 
24832
 
 
24833
# A literal string matcher.
 
24834
FGREP=$lt_FGREP
 
24835
 
 
24836
# A BSD- or MS-compatible name lister.
 
24837
NM=$lt_NM
 
24838
 
 
24839
# Whether we need soft or hard links.
 
24840
LN_S=$lt_LN_S
 
24841
 
 
24842
# What is the maximum length of a command?
 
24843
max_cmd_len=$max_cmd_len
 
24844
 
 
24845
# Object file suffix (normally "o").
 
24846
objext=$ac_objext
 
24847
 
 
24848
# Executable file suffix (normally "").
 
24849
exeext=$exeext
 
24850
 
 
24851
# whether the shell understands "unset".
 
24852
lt_unset=$lt_unset
 
24853
 
 
24854
# turn spaces into newlines.
 
24855
SP2NL=$lt_lt_SP2NL
 
24856
 
 
24857
# turn newlines into spaces.
 
24858
NL2SP=$lt_lt_NL2SP
 
24859
 
 
24860
# How to create reloadable object files.
 
24861
reload_flag=$lt_reload_flag
 
24862
reload_cmds=$lt_reload_cmds
 
24863
 
 
24864
# An object symbol dumper.
 
24865
OBJDUMP=$lt_OBJDUMP
 
24866
 
 
24867
# Method to check whether dependent libraries are shared objects.
 
24868
deplibs_check_method=$lt_deplibs_check_method
 
24869
 
 
24870
# Command to use when deplibs_check_method == "file_magic".
 
24871
file_magic_cmd=$lt_file_magic_cmd
 
24872
 
 
24873
# The archiver.
 
24874
AR=$lt_AR
 
24875
AR_FLAGS=$lt_AR_FLAGS
 
24876
 
 
24877
# A symbol stripping program.
 
24878
STRIP=$lt_STRIP
 
24879
 
 
24880
# Commands used to install an old-style archive.
 
24881
RANLIB=$lt_RANLIB
 
24882
old_postinstall_cmds=$lt_old_postinstall_cmds
 
24883
old_postuninstall_cmds=$lt_old_postuninstall_cmds
 
24884
 
 
24885
# A C compiler.
 
24886
LTCC=$lt_CC
 
24887
 
 
24888
# LTCC compiler flags.
 
24889
LTCFLAGS=$lt_CFLAGS
 
24890
 
 
24891
# Take the output of nm and produce a listing of raw symbols and C names.
 
24892
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
 
24893
 
 
24894
# Transform the output of nm in a proper C declaration.
 
24895
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
 
24896
 
 
24897
# Transform the output of nm in a C name address pair.
 
24898
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
 
24899
 
 
24900
# Transform the output of nm in a C name address pair when lib prefix is needed.
 
24901
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
 
24902
 
 
24903
# The name of the directory that contains temporary libtool files.
 
24904
objdir=$objdir
 
24905
 
 
24906
# Shell to use when invoking shell scripts.
 
24907
SHELL=$lt_SHELL
 
24908
 
 
24909
# An echo program that does not interpret backslashes.
 
24910
ECHO=$lt_ECHO
 
24911
 
 
24912
# Used to examine libraries when file_magic_cmd begins with "file".
 
24913
MAGIC_CMD=$MAGIC_CMD
 
24914
 
 
24915
# Must we lock files when doing compilation?
 
24916
need_locks=$lt_need_locks
 
24917
 
 
24918
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
 
24919
DSYMUTIL=$lt_DSYMUTIL
 
24920
 
 
24921
# Tool to change global to local symbols on Mac OS X.
 
24922
NMEDIT=$lt_NMEDIT
 
24923
 
 
24924
# Tool to manipulate fat objects and archives on Mac OS X.
 
24925
LIPO=$lt_LIPO
 
24926
 
 
24927
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
 
24928
OTOOL=$lt_OTOOL
 
24929
 
 
24930
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
 
24931
OTOOL64=$lt_OTOOL64
 
24932
 
 
24933
# Old archive suffix (normally "a").
 
24934
libext=$libext
 
24935
 
 
24936
# Shared library suffix (normally ".so").
 
24937
shrext_cmds=$lt_shrext_cmds
 
24938
 
 
24939
# The commands to extract the exported symbol list from a shared archive.
 
24940
extract_expsyms_cmds=$lt_extract_expsyms_cmds
 
24941
 
 
24942
# Variables whose values should be saved in libtool wrapper scripts and
 
24943
# restored at link time.
 
24944
variables_saved_for_relink=$lt_variables_saved_for_relink
 
24945
 
 
24946
# Do we need the "lib" prefix for modules?
 
24947
need_lib_prefix=$need_lib_prefix
 
24948
 
 
24949
# Do we need a version for libraries?
 
24950
need_version=$need_version
 
24951
 
 
24952
# Library versioning type.
 
24953
version_type=$version_type
 
24954
 
 
24955
# Shared library runtime path variable.
 
24956
runpath_var=$runpath_var
 
24957
 
 
24958
# Shared library path variable.
 
24959
shlibpath_var=$shlibpath_var
 
24960
 
 
24961
# Is shlibpath searched before the hard-coded library search path?
 
24962
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
 
24963
 
 
24964
# Format of library name prefix.
 
24965
libname_spec=$lt_libname_spec
 
24966
 
 
24967
# List of archive names.  First name is the real one, the rest are links.
 
24968
# The last name is the one that the linker finds with -lNAME
 
24969
library_names_spec=$lt_library_names_spec
 
24970
 
 
24971
# The coded name of the library, if different from the real name.
 
24972
soname_spec=$lt_soname_spec
 
24973
 
 
24974
# Command to use after installation of a shared archive.
 
24975
postinstall_cmds=$lt_postinstall_cmds
 
24976
 
 
24977
# Command to use after uninstallation of a shared archive.
 
24978
postuninstall_cmds=$lt_postuninstall_cmds
 
24979
 
 
24980
# Commands used to finish a libtool library installation in a directory.
 
24981
finish_cmds=$lt_finish_cmds
 
24982
 
 
24983
# As "finish_cmds", except a single script fragment to be evaled but
 
24984
# not shown.
 
24985
finish_eval=$lt_finish_eval
 
24986
 
 
24987
# Whether we should hardcode library paths into libraries.
 
24988
hardcode_into_libs=$hardcode_into_libs
 
24989
 
 
24990
# Compile-time system search path for libraries.
 
24991
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
 
24992
 
 
24993
# Run-time system search path for libraries.
 
24994
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
 
24995
 
 
24996
# Whether dlopen is supported.
 
24997
dlopen_support=$enable_dlopen
 
24998
 
 
24999
# Whether dlopen of programs is supported.
 
25000
dlopen_self=$enable_dlopen_self
 
25001
 
 
25002
# Whether dlopen of statically linked programs is supported.
 
25003
dlopen_self_static=$enable_dlopen_self_static
 
25004
 
 
25005
# Commands to strip libraries.
 
25006
old_striplib=$lt_old_striplib
 
25007
striplib=$lt_striplib
 
25008
 
 
25009
 
 
25010
# The linker used to build libraries.
 
25011
LD=$lt_LD
 
25012
 
 
25013
# Commands used to build an old-style archive.
 
25014
old_archive_cmds=$lt_old_archive_cmds
 
25015
 
 
25016
# A language specific compiler.
 
25017
CC=$lt_compiler
 
25018
 
 
25019
# Is the compiler the GNU compiler?
 
25020
with_gcc=$GCC
 
25021
 
 
25022
# Compiler flag to turn off builtin functions.
 
25023
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
 
25024
 
 
25025
# How to pass a linker flag through the compiler.
 
25026
wl=$lt_lt_prog_compiler_wl
 
25027
 
 
25028
# Additional compiler flags for building library objects.
 
25029
pic_flag=$lt_lt_prog_compiler_pic
 
25030
 
 
25031
# Compiler flag to prevent dynamic linking.
 
25032
link_static_flag=$lt_lt_prog_compiler_static
 
25033
 
 
25034
# Does compiler simultaneously support -c and -o options?
 
25035
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
 
25036
 
 
25037
# Whether or not to add -lc for building shared libraries.
 
25038
build_libtool_need_lc=$archive_cmds_need_lc
 
25039
 
 
25040
# Whether or not to disallow shared libs when runtime libs are static.
 
25041
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
 
25042
 
 
25043
# Compiler flag to allow reflexive dlopens.
 
25044
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
 
25045
 
 
25046
# Compiler flag to generate shared objects directly from archives.
 
25047
whole_archive_flag_spec=$lt_whole_archive_flag_spec
 
25048
 
 
25049
# Whether the compiler copes with passing no objects directly.
 
25050
compiler_needs_object=$lt_compiler_needs_object
 
25051
 
 
25052
# Create an old-style archive from a shared archive.
 
25053
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
 
25054
 
 
25055
# Create a temporary old-style archive to link instead of a shared archive.
 
25056
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
 
25057
 
 
25058
# Commands used to build a shared archive.
 
25059
archive_cmds=$lt_archive_cmds
 
25060
archive_expsym_cmds=$lt_archive_expsym_cmds
 
25061
 
 
25062
# Commands used to build a loadable module if different from building
 
25063
# a shared archive.
 
25064
module_cmds=$lt_module_cmds
 
25065
module_expsym_cmds=$lt_module_expsym_cmds
 
25066
 
 
25067
# Whether we are building with GNU ld or not.
 
25068
with_gnu_ld=$lt_with_gnu_ld
 
25069
 
 
25070
# Flag that allows shared libraries with undefined symbols to be built.
 
25071
allow_undefined_flag=$lt_allow_undefined_flag
 
25072
 
 
25073
# Flag that enforces no undefined symbols.
 
25074
no_undefined_flag=$lt_no_undefined_flag
 
25075
 
 
25076
# Flag to hardcode \$libdir into a binary during linking.
 
25077
# This must work even if \$libdir does not exist
 
25078
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
 
25079
 
 
25080
# If ld is used when linking, flag to hardcode \$libdir into a binary
 
25081
# during linking.  This must work even if \$libdir does not exist.
 
25082
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
 
25083
 
 
25084
# Whether we need a single "-rpath" flag with a separated argument.
 
25085
hardcode_libdir_separator=$lt_hardcode_libdir_separator
 
25086
 
 
25087
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
25088
# DIR into the resulting binary.
 
25089
hardcode_direct=$hardcode_direct
 
25090
 
 
25091
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
25092
# DIR into the resulting binary and the resulting library dependency is
 
25093
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
 
25094
# library is relocated.
 
25095
hardcode_direct_absolute=$hardcode_direct_absolute
 
25096
 
 
25097
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
 
25098
# into the resulting binary.
 
25099
hardcode_minus_L=$hardcode_minus_L
 
25100
 
 
25101
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
 
25102
# into the resulting binary.
 
25103
hardcode_shlibpath_var=$hardcode_shlibpath_var
 
25104
 
 
25105
# Set to "yes" if building a shared library automatically hardcodes DIR
 
25106
# into the library and all subsequent libraries and executables linked
 
25107
# against it.
 
25108
hardcode_automatic=$hardcode_automatic
 
25109
 
 
25110
# Set to yes if linker adds runtime paths of dependent libraries
 
25111
# to runtime path list.
 
25112
inherit_rpath=$inherit_rpath
 
25113
 
 
25114
# Whether libtool must link a program against all its dependency libraries.
 
25115
link_all_deplibs=$link_all_deplibs
 
25116
 
 
25117
# Fix the shell variable \$srcfile for the compiler.
 
25118
fix_srcfile_path=$lt_fix_srcfile_path
 
25119
 
 
25120
# Set to "yes" if exported symbols are required.
 
25121
always_export_symbols=$always_export_symbols
 
25122
 
 
25123
# The commands to list exported symbols.
 
25124
export_symbols_cmds=$lt_export_symbols_cmds
 
25125
 
 
25126
# Symbols that should not be listed in the preloaded symbols.
 
25127
exclude_expsyms=$lt_exclude_expsyms
 
25128
 
 
25129
# Symbols that must always be exported.
 
25130
include_expsyms=$lt_include_expsyms
 
25131
 
 
25132
# Commands necessary for linking programs (against libraries) with templates.
 
25133
prelink_cmds=$lt_prelink_cmds
 
25134
 
 
25135
# Specify filename containing input files.
 
25136
file_list_spec=$lt_file_list_spec
 
25137
 
 
25138
# How to hardcode a shared library path into an executable.
 
25139
hardcode_action=$hardcode_action
 
25140
 
 
25141
# ### END LIBTOOL CONFIG
 
25142
 
 
25143
_LT_EOF
 
25144
 
 
25145
  case $host_os in
 
25146
  aix3*)
 
25147
    cat <<\_LT_EOF >> "$cfgfile"
 
25148
# AIX sometimes has problems with the GCC collect2 program.  For some
 
25149
# reason, if we set the COLLECT_NAMES environment variable, the problems
 
25150
# vanish in a puff of smoke.
 
25151
if test "X${COLLECT_NAMES+set}" != Xset; then
 
25152
  COLLECT_NAMES=
 
25153
  export COLLECT_NAMES
 
25154
fi
 
25155
_LT_EOF
 
25156
    ;;
 
25157
  esac
 
25158
 
 
25159
 
 
25160
ltmain="$ac_aux_dir/ltmain.sh"
 
25161
 
 
25162
 
 
25163
  # We use sed instead of cat because bash on DJGPP gets confused if
 
25164
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
 
25165
  # text mode, it properly converts lines to CR/LF.  This bash problem
 
25166
  # is reportedly fixed, but why not run on old versions too?
 
25167
  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
 
25168
    || (rm -f "$cfgfile"; exit 1)
 
25169
 
 
25170
  case $xsi_shell in
 
25171
  yes)
 
25172
    cat << \_LT_EOF >> "$cfgfile"
 
25173
 
 
25174
# func_dirname file append nondir_replacement
 
25175
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
 
25176
# otherwise set result to NONDIR_REPLACEMENT.
 
25177
func_dirname ()
 
25178
{
 
25179
  case ${1} in
 
25180
    */*) func_dirname_result="${1%/*}${2}" ;;
 
25181
    *  ) func_dirname_result="${3}" ;;
 
25182
  esac
 
25183
}
 
25184
 
 
25185
# func_basename file
 
25186
func_basename ()
 
25187
{
 
25188
  func_basename_result="${1##*/}"
 
25189
}
 
25190
 
 
25191
# func_dirname_and_basename file append nondir_replacement
 
25192
# perform func_basename and func_dirname in a single function
 
25193
# call:
 
25194
#   dirname:  Compute the dirname of FILE.  If nonempty,
 
25195
#             add APPEND to the result, otherwise set result
 
25196
#             to NONDIR_REPLACEMENT.
 
25197
#             value returned in "$func_dirname_result"
 
25198
#   basename: Compute filename of FILE.
 
25199
#             value retuned in "$func_basename_result"
 
25200
# Implementation must be kept synchronized with func_dirname
 
25201
# and func_basename. For efficiency, we do not delegate to
 
25202
# those functions but instead duplicate the functionality here.
 
25203
func_dirname_and_basename ()
 
25204
{
 
25205
  case ${1} in
 
25206
    */*) func_dirname_result="${1%/*}${2}" ;;
 
25207
    *  ) func_dirname_result="${3}" ;;
 
25208
  esac
 
25209
  func_basename_result="${1##*/}"
 
25210
}
 
25211
 
 
25212
# func_stripname prefix suffix name
 
25213
# strip PREFIX and SUFFIX off of NAME.
 
25214
# PREFIX and SUFFIX must not contain globbing or regex special
 
25215
# characters, hashes, percent signs, but SUFFIX may contain a leading
 
25216
# dot (in which case that matches only a dot).
 
25217
func_stripname ()
 
25218
{
 
25219
  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
 
25220
  # positional parameters, so assign one to ordinary parameter first.
 
25221
  func_stripname_result=${3}
 
25222
  func_stripname_result=${func_stripname_result#"${1}"}
 
25223
  func_stripname_result=${func_stripname_result%"${2}"}
 
25224
}
 
25225
 
 
25226
# func_opt_split
 
25227
func_opt_split ()
 
25228
{
 
25229
  func_opt_split_opt=${1%%=*}
 
25230
  func_opt_split_arg=${1#*=}
 
25231
}
 
25232
 
 
25233
# func_lo2o object
 
25234
func_lo2o ()
 
25235
{
 
25236
  case ${1} in
 
25237
    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
 
25238
    *)    func_lo2o_result=${1} ;;
 
25239
  esac
 
25240
}
 
25241
 
 
25242
# func_xform libobj-or-source
 
25243
func_xform ()
 
25244
{
 
25245
  func_xform_result=${1%.*}.lo
 
25246
}
 
25247
 
 
25248
# func_arith arithmetic-term...
 
25249
func_arith ()
 
25250
{
 
25251
  func_arith_result=$(( $* ))
 
25252
}
 
25253
 
 
25254
# func_len string
 
25255
# STRING may not start with a hyphen.
 
25256
func_len ()
 
25257
{
 
25258
  func_len_result=${#1}
 
25259
}
 
25260
 
 
25261
_LT_EOF
 
25262
    ;;
 
25263
  *) # Bourne compatible functions.
 
25264
    cat << \_LT_EOF >> "$cfgfile"
 
25265
 
 
25266
# func_dirname file append nondir_replacement
 
25267
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
 
25268
# otherwise set result to NONDIR_REPLACEMENT.
 
25269
func_dirname ()
 
25270
{
 
25271
  # Extract subdirectory from the argument.
 
25272
  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
 
25273
  if test "X$func_dirname_result" = "X${1}"; then
 
25274
    func_dirname_result="${3}"
 
25275
  else
 
25276
    func_dirname_result="$func_dirname_result${2}"
 
25277
  fi
 
25278
}
 
25279
 
 
25280
# func_basename file
 
25281
func_basename ()
 
25282
{
 
25283
  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
 
25284
}
 
25285
 
 
25286
 
 
25287
# func_stripname prefix suffix name
 
25288
# strip PREFIX and SUFFIX off of NAME.
 
25289
# PREFIX and SUFFIX must not contain globbing or regex special
 
25290
# characters, hashes, percent signs, but SUFFIX may contain a leading
 
25291
# dot (in which case that matches only a dot).
 
25292
# func_strip_suffix prefix name
 
25293
func_stripname ()
 
25294
{
 
25295
  case ${2} in
 
25296
    .*) func_stripname_result=`$ECHO "X${3}" \
 
25297
           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
 
25298
    *)  func_stripname_result=`$ECHO "X${3}" \
 
25299
           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
 
25300
  esac
 
25301
}
 
25302
 
 
25303
# sed scripts:
 
25304
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
 
25305
my_sed_long_arg='1s/^-[^=]*=//'
 
25306
 
 
25307
# func_opt_split
 
25308
func_opt_split ()
 
25309
{
 
25310
  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
 
25311
  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
 
25312
}
 
25313
 
 
25314
# func_lo2o object
 
25315
func_lo2o ()
 
25316
{
 
25317
  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
 
25318
}
 
25319
 
 
25320
# func_xform libobj-or-source
 
25321
func_xform ()
 
25322
{
 
25323
  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
 
25324
}
 
25325
 
 
25326
# func_arith arithmetic-term...
 
25327
func_arith ()
 
25328
{
 
25329
  func_arith_result=`expr "$@"`
 
25330
}
 
25331
 
 
25332
# func_len string
 
25333
# STRING may not start with a hyphen.
 
25334
func_len ()
 
25335
{
 
25336
  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
 
25337
}
 
25338
 
 
25339
_LT_EOF
 
25340
esac
 
25341
 
 
25342
case $lt_shell_append in
 
25343
  yes)
 
25344
    cat << \_LT_EOF >> "$cfgfile"
 
25345
 
 
25346
# func_append var value
 
25347
# Append VALUE to the end of shell variable VAR.
 
25348
func_append ()
 
25349
{
 
25350
  eval "$1+=\$2"
 
25351
}
 
25352
_LT_EOF
 
25353
    ;;
 
25354
  *)
 
25355
    cat << \_LT_EOF >> "$cfgfile"
 
25356
 
 
25357
# func_append var value
 
25358
# Append VALUE to the end of shell variable VAR.
 
25359
func_append ()
 
25360
{
 
25361
  eval "$1=\$$1\$2"
 
25362
}
 
25363
 
 
25364
_LT_EOF
 
25365
    ;;
 
25366
  esac
 
25367
 
 
25368
 
 
25369
  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
 
25370
    || (rm -f "$cfgfile"; exit 1)
 
25371
 
 
25372
  mv -f "$cfgfile" "$ofile" ||
 
25373
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
 
25374
  chmod +x "$ofile"
 
25375
 
 
25376
 ;;
32977
25377
    "po-directories":C)
32978
25378
    for ac_file in $CONFIG_FILES; do
32979
25379
      # Support "outfile[:infile[:infile...]]"
33105
25505
chmod +x $CONFIG_STATUS
33106
25506
ac_clean_files=$ac_clean_files_save
33107
25507
 
 
25508
test $ac_write_fail = 0 ||
 
25509
  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
 
25510
$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
 
25511
   { (exit 1); exit 1; }; }
 
25512
 
33108
25513
 
33109
25514
# configure is writing to config.log, and then calls config.status.
33110
25515
# config.status does its own redirection, appending to config.log.
33126
25531
  # would make configure fail if this is the last instruction.
33127
25532
  $ac_cs_success || { (exit 1); exit 1; }
33128
25533
fi
 
25534
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
 
25535
  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 
25536
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
 
25537
fi
33129
25538
 
33130
25539
 
33131
25540
warnings_emitted=0
33219
25628
    echo '*** NOTE: Please review the warnings shown above carefully!'
33220
25629
fi
33221
25630
echo
33222
 
echo "Finished configuring.  Please review the configuration summary above."
 
25631
if test "$BUILD_GIMP2" = "no" -o "$BUILD_CUPS" = "no" ; then
 
25632
    echo "VERY IMPORTANT:"
 
25633
    echo "If you expect to build the CUPS driver or the enhanced Print plugin for"
 
25634
    echo "GIMP, but the output above indicates that that component will not be built,"
 
25635
    echo "it almost certainly indicates that development packages required to build"
 
25636
    echo "that component are not installed on your system.  Please read the README"
 
25637
    echo "file and install the necessary development packages before reporting any"
 
25638
    echo "error to the development team.  Depending upon your operating system version,"
 
25639
    echo "you may have to install packages from the installation medium or over"
 
25640
    echo "the network."
 
25641
    echo
 
25642
fi
 
25643
echo "Finished configuring.  Please review CAREFULLY the configuration summary above."
33223
25644
echo "Type 'make clean' followed by 'make' to build the package"
33224
25645
echo "then 'make install' to install it."