configure
changeset 0 2b3e5ec03512
equal deleted inserted replaced
-1:000000000000 0:2b3e5ec03512
       
     1 #! /bin/sh
       
     2 # From configure.ac -- DO NOT EDIT THIS FILE!  See the instructions in configure.ac --.
       
     3 # Guess values for system-dependent variables and create Makefiles.
       
     4 # Generated by GNU Autoconf 2.67.
       
     5 #
       
     6 #
       
     7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
       
     8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
       
     9 # Foundation, Inc.
       
    10 #
       
    11 #
       
    12 # This configure script is free software; the Free Software Foundation
       
    13 # gives unlimited permission to copy, distribute and modify it.
       
    14 #
       
    15 #
       
    16 #    Copyright 2005-2007 Intel Corporation
       
    17 #
       
    18 #    Licensed under the Apache License, Version 2.0 (the "License");
       
    19 #    you may not use this file except in compliance with the License.
       
    20 #    You may obtain a copy of the License at
       
    21 #
       
    22 #        http://www.apache.org/licenses/LICENSE-2.0
       
    23 #
       
    24 #    Unless required by applicable law or agreed to in writing, software
       
    25 #    distributed under the License is distributed on an "AS IS" BASIS,
       
    26 #    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
       
    27 #    See the License for the specific language governing permissions and
       
    28 #    limitations under the License.
       
    29 #
       
    30 #
       
    31 ## -------------------- ##
       
    32 ## M4sh Initialization. ##
       
    33 ## -------------------- ##
       
    34 
       
    35 # Be more Bourne compatible
       
    36 DUALCASE=1; export DUALCASE # for MKS sh
       
    37 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
       
    38   emulate sh
       
    39   NULLCMD=:
       
    40   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
       
    41   # is contrary to our usage.  Disable this feature.
       
    42   alias -g '${1+"$@"}'='"$@"'
       
    43   setopt NO_GLOB_SUBST
       
    44 else
       
    45   case `(set -o) 2>/dev/null` in #(
       
    46   *posix*) :
       
    47     set -o posix ;; #(
       
    48   *) :
       
    49      ;;
       
    50 esac
       
    51 fi
       
    52 
       
    53 
       
    54 as_nl='
       
    55 '
       
    56 export as_nl
       
    57 # Printing a long string crashes Solaris 7 /usr/bin/printf.
       
    58 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
       
    59 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
       
    60 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
       
    61 # Prefer a ksh shell builtin over an external printf program on Solaris,
       
    62 # but without wasting forks for bash or zsh.
       
    63 if test -z "$BASH_VERSION$ZSH_VERSION" \
       
    64     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
       
    65   as_echo='print -r --'
       
    66   as_echo_n='print -rn --'
       
    67 elif (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 
       
    92 # The user is always right.
       
    93 if test "${PATH_SEPARATOR+set}" != set; then
       
    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   }
       
    99 fi
       
   100 
       
   101 
       
   102 # IFS
       
   103 # We need space, tab and new line, in precisely that order.  Quoting is
       
   104 # there to prevent editors from complaining about space-tab.
       
   105 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
       
   106 # splitting by setting IFS to empty value.)
       
   107 IFS=" ""	$as_nl"
       
   108 
       
   109 # Find who we are.  Look in the path if we contain no directory separator.
       
   110 case $0 in #((
       
   111   *[\\/]* ) as_myself=$0 ;;
       
   112   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
   113 for as_dir in $PATH
       
   114 do
       
   115   IFS=$as_save_IFS
       
   116   test -z "$as_dir" && as_dir=.
       
   117     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
       
   118   done
       
   119 IFS=$as_save_IFS
       
   120 
       
   121      ;;
       
   122 esac
       
   123 # We did not find ourselves, most probably we were run as `sh COMMAND'
       
   124 # in which case we are not to be found in the path.
       
   125 if test "x$as_myself" = x; then
       
   126   as_myself=$0
       
   127 fi
       
   128 if test ! -f "$as_myself"; then
       
   129   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
       
   130   exit 1
       
   131 fi
       
   132 
       
   133 # Unset variables that we do not need and which cause bugs (e.g. in
       
   134 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
       
   135 # suppresses any "Segmentation fault" message there.  '((' could
       
   136 # trigger a bug in pdksh 5.2.14.
       
   137 for as_var in BASH_ENV ENV MAIL MAILPATH
       
   138 do eval test x\${$as_var+set} = xset \
       
   139   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
       
   140 done
       
   141 PS1='$ '
       
   142 PS2='> '
       
   143 PS4='+ '
       
   144 
       
   145 # NLS nuisances.
       
   146 LC_ALL=C
       
   147 export LC_ALL
       
   148 LANGUAGE=C
       
   149 export LANGUAGE
       
   150 
       
   151 # CDPATH.
       
   152 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
       
   153 
       
   154 if test "x$CONFIG_SHELL" = x; then
       
   155   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
       
   156   emulate sh
       
   157   NULLCMD=:
       
   158   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
       
   159   # is contrary to our usage.  Disable this feature.
       
   160   alias -g '\${1+\"\$@\"}'='\"\$@\"'
       
   161   setopt NO_GLOB_SUBST
       
   162 else
       
   163   case \`(set -o) 2>/dev/null\` in #(
       
   164   *posix*) :
       
   165     set -o posix ;; #(
       
   166   *) :
       
   167      ;;
       
   168 esac
       
   169 fi
       
   170 "
       
   171   as_required="as_fn_return () { (exit \$1); }
       
   172 as_fn_success () { as_fn_return 0; }
       
   173 as_fn_failure () { as_fn_return 1; }
       
   174 as_fn_ret_success () { return 0; }
       
   175 as_fn_ret_failure () { return 1; }
       
   176 
       
   177 exitcode=0
       
   178 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
       
   179 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
       
   180 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
       
   181 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
       
   182 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
       
   183 
       
   184 else
       
   185   exitcode=1; echo positional parameters were not saved.
       
   186 fi
       
   187 test x\$exitcode = x0 || exit 1"
       
   188   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
       
   189   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
       
   190   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
       
   191   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
       
   192 test \$(( 1 + 1 )) = 2 || exit 1"
       
   193   if (eval "$as_required") 2>/dev/null; then :
       
   194   as_have_required=yes
       
   195 else
       
   196   as_have_required=no
       
   197 fi
       
   198   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
       
   199 
       
   200 else
       
   201   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
   202 as_found=false
       
   203 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
       
   204 do
       
   205   IFS=$as_save_IFS
       
   206   test -z "$as_dir" && as_dir=.
       
   207   as_found=:
       
   208   case $as_dir in #(
       
   209 	 /*)
       
   210 	   for as_base in sh bash ksh sh5; do
       
   211 	     # Try only shells that exist, to save several forks.
       
   212 	     as_shell=$as_dir/$as_base
       
   213 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
       
   214 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
       
   215   CONFIG_SHELL=$as_shell as_have_required=yes
       
   216 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
       
   217   break 2
       
   218 fi
       
   219 fi
       
   220 	   done;;
       
   221        esac
       
   222   as_found=false
       
   223 done
       
   224 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
       
   225 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
       
   226   CONFIG_SHELL=$SHELL as_have_required=yes
       
   227 fi; }
       
   228 IFS=$as_save_IFS
       
   229 
       
   230 
       
   231       if test "x$CONFIG_SHELL" != x; then :
       
   232   # We cannot yet assume a decent shell, so we have to provide a
       
   233 	# neutralization value for shells without unset; and this also
       
   234 	# works around shells that cannot unset nonexistent variables.
       
   235 	BASH_ENV=/dev/null
       
   236 	ENV=/dev/null
       
   237 	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
       
   238 	export CONFIG_SHELL
       
   239 	exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
       
   240 fi
       
   241 
       
   242     if test x$as_have_required = xno; then :
       
   243   $as_echo "$0: This script requires a shell more modern than all"
       
   244   $as_echo "$0: the shells that I found on your system."
       
   245   if test x${ZSH_VERSION+set} = xset ; then
       
   246     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
       
   247     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
       
   248   else
       
   249     $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
       
   250 $0: including any error possibly output before this
       
   251 $0: message. Then install a modern shell, or manually run
       
   252 $0: the script under such a shell if you do have one."
       
   253   fi
       
   254   exit 1
       
   255 fi
       
   256 fi
       
   257 fi
       
   258 SHELL=${CONFIG_SHELL-/bin/sh}
       
   259 export SHELL
       
   260 # Unset more variables known to interfere with behavior of common tools.
       
   261 CLICOLOR_FORCE= GREP_OPTIONS=
       
   262 unset CLICOLOR_FORCE GREP_OPTIONS
       
   263 
       
   264 ## --------------------- ##
       
   265 ## M4sh Shell Functions. ##
       
   266 ## --------------------- ##
       
   267 # as_fn_unset VAR
       
   268 # ---------------
       
   269 # Portably unset VAR.
       
   270 as_fn_unset ()
       
   271 {
       
   272   { eval $1=; unset $1;}
       
   273 }
       
   274 as_unset=as_fn_unset
       
   275 
       
   276 # as_fn_set_status STATUS
       
   277 # -----------------------
       
   278 # Set $? to STATUS, without forking.
       
   279 as_fn_set_status ()
       
   280 {
       
   281   return $1
       
   282 } # as_fn_set_status
       
   283 
       
   284 # as_fn_exit STATUS
       
   285 # -----------------
       
   286 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
       
   287 as_fn_exit ()
       
   288 {
       
   289   set +e
       
   290   as_fn_set_status $1
       
   291   exit $1
       
   292 } # as_fn_exit
       
   293 
       
   294 # as_fn_mkdir_p
       
   295 # -------------
       
   296 # Create "$as_dir" as a directory, including parents if necessary.
       
   297 as_fn_mkdir_p ()
       
   298 {
       
   299 
       
   300   case $as_dir in #(
       
   301   -*) as_dir=./$as_dir;;
       
   302   esac
       
   303   test -d "$as_dir" || eval $as_mkdir_p || {
       
   304     as_dirs=
       
   305     while :; do
       
   306       case $as_dir in #(
       
   307       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
       
   308       *) as_qdir=$as_dir;;
       
   309       esac
       
   310       as_dirs="'$as_qdir' $as_dirs"
       
   311       as_dir=`$as_dirname -- "$as_dir" ||
       
   312 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
       
   313 	 X"$as_dir" : 'X\(//\)[^/]' \| \
       
   314 	 X"$as_dir" : 'X\(//\)$' \| \
       
   315 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
       
   316 $as_echo X"$as_dir" |
       
   317     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
       
   318 	    s//\1/
       
   319 	    q
       
   320 	  }
       
   321 	  /^X\(\/\/\)[^/].*/{
       
   322 	    s//\1/
       
   323 	    q
       
   324 	  }
       
   325 	  /^X\(\/\/\)$/{
       
   326 	    s//\1/
       
   327 	    q
       
   328 	  }
       
   329 	  /^X\(\/\).*/{
       
   330 	    s//\1/
       
   331 	    q
       
   332 	  }
       
   333 	  s/.*/./; q'`
       
   334       test -d "$as_dir" && break
       
   335     done
       
   336     test -z "$as_dirs" || eval "mkdir $as_dirs"
       
   337   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
       
   338 
       
   339 
       
   340 } # as_fn_mkdir_p
       
   341 # as_fn_append VAR VALUE
       
   342 # ----------------------
       
   343 # Append the text in VALUE to the end of the definition contained in VAR. Take
       
   344 # advantage of any shell optimizations that allow amortized linear growth over
       
   345 # repeated appends, instead of the typical quadratic growth present in naive
       
   346 # implementations.
       
   347 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
       
   348   eval 'as_fn_append ()
       
   349   {
       
   350     eval $1+=\$2
       
   351   }'
       
   352 else
       
   353   as_fn_append ()
       
   354   {
       
   355     eval $1=\$$1\$2
       
   356   }
       
   357 fi # as_fn_append
       
   358 
       
   359 # as_fn_arith ARG...
       
   360 # ------------------
       
   361 # Perform arithmetic evaluation on the ARGs, and store the result in the
       
   362 # global $as_val. Take advantage of shells that can avoid forks. The arguments
       
   363 # must be portable across $(()) and expr.
       
   364 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
       
   365   eval 'as_fn_arith ()
       
   366   {
       
   367     as_val=$(( $* ))
       
   368   }'
       
   369 else
       
   370   as_fn_arith ()
       
   371   {
       
   372     as_val=`expr "$@" || test $? -eq 1`
       
   373   }
       
   374 fi # as_fn_arith
       
   375 
       
   376 
       
   377 # as_fn_error STATUS ERROR [LINENO LOG_FD]
       
   378 # ----------------------------------------
       
   379 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
       
   380 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
       
   381 # script with STATUS, using 1 if that was 0.
       
   382 as_fn_error ()
       
   383 {
       
   384   as_status=$1; test $as_status -eq 0 && as_status=1
       
   385   if test "$4"; then
       
   386     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
       
   387     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
       
   388   fi
       
   389   $as_echo "$as_me: error: $2" >&2
       
   390   as_fn_exit $as_status
       
   391 } # as_fn_error
       
   392 
       
   393 if expr a : '\(a\)' >/dev/null 2>&1 &&
       
   394    test "X`expr 00001 : '.*\(...\)'`" = X001; then
       
   395   as_expr=expr
       
   396 else
       
   397   as_expr=false
       
   398 fi
       
   399 
       
   400 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
       
   401   as_basename=basename
       
   402 else
       
   403   as_basename=false
       
   404 fi
       
   405 
       
   406 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
       
   407   as_dirname=dirname
       
   408 else
       
   409   as_dirname=false
       
   410 fi
       
   411 
       
   412 as_me=`$as_basename -- "$0" ||
       
   413 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
       
   414 	 X"$0" : 'X\(//\)$' \| \
       
   415 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
       
   416 $as_echo X/"$0" |
       
   417     sed '/^.*\/\([^/][^/]*\)\/*$/{
       
   418 	    s//\1/
       
   419 	    q
       
   420 	  }
       
   421 	  /^X\/\(\/\/\)$/{
       
   422 	    s//\1/
       
   423 	    q
       
   424 	  }
       
   425 	  /^X\/\(\/\).*/{
       
   426 	    s//\1/
       
   427 	    q
       
   428 	  }
       
   429 	  s/.*/./; q'`
       
   430 
       
   431 # Avoid depending upon Character Ranges.
       
   432 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
       
   433 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
       
   434 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
       
   435 as_cr_digits='0123456789'
       
   436 as_cr_alnum=$as_cr_Letters$as_cr_digits
       
   437 
       
   438 
       
   439   as_lineno_1=$LINENO as_lineno_1a=$LINENO
       
   440   as_lineno_2=$LINENO as_lineno_2a=$LINENO
       
   441   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
       
   442   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
       
   443   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
       
   444   sed -n '
       
   445     p
       
   446     /[$]LINENO/=
       
   447   ' <$as_myself |
       
   448     sed '
       
   449       s/[$]LINENO.*/&-/
       
   450       t lineno
       
   451       b
       
   452       :lineno
       
   453       N
       
   454       :loop
       
   455       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
       
   456       t loop
       
   457       s/-\n.*//
       
   458     ' >$as_me.lineno &&
       
   459   chmod +x "$as_me.lineno" ||
       
   460     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
       
   461 
       
   462   # Don't try to exec as it changes $[0], causing all sort of problems
       
   463   # (the dirname of $[0] is not the place where we might find the
       
   464   # original and so on.  Autoconf is especially sensitive to this).
       
   465   . "./$as_me.lineno"
       
   466   # Exit status is that of the last command.
       
   467   exit
       
   468 }
       
   469 
       
   470 ECHO_C= ECHO_N= ECHO_T=
       
   471 case `echo -n x` in #(((((
       
   472 -n*)
       
   473   case `echo 'xy\c'` in
       
   474   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
       
   475   xy)  ECHO_C='\c';;
       
   476   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
       
   477        ECHO_T='	';;
       
   478   esac;;
       
   479 *)
       
   480   ECHO_N='-n';;
       
   481 esac
       
   482 
       
   483 rm -f conf$$ conf$$.exe conf$$.file
       
   484 if test -d conf$$.dir; then
       
   485   rm -f conf$$.dir/conf$$.file
       
   486 else
       
   487   rm -f conf$$.dir
       
   488   mkdir conf$$.dir 2>/dev/null
       
   489 fi
       
   490 if (echo >conf$$.file) 2>/dev/null; then
       
   491   if ln -s conf$$.file conf$$ 2>/dev/null; then
       
   492     as_ln_s='ln -s'
       
   493     # ... but there are two gotchas:
       
   494     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
       
   495     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
       
   496     # In both cases, we have to default to `cp -p'.
       
   497     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
       
   498       as_ln_s='cp -p'
       
   499   elif ln conf$$.file conf$$ 2>/dev/null; then
       
   500     as_ln_s=ln
       
   501   else
       
   502     as_ln_s='cp -p'
       
   503   fi
       
   504 else
       
   505   as_ln_s='cp -p'
       
   506 fi
       
   507 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
       
   508 rmdir conf$$.dir 2>/dev/null
       
   509 
       
   510 if mkdir -p . 2>/dev/null; then
       
   511   as_mkdir_p='mkdir -p "$as_dir"'
       
   512 else
       
   513   test -d ./-p && rmdir ./-p
       
   514   as_mkdir_p=false
       
   515 fi
       
   516 
       
   517 if test -x / >/dev/null 2>&1; then
       
   518   as_test_x='test -x'
       
   519 else
       
   520   if ls -dL / >/dev/null 2>&1; then
       
   521     as_ls_L_option=L
       
   522   else
       
   523     as_ls_L_option=
       
   524   fi
       
   525   as_test_x='
       
   526     eval sh -c '\''
       
   527       if test -d "$1"; then
       
   528 	test -d "$1/.";
       
   529       else
       
   530 	case $1 in #(
       
   531 	-*)set "./$1";;
       
   532 	esac;
       
   533 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
       
   534 	???[sx]*):;;*)false;;esac;fi
       
   535     '\'' sh
       
   536   '
       
   537 fi
       
   538 as_executable_p=$as_test_x
       
   539 
       
   540 # Sed expression to map a string onto a valid CPP name.
       
   541 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
       
   542 
       
   543 # Sed expression to map a string onto a valid variable name.
       
   544 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
       
   545 
       
   546 
       
   547 test -n "$DJDIR" || exec 7<&0 </dev/null
       
   548 exec 6>&1
       
   549 
       
   550 # Name of the host.
       
   551 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
       
   552 # so uname gets run too.
       
   553 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
       
   554 
       
   555 #
       
   556 # Initializations.
       
   557 #
       
   558 ac_default_prefix=/usr/local
       
   559 ac_clean_files=
       
   560 ac_config_libobj_dir=.
       
   561 LIBOBJS=
       
   562 cross_compiling=no
       
   563 subdirs=
       
   564 MFLAGS=
       
   565 MAKEFLAGS=
       
   566 
       
   567 # Identity of this package.
       
   568 PACKAGE_NAME=
       
   569 PACKAGE_TARNAME=
       
   570 PACKAGE_VERSION=
       
   571 PACKAGE_STRING=
       
   572 PACKAGE_BUGREPORT=
       
   573 PACKAGE_URL=
       
   574 
       
   575 ac_unique_file="DTN2"
       
   576 ac_unique_file="dtn-version.h"
       
   577 ac_default_prefix=/usr
       
   578 # Factoring default headers for most tests.
       
   579 ac_includes_default="\
       
   580 #include <stdio.h>
       
   581 #ifdef HAVE_SYS_TYPES_H
       
   582 # include <sys/types.h>
       
   583 #endif
       
   584 #ifdef HAVE_SYS_STAT_H
       
   585 # include <sys/stat.h>
       
   586 #endif
       
   587 #ifdef STDC_HEADERS
       
   588 # include <stdlib.h>
       
   589 # include <stddef.h>
       
   590 #else
       
   591 # ifdef HAVE_STDLIB_H
       
   592 #  include <stdlib.h>
       
   593 # endif
       
   594 #endif
       
   595 #ifdef HAVE_STRING_H
       
   596 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
       
   597 #  include <memory.h>
       
   598 # endif
       
   599 # include <string.h>
       
   600 #endif
       
   601 #ifdef HAVE_STRINGS_H
       
   602 # include <strings.h>
       
   603 #endif
       
   604 #ifdef HAVE_INTTYPES_H
       
   605 # include <inttypes.h>
       
   606 #endif
       
   607 #ifdef HAVE_STDINT_H
       
   608 # include <stdint.h>
       
   609 #endif
       
   610 #ifdef HAVE_UNISTD_H
       
   611 # include <unistd.h>
       
   612 #endif"
       
   613 
       
   614 ac_subst_vars='LTLIBOBJS
       
   615 LIBOBJS
       
   616 INCFLAGS
       
   617 BUILD_SYSTEM
       
   618 EXTRA_LDFLAGS
       
   619 EXTRA_CFLAGS
       
   620 LDFLAGS_SHLIB
       
   621 RPATH
       
   622 PICFLAGS
       
   623 SHLIB_EXT
       
   624 SHLIBS
       
   625 STATIC
       
   626 PROFILE
       
   627 OPTIMIZE_WARN
       
   628 OPTIMIZE
       
   629 DEBUG
       
   630 RANLIB
       
   631 AR
       
   632 DEPFLAGS
       
   633 TARGET
       
   634 CXXCPP
       
   635 ac_ct_CXX
       
   636 CXXFLAGS
       
   637 CXX
       
   638 EGREP
       
   639 GREP
       
   640 CPP
       
   641 OBJEXT
       
   642 EXEEXT
       
   643 ac_ct_CC
       
   644 CPPFLAGS
       
   645 LDFLAGS
       
   646 CFLAGS
       
   647 CC
       
   648 SYS_EXTLIB_LDFLAGS
       
   649 SYS_EXTLIB_CFLAGS
       
   650 EXTLIB_LDFLAGS
       
   651 EXTLIB_CFLAGS
       
   652 OASYS_VERSION
       
   653 OASYS_COMPAT_LDFLAGS
       
   654 OASYS_LDFLAGS_STATIC
       
   655 OASYS_LDFLAGS
       
   656 OASYS_ETCDIR
       
   657 OASYS_LIBDIR
       
   658 OASYS_INCDIR
       
   659 BUILDDIR
       
   660 SRCDIR
       
   661 target_alias
       
   662 host_alias
       
   663 build_alias
       
   664 LIBS
       
   665 ECHO_T
       
   666 ECHO_N
       
   667 ECHO_C
       
   668 DEFS
       
   669 mandir
       
   670 localedir
       
   671 libdir
       
   672 psdir
       
   673 pdfdir
       
   674 dvidir
       
   675 htmldir
       
   676 infodir
       
   677 docdir
       
   678 oldincludedir
       
   679 includedir
       
   680 localstatedir
       
   681 sharedstatedir
       
   682 sysconfdir
       
   683 datadir
       
   684 datarootdir
       
   685 libexecdir
       
   686 sbindir
       
   687 bindir
       
   688 program_transform_name
       
   689 prefix
       
   690 exec_prefix
       
   691 PACKAGE_URL
       
   692 PACKAGE_BUGREPORT
       
   693 PACKAGE_STRING
       
   694 PACKAGE_VERSION
       
   695 PACKAGE_TARNAME
       
   696 PACKAGE_NAME
       
   697 PATH_SEPARATOR
       
   698 SHELL'
       
   699 ac_subst_files=''
       
   700 ac_user_opts='
       
   701 enable_option_checking
       
   702 with_previous_options
       
   703 with_oasys
       
   704 with_bonjour
       
   705 enable_ecl
       
   706 enable_edp
       
   707 with_norm
       
   708 with_ltp
       
   709 with_bsp
       
   710 with_openssl
       
   711 with_cc
       
   712 with_cxx
       
   713 enable_debug
       
   714 enable_debug_memory
       
   715 enable_debug_locking
       
   716 enable_optimize
       
   717 enable_profile
       
   718 enable_static
       
   719 enable_static_external_libs
       
   720 enable_shlibs
       
   721 with_extra_cflags
       
   722 with_extra_ldflags
       
   723 '
       
   724       ac_precious_vars='build_alias
       
   725 host_alias
       
   726 target_alias
       
   727 CC
       
   728 CFLAGS
       
   729 LDFLAGS
       
   730 LIBS
       
   731 CPPFLAGS
       
   732 CPP
       
   733 CXX
       
   734 CXXFLAGS
       
   735 CCC
       
   736 CXXCPP'
       
   737 
       
   738 
       
   739 # Initialize some variables set by options.
       
   740 ac_init_help=
       
   741 ac_init_version=false
       
   742 ac_unrecognized_opts=
       
   743 ac_unrecognized_sep=
       
   744 # The variables have the same names as the options, with
       
   745 # dashes changed to underlines.
       
   746 cache_file=/dev/null
       
   747 exec_prefix=NONE
       
   748 no_create=
       
   749 no_recursion=
       
   750 prefix=NONE
       
   751 program_prefix=NONE
       
   752 program_suffix=NONE
       
   753 program_transform_name=s,x,x,
       
   754 silent=
       
   755 site=
       
   756 srcdir=
       
   757 verbose=
       
   758 x_includes=NONE
       
   759 x_libraries=NONE
       
   760 
       
   761 # Installation directory options.
       
   762 # These are left unexpanded so users can "make install exec_prefix=/foo"
       
   763 # and all the variables that are supposed to be based on exec_prefix
       
   764 # by default will actually change.
       
   765 # Use braces instead of parens because sh, perl, etc. also accept them.
       
   766 # (The list follows the same order as the GNU Coding Standards.)
       
   767 bindir='${exec_prefix}/bin'
       
   768 sbindir='${exec_prefix}/sbin'
       
   769 libexecdir='${exec_prefix}/libexec'
       
   770 datarootdir='${prefix}/share'
       
   771 datadir='${datarootdir}'
       
   772 sysconfdir='${prefix}/etc'
       
   773 sharedstatedir='${prefix}/com'
       
   774 localstatedir='${prefix}/var'
       
   775 includedir='${prefix}/include'
       
   776 oldincludedir='/usr/include'
       
   777 docdir='${datarootdir}/doc/${PACKAGE}'
       
   778 infodir='${datarootdir}/info'
       
   779 htmldir='${docdir}'
       
   780 dvidir='${docdir}'
       
   781 pdfdir='${docdir}'
       
   782 psdir='${docdir}'
       
   783 libdir='${exec_prefix}/lib'
       
   784 localedir='${datarootdir}/locale'
       
   785 mandir='${datarootdir}/man'
       
   786 
       
   787 ac_prev=
       
   788 ac_dashdash=
       
   789 for ac_option
       
   790 do
       
   791   # If the previous option needs an argument, assign it.
       
   792   if test -n "$ac_prev"; then
       
   793     eval $ac_prev=\$ac_option
       
   794     ac_prev=
       
   795     continue
       
   796   fi
       
   797 
       
   798   case $ac_option in
       
   799   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
       
   800   *=)   ac_optarg= ;;
       
   801   *)    ac_optarg=yes ;;
       
   802   esac
       
   803 
       
   804   # Accept the important Cygnus configure options, so we can diagnose typos.
       
   805 
       
   806   case $ac_dashdash$ac_option in
       
   807   --)
       
   808     ac_dashdash=yes ;;
       
   809 
       
   810   -bindir | --bindir | --bindi | --bind | --bin | --bi)
       
   811     ac_prev=bindir ;;
       
   812   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
       
   813     bindir=$ac_optarg ;;
       
   814 
       
   815   -build | --build | --buil | --bui | --bu)
       
   816     ac_prev=build_alias ;;
       
   817   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
       
   818     build_alias=$ac_optarg ;;
       
   819 
       
   820   -cache-file | --cache-file | --cache-fil | --cache-fi \
       
   821   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
       
   822     ac_prev=cache_file ;;
       
   823   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
       
   824   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
       
   825     cache_file=$ac_optarg ;;
       
   826 
       
   827   --config-cache | -C)
       
   828     cache_file=config.cache ;;
       
   829 
       
   830   -datadir | --datadir | --datadi | --datad)
       
   831     ac_prev=datadir ;;
       
   832   -datadir=* | --datadir=* | --datadi=* | --datad=*)
       
   833     datadir=$ac_optarg ;;
       
   834 
       
   835   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
       
   836   | --dataroo | --dataro | --datar)
       
   837     ac_prev=datarootdir ;;
       
   838   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
       
   839   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
       
   840     datarootdir=$ac_optarg ;;
       
   841 
       
   842   -disable-* | --disable-*)
       
   843     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
       
   844     # Reject names that are not valid shell variable names.
       
   845     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
       
   846       as_fn_error $? "invalid feature name: $ac_useropt"
       
   847     ac_useropt_orig=$ac_useropt
       
   848     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
       
   849     case $ac_user_opts in
       
   850       *"
       
   851 "enable_$ac_useropt"
       
   852 "*) ;;
       
   853       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
       
   854 	 ac_unrecognized_sep=', ';;
       
   855     esac
       
   856     eval enable_$ac_useropt=no ;;
       
   857 
       
   858   -docdir | --docdir | --docdi | --doc | --do)
       
   859     ac_prev=docdir ;;
       
   860   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
       
   861     docdir=$ac_optarg ;;
       
   862 
       
   863   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
       
   864     ac_prev=dvidir ;;
       
   865   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
       
   866     dvidir=$ac_optarg ;;
       
   867 
       
   868   -enable-* | --enable-*)
       
   869     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
       
   870     # Reject names that are not valid shell variable names.
       
   871     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
       
   872       as_fn_error $? "invalid feature name: $ac_useropt"
       
   873     ac_useropt_orig=$ac_useropt
       
   874     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
       
   875     case $ac_user_opts in
       
   876       *"
       
   877 "enable_$ac_useropt"
       
   878 "*) ;;
       
   879       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
       
   880 	 ac_unrecognized_sep=', ';;
       
   881     esac
       
   882     eval enable_$ac_useropt=\$ac_optarg ;;
       
   883 
       
   884   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
       
   885   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
       
   886   | --exec | --exe | --ex)
       
   887     ac_prev=exec_prefix ;;
       
   888   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
       
   889   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
       
   890   | --exec=* | --exe=* | --ex=*)
       
   891     exec_prefix=$ac_optarg ;;
       
   892 
       
   893   -gas | --gas | --ga | --g)
       
   894     # Obsolete; use --with-gas.
       
   895     with_gas=yes ;;
       
   896 
       
   897   -help | --help | --hel | --he | -h)
       
   898     ac_init_help=long ;;
       
   899   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
       
   900     ac_init_help=recursive ;;
       
   901   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
       
   902     ac_init_help=short ;;
       
   903 
       
   904   -host | --host | --hos | --ho)
       
   905     ac_prev=host_alias ;;
       
   906   -host=* | --host=* | --hos=* | --ho=*)
       
   907     host_alias=$ac_optarg ;;
       
   908 
       
   909   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
       
   910     ac_prev=htmldir ;;
       
   911   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
       
   912   | --ht=*)
       
   913     htmldir=$ac_optarg ;;
       
   914 
       
   915   -includedir | --includedir | --includedi | --included | --include \
       
   916   | --includ | --inclu | --incl | --inc)
       
   917     ac_prev=includedir ;;
       
   918   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
       
   919   | --includ=* | --inclu=* | --incl=* | --inc=*)
       
   920     includedir=$ac_optarg ;;
       
   921 
       
   922   -infodir | --infodir | --infodi | --infod | --info | --inf)
       
   923     ac_prev=infodir ;;
       
   924   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
       
   925     infodir=$ac_optarg ;;
       
   926 
       
   927   -libdir | --libdir | --libdi | --libd)
       
   928     ac_prev=libdir ;;
       
   929   -libdir=* | --libdir=* | --libdi=* | --libd=*)
       
   930     libdir=$ac_optarg ;;
       
   931 
       
   932   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
       
   933   | --libexe | --libex | --libe)
       
   934     ac_prev=libexecdir ;;
       
   935   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
       
   936   | --libexe=* | --libex=* | --libe=*)
       
   937     libexecdir=$ac_optarg ;;
       
   938 
       
   939   -localedir | --localedir | --localedi | --localed | --locale)
       
   940     ac_prev=localedir ;;
       
   941   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
       
   942     localedir=$ac_optarg ;;
       
   943 
       
   944   -localstatedir | --localstatedir | --localstatedi | --localstated \
       
   945   | --localstate | --localstat | --localsta | --localst | --locals)
       
   946     ac_prev=localstatedir ;;
       
   947   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
       
   948   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
       
   949     localstatedir=$ac_optarg ;;
       
   950 
       
   951   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
       
   952     ac_prev=mandir ;;
       
   953   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
       
   954     mandir=$ac_optarg ;;
       
   955 
       
   956   -nfp | --nfp | --nf)
       
   957     # Obsolete; use --without-fp.
       
   958     with_fp=no ;;
       
   959 
       
   960   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
       
   961   | --no-cr | --no-c | -n)
       
   962     no_create=yes ;;
       
   963 
       
   964   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
       
   965   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
       
   966     no_recursion=yes ;;
       
   967 
       
   968   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
       
   969   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
       
   970   | --oldin | --oldi | --old | --ol | --o)
       
   971     ac_prev=oldincludedir ;;
       
   972   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
       
   973   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
       
   974   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
       
   975     oldincludedir=$ac_optarg ;;
       
   976 
       
   977   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
       
   978     ac_prev=prefix ;;
       
   979   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
       
   980     prefix=$ac_optarg ;;
       
   981 
       
   982   -program-prefix | --program-prefix | --program-prefi | --program-pref \
       
   983   | --program-pre | --program-pr | --program-p)
       
   984     ac_prev=program_prefix ;;
       
   985   -program-prefix=* | --program-prefix=* | --program-prefi=* \
       
   986   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
       
   987     program_prefix=$ac_optarg ;;
       
   988 
       
   989   -program-suffix | --program-suffix | --program-suffi | --program-suff \
       
   990   | --program-suf | --program-su | --program-s)
       
   991     ac_prev=program_suffix ;;
       
   992   -program-suffix=* | --program-suffix=* | --program-suffi=* \
       
   993   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
       
   994     program_suffix=$ac_optarg ;;
       
   995 
       
   996   -program-transform-name | --program-transform-name \
       
   997   | --program-transform-nam | --program-transform-na \
       
   998   | --program-transform-n | --program-transform- \
       
   999   | --program-transform | --program-transfor \
       
  1000   | --program-transfo | --program-transf \
       
  1001   | --program-trans | --program-tran \
       
  1002   | --progr-tra | --program-tr | --program-t)
       
  1003     ac_prev=program_transform_name ;;
       
  1004   -program-transform-name=* | --program-transform-name=* \
       
  1005   | --program-transform-nam=* | --program-transform-na=* \
       
  1006   | --program-transform-n=* | --program-transform-=* \
       
  1007   | --program-transform=* | --program-transfor=* \
       
  1008   | --program-transfo=* | --program-transf=* \
       
  1009   | --program-trans=* | --program-tran=* \
       
  1010   | --progr-tra=* | --program-tr=* | --program-t=*)
       
  1011     program_transform_name=$ac_optarg ;;
       
  1012 
       
  1013   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
       
  1014     ac_prev=pdfdir ;;
       
  1015   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
       
  1016     pdfdir=$ac_optarg ;;
       
  1017 
       
  1018   -psdir | --psdir | --psdi | --psd | --ps)
       
  1019     ac_prev=psdir ;;
       
  1020   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
       
  1021     psdir=$ac_optarg ;;
       
  1022 
       
  1023   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
       
  1024   | -silent | --silent | --silen | --sile | --sil)
       
  1025     silent=yes ;;
       
  1026 
       
  1027   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
       
  1028     ac_prev=sbindir ;;
       
  1029   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
       
  1030   | --sbi=* | --sb=*)
       
  1031     sbindir=$ac_optarg ;;
       
  1032 
       
  1033   -sharedstatedir | --sharedstatedir | --sharedstatedi \
       
  1034   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
       
  1035   | --sharedst | --shareds | --shared | --share | --shar \
       
  1036   | --sha | --sh)
       
  1037     ac_prev=sharedstatedir ;;
       
  1038   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
       
  1039   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
       
  1040   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
       
  1041   | --sha=* | --sh=*)
       
  1042     sharedstatedir=$ac_optarg ;;
       
  1043 
       
  1044   -site | --site | --sit)
       
  1045     ac_prev=site ;;
       
  1046   -site=* | --site=* | --sit=*)
       
  1047     site=$ac_optarg ;;
       
  1048 
       
  1049   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
       
  1050     ac_prev=srcdir ;;
       
  1051   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
       
  1052     srcdir=$ac_optarg ;;
       
  1053 
       
  1054   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
       
  1055   | --syscon | --sysco | --sysc | --sys | --sy)
       
  1056     ac_prev=sysconfdir ;;
       
  1057   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
       
  1058   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
       
  1059     sysconfdir=$ac_optarg ;;
       
  1060 
       
  1061   -target | --target | --targe | --targ | --tar | --ta | --t)
       
  1062     ac_prev=target_alias ;;
       
  1063   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
       
  1064     target_alias=$ac_optarg ;;
       
  1065 
       
  1066   -v | -verbose | --verbose | --verbos | --verbo | --verb)
       
  1067     verbose=yes ;;
       
  1068 
       
  1069   -version | --version | --versio | --versi | --vers | -V)
       
  1070     ac_init_version=: ;;
       
  1071 
       
  1072   -with-* | --with-*)
       
  1073     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
       
  1074     # Reject names that are not valid shell variable names.
       
  1075     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
       
  1076       as_fn_error $? "invalid package name: $ac_useropt"
       
  1077     ac_useropt_orig=$ac_useropt
       
  1078     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
       
  1079     case $ac_user_opts in
       
  1080       *"
       
  1081 "with_$ac_useropt"
       
  1082 "*) ;;
       
  1083       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
       
  1084 	 ac_unrecognized_sep=', ';;
       
  1085     esac
       
  1086     eval with_$ac_useropt=\$ac_optarg ;;
       
  1087 
       
  1088   -without-* | --without-*)
       
  1089     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
       
  1090     # Reject names that are not valid shell variable names.
       
  1091     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
       
  1092       as_fn_error $? "invalid package name: $ac_useropt"
       
  1093     ac_useropt_orig=$ac_useropt
       
  1094     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
       
  1095     case $ac_user_opts in
       
  1096       *"
       
  1097 "with_$ac_useropt"
       
  1098 "*) ;;
       
  1099       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
       
  1100 	 ac_unrecognized_sep=', ';;
       
  1101     esac
       
  1102     eval with_$ac_useropt=no ;;
       
  1103 
       
  1104   --x)
       
  1105     # Obsolete; use --with-x.
       
  1106     with_x=yes ;;
       
  1107 
       
  1108   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
       
  1109   | --x-incl | --x-inc | --x-in | --x-i)
       
  1110     ac_prev=x_includes ;;
       
  1111   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
       
  1112   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
       
  1113     x_includes=$ac_optarg ;;
       
  1114 
       
  1115   -x-libraries | --x-libraries | --x-librarie | --x-librari \
       
  1116   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
       
  1117     ac_prev=x_libraries ;;
       
  1118   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
       
  1119   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
       
  1120     x_libraries=$ac_optarg ;;
       
  1121 
       
  1122   -*) as_fn_error $? "unrecognized option: \`$ac_option'
       
  1123 Try \`$0 --help' for more information"
       
  1124     ;;
       
  1125 
       
  1126   *=*)
       
  1127     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
       
  1128     # Reject names that are not valid shell variable names.
       
  1129     case $ac_envvar in #(
       
  1130       '' | [0-9]* | *[!_$as_cr_alnum]* )
       
  1131       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
       
  1132     esac
       
  1133     eval $ac_envvar=\$ac_optarg
       
  1134     export $ac_envvar ;;
       
  1135 
       
  1136   *)
       
  1137     # FIXME: should be removed in autoconf 3.0.
       
  1138     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
       
  1139     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
       
  1140       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
       
  1141     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
       
  1142     ;;
       
  1143 
       
  1144   esac
       
  1145 done
       
  1146 
       
  1147 if test -n "$ac_prev"; then
       
  1148   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
       
  1149   as_fn_error $? "missing argument to $ac_option"
       
  1150 fi
       
  1151 
       
  1152 if test -n "$ac_unrecognized_opts"; then
       
  1153   case $enable_option_checking in
       
  1154     no) ;;
       
  1155     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
       
  1156     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
       
  1157   esac
       
  1158 fi
       
  1159 
       
  1160 # Check all directory arguments for consistency.
       
  1161 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
       
  1162 		datadir sysconfdir sharedstatedir localstatedir includedir \
       
  1163 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
       
  1164 		libdir localedir mandir
       
  1165 do
       
  1166   eval ac_val=\$$ac_var
       
  1167   # Remove trailing slashes.
       
  1168   case $ac_val in
       
  1169     */ )
       
  1170       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
       
  1171       eval $ac_var=\$ac_val;;
       
  1172   esac
       
  1173   # Be sure to have absolute directory names.
       
  1174   case $ac_val in
       
  1175     [\\/$]* | ?:[\\/]* )  continue;;
       
  1176     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
       
  1177   esac
       
  1178   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
       
  1179 done
       
  1180 
       
  1181 # There might be people who depend on the old broken behavior: `$host'
       
  1182 # used to hold the argument of --host etc.
       
  1183 # FIXME: To remove some day.
       
  1184 build=$build_alias
       
  1185 host=$host_alias
       
  1186 target=$target_alias
       
  1187 
       
  1188 # FIXME: To remove some day.
       
  1189 if test "x$host_alias" != x; then
       
  1190   if test "x$build_alias" = x; then
       
  1191     cross_compiling=maybe
       
  1192     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
       
  1193     If a cross compiler is detected then cross compile mode will be used" >&2
       
  1194   elif test "x$build_alias" != "x$host_alias"; then
       
  1195     cross_compiling=yes
       
  1196   fi
       
  1197 fi
       
  1198 
       
  1199 ac_tool_prefix=
       
  1200 test -n "$host_alias" && ac_tool_prefix=$host_alias-
       
  1201 
       
  1202 test "$silent" = yes && exec 6>/dev/null
       
  1203 
       
  1204 
       
  1205 ac_pwd=`pwd` && test -n "$ac_pwd" &&
       
  1206 ac_ls_di=`ls -di .` &&
       
  1207 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
       
  1208   as_fn_error $? "working directory cannot be determined"
       
  1209 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
       
  1210   as_fn_error $? "pwd does not report name of working directory"
       
  1211 
       
  1212 
       
  1213 # Find the source files, if location was not specified.
       
  1214 if test -z "$srcdir"; then
       
  1215   ac_srcdir_defaulted=yes
       
  1216   # Try the directory containing this script, then the parent directory.
       
  1217   ac_confdir=`$as_dirname -- "$as_myself" ||
       
  1218 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
       
  1219 	 X"$as_myself" : 'X\(//\)[^/]' \| \
       
  1220 	 X"$as_myself" : 'X\(//\)$' \| \
       
  1221 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
       
  1222 $as_echo X"$as_myself" |
       
  1223     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
       
  1224 	    s//\1/
       
  1225 	    q
       
  1226 	  }
       
  1227 	  /^X\(\/\/\)[^/].*/{
       
  1228 	    s//\1/
       
  1229 	    q
       
  1230 	  }
       
  1231 	  /^X\(\/\/\)$/{
       
  1232 	    s//\1/
       
  1233 	    q
       
  1234 	  }
       
  1235 	  /^X\(\/\).*/{
       
  1236 	    s//\1/
       
  1237 	    q
       
  1238 	  }
       
  1239 	  s/.*/./; q'`
       
  1240   srcdir=$ac_confdir
       
  1241   if test ! -r "$srcdir/$ac_unique_file"; then
       
  1242     srcdir=..
       
  1243   fi
       
  1244 else
       
  1245   ac_srcdir_defaulted=no
       
  1246 fi
       
  1247 if test ! -r "$srcdir/$ac_unique_file"; then
       
  1248   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
       
  1249   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
       
  1250 fi
       
  1251 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
       
  1252 ac_abs_confdir=`(
       
  1253 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
       
  1254 	pwd)`
       
  1255 # When building in place, set srcdir=.
       
  1256 if test "$ac_abs_confdir" = "$ac_pwd"; then
       
  1257   srcdir=.
       
  1258 fi
       
  1259 # Remove unnecessary trailing slashes from srcdir.
       
  1260 # Double slashes in file names in object file debugging info
       
  1261 # mess up M-x gdb in Emacs.
       
  1262 case $srcdir in
       
  1263 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
       
  1264 esac
       
  1265 for ac_var in $ac_precious_vars; do
       
  1266   eval ac_env_${ac_var}_set=\${${ac_var}+set}
       
  1267   eval ac_env_${ac_var}_value=\$${ac_var}
       
  1268   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
       
  1269   eval ac_cv_env_${ac_var}_value=\$${ac_var}
       
  1270 done
       
  1271 
       
  1272 #
       
  1273 # Report the --help message.
       
  1274 #
       
  1275 if test "$ac_init_help" = "long"; then
       
  1276   # Omit some internal or obsolete options to make the list less imposing.
       
  1277   # This message is too long to be a string in the A/UX 3.1 sh.
       
  1278   cat <<_ACEOF
       
  1279 \`configure' configures this package to adapt to many kinds of systems.
       
  1280 
       
  1281 Usage: $0 [OPTION]... [VAR=VALUE]...
       
  1282 
       
  1283 To assign environment variables (e.g., CC, CFLAGS...), specify them as
       
  1284 VAR=VALUE.  See below for descriptions of some of the useful variables.
       
  1285 
       
  1286 Defaults for the options are specified in brackets.
       
  1287 
       
  1288 Configuration:
       
  1289   -h, --help              display this help and exit
       
  1290       --help=short        display options specific to this package
       
  1291       --help=recursive    display the short help of all the included packages
       
  1292   -V, --version           display version information and exit
       
  1293   -q, --quiet, --silent   do not print \`checking ...' messages
       
  1294       --cache-file=FILE   cache test results in FILE [disabled]
       
  1295   -C, --config-cache      alias for \`--cache-file=config.cache'
       
  1296   -n, --no-create         do not create output files
       
  1297       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
       
  1298 
       
  1299 Installation directories:
       
  1300   --prefix=PREFIX         install architecture-independent files in PREFIX
       
  1301                           [$ac_default_prefix]
       
  1302   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
       
  1303                           [PREFIX]
       
  1304 
       
  1305 By default, \`make install' will install all the files in
       
  1306 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
       
  1307 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
       
  1308 for instance \`--prefix=\$HOME'.
       
  1309 
       
  1310 For better control, use the options below.
       
  1311 
       
  1312 Fine tuning of the installation directories:
       
  1313   --bindir=DIR            user executables [EPREFIX/bin]
       
  1314   --sbindir=DIR           system admin executables [EPREFIX/sbin]
       
  1315   --libexecdir=DIR        program executables [EPREFIX/libexec]
       
  1316   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
       
  1317   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
       
  1318   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
       
  1319   --libdir=DIR            object code libraries [EPREFIX/lib]
       
  1320   --includedir=DIR        C header files [PREFIX/include]
       
  1321   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
       
  1322   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
       
  1323   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
       
  1324   --infodir=DIR           info documentation [DATAROOTDIR/info]
       
  1325   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
       
  1326   --mandir=DIR            man documentation [DATAROOTDIR/man]
       
  1327   --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
       
  1328   --htmldir=DIR           html documentation [DOCDIR]
       
  1329   --dvidir=DIR            dvi documentation [DOCDIR]
       
  1330   --pdfdir=DIR            pdf documentation [DOCDIR]
       
  1331   --psdir=DIR             ps documentation [DOCDIR]
       
  1332 _ACEOF
       
  1333 
       
  1334   cat <<\_ACEOF
       
  1335 _ACEOF
       
  1336 fi
       
  1337 
       
  1338 if test -n "$ac_init_help"; then
       
  1339 
       
  1340   cat <<\_ACEOF
       
  1341 
       
  1342 Optional Features:
       
  1343   --disable-option-checking  ignore unrecognized --enable/--with options
       
  1344   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
       
  1345   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
       
  1346   --disable-ecl           disable external convergence layer support
       
  1347   --disable-edp           disable external decision plane support
       
  1348   --disable-debug         compile with debugging turned off
       
  1349   --enable-debug-memory   enable memory debugging
       
  1350   --disable-debug-locking disable lock debugging
       
  1351   --disable-optimize      compile with optimization turned off
       
  1352   --enable-profile        compile with profiling
       
  1353   --enable-static         statically link all binaries
       
  1354   --enable-static-external-libs
       
  1355                           use static external libraries
       
  1356   --enable-shlibs         enable building of shared libraries (default try)
       
  1357 
       
  1358 Optional Packages:
       
  1359   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
       
  1360   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
       
  1361   --with-previous-options read config.status for configure options
       
  1362   --with-oasys=DIR        location of an oasys installation (default
       
  1363                           ../oasys-<major>.<minor>.* or ../oasys or /usr)
       
  1364   --with-bonjour          compile in bonjour support (default try)
       
  1365   --with-norm             enable NORM convergence layer support (EXPERIMENTAL)
       
  1366   --with-ltp              enable LTP convergence layer support using TCD's
       
  1367                           LTPlib (EXPERIMENTAL)
       
  1368   --with-bsp              enable Bundle Security Protocol support
       
  1369                           (EXPERIMENTAL)
       
  1370   --with-openssl=DIR      location of an OpenSSL installation (default system)
       
  1371   --with-cc=CC            name (or path) of the C compiler to use
       
  1372   --with-cxx=CXX          name (or path) of the C++ compiler to use
       
  1373   --with-extra-cflags=?   additional options to pass to the compiler
       
  1374   --with-extra-ldflags=?  additional options to pass to the linker
       
  1375 
       
  1376 Some influential environment variables:
       
  1377   CC          C compiler command
       
  1378   CFLAGS      C compiler flags
       
  1379   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
       
  1380               nonstandard directory <lib dir>
       
  1381   LIBS        libraries to pass to the linker, e.g. -l<library>
       
  1382   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
       
  1383               you have headers in a nonstandard directory <include dir>
       
  1384   CPP         C preprocessor
       
  1385   CXX         C++ compiler command
       
  1386   CXXFLAGS    C++ compiler flags
       
  1387   CXXCPP      C++ preprocessor
       
  1388 
       
  1389 Use these variables to override the choices made by `configure' or to help
       
  1390 it to find libraries and programs with nonstandard names/locations.
       
  1391 
       
  1392 Report bugs to the package provider.
       
  1393 _ACEOF
       
  1394 ac_status=$?
       
  1395 fi
       
  1396 
       
  1397 if test "$ac_init_help" = "recursive"; then
       
  1398   # If there are subdirs, report their specific --help.
       
  1399   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
       
  1400     test -d "$ac_dir" ||
       
  1401       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
       
  1402       continue
       
  1403     ac_builddir=.
       
  1404 
       
  1405 case "$ac_dir" in
       
  1406 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
       
  1407 *)
       
  1408   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
       
  1409   # A ".." for each directory in $ac_dir_suffix.
       
  1410   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
       
  1411   case $ac_top_builddir_sub in
       
  1412   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
       
  1413   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
       
  1414   esac ;;
       
  1415 esac
       
  1416 ac_abs_top_builddir=$ac_pwd
       
  1417 ac_abs_builddir=$ac_pwd$ac_dir_suffix
       
  1418 # for backward compatibility:
       
  1419 ac_top_builddir=$ac_top_build_prefix
       
  1420 
       
  1421 case $srcdir in
       
  1422   .)  # We are building in place.
       
  1423     ac_srcdir=.
       
  1424     ac_top_srcdir=$ac_top_builddir_sub
       
  1425     ac_abs_top_srcdir=$ac_pwd ;;
       
  1426   [\\/]* | ?:[\\/]* )  # Absolute name.
       
  1427     ac_srcdir=$srcdir$ac_dir_suffix;
       
  1428     ac_top_srcdir=$srcdir
       
  1429     ac_abs_top_srcdir=$srcdir ;;
       
  1430   *) # Relative name.
       
  1431     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
       
  1432     ac_top_srcdir=$ac_top_build_prefix$srcdir
       
  1433     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
       
  1434 esac
       
  1435 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
       
  1436 
       
  1437     cd "$ac_dir" || { ac_status=$?; continue; }
       
  1438     # Check for guested configure.
       
  1439     if test -f "$ac_srcdir/configure.gnu"; then
       
  1440       echo &&
       
  1441       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
       
  1442     elif test -f "$ac_srcdir/configure"; then
       
  1443       echo &&
       
  1444       $SHELL "$ac_srcdir/configure" --help=recursive
       
  1445     else
       
  1446       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
       
  1447     fi || ac_status=$?
       
  1448     cd "$ac_pwd" || { ac_status=$?; break; }
       
  1449   done
       
  1450 fi
       
  1451 
       
  1452 test -n "$ac_init_help" && exit $ac_status
       
  1453 if $ac_init_version; then
       
  1454   cat <<\_ACEOF
       
  1455 configure
       
  1456 generated by GNU Autoconf 2.67
       
  1457 
       
  1458 Copyright (C) 2010 Free Software Foundation, Inc.
       
  1459 This configure script is free software; the Free Software Foundation
       
  1460 gives unlimited permission to copy, distribute and modify it.
       
  1461 
       
  1462 
       
  1463    Copyright 2005-2007 Intel Corporation
       
  1464 
       
  1465    Licensed under the Apache License, Version 2.0 (the "License");
       
  1466    you may not use this file except in compliance with the License.
       
  1467    You may obtain a copy of the License at
       
  1468 
       
  1469        http://www.apache.org/licenses/LICENSE-2.0
       
  1470 
       
  1471    Unless required by applicable law or agreed to in writing, software
       
  1472    distributed under the License is distributed on an "AS IS" BASIS,
       
  1473    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
       
  1474    See the License for the specific language governing permissions and
       
  1475    limitations under the License.
       
  1476 
       
  1477 
       
  1478 _ACEOF
       
  1479   exit
       
  1480 fi
       
  1481 
       
  1482 ## ------------------------ ##
       
  1483 ## Autoconf initialization. ##
       
  1484 ## ------------------------ ##
       
  1485 
       
  1486 # ac_fn_c_try_compile LINENO
       
  1487 # --------------------------
       
  1488 # Try to compile conftest.$ac_ext, and return whether this succeeded.
       
  1489 ac_fn_c_try_compile ()
       
  1490 {
       
  1491   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
       
  1492   rm -f conftest.$ac_objext
       
  1493   if { { ac_try="$ac_compile"
       
  1494 case "(($ac_try" in
       
  1495   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  1496   *) ac_try_echo=$ac_try;;
       
  1497 esac
       
  1498 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
       
  1499 $as_echo "$ac_try_echo"; } >&5
       
  1500   (eval "$ac_compile") 2>conftest.err
       
  1501   ac_status=$?
       
  1502   if test -s conftest.err; then
       
  1503     grep -v '^ *+' conftest.err >conftest.er1
       
  1504     cat conftest.er1 >&5
       
  1505     mv -f conftest.er1 conftest.err
       
  1506   fi
       
  1507   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
       
  1508   test $ac_status = 0; } && {
       
  1509 	 test -z "$ac_c_werror_flag" ||
       
  1510 	 test ! -s conftest.err
       
  1511        } && test -s conftest.$ac_objext; then :
       
  1512   ac_retval=0
       
  1513 else
       
  1514   $as_echo "$as_me: failed program was:" >&5
       
  1515 sed 's/^/| /' conftest.$ac_ext >&5
       
  1516 
       
  1517 	ac_retval=1
       
  1518 fi
       
  1519   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
       
  1520   as_fn_set_status $ac_retval
       
  1521 
       
  1522 } # ac_fn_c_try_compile
       
  1523 
       
  1524 # ac_fn_c_try_link LINENO
       
  1525 # -----------------------
       
  1526 # Try to link conftest.$ac_ext, and return whether this succeeded.
       
  1527 ac_fn_c_try_link ()
       
  1528 {
       
  1529   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
       
  1530   rm -f conftest.$ac_objext conftest$ac_exeext
       
  1531   if { { ac_try="$ac_link"
       
  1532 case "(($ac_try" in
       
  1533   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  1534   *) ac_try_echo=$ac_try;;
       
  1535 esac
       
  1536 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
       
  1537 $as_echo "$ac_try_echo"; } >&5
       
  1538   (eval "$ac_link") 2>conftest.err
       
  1539   ac_status=$?
       
  1540   if test -s conftest.err; then
       
  1541     grep -v '^ *+' conftest.err >conftest.er1
       
  1542     cat conftest.er1 >&5
       
  1543     mv -f conftest.er1 conftest.err
       
  1544   fi
       
  1545   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
       
  1546   test $ac_status = 0; } && {
       
  1547 	 test -z "$ac_c_werror_flag" ||
       
  1548 	 test ! -s conftest.err
       
  1549        } && test -s conftest$ac_exeext && {
       
  1550 	 test "$cross_compiling" = yes ||
       
  1551 	 $as_test_x conftest$ac_exeext
       
  1552        }; then :
       
  1553   ac_retval=0
       
  1554 else
       
  1555   $as_echo "$as_me: failed program was:" >&5
       
  1556 sed 's/^/| /' conftest.$ac_ext >&5
       
  1557 
       
  1558 	ac_retval=1
       
  1559 fi
       
  1560   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
       
  1561   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
       
  1562   # interfere with the next link command; also delete a directory that is
       
  1563   # left behind by Apple's compiler.  We do this before executing the actions.
       
  1564   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
       
  1565   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
       
  1566   as_fn_set_status $ac_retval
       
  1567 
       
  1568 } # ac_fn_c_try_link
       
  1569 
       
  1570 # ac_fn_c_try_cpp LINENO
       
  1571 # ----------------------
       
  1572 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
       
  1573 ac_fn_c_try_cpp ()
       
  1574 {
       
  1575   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
       
  1576   if { { ac_try="$ac_cpp conftest.$ac_ext"
       
  1577 case "(($ac_try" in
       
  1578   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  1579   *) ac_try_echo=$ac_try;;
       
  1580 esac
       
  1581 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
       
  1582 $as_echo "$ac_try_echo"; } >&5
       
  1583   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
       
  1584   ac_status=$?
       
  1585   if test -s conftest.err; then
       
  1586     grep -v '^ *+' conftest.err >conftest.er1
       
  1587     cat conftest.er1 >&5
       
  1588     mv -f conftest.er1 conftest.err
       
  1589   fi
       
  1590   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
       
  1591   test $ac_status = 0; } > conftest.i && {
       
  1592 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
       
  1593 	 test ! -s conftest.err
       
  1594        }; then :
       
  1595   ac_retval=0
       
  1596 else
       
  1597   $as_echo "$as_me: failed program was:" >&5
       
  1598 sed 's/^/| /' conftest.$ac_ext >&5
       
  1599 
       
  1600     ac_retval=1
       
  1601 fi
       
  1602   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
       
  1603   as_fn_set_status $ac_retval
       
  1604 
       
  1605 } # ac_fn_c_try_cpp
       
  1606 
       
  1607 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
       
  1608 # -------------------------------------------------------
       
  1609 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
       
  1610 # the include files in INCLUDES and setting the cache variable VAR
       
  1611 # accordingly.
       
  1612 ac_fn_c_check_header_mongrel ()
       
  1613 {
       
  1614   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
       
  1615   if eval "test \"\${$3+set}\"" = set; then :
       
  1616   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
       
  1617 $as_echo_n "checking for $2... " >&6; }
       
  1618 if eval "test \"\${$3+set}\"" = set; then :
       
  1619   $as_echo_n "(cached) " >&6
       
  1620 fi
       
  1621 eval ac_res=\$$3
       
  1622 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
       
  1623 $as_echo "$ac_res" >&6; }
       
  1624 else
       
  1625   # Is the header compilable?
       
  1626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
       
  1627 $as_echo_n "checking $2 usability... " >&6; }
       
  1628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
       
  1629 /* end confdefs.h.  */
       
  1630 $4
       
  1631 #include <$2>
       
  1632 _ACEOF
       
  1633 if ac_fn_c_try_compile "$LINENO"; then :
       
  1634   ac_header_compiler=yes
       
  1635 else
       
  1636   ac_header_compiler=no
       
  1637 fi
       
  1638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  1639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
       
  1640 $as_echo "$ac_header_compiler" >&6; }
       
  1641 
       
  1642 # Is the header present?
       
  1643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
       
  1644 $as_echo_n "checking $2 presence... " >&6; }
       
  1645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
       
  1646 /* end confdefs.h.  */
       
  1647 #include <$2>
       
  1648 _ACEOF
       
  1649 if ac_fn_c_try_cpp "$LINENO"; then :
       
  1650   ac_header_preproc=yes
       
  1651 else
       
  1652   ac_header_preproc=no
       
  1653 fi
       
  1654 rm -f conftest.err conftest.i conftest.$ac_ext
       
  1655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
       
  1656 $as_echo "$ac_header_preproc" >&6; }
       
  1657 
       
  1658 # So?  What about this header?
       
  1659 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
       
  1660   yes:no: )
       
  1661     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
       
  1662 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
       
  1663     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
       
  1664 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
       
  1665     ;;
       
  1666   no:yes:* )
       
  1667     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
       
  1668 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
       
  1669     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
       
  1670 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
       
  1671     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
       
  1672 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
       
  1673     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
       
  1674 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
       
  1675     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
       
  1676 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
       
  1677     ;;
       
  1678 esac
       
  1679   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
       
  1680 $as_echo_n "checking for $2... " >&6; }
       
  1681 if eval "test \"\${$3+set}\"" = set; then :
       
  1682   $as_echo_n "(cached) " >&6
       
  1683 else
       
  1684   eval "$3=\$ac_header_compiler"
       
  1685 fi
       
  1686 eval ac_res=\$$3
       
  1687 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
       
  1688 $as_echo "$ac_res" >&6; }
       
  1689 fi
       
  1690   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
       
  1691 
       
  1692 } # ac_fn_c_check_header_mongrel
       
  1693 
       
  1694 # ac_fn_c_try_run LINENO
       
  1695 # ----------------------
       
  1696 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
       
  1697 # that executables *can* be run.
       
  1698 ac_fn_c_try_run ()
       
  1699 {
       
  1700   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
       
  1701   if { { ac_try="$ac_link"
       
  1702 case "(($ac_try" in
       
  1703   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  1704   *) ac_try_echo=$ac_try;;
       
  1705 esac
       
  1706 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
       
  1707 $as_echo "$ac_try_echo"; } >&5
       
  1708   (eval "$ac_link") 2>&5
       
  1709   ac_status=$?
       
  1710   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
       
  1711   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
       
  1712   { { case "(($ac_try" in
       
  1713   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  1714   *) ac_try_echo=$ac_try;;
       
  1715 esac
       
  1716 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
       
  1717 $as_echo "$ac_try_echo"; } >&5
       
  1718   (eval "$ac_try") 2>&5
       
  1719   ac_status=$?
       
  1720   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
       
  1721   test $ac_status = 0; }; }; then :
       
  1722   ac_retval=0
       
  1723 else
       
  1724   $as_echo "$as_me: program exited with status $ac_status" >&5
       
  1725        $as_echo "$as_me: failed program was:" >&5
       
  1726 sed 's/^/| /' conftest.$ac_ext >&5
       
  1727 
       
  1728        ac_retval=$ac_status
       
  1729 fi
       
  1730   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
       
  1731   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
       
  1732   as_fn_set_status $ac_retval
       
  1733 
       
  1734 } # ac_fn_c_try_run
       
  1735 
       
  1736 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
       
  1737 # -------------------------------------------------------
       
  1738 # Tests whether HEADER exists and can be compiled using the include files in
       
  1739 # INCLUDES, setting the cache variable VAR accordingly.
       
  1740 ac_fn_c_check_header_compile ()
       
  1741 {
       
  1742   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
       
  1743   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
       
  1744 $as_echo_n "checking for $2... " >&6; }
       
  1745 if eval "test \"\${$3+set}\"" = set; then :
       
  1746   $as_echo_n "(cached) " >&6
       
  1747 else
       
  1748   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
       
  1749 /* end confdefs.h.  */
       
  1750 $4
       
  1751 #include <$2>
       
  1752 _ACEOF
       
  1753 if ac_fn_c_try_compile "$LINENO"; then :
       
  1754   eval "$3=yes"
       
  1755 else
       
  1756   eval "$3=no"
       
  1757 fi
       
  1758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  1759 fi
       
  1760 eval ac_res=\$$3
       
  1761 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
       
  1762 $as_echo "$ac_res" >&6; }
       
  1763   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
       
  1764 
       
  1765 } # ac_fn_c_check_header_compile
       
  1766 
       
  1767 # ac_fn_cxx_try_compile LINENO
       
  1768 # ----------------------------
       
  1769 # Try to compile conftest.$ac_ext, and return whether this succeeded.
       
  1770 ac_fn_cxx_try_compile ()
       
  1771 {
       
  1772   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
       
  1773   rm -f conftest.$ac_objext
       
  1774   if { { ac_try="$ac_compile"
       
  1775 case "(($ac_try" in
       
  1776   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  1777   *) ac_try_echo=$ac_try;;
       
  1778 esac
       
  1779 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
       
  1780 $as_echo "$ac_try_echo"; } >&5
       
  1781   (eval "$ac_compile") 2>conftest.err
       
  1782   ac_status=$?
       
  1783   if test -s conftest.err; then
       
  1784     grep -v '^ *+' conftest.err >conftest.er1
       
  1785     cat conftest.er1 >&5
       
  1786     mv -f conftest.er1 conftest.err
       
  1787   fi
       
  1788   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
       
  1789   test $ac_status = 0; } && {
       
  1790 	 test -z "$ac_cxx_werror_flag" ||
       
  1791 	 test ! -s conftest.err
       
  1792        } && test -s conftest.$ac_objext; then :
       
  1793   ac_retval=0
       
  1794 else
       
  1795   $as_echo "$as_me: failed program was:" >&5
       
  1796 sed 's/^/| /' conftest.$ac_ext >&5
       
  1797 
       
  1798 	ac_retval=1
       
  1799 fi
       
  1800   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
       
  1801   as_fn_set_status $ac_retval
       
  1802 
       
  1803 } # ac_fn_cxx_try_compile
       
  1804 
       
  1805 # ac_fn_cxx_try_cpp LINENO
       
  1806 # ------------------------
       
  1807 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
       
  1808 ac_fn_cxx_try_cpp ()
       
  1809 {
       
  1810   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
       
  1811   if { { ac_try="$ac_cpp conftest.$ac_ext"
       
  1812 case "(($ac_try" in
       
  1813   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  1814   *) ac_try_echo=$ac_try;;
       
  1815 esac
       
  1816 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
       
  1817 $as_echo "$ac_try_echo"; } >&5
       
  1818   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
       
  1819   ac_status=$?
       
  1820   if test -s conftest.err; then
       
  1821     grep -v '^ *+' conftest.err >conftest.er1
       
  1822     cat conftest.er1 >&5
       
  1823     mv -f conftest.er1 conftest.err
       
  1824   fi
       
  1825   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
       
  1826   test $ac_status = 0; } > conftest.i && {
       
  1827 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
       
  1828 	 test ! -s conftest.err
       
  1829        }; then :
       
  1830   ac_retval=0
       
  1831 else
       
  1832   $as_echo "$as_me: failed program was:" >&5
       
  1833 sed 's/^/| /' conftest.$ac_ext >&5
       
  1834 
       
  1835     ac_retval=1
       
  1836 fi
       
  1837   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
       
  1838   as_fn_set_status $ac_retval
       
  1839 
       
  1840 } # ac_fn_cxx_try_cpp
       
  1841 
       
  1842 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
       
  1843 # ---------------------------------------------------------
       
  1844 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
       
  1845 # the include files in INCLUDES and setting the cache variable VAR
       
  1846 # accordingly.
       
  1847 ac_fn_cxx_check_header_mongrel ()
       
  1848 {
       
  1849   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
       
  1850   if eval "test \"\${$3+set}\"" = set; then :
       
  1851   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
       
  1852 $as_echo_n "checking for $2... " >&6; }
       
  1853 if eval "test \"\${$3+set}\"" = set; then :
       
  1854   $as_echo_n "(cached) " >&6
       
  1855 fi
       
  1856 eval ac_res=\$$3
       
  1857 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
       
  1858 $as_echo "$ac_res" >&6; }
       
  1859 else
       
  1860   # Is the header compilable?
       
  1861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
       
  1862 $as_echo_n "checking $2 usability... " >&6; }
       
  1863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
       
  1864 /* end confdefs.h.  */
       
  1865 $4
       
  1866 #include <$2>
       
  1867 _ACEOF
       
  1868 if ac_fn_cxx_try_compile "$LINENO"; then :
       
  1869   ac_header_compiler=yes
       
  1870 else
       
  1871   ac_header_compiler=no
       
  1872 fi
       
  1873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  1874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
       
  1875 $as_echo "$ac_header_compiler" >&6; }
       
  1876 
       
  1877 # Is the header present?
       
  1878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
       
  1879 $as_echo_n "checking $2 presence... " >&6; }
       
  1880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
       
  1881 /* end confdefs.h.  */
       
  1882 #include <$2>
       
  1883 _ACEOF
       
  1884 if ac_fn_cxx_try_cpp "$LINENO"; then :
       
  1885   ac_header_preproc=yes
       
  1886 else
       
  1887   ac_header_preproc=no
       
  1888 fi
       
  1889 rm -f conftest.err conftest.i conftest.$ac_ext
       
  1890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
       
  1891 $as_echo "$ac_header_preproc" >&6; }
       
  1892 
       
  1893 # So?  What about this header?
       
  1894 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
       
  1895   yes:no: )
       
  1896     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
       
  1897 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
       
  1898     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
       
  1899 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
       
  1900     ;;
       
  1901   no:yes:* )
       
  1902     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
       
  1903 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
       
  1904     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
       
  1905 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
       
  1906     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
       
  1907 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
       
  1908     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
       
  1909 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
       
  1910     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
       
  1911 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
       
  1912     ;;
       
  1913 esac
       
  1914   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
       
  1915 $as_echo_n "checking for $2... " >&6; }
       
  1916 if eval "test \"\${$3+set}\"" = set; then :
       
  1917   $as_echo_n "(cached) " >&6
       
  1918 else
       
  1919   eval "$3=\$ac_header_compiler"
       
  1920 fi
       
  1921 eval ac_res=\$$3
       
  1922 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
       
  1923 $as_echo "$ac_res" >&6; }
       
  1924 fi
       
  1925   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
       
  1926 
       
  1927 } # ac_fn_cxx_check_header_mongrel
       
  1928 
       
  1929 # ac_fn_cxx_try_link LINENO
       
  1930 # -------------------------
       
  1931 # Try to link conftest.$ac_ext, and return whether this succeeded.
       
  1932 ac_fn_cxx_try_link ()
       
  1933 {
       
  1934   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
       
  1935   rm -f conftest.$ac_objext conftest$ac_exeext
       
  1936   if { { ac_try="$ac_link"
       
  1937 case "(($ac_try" in
       
  1938   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  1939   *) ac_try_echo=$ac_try;;
       
  1940 esac
       
  1941 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
       
  1942 $as_echo "$ac_try_echo"; } >&5
       
  1943   (eval "$ac_link") 2>conftest.err
       
  1944   ac_status=$?
       
  1945   if test -s conftest.err; then
       
  1946     grep -v '^ *+' conftest.err >conftest.er1
       
  1947     cat conftest.er1 >&5
       
  1948     mv -f conftest.er1 conftest.err
       
  1949   fi
       
  1950   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
       
  1951   test $ac_status = 0; } && {
       
  1952 	 test -z "$ac_cxx_werror_flag" ||
       
  1953 	 test ! -s conftest.err
       
  1954        } && test -s conftest$ac_exeext && {
       
  1955 	 test "$cross_compiling" = yes ||
       
  1956 	 $as_test_x conftest$ac_exeext
       
  1957        }; then :
       
  1958   ac_retval=0
       
  1959 else
       
  1960   $as_echo "$as_me: failed program was:" >&5
       
  1961 sed 's/^/| /' conftest.$ac_ext >&5
       
  1962 
       
  1963 	ac_retval=1
       
  1964 fi
       
  1965   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
       
  1966   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
       
  1967   # interfere with the next link command; also delete a directory that is
       
  1968   # left behind by Apple's compiler.  We do this before executing the actions.
       
  1969   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
       
  1970   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
       
  1971   as_fn_set_status $ac_retval
       
  1972 
       
  1973 } # ac_fn_cxx_try_link
       
  1974 cat >config.log <<_ACEOF
       
  1975 This file contains any messages produced by compilers while
       
  1976 running configure, to aid debugging if configure makes a mistake.
       
  1977 
       
  1978 It was created by $as_me, which was
       
  1979 generated by GNU Autoconf 2.67.  Invocation command line was
       
  1980 
       
  1981   $ $0 $@
       
  1982 
       
  1983 _ACEOF
       
  1984 exec 5>>config.log
       
  1985 {
       
  1986 cat <<_ASUNAME
       
  1987 ## --------- ##
       
  1988 ## Platform. ##
       
  1989 ## --------- ##
       
  1990 
       
  1991 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
       
  1992 uname -m = `(uname -m) 2>/dev/null || echo unknown`
       
  1993 uname -r = `(uname -r) 2>/dev/null || echo unknown`
       
  1994 uname -s = `(uname -s) 2>/dev/null || echo unknown`
       
  1995 uname -v = `(uname -v) 2>/dev/null || echo unknown`
       
  1996 
       
  1997 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
       
  1998 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
       
  1999 
       
  2000 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
       
  2001 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
       
  2002 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
       
  2003 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
       
  2004 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
       
  2005 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
       
  2006 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
       
  2007 
       
  2008 _ASUNAME
       
  2009 
       
  2010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
  2011 for as_dir in $PATH
       
  2012 do
       
  2013   IFS=$as_save_IFS
       
  2014   test -z "$as_dir" && as_dir=.
       
  2015     $as_echo "PATH: $as_dir"
       
  2016   done
       
  2017 IFS=$as_save_IFS
       
  2018 
       
  2019 } >&5
       
  2020 
       
  2021 cat >&5 <<_ACEOF
       
  2022 
       
  2023 
       
  2024 ## ----------- ##
       
  2025 ## Core tests. ##
       
  2026 ## ----------- ##
       
  2027 
       
  2028 _ACEOF
       
  2029 
       
  2030 
       
  2031 # Keep a trace of the command line.
       
  2032 # Strip out --no-create and --no-recursion so they do not pile up.
       
  2033 # Strip out --silent because we don't want to record it for future runs.
       
  2034 # Also quote any args containing shell meta-characters.
       
  2035 # Make two passes to allow for proper duplicate-argument suppression.
       
  2036 ac_configure_args=
       
  2037 ac_configure_args0=
       
  2038 ac_configure_args1=
       
  2039 ac_must_keep_next=false
       
  2040 for ac_pass in 1 2
       
  2041 do
       
  2042   for ac_arg
       
  2043   do
       
  2044     case $ac_arg in
       
  2045     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
       
  2046     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
       
  2047     | -silent | --silent | --silen | --sile | --sil)
       
  2048       continue ;;
       
  2049     *\'*)
       
  2050       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
       
  2051     esac
       
  2052     case $ac_pass in
       
  2053     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
       
  2054     2)
       
  2055       as_fn_append ac_configure_args1 " '$ac_arg'"
       
  2056       if test $ac_must_keep_next = true; then
       
  2057 	ac_must_keep_next=false # Got value, back to normal.
       
  2058       else
       
  2059 	case $ac_arg in
       
  2060 	  *=* | --config-cache | -C | -disable-* | --disable-* \
       
  2061 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
       
  2062 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
       
  2063 	  | -with-* | --with-* | -without-* | --without-* | --x)
       
  2064 	    case "$ac_configure_args0 " in
       
  2065 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
       
  2066 	    esac
       
  2067 	    ;;
       
  2068 	  -* ) ac_must_keep_next=true ;;
       
  2069 	esac
       
  2070       fi
       
  2071       as_fn_append ac_configure_args " '$ac_arg'"
       
  2072       ;;
       
  2073     esac
       
  2074   done
       
  2075 done
       
  2076 { ac_configure_args0=; unset ac_configure_args0;}
       
  2077 { ac_configure_args1=; unset ac_configure_args1;}
       
  2078 
       
  2079 # When interrupted or exit'd, cleanup temporary files, and complete
       
  2080 # config.log.  We remove comments because anyway the quotes in there
       
  2081 # would cause problems or look ugly.
       
  2082 # WARNING: Use '\'' to represent an apostrophe within the trap.
       
  2083 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
       
  2084 trap 'exit_status=$?
       
  2085   # Save into config.log some information that might help in debugging.
       
  2086   {
       
  2087     echo
       
  2088 
       
  2089     $as_echo "## ---------------- ##
       
  2090 ## Cache variables. ##
       
  2091 ## ---------------- ##"
       
  2092     echo
       
  2093     # The following way of writing the cache mishandles newlines in values,
       
  2094 (
       
  2095   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
       
  2096     eval ac_val=\$$ac_var
       
  2097     case $ac_val in #(
       
  2098     *${as_nl}*)
       
  2099       case $ac_var in #(
       
  2100       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
       
  2101 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
       
  2102       esac
       
  2103       case $ac_var in #(
       
  2104       _ | IFS | as_nl) ;; #(
       
  2105       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
       
  2106       *) { eval $ac_var=; unset $ac_var;} ;;
       
  2107       esac ;;
       
  2108     esac
       
  2109   done
       
  2110   (set) 2>&1 |
       
  2111     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
       
  2112     *${as_nl}ac_space=\ *)
       
  2113       sed -n \
       
  2114 	"s/'\''/'\''\\\\'\'''\''/g;
       
  2115 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
       
  2116       ;; #(
       
  2117     *)
       
  2118       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
       
  2119       ;;
       
  2120     esac |
       
  2121     sort
       
  2122 )
       
  2123     echo
       
  2124 
       
  2125     $as_echo "## ----------------- ##
       
  2126 ## Output variables. ##
       
  2127 ## ----------------- ##"
       
  2128     echo
       
  2129     for ac_var in $ac_subst_vars
       
  2130     do
       
  2131       eval ac_val=\$$ac_var
       
  2132       case $ac_val in
       
  2133       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
       
  2134       esac
       
  2135       $as_echo "$ac_var='\''$ac_val'\''"
       
  2136     done | sort
       
  2137     echo
       
  2138 
       
  2139     if test -n "$ac_subst_files"; then
       
  2140       $as_echo "## ------------------- ##
       
  2141 ## File substitutions. ##
       
  2142 ## ------------------- ##"
       
  2143       echo
       
  2144       for ac_var in $ac_subst_files
       
  2145       do
       
  2146 	eval ac_val=\$$ac_var
       
  2147 	case $ac_val in
       
  2148 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
       
  2149 	esac
       
  2150 	$as_echo "$ac_var='\''$ac_val'\''"
       
  2151       done | sort
       
  2152       echo
       
  2153     fi
       
  2154 
       
  2155     if test -s confdefs.h; then
       
  2156       $as_echo "## ----------- ##
       
  2157 ## confdefs.h. ##
       
  2158 ## ----------- ##"
       
  2159       echo
       
  2160       cat confdefs.h
       
  2161       echo
       
  2162     fi
       
  2163     test "$ac_signal" != 0 &&
       
  2164       $as_echo "$as_me: caught signal $ac_signal"
       
  2165     $as_echo "$as_me: exit $exit_status"
       
  2166   } >&5
       
  2167   rm -f core *.core core.conftest.* &&
       
  2168     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
       
  2169     exit $exit_status
       
  2170 ' 0
       
  2171 for ac_signal in 1 2 13 15; do
       
  2172   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
       
  2173 done
       
  2174 ac_signal=0
       
  2175 
       
  2176 # confdefs.h avoids OS command line length limits that DEFS can exceed.
       
  2177 rm -f -r conftest* confdefs.h
       
  2178 
       
  2179 $as_echo "/* confdefs.h */" > confdefs.h
       
  2180 
       
  2181 # Predefined preprocessor variables.
       
  2182 
       
  2183 cat >>confdefs.h <<_ACEOF
       
  2184 #define PACKAGE_NAME "$PACKAGE_NAME"
       
  2185 _ACEOF
       
  2186 
       
  2187 cat >>confdefs.h <<_ACEOF
       
  2188 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
       
  2189 _ACEOF
       
  2190 
       
  2191 cat >>confdefs.h <<_ACEOF
       
  2192 #define PACKAGE_VERSION "$PACKAGE_VERSION"
       
  2193 _ACEOF
       
  2194 
       
  2195 cat >>confdefs.h <<_ACEOF
       
  2196 #define PACKAGE_STRING "$PACKAGE_STRING"
       
  2197 _ACEOF
       
  2198 
       
  2199 cat >>confdefs.h <<_ACEOF
       
  2200 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
       
  2201 _ACEOF
       
  2202 
       
  2203 cat >>confdefs.h <<_ACEOF
       
  2204 #define PACKAGE_URL "$PACKAGE_URL"
       
  2205 _ACEOF
       
  2206 
       
  2207 
       
  2208 # Let the site file select an alternate cache file if it wants to.
       
  2209 # Prefer an explicitly selected file to automatically selected ones.
       
  2210 ac_site_file1=NONE
       
  2211 ac_site_file2=NONE
       
  2212 if test -n "$CONFIG_SITE"; then
       
  2213   # We do not want a PATH search for config.site.
       
  2214   case $CONFIG_SITE in #((
       
  2215     -*)  ac_site_file1=./$CONFIG_SITE;;
       
  2216     */*) ac_site_file1=$CONFIG_SITE;;
       
  2217     *)   ac_site_file1=./$CONFIG_SITE;;
       
  2218   esac
       
  2219 elif test "x$prefix" != xNONE; then
       
  2220   ac_site_file1=$prefix/share/config.site
       
  2221   ac_site_file2=$prefix/etc/config.site
       
  2222 else
       
  2223   ac_site_file1=$ac_default_prefix/share/config.site
       
  2224   ac_site_file2=$ac_default_prefix/etc/config.site
       
  2225 fi
       
  2226 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
       
  2227 do
       
  2228   test "x$ac_site_file" = xNONE && continue
       
  2229   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
       
  2230     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
       
  2231 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
       
  2232     sed 's/^/| /' "$ac_site_file" >&5
       
  2233     . "$ac_site_file" \
       
  2234       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
       
  2235 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
       
  2236 as_fn_error $? "failed to load site script $ac_site_file
       
  2237 See \`config.log' for more details" "$LINENO" 5 ; }
       
  2238   fi
       
  2239 done
       
  2240 
       
  2241 if test -r "$cache_file"; then
       
  2242   # Some versions of bash will fail to source /dev/null (special files
       
  2243   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
       
  2244   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
       
  2245     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
       
  2246 $as_echo "$as_me: loading cache $cache_file" >&6;}
       
  2247     case $cache_file in
       
  2248       [\\/]* | ?:[\\/]* ) . "$cache_file";;
       
  2249       *)                      . "./$cache_file";;
       
  2250     esac
       
  2251   fi
       
  2252 else
       
  2253   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
       
  2254 $as_echo "$as_me: creating cache $cache_file" >&6;}
       
  2255   >$cache_file
       
  2256 fi
       
  2257 
       
  2258 # Check that the precious variables saved in the cache have kept the same
       
  2259 # value.
       
  2260 ac_cache_corrupted=false
       
  2261 for ac_var in $ac_precious_vars; do
       
  2262   eval ac_old_set=\$ac_cv_env_${ac_var}_set
       
  2263   eval ac_new_set=\$ac_env_${ac_var}_set
       
  2264   eval ac_old_val=\$ac_cv_env_${ac_var}_value
       
  2265   eval ac_new_val=\$ac_env_${ac_var}_value
       
  2266   case $ac_old_set,$ac_new_set in
       
  2267     set,)
       
  2268       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
       
  2269 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
       
  2270       ac_cache_corrupted=: ;;
       
  2271     ,set)
       
  2272       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
       
  2273 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
       
  2274       ac_cache_corrupted=: ;;
       
  2275     ,);;
       
  2276     *)
       
  2277       if test "x$ac_old_val" != "x$ac_new_val"; then
       
  2278 	# differences in whitespace do not lead to failure.
       
  2279 	ac_old_val_w=`echo x $ac_old_val`
       
  2280 	ac_new_val_w=`echo x $ac_new_val`
       
  2281 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
       
  2282 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
       
  2283 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
       
  2284 	  ac_cache_corrupted=:
       
  2285 	else
       
  2286 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
       
  2287 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
       
  2288 	  eval $ac_var=\$ac_old_val
       
  2289 	fi
       
  2290 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
       
  2291 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
       
  2292 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
       
  2293 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
       
  2294       fi;;
       
  2295   esac
       
  2296   # Pass precious variables to config.status.
       
  2297   if test "$ac_new_set" = set; then
       
  2298     case $ac_new_val in
       
  2299     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
       
  2300     *) ac_arg=$ac_var=$ac_new_val ;;
       
  2301     esac
       
  2302     case " $ac_configure_args " in
       
  2303       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
       
  2304       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
       
  2305     esac
       
  2306   fi
       
  2307 done
       
  2308 if $ac_cache_corrupted; then
       
  2309   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
       
  2310 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
       
  2311   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
       
  2312 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
       
  2313   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
       
  2314 fi
       
  2315 ## -------------------- ##
       
  2316 ## Main body of script. ##
       
  2317 ## -------------------- ##
       
  2318 
       
  2319 ac_ext=c
       
  2320 ac_cpp='$CPP $CPPFLAGS'
       
  2321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
       
  2322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
       
  2323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
       
  2324 
       
  2325 
       
  2326 
       
  2327 ac_config_headers="$ac_config_headers dtn-config.h"
       
  2328 
       
  2329 ac_aux_dir=
       
  2330 for ac_dir in tools "$srcdir"/tools; do
       
  2331   if test -f "$ac_dir/install-sh"; then
       
  2332     ac_aux_dir=$ac_dir
       
  2333     ac_install_sh="$ac_aux_dir/install-sh -c"
       
  2334     break
       
  2335   elif test -f "$ac_dir/install.sh"; then
       
  2336     ac_aux_dir=$ac_dir
       
  2337     ac_install_sh="$ac_aux_dir/install.sh -c"
       
  2338     break
       
  2339   elif test -f "$ac_dir/shtool"; then
       
  2340     ac_aux_dir=$ac_dir
       
  2341     ac_install_sh="$ac_aux_dir/shtool install -c"
       
  2342     break
       
  2343   fi
       
  2344 done
       
  2345 if test -z "$ac_aux_dir"; then
       
  2346   as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
       
  2347 fi
       
  2348 
       
  2349 # These three variables are undocumented and unsupported,
       
  2350 # and are intended to be withdrawn in a future Autoconf release.
       
  2351 # They can cause serious problems if a builder's source tree is in a directory
       
  2352 # whose full name contains unusual characters.
       
  2353 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
       
  2354 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
       
  2355 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
       
  2356 
       
  2357 
       
  2358 
       
  2359 
       
  2360 #  Stick a comment in the generated file so people know what to do.
       
  2361 
       
  2362 
       
  2363 
       
  2364 
       
  2365 
       
  2366 $as_echo "#define DTN_CONFIG_STATE 1" >>confdefs.h
       
  2367 
       
  2368 
       
  2369 #  This is handy to re-run configure but use any options you used before.
       
  2370 
       
  2371 # Check whether --with-previous-options was given.
       
  2372 if test "${with_previous_options+set}" = set; then :
       
  2373   withval=$with_previous_options;
       
  2374 if test -r ./config.status &&
       
  2375    args=`sed -n '7s/^# [^ ]* //p' config.status`
       
  2376 then
       
  2377     set -x
       
  2378     exec $0 $args
       
  2379 fi
       
  2380 
       
  2381 fi
       
  2382 
       
  2383 
       
  2384 #  First set srcdir and builddir, calculated above in AC_CONFIG_SRCDIR
       
  2385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking location of source directory" >&5
       
  2386 $as_echo_n "checking location of source directory... " >&6; }
       
  2387 SRCDIR=`(cd $srcdir && pwd)`
       
  2388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"$SRCDIR\"" >&5
       
  2389 $as_echo "\"$SRCDIR\"" >&6; }
       
  2390 
       
  2391 
       
  2392 builddir=`pwd`
       
  2393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking location of build directory" >&5
       
  2394 $as_echo_n "checking location of build directory... " >&6; }
       
  2395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"$builddir\"" >&5
       
  2396 $as_echo "\"$builddir\"" >&6; }
       
  2397 BUILDDIR=$builddir
       
  2398 
       
  2399 
       
  2400 # -------------------------------------------------------------------------
       
  2401 # Arrange to place files in /etc and /var by default, if --prefix is not used
       
  2402 # -------------------------------------------------------------------------
       
  2403 if test "x$prefix" = "xNONE" ; then
       
  2404    # possibly the value was overridden without --prefix being used.
       
  2405    # This is a slightly imperfect test because conceivably someone might
       
  2406    # use something like --sysconfdir=\${prefix}/etc and that will get
       
  2407    # clobbered.
       
  2408    case $sysconfdir in
       
  2409      *[$]*) sysconfdir='/etc' ;;
       
  2410    esac
       
  2411    case $localstatedir in
       
  2412      *[$]*) localstatedir='/var' ;;
       
  2413    esac
       
  2414 fi
       
  2415 
       
  2416 # fully expand the pathnames before they go into the config.h file
       
  2417 oasys_save_prefix=$prefix
       
  2418 test "x$prefix" = "xNONE" && prefix=$ac_default_prefix
       
  2419 eval oasys_conf_dir=`echo $sysconfdir`
       
  2420 
       
  2421 cat >>confdefs.h <<_ACEOF
       
  2422 #define INSTALL_SYSCONFDIR "$oasys_conf_dir"
       
  2423 _ACEOF
       
  2424 
       
  2425 eval oasys_conf_dir=`echo $localstatedir`
       
  2426 
       
  2427 cat >>confdefs.h <<_ACEOF
       
  2428 #define INSTALL_LOCALSTATEDIR "$oasys_conf_dir"
       
  2429 _ACEOF
       
  2430 
       
  2431 prefix=$oasys_save_prefix
       
  2432 
       
  2433 # -------------------------------------------------------------------------
       
  2434 # Configure find oasys
       
  2435 # -------------------------------------------------------------------------
       
  2436 ac_ext=c
       
  2437 ac_cpp='$CPP $CPPFLAGS'
       
  2438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
       
  2439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
       
  2440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
       
  2441 if test -n "$ac_tool_prefix"; then
       
  2442   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
       
  2443 set dummy ${ac_tool_prefix}gcc; ac_word=$2
       
  2444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
       
  2445 $as_echo_n "checking for $ac_word... " >&6; }
       
  2446 if test "${ac_cv_prog_CC+set}" = set; then :
       
  2447   $as_echo_n "(cached) " >&6
       
  2448 else
       
  2449   if test -n "$CC"; then
       
  2450   ac_cv_prog_CC="$CC" # Let the user override the test.
       
  2451 else
       
  2452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
  2453 for as_dir in $PATH
       
  2454 do
       
  2455   IFS=$as_save_IFS
       
  2456   test -z "$as_dir" && as_dir=.
       
  2457     for ac_exec_ext in '' $ac_executable_extensions; do
       
  2458   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
       
  2459     ac_cv_prog_CC="${ac_tool_prefix}gcc"
       
  2460     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
       
  2461     break 2
       
  2462   fi
       
  2463 done
       
  2464   done
       
  2465 IFS=$as_save_IFS
       
  2466 
       
  2467 fi
       
  2468 fi
       
  2469 CC=$ac_cv_prog_CC
       
  2470 if test -n "$CC"; then
       
  2471   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
       
  2472 $as_echo "$CC" >&6; }
       
  2473 else
       
  2474   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
       
  2475 $as_echo "no" >&6; }
       
  2476 fi
       
  2477 
       
  2478 
       
  2479 fi
       
  2480 if test -z "$ac_cv_prog_CC"; then
       
  2481   ac_ct_CC=$CC
       
  2482   # Extract the first word of "gcc", so it can be a program name with args.
       
  2483 set dummy gcc; ac_word=$2
       
  2484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
       
  2485 $as_echo_n "checking for $ac_word... " >&6; }
       
  2486 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
       
  2487   $as_echo_n "(cached) " >&6
       
  2488 else
       
  2489   if test -n "$ac_ct_CC"; then
       
  2490   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
       
  2491 else
       
  2492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
  2493 for as_dir in $PATH
       
  2494 do
       
  2495   IFS=$as_save_IFS
       
  2496   test -z "$as_dir" && as_dir=.
       
  2497     for ac_exec_ext in '' $ac_executable_extensions; do
       
  2498   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
       
  2499     ac_cv_prog_ac_ct_CC="gcc"
       
  2500     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
       
  2501     break 2
       
  2502   fi
       
  2503 done
       
  2504   done
       
  2505 IFS=$as_save_IFS
       
  2506 
       
  2507 fi
       
  2508 fi
       
  2509 ac_ct_CC=$ac_cv_prog_ac_ct_CC
       
  2510 if test -n "$ac_ct_CC"; then
       
  2511   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
       
  2512 $as_echo "$ac_ct_CC" >&6; }
       
  2513 else
       
  2514   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
       
  2515 $as_echo "no" >&6; }
       
  2516 fi
       
  2517 
       
  2518   if test "x$ac_ct_CC" = x; then
       
  2519     CC=""
       
  2520   else
       
  2521     case $cross_compiling:$ac_tool_warned in
       
  2522 yes:)
       
  2523 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
       
  2524 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
       
  2525 ac_tool_warned=yes ;;
       
  2526 esac
       
  2527     CC=$ac_ct_CC
       
  2528   fi
       
  2529 else
       
  2530   CC="$ac_cv_prog_CC"
       
  2531 fi
       
  2532 
       
  2533 if test -z "$CC"; then
       
  2534           if test -n "$ac_tool_prefix"; then
       
  2535     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
       
  2536 set dummy ${ac_tool_prefix}cc; ac_word=$2
       
  2537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
       
  2538 $as_echo_n "checking for $ac_word... " >&6; }
       
  2539 if test "${ac_cv_prog_CC+set}" = set; then :
       
  2540   $as_echo_n "(cached) " >&6
       
  2541 else
       
  2542   if test -n "$CC"; then
       
  2543   ac_cv_prog_CC="$CC" # Let the user override the test.
       
  2544 else
       
  2545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
  2546 for as_dir in $PATH
       
  2547 do
       
  2548   IFS=$as_save_IFS
       
  2549   test -z "$as_dir" && as_dir=.
       
  2550     for ac_exec_ext in '' $ac_executable_extensions; do
       
  2551   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
       
  2552     ac_cv_prog_CC="${ac_tool_prefix}cc"
       
  2553     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
       
  2554     break 2
       
  2555   fi
       
  2556 done
       
  2557   done
       
  2558 IFS=$as_save_IFS
       
  2559 
       
  2560 fi
       
  2561 fi
       
  2562 CC=$ac_cv_prog_CC
       
  2563 if test -n "$CC"; then
       
  2564   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
       
  2565 $as_echo "$CC" >&6; }
       
  2566 else
       
  2567   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
       
  2568 $as_echo "no" >&6; }
       
  2569 fi
       
  2570 
       
  2571 
       
  2572   fi
       
  2573 fi
       
  2574 if test -z "$CC"; then
       
  2575   # Extract the first word of "cc", so it can be a program name with args.
       
  2576 set dummy cc; ac_word=$2
       
  2577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
       
  2578 $as_echo_n "checking for $ac_word... " >&6; }
       
  2579 if test "${ac_cv_prog_CC+set}" = set; then :
       
  2580   $as_echo_n "(cached) " >&6
       
  2581 else
       
  2582   if test -n "$CC"; then
       
  2583   ac_cv_prog_CC="$CC" # Let the user override the test.
       
  2584 else
       
  2585   ac_prog_rejected=no
       
  2586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
  2587 for as_dir in $PATH
       
  2588 do
       
  2589   IFS=$as_save_IFS
       
  2590   test -z "$as_dir" && as_dir=.
       
  2591     for ac_exec_ext in '' $ac_executable_extensions; do
       
  2592   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
       
  2593     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
       
  2594        ac_prog_rejected=yes
       
  2595        continue
       
  2596      fi
       
  2597     ac_cv_prog_CC="cc"
       
  2598     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
       
  2599     break 2
       
  2600   fi
       
  2601 done
       
  2602   done
       
  2603 IFS=$as_save_IFS
       
  2604 
       
  2605 if test $ac_prog_rejected = yes; then
       
  2606   # We found a bogon in the path, so make sure we never use it.
       
  2607   set dummy $ac_cv_prog_CC
       
  2608   shift
       
  2609   if test $# != 0; then
       
  2610     # We chose a different compiler from the bogus one.
       
  2611     # However, it has the same basename, so the bogon will be chosen
       
  2612     # first if we set CC to just the basename; use the full file name.
       
  2613     shift
       
  2614     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
       
  2615   fi
       
  2616 fi
       
  2617 fi
       
  2618 fi
       
  2619 CC=$ac_cv_prog_CC
       
  2620 if test -n "$CC"; then
       
  2621   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
       
  2622 $as_echo "$CC" >&6; }
       
  2623 else
       
  2624   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
       
  2625 $as_echo "no" >&6; }
       
  2626 fi
       
  2627 
       
  2628 
       
  2629 fi
       
  2630 if test -z "$CC"; then
       
  2631   if test -n "$ac_tool_prefix"; then
       
  2632   for ac_prog in cl.exe
       
  2633   do
       
  2634     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
       
  2635 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
       
  2636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
       
  2637 $as_echo_n "checking for $ac_word... " >&6; }
       
  2638 if test "${ac_cv_prog_CC+set}" = set; then :
       
  2639   $as_echo_n "(cached) " >&6
       
  2640 else
       
  2641   if test -n "$CC"; then
       
  2642   ac_cv_prog_CC="$CC" # Let the user override the test.
       
  2643 else
       
  2644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
  2645 for as_dir in $PATH
       
  2646 do
       
  2647   IFS=$as_save_IFS
       
  2648   test -z "$as_dir" && as_dir=.
       
  2649     for ac_exec_ext in '' $ac_executable_extensions; do
       
  2650   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
       
  2651     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
       
  2652     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
       
  2653     break 2
       
  2654   fi
       
  2655 done
       
  2656   done
       
  2657 IFS=$as_save_IFS
       
  2658 
       
  2659 fi
       
  2660 fi
       
  2661 CC=$ac_cv_prog_CC
       
  2662 if test -n "$CC"; then
       
  2663   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
       
  2664 $as_echo "$CC" >&6; }
       
  2665 else
       
  2666   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
       
  2667 $as_echo "no" >&6; }
       
  2668 fi
       
  2669 
       
  2670 
       
  2671     test -n "$CC" && break
       
  2672   done
       
  2673 fi
       
  2674 if test -z "$CC"; then
       
  2675   ac_ct_CC=$CC
       
  2676   for ac_prog in cl.exe
       
  2677 do
       
  2678   # Extract the first word of "$ac_prog", so it can be a program name with args.
       
  2679 set dummy $ac_prog; ac_word=$2
       
  2680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
       
  2681 $as_echo_n "checking for $ac_word... " >&6; }
       
  2682 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
       
  2683   $as_echo_n "(cached) " >&6
       
  2684 else
       
  2685   if test -n "$ac_ct_CC"; then
       
  2686   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
       
  2687 else
       
  2688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
  2689 for as_dir in $PATH
       
  2690 do
       
  2691   IFS=$as_save_IFS
       
  2692   test -z "$as_dir" && as_dir=.
       
  2693     for ac_exec_ext in '' $ac_executable_extensions; do
       
  2694   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
       
  2695     ac_cv_prog_ac_ct_CC="$ac_prog"
       
  2696     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
       
  2697     break 2
       
  2698   fi
       
  2699 done
       
  2700   done
       
  2701 IFS=$as_save_IFS
       
  2702 
       
  2703 fi
       
  2704 fi
       
  2705 ac_ct_CC=$ac_cv_prog_ac_ct_CC
       
  2706 if test -n "$ac_ct_CC"; then
       
  2707   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
       
  2708 $as_echo "$ac_ct_CC" >&6; }
       
  2709 else
       
  2710   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
       
  2711 $as_echo "no" >&6; }
       
  2712 fi
       
  2713 
       
  2714 
       
  2715   test -n "$ac_ct_CC" && break
       
  2716 done
       
  2717 
       
  2718   if test "x$ac_ct_CC" = x; then
       
  2719     CC=""
       
  2720   else
       
  2721     case $cross_compiling:$ac_tool_warned in
       
  2722 yes:)
       
  2723 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
       
  2724 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
       
  2725 ac_tool_warned=yes ;;
       
  2726 esac
       
  2727     CC=$ac_ct_CC
       
  2728   fi
       
  2729 fi
       
  2730 
       
  2731 fi
       
  2732 
       
  2733 
       
  2734 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
       
  2735 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
       
  2736 as_fn_error $? "no acceptable C compiler found in \$PATH
       
  2737 See \`config.log' for more details" "$LINENO" 5 ; }
       
  2738 
       
  2739 # Provide some information about the compiler.
       
  2740 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
       
  2741 set X $ac_compile
       
  2742 ac_compiler=$2
       
  2743 for ac_option in --version -v -V -qversion; do
       
  2744   { { ac_try="$ac_compiler $ac_option >&5"
       
  2745 case "(($ac_try" in
       
  2746   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  2747   *) ac_try_echo=$ac_try;;
       
  2748 esac
       
  2749 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
       
  2750 $as_echo "$ac_try_echo"; } >&5
       
  2751   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
       
  2752   ac_status=$?
       
  2753   if test -s conftest.err; then
       
  2754     sed '10a\
       
  2755 ... rest of stderr output deleted ...
       
  2756          10q' conftest.err >conftest.er1
       
  2757     cat conftest.er1 >&5
       
  2758   fi
       
  2759   rm -f conftest.er1 conftest.err
       
  2760   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
       
  2761   test $ac_status = 0; }
       
  2762 done
       
  2763 
       
  2764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
       
  2765 /* end confdefs.h.  */
       
  2766 
       
  2767 int
       
  2768 main ()
       
  2769 {
       
  2770 
       
  2771   ;
       
  2772   return 0;
       
  2773 }
       
  2774 _ACEOF
       
  2775 ac_clean_files_save=$ac_clean_files
       
  2776 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
       
  2777 # Try to create an executable without -o first, disregard a.out.
       
  2778 # It will help us diagnose broken compilers, and finding out an intuition
       
  2779 # of exeext.
       
  2780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
       
  2781 $as_echo_n "checking whether the C compiler works... " >&6; }
       
  2782 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
       
  2783 
       
  2784 # The possible output files:
       
  2785 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
       
  2786 
       
  2787 ac_rmfiles=
       
  2788 for ac_file in $ac_files
       
  2789 do
       
  2790   case $ac_file in
       
  2791     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
       
  2792     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
       
  2793   esac
       
  2794 done
       
  2795 rm -f $ac_rmfiles
       
  2796 
       
  2797 if { { ac_try="$ac_link_default"
       
  2798 case "(($ac_try" in
       
  2799   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  2800   *) ac_try_echo=$ac_try;;
       
  2801 esac
       
  2802 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
       
  2803 $as_echo "$ac_try_echo"; } >&5
       
  2804   (eval "$ac_link_default") 2>&5
       
  2805   ac_status=$?
       
  2806   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
       
  2807   test $ac_status = 0; }; then :
       
  2808   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
       
  2809 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
       
  2810 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
       
  2811 # so that the user can short-circuit this test for compilers unknown to
       
  2812 # Autoconf.
       
  2813 for ac_file in $ac_files ''
       
  2814 do
       
  2815   test -f "$ac_file" || continue
       
  2816   case $ac_file in
       
  2817     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
       
  2818 	;;
       
  2819     [ab].out )
       
  2820 	# We found the default executable, but exeext='' is most
       
  2821 	# certainly right.
       
  2822 	break;;
       
  2823     *.* )
       
  2824 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
       
  2825 	then :; else
       
  2826 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
       
  2827 	fi
       
  2828 	# We set ac_cv_exeext here because the later test for it is not
       
  2829 	# safe: cross compilers may not add the suffix if given an `-o'
       
  2830 	# argument, so we may need to know it at that point already.
       
  2831 	# Even if this section looks crufty: it has the advantage of
       
  2832 	# actually working.
       
  2833 	break;;
       
  2834     * )
       
  2835 	break;;
       
  2836   esac
       
  2837 done
       
  2838 test "$ac_cv_exeext" = no && ac_cv_exeext=
       
  2839 
       
  2840 else
       
  2841   ac_file=''
       
  2842 fi
       
  2843 if test -z "$ac_file"; then :
       
  2844   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
       
  2845 $as_echo "no" >&6; }
       
  2846 $as_echo "$as_me: failed program was:" >&5
       
  2847 sed 's/^/| /' conftest.$ac_ext >&5
       
  2848 
       
  2849 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
       
  2850 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
       
  2851 as_fn_error 77 "C compiler cannot create executables
       
  2852 See \`config.log' for more details" "$LINENO" 5 ; }
       
  2853 else
       
  2854   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
       
  2855 $as_echo "yes" >&6; }
       
  2856 fi
       
  2857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
       
  2858 $as_echo_n "checking for C compiler default output file name... " >&6; }
       
  2859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
       
  2860 $as_echo "$ac_file" >&6; }
       
  2861 ac_exeext=$ac_cv_exeext
       
  2862 
       
  2863 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
       
  2864 ac_clean_files=$ac_clean_files_save
       
  2865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
       
  2866 $as_echo_n "checking for suffix of executables... " >&6; }
       
  2867 if { { ac_try="$ac_link"
       
  2868 case "(($ac_try" in
       
  2869   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  2870   *) ac_try_echo=$ac_try;;
       
  2871 esac
       
  2872 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
       
  2873 $as_echo "$ac_try_echo"; } >&5
       
  2874   (eval "$ac_link") 2>&5
       
  2875   ac_status=$?
       
  2876   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
       
  2877   test $ac_status = 0; }; then :
       
  2878   # If both `conftest.exe' and `conftest' are `present' (well, observable)
       
  2879 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
       
  2880 # work properly (i.e., refer to `conftest.exe'), while it won't with
       
  2881 # `rm'.
       
  2882 for ac_file in conftest.exe conftest conftest.*; do
       
  2883   test -f "$ac_file" || continue
       
  2884   case $ac_file in
       
  2885     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
       
  2886     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
       
  2887 	  break;;
       
  2888     * ) break;;
       
  2889   esac
       
  2890 done
       
  2891 else
       
  2892   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
       
  2893 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
       
  2894 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
       
  2895 See \`config.log' for more details" "$LINENO" 5 ; }
       
  2896 fi
       
  2897 rm -f conftest conftest$ac_cv_exeext
       
  2898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
       
  2899 $as_echo "$ac_cv_exeext" >&6; }
       
  2900 
       
  2901 rm -f conftest.$ac_ext
       
  2902 EXEEXT=$ac_cv_exeext
       
  2903 ac_exeext=$EXEEXT
       
  2904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
       
  2905 /* end confdefs.h.  */
       
  2906 #include <stdio.h>
       
  2907 int
       
  2908 main ()
       
  2909 {
       
  2910 FILE *f = fopen ("conftest.out", "w");
       
  2911  return ferror (f) || fclose (f) != 0;
       
  2912 
       
  2913   ;
       
  2914   return 0;
       
  2915 }
       
  2916 _ACEOF
       
  2917 ac_clean_files="$ac_clean_files conftest.out"
       
  2918 # Check that the compiler produces executables we can run.  If not, either
       
  2919 # the compiler is broken, or we cross compile.
       
  2920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
       
  2921 $as_echo_n "checking whether we are cross compiling... " >&6; }
       
  2922 if test "$cross_compiling" != yes; then
       
  2923   { { ac_try="$ac_link"
       
  2924 case "(($ac_try" in
       
  2925   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  2926   *) ac_try_echo=$ac_try;;
       
  2927 esac
       
  2928 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
       
  2929 $as_echo "$ac_try_echo"; } >&5
       
  2930   (eval "$ac_link") 2>&5
       
  2931   ac_status=$?
       
  2932   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
       
  2933   test $ac_status = 0; }
       
  2934   if { ac_try='./conftest$ac_cv_exeext'
       
  2935   { { case "(($ac_try" in
       
  2936   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  2937   *) ac_try_echo=$ac_try;;
       
  2938 esac
       
  2939 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
       
  2940 $as_echo "$ac_try_echo"; } >&5
       
  2941   (eval "$ac_try") 2>&5
       
  2942   ac_status=$?
       
  2943   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
       
  2944   test $ac_status = 0; }; }; then
       
  2945     cross_compiling=no
       
  2946   else
       
  2947     if test "$cross_compiling" = maybe; then
       
  2948 	cross_compiling=yes
       
  2949     else
       
  2950 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
       
  2951 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
       
  2952 as_fn_error $? "cannot run C compiled programs.
       
  2953 If you meant to cross compile, use \`--host'.
       
  2954 See \`config.log' for more details" "$LINENO" 5 ; }
       
  2955     fi
       
  2956   fi
       
  2957 fi
       
  2958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
       
  2959 $as_echo "$cross_compiling" >&6; }
       
  2960 
       
  2961 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
       
  2962 ac_clean_files=$ac_clean_files_save
       
  2963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
       
  2964 $as_echo_n "checking for suffix of object files... " >&6; }
       
  2965 if test "${ac_cv_objext+set}" = set; then :
       
  2966   $as_echo_n "(cached) " >&6
       
  2967 else
       
  2968   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
       
  2969 /* end confdefs.h.  */
       
  2970 
       
  2971 int
       
  2972 main ()
       
  2973 {
       
  2974 
       
  2975   ;
       
  2976   return 0;
       
  2977 }
       
  2978 _ACEOF
       
  2979 rm -f conftest.o conftest.obj
       
  2980 if { { ac_try="$ac_compile"
       
  2981 case "(($ac_try" in
       
  2982   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  2983   *) ac_try_echo=$ac_try;;
       
  2984 esac
       
  2985 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
       
  2986 $as_echo "$ac_try_echo"; } >&5
       
  2987   (eval "$ac_compile") 2>&5
       
  2988   ac_status=$?
       
  2989   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
       
  2990   test $ac_status = 0; }; then :
       
  2991   for ac_file in conftest.o conftest.obj conftest.*; do
       
  2992   test -f "$ac_file" || continue;
       
  2993   case $ac_file in
       
  2994     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
       
  2995     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
       
  2996        break;;
       
  2997   esac
       
  2998 done
       
  2999 else
       
  3000   $as_echo "$as_me: failed program was:" >&5
       
  3001 sed 's/^/| /' conftest.$ac_ext >&5
       
  3002 
       
  3003 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
       
  3004 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
       
  3005 as_fn_error $? "cannot compute suffix of object files: cannot compile
       
  3006 See \`config.log' for more details" "$LINENO" 5 ; }
       
  3007 fi
       
  3008 rm -f conftest.$ac_cv_objext conftest.$ac_ext
       
  3009 fi
       
  3010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
       
  3011 $as_echo "$ac_cv_objext" >&6; }
       
  3012 OBJEXT=$ac_cv_objext
       
  3013 ac_objext=$OBJEXT
       
  3014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
       
  3015 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
       
  3016 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
       
  3017   $as_echo_n "(cached) " >&6
       
  3018 else
       
  3019   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
       
  3020 /* end confdefs.h.  */
       
  3021 
       
  3022 int
       
  3023 main ()
       
  3024 {
       
  3025 #ifndef __GNUC__
       
  3026        choke me
       
  3027 #endif
       
  3028 
       
  3029   ;
       
  3030   return 0;
       
  3031 }
       
  3032 _ACEOF
       
  3033 if ac_fn_c_try_compile "$LINENO"; then :
       
  3034   ac_compiler_gnu=yes
       
  3035 else
       
  3036   ac_compiler_gnu=no
       
  3037 fi
       
  3038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  3039 ac_cv_c_compiler_gnu=$ac_compiler_gnu
       
  3040 
       
  3041 fi
       
  3042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
       
  3043 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
       
  3044 if test $ac_compiler_gnu = yes; then
       
  3045   GCC=yes
       
  3046 else
       
  3047   GCC=
       
  3048 fi
       
  3049 ac_test_CFLAGS=${CFLAGS+set}
       
  3050 ac_save_CFLAGS=$CFLAGS
       
  3051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
       
  3052 $as_echo_n "checking whether $CC accepts -g... " >&6; }
       
  3053 if test "${ac_cv_prog_cc_g+set}" = set; then :
       
  3054   $as_echo_n "(cached) " >&6
       
  3055 else
       
  3056   ac_save_c_werror_flag=$ac_c_werror_flag
       
  3057    ac_c_werror_flag=yes
       
  3058    ac_cv_prog_cc_g=no
       
  3059    CFLAGS="-g"
       
  3060    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
       
  3061 /* end confdefs.h.  */
       
  3062 
       
  3063 int
       
  3064 main ()
       
  3065 {
       
  3066 
       
  3067   ;
       
  3068   return 0;
       
  3069 }
       
  3070 _ACEOF
       
  3071 if ac_fn_c_try_compile "$LINENO"; then :
       
  3072   ac_cv_prog_cc_g=yes
       
  3073 else
       
  3074   CFLAGS=""
       
  3075       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
       
  3076 /* end confdefs.h.  */
       
  3077 
       
  3078 int
       
  3079 main ()
       
  3080 {
       
  3081 
       
  3082   ;
       
  3083   return 0;
       
  3084 }
       
  3085 _ACEOF
       
  3086 if ac_fn_c_try_compile "$LINENO"; then :
       
  3087 
       
  3088 else
       
  3089   ac_c_werror_flag=$ac_save_c_werror_flag
       
  3090 	 CFLAGS="-g"
       
  3091 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
       
  3092 /* end confdefs.h.  */
       
  3093 
       
  3094 int
       
  3095 main ()
       
  3096 {
       
  3097 
       
  3098   ;
       
  3099   return 0;
       
  3100 }
       
  3101 _ACEOF
       
  3102 if ac_fn_c_try_compile "$LINENO"; then :
       
  3103   ac_cv_prog_cc_g=yes
       
  3104 fi
       
  3105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  3106 fi
       
  3107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  3108 fi
       
  3109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  3110    ac_c_werror_flag=$ac_save_c_werror_flag
       
  3111 fi
       
  3112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
       
  3113 $as_echo "$ac_cv_prog_cc_g" >&6; }
       
  3114 if test "$ac_test_CFLAGS" = set; then
       
  3115   CFLAGS=$ac_save_CFLAGS
       
  3116 elif test $ac_cv_prog_cc_g = yes; then
       
  3117   if test "$GCC" = yes; then
       
  3118     CFLAGS="-g -O2"
       
  3119   else
       
  3120     CFLAGS="-g"
       
  3121   fi
       
  3122 else
       
  3123   if test "$GCC" = yes; then
       
  3124     CFLAGS="-O2"
       
  3125   else
       
  3126     CFLAGS=
       
  3127   fi
       
  3128 fi
       
  3129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
       
  3130 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
       
  3131 if test "${ac_cv_prog_cc_c89+set}" = set; then :
       
  3132   $as_echo_n "(cached) " >&6
       
  3133 else
       
  3134   ac_cv_prog_cc_c89=no
       
  3135 ac_save_CC=$CC
       
  3136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
       
  3137 /* end confdefs.h.  */
       
  3138 #include <stdarg.h>
       
  3139 #include <stdio.h>
       
  3140 #include <sys/types.h>
       
  3141 #include <sys/stat.h>
       
  3142 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
       
  3143 struct buf { int x; };
       
  3144 FILE * (*rcsopen) (struct buf *, struct stat *, int);
       
  3145 static char *e (p, i)
       
  3146      char **p;
       
  3147      int i;
       
  3148 {
       
  3149   return p[i];
       
  3150 }
       
  3151 static char *f (char * (*g) (char **, int), char **p, ...)
       
  3152 {
       
  3153   char *s;
       
  3154   va_list v;
       
  3155   va_start (v,p);
       
  3156   s = g (p, va_arg (v,int));
       
  3157   va_end (v);
       
  3158   return s;
       
  3159 }
       
  3160 
       
  3161 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
       
  3162    function prototypes and stuff, but not '\xHH' hex character constants.
       
  3163    These don't provoke an error unfortunately, instead are silently treated
       
  3164    as 'x'.  The following induces an error, until -std is added to get
       
  3165    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
       
  3166    array size at least.  It's necessary to write '\x00'==0 to get something
       
  3167    that's true only with -std.  */
       
  3168 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
       
  3169 
       
  3170 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
       
  3171    inside strings and character constants.  */
       
  3172 #define FOO(x) 'x'
       
  3173 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
       
  3174 
       
  3175 int test (int i, double x);
       
  3176 struct s1 {int (*f) (int a);};
       
  3177 struct s2 {int (*f) (double a);};
       
  3178 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
       
  3179 int argc;
       
  3180 char **argv;
       
  3181 int
       
  3182 main ()
       
  3183 {
       
  3184 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
       
  3185   ;
       
  3186   return 0;
       
  3187 }
       
  3188 _ACEOF
       
  3189 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
       
  3190 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
       
  3191 do
       
  3192   CC="$ac_save_CC $ac_arg"
       
  3193   if ac_fn_c_try_compile "$LINENO"; then :
       
  3194   ac_cv_prog_cc_c89=$ac_arg
       
  3195 fi
       
  3196 rm -f core conftest.err conftest.$ac_objext
       
  3197   test "x$ac_cv_prog_cc_c89" != "xno" && break
       
  3198 done
       
  3199 rm -f conftest.$ac_ext
       
  3200 CC=$ac_save_CC
       
  3201 
       
  3202 fi
       
  3203 # AC_CACHE_VAL
       
  3204 case "x$ac_cv_prog_cc_c89" in
       
  3205   x)
       
  3206     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
       
  3207 $as_echo "none needed" >&6; } ;;
       
  3208   xno)
       
  3209     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
       
  3210 $as_echo "unsupported" >&6; } ;;
       
  3211   *)
       
  3212     CC="$CC $ac_cv_prog_cc_c89"
       
  3213     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
       
  3214 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
       
  3215 esac
       
  3216 if test "x$ac_cv_prog_cc_c89" != xno; then :
       
  3217 
       
  3218 fi
       
  3219 
       
  3220 ac_ext=c
       
  3221 ac_cpp='$CPP $CPPFLAGS'
       
  3222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
       
  3223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
       
  3224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
       
  3225 
       
  3226 
       
  3227 
       
  3228     rm -rf oasys
       
  3229 
       
  3230     ac_oasysver_major=1
       
  3231     ac_oasysver_minor=3
       
  3232     ac_oasysdir_ver_base="oasys-$ac_oasysver_major.$ac_oasysver_minor"
       
  3233     ac_oasysdir=
       
  3234 
       
  3235 
       
  3236 # Check whether --with-oasys was given.
       
  3237 if test "${with_oasys+set}" = set; then :
       
  3238   withval=$with_oasys; ac_oasysdir=$withval
       
  3239 fi
       
  3240 
       
  3241 
       
  3242     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an oasys installation (version $ac_oasysver_major.$ac_oasysver_minor or better)" >&5
       
  3243 $as_echo_n "checking for an oasys installation (version $ac_oasysver_major.$ac_oasysver_minor or better)... " >&6; }
       
  3244 
       
  3245     ac_oasysdir_ver=`find .. -maxdepth 1 -type d -name $ac_oasysdir_ver_base.* | tail -1`
       
  3246     if test "$ac_oasysdir" = "" ; then
       
  3247 	if test -d "$ac_oasysdir_ver" ; then
       
  3248 	    ac_oasysdir=$ac_oasysdir_ver
       
  3249 	elif test -d ../oasys ; then
       
  3250 	    ac_oasysdir=../oasys
       
  3251 
       
  3252 	else
       
  3253 	    ac_oasysdir=/usr
       
  3254 	    # Set the oasys paths properly. OASYS_INCDIR points to the parent
       
  3255 	    # directory containing the oasys header files or the source
       
  3256 	    # directory itself with a symlink (include/oasys -> .),
       
  3257 	    # OASYS_LIBDIR points to the directory where the libraries are.
       
  3258 	    # OASYS_ETCDIR points to where the various scripts are.
       
  3259 	    #
       
  3260 	    OASYS_INCDIR="$ac_oasysdir/include"
       
  3261 	    OASYS_LIBDIR="$ac_oasysdir/lib"
       
  3262 	    OASYS_ETCDIR="$ac_oasysdir/share/oasys"
       
  3263 	fi
       
  3264     	if test -d oasys ; then
       
  3265 	    	rm -rf oasys
       
  3266 	fi
       
  3267 	    mkdir oasys oasys/include
       
  3268 	    OASYS_INCDIR="oasys/include"
       
  3269 	    OASYS_LIBDIR="oasys/lib"
       
  3270 	    OASYS_ETCDIR="oasys/share"
       
  3271 	    ln -s ../../$ac_oasysdir $OASYS_INCDIR
       
  3272 	    ln -s ../$ac_oasysdir/lib $OASYS_LIBDIR
       
  3273 	    ln -s ../$ac_oasysdir $OASYS_ETCDIR
       
  3274     fi
       
  3275 
       
  3276     #
       
  3277     if test ! -d $OASYS_INCDIR ; then echo ""
       
  3278 
       
  3279 cat <<EOF
       
  3280 
       
  3281 Configure error finding oasys.
       
  3282 
       
  3283 This script first looks for an oasys installation in the same location
       
  3284 as the tool that is using the oasys library (where this configure
       
  3285 script is run from). In other words, it first tries ../oasys.
       
  3286 
       
  3287 If ../oasys does not exist, it looks for an oasys installation in
       
  3288 /usr. If that is not found, you need to specify the location of oasys
       
  3289 using the --with-oasys argument to configure.
       
  3290 
       
  3291 If problems still exist, then look in the config.log to see exactly
       
  3292 what the failing command was.
       
  3293 
       
  3294 Download oasys-$ac_oasysver_major.$ac_oasysver_minor (or later)
       
  3295 from http://dtn.hg.sourceforge.net/hgweb/dtn/oasys to $ac_oasysdir.
       
  3296 You will then probably have to run ./configure and make
       
  3297 in the oasys code tree in order to be able to compile DTN2
       
  3298 
       
  3299 EOF
       
  3300 
       
  3301 
       
  3302     as_fn_error $? "nonexistent oasys include directory $OASYS_INCDIR" "$LINENO" 5
       
  3303     fi
       
  3304 
       
  3305     if test ! -d $OASYS_LIBDIR ; then echo ""
       
  3306 
       
  3307 cat <<EOF
       
  3308 
       
  3309 Configure error finding oasys.
       
  3310 
       
  3311 This script first looks for an oasys installation in the same location
       
  3312 as the tool that is using the oasys library (where this configure
       
  3313 script is run from). In other words, it first tries ../oasys.
       
  3314 
       
  3315 If ../oasys does not exist, it looks for an oasys installation in
       
  3316 /usr. If that is not found, you need to specify the location of oasys
       
  3317 using the --with-oasys argument to configure.
       
  3318 
       
  3319 If problems still exist, then look in the config.log to see exactly
       
  3320 what the failing command was.
       
  3321 
       
  3322 Download oasys-$ac_oasysver_major.$ac_oasysver_minor (or later)
       
  3323 from http://dtn.hg.sourceforge.net/hgweb/dtn/oasys to $ac_oasysdir.
       
  3324 You will then probably have to run ./configure and make
       
  3325 in the oasys code tree in order to be able to compile DTN2
       
  3326 
       
  3327 EOF
       
  3328 
       
  3329 
       
  3330     as_fn_error $? "nonexistent oasys library directory $OASYS_LIBDIR" "$LINENO" 5
       
  3331     fi
       
  3332 
       
  3333     if test ! -d $OASYS_ETCDIR ; then echo ""
       
  3334 
       
  3335 cat <<EOF
       
  3336 
       
  3337 Configure error finding oasys.
       
  3338 
       
  3339 This script first looks for an oasys installation in the same location
       
  3340 as the tool that is using the oasys library (where this configure
       
  3341 script is run from). In other words, it first tries ../oasys.
       
  3342 
       
  3343 If ../oasys does not exist, it looks for an oasys installation in
       
  3344 /usr. If that is not found, you need to specify the location of oasys
       
  3345 using the --with-oasys argument to configure.
       
  3346 
       
  3347 If problems still exist, then look in the config.log to see exactly
       
  3348 what the failing command was.
       
  3349 
       
  3350 Download oasys-$ac_oasysver_major.$ac_oasysver_minor (or later)
       
  3351 from http://dtn.hg.sourceforge.net/hgweb/dtn/oasys to $ac_oasysdir.
       
  3352 You will then probably have to run ./configure and make
       
  3353 in the oasys code tree in order to be able to compile DTN2
       
  3354 
       
  3355 EOF
       
  3356 
       
  3357 
       
  3358     as_fn_error $? "nonexistent oasys tools directory $OASYS_ETCDIR" "$LINENO" 5
       
  3359     fi
       
  3360 
       
  3361     if test "$ac_oasysver_major" = "" ; then
       
  3362        ac_oasysver_major=1
       
  3363     fi
       
  3364 
       
  3365     if test "$ac_oasysver_minor" = "" ; then
       
  3366        ac_oasysver_minor=1
       
  3367     fi
       
  3368 
       
  3369 
       
  3370     #
       
  3371     # XXX/demmer is there a better way to make the paths absolute??
       
  3372     #
       
  3373     OASYS_INCDIR=`cd $OASYS_INCDIR && pwd`
       
  3374     OASYS_LIBDIR=`cd $OASYS_LIBDIR && pwd`
       
  3375     OASYS_ETCDIR=`cd $OASYS_ETCDIR && pwd`
       
  3376 
       
  3377     OASYS_VERSION=`$OASYS_ETCDIR/tools/extract-version $OASYS_ETCDIR/oasys-version.dat version`
       
  3378 
       
  3379     #
       
  3380     # By default, oasys apps link statically to make it easier when
       
  3381     # linking with a source directory, and for building the test apps
       
  3382     # that are part of the library itself.
       
  3383     #
       
  3384     OASYS_LDFLAGS_STATIC="$OASYS_LIBDIR/liboasys-$OASYS_VERSION.a"
       
  3385 
       
  3386     if test -f $OASYS_LIBDIR/liboasys-$OASYS_VERSION.a ; then
       
  3387 	OASYS_LDFLAGS="$OASYS_LIBDIR/liboasys-$OASYS_VERSION.a"
       
  3388 	OASYS_COMPAT_LDFLAGS="$OASYS_LIBDIR/liboasyscompat-$OASYS_VERSION.a"
       
  3389 
       
  3390     elif test "$ac_oasysdir" = /usr ; then
       
  3391 	OASYS_LDFLAGS="-loasys-$OASYS_VERSION"
       
  3392 	OASYS_COMPAT_LDFLAGS="-loasyscompat-$OASYS_VERSION"
       
  3393 
       
  3394     else
       
  3395 	OASYS_LDFLAGS="-L$OASYS_LIBDIR -loasys-$OASYS_VERSION"
       
  3396 	OASYS_COMPAT_LDFLAGS="-L$OASYS_LIBDIR -loasyscompat-$OASYS_VERSION"
       
  3397     fi
       
  3398 
       
  3399 
       
  3400 
       
  3401 
       
  3402 
       
  3403 
       
  3404 
       
  3405 
       
  3406 
       
  3407 
       
  3408 
       
  3409 
       
  3410 
       
  3411 
       
  3412 
       
  3413 
       
  3414     #
       
  3415     # Check the settings to make sure that we can build a program.
       
  3416     #
       
  3417     ac_save_CFLAGS=$CFLAGS
       
  3418     CFLAGS="$CFLAGS -I$OASYS_INCDIR"
       
  3419 
       
  3420     ac_save_LDFLAGS=$LDFLAGS
       
  3421     LDFLAGS="$LDFLAGS $OASYS_LDFLAGS"
       
  3422     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
       
  3423 /* end confdefs.h.  */
       
  3424 
       
  3425 	#include <oasys/oasys-version.h>
       
  3426 	#if (OASYS_VERSION_MAJOR != ${ac_oasysver_major}) || \
       
  3427             (OASYS_VERSION_MINOR <  ${ac_oasysver_minor})
       
  3428 	#error incorrect oasys version (wanted ${ac_oasysver_major}.${ac_oasysver_minor})
       
  3429 	#endif
       
  3430 
       
  3431 int
       
  3432 main ()
       
  3433 {
       
  3434 
       
  3435 	const char* s = oasys_version;
       
  3436 	(void)s;
       
  3437 
       
  3438   ;
       
  3439   return 0;
       
  3440 }
       
  3441 _ACEOF
       
  3442 if ac_fn_c_try_link "$LINENO"; then :
       
  3443 
       
  3444     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_oasysdir" >&5
       
  3445 $as_echo "$ac_oasysdir" >&6; }
       
  3446 
       
  3447 else
       
  3448 
       
  3449     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
       
  3450 $as_echo "no" >&6; }
       
  3451 
       
  3452 cat <<EOF
       
  3453 
       
  3454 Configure error finding oasys.
       
  3455 
       
  3456 This script first looks for an oasys installation in the same location
       
  3457 as the tool that is using the oasys library (where this configure
       
  3458 script is run from). In other words, it first tries ../oasys.
       
  3459 
       
  3460 If ../oasys does not exist, it looks for an oasys installation in
       
  3461 /usr. If that is not found, you need to specify the location of oasys
       
  3462 using the --with-oasys argument to configure.
       
  3463 
       
  3464 If problems still exist, then look in the config.log to see exactly
       
  3465 what the failing command was.
       
  3466 
       
  3467 Download oasys-$ac_oasysver_major.$ac_oasysver_minor (or later)
       
  3468 from http://dtn.hg.sourceforge.net/hgweb/dtn/oasys to $ac_oasysdir.
       
  3469 You will then probably have to run ./configure and make
       
  3470 in the oasys code tree in order to be able to compile DTN2
       
  3471 
       
  3472 EOF
       
  3473 
       
  3474 
       
  3475     as_fn_error $? "Can't find compatible oasys libraries which are a required for DTN2." "$LINENO" 5
       
  3476 
       
  3477 fi
       
  3478 rm -f core conftest.err conftest.$ac_objext \
       
  3479     conftest$ac_exeext conftest.$ac_ext
       
  3480 
       
  3481     CFLAGS=$ac_save_CFLAGS
       
  3482     LDFLAGS=$ac_save_LDFLAGS
       
  3483 
       
  3484 
       
  3485 # -------------------------------------------------------------------------
       
  3486 # Dump the autoconf cache now to try to avoid redundant checks
       
  3487 # -------------------------------------------------------------------------
       
  3488 cat >confcache <<\_ACEOF
       
  3489 # This file is a shell script that caches the results of configure
       
  3490 # tests run on this system so they can be shared between configure
       
  3491 # scripts and configure runs, see configure's option --config-cache.
       
  3492 # It is not useful on other systems.  If it contains results you don't
       
  3493 # want to keep, you may remove or edit it.
       
  3494 #
       
  3495 # config.status only pays attention to the cache file if you give it
       
  3496 # the --recheck option to rerun configure.
       
  3497 #
       
  3498 # `ac_cv_env_foo' variables (set or unset) will be overridden when
       
  3499 # loading this file, other *unset* `ac_cv_foo' will be assigned the
       
  3500 # following values.
       
  3501 
       
  3502 _ACEOF
       
  3503 
       
  3504 # The following way of writing the cache mishandles newlines in values,
       
  3505 # but we know of no workaround that is simple, portable, and efficient.
       
  3506 # So, we kill variables containing newlines.
       
  3507 # Ultrix sh set writes to stderr and can't be redirected directly,
       
  3508 # and sets the high bit in the cache file unless we assign to the vars.
       
  3509 (
       
  3510   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
       
  3511     eval ac_val=\$$ac_var
       
  3512     case $ac_val in #(
       
  3513     *${as_nl}*)
       
  3514       case $ac_var in #(
       
  3515       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
       
  3516 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
       
  3517       esac
       
  3518       case $ac_var in #(
       
  3519       _ | IFS | as_nl) ;; #(
       
  3520       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
       
  3521       *) { eval $ac_var=; unset $ac_var;} ;;
       
  3522       esac ;;
       
  3523     esac
       
  3524   done
       
  3525 
       
  3526   (set) 2>&1 |
       
  3527     case $as_nl`(ac_space=' '; set) 2>&1` in #(
       
  3528     *${as_nl}ac_space=\ *)
       
  3529       # `set' does not quote correctly, so add quotes: double-quote
       
  3530       # substitution turns \\\\ into \\, and sed turns \\ into \.
       
  3531       sed -n \
       
  3532 	"s/'/'\\\\''/g;
       
  3533 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
       
  3534       ;; #(
       
  3535     *)
       
  3536       # `set' quotes correctly as required by POSIX, so do not add quotes.
       
  3537       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
       
  3538       ;;
       
  3539     esac |
       
  3540     sort
       
  3541 ) |
       
  3542   sed '
       
  3543      /^ac_cv_env_/b end
       
  3544      t clear
       
  3545      :clear
       
  3546      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
       
  3547      t end
       
  3548      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
       
  3549      :end' >>confcache
       
  3550 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
       
  3551   if test -w "$cache_file"; then
       
  3552     test "x$cache_file" != "x/dev/null" &&
       
  3553       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
       
  3554 $as_echo "$as_me: updating cache $cache_file" >&6;}
       
  3555     cat confcache >$cache_file
       
  3556   else
       
  3557     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
       
  3558 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
       
  3559   fi
       
  3560 fi
       
  3561 rm -f confcache
       
  3562 
       
  3563 #--------------------------------------------------------------------------
       
  3564 # Checks for other optional features that may depend on third-party
       
  3565 # libraries.
       
  3566 #--------------------------------------------------------------------------
       
  3567 ac_ext=c
       
  3568 ac_cpp='$CPP $CPPFLAGS'
       
  3569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
       
  3570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
       
  3571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
       
  3572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
       
  3573 $as_echo_n "checking how to run the C preprocessor... " >&6; }
       
  3574 # On Suns, sometimes $CPP names a directory.
       
  3575 if test -n "$CPP" && test -d "$CPP"; then
       
  3576   CPP=
       
  3577 fi
       
  3578 if test -z "$CPP"; then
       
  3579   if test "${ac_cv_prog_CPP+set}" = set; then :
       
  3580   $as_echo_n "(cached) " >&6
       
  3581 else
       
  3582       # Double quotes because CPP needs to be expanded
       
  3583     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
       
  3584     do
       
  3585       ac_preproc_ok=false
       
  3586 for ac_c_preproc_warn_flag in '' yes
       
  3587 do
       
  3588   # Use a header file that comes with gcc, so configuring glibc
       
  3589   # with a fresh cross-compiler works.
       
  3590   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
       
  3591   # <limits.h> exists even on freestanding compilers.
       
  3592   # On the NeXT, cc -E runs the code through the compiler's parser,
       
  3593   # not just through cpp. "Syntax error" is here to catch this case.
       
  3594   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
       
  3595 /* end confdefs.h.  */
       
  3596 #ifdef __STDC__
       
  3597 # include <limits.h>
       
  3598 #else
       
  3599 # include <assert.h>
       
  3600 #endif
       
  3601 		     Syntax error
       
  3602 _ACEOF
       
  3603 if ac_fn_c_try_cpp "$LINENO"; then :
       
  3604 
       
  3605 else
       
  3606   # Broken: fails on valid input.
       
  3607 continue
       
  3608 fi
       
  3609 rm -f conftest.err conftest.i conftest.$ac_ext
       
  3610 
       
  3611   # OK, works on sane cases.  Now check whether nonexistent headers
       
  3612   # can be detected and how.
       
  3613   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
       
  3614 /* end confdefs.h.  */
       
  3615 #include <ac_nonexistent.h>
       
  3616 _ACEOF
       
  3617 if ac_fn_c_try_cpp "$LINENO"; then :
       
  3618   # Broken: success on invalid input.
       
  3619 continue
       
  3620 else
       
  3621   # Passes both tests.
       
  3622 ac_preproc_ok=:
       
  3623 break
       
  3624 fi
       
  3625 rm -f conftest.err conftest.i conftest.$ac_ext
       
  3626 
       
  3627 done
       
  3628 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
       
  3629 rm -f conftest.i conftest.err conftest.$ac_ext
       
  3630 if $ac_preproc_ok; then :
       
  3631   break
       
  3632 fi
       
  3633 
       
  3634     done
       
  3635     ac_cv_prog_CPP=$CPP
       
  3636 
       
  3637 fi
       
  3638   CPP=$ac_cv_prog_CPP
       
  3639 else
       
  3640   ac_cv_prog_CPP=$CPP
       
  3641 fi
       
  3642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
       
  3643 $as_echo "$CPP" >&6; }
       
  3644 ac_preproc_ok=false
       
  3645 for ac_c_preproc_warn_flag in '' yes
       
  3646 do
       
  3647   # Use a header file that comes with gcc, so configuring glibc
       
  3648   # with a fresh cross-compiler works.
       
  3649   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
       
  3650   # <limits.h> exists even on freestanding compilers.
       
  3651   # On the NeXT, cc -E runs the code through the compiler's parser,
       
  3652   # not just through cpp. "Syntax error" is here to catch this case.
       
  3653   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
       
  3654 /* end confdefs.h.  */
       
  3655 #ifdef __STDC__
       
  3656 # include <limits.h>
       
  3657 #else
       
  3658 # include <assert.h>
       
  3659 #endif
       
  3660 		     Syntax error
       
  3661 _ACEOF
       
  3662 if ac_fn_c_try_cpp "$LINENO"; then :
       
  3663 
       
  3664 else
       
  3665   # Broken: fails on valid input.
       
  3666 continue
       
  3667 fi
       
  3668 rm -f conftest.err conftest.i conftest.$ac_ext
       
  3669 
       
  3670   # OK, works on sane cases.  Now check whether nonexistent headers
       
  3671   # can be detected and how.
       
  3672   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
       
  3673 /* end confdefs.h.  */
       
  3674 #include <ac_nonexistent.h>
       
  3675 _ACEOF
       
  3676 if ac_fn_c_try_cpp "$LINENO"; then :
       
  3677   # Broken: success on invalid input.
       
  3678 continue
       
  3679 else
       
  3680   # Passes both tests.
       
  3681 ac_preproc_ok=:
       
  3682 break
       
  3683 fi
       
  3684 rm -f conftest.err conftest.i conftest.$ac_ext
       
  3685 
       
  3686 done
       
  3687 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
       
  3688 rm -f conftest.i conftest.err conftest.$ac_ext
       
  3689 if $ac_preproc_ok; then :
       
  3690 
       
  3691 else
       
  3692   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
       
  3693 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
       
  3694 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
       
  3695 See \`config.log' for more details" "$LINENO" 5 ; }
       
  3696 fi
       
  3697 
       
  3698 ac_ext=c
       
  3699 ac_cpp='$CPP $CPPFLAGS'
       
  3700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
       
  3701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
       
  3702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
       
  3703 
       
  3704 
       
  3705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
       
  3706 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
       
  3707 if test "${ac_cv_path_GREP+set}" = set; then :
       
  3708   $as_echo_n "(cached) " >&6
       
  3709 else
       
  3710   if test -z "$GREP"; then
       
  3711   ac_path_GREP_found=false
       
  3712   # Loop through the user's path and test for each of PROGNAME-LIST
       
  3713   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
  3714 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
       
  3715 do
       
  3716   IFS=$as_save_IFS
       
  3717   test -z "$as_dir" && as_dir=.
       
  3718     for ac_prog in grep ggrep; do
       
  3719     for ac_exec_ext in '' $ac_executable_extensions; do
       
  3720       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
       
  3721       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
       
  3722 # Check for GNU ac_path_GREP and select it if it is found.
       
  3723   # Check for GNU $ac_path_GREP
       
  3724 case `"$ac_path_GREP" --version 2>&1` in
       
  3725 *GNU*)
       
  3726   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
       
  3727 *)
       
  3728   ac_count=0
       
  3729   $as_echo_n 0123456789 >"conftest.in"
       
  3730   while :
       
  3731   do
       
  3732     cat "conftest.in" "conftest.in" >"conftest.tmp"
       
  3733     mv "conftest.tmp" "conftest.in"
       
  3734     cp "conftest.in" "conftest.nl"
       
  3735     $as_echo 'GREP' >> "conftest.nl"
       
  3736     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
       
  3737     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
       
  3738     as_fn_arith $ac_count + 1 && ac_count=$as_val
       
  3739     if test $ac_count -gt ${ac_path_GREP_max-0}; then
       
  3740       # Best one so far, save it but keep looking for a better one
       
  3741       ac_cv_path_GREP="$ac_path_GREP"
       
  3742       ac_path_GREP_max=$ac_count
       
  3743     fi
       
  3744     # 10*(2^10) chars as input seems more than enough
       
  3745     test $ac_count -gt 10 && break
       
  3746   done
       
  3747   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
       
  3748 esac
       
  3749 
       
  3750       $ac_path_GREP_found && break 3
       
  3751     done
       
  3752   done
       
  3753   done
       
  3754 IFS=$as_save_IFS
       
  3755   if test -z "$ac_cv_path_GREP"; then
       
  3756     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
       
  3757   fi
       
  3758 else
       
  3759   ac_cv_path_GREP=$GREP
       
  3760 fi
       
  3761 
       
  3762 fi
       
  3763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
       
  3764 $as_echo "$ac_cv_path_GREP" >&6; }
       
  3765  GREP="$ac_cv_path_GREP"
       
  3766 
       
  3767 
       
  3768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
       
  3769 $as_echo_n "checking for egrep... " >&6; }
       
  3770 if test "${ac_cv_path_EGREP+set}" = set; then :
       
  3771   $as_echo_n "(cached) " >&6
       
  3772 else
       
  3773   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
       
  3774    then ac_cv_path_EGREP="$GREP -E"
       
  3775    else
       
  3776      if test -z "$EGREP"; then
       
  3777   ac_path_EGREP_found=false
       
  3778   # Loop through the user's path and test for each of PROGNAME-LIST
       
  3779   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
  3780 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
       
  3781 do
       
  3782   IFS=$as_save_IFS
       
  3783   test -z "$as_dir" && as_dir=.
       
  3784     for ac_prog in egrep; do
       
  3785     for ac_exec_ext in '' $ac_executable_extensions; do
       
  3786       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
       
  3787       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
       
  3788 # Check for GNU ac_path_EGREP and select it if it is found.
       
  3789   # Check for GNU $ac_path_EGREP
       
  3790 case `"$ac_path_EGREP" --version 2>&1` in
       
  3791 *GNU*)
       
  3792   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
       
  3793 *)
       
  3794   ac_count=0
       
  3795   $as_echo_n 0123456789 >"conftest.in"
       
  3796   while :
       
  3797   do
       
  3798     cat "conftest.in" "conftest.in" >"conftest.tmp"
       
  3799     mv "conftest.tmp" "conftest.in"
       
  3800     cp "conftest.in" "conftest.nl"
       
  3801     $as_echo 'EGREP' >> "conftest.nl"
       
  3802     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
       
  3803     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
       
  3804     as_fn_arith $ac_count + 1 && ac_count=$as_val
       
  3805     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
       
  3806       # Best one so far, save it but keep looking for a better one
       
  3807       ac_cv_path_EGREP="$ac_path_EGREP"
       
  3808       ac_path_EGREP_max=$ac_count
       
  3809     fi
       
  3810     # 10*(2^10) chars as input seems more than enough
       
  3811     test $ac_count -gt 10 && break
       
  3812   done
       
  3813   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
       
  3814 esac
       
  3815 
       
  3816       $ac_path_EGREP_found && break 3
       
  3817     done
       
  3818   done
       
  3819   done
       
  3820 IFS=$as_save_IFS
       
  3821   if test -z "$ac_cv_path_EGREP"; then
       
  3822     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
       
  3823   fi
       
  3824 else
       
  3825   ac_cv_path_EGREP=$EGREP
       
  3826 fi
       
  3827 
       
  3828    fi
       
  3829 fi
       
  3830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
       
  3831 $as_echo "$ac_cv_path_EGREP" >&6; }
       
  3832  EGREP="$ac_cv_path_EGREP"
       
  3833 
       
  3834 
       
  3835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
       
  3836 $as_echo_n "checking for ANSI C header files... " >&6; }
       
  3837 if test "${ac_cv_header_stdc+set}" = set; then :
       
  3838   $as_echo_n "(cached) " >&6
       
  3839 else
       
  3840   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
       
  3841 /* end confdefs.h.  */
       
  3842 #include <stdlib.h>
       
  3843 #include <stdarg.h>
       
  3844 #include <string.h>
       
  3845 #include <float.h>
       
  3846 
       
  3847 int
       
  3848 main ()
       
  3849 {
       
  3850 
       
  3851   ;
       
  3852   return 0;
       
  3853 }
       
  3854 _ACEOF
       
  3855 if ac_fn_c_try_compile "$LINENO"; then :
       
  3856   ac_cv_header_stdc=yes
       
  3857 else
       
  3858   ac_cv_header_stdc=no
       
  3859 fi
       
  3860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  3861 
       
  3862 if test $ac_cv_header_stdc = yes; then
       
  3863   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
       
  3864   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
       
  3865 /* end confdefs.h.  */
       
  3866 #include <string.h>
       
  3867 
       
  3868 _ACEOF
       
  3869 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
       
  3870   $EGREP "memchr" >/dev/null 2>&1; then :
       
  3871 
       
  3872 else
       
  3873   ac_cv_header_stdc=no
       
  3874 fi
       
  3875 rm -f conftest*
       
  3876 
       
  3877 fi
       
  3878 
       
  3879 if test $ac_cv_header_stdc = yes; then
       
  3880   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
       
  3881   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
       
  3882 /* end confdefs.h.  */
       
  3883 #include <stdlib.h>
       
  3884 
       
  3885 _ACEOF
       
  3886 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
       
  3887   $EGREP "free" >/dev/null 2>&1; then :
       
  3888 
       
  3889 else
       
  3890   ac_cv_header_stdc=no
       
  3891 fi
       
  3892 rm -f conftest*
       
  3893 
       
  3894 fi
       
  3895 
       
  3896 if test $ac_cv_header_stdc = yes; then
       
  3897   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
       
  3898   if test "$cross_compiling" = yes; then :
       
  3899   :
       
  3900 else
       
  3901   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
       
  3902 /* end confdefs.h.  */
       
  3903 #include <ctype.h>
       
  3904 #include <stdlib.h>
       
  3905 #if ((' ' & 0x0FF) == 0x020)
       
  3906 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
       
  3907 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
       
  3908 #else
       
  3909 # define ISLOWER(c) \
       
  3910 		   (('a' <= (c) && (c) <= 'i') \
       
  3911 		     || ('j' <= (c) && (c) <= 'r') \
       
  3912 		     || ('s' <= (c) && (c) <= 'z'))
       
  3913 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
       
  3914 #endif
       
  3915 
       
  3916 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
       
  3917 int
       
  3918 main ()
       
  3919 {
       
  3920   int i;
       
  3921   for (i = 0; i < 256; i++)
       
  3922     if (XOR (islower (i), ISLOWER (i))
       
  3923 	|| toupper (i) != TOUPPER (i))
       
  3924       return 2;
       
  3925   return 0;
       
  3926 }
       
  3927 _ACEOF
       
  3928 if ac_fn_c_try_run "$LINENO"; then :
       
  3929 
       
  3930 else
       
  3931   ac_cv_header_stdc=no
       
  3932 fi
       
  3933 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
       
  3934   conftest.$ac_objext conftest.beam conftest.$ac_ext
       
  3935 fi
       
  3936 
       
  3937 fi
       
  3938 fi
       
  3939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
       
  3940 $as_echo "$ac_cv_header_stdc" >&6; }
       
  3941 if test $ac_cv_header_stdc = yes; then
       
  3942 
       
  3943 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
       
  3944 
       
  3945 fi
       
  3946 
       
  3947 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
       
  3948 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
       
  3949 		  inttypes.h stdint.h unistd.h
       
  3950 do :
       
  3951   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
       
  3952 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
       
  3953 "
       
  3954 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
       
  3955   cat >>confdefs.h <<_ACEOF
       
  3956 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
       
  3957 _ACEOF
       
  3958 
       
  3959 fi
       
  3960 
       
  3961 done
       
  3962 
       
  3963 
       
  3964 
       
  3965 
       
  3966 
       
  3967 # Check whether --with-bonjour was given.
       
  3968 if test "${with_bonjour+set}" = set; then :
       
  3969   withval=$with_bonjour; ac_use_bonjour=$withval
       
  3970 else
       
  3971   ac_use_bonjour=try
       
  3972 fi
       
  3973 
       
  3974 
       
  3975     ac_has_bonjour_lib="no"
       
  3976     ac_has_bonjour_h="no"
       
  3977 
       
  3978     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether bonjour support should be enabled" >&5
       
  3979 $as_echo_n "checking whether bonjour support should be enabled... " >&6; }
       
  3980 
       
  3981 
       
  3982 	if test "$ac_use_bonjour" = "no"; then
       
  3983 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
       
  3984 $as_echo "no" >&6; }
       
  3985 
       
  3986 	else
       
  3987 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_use_bonjour" >&5
       
  3988 $as_echo "$ac_use_bonjour" >&6; }
       
  3989 
       
  3990 
       
  3991     ac_extlib_save_CFLAGS=$CFLAGS
       
  3992     ac_extlib_save_LDFLAGS=$LDFLAGS
       
  3993     ac_extlib_save_LIBS=$LIBS
       
  3994 
       
  3995     CFLAGS=
       
  3996     LDFLAGS=
       
  3997     LIBS=
       
  3998 
       
  3999 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking searching for the bonjour library development headers" >&5
       
  4000 $as_echo_n "checking searching for the bonjour library development headers... " >&6; }
       
  4001         for ac_header in dns_sd.h
       
  4002 do :
       
  4003   ac_fn_c_check_header_mongrel "$LINENO" "dns_sd.h" "ac_cv_header_dns_sd_h" "$ac_includes_default"
       
  4004 if test "x$ac_cv_header_dns_sd_h" = x""yes; then :
       
  4005   cat >>confdefs.h <<_ACEOF
       
  4006 #define HAVE_DNS_SD_H 1
       
  4007 _ACEOF
       
  4008  ac_has_bonjour_h=yes
       
  4009 else
       
  4010   { $as_echo "$as_me:${as_lineno-$LINENO}: result: bonjour header not found" >&5
       
  4011 $as_echo "bonjour header not found" >&6; }
       
  4012 fi
       
  4013 
       
  4014 done
       
  4015 
       
  4016         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing DNSServiceRegister" >&5
       
  4017 $as_echo_n "checking for library containing DNSServiceRegister... " >&6; }
       
  4018 if test "${ac_cv_search_DNSServiceRegister+set}" = set; then :
       
  4019   $as_echo_n "(cached) " >&6
       
  4020 else
       
  4021   ac_func_search_save_LIBS=$LIBS
       
  4022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
       
  4023 /* end confdefs.h.  */
       
  4024 
       
  4025 /* Override any GCC internal prototype to avoid an error.
       
  4026    Use char because int might match the return type of a GCC
       
  4027    builtin and then its argument prototype would still apply.  */
       
  4028 #ifdef __cplusplus
       
  4029 extern "C"
       
  4030 #endif
       
  4031 char DNSServiceRegister ();
       
  4032 int
       
  4033 main ()
       
  4034 {
       
  4035 return DNSServiceRegister ();
       
  4036   ;
       
  4037   return 0;
       
  4038 }
       
  4039 _ACEOF
       
  4040 for ac_lib in '' dns_sd; do
       
  4041   if test -z "$ac_lib"; then
       
  4042     ac_res="none required"
       
  4043   else
       
  4044     ac_res=-l$ac_lib
       
  4045     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
       
  4046   fi
       
  4047   if ac_fn_c_try_link "$LINENO"; then :
       
  4048   ac_cv_search_DNSServiceRegister=$ac_res
       
  4049 fi
       
  4050 rm -f core conftest.err conftest.$ac_objext \
       
  4051     conftest$ac_exeext
       
  4052   if test "${ac_cv_search_DNSServiceRegister+set}" = set; then :
       
  4053   break
       
  4054 fi
       
  4055 done
       
  4056 if test "${ac_cv_search_DNSServiceRegister+set}" = set; then :
       
  4057 
       
  4058 else
       
  4059   ac_cv_search_DNSServiceRegister=no
       
  4060 fi
       
  4061 rm conftest.$ac_ext
       
  4062 LIBS=$ac_func_search_save_LIBS
       
  4063 fi
       
  4064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_DNSServiceRegister" >&5
       
  4065 $as_echo "$ac_cv_search_DNSServiceRegister" >&6; }
       
  4066 ac_res=$ac_cv_search_DNSServiceRegister
       
  4067 if test "$ac_res" != no; then :
       
  4068   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
       
  4069   ac_has_bonjour_lib=yes
       
  4070 else
       
  4071   { $as_echo "$as_me:${as_lineno-$LINENO}: result: function not found in bonjour library" >&5
       
  4072 $as_echo "function not found in bonjour library" >&6; }
       
  4073 fi
       
  4074 
       
  4075 
       
  4076     if test ! "$CFLAGS" = "" ; then
       
  4077         EXTLIB_CFLAGS="$EXTLIB_CFLAGS $CFLAGS"
       
  4078     fi
       
  4079 
       
  4080     if test ! "$LDFLAGS" = "" ; then
       
  4081         EXTLIB_LDFLAGS="$EXTLIB_LDFLAGS $LDFLAGS"
       
  4082     fi
       
  4083 
       
  4084     if test ! "$LIBS" = "" ; then
       
  4085         EXTLIB_LDFLAGS="$EXTLIB_LDFLAGS $LIBS"
       
  4086     fi
       
  4087 
       
  4088     CFLAGS=$ac_extlib_save_CFLAGS
       
  4089     LDFLAGS=$ac_extlib_save_LDFLAGS
       
  4090     LIBS=$ac_extlib_save_LIBS
       
  4091 
       
  4092 
       
  4093 	        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether bonjour support was found" >&5
       
  4094 $as_echo_n "checking whether bonjour support was found... " >&6; }
       
  4095         if test "$ac_has_bonjour_lib" = yes -a "$ac_has_bonjour_h" = yes ; then
       
  4096 
       
  4097 $as_echo "#define OASYS_BONJOUR_ENABLED 1" >>confdefs.h
       
  4098 
       
  4099           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
       
  4100 $as_echo "yes" >&6; }
       
  4101 
       
  4102 	elif test "$ac_use_bonjour" = "try" ; then
       
  4103           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
       
  4104 $as_echo "no" >&6; }
       
  4105 
       
  4106         else
       
  4107 
       
  4108 cat <<EOF
       
  4109 
       
  4110 Configure error with bonjour...
       
  4111 
       
  4112 The default is to try to compile in bonjour support and
       
  4113 if development headers and libraries are not present
       
  4114 proceed. You appear to have stated '$ac_use_bonjour'
       
  4115 when asked whether bonjour support should be enabled
       
  4116 Can't find the required development headers (dns_sd.h) or
       
  4117 function (DNSServiceRegister) in dns_sd of the Avahi
       
  4118 Apple Bonjour library.
       
  4119 
       
  4120 
       
  4121 If you do not want bonjour support at all, you can specify
       
  4122 --without-bonjour.
       
  4123 
       
  4124 
       
  4125 EOF
       
  4126 
       
  4127           as_fn_error $? "can't find the required development headers for the Avahi Apple Bonjour library" "$LINENO" 5
       
  4128         fi
       
  4129     fi
       
  4130 
       
  4131 
       
  4132     ac_ecl='yes'
       
  4133     # Check whether --enable-ecl was given.
       
  4134 if test "${enable_ecl+set}" = set; then :
       
  4135   enableval=$enable_ecl; ac_ecl=$enableval
       
  4136 fi
       
  4137 
       
  4138                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable external convergence layer support" >&5
       
  4139 $as_echo_n "checking whether to enable external convergence layer support... " >&6; }
       
  4140     if test "$ac_ecl" = no; then
       
  4141         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
       
  4142 $as_echo "no" >&6; }
       
  4143         EXTERNAL_CL_ENABLED=0
       
  4144     else
       
  4145         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
       
  4146 $as_echo "yes" >&6; }
       
  4147 
       
  4148 
       
  4149     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether oasys is configured with XERCES_C_ENABLED" >&5
       
  4150 $as_echo_n "checking whether oasys is configured with XERCES_C_ENABLED... " >&6; }
       
  4151 
       
  4152     if test x$cv_oasys_supports_XERCES_C_ENABLED != x ; then
       
  4153         ac_oasys_supports_result=$cv_oasys_supports_XERCES_C_ENABLED
       
  4154         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_oasys_supports_result (cached)" >&5
       
  4155 $as_echo "$ac_oasys_supports_result (cached)" >&6; }
       
  4156     else
       
  4157 
       
  4158     ac_save_CPPFLAGS="$CPPFLAGS"
       
  4159     CPPFLAGS="$CPPFLAGS -I$OASYS_INCDIR"
       
  4160     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
       
  4161 /* end confdefs.h.  */
       
  4162 
       
  4163             #include <oasys/oasys-config.h>
       
  4164             #ifndef XERCES_C_ENABLED
       
  4165             #error XERCES_C_ENABLED not configured
       
  4166             #endif
       
  4167 
       
  4168 int
       
  4169 main ()
       
  4170 {
       
  4171 
       
  4172   ;
       
  4173   return 0;
       
  4174 }
       
  4175 _ACEOF
       
  4176 if ac_fn_c_try_link "$LINENO"; then :
       
  4177   ac_oasys_supports_result=yes
       
  4178 else
       
  4179   ac_oasys_supports_result=no
       
  4180 fi
       
  4181 rm -f core conftest.err conftest.$ac_objext \
       
  4182     conftest$ac_exeext conftest.$ac_ext
       
  4183 
       
  4184     cv_oasys_supports_XERCES_C_ENABLED=$ac_oasys_supports_result
       
  4185 
       
  4186     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_oasys_supports_result" >&5
       
  4187 $as_echo "$ac_oasys_supports_result" >&6; }
       
  4188     CPPFLAGS=$ac_save_CPPFLAGS
       
  4189 
       
  4190     fi
       
  4191 
       
  4192 	if test $ac_oasys_supports_result != yes ; then
       
  4193 	    as_fn_error $? "external convergence layer support requires xerces... install it or configure --disable-ecl" "$LINENO" 5
       
  4194 	fi
       
  4195 
       
  4196         EXTERNAL_CL_ENABLED=1
       
  4197 
       
  4198 cat >>confdefs.h <<_ACEOF
       
  4199 #define EXTERNAL_CL_ENABLED 1
       
  4200 _ACEOF
       
  4201 
       
  4202     fi # EXTERNAL_CL_ENABLED
       
  4203 
       
  4204 
       
  4205     ac_edp='yes'
       
  4206     # Check whether --enable-edp was given.
       
  4207 if test "${enable_edp+set}" = set; then :
       
  4208   enableval=$enable_edp; ac_edp=$enableval
       
  4209 fi
       
  4210 
       
  4211                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable external decision plane support" >&5
       
  4212 $as_echo_n "checking whether to enable external decision plane support... " >&6; }
       
  4213     if test "$ac_edp" = no; then
       
  4214         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
       
  4215 $as_echo "no" >&6; }
       
  4216         EXTERNAL_DP_ENABLED=0
       
  4217     else
       
  4218         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
       
  4219 $as_echo "yes" >&6; }
       
  4220 
       
  4221 
       
  4222     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether oasys is configured with XERCES_C_ENABLED" >&5
       
  4223 $as_echo_n "checking whether oasys is configured with XERCES_C_ENABLED... " >&6; }
       
  4224 
       
  4225     if test x$cv_oasys_supports_XERCES_C_ENABLED != x ; then
       
  4226         ac_oasys_supports_result=$cv_oasys_supports_XERCES_C_ENABLED
       
  4227         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_oasys_supports_result (cached)" >&5
       
  4228 $as_echo "$ac_oasys_supports_result (cached)" >&6; }
       
  4229     else
       
  4230 
       
  4231     ac_save_CPPFLAGS="$CPPFLAGS"
       
  4232     CPPFLAGS="$CPPFLAGS -I$OASYS_INCDIR"
       
  4233     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
       
  4234 /* end confdefs.h.  */
       
  4235 
       
  4236             #include <oasys/oasys-config.h>
       
  4237             #ifndef XERCES_C_ENABLED
       
  4238             #error XERCES_C_ENABLED not configured
       
  4239             #endif
       
  4240 
       
  4241 int
       
  4242 main ()
       
  4243 {
       
  4244 
       
  4245   ;
       
  4246   return 0;
       
  4247 }
       
  4248 _ACEOF
       
  4249 if ac_fn_c_try_link "$LINENO"; then :
       
  4250   ac_oasys_supports_result=yes
       
  4251 else
       
  4252   ac_oasys_supports_result=no
       
  4253 fi
       
  4254 rm -f core conftest.err conftest.$ac_objext \
       
  4255     conftest$ac_exeext conftest.$ac_ext
       
  4256 
       
  4257     cv_oasys_supports_XERCES_C_ENABLED=$ac_oasys_supports_result
       
  4258 
       
  4259     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_oasys_supports_result" >&5
       
  4260 $as_echo "$ac_oasys_supports_result" >&6; }
       
  4261     CPPFLAGS=$ac_save_CPPFLAGS
       
  4262 
       
  4263     fi
       
  4264 
       
  4265 	if test $ac_oasys_supports_result != yes ; then
       
  4266 	    as_fn_error $? "external decision plane support requires xerces... install it or configure --disable-edp" "$LINENO" 5
       
  4267 	fi
       
  4268 
       
  4269 
       
  4270 cat >>confdefs.h <<_ACEOF
       
  4271 #define EXTERNAL_DP_ENABLED 1
       
  4272 _ACEOF
       
  4273 
       
  4274     fi # EXTERNAL_DP_ENABLED
       
  4275 
       
  4276 ac_ext=cpp
       
  4277 ac_cpp='$CXXCPP $CPPFLAGS'
       
  4278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
       
  4279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
       
  4280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       
  4281 if test -z "$CXX"; then
       
  4282   if test -n "$CCC"; then
       
  4283     CXX=$CCC
       
  4284   else
       
  4285     if test -n "$ac_tool_prefix"; then
       
  4286   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
       
  4287   do
       
  4288     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
       
  4289 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
       
  4290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
       
  4291 $as_echo_n "checking for $ac_word... " >&6; }
       
  4292 if test "${ac_cv_prog_CXX+set}" = set; then :
       
  4293   $as_echo_n "(cached) " >&6
       
  4294 else
       
  4295   if test -n "$CXX"; then
       
  4296   ac_cv_prog_CXX="$CXX" # Let the user override the test.
       
  4297 else
       
  4298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
  4299 for as_dir in $PATH
       
  4300 do
       
  4301   IFS=$as_save_IFS
       
  4302   test -z "$as_dir" && as_dir=.
       
  4303     for ac_exec_ext in '' $ac_executable_extensions; do
       
  4304   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
       
  4305     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
       
  4306     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
       
  4307     break 2
       
  4308   fi
       
  4309 done
       
  4310   done
       
  4311 IFS=$as_save_IFS
       
  4312 
       
  4313 fi
       
  4314 fi
       
  4315 CXX=$ac_cv_prog_CXX
       
  4316 if test -n "$CXX"; then
       
  4317   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
       
  4318 $as_echo "$CXX" >&6; }
       
  4319 else
       
  4320   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
       
  4321 $as_echo "no" >&6; }
       
  4322 fi
       
  4323 
       
  4324 
       
  4325     test -n "$CXX" && break
       
  4326   done
       
  4327 fi
       
  4328 if test -z "$CXX"; then
       
  4329   ac_ct_CXX=$CXX
       
  4330   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
       
  4331 do
       
  4332   # Extract the first word of "$ac_prog", so it can be a program name with args.
       
  4333 set dummy $ac_prog; ac_word=$2
       
  4334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
       
  4335 $as_echo_n "checking for $ac_word... " >&6; }
       
  4336 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
       
  4337   $as_echo_n "(cached) " >&6
       
  4338 else
       
  4339   if test -n "$ac_ct_CXX"; then
       
  4340   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
       
  4341 else
       
  4342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
  4343 for as_dir in $PATH
       
  4344 do
       
  4345   IFS=$as_save_IFS
       
  4346   test -z "$as_dir" && as_dir=.
       
  4347     for ac_exec_ext in '' $ac_executable_extensions; do
       
  4348   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
       
  4349     ac_cv_prog_ac_ct_CXX="$ac_prog"
       
  4350     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
       
  4351     break 2
       
  4352   fi
       
  4353 done
       
  4354   done
       
  4355 IFS=$as_save_IFS
       
  4356 
       
  4357 fi
       
  4358 fi
       
  4359 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
       
  4360 if test -n "$ac_ct_CXX"; then
       
  4361   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
       
  4362 $as_echo "$ac_ct_CXX" >&6; }
       
  4363 else
       
  4364   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
       
  4365 $as_echo "no" >&6; }
       
  4366 fi
       
  4367 
       
  4368 
       
  4369   test -n "$ac_ct_CXX" && break
       
  4370 done
       
  4371 
       
  4372   if test "x$ac_ct_CXX" = x; then
       
  4373     CXX="g++"
       
  4374   else
       
  4375     case $cross_compiling:$ac_tool_warned in
       
  4376 yes:)
       
  4377 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
       
  4378 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
       
  4379 ac_tool_warned=yes ;;
       
  4380 esac
       
  4381     CXX=$ac_ct_CXX
       
  4382   fi
       
  4383 fi
       
  4384 
       
  4385   fi
       
  4386 fi
       
  4387 # Provide some information about the compiler.
       
  4388 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
       
  4389 set X $ac_compile
       
  4390 ac_compiler=$2
       
  4391 for ac_option in --version -v -V -qversion; do
       
  4392   { { ac_try="$ac_compiler $ac_option >&5"
       
  4393 case "(($ac_try" in
       
  4394   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  4395   *) ac_try_echo=$ac_try;;
       
  4396 esac
       
  4397 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
       
  4398 $as_echo "$ac_try_echo"; } >&5
       
  4399   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
       
  4400   ac_status=$?
       
  4401   if test -s conftest.err; then
       
  4402     sed '10a\
       
  4403 ... rest of stderr output deleted ...
       
  4404          10q' conftest.err >conftest.er1
       
  4405     cat conftest.er1 >&5
       
  4406   fi
       
  4407   rm -f conftest.er1 conftest.err
       
  4408   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
       
  4409   test $ac_status = 0; }
       
  4410 done
       
  4411 
       
  4412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
       
  4413 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
       
  4414 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
       
  4415   $as_echo_n "(cached) " >&6
       
  4416 else
       
  4417   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
       
  4418 /* end confdefs.h.  */
       
  4419 
       
  4420 int
       
  4421 main ()
       
  4422 {
       
  4423 #ifndef __GNUC__
       
  4424        choke me
       
  4425 #endif
       
  4426 
       
  4427   ;
       
  4428   return 0;
       
  4429 }
       
  4430 _ACEOF
       
  4431 if ac_fn_cxx_try_compile "$LINENO"; then :
       
  4432   ac_compiler_gnu=yes
       
  4433 else
       
  4434   ac_compiler_gnu=no
       
  4435 fi
       
  4436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  4437 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
       
  4438 
       
  4439 fi
       
  4440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
       
  4441 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
       
  4442 if test $ac_compiler_gnu = yes; then
       
  4443   GXX=yes
       
  4444 else
       
  4445   GXX=
       
  4446 fi
       
  4447 ac_test_CXXFLAGS=${CXXFLAGS+set}
       
  4448 ac_save_CXXFLAGS=$CXXFLAGS
       
  4449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
       
  4450 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
       
  4451 if test "${ac_cv_prog_cxx_g+set}" = set; then :
       
  4452   $as_echo_n "(cached) " >&6
       
  4453 else
       
  4454   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
       
  4455    ac_cxx_werror_flag=yes
       
  4456    ac_cv_prog_cxx_g=no
       
  4457    CXXFLAGS="-g"
       
  4458    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
       
  4459 /* end confdefs.h.  */
       
  4460 
       
  4461 int
       
  4462 main ()
       
  4463 {
       
  4464 
       
  4465   ;
       
  4466   return 0;
       
  4467 }
       
  4468 _ACEOF
       
  4469 if ac_fn_cxx_try_compile "$LINENO"; then :
       
  4470   ac_cv_prog_cxx_g=yes
       
  4471 else
       
  4472   CXXFLAGS=""
       
  4473       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
       
  4474 /* end confdefs.h.  */
       
  4475 
       
  4476 int
       
  4477 main ()
       
  4478 {
       
  4479 
       
  4480   ;
       
  4481   return 0;
       
  4482 }
       
  4483 _ACEOF
       
  4484 if ac_fn_cxx_try_compile "$LINENO"; then :
       
  4485 
       
  4486 else
       
  4487   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
       
  4488 	 CXXFLAGS="-g"
       
  4489 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
       
  4490 /* end confdefs.h.  */
       
  4491 
       
  4492 int
       
  4493 main ()
       
  4494 {
       
  4495 
       
  4496   ;
       
  4497   return 0;
       
  4498 }
       
  4499 _ACEOF
       
  4500 if ac_fn_cxx_try_compile "$LINENO"; then :
       
  4501   ac_cv_prog_cxx_g=yes
       
  4502 fi
       
  4503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  4504 fi
       
  4505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  4506 fi
       
  4507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  4508    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
       
  4509 fi
       
  4510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
       
  4511 $as_echo "$ac_cv_prog_cxx_g" >&6; }
       
  4512 if test "$ac_test_CXXFLAGS" = set; then
       
  4513   CXXFLAGS=$ac_save_CXXFLAGS
       
  4514 elif test $ac_cv_prog_cxx_g = yes; then
       
  4515   if test "$GXX" = yes; then
       
  4516     CXXFLAGS="-g -O2"
       
  4517   else
       
  4518     CXXFLAGS="-g"
       
  4519   fi
       
  4520 else
       
  4521   if test "$GXX" = yes; then
       
  4522     CXXFLAGS="-O2"
       
  4523   else
       
  4524     CXXFLAGS=
       
  4525   fi
       
  4526 fi
       
  4527 ac_ext=cpp
       
  4528 ac_cpp='$CXXCPP $CPPFLAGS'
       
  4529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
       
  4530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
       
  4531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       
  4532 
       
  4533 
       
  4534 
       
  4535 
       
  4536 
       
  4537 # Check whether --with-norm was given.
       
  4538 if test "${with_norm+set}" = set; then :
       
  4539   withval=$with_norm; ac_use_norm=$withval
       
  4540 else
       
  4541   ac_use_norm="no"
       
  4542 fi
       
  4543 
       
  4544 
       
  4545     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable NORM convergence layer support" >&5
       
  4546 $as_echo_n "checking whether to enable NORM convergence layer support... " >&6; }
       
  4547 
       
  4548                 if test "$ac_use_norm" = "no"; then
       
  4549         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
       
  4550 $as_echo "no" >&6; }
       
  4551         NORM_ENABLED=0
       
  4552     else
       
  4553 
       
  4554                 if test "$ac_use_norm" = try \
       
  4555          -o "$ac_use_norm" = yes \
       
  4556          -o "$ac_use_norm" = "" ; then
       
  4557         { $as_echo "$as_me:${as_lineno-$LINENO}: result: try" >&5
       
  4558 $as_echo "try" >&6; }
       
  4559         ac_norm_inst_dirs="$ac_pwd/../norm /usr /usr/local"
       
  4560     else
       
  4561         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (dir $ac_use_norm)" >&5
       
  4562 $as_echo "yes (dir $ac_use_norm)" >&6; }
       
  4563         ac_norm_inst_dirs="$ac_use_norm"
       
  4564     fi
       
  4565 
       
  4566     ac_save_EXTLIB_CFLAGS="$EXTLIB_CFLAGS"
       
  4567     ac_save_EXTLIB_LDFLAGS="$EXTLIB_LDFLAGS"
       
  4568 
       
  4569     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether norm libraries are available" >&5
       
  4570 $as_echo_n "checking whether norm libraries are available... " >&6; }
       
  4571     if test "${dtn_cv_path_norm+set}" = set; then :
       
  4572   $as_echo_n "(cached) " >&6
       
  4573 else
       
  4574 
       
  4575         for ac_norm_inst_dir in $ac_norm_inst_dirs; do
       
  4576             if test -d "$ac_norm_inst_dir"; then
       
  4577                 ac_ext=cpp
       
  4578 ac_cpp='$CXXCPP $CPPFLAGS'
       
  4579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
       
  4580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
       
  4581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       
  4582 
       
  4583                 EXTLIB_CFLAGS="-DFILE_OFFSET_BITS=64"
       
  4584                 EXTLIB_LDFLAGS="-L$ac_pwd/../norm/build/default \
       
  4585                                 -L$ac_pwd/../norm/build/default/protolib \
       
  4586                                 -lnorm -lprotokit -lpthread"
       
  4587 
       
  4588                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
       
  4589 /* end confdefs.h.  */
       
  4590 
       
  4591                             #include "$ac_norm_inst_dir/include/normApi.h"
       
  4592 
       
  4593 int
       
  4594 main ()
       
  4595 {
       
  4596 
       
  4597                             NormInstanceHandle handle = NormCreateInstance();
       
  4598                             NormDestroyInstance(handle);
       
  4599 
       
  4600   ;
       
  4601   return 0;
       
  4602 }
       
  4603 _ACEOF
       
  4604 if ac_fn_cxx_try_compile "$LINENO"; then :
       
  4605 
       
  4606                         dtn_cv_path_norm="$ac_norm_inst_dir"
       
  4607                         break
       
  4608 
       
  4609 else
       
  4610 
       
  4611                         dtn_cv_path_norm=
       
  4612 
       
  4613 
       
  4614 fi
       
  4615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  4616             fi
       
  4617         done
       
  4618 
       
  4619 fi
       
  4620 
       
  4621 
       
  4622     EXTLIB_CFLAGS="$ac_save_EXTLIB_CFLAGS"
       
  4623     EXTLIB_LDFLAGS="$ac_save_EXTLIB_LDFLAGS"
       
  4624 
       
  4625     if test -z "$dtn_cv_path_norm"; then
       
  4626         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
       
  4627 $as_echo "no" >&6; }
       
  4628         NORM_ENABLED=0
       
  4629     else
       
  4630         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
       
  4631 $as_echo "yes" >&6; }
       
  4632         NORM_ENABLED=1
       
  4633 
       
  4634 $as_echo "#define NORM_ENABLED 1" >>confdefs.h
       
  4635 
       
  4636         if test ! "$dtn_cv_path_norm" = /usr && test ! "$dtn_cv_path_norm" = /usr/local; then
       
  4637             EXTLIB_CFLAGS="$EXTLIB_CFLAGS -I$dtn_cv_path_norm/include"
       
  4638             EXTLIB_LDFLAGS="$EXTLIB_LDFLAGS -L$dtn_cv_path_norm/build/default -L$dtn_cv_path_norm/build/default/protolib"
       
  4639         fi
       
  4640         EXTLIB_LDFLAGS="$EXTLIB_LDFLAGS -lnorm -lprotokit"
       
  4641     fi
       
  4642 
       
  4643     fi
       
  4644 
       
  4645 
       
  4646 
       
  4647 
       
  4648 # Check whether --with-ltp was given.
       
  4649 if test "${with_ltp+set}" = set; then :
       
  4650   withval=$with_ltp; ac_use_ltp=$withval
       
  4651 else
       
  4652   ac_use_ltp="no"
       
  4653 fi
       
  4654 
       
  4655 
       
  4656     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable LTP convergence layer support" >&5
       
  4657 $as_echo_n "checking whether to enable LTP convergence layer support... " >&6; }
       
  4658 
       
  4659                 if test "$ac_use_ltp" = "no"; then
       
  4660         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
       
  4661 $as_echo "no" >&6; }
       
  4662         LTP_ENABLED=0
       
  4663     else
       
  4664 
       
  4665                 if test "$ac_use_ltp" = try \
       
  4666          -o "$ac_use_ltp" = yes \
       
  4667          -o "$ac_use_ltp" = "" ; then
       
  4668         { $as_echo "$as_me:${as_lineno-$LINENO}: result: try" >&5
       
  4669 $as_echo "try" >&6; }
       
  4670         ac_ltp_inst_dirs="$ac_pwd/../LTPlib /usr /usr/local"
       
  4671     else
       
  4672         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (dir $ac_use_ltp)" >&5
       
  4673 $as_echo "yes (dir $ac_use_ltp)" >&6; }
       
  4674         ac_ltp_inst_dirs="$ac_use_ltp"
       
  4675     fi
       
  4676 
       
  4677     ac_save_EXTLIB_CFLAGS="$EXTLIB_CFLAGS"
       
  4678     ac_save_EXTLIB_LDFLAGS="$EXTLIB_LDFLAGS"
       
  4679 
       
  4680     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ltp libraries are available" >&5
       
  4681 $as_echo_n "checking whether ltp libraries are available... " >&6; }
       
  4682     if test "${dtn_cv_path_ltp+set}" = set; then :
       
  4683   $as_echo_n "(cached) " >&6
       
  4684 else
       
  4685 
       
  4686         for ac_ltp_inst_dir in $ac_ltp_inst_dirs; do
       
  4687             if test -d "$ac_ltp_inst_dir"; then
       
  4688                 ac_ext=cpp
       
  4689 ac_cpp='$CXXCPP $CPPFLAGS'
       
  4690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
       
  4691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
       
  4692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       
  4693 
       
  4694                 EXTLIB_CFLAGS="-DFILE_OFFSET_BITS=64"
       
  4695                 EXTLIB_LDFLAGS="-L$ac_pwd/../LTPlib/lib \
       
  4696                                 -lltp -lpthread -lcrypto -lm"
       
  4697 
       
  4698                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
       
  4699 /* end confdefs.h.  */
       
  4700 
       
  4701                             #include "$ac_ltp_inst_dir/include/ltp.h"
       
  4702 
       
  4703 int
       
  4704 main ()
       
  4705 {
       
  4706 
       
  4707                             ltpaddr la;
       
  4708 
       
  4709   ;
       
  4710   return 0;
       
  4711 }
       
  4712 _ACEOF
       
  4713 if ac_fn_cxx_try_compile "$LINENO"; then :
       
  4714 
       
  4715                         dtn_cv_path_ltp="$ac_ltp_inst_dir"
       
  4716                         break
       
  4717 
       
  4718 else
       
  4719 
       
  4720                         dtn_cv_path_ltp=
       
  4721 
       
  4722 
       
  4723 fi
       
  4724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  4725             fi
       
  4726         done
       
  4727 
       
  4728 fi
       
  4729 
       
  4730 
       
  4731     EXTLIB_CFLAGS="$ac_save_EXTLIB_CFLAGS"
       
  4732     EXTLIB_LDFLAGS="$ac_save_EXTLIB_LDFLAGS"
       
  4733 
       
  4734     if test -z "$dtn_cv_path_ltp"; then
       
  4735         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
       
  4736 $as_echo "no" >&6; }
       
  4737         LTP_ENABLED=0
       
  4738     else
       
  4739         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
       
  4740 $as_echo "yes" >&6; }
       
  4741         LTP_ENABLED=1
       
  4742 
       
  4743 $as_echo "#define LTP_ENABLED 1" >>confdefs.h
       
  4744 
       
  4745         if test ! "$dtn_cv_path_ltp" = /usr && test ! "$dtn_cv_path_ltp" = /usr/local; then
       
  4746             EXTLIB_CFLAGS="$EXTLIB_CFLAGS -I$dtn_cv_path_ltp/include"
       
  4747             EXTLIB_LDFLAGS="$EXTLIB_LDFLAGS -L$dtn_cv_path_ltp/lib"
       
  4748         fi
       
  4749         EXTLIB_LDFLAGS="$EXTLIB_LDFLAGS -lltp -lpthread -lcrypto -lm"
       
  4750     fi
       
  4751 
       
  4752     fi
       
  4753 
       
  4754 
       
  4755 #--------------------------------------------------------------------------
       
  4756 # Check if BSP should be enabled, and if so, look for OpenSSL
       
  4757 #--------------------------------------------------------------------------
       
  4758 
       
  4759     ac_bsp='no'
       
  4760 
       
  4761 # Check whether --with-bsp was given.
       
  4762 if test "${with_bsp+set}" = set; then :
       
  4763   withval=$with_bsp; ac_bsp=$withval
       
  4764 fi
       
  4765 
       
  4766                 if test "$ac_bsp" = no; then
       
  4767         BSP_ENABLED=0
       
  4768     else
       
  4769         BSP_ENABLED=1
       
  4770 
       
  4771 cat >>confdefs.h <<_ACEOF
       
  4772 #define BSP_ENABLED 1
       
  4773 _ACEOF
       
  4774 
       
  4775     fi # BSP_ENABLED
       
  4776 
       
  4777 ac_ext=cpp
       
  4778 ac_cpp='$CXXCPP $CPPFLAGS'
       
  4779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
       
  4780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
       
  4781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       
  4782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
       
  4783 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
       
  4784 if test -z "$CXXCPP"; then
       
  4785   if test "${ac_cv_prog_CXXCPP+set}" = set; then :
       
  4786   $as_echo_n "(cached) " >&6
       
  4787 else
       
  4788       # Double quotes because CXXCPP needs to be expanded
       
  4789     for CXXCPP in "$CXX -E" "/lib/cpp"
       
  4790     do
       
  4791       ac_preproc_ok=false
       
  4792 for ac_cxx_preproc_warn_flag in '' yes
       
  4793 do
       
  4794   # Use a header file that comes with gcc, so configuring glibc
       
  4795   # with a fresh cross-compiler works.
       
  4796   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
       
  4797   # <limits.h> exists even on freestanding compilers.
       
  4798   # On the NeXT, cc -E runs the code through the compiler's parser,
       
  4799   # not just through cpp. "Syntax error" is here to catch this case.
       
  4800   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
       
  4801 /* end confdefs.h.  */
       
  4802 #ifdef __STDC__
       
  4803 # include <limits.h>
       
  4804 #else
       
  4805 # include <assert.h>
       
  4806 #endif
       
  4807 		     Syntax error
       
  4808 _ACEOF
       
  4809 if ac_fn_cxx_try_cpp "$LINENO"; then :
       
  4810 
       
  4811 else
       
  4812   # Broken: fails on valid input.
       
  4813 continue
       
  4814 fi
       
  4815 rm -f conftest.err conftest.i conftest.$ac_ext
       
  4816 
       
  4817   # OK, works on sane cases.  Now check whether nonexistent headers
       
  4818   # can be detected and how.
       
  4819   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
       
  4820 /* end confdefs.h.  */
       
  4821 #include <ac_nonexistent.h>
       
  4822 _ACEOF
       
  4823 if ac_fn_cxx_try_cpp "$LINENO"; then :
       
  4824   # Broken: success on invalid input.
       
  4825 continue
       
  4826 else
       
  4827   # Passes both tests.
       
  4828 ac_preproc_ok=:
       
  4829 break
       
  4830 fi
       
  4831 rm -f conftest.err conftest.i conftest.$ac_ext
       
  4832 
       
  4833 done
       
  4834 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
       
  4835 rm -f conftest.i conftest.err conftest.$ac_ext
       
  4836 if $ac_preproc_ok; then :
       
  4837   break
       
  4838 fi
       
  4839 
       
  4840     done
       
  4841     ac_cv_prog_CXXCPP=$CXXCPP
       
  4842 
       
  4843 fi
       
  4844   CXXCPP=$ac_cv_prog_CXXCPP
       
  4845 else
       
  4846   ac_cv_prog_CXXCPP=$CXXCPP
       
  4847 fi
       
  4848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
       
  4849 $as_echo "$CXXCPP" >&6; }
       
  4850 ac_preproc_ok=false
       
  4851 for ac_cxx_preproc_warn_flag in '' yes
       
  4852 do
       
  4853   # Use a header file that comes with gcc, so configuring glibc
       
  4854   # with a fresh cross-compiler works.
       
  4855   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
       
  4856   # <limits.h> exists even on freestanding compilers.
       
  4857   # On the NeXT, cc -E runs the code through the compiler's parser,
       
  4858   # not just through cpp. "Syntax error" is here to catch this case.
       
  4859   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
       
  4860 /* end confdefs.h.  */
       
  4861 #ifdef __STDC__
       
  4862 # include <limits.h>
       
  4863 #else
       
  4864 # include <assert.h>
       
  4865 #endif
       
  4866 		     Syntax error
       
  4867 _ACEOF
       
  4868 if ac_fn_cxx_try_cpp "$LINENO"; then :
       
  4869 
       
  4870 else
       
  4871   # Broken: fails on valid input.
       
  4872 continue
       
  4873 fi
       
  4874 rm -f conftest.err conftest.i conftest.$ac_ext
       
  4875 
       
  4876   # OK, works on sane cases.  Now check whether nonexistent headers
       
  4877   # can be detected and how.
       
  4878   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
       
  4879 /* end confdefs.h.  */
       
  4880 #include <ac_nonexistent.h>
       
  4881 _ACEOF
       
  4882 if ac_fn_cxx_try_cpp "$LINENO"; then :
       
  4883   # Broken: success on invalid input.
       
  4884 continue
       
  4885 else
       
  4886   # Passes both tests.
       
  4887 ac_preproc_ok=:
       
  4888 break
       
  4889 fi
       
  4890 rm -f conftest.err conftest.i conftest.$ac_ext
       
  4891 
       
  4892 done
       
  4893 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
       
  4894 rm -f conftest.i conftest.err conftest.$ac_ext
       
  4895 if $ac_preproc_ok; then :
       
  4896 
       
  4897 else
       
  4898   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
       
  4899 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
       
  4900 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
       
  4901 See \`config.log' for more details" "$LINENO" 5 ; }
       
  4902 fi
       
  4903 
       
  4904 ac_ext=cpp
       
  4905 ac_cpp='$CXXCPP $CPPFLAGS'
       
  4906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
       
  4907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
       
  4908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       
  4909 
       
  4910 
       
  4911 
       
  4912     if test "$ac_bsp" = yes; then
       
  4913         ac_openssldir='yes'
       
  4914 
       
  4915 
       
  4916 # Check whether --with-openssl was given.
       
  4917 if test "${with_openssl+set}" = set; then :
       
  4918   withval=$with_openssl; ac_openssldir=$withval
       
  4919 fi
       
  4920 
       
  4921 
       
  4922         ac_save_CPPFLAGS="$CPPFLAGS"
       
  4923         ac_save_LDFLAGS="$LDFLAGS"
       
  4924         ac_save_LIBS="$LIBS"
       
  4925 
       
  4926                                                         if test "$ac_openssldir" = yes -a ! x$openssl_cv_include = x ; then
       
  4927             echo "checking for OpenSSL installation... (cached) $openssl_cv_include/openssl/evp.h, $openssl_cv_lib -lcrypto"
       
  4928         else
       
  4929             if test "$ac_openssldir" = system -o \
       
  4930                     "$ac_openssldir" = yes -o \
       
  4931                     "$ac_openssldir" = "" ;
       
  4932             then
       
  4933                 ac_openssldir="/usr/include"
       
  4934 
       
  4935                 openssl_include=$ac_openssldir
       
  4936                 openssl_lib="/usr/lib"
       
  4937             else
       
  4938                 openssl_include=$ac_openssldir/include
       
  4939                 CPPFLAGS="-I$openssl_include"
       
  4940                 openssl_lib=$ac_openssldir/lib
       
  4941                 LDFLAGS="-L$openssl_lib"
       
  4942            fi
       
  4943 
       
  4944         fi
       
  4945 
       
  4946         for ac_header in $openssl_include/openssl/evp.h
       
  4947 do :
       
  4948   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
       
  4949 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
       
  4950 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
       
  4951   cat >>confdefs.h <<_ACEOF
       
  4952 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
       
  4953 _ACEOF
       
  4954 
       
  4955 else
       
  4956   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
       
  4957 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
       
  4958 as_fn_error $? "Cannot find OpenSSL.
       
  4959        On Debian-based Linux systems, you need the 'libssl-dev' package.
       
  4960 See \`config.log' for more details" "$LINENO" 5 ; }
       
  4961 fi
       
  4962 
       
  4963 done
       
  4964 
       
  4965 
       
  4966         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_DigestInit in -lcrypto" >&5
       
  4967 $as_echo_n "checking for EVP_DigestInit in -lcrypto... " >&6; }
       
  4968 if test "${ac_cv_lib_crypto_EVP_DigestInit+set}" = set; then :
       
  4969   $as_echo_n "(cached) " >&6
       
  4970 else
       
  4971   ac_check_lib_save_LIBS=$LIBS
       
  4972 LIBS="-lcrypto  $LIBS"
       
  4973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
       
  4974 /* end confdefs.h.  */
       
  4975 
       
  4976 /* Override any GCC internal prototype to avoid an error.
       
  4977    Use char because int might match the return type of a GCC
       
  4978    builtin and then its argument prototype would still apply.  */
       
  4979 #ifdef __cplusplus
       
  4980 extern "C"
       
  4981 #endif
       
  4982 char EVP_DigestInit ();
       
  4983 int
       
  4984 main ()
       
  4985 {
       
  4986 return EVP_DigestInit ();
       
  4987   ;
       
  4988   return 0;
       
  4989 }
       
  4990 _ACEOF
       
  4991 if ac_fn_cxx_try_link "$LINENO"; then :
       
  4992   ac_cv_lib_crypto_EVP_DigestInit=yes
       
  4993 else
       
  4994   ac_cv_lib_crypto_EVP_DigestInit=no
       
  4995 fi
       
  4996 rm -f core conftest.err conftest.$ac_objext \
       
  4997     conftest$ac_exeext conftest.$ac_ext
       
  4998 LIBS=$ac_check_lib_save_LIBS
       
  4999 fi
       
  5000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_DigestInit" >&5
       
  5001 $as_echo "$ac_cv_lib_crypto_EVP_DigestInit" >&6; }
       
  5002 if test "x$ac_cv_lib_crypto_EVP_DigestInit" = x""yes; then :
       
  5003   cat >>confdefs.h <<_ACEOF
       
  5004 #define HAVE_LIBCRYPTO 1
       
  5005 _ACEOF
       
  5006 
       
  5007   LIBS="-lcrypto $LIBS"
       
  5008 
       
  5009 else
       
  5010   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
       
  5011 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
       
  5012 as_fn_error $? "Cannot find OpenSSL.
       
  5013        On Debian-based Linux systems, you need the 'libssl-dev' package.
       
  5014 See \`config.log' for more details" "$LINENO" 5 ; }
       
  5015 fi
       
  5016 
       
  5017 
       
  5018         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_sha256 in -lcrypto" >&5
       
  5019 $as_echo_n "checking for EVP_sha256 in -lcrypto... " >&6; }
       
  5020 if test "${ac_cv_lib_crypto_EVP_sha256+set}" = set; then :
       
  5021   $as_echo_n "(cached) " >&6
       
  5022 else
       
  5023   ac_check_lib_save_LIBS=$LIBS
       
  5024 LIBS="-lcrypto  $LIBS"
       
  5025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
       
  5026 /* end confdefs.h.  */
       
  5027 
       
  5028 /* Override any GCC internal prototype to avoid an error.
       
  5029    Use char because int might match the return type of a GCC
       
  5030    builtin and then its argument prototype would still apply.  */
       
  5031 #ifdef __cplusplus
       
  5032 extern "C"
       
  5033 #endif
       
  5034 char EVP_sha256 ();
       
  5035 int
       
  5036 main ()
       
  5037 {
       
  5038 return EVP_sha256 ();
       
  5039   ;
       
  5040   return 0;
       
  5041 }
       
  5042 _ACEOF
       
  5043 if ac_fn_cxx_try_link "$LINENO"; then :
       
  5044   ac_cv_lib_crypto_EVP_sha256=yes
       
  5045 else
       
  5046   ac_cv_lib_crypto_EVP_sha256=no
       
  5047 fi
       
  5048 rm -f core conftest.err conftest.$ac_objext \
       
  5049     conftest$ac_exeext conftest.$ac_ext
       
  5050 LIBS=$ac_check_lib_save_LIBS
       
  5051 fi
       
  5052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_sha256" >&5
       
  5053 $as_echo "$ac_cv_lib_crypto_EVP_sha256" >&6; }
       
  5054 if test "x$ac_cv_lib_crypto_EVP_sha256" = x""yes; then :
       
  5055   cat >>confdefs.h <<_ACEOF
       
  5056 #define HAVE_LIBCRYPTO 1
       
  5057 _ACEOF
       
  5058 
       
  5059   LIBS="-lcrypto $LIBS"
       
  5060 
       
  5061 else
       
  5062   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
       
  5063 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
       
  5064 as_fn_error $? "Cannot find EVP_sha256.
       
  5065        On Mac OS X systems, you probably need an updated OpenSSL package, version 0.9.8.
       
  5066        Specify   --with-openssl=/path/to/openssl LDFLAGS=\"-Wl,-search_paths_first\"
       
  5067 See \`config.log' for more details" "$LINENO" 5 ; }
       
  5068 fi
       
  5069 
       
  5070 
       
  5071        if test "$openssl_include" != /usr/include ; then
       
  5072           EXTLIB_CFLAGS="$EXTLIB_CFLAGS -I$openssl_include"
       
  5073        fi
       
  5074 
       
  5075        if test "$openssl_lib" != /usr/lib ; then
       
  5076 	   EXTLIB_LDFLAGS="$EXTLIB_LDFLAGS -L$openssl_lib"
       
  5077        fi
       
  5078 
       
  5079        EXTLIB_LDFLAGS="$EXTLIB_LDFLAGS -lcrypto"
       
  5080 
       
  5081        CPPFLAGS=$ac_save_CPPFLAGS
       
  5082        LDFLAGS=$ac_save_LDFLAGS
       
  5083        LIBS=$ac_save_LIBS
       
  5084     fi
       
  5085 
       
  5086 
       
  5087 # -------------------------------------------------------------------------
       
  5088 # Configure gcc
       
  5089 # -------------------------------------------------------------------------
       
  5090 
       
  5091                     if test ! -z "$host_alias" ; then
       
  5092         TARGET=$host_alias
       
  5093     elif test ! -z "$target_alias" ; then
       
  5094         TARGET=$target_alias
       
  5095     elif test ! -z "$target" ; then
       
  5096         TARGET=$target
       
  5097     else
       
  5098         TARGET=native
       
  5099     fi
       
  5100 
       
  5101 
       
  5102 
       
  5103                 ac_with_cc=$CC
       
  5104 
       
  5105 # Check whether --with-cc was given.
       
  5106 if test "${with_cc+set}" = set; then :
       
  5107   withval=$with_cc; ac_with_cc=$withval
       
  5108 fi
       
  5109 
       
  5110 
       
  5111     ac_with_cxx=$CXX
       
  5112 
       
  5113 # Check whether --with-cxx was given.
       
  5114 if test "${with_cxx+set}" = set; then :
       
  5115   withval=$with_cxx; ac_with_cxx=$withval
       
  5116 fi
       
  5117 
       
  5118 
       
  5119     if test "x$ac_with_cc" = "x" ; then
       
  5120         ac_try_cc="gcc gcc-4.4 gcc-4.3 gcc-4.2 gcc-4.1 gcc-4.0 gcc-3.4 gcc-3.3"
       
  5121         ac_try_cxx="g++ g++-4.4 g++-4.3 g++-4.2 g++-4.1 g++-4.0 g++-3.4 g++-3.3"
       
  5122     else
       
  5123         ac_try_cc=$ac_with_cc
       
  5124 
       
  5125 	if test x"$ac_with_cxx" = x ; then
       
  5126             ac_try_cxx=`echo $ac_with_cc | sed 's/cc/++/'`
       
  5127 	    { $as_echo "$as_me:${as_lineno-$LINENO}: inferring C++ compiler '$ac_try_cxx' from C compiler setting" >&5
       
  5128 $as_echo "$as_me: inferring C++ compiler '$ac_try_cxx' from C compiler setting" >&6;}
       
  5129 	else
       
  5130 	    ac_try_cxx=$ac_with_cxx
       
  5131 	fi
       
  5132 
       
  5133 	CC=$ac_try_cc
       
  5134 	CXX=$ac_try_cxx
       
  5135     fi
       
  5136 
       
  5137                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a C compiler (trying $ac_try_cc)" >&5
       
  5138 $as_echo_n "checking for a C compiler (trying $ac_try_cc)... " >&6; }
       
  5139     { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
       
  5140 $as_echo "" >&6; }
       
  5141     ac_ext=c
       
  5142 ac_cpp='$CPP $CPPFLAGS'
       
  5143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
       
  5144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
       
  5145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
       
  5146 if test -n "$ac_tool_prefix"; then
       
  5147   for ac_prog in $ac_try_cc
       
  5148   do
       
  5149     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
       
  5150 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
       
  5151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
       
  5152 $as_echo_n "checking for $ac_word... " >&6; }
       
  5153 if test "${ac_cv_prog_CC+set}" = set; then :
       
  5154   $as_echo_n "(cached) " >&6
       
  5155 else
       
  5156   if test -n "$CC"; then
       
  5157   ac_cv_prog_CC="$CC" # Let the user override the test.
       
  5158 else
       
  5159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
  5160 for as_dir in $PATH
       
  5161 do
       
  5162   IFS=$as_save_IFS
       
  5163   test -z "$as_dir" && as_dir=.
       
  5164     for ac_exec_ext in '' $ac_executable_extensions; do
       
  5165   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
       
  5166     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
       
  5167     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
       
  5168     break 2
       
  5169   fi
       
  5170 done
       
  5171   done
       
  5172 IFS=$as_save_IFS
       
  5173 
       
  5174 fi
       
  5175 fi
       
  5176 CC=$ac_cv_prog_CC
       
  5177 if test -n "$CC"; then
       
  5178   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
       
  5179 $as_echo "$CC" >&6; }
       
  5180 else
       
  5181   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
       
  5182 $as_echo "no" >&6; }
       
  5183 fi
       
  5184 
       
  5185 
       
  5186     test -n "$CC" && break
       
  5187   done
       
  5188 fi
       
  5189 if test -z "$CC"; then
       
  5190   ac_ct_CC=$CC
       
  5191   for ac_prog in $ac_try_cc
       
  5192 do
       
  5193   # Extract the first word of "$ac_prog", so it can be a program name with args.
       
  5194 set dummy $ac_prog; ac_word=$2
       
  5195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
       
  5196 $as_echo_n "checking for $ac_word... " >&6; }
       
  5197 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
       
  5198   $as_echo_n "(cached) " >&6
       
  5199 else
       
  5200   if test -n "$ac_ct_CC"; then
       
  5201   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
       
  5202 else
       
  5203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
  5204 for as_dir in $PATH
       
  5205 do
       
  5206   IFS=$as_save_IFS
       
  5207   test -z "$as_dir" && as_dir=.
       
  5208     for ac_exec_ext in '' $ac_executable_extensions; do
       
  5209   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
       
  5210     ac_cv_prog_ac_ct_CC="$ac_prog"
       
  5211     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
       
  5212     break 2
       
  5213   fi
       
  5214 done
       
  5215   done
       
  5216 IFS=$as_save_IFS
       
  5217 
       
  5218 fi
       
  5219 fi
       
  5220 ac_ct_CC=$ac_cv_prog_ac_ct_CC
       
  5221 if test -n "$ac_ct_CC"; then
       
  5222   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
       
  5223 $as_echo "$ac_ct_CC" >&6; }
       
  5224 else
       
  5225   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
       
  5226 $as_echo "no" >&6; }
       
  5227 fi
       
  5228 
       
  5229 
       
  5230   test -n "$ac_ct_CC" && break
       
  5231 done
       
  5232 
       
  5233   if test "x$ac_ct_CC" = x; then
       
  5234     CC=""
       
  5235   else
       
  5236     case $cross_compiling:$ac_tool_warned in
       
  5237 yes:)
       
  5238 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
       
  5239 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
       
  5240 ac_tool_warned=yes ;;
       
  5241 esac
       
  5242     CC=$ac_ct_CC
       
  5243   fi
       
  5244 fi
       
  5245 
       
  5246 
       
  5247 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
       
  5248 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
       
  5249 as_fn_error $? "no acceptable C compiler found in \$PATH
       
  5250 See \`config.log' for more details" "$LINENO" 5 ; }
       
  5251 
       
  5252 # Provide some information about the compiler.
       
  5253 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
       
  5254 set X $ac_compile
       
  5255 ac_compiler=$2
       
  5256 for ac_option in --version -v -V -qversion; do
       
  5257   { { ac_try="$ac_compiler $ac_option >&5"
       
  5258 case "(($ac_try" in
       
  5259   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  5260   *) ac_try_echo=$ac_try;;
       
  5261 esac
       
  5262 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
       
  5263 $as_echo "$ac_try_echo"; } >&5
       
  5264   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
       
  5265   ac_status=$?
       
  5266   if test -s conftest.err; then
       
  5267     sed '10a\
       
  5268 ... rest of stderr output deleted ...
       
  5269          10q' conftest.err >conftest.er1
       
  5270     cat conftest.er1 >&5
       
  5271   fi
       
  5272   rm -f conftest.er1 conftest.err
       
  5273   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
       
  5274   test $ac_status = 0; }
       
  5275 done
       
  5276 
       
  5277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
       
  5278 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
       
  5279 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
       
  5280   $as_echo_n "(cached) " >&6
       
  5281 else
       
  5282   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
       
  5283 /* end confdefs.h.  */
       
  5284 
       
  5285 int
       
  5286 main ()
       
  5287 {
       
  5288 #ifndef __GNUC__
       
  5289        choke me
       
  5290 #endif
       
  5291 
       
  5292   ;
       
  5293   return 0;
       
  5294 }
       
  5295 _ACEOF
       
  5296 if ac_fn_c_try_compile "$LINENO"; then :
       
  5297   ac_compiler_gnu=yes
       
  5298 else
       
  5299   ac_compiler_gnu=no
       
  5300 fi
       
  5301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  5302 ac_cv_c_compiler_gnu=$ac_compiler_gnu
       
  5303 
       
  5304 fi
       
  5305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
       
  5306 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
       
  5307 if test $ac_compiler_gnu = yes; then
       
  5308   GCC=yes
       
  5309 else
       
  5310   GCC=
       
  5311 fi
       
  5312 ac_test_CFLAGS=${CFLAGS+set}
       
  5313 ac_save_CFLAGS=$CFLAGS
       
  5314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
       
  5315 $as_echo_n "checking whether $CC accepts -g... " >&6; }
       
  5316 if test "${ac_cv_prog_cc_g+set}" = set; then :
       
  5317   $as_echo_n "(cached) " >&6
       
  5318 else
       
  5319   ac_save_c_werror_flag=$ac_c_werror_flag
       
  5320    ac_c_werror_flag=yes
       
  5321    ac_cv_prog_cc_g=no
       
  5322    CFLAGS="-g"
       
  5323    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
       
  5324 /* end confdefs.h.  */
       
  5325 
       
  5326 int
       
  5327 main ()
       
  5328 {
       
  5329 
       
  5330   ;
       
  5331   return 0;
       
  5332 }
       
  5333 _ACEOF
       
  5334 if ac_fn_c_try_compile "$LINENO"; then :
       
  5335   ac_cv_prog_cc_g=yes
       
  5336 else
       
  5337   CFLAGS=""
       
  5338       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
       
  5339 /* end confdefs.h.  */
       
  5340 
       
  5341 int
       
  5342 main ()
       
  5343 {
       
  5344 
       
  5345   ;
       
  5346   return 0;
       
  5347 }
       
  5348 _ACEOF
       
  5349 if ac_fn_c_try_compile "$LINENO"; then :
       
  5350 
       
  5351 else
       
  5352   ac_c_werror_flag=$ac_save_c_werror_flag
       
  5353 	 CFLAGS="-g"
       
  5354 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
       
  5355 /* end confdefs.h.  */
       
  5356 
       
  5357 int
       
  5358 main ()
       
  5359 {
       
  5360 
       
  5361   ;
       
  5362   return 0;
       
  5363 }
       
  5364 _ACEOF
       
  5365 if ac_fn_c_try_compile "$LINENO"; then :
       
  5366   ac_cv_prog_cc_g=yes
       
  5367 fi
       
  5368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  5369 fi
       
  5370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  5371 fi
       
  5372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  5373    ac_c_werror_flag=$ac_save_c_werror_flag
       
  5374 fi
       
  5375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
       
  5376 $as_echo "$ac_cv_prog_cc_g" >&6; }
       
  5377 if test "$ac_test_CFLAGS" = set; then
       
  5378   CFLAGS=$ac_save_CFLAGS
       
  5379 elif test $ac_cv_prog_cc_g = yes; then
       
  5380   if test "$GCC" = yes; then
       
  5381     CFLAGS="-g -O2"
       
  5382   else
       
  5383     CFLAGS="-g"
       
  5384   fi
       
  5385 else
       
  5386   if test "$GCC" = yes; then
       
  5387     CFLAGS="-O2"
       
  5388   else
       
  5389     CFLAGS=
       
  5390   fi
       
  5391 fi
       
  5392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
       
  5393 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
       
  5394 if test "${ac_cv_prog_cc_c89+set}" = set; then :
       
  5395   $as_echo_n "(cached) " >&6
       
  5396 else
       
  5397   ac_cv_prog_cc_c89=no
       
  5398 ac_save_CC=$CC
       
  5399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
       
  5400 /* end confdefs.h.  */
       
  5401 #include <stdarg.h>
       
  5402 #include <stdio.h>
       
  5403 #include <sys/types.h>
       
  5404 #include <sys/stat.h>
       
  5405 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
       
  5406 struct buf { int x; };
       
  5407 FILE * (*rcsopen) (struct buf *, struct stat *, int);
       
  5408 static char *e (p, i)
       
  5409      char **p;
       
  5410      int i;
       
  5411 {
       
  5412   return p[i];
       
  5413 }
       
  5414 static char *f (char * (*g) (char **, int), char **p, ...)
       
  5415 {
       
  5416   char *s;
       
  5417   va_list v;
       
  5418   va_start (v,p);
       
  5419   s = g (p, va_arg (v,int));
       
  5420   va_end (v);
       
  5421   return s;
       
  5422 }
       
  5423 
       
  5424 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
       
  5425    function prototypes and stuff, but not '\xHH' hex character constants.
       
  5426    These don't provoke an error unfortunately, instead are silently treated
       
  5427    as 'x'.  The following induces an error, until -std is added to get
       
  5428    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
       
  5429    array size at least.  It's necessary to write '\x00'==0 to get something
       
  5430    that's true only with -std.  */
       
  5431 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
       
  5432 
       
  5433 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
       
  5434    inside strings and character constants.  */
       
  5435 #define FOO(x) 'x'
       
  5436 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
       
  5437 
       
  5438 int test (int i, double x);
       
  5439 struct s1 {int (*f) (int a);};
       
  5440 struct s2 {int (*f) (double a);};
       
  5441 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
       
  5442 int argc;
       
  5443 char **argv;
       
  5444 int
       
  5445 main ()
       
  5446 {
       
  5447 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
       
  5448   ;
       
  5449   return 0;
       
  5450 }
       
  5451 _ACEOF
       
  5452 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
       
  5453 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
       
  5454 do
       
  5455   CC="$ac_save_CC $ac_arg"
       
  5456   if ac_fn_c_try_compile "$LINENO"; then :
       
  5457   ac_cv_prog_cc_c89=$ac_arg
       
  5458 fi
       
  5459 rm -f core conftest.err conftest.$ac_objext
       
  5460   test "x$ac_cv_prog_cc_c89" != "xno" && break
       
  5461 done
       
  5462 rm -f conftest.$ac_ext
       
  5463 CC=$ac_save_CC
       
  5464 
       
  5465 fi
       
  5466 # AC_CACHE_VAL
       
  5467 case "x$ac_cv_prog_cc_c89" in
       
  5468   x)
       
  5469     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
       
  5470 $as_echo "none needed" >&6; } ;;
       
  5471   xno)
       
  5472     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
       
  5473 $as_echo "unsupported" >&6; } ;;
       
  5474   *)
       
  5475     CC="$CC $ac_cv_prog_cc_c89"
       
  5476     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
       
  5477 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
       
  5478 esac
       
  5479 if test "x$ac_cv_prog_cc_c89" != xno; then :
       
  5480 
       
  5481 fi
       
  5482 
       
  5483 ac_ext=cpp
       
  5484 ac_cpp='$CXXCPP $CPPFLAGS'
       
  5485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
       
  5486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
       
  5487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       
  5488 
       
  5489 
       
  5490     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a C++ compiler (trying $ac_try_cxx)" >&5
       
  5491 $as_echo_n "checking for a C++ compiler (trying $ac_try_cxx)... " >&6; }
       
  5492     { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
       
  5493 $as_echo "" >&6; }
       
  5494     ac_ext=cpp
       
  5495 ac_cpp='$CXXCPP $CPPFLAGS'
       
  5496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
       
  5497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
       
  5498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       
  5499 if test -z "$CXX"; then
       
  5500   if test -n "$CCC"; then
       
  5501     CXX=$CCC
       
  5502   else
       
  5503     if test -n "$ac_tool_prefix"; then
       
  5504   for ac_prog in $ac_try_cxx
       
  5505   do
       
  5506     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
       
  5507 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
       
  5508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
       
  5509 $as_echo_n "checking for $ac_word... " >&6; }
       
  5510 if test "${ac_cv_prog_CXX+set}" = set; then :
       
  5511   $as_echo_n "(cached) " >&6
       
  5512 else
       
  5513   if test -n "$CXX"; then
       
  5514   ac_cv_prog_CXX="$CXX" # Let the user override the test.
       
  5515 else
       
  5516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
  5517 for as_dir in $PATH
       
  5518 do
       
  5519   IFS=$as_save_IFS
       
  5520   test -z "$as_dir" && as_dir=.
       
  5521     for ac_exec_ext in '' $ac_executable_extensions; do
       
  5522   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
       
  5523     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
       
  5524     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
       
  5525     break 2
       
  5526   fi
       
  5527 done
       
  5528   done
       
  5529 IFS=$as_save_IFS
       
  5530 
       
  5531 fi
       
  5532 fi
       
  5533 CXX=$ac_cv_prog_CXX
       
  5534 if test -n "$CXX"; then
       
  5535   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
       
  5536 $as_echo "$CXX" >&6; }
       
  5537 else
       
  5538   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
       
  5539 $as_echo "no" >&6; }
       
  5540 fi
       
  5541 
       
  5542 
       
  5543     test -n "$CXX" && break
       
  5544   done
       
  5545 fi
       
  5546 if test -z "$CXX"; then
       
  5547   ac_ct_CXX=$CXX
       
  5548   for ac_prog in $ac_try_cxx
       
  5549 do
       
  5550   # Extract the first word of "$ac_prog", so it can be a program name with args.
       
  5551 set dummy $ac_prog; ac_word=$2
       
  5552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
       
  5553 $as_echo_n "checking for $ac_word... " >&6; }
       
  5554 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
       
  5555   $as_echo_n "(cached) " >&6
       
  5556 else
       
  5557   if test -n "$ac_ct_CXX"; then
       
  5558   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # 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_ac_ct_CXX="$ac_prog"
       
  5568     $as_echo "$as_me:${as_lineno-$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 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
       
  5578 if test -n "$ac_ct_CXX"; then
       
  5579   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
       
  5580 $as_echo "$ac_ct_CXX" >&6; }
       
  5581 else
       
  5582   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
       
  5583 $as_echo "no" >&6; }
       
  5584 fi
       
  5585 
       
  5586 
       
  5587   test -n "$ac_ct_CXX" && break
       
  5588 done
       
  5589 
       
  5590   if test "x$ac_ct_CXX" = x; then
       
  5591     CXX="g++"
       
  5592   else
       
  5593     case $cross_compiling:$ac_tool_warned in
       
  5594 yes:)
       
  5595 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
       
  5596 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
       
  5597 ac_tool_warned=yes ;;
       
  5598 esac
       
  5599     CXX=$ac_ct_CXX
       
  5600   fi
       
  5601 fi
       
  5602 
       
  5603   fi
       
  5604 fi
       
  5605 # Provide some information about the compiler.
       
  5606 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
       
  5607 set X $ac_compile
       
  5608 ac_compiler=$2
       
  5609 for ac_option in --version -v -V -qversion; do
       
  5610   { { ac_try="$ac_compiler $ac_option >&5"
       
  5611 case "(($ac_try" in
       
  5612   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  5613   *) ac_try_echo=$ac_try;;
       
  5614 esac
       
  5615 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
       
  5616 $as_echo "$ac_try_echo"; } >&5
       
  5617   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
       
  5618   ac_status=$?
       
  5619   if test -s conftest.err; then
       
  5620     sed '10a\
       
  5621 ... rest of stderr output deleted ...
       
  5622          10q' conftest.err >conftest.er1
       
  5623     cat conftest.er1 >&5
       
  5624   fi
       
  5625   rm -f conftest.er1 conftest.err
       
  5626   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
       
  5627   test $ac_status = 0; }
       
  5628 done
       
  5629 
       
  5630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
       
  5631 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
       
  5632 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
       
  5633   $as_echo_n "(cached) " >&6
       
  5634 else
       
  5635   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
       
  5636 /* end confdefs.h.  */
       
  5637 
       
  5638 int
       
  5639 main ()
       
  5640 {
       
  5641 #ifndef __GNUC__
       
  5642        choke me
       
  5643 #endif
       
  5644 
       
  5645   ;
       
  5646   return 0;
       
  5647 }
       
  5648 _ACEOF
       
  5649 if ac_fn_cxx_try_compile "$LINENO"; then :
       
  5650   ac_compiler_gnu=yes
       
  5651 else
       
  5652   ac_compiler_gnu=no
       
  5653 fi
       
  5654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  5655 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
       
  5656 
       
  5657 fi
       
  5658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
       
  5659 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
       
  5660 if test $ac_compiler_gnu = yes; then
       
  5661   GXX=yes
       
  5662 else
       
  5663   GXX=
       
  5664 fi
       
  5665 ac_test_CXXFLAGS=${CXXFLAGS+set}
       
  5666 ac_save_CXXFLAGS=$CXXFLAGS
       
  5667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
       
  5668 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
       
  5669 if test "${ac_cv_prog_cxx_g+set}" = set; then :
       
  5670   $as_echo_n "(cached) " >&6
       
  5671 else
       
  5672   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
       
  5673    ac_cxx_werror_flag=yes
       
  5674    ac_cv_prog_cxx_g=no
       
  5675    CXXFLAGS="-g"
       
  5676    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
       
  5677 /* end confdefs.h.  */
       
  5678 
       
  5679 int
       
  5680 main ()
       
  5681 {
       
  5682 
       
  5683   ;
       
  5684   return 0;
       
  5685 }
       
  5686 _ACEOF
       
  5687 if ac_fn_cxx_try_compile "$LINENO"; then :
       
  5688   ac_cv_prog_cxx_g=yes
       
  5689 else
       
  5690   CXXFLAGS=""
       
  5691       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
       
  5692 /* end confdefs.h.  */
       
  5693 
       
  5694 int
       
  5695 main ()
       
  5696 {
       
  5697 
       
  5698   ;
       
  5699   return 0;
       
  5700 }
       
  5701 _ACEOF
       
  5702 if ac_fn_cxx_try_compile "$LINENO"; then :
       
  5703 
       
  5704 else
       
  5705   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
       
  5706 	 CXXFLAGS="-g"
       
  5707 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
       
  5708 /* end confdefs.h.  */
       
  5709 
       
  5710 int
       
  5711 main ()
       
  5712 {
       
  5713 
       
  5714   ;
       
  5715   return 0;
       
  5716 }
       
  5717 _ACEOF
       
  5718 if ac_fn_cxx_try_compile "$LINENO"; then :
       
  5719   ac_cv_prog_cxx_g=yes
       
  5720 fi
       
  5721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  5722 fi
       
  5723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  5724 fi
       
  5725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  5726    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
       
  5727 fi
       
  5728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
       
  5729 $as_echo "$ac_cv_prog_cxx_g" >&6; }
       
  5730 if test "$ac_test_CXXFLAGS" = set; then
       
  5731   CXXFLAGS=$ac_save_CXXFLAGS
       
  5732 elif test $ac_cv_prog_cxx_g = yes; then
       
  5733   if test "$GXX" = yes; then
       
  5734     CXXFLAGS="-g -O2"
       
  5735   else
       
  5736     CXXFLAGS="-g"
       
  5737   fi
       
  5738 else
       
  5739   if test "$GXX" = yes; then
       
  5740     CXXFLAGS="-O2"
       
  5741   else
       
  5742     CXXFLAGS=
       
  5743   fi
       
  5744 fi
       
  5745 ac_ext=cpp
       
  5746 ac_cpp='$CXXCPP $CPPFLAGS'
       
  5747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
       
  5748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
       
  5749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       
  5750 
       
  5751 
       
  5752                     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
       
  5753 $as_echo_n "checking whether the C++ compiler works... " >&6; }
       
  5754     ac_ext=cpp
       
  5755 ac_cpp='$CXXCPP $CPPFLAGS'
       
  5756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
       
  5757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
       
  5758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       
  5759 
       
  5760     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
       
  5761 /* end confdefs.h.  */
       
  5762 /*nothing*/
       
  5763 int
       
  5764 main ()
       
  5765 {
       
  5766 /*nothing*/
       
  5767   ;
       
  5768   return 0;
       
  5769 }
       
  5770 _ACEOF
       
  5771 if ac_fn_cxx_try_link "$LINENO"; then :
       
  5772   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
       
  5773 $as_echo "yes" >&6; }
       
  5774 else
       
  5775   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
       
  5776 $as_echo "no" >&6; }
       
  5777 		   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
       
  5778 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
       
  5779 as_fn_error $? "C++ compiler does not work
       
  5780 See \`config.log' for more details" "$LINENO" 5 ; }
       
  5781 fi
       
  5782 rm -f core conftest.err conftest.$ac_objext \
       
  5783     conftest$ac_exeext conftest.$ac_ext
       
  5784     ac_ext=cpp
       
  5785 ac_cpp='$CXXCPP $CPPFLAGS'
       
  5786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
       
  5787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
       
  5788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       
  5789 
       
  5790 
       
  5791                 ac_ext=c
       
  5792 ac_cpp='$CPP $CPPFLAGS'
       
  5793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
       
  5794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
       
  5795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
       
  5796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
       
  5797 $as_echo_n "checking how to run the C preprocessor... " >&6; }
       
  5798 # On Suns, sometimes $CPP names a directory.
       
  5799 if test -n "$CPP" && test -d "$CPP"; then
       
  5800   CPP=
       
  5801 fi
       
  5802 if test -z "$CPP"; then
       
  5803   if test "${ac_cv_prog_CPP+set}" = set; then :
       
  5804   $as_echo_n "(cached) " >&6
       
  5805 else
       
  5806       # Double quotes because CPP needs to be expanded
       
  5807     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
       
  5808     do
       
  5809       ac_preproc_ok=false
       
  5810 for ac_c_preproc_warn_flag in '' yes
       
  5811 do
       
  5812   # Use a header file that comes with gcc, so configuring glibc
       
  5813   # with a fresh cross-compiler works.
       
  5814   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
       
  5815   # <limits.h> exists even on freestanding compilers.
       
  5816   # On the NeXT, cc -E runs the code through the compiler's parser,
       
  5817   # not just through cpp. "Syntax error" is here to catch this case.
       
  5818   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
       
  5819 /* end confdefs.h.  */
       
  5820 #ifdef __STDC__
       
  5821 # include <limits.h>
       
  5822 #else
       
  5823 # include <assert.h>
       
  5824 #endif
       
  5825 		     Syntax error
       
  5826 _ACEOF
       
  5827 if ac_fn_c_try_cpp "$LINENO"; then :
       
  5828 
       
  5829 else
       
  5830   # Broken: fails on valid input.
       
  5831 continue
       
  5832 fi
       
  5833 rm -f conftest.err conftest.i conftest.$ac_ext
       
  5834 
       
  5835   # OK, works on sane cases.  Now check whether nonexistent headers
       
  5836   # can be detected and how.
       
  5837   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
       
  5838 /* end confdefs.h.  */
       
  5839 #include <ac_nonexistent.h>
       
  5840 _ACEOF
       
  5841 if ac_fn_c_try_cpp "$LINENO"; then :
       
  5842   # Broken: success on invalid input.
       
  5843 continue
       
  5844 else
       
  5845   # Passes both tests.
       
  5846 ac_preproc_ok=:
       
  5847 break
       
  5848 fi
       
  5849 rm -f conftest.err conftest.i conftest.$ac_ext
       
  5850 
       
  5851 done
       
  5852 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
       
  5853 rm -f conftest.i conftest.err conftest.$ac_ext
       
  5854 if $ac_preproc_ok; then :
       
  5855   break
       
  5856 fi
       
  5857 
       
  5858     done
       
  5859     ac_cv_prog_CPP=$CPP
       
  5860 
       
  5861 fi
       
  5862   CPP=$ac_cv_prog_CPP
       
  5863 else
       
  5864   ac_cv_prog_CPP=$CPP
       
  5865 fi
       
  5866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
       
  5867 $as_echo "$CPP" >&6; }
       
  5868 ac_preproc_ok=false
       
  5869 for ac_c_preproc_warn_flag in '' yes
       
  5870 do
       
  5871   # Use a header file that comes with gcc, so configuring glibc
       
  5872   # with a fresh cross-compiler works.
       
  5873   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
       
  5874   # <limits.h> exists even on freestanding compilers.
       
  5875   # On the NeXT, cc -E runs the code through the compiler's parser,
       
  5876   # not just through cpp. "Syntax error" is here to catch this case.
       
  5877   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
       
  5878 /* end confdefs.h.  */
       
  5879 #ifdef __STDC__
       
  5880 # include <limits.h>
       
  5881 #else
       
  5882 # include <assert.h>
       
  5883 #endif
       
  5884 		     Syntax error
       
  5885 _ACEOF
       
  5886 if ac_fn_c_try_cpp "$LINENO"; then :
       
  5887 
       
  5888 else
       
  5889   # Broken: fails on valid input.
       
  5890 continue
       
  5891 fi
       
  5892 rm -f conftest.err conftest.i conftest.$ac_ext
       
  5893 
       
  5894   # OK, works on sane cases.  Now check whether nonexistent headers
       
  5895   # can be detected and how.
       
  5896   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
       
  5897 /* end confdefs.h.  */
       
  5898 #include <ac_nonexistent.h>
       
  5899 _ACEOF
       
  5900 if ac_fn_c_try_cpp "$LINENO"; then :
       
  5901   # Broken: success on invalid input.
       
  5902 continue
       
  5903 else
       
  5904   # Passes both tests.
       
  5905 ac_preproc_ok=:
       
  5906 break
       
  5907 fi
       
  5908 rm -f conftest.err conftest.i conftest.$ac_ext
       
  5909 
       
  5910 done
       
  5911 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
       
  5912 rm -f conftest.i conftest.err conftest.$ac_ext
       
  5913 if $ac_preproc_ok; then :
       
  5914 
       
  5915 else
       
  5916   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
       
  5917 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
       
  5918 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
       
  5919 See \`config.log' for more details" "$LINENO" 5 ; }
       
  5920 fi
       
  5921 
       
  5922 ac_ext=cpp
       
  5923 ac_cpp='$CXXCPP $CPPFLAGS'
       
  5924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
       
  5925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
       
  5926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       
  5927 
       
  5928 
       
  5929                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the version of the GNU C compiler" >&5
       
  5930 $as_echo_n "checking for the version of the GNU C compiler... " >&6; }
       
  5931 if test "${oasys_cv_prog_gccver+set}" = set; then :
       
  5932   $as_echo_n "(cached) " >&6
       
  5933 else
       
  5934 
       
  5935       oasys_cv_prog_gccver=`$CC -dumpversion | cut -d. -f1-2`
       
  5936 
       
  5937 fi
       
  5938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $oasys_cv_prog_gccver" >&5
       
  5939 $as_echo "$oasys_cv_prog_gccver" >&6; }
       
  5940 
       
  5941     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the version of the GNU C++ compiler" >&5
       
  5942 $as_echo_n "checking for the version of the GNU C++ compiler... " >&6; }
       
  5943 if test "${oasys_cv_prog_gxxver+set}" = set; then :
       
  5944   $as_echo_n "(cached) " >&6
       
  5945 else
       
  5946 
       
  5947       oasys_cv_prog_gxxver=`$CXX -dumpversion | cut -d. -f1-2`
       
  5948 
       
  5949 fi
       
  5950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $oasys_cv_prog_gxxver" >&5
       
  5951 $as_echo "$oasys_cv_prog_gxxver" >&6; }
       
  5952 
       
  5953     if test $oasys_cv_prog_gccver != $oasys_cv_prog_gxxver ; then
       
  5954         echo "*** "
       
  5955 	echo "*** warning: C compiler version $oasys_cv_prog_gccver doesn't equal"
       
  5956 	echo "***          C++ compiler version $oasys_cv_prog_gxxver"
       
  5957         echo "*** "
       
  5958     fi
       
  5959 
       
  5960     #
       
  5961     # Set version-specific compiler options
       
  5962     #
       
  5963     case "$oasys_cv_prog_gccver" in
       
  5964         #
       
  5965         # for gcc 2.9.X and 3.1, the auto-dependency features don't work, and
       
  5966         # _GNU_SOURCE isn't defined, so do both those things here
       
  5967         #
       
  5968         3.1*|2.9*)
       
  5969             CFLAGS="$CFLAGS -D_GNU_SOURCE"
       
  5970 	    DEPFLAGS=""
       
  5971             echo "*** "
       
  5972 	    echo "*** warning: using old compiler $cc version $oasys_cv_prog_gccver,"
       
  5973 	    echo "***          automatic dependency generation will not work"
       
  5974             echo "*** "
       
  5975 	    ;;
       
  5976 	#
       
  5977 	# For 3.2 and beyond, use auto-dependency flags.
       
  5978 	# Note that for m4 to output a '$' requires the '$' heinosity below.
       
  5979 	#
       
  5980 	3.*|4.*)
       
  5981 	    DEPFLAGS='-MMD -MP -MT "$*.o $*.E"'
       
  5982 	    ;;
       
  5983 	#
       
  5984 	# Otherwise bail
       
  5985 	#
       
  5986         *)
       
  5987 	    echo "error: unsupported compiler version $oasys_cv_prog_gccver"
       
  5988 	    exit  1
       
  5989 	    ;;
       
  5990     esac
       
  5991 
       
  5992 
       
  5993                 if test -n "$ac_tool_prefix"; then
       
  5994   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
       
  5995 set dummy ${ac_tool_prefix}ar; ac_word=$2
       
  5996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
       
  5997 $as_echo_n "checking for $ac_word... " >&6; }
       
  5998 if test "${ac_cv_prog_AR+set}" = set; then :
       
  5999   $as_echo_n "(cached) " >&6
       
  6000 else
       
  6001   if test -n "$AR"; then
       
  6002   ac_cv_prog_AR="$AR" # Let the user override the test.
       
  6003 else
       
  6004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
  6005 for as_dir in $PATH
       
  6006 do
       
  6007   IFS=$as_save_IFS
       
  6008   test -z "$as_dir" && as_dir=.
       
  6009     for ac_exec_ext in '' $ac_executable_extensions; do
       
  6010   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
       
  6011     ac_cv_prog_AR="${ac_tool_prefix}ar"
       
  6012     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
       
  6013     break 2
       
  6014   fi
       
  6015 done
       
  6016   done
       
  6017 IFS=$as_save_IFS
       
  6018 
       
  6019 fi
       
  6020 fi
       
  6021 AR=$ac_cv_prog_AR
       
  6022 if test -n "$AR"; then
       
  6023   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
       
  6024 $as_echo "$AR" >&6; }
       
  6025 else
       
  6026   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
       
  6027 $as_echo "no" >&6; }
       
  6028 fi
       
  6029 
       
  6030 
       
  6031 fi
       
  6032 if test -z "$ac_cv_prog_AR"; then
       
  6033   ac_ct_AR=$AR
       
  6034   # Extract the first word of "ar", so it can be a program name with args.
       
  6035 set dummy ar; ac_word=$2
       
  6036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
       
  6037 $as_echo_n "checking for $ac_word... " >&6; }
       
  6038 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
       
  6039   $as_echo_n "(cached) " >&6
       
  6040 else
       
  6041   if test -n "$ac_ct_AR"; then
       
  6042   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
       
  6043 else
       
  6044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
  6045 for as_dir in $PATH
       
  6046 do
       
  6047   IFS=$as_save_IFS
       
  6048   test -z "$as_dir" && as_dir=.
       
  6049     for ac_exec_ext in '' $ac_executable_extensions; do
       
  6050   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
       
  6051     ac_cv_prog_ac_ct_AR="ar"
       
  6052     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
       
  6053     break 2
       
  6054   fi
       
  6055 done
       
  6056   done
       
  6057 IFS=$as_save_IFS
       
  6058 
       
  6059 fi
       
  6060 fi
       
  6061 ac_ct_AR=$ac_cv_prog_ac_ct_AR
       
  6062 if test -n "$ac_ct_AR"; then
       
  6063   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
       
  6064 $as_echo "$ac_ct_AR" >&6; }
       
  6065 else
       
  6066   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
       
  6067 $as_echo "no" >&6; }
       
  6068 fi
       
  6069 
       
  6070   if test "x$ac_ct_AR" = x; then
       
  6071     AR=""
       
  6072   else
       
  6073     case $cross_compiling:$ac_tool_warned in
       
  6074 yes:)
       
  6075 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
       
  6076 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
       
  6077 ac_tool_warned=yes ;;
       
  6078 esac
       
  6079     AR=$ac_ct_AR
       
  6080   fi
       
  6081 else
       
  6082   AR="$ac_cv_prog_AR"
       
  6083 fi
       
  6084 
       
  6085     if test -n "$ac_tool_prefix"; then
       
  6086   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
       
  6087 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
       
  6088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
       
  6089 $as_echo_n "checking for $ac_word... " >&6; }
       
  6090 if test "${ac_cv_prog_RANLIB+set}" = set; then :
       
  6091   $as_echo_n "(cached) " >&6
       
  6092 else
       
  6093   if test -n "$RANLIB"; then
       
  6094   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
       
  6095 else
       
  6096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
  6097 for as_dir in $PATH
       
  6098 do
       
  6099   IFS=$as_save_IFS
       
  6100   test -z "$as_dir" && as_dir=.
       
  6101     for ac_exec_ext in '' $ac_executable_extensions; do
       
  6102   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
       
  6103     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
       
  6104     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
       
  6105     break 2
       
  6106   fi
       
  6107 done
       
  6108   done
       
  6109 IFS=$as_save_IFS
       
  6110 
       
  6111 fi
       
  6112 fi
       
  6113 RANLIB=$ac_cv_prog_RANLIB
       
  6114 if test -n "$RANLIB"; then
       
  6115   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
       
  6116 $as_echo "$RANLIB" >&6; }
       
  6117 else
       
  6118   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
       
  6119 $as_echo "no" >&6; }
       
  6120 fi
       
  6121 
       
  6122 
       
  6123 fi
       
  6124 if test -z "$ac_cv_prog_RANLIB"; then
       
  6125   ac_ct_RANLIB=$RANLIB
       
  6126   # Extract the first word of "ranlib", so it can be a program name with args.
       
  6127 set dummy ranlib; ac_word=$2
       
  6128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
       
  6129 $as_echo_n "checking for $ac_word... " >&6; }
       
  6130 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
       
  6131   $as_echo_n "(cached) " >&6
       
  6132 else
       
  6133   if test -n "$ac_ct_RANLIB"; then
       
  6134   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
       
  6135 else
       
  6136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
  6137 for as_dir in $PATH
       
  6138 do
       
  6139   IFS=$as_save_IFS
       
  6140   test -z "$as_dir" && as_dir=.
       
  6141     for ac_exec_ext in '' $ac_executable_extensions; do
       
  6142   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
       
  6143     ac_cv_prog_ac_ct_RANLIB="ranlib"
       
  6144     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
       
  6145     break 2
       
  6146   fi
       
  6147 done
       
  6148   done
       
  6149 IFS=$as_save_IFS
       
  6150 
       
  6151 fi
       
  6152 fi
       
  6153 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
       
  6154 if test -n "$ac_ct_RANLIB"; then
       
  6155   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
       
  6156 $as_echo "$ac_ct_RANLIB" >&6; }
       
  6157 else
       
  6158   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
       
  6159 $as_echo "no" >&6; }
       
  6160 fi
       
  6161 
       
  6162   if test "x$ac_ct_RANLIB" = x; then
       
  6163     RANLIB=""
       
  6164   else
       
  6165     case $cross_compiling:$ac_tool_warned in
       
  6166 yes:)
       
  6167 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
       
  6168 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
       
  6169 ac_tool_warned=yes ;;
       
  6170 esac
       
  6171     RANLIB=$ac_ct_RANLIB
       
  6172   fi
       
  6173 else
       
  6174   RANLIB="$ac_cv_prog_RANLIB"
       
  6175 fi
       
  6176 
       
  6177 
       
  6178     if test -z "$AR" ; then
       
  6179        as_fn_error $? "can't find a working ar tool" "$LINENO" 5
       
  6180     fi
       
  6181 
       
  6182 
       
  6183                     # Check whether --enable-debug was given.
       
  6184 if test "${enable_debug+set}" = set; then :
       
  6185   enableval=$enable_debug; debug=$enableval
       
  6186 else
       
  6187   debug=yes
       
  6188 fi
       
  6189 
       
  6190 
       
  6191     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to compile with debugging" >&5
       
  6192 $as_echo_n "checking whether to compile with debugging... " >&6; }
       
  6193     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $debug" >&5
       
  6194 $as_echo "$debug" >&6; }
       
  6195 
       
  6196     DEBUG=
       
  6197     if test $debug = yes ; then
       
  6198         DEBUG="-g -fno-inline"
       
  6199     else
       
  6200         DEBUG="-DNDEBUG"
       
  6201     fi
       
  6202 
       
  6203 
       
  6204                     # Check whether --enable-debug_memory was given.
       
  6205 if test "${enable_debug_memory+set}" = set; then :
       
  6206   enableval=$enable_debug_memory; debug_memory=$enableval
       
  6207 else
       
  6208   debug_memory=no
       
  6209 fi
       
  6210 
       
  6211 
       
  6212     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to compile with memory debugging" >&5
       
  6213 $as_echo_n "checking whether to compile with memory debugging... " >&6; }
       
  6214     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $debug_memory" >&5
       
  6215 $as_echo "$debug_memory" >&6; }
       
  6216 
       
  6217     if test $debug_memory = yes ; then
       
  6218 
       
  6219 cat >>confdefs.h <<_ACEOF
       
  6220 #define OASYS_DEBUG_MEMORY_ENABLED 1
       
  6221 _ACEOF
       
  6222 
       
  6223     fi
       
  6224 
       
  6225                     # Check whether --enable-debug_locking was given.
       
  6226 if test "${enable_debug_locking+set}" = set; then :
       
  6227   enableval=$enable_debug_locking; debug_locking=$enableval
       
  6228 else
       
  6229   debug_locking=$debug
       
  6230 fi
       
  6231 
       
  6232 
       
  6233     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to compile with lock debugging (default $debug)" >&5
       
  6234 $as_echo_n "checking whether to compile with lock debugging (default $debug)... " >&6; }
       
  6235     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $debug_locking" >&5
       
  6236 $as_echo "$debug_locking" >&6; }
       
  6237 
       
  6238     if test $debug_locking = yes ; then
       
  6239 
       
  6240 cat >>confdefs.h <<_ACEOF
       
  6241 #define OASYS_DEBUG_LOCKING_ENABLED 1
       
  6242 _ACEOF
       
  6243 
       
  6244     fi
       
  6245 
       
  6246                     optimize=yes
       
  6247     # Check whether --enable-optimize was given.
       
  6248 if test "${enable_optimize+set}" = set; then :
       
  6249   enableval=$enable_optimize; optimize=$enableval
       
  6250 else
       
  6251   optimize=no
       
  6252 fi
       
  6253 
       
  6254 
       
  6255     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to compile with optimization" >&5
       
  6256 $as_echo_n "checking whether to compile with optimization... " >&6; }
       
  6257     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $optimize" >&5
       
  6258 $as_echo "$optimize" >&6; }
       
  6259 
       
  6260     OPTIMIZE=
       
  6261     OPTIMIZE_WARN=
       
  6262     if test $optimize = yes ; then
       
  6263         OPTIMIZE="-O2 -fno-strict-aliasing"
       
  6264         OPTIMIZE_WARN=-Wuninitialized
       
  6265     fi
       
  6266 
       
  6267 
       
  6268 
       
  6269                 profile=
       
  6270     # Check whether --enable-profile was given.
       
  6271 if test "${enable_profile+set}" = set; then :
       
  6272   enableval=$enable_profile; profile=$enableval
       
  6273 else
       
  6274   profile=no
       
  6275 fi
       
  6276 
       
  6277 
       
  6278     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to compile with profiling" >&5
       
  6279 $as_echo_n "checking whether to compile with profiling... " >&6; }
       
  6280     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $profile" >&5
       
  6281 $as_echo "$profile" >&6; }
       
  6282 
       
  6283     PROFILE=
       
  6284     if test $profile = yes ; then
       
  6285         PROFILE="-pg"
       
  6286     fi
       
  6287 
       
  6288 
       
  6289                     # Check whether --enable-static was given.
       
  6290 if test "${enable_static+set}" = set; then :
       
  6291   enableval=$enable_static; static=$enableval
       
  6292 else
       
  6293   static=no
       
  6294 fi
       
  6295 
       
  6296 
       
  6297     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to link statically" >&5
       
  6298 $as_echo_n "checking whether to link statically... " >&6; }
       
  6299     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $static" >&5
       
  6300 $as_echo "$static" >&6; }
       
  6301 
       
  6302     # Check whether --enable-static-external-libs was given.
       
  6303 if test "${enable_static_external_libs+set}" = set; then :
       
  6304   enableval=$enable_static_external_libs; staticextlibs=$enableval
       
  6305 else
       
  6306   staticextlibs=no
       
  6307 fi
       
  6308 
       
  6309 
       
  6310     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to link using static external libraries" >&5
       
  6311 $as_echo_n "checking whether to link using static external libraries... " >&6; }
       
  6312     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $staticextlibs" >&5
       
  6313 $as_echo "$staticextlibs" >&6; }
       
  6314 
       
  6315     STATIC=no
       
  6316     if [ $static = yes ] ; then
       
  6317        STATIC=yes
       
  6318        LDFLAGS="$LDFLAGS -static"
       
  6319     elif [ $staticextlibs = yes ] ; then
       
  6320        STATIC=extlibs
       
  6321     fi
       
  6322 
       
  6323 
       
  6324     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to try to build shared libraries" >&5
       
  6325 $as_echo_n "checking whether to try to build shared libraries... " >&6; }
       
  6326     if [ $static = yes ] ; then
       
  6327         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
       
  6328 $as_echo "no" >&6; }
       
  6329     else
       
  6330 
       
  6331                             # Check whether --enable-shlibs was given.
       
  6332 if test "${enable_shlibs+set}" = set; then :
       
  6333   enableval=$enable_shlibs; shlibs=$enableval
       
  6334 else
       
  6335   shlibs=yes
       
  6336 fi
       
  6337 
       
  6338 
       
  6339     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $shlibs" >&5
       
  6340 $as_echo "$shlibs" >&6; }
       
  6341 
       
  6342     SHLIBS=no
       
  6343     PICFLAGS=""
       
  6344     LDFLAGS_SHLIB=""
       
  6345     if [ $shlibs = yes ] ; then
       
  6346        ac_save_LDFLAGS=$LDFLAGS
       
  6347        ac_save_CFLAGS=$CFLAGS
       
  6348        picflags="-fPIC -DPIC"
       
  6349        CFLAGS="$picflags $ac_save_CFLAGS -Werror"
       
  6350        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC" >&5
       
  6351 $as_echo_n "checking whether the compiler supports -fPIC... " >&6; }
       
  6352        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
       
  6353 /* end confdefs.h.  */
       
  6354 int myfunc() {return 0;}
       
  6355 _ACEOF
       
  6356 if ac_fn_cxx_try_compile "$LINENO"; then :
       
  6357   pic=yes
       
  6358 else
       
  6359   pic=no
       
  6360 fi
       
  6361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  6362        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pic" >&5
       
  6363 $as_echo "$pic" >&6; }
       
  6364 
       
  6365        if [ $pic = yes ] ; then
       
  6366 
       
  6367            for shopt in -shared "-dynamiclib -single_module" ; do
       
  6368              { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler can link a dynamic library with $shopt" >&5
       
  6369 $as_echo_n "checking whether the compiler can link a dynamic library with $shopt... " >&6; }
       
  6370 	     LDFLAGS="$shopt $ac_save_LDFLAGS"
       
  6371              cat confdefs.h - <<_ACEOF >conftest.$ac_ext
       
  6372 /* end confdefs.h.  */
       
  6373 void myfunc() {}
       
  6374 _ACEOF
       
  6375 if ac_fn_cxx_try_link "$LINENO"; then :
       
  6376   shlink=yes
       
  6377 else
       
  6378   shlink=no
       
  6379 fi
       
  6380 rm -f core conftest.err conftest.$ac_objext \
       
  6381     conftest$ac_exeext conftest.$ac_ext
       
  6382              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $shlink" >&5
       
  6383 $as_echo "$shlink" >&6; }
       
  6384 
       
  6385              if [ $shlink = yes ] ; then
       
  6386                  SHLIBS=yes
       
  6387                  PICFLAGS=$picflags
       
  6388                  LDFLAGS_SHLIB="$shopt $PICFLAGS"
       
  6389 
       
  6390 		 { $as_echo "$as_me:${as_lineno-$LINENO}: checking extension for dynamic libraries" >&5
       
  6391 $as_echo_n "checking extension for dynamic libraries... " >&6; }
       
  6392 		 		 if [ "$shopt" = "-dynamiclib -single_module" ] ; then
       
  6393                      SHLIB_EXT=dylib
       
  6394                  elif [ $shopt = -shared ] ; then
       
  6395                      SHLIB_EXT=so
       
  6396                  else
       
  6397                      # shouldn't happen if above options are correctly checked
       
  6398                      as_fn_error $? "internal error in configure script" "$LINENO" 5
       
  6399                  fi
       
  6400 		 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SHLIB_EXT" >&5
       
  6401 $as_echo "$SHLIB_EXT" >&6; }
       
  6402 
       
  6403 		 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the compiler supports -Wl,--rpath=." >&5
       
  6404 $as_echo_n "checking if the compiler supports -Wl,--rpath=.... " >&6; }
       
  6405 		 LDFLAGS="$LDFLAGS -Wl,-rpath=/foo"
       
  6406 		 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
       
  6407 /* end confdefs.h.  */
       
  6408 void myfunc() {}
       
  6409 _ACEOF
       
  6410 if ac_fn_cxx_try_link "$LINENO"; then :
       
  6411   rpath=yes
       
  6412 else
       
  6413   rpath=no
       
  6414 fi
       
  6415 rm -f core conftest.err conftest.$ac_objext \
       
  6416     conftest$ac_exeext conftest.$ac_ext
       
  6417 		 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rpath" >&5
       
  6418 $as_echo "$rpath" >&6; }
       
  6419 		 if [ $rpath = yes ] ; then
       
  6420 		     RPATH="-Wl,-rpath=. -Wl,-rpath=\$(prefix)/lib"
       
  6421 		 fi
       
  6422                  break
       
  6423              fi
       
  6424            done
       
  6425        fi
       
  6426 
       
  6427        CFLAGS=$ac_save_CFLAGS
       
  6428        LDFLAGS=$ac_save_LDFLAGS
       
  6429     fi
       
  6430 
       
  6431 
       
  6432 
       
  6433 
       
  6434 
       
  6435 
       
  6436     fi # ! $static = yes
       
  6437 
       
  6438                 EXTRA_CFLAGS=""
       
  6439 
       
  6440 # Check whether --with-extra-cflags was given.
       
  6441 if test "${with_extra_cflags+set}" = set; then :
       
  6442   withval=$with_extra_cflags; EXTRA_CFLAGS=$withval
       
  6443 fi
       
  6444 
       
  6445 
       
  6446 
       
  6447     EXTRA_LDFLAGS=""
       
  6448 
       
  6449 # Check whether --with-extra-ldflags was given.
       
  6450 if test "${with_extra_ldflags+set}" = set; then :
       
  6451   withval=$with_extra_ldflags; EXTRA_LDFLAGS=$withval
       
  6452 fi
       
  6453 
       
  6454 
       
  6455 
       
  6456 
       
  6457                     BUILD_SYSTEM=`uname -s || echo UNKNOWN | sed 's/CYGWIN.*/CYGWIN/'`
       
  6458 
       
  6459 
       
  6460 
       
  6461 
       
  6462 # -------------------------------------------------------------------------
       
  6463 # Output
       
  6464 # -------------------------------------------------------------------------
       
  6465 
       
  6466 INCFLAGS="-I\$(OASYS_INCDIR)/oasys/ext -I\$(SRCDIR)/servlib"
       
  6467 
       
  6468 
       
  6469 ac_config_files="$ac_config_files Rules.make:$OASYS_ETCDIR/Rules.make.in"
       
  6470 
       
  6471 ac_config_files="$ac_config_files System.make:$OASYS_ETCDIR/System.make"
       
  6472 
       
  6473 
       
  6474 if test ! $SRCDIR = `pwd` ; then
       
  6475    ac_config_files="$ac_config_files Makefile:Makefile-Builddir.in"
       
  6476 
       
  6477    ac_config_files="$ac_config_files applib/Makefile:applib/Makefile-Builddir.in"
       
  6478 
       
  6479    ac_config_files="$ac_config_files servlib/Makefile:servlib/Makefile-Builddir.in"
       
  6480 
       
  6481    ac_config_files="$ac_config_files daemon/Makefile:daemon/Makefile-Builddir.in"
       
  6482 
       
  6483    ac_config_files="$ac_config_files apps/Makefile:apps/Makefile-Builddir.in"
       
  6484 
       
  6485    ac_config_files="$ac_config_files sim/Makefile:sim/Makefile-Builddir.in"
       
  6486 
       
  6487    ac_config_files="$ac_config_files test/Makefile:test/Makefile-Builddir.in"
       
  6488 
       
  6489 fi
       
  6490 
       
  6491 cat >confcache <<\_ACEOF
       
  6492 # This file is a shell script that caches the results of configure
       
  6493 # tests run on this system so they can be shared between configure
       
  6494 # scripts and configure runs, see configure's option --config-cache.
       
  6495 # It is not useful on other systems.  If it contains results you don't
       
  6496 # want to keep, you may remove or edit it.
       
  6497 #
       
  6498 # config.status only pays attention to the cache file if you give it
       
  6499 # the --recheck option to rerun configure.
       
  6500 #
       
  6501 # `ac_cv_env_foo' variables (set or unset) will be overridden when
       
  6502 # loading this file, other *unset* `ac_cv_foo' will be assigned the
       
  6503 # following values.
       
  6504 
       
  6505 _ACEOF
       
  6506 
       
  6507 # The following way of writing the cache mishandles newlines in values,
       
  6508 # but we know of no workaround that is simple, portable, and efficient.
       
  6509 # So, we kill variables containing newlines.
       
  6510 # Ultrix sh set writes to stderr and can't be redirected directly,
       
  6511 # and sets the high bit in the cache file unless we assign to the vars.
       
  6512 (
       
  6513   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
       
  6514     eval ac_val=\$$ac_var
       
  6515     case $ac_val in #(
       
  6516     *${as_nl}*)
       
  6517       case $ac_var in #(
       
  6518       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
       
  6519 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
       
  6520       esac
       
  6521       case $ac_var in #(
       
  6522       _ | IFS | as_nl) ;; #(
       
  6523       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
       
  6524       *) { eval $ac_var=; unset $ac_var;} ;;
       
  6525       esac ;;
       
  6526     esac
       
  6527   done
       
  6528 
       
  6529   (set) 2>&1 |
       
  6530     case $as_nl`(ac_space=' '; set) 2>&1` in #(
       
  6531     *${as_nl}ac_space=\ *)
       
  6532       # `set' does not quote correctly, so add quotes: double-quote
       
  6533       # substitution turns \\\\ into \\, and sed turns \\ into \.
       
  6534       sed -n \
       
  6535 	"s/'/'\\\\''/g;
       
  6536 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
       
  6537       ;; #(
       
  6538     *)
       
  6539       # `set' quotes correctly as required by POSIX, so do not add quotes.
       
  6540       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
       
  6541       ;;
       
  6542     esac |
       
  6543     sort
       
  6544 ) |
       
  6545   sed '
       
  6546      /^ac_cv_env_/b end
       
  6547      t clear
       
  6548      :clear
       
  6549      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
       
  6550      t end
       
  6551      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
       
  6552      :end' >>confcache
       
  6553 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
       
  6554   if test -w "$cache_file"; then
       
  6555     test "x$cache_file" != "x/dev/null" &&
       
  6556       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
       
  6557 $as_echo "$as_me: updating cache $cache_file" >&6;}
       
  6558     cat confcache >$cache_file
       
  6559   else
       
  6560     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
       
  6561 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
       
  6562   fi
       
  6563 fi
       
  6564 rm -f confcache
       
  6565 
       
  6566 test "x$prefix" = xNONE && prefix=$ac_default_prefix
       
  6567 # Let make expand exec_prefix.
       
  6568 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
       
  6569 
       
  6570 DEFS=-DHAVE_CONFIG_H
       
  6571 
       
  6572 ac_libobjs=
       
  6573 ac_ltlibobjs=
       
  6574 U=
       
  6575 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
       
  6576   # 1. Remove the extension, and $U if already installed.
       
  6577   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
       
  6578   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
       
  6579   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
       
  6580   #    will be set to the directory where LIBOBJS objects are built.
       
  6581   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
       
  6582   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
       
  6583 done
       
  6584 LIBOBJS=$ac_libobjs
       
  6585 
       
  6586 LTLIBOBJS=$ac_ltlibobjs
       
  6587 
       
  6588 
       
  6589 
       
  6590 : ${CONFIG_STATUS=./config.status}
       
  6591 ac_write_fail=0
       
  6592 ac_clean_files_save=$ac_clean_files
       
  6593 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
       
  6594 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
       
  6595 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
       
  6596 as_write_fail=0
       
  6597 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
       
  6598 #! $SHELL
       
  6599 # Generated by $as_me.
       
  6600 # Run this file to recreate the current configuration.
       
  6601 # Compiler output produced by configure, useful for debugging
       
  6602 # configure, is in config.log if it exists.
       
  6603 
       
  6604 debug=false
       
  6605 ac_cs_recheck=false
       
  6606 ac_cs_silent=false
       
  6607 
       
  6608 SHELL=\${CONFIG_SHELL-$SHELL}
       
  6609 export SHELL
       
  6610 _ASEOF
       
  6611 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
       
  6612 ## -------------------- ##
       
  6613 ## M4sh Initialization. ##
       
  6614 ## -------------------- ##
       
  6615 
       
  6616 # Be more Bourne compatible
       
  6617 DUALCASE=1; export DUALCASE # for MKS sh
       
  6618 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
       
  6619   emulate sh
       
  6620   NULLCMD=:
       
  6621   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
       
  6622   # is contrary to our usage.  Disable this feature.
       
  6623   alias -g '${1+"$@"}'='"$@"'
       
  6624   setopt NO_GLOB_SUBST
       
  6625 else
       
  6626   case `(set -o) 2>/dev/null` in #(
       
  6627   *posix*) :
       
  6628     set -o posix ;; #(
       
  6629   *) :
       
  6630      ;;
       
  6631 esac
       
  6632 fi
       
  6633 
       
  6634 
       
  6635 as_nl='
       
  6636 '
       
  6637 export as_nl
       
  6638 # Printing a long string crashes Solaris 7 /usr/bin/printf.
       
  6639 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
       
  6640 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
       
  6641 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
       
  6642 # Prefer a ksh shell builtin over an external printf program on Solaris,
       
  6643 # but without wasting forks for bash or zsh.
       
  6644 if test -z "$BASH_VERSION$ZSH_VERSION" \
       
  6645     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
       
  6646   as_echo='print -r --'
       
  6647   as_echo_n='print -rn --'
       
  6648 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
       
  6649   as_echo='printf %s\n'
       
  6650   as_echo_n='printf %s'
       
  6651 else
       
  6652   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
       
  6653     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
       
  6654     as_echo_n='/usr/ucb/echo -n'
       
  6655   else
       
  6656     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
       
  6657     as_echo_n_body='eval
       
  6658       arg=$1;
       
  6659       case $arg in #(
       
  6660       *"$as_nl"*)
       
  6661 	expr "X$arg" : "X\\(.*\\)$as_nl";
       
  6662 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
       
  6663       esac;
       
  6664       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
       
  6665     '
       
  6666     export as_echo_n_body
       
  6667     as_echo_n='sh -c $as_echo_n_body as_echo'
       
  6668   fi
       
  6669   export as_echo_body
       
  6670   as_echo='sh -c $as_echo_body as_echo'
       
  6671 fi
       
  6672 
       
  6673 # The user is always right.
       
  6674 if test "${PATH_SEPARATOR+set}" != set; then
       
  6675   PATH_SEPARATOR=:
       
  6676   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
       
  6677     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
       
  6678       PATH_SEPARATOR=';'
       
  6679   }
       
  6680 fi
       
  6681 
       
  6682 
       
  6683 # IFS
       
  6684 # We need space, tab and new line, in precisely that order.  Quoting is
       
  6685 # there to prevent editors from complaining about space-tab.
       
  6686 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
       
  6687 # splitting by setting IFS to empty value.)
       
  6688 IFS=" ""	$as_nl"
       
  6689 
       
  6690 # Find who we are.  Look in the path if we contain no directory separator.
       
  6691 case $0 in #((
       
  6692   *[\\/]* ) as_myself=$0 ;;
       
  6693   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
  6694 for as_dir in $PATH
       
  6695 do
       
  6696   IFS=$as_save_IFS
       
  6697   test -z "$as_dir" && as_dir=.
       
  6698     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
       
  6699   done
       
  6700 IFS=$as_save_IFS
       
  6701 
       
  6702      ;;
       
  6703 esac
       
  6704 # We did not find ourselves, most probably we were run as `sh COMMAND'
       
  6705 # in which case we are not to be found in the path.
       
  6706 if test "x$as_myself" = x; then
       
  6707   as_myself=$0
       
  6708 fi
       
  6709 if test ! -f "$as_myself"; then
       
  6710   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
       
  6711   exit 1
       
  6712 fi
       
  6713 
       
  6714 # Unset variables that we do not need and which cause bugs (e.g. in
       
  6715 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
       
  6716 # suppresses any "Segmentation fault" message there.  '((' could
       
  6717 # trigger a bug in pdksh 5.2.14.
       
  6718 for as_var in BASH_ENV ENV MAIL MAILPATH
       
  6719 do eval test x\${$as_var+set} = xset \
       
  6720   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
       
  6721 done
       
  6722 PS1='$ '
       
  6723 PS2='> '
       
  6724 PS4='+ '
       
  6725 
       
  6726 # NLS nuisances.
       
  6727 LC_ALL=C
       
  6728 export LC_ALL
       
  6729 LANGUAGE=C
       
  6730 export LANGUAGE
       
  6731 
       
  6732 # CDPATH.
       
  6733 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
       
  6734 
       
  6735 
       
  6736 # as_fn_error STATUS ERROR [LINENO LOG_FD]
       
  6737 # ----------------------------------------
       
  6738 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
       
  6739 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
       
  6740 # script with STATUS, using 1 if that was 0.
       
  6741 as_fn_error ()
       
  6742 {
       
  6743   as_status=$1; test $as_status -eq 0 && as_status=1
       
  6744   if test "$4"; then
       
  6745     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
       
  6746     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
       
  6747   fi
       
  6748   $as_echo "$as_me: error: $2" >&2
       
  6749   as_fn_exit $as_status
       
  6750 } # as_fn_error
       
  6751 
       
  6752 
       
  6753 # as_fn_set_status STATUS
       
  6754 # -----------------------
       
  6755 # Set $? to STATUS, without forking.
       
  6756 as_fn_set_status ()
       
  6757 {
       
  6758   return $1
       
  6759 } # as_fn_set_status
       
  6760 
       
  6761 # as_fn_exit STATUS
       
  6762 # -----------------
       
  6763 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
       
  6764 as_fn_exit ()
       
  6765 {
       
  6766   set +e
       
  6767   as_fn_set_status $1
       
  6768   exit $1
       
  6769 } # as_fn_exit
       
  6770 
       
  6771 # as_fn_unset VAR
       
  6772 # ---------------
       
  6773 # Portably unset VAR.
       
  6774 as_fn_unset ()
       
  6775 {
       
  6776   { eval $1=; unset $1;}
       
  6777 }
       
  6778 as_unset=as_fn_unset
       
  6779 # as_fn_append VAR VALUE
       
  6780 # ----------------------
       
  6781 # Append the text in VALUE to the end of the definition contained in VAR. Take
       
  6782 # advantage of any shell optimizations that allow amortized linear growth over
       
  6783 # repeated appends, instead of the typical quadratic growth present in naive
       
  6784 # implementations.
       
  6785 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
       
  6786   eval 'as_fn_append ()
       
  6787   {
       
  6788     eval $1+=\$2
       
  6789   }'
       
  6790 else
       
  6791   as_fn_append ()
       
  6792   {
       
  6793     eval $1=\$$1\$2
       
  6794   }
       
  6795 fi # as_fn_append
       
  6796 
       
  6797 # as_fn_arith ARG...
       
  6798 # ------------------
       
  6799 # Perform arithmetic evaluation on the ARGs, and store the result in the
       
  6800 # global $as_val. Take advantage of shells that can avoid forks. The arguments
       
  6801 # must be portable across $(()) and expr.
       
  6802 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
       
  6803   eval 'as_fn_arith ()
       
  6804   {
       
  6805     as_val=$(( $* ))
       
  6806   }'
       
  6807 else
       
  6808   as_fn_arith ()
       
  6809   {
       
  6810     as_val=`expr "$@" || test $? -eq 1`
       
  6811   }
       
  6812 fi # as_fn_arith
       
  6813 
       
  6814 
       
  6815 if expr a : '\(a\)' >/dev/null 2>&1 &&
       
  6816    test "X`expr 00001 : '.*\(...\)'`" = X001; then
       
  6817   as_expr=expr
       
  6818 else
       
  6819   as_expr=false
       
  6820 fi
       
  6821 
       
  6822 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
       
  6823   as_basename=basename
       
  6824 else
       
  6825   as_basename=false
       
  6826 fi
       
  6827 
       
  6828 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
       
  6829   as_dirname=dirname
       
  6830 else
       
  6831   as_dirname=false
       
  6832 fi
       
  6833 
       
  6834 as_me=`$as_basename -- "$0" ||
       
  6835 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
       
  6836 	 X"$0" : 'X\(//\)$' \| \
       
  6837 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
       
  6838 $as_echo X/"$0" |
       
  6839     sed '/^.*\/\([^/][^/]*\)\/*$/{
       
  6840 	    s//\1/
       
  6841 	    q
       
  6842 	  }
       
  6843 	  /^X\/\(\/\/\)$/{
       
  6844 	    s//\1/
       
  6845 	    q
       
  6846 	  }
       
  6847 	  /^X\/\(\/\).*/{
       
  6848 	    s//\1/
       
  6849 	    q
       
  6850 	  }
       
  6851 	  s/.*/./; q'`
       
  6852 
       
  6853 # Avoid depending upon Character Ranges.
       
  6854 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
       
  6855 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
       
  6856 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
       
  6857 as_cr_digits='0123456789'
       
  6858 as_cr_alnum=$as_cr_Letters$as_cr_digits
       
  6859 
       
  6860 ECHO_C= ECHO_N= ECHO_T=
       
  6861 case `echo -n x` in #(((((
       
  6862 -n*)
       
  6863   case `echo 'xy\c'` in
       
  6864   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
       
  6865   xy)  ECHO_C='\c';;
       
  6866   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
       
  6867        ECHO_T='	';;
       
  6868   esac;;
       
  6869 *)
       
  6870   ECHO_N='-n';;
       
  6871 esac
       
  6872 
       
  6873 rm -f conf$$ conf$$.exe conf$$.file
       
  6874 if test -d conf$$.dir; then
       
  6875   rm -f conf$$.dir/conf$$.file
       
  6876 else
       
  6877   rm -f conf$$.dir
       
  6878   mkdir conf$$.dir 2>/dev/null
       
  6879 fi
       
  6880 if (echo >conf$$.file) 2>/dev/null; then
       
  6881   if ln -s conf$$.file conf$$ 2>/dev/null; then
       
  6882     as_ln_s='ln -s'
       
  6883     # ... but there are two gotchas:
       
  6884     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
       
  6885     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
       
  6886     # In both cases, we have to default to `cp -p'.
       
  6887     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
       
  6888       as_ln_s='cp -p'
       
  6889   elif ln conf$$.file conf$$ 2>/dev/null; then
       
  6890     as_ln_s=ln
       
  6891   else
       
  6892     as_ln_s='cp -p'
       
  6893   fi
       
  6894 else
       
  6895   as_ln_s='cp -p'
       
  6896 fi
       
  6897 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
       
  6898 rmdir conf$$.dir 2>/dev/null
       
  6899 
       
  6900 
       
  6901 # as_fn_mkdir_p
       
  6902 # -------------
       
  6903 # Create "$as_dir" as a directory, including parents if necessary.
       
  6904 as_fn_mkdir_p ()
       
  6905 {
       
  6906 
       
  6907   case $as_dir in #(
       
  6908   -*) as_dir=./$as_dir;;
       
  6909   esac
       
  6910   test -d "$as_dir" || eval $as_mkdir_p || {
       
  6911     as_dirs=
       
  6912     while :; do
       
  6913       case $as_dir in #(
       
  6914       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
       
  6915       *) as_qdir=$as_dir;;
       
  6916       esac
       
  6917       as_dirs="'$as_qdir' $as_dirs"
       
  6918       as_dir=`$as_dirname -- "$as_dir" ||
       
  6919 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
       
  6920 	 X"$as_dir" : 'X\(//\)[^/]' \| \
       
  6921 	 X"$as_dir" : 'X\(//\)$' \| \
       
  6922 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
       
  6923 $as_echo X"$as_dir" |
       
  6924     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
       
  6925 	    s//\1/
       
  6926 	    q
       
  6927 	  }
       
  6928 	  /^X\(\/\/\)[^/].*/{
       
  6929 	    s//\1/
       
  6930 	    q
       
  6931 	  }
       
  6932 	  /^X\(\/\/\)$/{
       
  6933 	    s//\1/
       
  6934 	    q
       
  6935 	  }
       
  6936 	  /^X\(\/\).*/{
       
  6937 	    s//\1/
       
  6938 	    q
       
  6939 	  }
       
  6940 	  s/.*/./; q'`
       
  6941       test -d "$as_dir" && break
       
  6942     done
       
  6943     test -z "$as_dirs" || eval "mkdir $as_dirs"
       
  6944   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
       
  6945 
       
  6946 
       
  6947 } # as_fn_mkdir_p
       
  6948 if mkdir -p . 2>/dev/null; then
       
  6949   as_mkdir_p='mkdir -p "$as_dir"'
       
  6950 else
       
  6951   test -d ./-p && rmdir ./-p
       
  6952   as_mkdir_p=false
       
  6953 fi
       
  6954 
       
  6955 if test -x / >/dev/null 2>&1; then
       
  6956   as_test_x='test -x'
       
  6957 else
       
  6958   if ls -dL / >/dev/null 2>&1; then
       
  6959     as_ls_L_option=L
       
  6960   else
       
  6961     as_ls_L_option=
       
  6962   fi
       
  6963   as_test_x='
       
  6964     eval sh -c '\''
       
  6965       if test -d "$1"; then
       
  6966 	test -d "$1/.";
       
  6967       else
       
  6968 	case $1 in #(
       
  6969 	-*)set "./$1";;
       
  6970 	esac;
       
  6971 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
       
  6972 	???[sx]*):;;*)false;;esac;fi
       
  6973     '\'' sh
       
  6974   '
       
  6975 fi
       
  6976 as_executable_p=$as_test_x
       
  6977 
       
  6978 # Sed expression to map a string onto a valid CPP name.
       
  6979 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
       
  6980 
       
  6981 # Sed expression to map a string onto a valid variable name.
       
  6982 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
       
  6983 
       
  6984 
       
  6985 exec 6>&1
       
  6986 ## ----------------------------------- ##
       
  6987 ## Main body of $CONFIG_STATUS script. ##
       
  6988 ## ----------------------------------- ##
       
  6989 _ASEOF
       
  6990 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
       
  6991 
       
  6992 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
       
  6993 # Save the log message, to keep $0 and so on meaningful, and to
       
  6994 # report actual input values of CONFIG_FILES etc. instead of their
       
  6995 # values after options handling.
       
  6996 ac_log="
       
  6997 This file was extended by $as_me, which was
       
  6998 generated by GNU Autoconf 2.67.  Invocation command line was
       
  6999 
       
  7000   CONFIG_FILES    = $CONFIG_FILES
       
  7001   CONFIG_HEADERS  = $CONFIG_HEADERS
       
  7002   CONFIG_LINKS    = $CONFIG_LINKS
       
  7003   CONFIG_COMMANDS = $CONFIG_COMMANDS
       
  7004   $ $0 $@
       
  7005 
       
  7006 on `(hostname || uname -n) 2>/dev/null | sed 1q`
       
  7007 "
       
  7008 
       
  7009 _ACEOF
       
  7010 
       
  7011 case $ac_config_files in *"
       
  7012 "*) set x $ac_config_files; shift; ac_config_files=$*;;
       
  7013 esac
       
  7014 
       
  7015 case $ac_config_headers in *"
       
  7016 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
       
  7017 esac
       
  7018 
       
  7019 
       
  7020 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
       
  7021 # Files that config.status was made for.
       
  7022 config_files="$ac_config_files"
       
  7023 config_headers="$ac_config_headers"
       
  7024 
       
  7025 _ACEOF
       
  7026 
       
  7027 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
       
  7028 ac_cs_usage="\
       
  7029 \`$as_me' instantiates files and other configuration actions
       
  7030 from templates according to the current configuration.  Unless the files
       
  7031 and actions are specified as TAGs, all are instantiated by default.
       
  7032 
       
  7033 Usage: $0 [OPTION]... [TAG]...
       
  7034 
       
  7035   -h, --help       print this help, then exit
       
  7036   -V, --version    print version number and configuration settings, then exit
       
  7037       --config     print configuration, then exit
       
  7038   -q, --quiet, --silent
       
  7039                    do not print progress messages
       
  7040   -d, --debug      don't remove temporary files
       
  7041       --recheck    update $as_me by reconfiguring in the same conditions
       
  7042       --file=FILE[:TEMPLATE]
       
  7043                    instantiate the configuration file FILE
       
  7044       --header=FILE[:TEMPLATE]
       
  7045                    instantiate the configuration header FILE
       
  7046 
       
  7047 Configuration files:
       
  7048 $config_files
       
  7049 
       
  7050 Configuration headers:
       
  7051 $config_headers
       
  7052 
       
  7053 Report bugs to the package provider."
       
  7054 
       
  7055 _ACEOF
       
  7056 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
       
  7057 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
       
  7058 ac_cs_version="\\
       
  7059 config.status
       
  7060 configured by $0, generated by GNU Autoconf 2.67,
       
  7061   with options \\"\$ac_cs_config\\"
       
  7062 
       
  7063 Copyright (C) 2010 Free Software Foundation, Inc.
       
  7064 This config.status script is free software; the Free Software Foundation
       
  7065 gives unlimited permission to copy, distribute and modify it."
       
  7066 
       
  7067 ac_pwd='$ac_pwd'
       
  7068 srcdir='$srcdir'
       
  7069 test -n "\$AWK" || AWK=awk
       
  7070 _ACEOF
       
  7071 
       
  7072 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
       
  7073 # The default lists apply if the user does not specify any file.
       
  7074 ac_need_defaults=:
       
  7075 while test $# != 0
       
  7076 do
       
  7077   case $1 in
       
  7078   --*=?*)
       
  7079     ac_option=`expr "X$1" : 'X\([^=]*\)='`
       
  7080     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
       
  7081     ac_shift=:
       
  7082     ;;
       
  7083   --*=)
       
  7084     ac_option=`expr "X$1" : 'X\([^=]*\)='`
       
  7085     ac_optarg=
       
  7086     ac_shift=:
       
  7087     ;;
       
  7088   *)
       
  7089     ac_option=$1
       
  7090     ac_optarg=$2
       
  7091     ac_shift=shift
       
  7092     ;;
       
  7093   esac
       
  7094 
       
  7095   case $ac_option in
       
  7096   # Handling of the options.
       
  7097   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
       
  7098     ac_cs_recheck=: ;;
       
  7099   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
       
  7100     $as_echo "$ac_cs_version"; exit ;;
       
  7101   --config | --confi | --conf | --con | --co | --c )
       
  7102     $as_echo "$ac_cs_config"; exit ;;
       
  7103   --debug | --debu | --deb | --de | --d | -d )
       
  7104     debug=: ;;
       
  7105   --file | --fil | --fi | --f )
       
  7106     $ac_shift
       
  7107     case $ac_optarg in
       
  7108     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
       
  7109     '') as_fn_error $? "missing file argument" ;;
       
  7110     esac
       
  7111     as_fn_append CONFIG_FILES " '$ac_optarg'"
       
  7112     ac_need_defaults=false;;
       
  7113   --header | --heade | --head | --hea )
       
  7114     $ac_shift
       
  7115     case $ac_optarg in
       
  7116     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
       
  7117     esac
       
  7118     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
       
  7119     ac_need_defaults=false;;
       
  7120   --he | --h)
       
  7121     # Conflict between --help and --header
       
  7122     as_fn_error $? "ambiguous option: \`$1'
       
  7123 Try \`$0 --help' for more information.";;
       
  7124   --help | --hel | -h )
       
  7125     $as_echo "$ac_cs_usage"; exit ;;
       
  7126   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
       
  7127   | -silent | --silent | --silen | --sile | --sil | --si | --s)
       
  7128     ac_cs_silent=: ;;
       
  7129 
       
  7130   # This is an error.
       
  7131   -*) as_fn_error $? "unrecognized option: \`$1'
       
  7132 Try \`$0 --help' for more information." ;;
       
  7133 
       
  7134   *) as_fn_append ac_config_targets " $1"
       
  7135      ac_need_defaults=false ;;
       
  7136 
       
  7137   esac
       
  7138   shift
       
  7139 done
       
  7140 
       
  7141 ac_configure_extra_args=
       
  7142 
       
  7143 if $ac_cs_silent; then
       
  7144   exec 6>/dev/null
       
  7145   ac_configure_extra_args="$ac_configure_extra_args --silent"
       
  7146 fi
       
  7147 
       
  7148 _ACEOF
       
  7149 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
       
  7150 if \$ac_cs_recheck; then
       
  7151   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
       
  7152   shift
       
  7153   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
       
  7154   CONFIG_SHELL='$SHELL'
       
  7155   export CONFIG_SHELL
       
  7156   exec "\$@"
       
  7157 fi
       
  7158 
       
  7159 _ACEOF
       
  7160 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
       
  7161 exec 5>>config.log
       
  7162 {
       
  7163   echo
       
  7164   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
       
  7165 ## Running $as_me. ##
       
  7166 _ASBOX
       
  7167   $as_echo "$ac_log"
       
  7168 } >&5
       
  7169 
       
  7170 _ACEOF
       
  7171 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
       
  7172 _ACEOF
       
  7173 
       
  7174 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
       
  7175 
       
  7176 # Handling of arguments.
       
  7177 for ac_config_target in $ac_config_targets
       
  7178 do
       
  7179   case $ac_config_target in
       
  7180     "dtn-config.h") CONFIG_HEADERS="$CONFIG_HEADERS dtn-config.h" ;;
       
  7181     "Rules.make") CONFIG_FILES="$CONFIG_FILES Rules.make:$OASYS_ETCDIR/Rules.make.in" ;;
       
  7182     "System.make") CONFIG_FILES="$CONFIG_FILES System.make:$OASYS_ETCDIR/System.make" ;;
       
  7183     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile:Makefile-Builddir.in" ;;
       
  7184     "applib/Makefile") CONFIG_FILES="$CONFIG_FILES applib/Makefile:applib/Makefile-Builddir.in" ;;
       
  7185     "servlib/Makefile") CONFIG_FILES="$CONFIG_FILES servlib/Makefile:servlib/Makefile-Builddir.in" ;;
       
  7186     "daemon/Makefile") CONFIG_FILES="$CONFIG_FILES daemon/Makefile:daemon/Makefile-Builddir.in" ;;
       
  7187     "apps/Makefile") CONFIG_FILES="$CONFIG_FILES apps/Makefile:apps/Makefile-Builddir.in" ;;
       
  7188     "sim/Makefile") CONFIG_FILES="$CONFIG_FILES sim/Makefile:sim/Makefile-Builddir.in" ;;
       
  7189     "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile:test/Makefile-Builddir.in" ;;
       
  7190 
       
  7191   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
       
  7192   esac
       
  7193 done
       
  7194 
       
  7195 
       
  7196 # If the user did not use the arguments to specify the items to instantiate,
       
  7197 # then the envvar interface is used.  Set only those that are not.
       
  7198 # We use the long form for the default assignment because of an extremely
       
  7199 # bizarre bug on SunOS 4.1.3.
       
  7200 if $ac_need_defaults; then
       
  7201   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
       
  7202   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
       
  7203 fi
       
  7204 
       
  7205 # Have a temporary directory for convenience.  Make it in the build tree
       
  7206 # simply because there is no reason against having it here, and in addition,
       
  7207 # creating and moving files from /tmp can sometimes cause problems.
       
  7208 # Hook for its removal unless debugging.
       
  7209 # Note that there is a small window in which the directory will not be cleaned:
       
  7210 # after its creation but before its name has been assigned to `$tmp'.
       
  7211 $debug ||
       
  7212 {
       
  7213   tmp=
       
  7214   trap 'exit_status=$?
       
  7215   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
       
  7216 ' 0
       
  7217   trap 'as_fn_exit 1' 1 2 13 15
       
  7218 }
       
  7219 # Create a (secure) tmp directory for tmp files.
       
  7220 
       
  7221 {
       
  7222   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
       
  7223   test -n "$tmp" && test -d "$tmp"
       
  7224 }  ||
       
  7225 {
       
  7226   tmp=./conf$$-$RANDOM
       
  7227   (umask 077 && mkdir "$tmp")
       
  7228 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
       
  7229 
       
  7230 # Set up the scripts for CONFIG_FILES section.
       
  7231 # No need to generate them if there are no CONFIG_FILES.
       
  7232 # This happens for instance with `./config.status config.h'.
       
  7233 if test -n "$CONFIG_FILES"; then
       
  7234 
       
  7235 
       
  7236 ac_cr=`echo X | tr X '\015'`
       
  7237 # On cygwin, bash can eat \r inside `` if the user requested igncr.
       
  7238 # But we know of no other shell where ac_cr would be empty at this
       
  7239 # point, so we can use a bashism as a fallback.
       
  7240 if test "x$ac_cr" = x; then
       
  7241   eval ac_cr=\$\'\\r\'
       
  7242 fi
       
  7243 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
       
  7244 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
       
  7245   ac_cs_awk_cr='\\r'
       
  7246 else
       
  7247   ac_cs_awk_cr=$ac_cr
       
  7248 fi
       
  7249 
       
  7250 echo 'BEGIN {' >"$tmp/subs1.awk" &&
       
  7251 _ACEOF
       
  7252 
       
  7253 
       
  7254 {
       
  7255   echo "cat >conf$$subs.awk <<_ACEOF" &&
       
  7256   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
       
  7257   echo "_ACEOF"
       
  7258 } >conf$$subs.sh ||
       
  7259   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
       
  7260 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
       
  7261 ac_delim='%!_!# '
       
  7262 for ac_last_try in false false false false false :; do
       
  7263   . ./conf$$subs.sh ||
       
  7264     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
       
  7265 
       
  7266   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
       
  7267   if test $ac_delim_n = $ac_delim_num; then
       
  7268     break
       
  7269   elif $ac_last_try; then
       
  7270     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
       
  7271   else
       
  7272     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
       
  7273   fi
       
  7274 done
       
  7275 rm -f conf$$subs.sh
       
  7276 
       
  7277 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
       
  7278 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
       
  7279 _ACEOF
       
  7280 sed -n '
       
  7281 h
       
  7282 s/^/S["/; s/!.*/"]=/
       
  7283 p
       
  7284 g
       
  7285 s/^[^!]*!//
       
  7286 :repl
       
  7287 t repl
       
  7288 s/'"$ac_delim"'$//
       
  7289 t delim
       
  7290 :nl
       
  7291 h
       
  7292 s/\(.\{148\}\)..*/\1/
       
  7293 t more1
       
  7294 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
       
  7295 p
       
  7296 n
       
  7297 b repl
       
  7298 :more1
       
  7299 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
       
  7300 p
       
  7301 g
       
  7302 s/.\{148\}//
       
  7303 t nl
       
  7304 :delim
       
  7305 h
       
  7306 s/\(.\{148\}\)..*/\1/
       
  7307 t more2
       
  7308 s/["\\]/\\&/g; s/^/"/; s/$/"/
       
  7309 p
       
  7310 b
       
  7311 :more2
       
  7312 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
       
  7313 p
       
  7314 g
       
  7315 s/.\{148\}//
       
  7316 t delim
       
  7317 ' <conf$$subs.awk | sed '
       
  7318 /^[^""]/{
       
  7319   N
       
  7320   s/\n//
       
  7321 }
       
  7322 ' >>$CONFIG_STATUS || ac_write_fail=1
       
  7323 rm -f conf$$subs.awk
       
  7324 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
       
  7325 _ACAWK
       
  7326 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
       
  7327   for (key in S) S_is_set[key] = 1
       
  7328   FS = ""
       
  7329 
       
  7330 }
       
  7331 {
       
  7332   line = $ 0
       
  7333   nfields = split(line, field, "@")
       
  7334   substed = 0
       
  7335   len = length(field[1])
       
  7336   for (i = 2; i < nfields; i++) {
       
  7337     key = field[i]
       
  7338     keylen = length(key)
       
  7339     if (S_is_set[key]) {
       
  7340       value = S[key]
       
  7341       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
       
  7342       len += length(value) + length(field[++i])
       
  7343       substed = 1
       
  7344     } else
       
  7345       len += 1 + keylen
       
  7346   }
       
  7347 
       
  7348   print line
       
  7349 }
       
  7350 
       
  7351 _ACAWK
       
  7352 _ACEOF
       
  7353 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
       
  7354 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
       
  7355   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
       
  7356 else
       
  7357   cat
       
  7358 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
       
  7359   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
       
  7360 _ACEOF
       
  7361 
       
  7362 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
       
  7363 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
       
  7364 # trailing colons and then remove the whole line if VPATH becomes empty
       
  7365 # (actually we leave an empty line to preserve line numbers).
       
  7366 if test "x$srcdir" = x.; then
       
  7367   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
       
  7368 h
       
  7369 s///
       
  7370 s/^/:/
       
  7371 s/[	 ]*$/:/
       
  7372 s/:\$(srcdir):/:/g
       
  7373 s/:\${srcdir}:/:/g
       
  7374 s/:@srcdir@:/:/g
       
  7375 s/^:*//
       
  7376 s/:*$//
       
  7377 x
       
  7378 s/\(=[	 ]*\).*/\1/
       
  7379 G
       
  7380 s/\n//
       
  7381 s/^[^=]*=[	 ]*$//
       
  7382 }'
       
  7383 fi
       
  7384 
       
  7385 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
       
  7386 fi # test -n "$CONFIG_FILES"
       
  7387 
       
  7388 # Set up the scripts for CONFIG_HEADERS section.
       
  7389 # No need to generate them if there are no CONFIG_HEADERS.
       
  7390 # This happens for instance with `./config.status Makefile'.
       
  7391 if test -n "$CONFIG_HEADERS"; then
       
  7392 cat >"$tmp/defines.awk" <<\_ACAWK ||
       
  7393 BEGIN {
       
  7394 _ACEOF
       
  7395 
       
  7396 # Transform confdefs.h into an awk script `defines.awk', embedded as
       
  7397 # here-document in config.status, that substitutes the proper values into
       
  7398 # config.h.in to produce config.h.
       
  7399 
       
  7400 # Create a delimiter string that does not exist in confdefs.h, to ease
       
  7401 # handling of long lines.
       
  7402 ac_delim='%!_!# '
       
  7403 for ac_last_try in false false :; do
       
  7404   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
       
  7405   if test -z "$ac_t"; then
       
  7406     break
       
  7407   elif $ac_last_try; then
       
  7408     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
       
  7409   else
       
  7410     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
       
  7411   fi
       
  7412 done
       
  7413 
       
  7414 # For the awk script, D is an array of macro values keyed by name,
       
  7415 # likewise P contains macro parameters if any.  Preserve backslash
       
  7416 # newline sequences.
       
  7417 
       
  7418 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
       
  7419 sed -n '
       
  7420 s/.\{148\}/&'"$ac_delim"'/g
       
  7421 t rset
       
  7422 :rset
       
  7423 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
       
  7424 t def
       
  7425 d
       
  7426 :def
       
  7427 s/\\$//
       
  7428 t bsnl
       
  7429 s/["\\]/\\&/g
       
  7430 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
       
  7431 D["\1"]=" \3"/p
       
  7432 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
       
  7433 d
       
  7434 :bsnl
       
  7435 s/["\\]/\\&/g
       
  7436 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
       
  7437 D["\1"]=" \3\\\\\\n"\\/p
       
  7438 t cont
       
  7439 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
       
  7440 t cont
       
  7441 d
       
  7442 :cont
       
  7443 n
       
  7444 s/.\{148\}/&'"$ac_delim"'/g
       
  7445 t clear
       
  7446 :clear
       
  7447 s/\\$//
       
  7448 t bsnlc
       
  7449 s/["\\]/\\&/g; s/^/"/; s/$/"/p
       
  7450 d
       
  7451 :bsnlc
       
  7452 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
       
  7453 b cont
       
  7454 ' <confdefs.h | sed '
       
  7455 s/'"$ac_delim"'/"\\\
       
  7456 "/g' >>$CONFIG_STATUS || ac_write_fail=1
       
  7457 
       
  7458 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
       
  7459   for (key in D) D_is_set[key] = 1
       
  7460   FS = ""
       
  7461 }
       
  7462 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
       
  7463   line = \$ 0
       
  7464   split(line, arg, " ")
       
  7465   if (arg[1] == "#") {
       
  7466     defundef = arg[2]
       
  7467     mac1 = arg[3]
       
  7468   } else {
       
  7469     defundef = substr(arg[1], 2)
       
  7470     mac1 = arg[2]
       
  7471   }
       
  7472   split(mac1, mac2, "(") #)
       
  7473   macro = mac2[1]
       
  7474   prefix = substr(line, 1, index(line, defundef) - 1)
       
  7475   if (D_is_set[macro]) {
       
  7476     # Preserve the white space surrounding the "#".
       
  7477     print prefix "define", macro P[macro] D[macro]
       
  7478     next
       
  7479   } else {
       
  7480     # Replace #undef with comments.  This is necessary, for example,
       
  7481     # in the case of _POSIX_SOURCE, which is predefined and required
       
  7482     # on some systems where configure will not decide to define it.
       
  7483     if (defundef == "undef") {
       
  7484       print "/*", prefix defundef, macro, "*/"
       
  7485       next
       
  7486     }
       
  7487   }
       
  7488 }
       
  7489 { print }
       
  7490 _ACAWK
       
  7491 _ACEOF
       
  7492 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
       
  7493   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
       
  7494 fi # test -n "$CONFIG_HEADERS"
       
  7495 
       
  7496 
       
  7497 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    "
       
  7498 shift
       
  7499 for ac_tag
       
  7500 do
       
  7501   case $ac_tag in
       
  7502   :[FHLC]) ac_mode=$ac_tag; continue;;
       
  7503   esac
       
  7504   case $ac_mode$ac_tag in
       
  7505   :[FHL]*:*);;
       
  7506   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
       
  7507   :[FH]-) ac_tag=-:-;;
       
  7508   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
       
  7509   esac
       
  7510   ac_save_IFS=$IFS
       
  7511   IFS=:
       
  7512   set x $ac_tag
       
  7513   IFS=$ac_save_IFS
       
  7514   shift
       
  7515   ac_file=$1
       
  7516   shift
       
  7517 
       
  7518   case $ac_mode in
       
  7519   :L) ac_source=$1;;
       
  7520   :[FH])
       
  7521     ac_file_inputs=
       
  7522     for ac_f
       
  7523     do
       
  7524       case $ac_f in
       
  7525       -) ac_f="$tmp/stdin";;
       
  7526       *) # Look for the file first in the build tree, then in the source tree
       
  7527 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
       
  7528 	 # because $ac_f cannot contain `:'.
       
  7529 	 test -f "$ac_f" ||
       
  7530 	   case $ac_f in
       
  7531 	   [\\/$]*) false;;
       
  7532 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
       
  7533 	   esac ||
       
  7534 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
       
  7535       esac
       
  7536       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
       
  7537       as_fn_append ac_file_inputs " '$ac_f'"
       
  7538     done
       
  7539 
       
  7540     # Let's still pretend it is `configure' which instantiates (i.e., don't
       
  7541     # use $as_me), people would be surprised to read:
       
  7542     #    /* config.h.  Generated by config.status.  */
       
  7543     configure_input='Generated from '`
       
  7544 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
       
  7545 	`' by configure.'
       
  7546     if test x"$ac_file" != x-; then
       
  7547       configure_input="$ac_file.  $configure_input"
       
  7548       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
       
  7549 $as_echo "$as_me: creating $ac_file" >&6;}
       
  7550     fi
       
  7551     # Neutralize special characters interpreted by sed in replacement strings.
       
  7552     case $configure_input in #(
       
  7553     *\&* | *\|* | *\\* )
       
  7554        ac_sed_conf_input=`$as_echo "$configure_input" |
       
  7555        sed 's/[\\\\&|]/\\\\&/g'`;; #(
       
  7556     *) ac_sed_conf_input=$configure_input;;
       
  7557     esac
       
  7558 
       
  7559     case $ac_tag in
       
  7560     *:-:* | *:-) cat >"$tmp/stdin" \
       
  7561       || as_fn_error $? "could not create $ac_file" "$LINENO" 5  ;;
       
  7562     esac
       
  7563     ;;
       
  7564   esac
       
  7565 
       
  7566   ac_dir=`$as_dirname -- "$ac_file" ||
       
  7567 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
       
  7568 	 X"$ac_file" : 'X\(//\)[^/]' \| \
       
  7569 	 X"$ac_file" : 'X\(//\)$' \| \
       
  7570 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
       
  7571 $as_echo X"$ac_file" |
       
  7572     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
       
  7573 	    s//\1/
       
  7574 	    q
       
  7575 	  }
       
  7576 	  /^X\(\/\/\)[^/].*/{
       
  7577 	    s//\1/
       
  7578 	    q
       
  7579 	  }
       
  7580 	  /^X\(\/\/\)$/{
       
  7581 	    s//\1/
       
  7582 	    q
       
  7583 	  }
       
  7584 	  /^X\(\/\).*/{
       
  7585 	    s//\1/
       
  7586 	    q
       
  7587 	  }
       
  7588 	  s/.*/./; q'`
       
  7589   as_dir="$ac_dir"; as_fn_mkdir_p
       
  7590   ac_builddir=.
       
  7591 
       
  7592 case "$ac_dir" in
       
  7593 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
       
  7594 *)
       
  7595   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
       
  7596   # A ".." for each directory in $ac_dir_suffix.
       
  7597   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
       
  7598   case $ac_top_builddir_sub in
       
  7599   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
       
  7600   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
       
  7601   esac ;;
       
  7602 esac
       
  7603 ac_abs_top_builddir=$ac_pwd
       
  7604 ac_abs_builddir=$ac_pwd$ac_dir_suffix
       
  7605 # for backward compatibility:
       
  7606 ac_top_builddir=$ac_top_build_prefix
       
  7607 
       
  7608 case $srcdir in
       
  7609   .)  # We are building in place.
       
  7610     ac_srcdir=.
       
  7611     ac_top_srcdir=$ac_top_builddir_sub
       
  7612     ac_abs_top_srcdir=$ac_pwd ;;
       
  7613   [\\/]* | ?:[\\/]* )  # Absolute name.
       
  7614     ac_srcdir=$srcdir$ac_dir_suffix;
       
  7615     ac_top_srcdir=$srcdir
       
  7616     ac_abs_top_srcdir=$srcdir ;;
       
  7617   *) # Relative name.
       
  7618     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
       
  7619     ac_top_srcdir=$ac_top_build_prefix$srcdir
       
  7620     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
       
  7621 esac
       
  7622 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
       
  7623 
       
  7624 
       
  7625   case $ac_mode in
       
  7626   :F)
       
  7627   #
       
  7628   # CONFIG_FILE
       
  7629   #
       
  7630 
       
  7631 _ACEOF
       
  7632 
       
  7633 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
       
  7634 # If the template does not know about datarootdir, expand it.
       
  7635 # FIXME: This hack should be removed a few years after 2.60.
       
  7636 ac_datarootdir_hack=; ac_datarootdir_seen=
       
  7637 ac_sed_dataroot='
       
  7638 /datarootdir/ {
       
  7639   p
       
  7640   q
       
  7641 }
       
  7642 /@datadir@/p
       
  7643 /@docdir@/p
       
  7644 /@infodir@/p
       
  7645 /@localedir@/p
       
  7646 /@mandir@/p'
       
  7647 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
       
  7648 *datarootdir*) ac_datarootdir_seen=yes;;
       
  7649 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
       
  7650   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
       
  7651 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
       
  7652 _ACEOF
       
  7653 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
       
  7654   ac_datarootdir_hack='
       
  7655   s&@datadir@&$datadir&g
       
  7656   s&@docdir@&$docdir&g
       
  7657   s&@infodir@&$infodir&g
       
  7658   s&@localedir@&$localedir&g
       
  7659   s&@mandir@&$mandir&g
       
  7660   s&\\\${datarootdir}&$datarootdir&g' ;;
       
  7661 esac
       
  7662 _ACEOF
       
  7663 
       
  7664 # Neutralize VPATH when `$srcdir' = `.'.
       
  7665 # Shell code in configure.ac might set extrasub.
       
  7666 # FIXME: do we really want to maintain this feature?
       
  7667 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
       
  7668 ac_sed_extra="$ac_vpsub
       
  7669 $extrasub
       
  7670 _ACEOF
       
  7671 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
       
  7672 :t
       
  7673 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
       
  7674 s|@configure_input@|$ac_sed_conf_input|;t t
       
  7675 s&@top_builddir@&$ac_top_builddir_sub&;t t
       
  7676 s&@top_build_prefix@&$ac_top_build_prefix&;t t
       
  7677 s&@srcdir@&$ac_srcdir&;t t
       
  7678 s&@abs_srcdir@&$ac_abs_srcdir&;t t
       
  7679 s&@top_srcdir@&$ac_top_srcdir&;t t
       
  7680 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
       
  7681 s&@builddir@&$ac_builddir&;t t
       
  7682 s&@abs_builddir@&$ac_abs_builddir&;t t
       
  7683 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
       
  7684 $ac_datarootdir_hack
       
  7685 "
       
  7686 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
       
  7687   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
       
  7688 
       
  7689 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
       
  7690   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
       
  7691   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
       
  7692   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
       
  7693 which seems to be undefined.  Please make sure it is defined" >&5
       
  7694 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
       
  7695 which seems to be undefined.  Please make sure it is defined" >&2;}
       
  7696 
       
  7697   rm -f "$tmp/stdin"
       
  7698   case $ac_file in
       
  7699   -) cat "$tmp/out" && rm -f "$tmp/out";;
       
  7700   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
       
  7701   esac \
       
  7702   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
       
  7703  ;;
       
  7704   :H)
       
  7705   #
       
  7706   # CONFIG_HEADER
       
  7707   #
       
  7708   if test x"$ac_file" != x-; then
       
  7709     {
       
  7710       $as_echo "/* $configure_input  */" \
       
  7711       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
       
  7712     } >"$tmp/config.h" \
       
  7713       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
       
  7714     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
       
  7715       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
       
  7716 $as_echo "$as_me: $ac_file is unchanged" >&6;}
       
  7717     else
       
  7718       rm -f "$ac_file"
       
  7719       mv "$tmp/config.h" "$ac_file" \
       
  7720 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
       
  7721     fi
       
  7722   else
       
  7723     $as_echo "/* $configure_input  */" \
       
  7724       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
       
  7725       || as_fn_error $? "could not create -" "$LINENO" 5
       
  7726   fi
       
  7727  ;;
       
  7728 
       
  7729 
       
  7730   esac
       
  7731 
       
  7732 done # for ac_tag
       
  7733 
       
  7734 
       
  7735 as_fn_exit 0
       
  7736 _ACEOF
       
  7737 ac_clean_files=$ac_clean_files_save
       
  7738 
       
  7739 test $ac_write_fail = 0 ||
       
  7740   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
       
  7741 
       
  7742 
       
  7743 # configure is writing to config.log, and then calls config.status.
       
  7744 # config.status does its own redirection, appending to config.log.
       
  7745 # Unfortunately, on DOS this fails, as config.log is still kept open
       
  7746 # by configure, so config.status won't be able to write to it; its
       
  7747 # output is simply discarded.  So we exec the FD to /dev/null,
       
  7748 # effectively closing config.log, so it can be properly (re)opened and
       
  7749 # appended to by config.status.  When coming back to configure, we
       
  7750 # need to make the FD available again.
       
  7751 if test "$no_create" != yes; then
       
  7752   ac_cs_success=:
       
  7753   ac_config_status_args=
       
  7754   test "$silent" = yes &&
       
  7755     ac_config_status_args="$ac_config_status_args --quiet"
       
  7756   exec 5>/dev/null
       
  7757   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
       
  7758   exec 5>>config.log
       
  7759   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
       
  7760   # would make configure fail if this is the last instruction.
       
  7761   $ac_cs_success || as_fn_exit 1
       
  7762 fi
       
  7763 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
       
  7764   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
       
  7765 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
       
  7766 fi
       
  7767 
       
  7768 
       
  7769 make buildopts