source: trunk/packages/optimizer/src/pgapack/configure @ 1062

Last change on this file since 1062 was 1052, checked in by gah, 16 years ago

fixes to optimizer build

  • Property svn:executable set to *
File size: 124.0 KB
Line 
1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.62 for PGAPACK 1.1.
4#
5# Report bugs to <rappture@nanohub.org>.
6#
7# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
9# This configure script is free software; the Free Software Foundation
10# gives unlimited permission to copy, distribute and modify it.
11## --------------------- ##
12## M4sh Initialization.  ##
13## --------------------- ##
14
15# Be more Bourne compatible
16DUALCASE=1; export DUALCASE # for MKS sh
17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18  emulate sh
19  NULLCMD=:
20  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21  # is contrary to our usage.  Disable this feature.
22  alias -g '${1+"$@"}'='"$@"'
23  setopt NO_GLOB_SUBST
24else
25  case `(set -o) 2>/dev/null` in
26  *posix*) set -o posix ;;
27esac
28
29fi
30
31
32
33
34# PATH needs CR
35# Avoid depending upon Character Ranges.
36as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39as_cr_digits='0123456789'
40as_cr_alnum=$as_cr_Letters$as_cr_digits
41
42as_nl='
43'
44export as_nl
45# Printing a long string crashes Solaris 7 /usr/bin/printf.
46as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
47as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
48as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
49if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50  as_echo='printf %s\n'
51  as_echo_n='printf %s'
52else
53  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55    as_echo_n='/usr/ucb/echo -n'
56  else
57    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58    as_echo_n_body='eval
59      arg=$1;
60      case $arg in
61      *"$as_nl"*)
62        expr "X$arg" : "X\\(.*\\)$as_nl";
63        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64      esac;
65      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66    '
67    export as_echo_n_body
68    as_echo_n='sh -c $as_echo_n_body as_echo'
69  fi
70  export as_echo_body
71  as_echo='sh -c $as_echo_body as_echo'
72fi
73
74# The user is always right.
75if test "${PATH_SEPARATOR+set}" != set; then
76  PATH_SEPARATOR=:
77  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79      PATH_SEPARATOR=';'
80  }
81fi
82
83# Support unset when possible.
84if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
85  as_unset=unset
86else
87  as_unset=false
88fi
89
90
91# IFS
92# We need space, tab and new line, in precisely that order.  Quoting is
93# there to prevent editors from complaining about space-tab.
94# (If _AS_PATH_WALK were called with IFS unset, it would disable word
95# splitting by setting IFS to empty value.)
96IFS=" ""        $as_nl"
97
98# Find who we are.  Look in the path if we contain no directory separator.
99case $0 in
100  *[\\/]* ) as_myself=$0 ;;
101  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
102for as_dir in $PATH
103do
104  IFS=$as_save_IFS
105  test -z "$as_dir" && as_dir=.
106  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107done
108IFS=$as_save_IFS
109
110     ;;
111esac
112# We did not find ourselves, most probably we were run as `sh COMMAND'
113# in which case we are not to be found in the path.
114if test "x$as_myself" = x; then
115  as_myself=$0
116fi
117if test ! -f "$as_myself"; then
118  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
119  { (exit 1); exit 1; }
120fi
121
122# Work around bugs in pre-3.0 UWIN ksh.
123for as_var in ENV MAIL MAILPATH
124do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
125done
126PS1='$ '
127PS2='> '
128PS4='+ '
129
130# NLS nuisances.
131LC_ALL=C
132export LC_ALL
133LANGUAGE=C
134export LANGUAGE
135
136# Required to use basename.
137if expr a : '\(a\)' >/dev/null 2>&1 &&
138   test "X`expr 00001 : '.*\(...\)'`" = X001; then
139  as_expr=expr
140else
141  as_expr=false
142fi
143
144if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
145  as_basename=basename
146else
147  as_basename=false
148fi
149
150
151# Name of the executable.
152as_me=`$as_basename -- "$0" ||
153$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
154         X"$0" : 'X\(//\)$' \| \
155         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
156$as_echo X/"$0" |
157    sed '/^.*\/\([^/][^/]*\)\/*$/{
158            s//\1/
159            q
160          }
161          /^X\/\(\/\/\)$/{
162            s//\1/
163            q
164          }
165          /^X\/\(\/\).*/{
166            s//\1/
167            q
168          }
169          s/.*/./; q'`
170
171# CDPATH.
172$as_unset CDPATH
173
174
175if test "x$CONFIG_SHELL" = x; then
176  if (eval ":") 2>/dev/null; then
177  as_have_required=yes
178else
179  as_have_required=no
180fi
181
182  if test $as_have_required = yes &&     (eval ":
183(as_func_return () {
184  (exit \$1)
185}
186as_func_success () {
187  as_func_return 0
188}
189as_func_failure () {
190  as_func_return 1
191}
192as_func_ret_success () {
193  return 0
194}
195as_func_ret_failure () {
196  return 1
197}
198
199exitcode=0
200if as_func_success; then
201  :
202else
203  exitcode=1
204  echo as_func_success failed.
205fi
206
207if as_func_failure; then
208  exitcode=1
209  echo as_func_failure succeeded.
210fi
211
212if as_func_ret_success; then
213  :
214else
215  exitcode=1
216  echo as_func_ret_success failed.
217fi
218
219if as_func_ret_failure; then
220  exitcode=1
221  echo as_func_ret_failure succeeded.
222fi
223
224if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
225  :
226else
227  exitcode=1
228  echo positional parameters were not saved.
229fi
230
231test \$exitcode = 0) || { (exit 1); exit 1; }
232
233(
234  as_lineno_1=\$LINENO
235  as_lineno_2=\$LINENO
236  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
237  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
238") 2> /dev/null; then
239  :
240else
241  as_candidate_shells=
242    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
243for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
244do
245  IFS=$as_save_IFS
246  test -z "$as_dir" && as_dir=.
247  case $as_dir in
248         /*)
249           for as_base in sh bash ksh sh5; do
250             as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
251           done;;
252       esac
253done
254IFS=$as_save_IFS
255
256
257      for as_shell in $as_candidate_shells $SHELL; do
258         # Try only shells that exist, to save several forks.
259         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
260                { ("$as_shell") 2> /dev/null <<\_ASEOF
261if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262  emulate sh
263  NULLCMD=:
264  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
265  # is contrary to our usage.  Disable this feature.
266  alias -g '${1+"$@"}'='"$@"'
267  setopt NO_GLOB_SUBST
268else
269  case `(set -o) 2>/dev/null` in
270  *posix*) set -o posix ;;
271esac
272
273fi
274
275
276:
277_ASEOF
278}; then
279  CONFIG_SHELL=$as_shell
280               as_have_required=yes
281               if { "$as_shell" 2> /dev/null <<\_ASEOF
282if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
283  emulate sh
284  NULLCMD=:
285  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
286  # is contrary to our usage.  Disable this feature.
287  alias -g '${1+"$@"}'='"$@"'
288  setopt NO_GLOB_SUBST
289else
290  case `(set -o) 2>/dev/null` in
291  *posix*) set -o posix ;;
292esac
293
294fi
295
296
297:
298(as_func_return () {
299  (exit $1)
300}
301as_func_success () {
302  as_func_return 0
303}
304as_func_failure () {
305  as_func_return 1
306}
307as_func_ret_success () {
308  return 0
309}
310as_func_ret_failure () {
311  return 1
312}
313
314exitcode=0
315if as_func_success; then
316  :
317else
318  exitcode=1
319  echo as_func_success failed.
320fi
321
322if as_func_failure; then
323  exitcode=1
324  echo as_func_failure succeeded.
325fi
326
327if as_func_ret_success; then
328  :
329else
330  exitcode=1
331  echo as_func_ret_success failed.
332fi
333
334if as_func_ret_failure; then
335  exitcode=1
336  echo as_func_ret_failure succeeded.
337fi
338
339if ( set x; as_func_ret_success y && test x = "$1" ); then
340  :
341else
342  exitcode=1
343  echo positional parameters were not saved.
344fi
345
346test $exitcode = 0) || { (exit 1); exit 1; }
347
348(
349  as_lineno_1=$LINENO
350  as_lineno_2=$LINENO
351  test "x$as_lineno_1" != "x$as_lineno_2" &&
352  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
353
354_ASEOF
355}; then
356  break
357fi
358
359fi
360
361      done
362
363      if test "x$CONFIG_SHELL" != x; then
364  for as_var in BASH_ENV ENV
365        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
366        done
367        export CONFIG_SHELL
368        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
369fi
370
371
372    if test $as_have_required = no; then
373  echo This script requires a shell more modern than all the
374      echo shells that I found on your system.  Please install a
375      echo modern shell, or manually run the script under such a
376      echo shell if you do have one.
377      { (exit 1); exit 1; }
378fi
379
380
381fi
382
383fi
384
385
386
387(eval "as_func_return () {
388  (exit \$1)
389}
390as_func_success () {
391  as_func_return 0
392}
393as_func_failure () {
394  as_func_return 1
395}
396as_func_ret_success () {
397  return 0
398}
399as_func_ret_failure () {
400  return 1
401}
402
403exitcode=0
404if as_func_success; then
405  :
406else
407  exitcode=1
408  echo as_func_success failed.
409fi
410
411if as_func_failure; then
412  exitcode=1
413  echo as_func_failure succeeded.
414fi
415
416if as_func_ret_success; then
417  :
418else
419  exitcode=1
420  echo as_func_ret_success failed.
421fi
422
423if as_func_ret_failure; then
424  exitcode=1
425  echo as_func_ret_failure succeeded.
426fi
427
428if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
429  :
430else
431  exitcode=1
432  echo positional parameters were not saved.
433fi
434
435test \$exitcode = 0") || {
436  echo No shell found that supports shell functions.
437  echo Please tell bug-autoconf@gnu.org about your system,
438  echo including any error possibly output before this message.
439  echo This can help us improve future autoconf versions.
440  echo Configuration will now proceed without shell functions.
441}
442
443
444
445  as_lineno_1=$LINENO
446  as_lineno_2=$LINENO
447  test "x$as_lineno_1" != "x$as_lineno_2" &&
448  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
449
450  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
451  # uniformly replaced by the line number.  The first 'sed' inserts a
452  # line-number line after each line using $LINENO; the second 'sed'
453  # does the real work.  The second script uses 'N' to pair each
454  # line-number line with the line containing $LINENO, and appends
455  # trailing '-' during substitution so that $LINENO is not a special
456  # case at line end.
457  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
458  # scripts with optimization help from Paolo Bonzini.  Blame Lee
459  # E. McMahon (1931-1989) for sed's syntax.  :-)
460  sed -n '
461    p
462    /[$]LINENO/=
463  ' <$as_myself |
464    sed '
465      s/[$]LINENO.*/&-/
466      t lineno
467      b
468      :lineno
469      N
470      :loop
471      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
472      t loop
473      s/-\n.*//
474    ' >$as_me.lineno &&
475  chmod +x "$as_me.lineno" ||
476    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
477   { (exit 1); exit 1; }; }
478
479  # Don't try to exec as it changes $[0], causing all sort of problems
480  # (the dirname of $[0] is not the place where we might find the
481  # original and so on.  Autoconf is especially sensitive to this).
482  . "./$as_me.lineno"
483  # Exit status is that of the last command.
484  exit
485}
486
487
488if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
489  as_dirname=dirname
490else
491  as_dirname=false
492fi
493
494ECHO_C= ECHO_N= ECHO_T=
495case `echo -n x` in
496-n*)
497  case `echo 'x\c'` in
498  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
499  *)   ECHO_C='\c';;
500  esac;;
501*)
502  ECHO_N='-n';;
503esac
504if expr a : '\(a\)' >/dev/null 2>&1 &&
505   test "X`expr 00001 : '.*\(...\)'`" = X001; then
506  as_expr=expr
507else
508  as_expr=false
509fi
510
511rm -f conf$$ conf$$.exe conf$$.file
512if test -d conf$$.dir; then
513  rm -f conf$$.dir/conf$$.file
514else
515  rm -f conf$$.dir
516  mkdir conf$$.dir 2>/dev/null
517fi
518if (echo >conf$$.file) 2>/dev/null; then
519  if ln -s conf$$.file conf$$ 2>/dev/null; then
520    as_ln_s='ln -s'
521    # ... but there are two gotchas:
522    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
523    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
524    # In both cases, we have to default to `cp -p'.
525    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
526      as_ln_s='cp -p'
527  elif ln conf$$.file conf$$ 2>/dev/null; then
528    as_ln_s=ln
529  else
530    as_ln_s='cp -p'
531  fi
532else
533  as_ln_s='cp -p'
534fi
535rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
536rmdir conf$$.dir 2>/dev/null
537
538if mkdir -p . 2>/dev/null; then
539  as_mkdir_p=:
540else
541  test -d ./-p && rmdir ./-p
542  as_mkdir_p=false
543fi
544
545if test -x / >/dev/null 2>&1; then
546  as_test_x='test -x'
547else
548  if ls -dL / >/dev/null 2>&1; then
549    as_ls_L_option=L
550  else
551    as_ls_L_option=
552  fi
553  as_test_x='
554    eval sh -c '\''
555      if test -d "$1"; then
556        test -d "$1/.";
557      else
558        case $1 in
559        -*)set "./$1";;
560        esac;
561        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
562        ???[sx]*):;;*)false;;esac;fi
563    '\'' sh
564  '
565fi
566as_executable_p=$as_test_x
567
568# Sed expression to map a string onto a valid CPP name.
569as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
570
571# Sed expression to map a string onto a valid variable name.
572as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
573
574
575
576exec 7<&0 </dev/null 6>&1
577
578# Name of the host.
579# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
580# so uname gets run too.
581ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
582
583#
584# Initializations.
585#
586ac_default_prefix=/usr/local
587ac_clean_files=
588ac_config_libobj_dir=.
589LIBOBJS=
590cross_compiling=no
591subdirs=
592MFLAGS=
593MAKEFLAGS=
594SHELL=${CONFIG_SHELL-/bin/sh}
595
596# Identity of this package.
597PACKAGE_NAME='PGAPACK'
598PACKAGE_TARNAME='pgapack'
599PACKAGE_VERSION='1.1'
600PACKAGE_STRING='PGAPACK 1.1'
601PACKAGE_BUGREPORT='rappture@nanohub.org'
602
603ac_subst_vars='SHELL
604PATH_SEPARATOR
605PACKAGE_NAME
606PACKAGE_TARNAME
607PACKAGE_VERSION
608PACKAGE_STRING
609PACKAGE_BUGREPORT
610exec_prefix
611prefix
612program_transform_name
613bindir
614sbindir
615libexecdir
616datarootdir
617datadir
618sysconfdir
619sharedstatedir
620localstatedir
621includedir
622oldincludedir
623docdir
624infodir
625htmldir
626dvidir
627pdfdir
628psdir
629libdir
630localedir
631mandir
632DEFS
633ECHO_C
634ECHO_N
635ECHO_T
636LIBS
637build_alias
638host_alias
639target_alias
640LIB_SEARCH_DIRS
641INSTALL_PROGRAM
642INSTALL_SCRIPT
643INSTALL_DATA
644SET_MAKE
645CC
646CFLAGS
647LDFLAGS
648CPPFLAGS
649ac_ct_CC
650EXEEXT
651OBJEXT
652F77
653FFLAGS
654ac_ct_F77
655RANLIB
656LN_S
657LIBOBJS
658LTLIBOBJS'
659ac_subst_files=''
660ac_user_opts='
661enable_option_checking
662'
663      ac_precious_vars='build_alias
664host_alias
665target_alias
666CC
667CFLAGS
668LDFLAGS
669LIBS
670CPPFLAGS
671F77
672FFLAGS'
673
674
675# Initialize some variables set by options.
676ac_init_help=
677ac_init_version=false
678ac_unrecognized_opts=
679ac_unrecognized_sep=
680# The variables have the same names as the options, with
681# dashes changed to underlines.
682cache_file=/dev/null
683exec_prefix=NONE
684no_create=
685no_recursion=
686prefix=NONE
687program_prefix=NONE
688program_suffix=NONE
689program_transform_name=s,x,x,
690silent=
691site=
692srcdir=
693verbose=
694x_includes=NONE
695x_libraries=NONE
696
697# Installation directory options.
698# These are left unexpanded so users can "make install exec_prefix=/foo"
699# and all the variables that are supposed to be based on exec_prefix
700# by default will actually change.
701# Use braces instead of parens because sh, perl, etc. also accept them.
702# (The list follows the same order as the GNU Coding Standards.)
703bindir='${exec_prefix}/bin'
704sbindir='${exec_prefix}/sbin'
705libexecdir='${exec_prefix}/libexec'
706datarootdir='${prefix}/share'
707datadir='${datarootdir}'
708sysconfdir='${prefix}/etc'
709sharedstatedir='${prefix}/com'
710localstatedir='${prefix}/var'
711includedir='${prefix}/include'
712oldincludedir='/usr/include'
713docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
714infodir='${datarootdir}/info'
715htmldir='${docdir}'
716dvidir='${docdir}'
717pdfdir='${docdir}'
718psdir='${docdir}'
719libdir='${exec_prefix}/lib'
720localedir='${datarootdir}/locale'
721mandir='${datarootdir}/man'
722
723ac_prev=
724ac_dashdash=
725for ac_option
726do
727  # If the previous option needs an argument, assign it.
728  if test -n "$ac_prev"; then
729    eval $ac_prev=\$ac_option
730    ac_prev=
731    continue
732  fi
733
734  case $ac_option in
735  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
736  *)    ac_optarg=yes ;;
737  esac
738
739  # Accept the important Cygnus configure options, so we can diagnose typos.
740
741  case $ac_dashdash$ac_option in
742  --)
743    ac_dashdash=yes ;;
744
745  -bindir | --bindir | --bindi | --bind | --bin | --bi)
746    ac_prev=bindir ;;
747  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
748    bindir=$ac_optarg ;;
749
750  -build | --build | --buil | --bui | --bu)
751    ac_prev=build_alias ;;
752  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
753    build_alias=$ac_optarg ;;
754
755  -cache-file | --cache-file | --cache-fil | --cache-fi \
756  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
757    ac_prev=cache_file ;;
758  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
759  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
760    cache_file=$ac_optarg ;;
761
762  --config-cache | -C)
763    cache_file=config.cache ;;
764
765  -datadir | --datadir | --datadi | --datad)
766    ac_prev=datadir ;;
767  -datadir=* | --datadir=* | --datadi=* | --datad=*)
768    datadir=$ac_optarg ;;
769
770  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
771  | --dataroo | --dataro | --datar)
772    ac_prev=datarootdir ;;
773  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
774  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
775    datarootdir=$ac_optarg ;;
776
777  -disable-* | --disable-*)
778    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
779    # Reject names that are not valid shell variable names.
780    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
781      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
782   { (exit 1); exit 1; }; }
783    ac_useropt_orig=$ac_useropt
784    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
785    case $ac_user_opts in
786      *"
787"enable_$ac_useropt"
788"*) ;;
789      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
790         ac_unrecognized_sep=', ';;
791    esac
792    eval enable_$ac_useropt=no ;;
793
794  -docdir | --docdir | --docdi | --doc | --do)
795    ac_prev=docdir ;;
796  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
797    docdir=$ac_optarg ;;
798
799  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
800    ac_prev=dvidir ;;
801  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
802    dvidir=$ac_optarg ;;
803
804  -enable-* | --enable-*)
805    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
806    # Reject names that are not valid shell variable names.
807    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
808      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
809   { (exit 1); exit 1; }; }
810    ac_useropt_orig=$ac_useropt
811    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
812    case $ac_user_opts in
813      *"
814"enable_$ac_useropt"
815"*) ;;
816      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
817         ac_unrecognized_sep=', ';;
818    esac
819    eval enable_$ac_useropt=\$ac_optarg ;;
820
821  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
822  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
823  | --exec | --exe | --ex)
824    ac_prev=exec_prefix ;;
825  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
826  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
827  | --exec=* | --exe=* | --ex=*)
828    exec_prefix=$ac_optarg ;;
829
830  -gas | --gas | --ga | --g)
831    # Obsolete; use --with-gas.
832    with_gas=yes ;;
833
834  -help | --help | --hel | --he | -h)
835    ac_init_help=long ;;
836  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
837    ac_init_help=recursive ;;
838  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
839    ac_init_help=short ;;
840
841  -host | --host | --hos | --ho)
842    ac_prev=host_alias ;;
843  -host=* | --host=* | --hos=* | --ho=*)
844    host_alias=$ac_optarg ;;
845
846  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
847    ac_prev=htmldir ;;
848  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
849  | --ht=*)
850    htmldir=$ac_optarg ;;
851
852  -includedir | --includedir | --includedi | --included | --include \
853  | --includ | --inclu | --incl | --inc)
854    ac_prev=includedir ;;
855  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
856  | --includ=* | --inclu=* | --incl=* | --inc=*)
857    includedir=$ac_optarg ;;
858
859  -infodir | --infodir | --infodi | --infod | --info | --inf)
860    ac_prev=infodir ;;
861  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
862    infodir=$ac_optarg ;;
863
864  -libdir | --libdir | --libdi | --libd)
865    ac_prev=libdir ;;
866  -libdir=* | --libdir=* | --libdi=* | --libd=*)
867    libdir=$ac_optarg ;;
868
869  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
870  | --libexe | --libex | --libe)
871    ac_prev=libexecdir ;;
872  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
873  | --libexe=* | --libex=* | --libe=*)
874    libexecdir=$ac_optarg ;;
875
876  -localedir | --localedir | --localedi | --localed | --locale)
877    ac_prev=localedir ;;
878  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
879    localedir=$ac_optarg ;;
880
881  -localstatedir | --localstatedir | --localstatedi | --localstated \
882  | --localstate | --localstat | --localsta | --localst | --locals)
883    ac_prev=localstatedir ;;
884  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
885  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
886    localstatedir=$ac_optarg ;;
887
888  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
889    ac_prev=mandir ;;
890  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
891    mandir=$ac_optarg ;;
892
893  -nfp | --nfp | --nf)
894    # Obsolete; use --without-fp.
895    with_fp=no ;;
896
897  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
898  | --no-cr | --no-c | -n)
899    no_create=yes ;;
900
901  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
902  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
903    no_recursion=yes ;;
904
905  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
906  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
907  | --oldin | --oldi | --old | --ol | --o)
908    ac_prev=oldincludedir ;;
909  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
910  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
911  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
912    oldincludedir=$ac_optarg ;;
913
914  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
915    ac_prev=prefix ;;
916  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
917    prefix=$ac_optarg ;;
918
919  -program-prefix | --program-prefix | --program-prefi | --program-pref \
920  | --program-pre | --program-pr | --program-p)
921    ac_prev=program_prefix ;;
922  -program-prefix=* | --program-prefix=* | --program-prefi=* \
923  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
924    program_prefix=$ac_optarg ;;
925
926  -program-suffix | --program-suffix | --program-suffi | --program-suff \
927  | --program-suf | --program-su | --program-s)
928    ac_prev=program_suffix ;;
929  -program-suffix=* | --program-suffix=* | --program-suffi=* \
930  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
931    program_suffix=$ac_optarg ;;
932
933  -program-transform-name | --program-transform-name \
934  | --program-transform-nam | --program-transform-na \
935  | --program-transform-n | --program-transform- \
936  | --program-transform | --program-transfor \
937  | --program-transfo | --program-transf \
938  | --program-trans | --program-tran \
939  | --progr-tra | --program-tr | --program-t)
940    ac_prev=program_transform_name ;;
941  -program-transform-name=* | --program-transform-name=* \
942  | --program-transform-nam=* | --program-transform-na=* \
943  | --program-transform-n=* | --program-transform-=* \
944  | --program-transform=* | --program-transfor=* \
945  | --program-transfo=* | --program-transf=* \
946  | --program-trans=* | --program-tran=* \
947  | --progr-tra=* | --program-tr=* | --program-t=*)
948    program_transform_name=$ac_optarg ;;
949
950  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
951    ac_prev=pdfdir ;;
952  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
953    pdfdir=$ac_optarg ;;
954
955  -psdir | --psdir | --psdi | --psd | --ps)
956    ac_prev=psdir ;;
957  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
958    psdir=$ac_optarg ;;
959
960  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
961  | -silent | --silent | --silen | --sile | --sil)
962    silent=yes ;;
963
964  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
965    ac_prev=sbindir ;;
966  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
967  | --sbi=* | --sb=*)
968    sbindir=$ac_optarg ;;
969
970  -sharedstatedir | --sharedstatedir | --sharedstatedi \
971  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
972  | --sharedst | --shareds | --shared | --share | --shar \
973  | --sha | --sh)
974    ac_prev=sharedstatedir ;;
975  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
976  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
977  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
978  | --sha=* | --sh=*)
979    sharedstatedir=$ac_optarg ;;
980
981  -site | --site | --sit)
982    ac_prev=site ;;
983  -site=* | --site=* | --sit=*)
984    site=$ac_optarg ;;
985
986  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
987    ac_prev=srcdir ;;
988  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
989    srcdir=$ac_optarg ;;
990
991  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
992  | --syscon | --sysco | --sysc | --sys | --sy)
993    ac_prev=sysconfdir ;;
994  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
995  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
996    sysconfdir=$ac_optarg ;;
997
998  -target | --target | --targe | --targ | --tar | --ta | --t)
999    ac_prev=target_alias ;;
1000  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1001    target_alias=$ac_optarg ;;
1002
1003  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1004    verbose=yes ;;
1005
1006  -version | --version | --versio | --versi | --vers | -V)
1007    ac_init_version=: ;;
1008
1009  -with-* | --with-*)
1010    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1011    # Reject names that are not valid shell variable names.
1012    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1013      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1014   { (exit 1); exit 1; }; }
1015    ac_useropt_orig=$ac_useropt
1016    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1017    case $ac_user_opts in
1018      *"
1019"with_$ac_useropt"
1020"*) ;;
1021      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1022         ac_unrecognized_sep=', ';;
1023    esac
1024    eval with_$ac_useropt=\$ac_optarg ;;
1025
1026  -without-* | --without-*)
1027    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1028    # Reject names that are not valid shell variable names.
1029    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1030      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1031   { (exit 1); exit 1; }; }
1032    ac_useropt_orig=$ac_useropt
1033    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1034    case $ac_user_opts in
1035      *"
1036"with_$ac_useropt"
1037"*) ;;
1038      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1039         ac_unrecognized_sep=', ';;
1040    esac
1041    eval with_$ac_useropt=no ;;
1042
1043  --x)
1044    # Obsolete; use --with-x.
1045    with_x=yes ;;
1046
1047  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1048  | --x-incl | --x-inc | --x-in | --x-i)
1049    ac_prev=x_includes ;;
1050  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1051  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1052    x_includes=$ac_optarg ;;
1053
1054  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1055  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1056    ac_prev=x_libraries ;;
1057  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1058  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1059    x_libraries=$ac_optarg ;;
1060
1061  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1062Try \`$0 --help' for more information." >&2
1063   { (exit 1); exit 1; }; }
1064    ;;
1065
1066  *=*)
1067    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1068    # Reject names that are not valid shell variable names.
1069    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1070      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1071   { (exit 1); exit 1; }; }
1072    eval $ac_envvar=\$ac_optarg
1073    export $ac_envvar ;;
1074
1075  *)
1076    # FIXME: should be removed in autoconf 3.0.
1077    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1078    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1079      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1080    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1081    ;;
1082
1083  esac
1084done
1085
1086if test -n "$ac_prev"; then
1087  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1088  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1089   { (exit 1); exit 1; }; }
1090fi
1091
1092if test -n "$ac_unrecognized_opts"; then
1093  case $enable_option_checking in
1094    no) ;;
1095    fatal) { $as_echo "$as_me: error: Unrecognized options: $ac_unrecognized_opts" >&2
1096   { (exit 1); exit 1; }; } ;;
1097    *)     $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2 ;;
1098  esac
1099fi
1100
1101# Check all directory arguments for consistency.
1102for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1103                datadir sysconfdir sharedstatedir localstatedir includedir \
1104                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1105                libdir localedir mandir
1106do
1107  eval ac_val=\$$ac_var
1108  # Remove trailing slashes.
1109  case $ac_val in
1110    */ )
1111      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1112      eval $ac_var=\$ac_val;;
1113  esac
1114  # Be sure to have absolute directory names.
1115  case $ac_val in
1116    [\\/$]* | ?:[\\/]* )  continue;;
1117    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1118  esac
1119  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1120   { (exit 1); exit 1; }; }
1121done
1122
1123# There might be people who depend on the old broken behavior: `$host'
1124# used to hold the argument of --host etc.
1125# FIXME: To remove some day.
1126build=$build_alias
1127host=$host_alias
1128target=$target_alias
1129
1130# FIXME: To remove some day.
1131if test "x$host_alias" != x; then
1132  if test "x$build_alias" = x; then
1133    cross_compiling=maybe
1134    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1135    If a cross compiler is detected then cross compile mode will be used." >&2
1136  elif test "x$build_alias" != "x$host_alias"; then
1137    cross_compiling=yes
1138  fi
1139fi
1140
1141ac_tool_prefix=
1142test -n "$host_alias" && ac_tool_prefix=$host_alias-
1143
1144test "$silent" = yes && exec 6>/dev/null
1145
1146
1147ac_pwd=`pwd` && test -n "$ac_pwd" &&
1148ac_ls_di=`ls -di .` &&
1149ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1150  { $as_echo "$as_me: error: Working directory cannot be determined" >&2
1151   { (exit 1); exit 1; }; }
1152test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1153  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1154   { (exit 1); exit 1; }; }
1155
1156
1157# Find the source files, if location was not specified.
1158if test -z "$srcdir"; then
1159  ac_srcdir_defaulted=yes
1160  # Try the directory containing this script, then the parent directory.
1161  ac_confdir=`$as_dirname -- "$as_myself" ||
1162$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1163         X"$as_myself" : 'X\(//\)[^/]' \| \
1164         X"$as_myself" : 'X\(//\)$' \| \
1165         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1166$as_echo X"$as_myself" |
1167    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1168            s//\1/
1169            q
1170          }
1171          /^X\(\/\/\)[^/].*/{
1172            s//\1/
1173            q
1174          }
1175          /^X\(\/\/\)$/{
1176            s//\1/
1177            q
1178          }
1179          /^X\(\/\).*/{
1180            s//\1/
1181            q
1182          }
1183          s/.*/./; q'`
1184  srcdir=$ac_confdir
1185  if test ! -r "$srcdir/$ac_unique_file"; then
1186    srcdir=..
1187  fi
1188else
1189  ac_srcdir_defaulted=no
1190fi
1191if test ! -r "$srcdir/$ac_unique_file"; then
1192  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1193  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1194   { (exit 1); exit 1; }; }
1195fi
1196ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1197ac_abs_confdir=`(
1198        cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1199   { (exit 1); exit 1; }; }
1200        pwd)`
1201# When building in place, set srcdir=.
1202if test "$ac_abs_confdir" = "$ac_pwd"; then
1203  srcdir=.
1204fi
1205# Remove unnecessary trailing slashes from srcdir.
1206# Double slashes in file names in object file debugging info
1207# mess up M-x gdb in Emacs.
1208case $srcdir in
1209*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1210esac
1211for ac_var in $ac_precious_vars; do
1212  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1213  eval ac_env_${ac_var}_value=\$${ac_var}
1214  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1215  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1216done
1217
1218#
1219# Report the --help message.
1220#
1221if test "$ac_init_help" = "long"; then
1222  # Omit some internal or obsolete options to make the list less imposing.
1223  # This message is too long to be a string in the A/UX 3.1 sh.
1224  cat <<_ACEOF
1225\`configure' configures PGAPACK 1.1 to adapt to many kinds of systems.
1226
1227Usage: $0 [OPTION]... [VAR=VALUE]...
1228
1229To assign environment variables (e.g., CC, CFLAGS...), specify them as
1230VAR=VALUE.  See below for descriptions of some of the useful variables.
1231
1232Defaults for the options are specified in brackets.
1233
1234Configuration:
1235  -h, --help              display this help and exit
1236      --help=short        display options specific to this package
1237      --help=recursive    display the short help of all the included packages
1238  -V, --version           display version information and exit
1239  -q, --quiet, --silent   do not print \`checking...' messages
1240      --cache-file=FILE   cache test results in FILE [disabled]
1241  -C, --config-cache      alias for \`--cache-file=config.cache'
1242  -n, --no-create         do not create output files
1243      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1244
1245Installation directories:
1246  --prefix=PREFIX         install architecture-independent files in PREFIX
1247                          [$ac_default_prefix]
1248  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1249                          [PREFIX]
1250
1251By default, \`make install' will install all the files in
1252\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1253an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1254for instance \`--prefix=\$HOME'.
1255
1256For better control, use the options below.
1257
1258Fine tuning of the installation directories:
1259  --bindir=DIR            user executables [EPREFIX/bin]
1260  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1261  --libexecdir=DIR        program executables [EPREFIX/libexec]
1262  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1263  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1264  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1265  --libdir=DIR            object code libraries [EPREFIX/lib]
1266  --includedir=DIR        C header files [PREFIX/include]
1267  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1268  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1269  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1270  --infodir=DIR           info documentation [DATAROOTDIR/info]
1271  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1272  --mandir=DIR            man documentation [DATAROOTDIR/man]
1273  --docdir=DIR            documentation root [DATAROOTDIR/doc/pgapack]
1274  --htmldir=DIR           html documentation [DOCDIR]
1275  --dvidir=DIR            dvi documentation [DOCDIR]
1276  --pdfdir=DIR            pdf documentation [DOCDIR]
1277  --psdir=DIR             ps documentation [DOCDIR]
1278_ACEOF
1279
1280  cat <<\_ACEOF
1281_ACEOF
1282fi
1283
1284if test -n "$ac_init_help"; then
1285  case $ac_init_help in
1286     short | recursive ) echo "Configuration of PGAPACK 1.1:";;
1287   esac
1288  cat <<\_ACEOF
1289
1290Some influential environment variables:
1291  CC          C compiler command
1292  CFLAGS      C compiler flags
1293  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1294              nonstandard directory <lib dir>
1295  LIBS        libraries to pass to the linker, e.g. -l<library>
1296  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1297              you have headers in a nonstandard directory <include dir>
1298  F77         Fortran 77 compiler command
1299  FFLAGS      Fortran 77 compiler flags
1300
1301Use these variables to override the choices made by `configure' or to help
1302it to find libraries and programs with nonstandard names/locations.
1303
1304Report bugs to <rappture@nanohub.org>.
1305_ACEOF
1306ac_status=$?
1307fi
1308
1309if test "$ac_init_help" = "recursive"; then
1310  # If there are subdirs, report their specific --help.
1311  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1312    test -d "$ac_dir" ||
1313      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1314      continue
1315    ac_builddir=.
1316
1317case "$ac_dir" in
1318.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1319*)
1320  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1321  # A ".." for each directory in $ac_dir_suffix.
1322  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1323  case $ac_top_builddir_sub in
1324  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1325  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1326  esac ;;
1327esac
1328ac_abs_top_builddir=$ac_pwd
1329ac_abs_builddir=$ac_pwd$ac_dir_suffix
1330# for backward compatibility:
1331ac_top_builddir=$ac_top_build_prefix
1332
1333case $srcdir in
1334  .)  # We are building in place.
1335    ac_srcdir=.
1336    ac_top_srcdir=$ac_top_builddir_sub
1337    ac_abs_top_srcdir=$ac_pwd ;;
1338  [\\/]* | ?:[\\/]* )  # Absolute name.
1339    ac_srcdir=$srcdir$ac_dir_suffix;
1340    ac_top_srcdir=$srcdir
1341    ac_abs_top_srcdir=$srcdir ;;
1342  *) # Relative name.
1343    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1344    ac_top_srcdir=$ac_top_build_prefix$srcdir
1345    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1346esac
1347ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1348
1349    cd "$ac_dir" || { ac_status=$?; continue; }
1350    # Check for guested configure.
1351    if test -f "$ac_srcdir/configure.gnu"; then
1352      echo &&
1353      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1354    elif test -f "$ac_srcdir/configure"; then
1355      echo &&
1356      $SHELL "$ac_srcdir/configure" --help=recursive
1357    else
1358      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1359    fi || ac_status=$?
1360    cd "$ac_pwd" || { ac_status=$?; break; }
1361  done
1362fi
1363
1364test -n "$ac_init_help" && exit $ac_status
1365if $ac_init_version; then
1366  cat <<\_ACEOF
1367PGAPACK configure 1.1
1368generated by GNU Autoconf 2.62
1369
1370Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
13712002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1372This configure script is free software; the Free Software Foundation
1373gives unlimited permission to copy, distribute and modify it.
1374_ACEOF
1375  exit
1376fi
1377cat >config.log <<_ACEOF
1378This file contains any messages produced by compilers while
1379running configure, to aid debugging if configure makes a mistake.
1380
1381It was created by PGAPACK $as_me 1.1, which was
1382generated by GNU Autoconf 2.62.  Invocation command line was
1383
1384  $ $0 $@
1385
1386_ACEOF
1387exec 5>>config.log
1388{
1389cat <<_ASUNAME
1390## --------- ##
1391## Platform. ##
1392## --------- ##
1393
1394hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1395uname -m = `(uname -m) 2>/dev/null || echo unknown`
1396uname -r = `(uname -r) 2>/dev/null || echo unknown`
1397uname -s = `(uname -s) 2>/dev/null || echo unknown`
1398uname -v = `(uname -v) 2>/dev/null || echo unknown`
1399
1400/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1401/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1402
1403/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1404/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1405/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1406/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1407/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1408/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1409/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1410
1411_ASUNAME
1412
1413as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1414for as_dir in $PATH
1415do
1416  IFS=$as_save_IFS
1417  test -z "$as_dir" && as_dir=.
1418  $as_echo "PATH: $as_dir"
1419done
1420IFS=$as_save_IFS
1421
1422} >&5
1423
1424cat >&5 <<_ACEOF
1425
1426
1427## ----------- ##
1428## Core tests. ##
1429## ----------- ##
1430
1431_ACEOF
1432
1433
1434# Keep a trace of the command line.
1435# Strip out --no-create and --no-recursion so they do not pile up.
1436# Strip out --silent because we don't want to record it for future runs.
1437# Also quote any args containing shell meta-characters.
1438# Make two passes to allow for proper duplicate-argument suppression.
1439ac_configure_args=
1440ac_configure_args0=
1441ac_configure_args1=
1442ac_must_keep_next=false
1443for ac_pass in 1 2
1444do
1445  for ac_arg
1446  do
1447    case $ac_arg in
1448    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1449    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1450    | -silent | --silent | --silen | --sile | --sil)
1451      continue ;;
1452    *\'*)
1453      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1454    esac
1455    case $ac_pass in
1456    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1457    2)
1458      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1459      if test $ac_must_keep_next = true; then
1460        ac_must_keep_next=false # Got value, back to normal.
1461      else
1462        case $ac_arg in
1463          *=* | --config-cache | -C | -disable-* | --disable-* \
1464          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1465          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1466          | -with-* | --with-* | -without-* | --without-* | --x)
1467            case "$ac_configure_args0 " in
1468              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1469            esac
1470            ;;
1471          -* ) ac_must_keep_next=true ;;
1472        esac
1473      fi
1474      ac_configure_args="$ac_configure_args '$ac_arg'"
1475      ;;
1476    esac
1477  done
1478done
1479$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1480$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1481
1482# When interrupted or exit'd, cleanup temporary files, and complete
1483# config.log.  We remove comments because anyway the quotes in there
1484# would cause problems or look ugly.
1485# WARNING: Use '\'' to represent an apostrophe within the trap.
1486# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1487trap 'exit_status=$?
1488  # Save into config.log some information that might help in debugging.
1489  {
1490    echo
1491
1492    cat <<\_ASBOX
1493## ---------------- ##
1494## Cache variables. ##
1495## ---------------- ##
1496_ASBOX
1497    echo
1498    # The following way of writing the cache mishandles newlines in values,
1499(
1500  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1501    eval ac_val=\$$ac_var
1502    case $ac_val in #(
1503    *${as_nl}*)
1504      case $ac_var in #(
1505      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1506$as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1507      esac
1508      case $ac_var in #(
1509      _ | IFS | as_nl) ;; #(
1510      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1511      *) $as_unset $ac_var ;;
1512      esac ;;
1513    esac
1514  done
1515  (set) 2>&1 |
1516    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1517    *${as_nl}ac_space=\ *)
1518      sed -n \
1519        "s/'\''/'\''\\\\'\'''\''/g;
1520          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1521      ;; #(
1522    *)
1523      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1524      ;;
1525    esac |
1526    sort
1527)
1528    echo
1529
1530    cat <<\_ASBOX
1531## ----------------- ##
1532## Output variables. ##
1533## ----------------- ##
1534_ASBOX
1535    echo
1536    for ac_var in $ac_subst_vars
1537    do
1538      eval ac_val=\$$ac_var
1539      case $ac_val in
1540      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1541      esac
1542      $as_echo "$ac_var='\''$ac_val'\''"
1543    done | sort
1544    echo
1545
1546    if test -n "$ac_subst_files"; then
1547      cat <<\_ASBOX
1548## ------------------- ##
1549## File substitutions. ##
1550## ------------------- ##
1551_ASBOX
1552      echo
1553      for ac_var in $ac_subst_files
1554      do
1555        eval ac_val=\$$ac_var
1556        case $ac_val in
1557        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1558        esac
1559        $as_echo "$ac_var='\''$ac_val'\''"
1560      done | sort
1561      echo
1562    fi
1563
1564    if test -s confdefs.h; then
1565      cat <<\_ASBOX
1566## ----------- ##
1567## confdefs.h. ##
1568## ----------- ##
1569_ASBOX
1570      echo
1571      cat confdefs.h
1572      echo
1573    fi
1574    test "$ac_signal" != 0 &&
1575      $as_echo "$as_me: caught signal $ac_signal"
1576    $as_echo "$as_me: exit $exit_status"
1577  } >&5
1578  rm -f core *.core core.conftest.* &&
1579    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1580    exit $exit_status
1581' 0
1582for ac_signal in 1 2 13 15; do
1583  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1584done
1585ac_signal=0
1586
1587# confdefs.h avoids OS command line length limits that DEFS can exceed.
1588rm -f -r conftest* confdefs.h
1589
1590# Predefined preprocessor variables.
1591
1592cat >>confdefs.h <<_ACEOF
1593#define PACKAGE_NAME "$PACKAGE_NAME"
1594_ACEOF
1595
1596
1597cat >>confdefs.h <<_ACEOF
1598#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1599_ACEOF
1600
1601
1602cat >>confdefs.h <<_ACEOF
1603#define PACKAGE_VERSION "$PACKAGE_VERSION"
1604_ACEOF
1605
1606
1607cat >>confdefs.h <<_ACEOF
1608#define PACKAGE_STRING "$PACKAGE_STRING"
1609_ACEOF
1610
1611
1612cat >>confdefs.h <<_ACEOF
1613#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1614_ACEOF
1615
1616
1617# Let the site file select an alternate cache file if it wants to.
1618# Prefer an explicitly selected file to automatically selected ones.
1619ac_site_file1=NONE
1620ac_site_file2=NONE
1621if test -n "$CONFIG_SITE"; then
1622  ac_site_file1=$CONFIG_SITE
1623elif test "x$prefix" != xNONE; then
1624  ac_site_file1=$prefix/share/config.site
1625  ac_site_file2=$prefix/etc/config.site
1626else
1627  ac_site_file1=$ac_default_prefix/share/config.site
1628  ac_site_file2=$ac_default_prefix/etc/config.site
1629fi
1630for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1631do
1632  test "x$ac_site_file" = xNONE && continue
1633  if test -r "$ac_site_file"; then
1634    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1635$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1636    sed 's/^/| /' "$ac_site_file" >&5
1637    . "$ac_site_file"
1638  fi
1639done
1640
1641if test -r "$cache_file"; then
1642  # Some versions of bash will fail to source /dev/null (special
1643  # files actually), so we avoid doing that.
1644  if test -f "$cache_file"; then
1645    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1646$as_echo "$as_me: loading cache $cache_file" >&6;}
1647    case $cache_file in
1648      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1649      *)                      . "./$cache_file";;
1650    esac
1651  fi
1652else
1653  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1654$as_echo "$as_me: creating cache $cache_file" >&6;}
1655  >$cache_file
1656fi
1657
1658# Check that the precious variables saved in the cache have kept the same
1659# value.
1660ac_cache_corrupted=false
1661for ac_var in $ac_precious_vars; do
1662  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1663  eval ac_new_set=\$ac_env_${ac_var}_set
1664  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1665  eval ac_new_val=\$ac_env_${ac_var}_value
1666  case $ac_old_set,$ac_new_set in
1667    set,)
1668      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1669$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1670      ac_cache_corrupted=: ;;
1671    ,set)
1672      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1673$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1674      ac_cache_corrupted=: ;;
1675    ,);;
1676    *)
1677      if test "x$ac_old_val" != "x$ac_new_val"; then
1678        # differences in whitespace do not lead to failure.
1679        ac_old_val_w=`echo x $ac_old_val`
1680        ac_new_val_w=`echo x $ac_new_val`
1681        if test "$ac_old_val_w" != "$ac_new_val_w"; then
1682          { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1683$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1684          ac_cache_corrupted=:
1685        else
1686          { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1687$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1688          eval $ac_var=\$ac_old_val
1689        fi
1690        { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
1691$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1692        { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
1693$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1694      fi;;
1695  esac
1696  # Pass precious variables to config.status.
1697  if test "$ac_new_set" = set; then
1698    case $ac_new_val in
1699    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1700    *) ac_arg=$ac_var=$ac_new_val ;;
1701    esac
1702    case " $ac_configure_args " in
1703      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1704      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1705    esac
1706  fi
1707done
1708if $ac_cache_corrupted; then
1709  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1710$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1711  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1712$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1713   { (exit 1); exit 1; }; }
1714fi
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740ac_ext=c
1741ac_cpp='$CPP $CPPFLAGS'
1742ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1743ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1744ac_compiler_gnu=$ac_cv_c_compiler_gnu
1745
1746
1747
1748#------------------------------------------------------------------------
1749# Handle the --prefix=... option
1750#------------------------------------------------------------------------
1751
1752if test "${prefix}" = "NONE"; then
1753    prefix=/usr/local
1754fi
1755if test "${exec_prefix}" = "NONE"; then
1756    exec_prefix=$prefix
1757fi
1758
1759if test "${libdir}" != "${prefix}/lib"; then
1760    LIB_SEARCH_DIRS="-L${prefix}/lib -L${libdir}"
1761else
1762    LIB_SEARCH_DIRS="-L${libdir}"
1763fi
1764
1765
1766
1767ac_aux_dir=
1768for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1769  if test -f "$ac_dir/install-sh"; then
1770    ac_aux_dir=$ac_dir
1771    ac_install_sh="$ac_aux_dir/install-sh -c"
1772    break
1773  elif test -f "$ac_dir/install.sh"; then
1774    ac_aux_dir=$ac_dir
1775    ac_install_sh="$ac_aux_dir/install.sh -c"
1776    break
1777  elif test -f "$ac_dir/shtool"; then
1778    ac_aux_dir=$ac_dir
1779    ac_install_sh="$ac_aux_dir/shtool install -c"
1780    break
1781  fi
1782done
1783if test -z "$ac_aux_dir"; then
1784  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1785$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1786   { (exit 1); exit 1; }; }
1787fi
1788
1789# These three variables are undocumented and unsupported,
1790# and are intended to be withdrawn in a future Autoconf release.
1791# They can cause serious problems if a builder's source tree is in a directory
1792# whose full name contains unusual characters.
1793ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
1794ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
1795ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
1796
1797
1798# Find a good install program.  We prefer a C program (faster),
1799# so one script is as good as another.  But avoid the broken or
1800# incompatible versions:
1801# SysV /etc/install, /usr/sbin/install
1802# SunOS /usr/etc/install
1803# IRIX /sbin/install
1804# AIX /bin/install
1805# AmigaOS /C/install, which installs bootblocks on floppy discs
1806# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1807# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1808# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1809# OS/2's system install, which has a completely different semantic
1810# ./install, which can be erroneously created by make from ./install.sh.
1811# Reject install programs that cannot install multiple files.
1812{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1813$as_echo_n "checking for a BSD-compatible install... " >&6; }
1814if test -z "$INSTALL"; then
1815if test "${ac_cv_path_install+set}" = set; then
1816  $as_echo_n "(cached) " >&6
1817else
1818  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1819for as_dir in $PATH
1820do
1821  IFS=$as_save_IFS
1822  test -z "$as_dir" && as_dir=.
1823  # Account for people who put trailing slashes in PATH elements.
1824case $as_dir/ in
1825  ./ | .// | /cC/* | \
1826  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1827  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1828  /usr/ucb/* ) ;;
1829  *)
1830    # OSF1 and SCO ODT 3.0 have their own names for install.
1831    # Don't use installbsd from OSF since it installs stuff as root
1832    # by default.
1833    for ac_prog in ginstall scoinst install; do
1834      for ac_exec_ext in '' $ac_executable_extensions; do
1835        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1836          if test $ac_prog = install &&
1837            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1838            # AIX install.  It has an incompatible calling convention.
1839            :
1840          elif test $ac_prog = install &&
1841            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1842            # program-specific install script used by HP pwplus--don't use.
1843            :
1844          else
1845            rm -rf conftest.one conftest.two conftest.dir
1846            echo one > conftest.one
1847            echo two > conftest.two
1848            mkdir conftest.dir
1849            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1850              test -s conftest.one && test -s conftest.two &&
1851              test -s conftest.dir/conftest.one &&
1852              test -s conftest.dir/conftest.two
1853            then
1854              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1855              break 3
1856            fi
1857          fi
1858        fi
1859      done
1860    done
1861    ;;
1862esac
1863
1864done
1865IFS=$as_save_IFS
1866
1867rm -rf conftest.one conftest.two conftest.dir
1868
1869fi
1870  if test "${ac_cv_path_install+set}" = set; then
1871    INSTALL=$ac_cv_path_install
1872  else
1873    # As a last resort, use the slow shell script.  Don't cache a
1874    # value for INSTALL within a source directory, because that will
1875    # break other packages using the cache if that directory is
1876    # removed, or if the value is a relative name.
1877    INSTALL=$ac_install_sh
1878  fi
1879fi
1880{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
1881$as_echo "$INSTALL" >&6; }
1882
1883# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1884# It thinks the first close brace ends the variable substitution.
1885test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1886
1887test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1888
1889test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1890
1891{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1892$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
1893set x ${MAKE-make}
1894ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1895if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1896  $as_echo_n "(cached) " >&6
1897else
1898  cat >conftest.make <<\_ACEOF
1899SHELL = /bin/sh
1900all:
1901        @echo '@@@%%%=$(MAKE)=@@@%%%'
1902_ACEOF
1903# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1904case `${MAKE-make} -f conftest.make 2>/dev/null` in
1905  *@@@%%%=?*=@@@%%%*)
1906    eval ac_cv_prog_make_${ac_make}_set=yes;;
1907  *)
1908    eval ac_cv_prog_make_${ac_make}_set=no;;
1909esac
1910rm -f conftest.make
1911fi
1912if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
1913  { $as_echo "$as_me:$LINENO: result: yes" >&5
1914$as_echo "yes" >&6; }
1915  SET_MAKE=
1916else
1917  { $as_echo "$as_me:$LINENO: result: no" >&5
1918$as_echo "no" >&6; }
1919  SET_MAKE="MAKE=${MAKE-make}"
1920fi
1921
1922
1923ac_ext=c
1924ac_cpp='$CPP $CPPFLAGS'
1925ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1926ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1927ac_compiler_gnu=$ac_cv_c_compiler_gnu
1928if test -n "$ac_tool_prefix"; then
1929  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1930set dummy ${ac_tool_prefix}gcc; ac_word=$2
1931{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
1932$as_echo_n "checking for $ac_word... " >&6; }
1933if test "${ac_cv_prog_CC+set}" = set; then
1934  $as_echo_n "(cached) " >&6
1935else
1936  if test -n "$CC"; then
1937  ac_cv_prog_CC="$CC" # Let the user override the test.
1938else
1939as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1940for as_dir in $PATH
1941do
1942  IFS=$as_save_IFS
1943  test -z "$as_dir" && as_dir=.
1944  for ac_exec_ext in '' $ac_executable_extensions; do
1945  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1946    ac_cv_prog_CC="${ac_tool_prefix}gcc"
1947    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1948    break 2
1949  fi
1950done
1951done
1952IFS=$as_save_IFS
1953
1954fi
1955fi
1956CC=$ac_cv_prog_CC
1957if test -n "$CC"; then
1958  { $as_echo "$as_me:$LINENO: result: $CC" >&5
1959$as_echo "$CC" >&6; }
1960else
1961  { $as_echo "$as_me:$LINENO: result: no" >&5
1962$as_echo "no" >&6; }
1963fi
1964
1965
1966fi
1967if test -z "$ac_cv_prog_CC"; then
1968  ac_ct_CC=$CC
1969  # Extract the first word of "gcc", so it can be a program name with args.
1970set dummy gcc; ac_word=$2
1971{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
1972$as_echo_n "checking for $ac_word... " >&6; }
1973if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1974  $as_echo_n "(cached) " >&6
1975else
1976  if test -n "$ac_ct_CC"; then
1977  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1978else
1979as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1980for as_dir in $PATH
1981do
1982  IFS=$as_save_IFS
1983  test -z "$as_dir" && as_dir=.
1984  for ac_exec_ext in '' $ac_executable_extensions; do
1985  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1986    ac_cv_prog_ac_ct_CC="gcc"
1987    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1988    break 2
1989  fi
1990done
1991done
1992IFS=$as_save_IFS
1993
1994fi
1995fi
1996ac_ct_CC=$ac_cv_prog_ac_ct_CC
1997if test -n "$ac_ct_CC"; then
1998  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1999$as_echo "$ac_ct_CC" >&6; }
2000else
2001  { $as_echo "$as_me:$LINENO: result: no" >&5
2002$as_echo "no" >&6; }
2003fi
2004
2005  if test "x$ac_ct_CC" = x; then
2006    CC=""
2007  else
2008    case $cross_compiling:$ac_tool_warned in
2009yes:)
2010{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2011whose name does not start with the host triplet.  If you think this
2012configuration is useful to you, please write to autoconf@gnu.org." >&5
2013$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2014whose name does not start with the host triplet.  If you think this
2015configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2016ac_tool_warned=yes ;;
2017esac
2018    CC=$ac_ct_CC
2019  fi
2020else
2021  CC="$ac_cv_prog_CC"
2022fi
2023
2024if test -z "$CC"; then
2025          if test -n "$ac_tool_prefix"; then
2026    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2027set dummy ${ac_tool_prefix}cc; ac_word=$2
2028{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2029$as_echo_n "checking for $ac_word... " >&6; }
2030if test "${ac_cv_prog_CC+set}" = set; then
2031  $as_echo_n "(cached) " >&6
2032else
2033  if test -n "$CC"; then
2034  ac_cv_prog_CC="$CC" # Let the user override the test.
2035else
2036as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2037for as_dir in $PATH
2038do
2039  IFS=$as_save_IFS
2040  test -z "$as_dir" && as_dir=.
2041  for ac_exec_ext in '' $ac_executable_extensions; do
2042  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2043    ac_cv_prog_CC="${ac_tool_prefix}cc"
2044    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2045    break 2
2046  fi
2047done
2048done
2049IFS=$as_save_IFS
2050
2051fi
2052fi
2053CC=$ac_cv_prog_CC
2054if test -n "$CC"; then
2055  { $as_echo "$as_me:$LINENO: result: $CC" >&5
2056$as_echo "$CC" >&6; }
2057else
2058  { $as_echo "$as_me:$LINENO: result: no" >&5
2059$as_echo "no" >&6; }
2060fi
2061
2062
2063  fi
2064fi
2065if test -z "$CC"; then
2066  # Extract the first word of "cc", so it can be a program name with args.
2067set dummy cc; ac_word=$2
2068{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2069$as_echo_n "checking for $ac_word... " >&6; }
2070if test "${ac_cv_prog_CC+set}" = set; then
2071  $as_echo_n "(cached) " >&6
2072else
2073  if test -n "$CC"; then
2074  ac_cv_prog_CC="$CC" # Let the user override the test.
2075else
2076  ac_prog_rejected=no
2077as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2078for as_dir in $PATH
2079do
2080  IFS=$as_save_IFS
2081  test -z "$as_dir" && as_dir=.
2082  for ac_exec_ext in '' $ac_executable_extensions; do
2083  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2084    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2085       ac_prog_rejected=yes
2086       continue
2087     fi
2088    ac_cv_prog_CC="cc"
2089    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2090    break 2
2091  fi
2092done
2093done
2094IFS=$as_save_IFS
2095
2096if test $ac_prog_rejected = yes; then
2097  # We found a bogon in the path, so make sure we never use it.
2098  set dummy $ac_cv_prog_CC
2099  shift
2100  if test $# != 0; then
2101    # We chose a different compiler from the bogus one.
2102    # However, it has the same basename, so the bogon will be chosen
2103    # first if we set CC to just the basename; use the full file name.
2104    shift
2105    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2106  fi
2107fi
2108fi
2109fi
2110CC=$ac_cv_prog_CC
2111if test -n "$CC"; then
2112  { $as_echo "$as_me:$LINENO: result: $CC" >&5
2113$as_echo "$CC" >&6; }
2114else
2115  { $as_echo "$as_me:$LINENO: result: no" >&5
2116$as_echo "no" >&6; }
2117fi
2118
2119
2120fi
2121if test -z "$CC"; then
2122  if test -n "$ac_tool_prefix"; then
2123  for ac_prog in cl.exe
2124  do
2125    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2126set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2127{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2128$as_echo_n "checking for $ac_word... " >&6; }
2129if test "${ac_cv_prog_CC+set}" = set; then
2130  $as_echo_n "(cached) " >&6
2131else
2132  if test -n "$CC"; then
2133  ac_cv_prog_CC="$CC" # Let the user override the test.
2134else
2135as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2136for as_dir in $PATH
2137do
2138  IFS=$as_save_IFS
2139  test -z "$as_dir" && as_dir=.
2140  for ac_exec_ext in '' $ac_executable_extensions; do
2141  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2142    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2143    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2144    break 2
2145  fi
2146done
2147done
2148IFS=$as_save_IFS
2149
2150fi
2151fi
2152CC=$ac_cv_prog_CC
2153if test -n "$CC"; then
2154  { $as_echo "$as_me:$LINENO: result: $CC" >&5
2155$as_echo "$CC" >&6; }
2156else
2157  { $as_echo "$as_me:$LINENO: result: no" >&5
2158$as_echo "no" >&6; }
2159fi
2160
2161
2162    test -n "$CC" && break
2163  done
2164fi
2165if test -z "$CC"; then
2166  ac_ct_CC=$CC
2167  for ac_prog in cl.exe
2168do
2169  # Extract the first word of "$ac_prog", so it can be a program name with args.
2170set dummy $ac_prog; ac_word=$2
2171{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2172$as_echo_n "checking for $ac_word... " >&6; }
2173if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2174  $as_echo_n "(cached) " >&6
2175else
2176  if test -n "$ac_ct_CC"; then
2177  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2178else
2179as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2180for as_dir in $PATH
2181do
2182  IFS=$as_save_IFS
2183  test -z "$as_dir" && as_dir=.
2184  for ac_exec_ext in '' $ac_executable_extensions; do
2185  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2186    ac_cv_prog_ac_ct_CC="$ac_prog"
2187    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2188    break 2
2189  fi
2190done
2191done
2192IFS=$as_save_IFS
2193
2194fi
2195fi
2196ac_ct_CC=$ac_cv_prog_ac_ct_CC
2197if test -n "$ac_ct_CC"; then
2198  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2199$as_echo "$ac_ct_CC" >&6; }
2200else
2201  { $as_echo "$as_me:$LINENO: result: no" >&5
2202$as_echo "no" >&6; }
2203fi
2204
2205
2206  test -n "$ac_ct_CC" && break
2207done
2208
2209  if test "x$ac_ct_CC" = x; then
2210    CC=""
2211  else
2212    case $cross_compiling:$ac_tool_warned in
2213yes:)
2214{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2215whose name does not start with the host triplet.  If you think this
2216configuration is useful to you, please write to autoconf@gnu.org." >&5
2217$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2218whose name does not start with the host triplet.  If you think this
2219configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2220ac_tool_warned=yes ;;
2221esac
2222    CC=$ac_ct_CC
2223  fi
2224fi
2225
2226fi
2227
2228
2229test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2230See \`config.log' for more details." >&5
2231$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2232See \`config.log' for more details." >&2;}
2233   { (exit 1); exit 1; }; }
2234
2235# Provide some information about the compiler.
2236$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2237set X $ac_compile
2238ac_compiler=$2
2239{ (ac_try="$ac_compiler --version >&5"
2240case "(($ac_try" in
2241  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2242  *) ac_try_echo=$ac_try;;
2243esac
2244eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2245$as_echo "$ac_try_echo") >&5
2246  (eval "$ac_compiler --version >&5") 2>&5
2247  ac_status=$?
2248  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2249  (exit $ac_status); }
2250{ (ac_try="$ac_compiler -v >&5"
2251case "(($ac_try" in
2252  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2253  *) ac_try_echo=$ac_try;;
2254esac
2255eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2256$as_echo "$ac_try_echo") >&5
2257  (eval "$ac_compiler -v >&5") 2>&5
2258  ac_status=$?
2259  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2260  (exit $ac_status); }
2261{ (ac_try="$ac_compiler -V >&5"
2262case "(($ac_try" in
2263  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2264  *) ac_try_echo=$ac_try;;
2265esac
2266eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2267$as_echo "$ac_try_echo") >&5
2268  (eval "$ac_compiler -V >&5") 2>&5
2269  ac_status=$?
2270  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2271  (exit $ac_status); }
2272
2273cat >conftest.$ac_ext <<_ACEOF
2274/* confdefs.h.  */
2275_ACEOF
2276cat confdefs.h >>conftest.$ac_ext
2277cat >>conftest.$ac_ext <<_ACEOF
2278/* end confdefs.h.  */
2279
2280int
2281main ()
2282{
2283
2284  ;
2285  return 0;
2286}
2287_ACEOF
2288ac_clean_files_save=$ac_clean_files
2289ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2290# Try to create an executable without -o first, disregard a.out.
2291# It will help us diagnose broken compilers, and finding out an intuition
2292# of exeext.
2293{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2294$as_echo_n "checking for C compiler default output file name... " >&6; }
2295ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2296
2297# The possible output files:
2298ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2299
2300ac_rmfiles=
2301for ac_file in $ac_files
2302do
2303  case $ac_file in
2304    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2305    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2306  esac
2307done
2308rm -f $ac_rmfiles
2309
2310if { (ac_try="$ac_link_default"
2311case "(($ac_try" in
2312  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2313  *) ac_try_echo=$ac_try;;
2314esac
2315eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2316$as_echo "$ac_try_echo") >&5
2317  (eval "$ac_link_default") 2>&5
2318  ac_status=$?
2319  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2320  (exit $ac_status); }; then
2321  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2322# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2323# in a Makefile.  We should not override ac_cv_exeext if it was cached,
2324# so that the user can short-circuit this test for compilers unknown to
2325# Autoconf.
2326for ac_file in $ac_files ''
2327do
2328  test -f "$ac_file" || continue
2329  case $ac_file in
2330    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2331        ;;
2332    [ab].out )
2333        # We found the default executable, but exeext='' is most
2334        # certainly right.
2335        break;;
2336    *.* )
2337        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2338        then :; else
2339           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2340        fi
2341        # We set ac_cv_exeext here because the later test for it is not
2342        # safe: cross compilers may not add the suffix if given an `-o'
2343        # argument, so we may need to know it at that point already.
2344        # Even if this section looks crufty: it has the advantage of
2345        # actually working.
2346        break;;
2347    * )
2348        break;;
2349  esac
2350done
2351test "$ac_cv_exeext" = no && ac_cv_exeext=
2352
2353else
2354  ac_file=''
2355fi
2356
2357{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2358$as_echo "$ac_file" >&6; }
2359if test -z "$ac_file"; then
2360  $as_echo "$as_me: failed program was:" >&5
2361sed 's/^/| /' conftest.$ac_ext >&5
2362
2363{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2364See \`config.log' for more details." >&5
2365$as_echo "$as_me: error: C compiler cannot create executables
2366See \`config.log' for more details." >&2;}
2367   { (exit 77); exit 77; }; }
2368fi
2369
2370ac_exeext=$ac_cv_exeext
2371
2372# Check that the compiler produces executables we can run.  If not, either
2373# the compiler is broken, or we cross compile.
2374{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2375$as_echo_n "checking whether the C compiler works... " >&6; }
2376# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2377# If not cross compiling, check that we can run a simple program.
2378if test "$cross_compiling" != yes; then
2379  if { ac_try='./$ac_file'
2380  { (case "(($ac_try" in
2381  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2382  *) ac_try_echo=$ac_try;;
2383esac
2384eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2385$as_echo "$ac_try_echo") >&5
2386  (eval "$ac_try") 2>&5
2387  ac_status=$?
2388  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2389  (exit $ac_status); }; }; then
2390    cross_compiling=no
2391  else
2392    if test "$cross_compiling" = maybe; then
2393        cross_compiling=yes
2394    else
2395        { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2396If you meant to cross compile, use \`--host'.
2397See \`config.log' for more details." >&5
2398$as_echo "$as_me: error: cannot run C compiled programs.
2399If you meant to cross compile, use \`--host'.
2400See \`config.log' for more details." >&2;}
2401   { (exit 1); exit 1; }; }
2402    fi
2403  fi
2404fi
2405{ $as_echo "$as_me:$LINENO: result: yes" >&5
2406$as_echo "yes" >&6; }
2407
2408rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2409ac_clean_files=$ac_clean_files_save
2410# Check that the compiler produces executables we can run.  If not, either
2411# the compiler is broken, or we cross compile.
2412{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2413$as_echo_n "checking whether we are cross compiling... " >&6; }
2414{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2415$as_echo "$cross_compiling" >&6; }
2416
2417{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
2418$as_echo_n "checking for suffix of executables... " >&6; }
2419if { (ac_try="$ac_link"
2420case "(($ac_try" in
2421  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2422  *) ac_try_echo=$ac_try;;
2423esac
2424eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2425$as_echo "$ac_try_echo") >&5
2426  (eval "$ac_link") 2>&5
2427  ac_status=$?
2428  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2429  (exit $ac_status); }; then
2430  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2431# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2432# work properly (i.e., refer to `conftest.exe'), while it won't with
2433# `rm'.
2434for ac_file in conftest.exe conftest conftest.*; do
2435  test -f "$ac_file" || continue
2436  case $ac_file in
2437    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2438    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2439          break;;
2440    * ) break;;
2441  esac
2442done
2443else
2444  { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2445See \`config.log' for more details." >&5
2446$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2447See \`config.log' for more details." >&2;}
2448   { (exit 1); exit 1; }; }
2449fi
2450
2451rm -f conftest$ac_cv_exeext
2452{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2453$as_echo "$ac_cv_exeext" >&6; }
2454
2455rm -f conftest.$ac_ext
2456EXEEXT=$ac_cv_exeext
2457ac_exeext=$EXEEXT
2458{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2459$as_echo_n "checking for suffix of object files... " >&6; }
2460if test "${ac_cv_objext+set}" = set; then
2461  $as_echo_n "(cached) " >&6
2462else
2463  cat >conftest.$ac_ext <<_ACEOF
2464/* confdefs.h.  */
2465_ACEOF
2466cat confdefs.h >>conftest.$ac_ext
2467cat >>conftest.$ac_ext <<_ACEOF
2468/* end confdefs.h.  */
2469
2470int
2471main ()
2472{
2473
2474  ;
2475  return 0;
2476}
2477_ACEOF
2478rm -f conftest.o conftest.obj
2479if { (ac_try="$ac_compile"
2480case "(($ac_try" in
2481  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2482  *) ac_try_echo=$ac_try;;
2483esac
2484eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2485$as_echo "$ac_try_echo") >&5
2486  (eval "$ac_compile") 2>&5
2487  ac_status=$?
2488  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2489  (exit $ac_status); }; then
2490  for ac_file in conftest.o conftest.obj conftest.*; do
2491  test -f "$ac_file" || continue;
2492  case $ac_file in
2493    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2494    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2495       break;;
2496  esac
2497done
2498else
2499  $as_echo "$as_me: failed program was:" >&5
2500sed 's/^/| /' conftest.$ac_ext >&5
2501
2502{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2503See \`config.log' for more details." >&5
2504$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2505See \`config.log' for more details." >&2;}
2506   { (exit 1); exit 1; }; }
2507fi
2508
2509rm -f conftest.$ac_cv_objext conftest.$ac_ext
2510fi
2511{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2512$as_echo "$ac_cv_objext" >&6; }
2513OBJEXT=$ac_cv_objext
2514ac_objext=$OBJEXT
2515{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2516$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2517if test "${ac_cv_c_compiler_gnu+set}" = set; then
2518  $as_echo_n "(cached) " >&6
2519else
2520  cat >conftest.$ac_ext <<_ACEOF
2521/* confdefs.h.  */
2522_ACEOF
2523cat confdefs.h >>conftest.$ac_ext
2524cat >>conftest.$ac_ext <<_ACEOF
2525/* end confdefs.h.  */
2526
2527int
2528main ()
2529{
2530#ifndef __GNUC__
2531       choke me
2532#endif
2533
2534  ;
2535  return 0;
2536}
2537_ACEOF
2538rm -f conftest.$ac_objext
2539if { (ac_try="$ac_compile"
2540case "(($ac_try" in
2541  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2542  *) ac_try_echo=$ac_try;;
2543esac
2544eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2545$as_echo "$ac_try_echo") >&5
2546  (eval "$ac_compile") 2>conftest.er1
2547  ac_status=$?
2548  grep -v '^ *+' conftest.er1 >conftest.err
2549  rm -f conftest.er1
2550  cat conftest.err >&5
2551  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2552  (exit $ac_status); } && {
2553         test -z "$ac_c_werror_flag" ||
2554         test ! -s conftest.err
2555       } && test -s conftest.$ac_objext; then
2556  ac_compiler_gnu=yes
2557else
2558  $as_echo "$as_me: failed program was:" >&5
2559sed 's/^/| /' conftest.$ac_ext >&5
2560
2561        ac_compiler_gnu=no
2562fi
2563
2564rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2565ac_cv_c_compiler_gnu=$ac_compiler_gnu
2566
2567fi
2568{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2569$as_echo "$ac_cv_c_compiler_gnu" >&6; }
2570if test $ac_compiler_gnu = yes; then
2571  GCC=yes
2572else
2573  GCC=
2574fi
2575ac_test_CFLAGS=${CFLAGS+set}
2576ac_save_CFLAGS=$CFLAGS
2577{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2578$as_echo_n "checking whether $CC accepts -g... " >&6; }
2579if test "${ac_cv_prog_cc_g+set}" = set; then
2580  $as_echo_n "(cached) " >&6
2581else
2582  ac_save_c_werror_flag=$ac_c_werror_flag
2583   ac_c_werror_flag=yes
2584   ac_cv_prog_cc_g=no
2585   CFLAGS="-g"
2586   cat >conftest.$ac_ext <<_ACEOF
2587/* confdefs.h.  */
2588_ACEOF
2589cat confdefs.h >>conftest.$ac_ext
2590cat >>conftest.$ac_ext <<_ACEOF
2591/* end confdefs.h.  */
2592
2593int
2594main ()
2595{
2596
2597  ;
2598  return 0;
2599}
2600_ACEOF
2601rm -f conftest.$ac_objext
2602if { (ac_try="$ac_compile"
2603case "(($ac_try" in
2604  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2605  *) ac_try_echo=$ac_try;;
2606esac
2607eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2608$as_echo "$ac_try_echo") >&5
2609  (eval "$ac_compile") 2>conftest.er1
2610  ac_status=$?
2611  grep -v '^ *+' conftest.er1 >conftest.err
2612  rm -f conftest.er1
2613  cat conftest.err >&5
2614  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2615  (exit $ac_status); } && {
2616         test -z "$ac_c_werror_flag" ||
2617         test ! -s conftest.err
2618       } && test -s conftest.$ac_objext; then
2619  ac_cv_prog_cc_g=yes
2620else
2621  $as_echo "$as_me: failed program was:" >&5
2622sed 's/^/| /' conftest.$ac_ext >&5
2623
2624        CFLAGS=""
2625      cat >conftest.$ac_ext <<_ACEOF
2626/* confdefs.h.  */
2627_ACEOF
2628cat confdefs.h >>conftest.$ac_ext
2629cat >>conftest.$ac_ext <<_ACEOF
2630/* end confdefs.h.  */
2631
2632int
2633main ()
2634{
2635
2636  ;
2637  return 0;
2638}
2639_ACEOF
2640rm -f conftest.$ac_objext
2641if { (ac_try="$ac_compile"
2642case "(($ac_try" in
2643  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2644  *) ac_try_echo=$ac_try;;
2645esac
2646eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2647$as_echo "$ac_try_echo") >&5
2648  (eval "$ac_compile") 2>conftest.er1
2649  ac_status=$?
2650  grep -v '^ *+' conftest.er1 >conftest.err
2651  rm -f conftest.er1
2652  cat conftest.err >&5
2653  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2654  (exit $ac_status); } && {
2655         test -z "$ac_c_werror_flag" ||
2656         test ! -s conftest.err
2657       } && test -s conftest.$ac_objext; then
2658  :
2659else
2660  $as_echo "$as_me: failed program was:" >&5
2661sed 's/^/| /' conftest.$ac_ext >&5
2662
2663        ac_c_werror_flag=$ac_save_c_werror_flag
2664         CFLAGS="-g"
2665         cat >conftest.$ac_ext <<_ACEOF
2666/* confdefs.h.  */
2667_ACEOF
2668cat confdefs.h >>conftest.$ac_ext
2669cat >>conftest.$ac_ext <<_ACEOF
2670/* end confdefs.h.  */
2671
2672int
2673main ()
2674{
2675
2676  ;
2677  return 0;
2678}
2679_ACEOF
2680rm -f conftest.$ac_objext
2681if { (ac_try="$ac_compile"
2682case "(($ac_try" in
2683  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2684  *) ac_try_echo=$ac_try;;
2685esac
2686eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2687$as_echo "$ac_try_echo") >&5
2688  (eval "$ac_compile") 2>conftest.er1
2689  ac_status=$?
2690  grep -v '^ *+' conftest.er1 >conftest.err
2691  rm -f conftest.er1
2692  cat conftest.err >&5
2693  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2694  (exit $ac_status); } && {
2695         test -z "$ac_c_werror_flag" ||
2696         test ! -s conftest.err
2697       } && test -s conftest.$ac_objext; then
2698  ac_cv_prog_cc_g=yes
2699else
2700  $as_echo "$as_me: failed program was:" >&5
2701sed 's/^/| /' conftest.$ac_ext >&5
2702
2703
2704fi
2705
2706rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2707fi
2708
2709rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2710fi
2711
2712rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2713   ac_c_werror_flag=$ac_save_c_werror_flag
2714fi
2715{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2716$as_echo "$ac_cv_prog_cc_g" >&6; }
2717if test "$ac_test_CFLAGS" = set; then
2718  CFLAGS=$ac_save_CFLAGS
2719elif test $ac_cv_prog_cc_g = yes; then
2720  if test "$GCC" = yes; then
2721    CFLAGS="-g -O2"
2722  else
2723    CFLAGS="-g"
2724  fi
2725else
2726  if test "$GCC" = yes; then
2727    CFLAGS="-O2"
2728  else
2729    CFLAGS=
2730  fi
2731fi
2732{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2733$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2734if test "${ac_cv_prog_cc_c89+set}" = set; then
2735  $as_echo_n "(cached) " >&6
2736else
2737  ac_cv_prog_cc_c89=no
2738ac_save_CC=$CC
2739cat >conftest.$ac_ext <<_ACEOF
2740/* confdefs.h.  */
2741_ACEOF
2742cat confdefs.h >>conftest.$ac_ext
2743cat >>conftest.$ac_ext <<_ACEOF
2744/* end confdefs.h.  */
2745#include <stdarg.h>
2746#include <stdio.h>
2747#include <sys/types.h>
2748#include <sys/stat.h>
2749/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2750struct buf { int x; };
2751FILE * (*rcsopen) (struct buf *, struct stat *, int);
2752static char *e (p, i)
2753     char **p;
2754     int i;
2755{
2756  return p[i];
2757}
2758static char *f (char * (*g) (char **, int), char **p, ...)
2759{
2760  char *s;
2761  va_list v;
2762  va_start (v,p);
2763  s = g (p, va_arg (v,int));
2764  va_end (v);
2765  return s;
2766}
2767
2768/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2769   function prototypes and stuff, but not '\xHH' hex character constants.
2770   These don't provoke an error unfortunately, instead are silently treated
2771   as 'x'.  The following induces an error, until -std is added to get
2772   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2773   array size at least.  It's necessary to write '\x00'==0 to get something
2774   that's true only with -std.  */
2775int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2776
2777/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2778   inside strings and character constants.  */
2779#define FOO(x) 'x'
2780int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2781
2782int test (int i, double x);
2783struct s1 {int (*f) (int a);};
2784struct s2 {int (*f) (double a);};
2785int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2786int argc;
2787char **argv;
2788int
2789main ()
2790{
2791return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2792  ;
2793  return 0;
2794}
2795_ACEOF
2796for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2797        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2798do
2799  CC="$ac_save_CC $ac_arg"
2800  rm -f conftest.$ac_objext
2801if { (ac_try="$ac_compile"
2802case "(($ac_try" in
2803  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2804  *) ac_try_echo=$ac_try;;
2805esac
2806eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2807$as_echo "$ac_try_echo") >&5
2808  (eval "$ac_compile") 2>conftest.er1
2809  ac_status=$?
2810  grep -v '^ *+' conftest.er1 >conftest.err
2811  rm -f conftest.er1
2812  cat conftest.err >&5
2813  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2814  (exit $ac_status); } && {
2815         test -z "$ac_c_werror_flag" ||
2816         test ! -s conftest.err
2817       } && test -s conftest.$ac_objext; then
2818  ac_cv_prog_cc_c89=$ac_arg
2819else
2820  $as_echo "$as_me: failed program was:" >&5
2821sed 's/^/| /' conftest.$ac_ext >&5
2822
2823
2824fi
2825
2826rm -f core conftest.err conftest.$ac_objext
2827  test "x$ac_cv_prog_cc_c89" != "xno" && break
2828done
2829rm -f conftest.$ac_ext
2830CC=$ac_save_CC
2831
2832fi
2833# AC_CACHE_VAL
2834case "x$ac_cv_prog_cc_c89" in
2835  x)
2836    { $as_echo "$as_me:$LINENO: result: none needed" >&5
2837$as_echo "none needed" >&6; } ;;
2838  xno)
2839    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
2840$as_echo "unsupported" >&6; } ;;
2841  *)
2842    CC="$CC $ac_cv_prog_cc_c89"
2843    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2844$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2845esac
2846
2847
2848ac_ext=c
2849ac_cpp='$CPP $CPPFLAGS'
2850ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2851ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2852ac_compiler_gnu=$ac_cv_c_compiler_gnu
2853
2854ac_ext=f
2855ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
2856ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2857ac_compiler_gnu=$ac_cv_f77_compiler_gnu
2858if test -n "$ac_tool_prefix"; then
2859  for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
2860  do
2861    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2862set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2863{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2864$as_echo_n "checking for $ac_word... " >&6; }
2865if test "${ac_cv_prog_F77+set}" = set; then
2866  $as_echo_n "(cached) " >&6
2867else
2868  if test -n "$F77"; then
2869  ac_cv_prog_F77="$F77" # Let the user override the test.
2870else
2871as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2872for as_dir in $PATH
2873do
2874  IFS=$as_save_IFS
2875  test -z "$as_dir" && as_dir=.
2876  for ac_exec_ext in '' $ac_executable_extensions; do
2877  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2878    ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
2879    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2880    break 2
2881  fi
2882done
2883done
2884IFS=$as_save_IFS
2885
2886fi
2887fi
2888F77=$ac_cv_prog_F77
2889if test -n "$F77"; then
2890  { $as_echo "$as_me:$LINENO: result: $F77" >&5
2891$as_echo "$F77" >&6; }
2892else
2893  { $as_echo "$as_me:$LINENO: result: no" >&5
2894$as_echo "no" >&6; }
2895fi
2896
2897
2898    test -n "$F77" && break
2899  done
2900fi
2901if test -z "$F77"; then
2902  ac_ct_F77=$F77
2903  for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
2904do
2905  # Extract the first word of "$ac_prog", so it can be a program name with args.
2906set dummy $ac_prog; ac_word=$2
2907{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2908$as_echo_n "checking for $ac_word... " >&6; }
2909if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
2910  $as_echo_n "(cached) " >&6
2911else
2912  if test -n "$ac_ct_F77"; then
2913  ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
2914else
2915as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2916for as_dir in $PATH
2917do
2918  IFS=$as_save_IFS
2919  test -z "$as_dir" && as_dir=.
2920  for ac_exec_ext in '' $ac_executable_extensions; do
2921  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2922    ac_cv_prog_ac_ct_F77="$ac_prog"
2923    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2924    break 2
2925  fi
2926done
2927done
2928IFS=$as_save_IFS
2929
2930fi
2931fi
2932ac_ct_F77=$ac_cv_prog_ac_ct_F77
2933if test -n "$ac_ct_F77"; then
2934  { $as_echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
2935$as_echo "$ac_ct_F77" >&6; }
2936else
2937  { $as_echo "$as_me:$LINENO: result: no" >&5
2938$as_echo "no" >&6; }
2939fi
2940
2941
2942  test -n "$ac_ct_F77" && break
2943done
2944
2945  if test "x$ac_ct_F77" = x; then
2946    F77=""
2947  else
2948    case $cross_compiling:$ac_tool_warned in
2949yes:)
2950{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2951whose name does not start with the host triplet.  If you think this
2952configuration is useful to you, please write to autoconf@gnu.org." >&5
2953$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2954whose name does not start with the host triplet.  If you think this
2955configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2956ac_tool_warned=yes ;;
2957esac
2958    F77=$ac_ct_F77
2959  fi
2960fi
2961
2962
2963# Provide some information about the compiler.
2964$as_echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
2965set X $ac_compile
2966ac_compiler=$2
2967{ (ac_try="$ac_compiler --version >&5"
2968case "(($ac_try" in
2969  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2970  *) ac_try_echo=$ac_try;;
2971esac
2972eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2973$as_echo "$ac_try_echo") >&5
2974  (eval "$ac_compiler --version >&5") 2>&5
2975  ac_status=$?
2976  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2977  (exit $ac_status); }
2978{ (ac_try="$ac_compiler -v >&5"
2979case "(($ac_try" in
2980  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2981  *) ac_try_echo=$ac_try;;
2982esac
2983eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2984$as_echo "$ac_try_echo") >&5
2985  (eval "$ac_compiler -v >&5") 2>&5
2986  ac_status=$?
2987  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2988  (exit $ac_status); }
2989{ (ac_try="$ac_compiler -V >&5"
2990case "(($ac_try" in
2991  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2992  *) ac_try_echo=$ac_try;;
2993esac
2994eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2995$as_echo "$ac_try_echo") >&5
2996  (eval "$ac_compiler -V >&5") 2>&5
2997  ac_status=$?
2998  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2999  (exit $ac_status); }
3000rm -f a.out
3001
3002# If we don't use `.F' as extension, the preprocessor is not run on the
3003# input file.  (Note that this only needs to work for GNU compilers.)
3004ac_save_ext=$ac_ext
3005ac_ext=F
3006{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
3007$as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }
3008if test "${ac_cv_f77_compiler_gnu+set}" = set; then
3009  $as_echo_n "(cached) " >&6
3010else
3011  cat >conftest.$ac_ext <<_ACEOF
3012      program main
3013#ifndef __GNUC__
3014       choke me
3015#endif
3016
3017      end
3018_ACEOF
3019rm -f conftest.$ac_objext
3020if { (ac_try="$ac_compile"
3021case "(($ac_try" in
3022  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3023  *) ac_try_echo=$ac_try;;
3024esac
3025eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3026$as_echo "$ac_try_echo") >&5
3027  (eval "$ac_compile") 2>conftest.er1
3028  ac_status=$?
3029  grep -v '^ *+' conftest.er1 >conftest.err
3030  rm -f conftest.er1
3031  cat conftest.err >&5
3032  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3033  (exit $ac_status); } && {
3034         test -z "$ac_f77_werror_flag" ||
3035         test ! -s conftest.err
3036       } && test -s conftest.$ac_objext; then
3037  ac_compiler_gnu=yes
3038else
3039  $as_echo "$as_me: failed program was:" >&5
3040sed 's/^/| /' conftest.$ac_ext >&5
3041
3042        ac_compiler_gnu=no
3043fi
3044
3045rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3046ac_cv_f77_compiler_gnu=$ac_compiler_gnu
3047
3048fi
3049{ $as_echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
3050$as_echo "$ac_cv_f77_compiler_gnu" >&6; }
3051ac_ext=$ac_save_ext
3052ac_test_FFLAGS=${FFLAGS+set}
3053ac_save_FFLAGS=$FFLAGS
3054FFLAGS=
3055{ $as_echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
3056$as_echo_n "checking whether $F77 accepts -g... " >&6; }
3057if test "${ac_cv_prog_f77_g+set}" = set; then
3058  $as_echo_n "(cached) " >&6
3059else
3060  FFLAGS=-g
3061cat >conftest.$ac_ext <<_ACEOF
3062      program main
3063
3064      end
3065_ACEOF
3066rm -f conftest.$ac_objext
3067if { (ac_try="$ac_compile"
3068case "(($ac_try" in
3069  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3070  *) ac_try_echo=$ac_try;;
3071esac
3072eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3073$as_echo "$ac_try_echo") >&5
3074  (eval "$ac_compile") 2>conftest.er1
3075  ac_status=$?
3076  grep -v '^ *+' conftest.er1 >conftest.err
3077  rm -f conftest.er1
3078  cat conftest.err >&5
3079  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3080  (exit $ac_status); } && {
3081         test -z "$ac_f77_werror_flag" ||
3082         test ! -s conftest.err
3083       } && test -s conftest.$ac_objext; then
3084  ac_cv_prog_f77_g=yes
3085else
3086  $as_echo "$as_me: failed program was:" >&5
3087sed 's/^/| /' conftest.$ac_ext >&5
3088
3089        ac_cv_prog_f77_g=no
3090fi
3091
3092rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3093
3094fi
3095{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
3096$as_echo "$ac_cv_prog_f77_g" >&6; }
3097if test "$ac_test_FFLAGS" = set; then
3098  FFLAGS=$ac_save_FFLAGS
3099elif test $ac_cv_prog_f77_g = yes; then
3100  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
3101    FFLAGS="-g -O2"
3102  else
3103    FFLAGS="-g"
3104  fi
3105else
3106  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
3107    FFLAGS="-O2"
3108  else
3109    FFLAGS=
3110  fi
3111fi
3112
3113if test $ac_compiler_gnu = yes; then
3114  G77=yes
3115else
3116  G77=
3117fi
3118ac_ext=c
3119ac_cpp='$CPP $CPPFLAGS'
3120ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3121ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3122ac_compiler_gnu=$ac_cv_c_compiler_gnu
3123
3124ac_ext=c
3125ac_cpp='$CPP $CPPFLAGS'
3126ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3127ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3128ac_compiler_gnu=$ac_cv_c_compiler_gnu
3129
3130
3131# Find a good install program.  We prefer a C program (faster),
3132# so one script is as good as another.  But avoid the broken or
3133# incompatible versions:
3134# SysV /etc/install, /usr/sbin/install
3135# SunOS /usr/etc/install
3136# IRIX /sbin/install
3137# AIX /bin/install
3138# AmigaOS /C/install, which installs bootblocks on floppy discs
3139# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3140# AFS /usr/afsws/bin/install, which mishandles nonexistent args
3141# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3142# OS/2's system install, which has a completely different semantic
3143# ./install, which can be erroneously created by make from ./install.sh.
3144# Reject install programs that cannot install multiple files.
3145{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3146$as_echo_n "checking for a BSD-compatible install... " >&6; }
3147if test -z "$INSTALL"; then
3148if test "${ac_cv_path_install+set}" = set; then
3149  $as_echo_n "(cached) " >&6
3150else
3151  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3152for as_dir in $PATH
3153do
3154  IFS=$as_save_IFS
3155  test -z "$as_dir" && as_dir=.
3156  # Account for people who put trailing slashes in PATH elements.
3157case $as_dir/ in
3158  ./ | .// | /cC/* | \
3159  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3160  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3161  /usr/ucb/* ) ;;
3162  *)
3163    # OSF1 and SCO ODT 3.0 have their own names for install.
3164    # Don't use installbsd from OSF since it installs stuff as root
3165    # by default.
3166    for ac_prog in ginstall scoinst install; do
3167      for ac_exec_ext in '' $ac_executable_extensions; do
3168        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3169          if test $ac_prog = install &&
3170            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3171            # AIX install.  It has an incompatible calling convention.
3172            :
3173          elif test $ac_prog = install &&
3174            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3175            # program-specific install script used by HP pwplus--don't use.
3176            :
3177          else
3178            rm -rf conftest.one conftest.two conftest.dir
3179            echo one > conftest.one
3180            echo two > conftest.two
3181            mkdir conftest.dir
3182            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3183              test -s conftest.one && test -s conftest.two &&
3184              test -s conftest.dir/conftest.one &&
3185              test -s conftest.dir/conftest.two
3186            then
3187              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3188              break 3
3189            fi
3190          fi
3191        fi
3192      done
3193    done
3194    ;;
3195esac
3196
3197done
3198IFS=$as_save_IFS
3199
3200rm -rf conftest.one conftest.two conftest.dir
3201
3202fi
3203  if test "${ac_cv_path_install+set}" = set; then
3204    INSTALL=$ac_cv_path_install
3205  else
3206    # As a last resort, use the slow shell script.  Don't cache a
3207    # value for INSTALL within a source directory, because that will
3208    # break other packages using the cache if that directory is
3209    # removed, or if the value is a relative name.
3210    INSTALL=$ac_install_sh
3211  fi
3212fi
3213{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
3214$as_echo "$INSTALL" >&6; }
3215
3216# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3217# It thinks the first close brace ends the variable substitution.
3218test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3219
3220test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3221
3222test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3223
3224if test -n "$ac_tool_prefix"; then
3225  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3226set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3227{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3228$as_echo_n "checking for $ac_word... " >&6; }
3229if test "${ac_cv_prog_RANLIB+set}" = set; then
3230  $as_echo_n "(cached) " >&6
3231else
3232  if test -n "$RANLIB"; then
3233  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3234else
3235as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3236for as_dir in $PATH
3237do
3238  IFS=$as_save_IFS
3239  test -z "$as_dir" && as_dir=.
3240  for ac_exec_ext in '' $ac_executable_extensions; do
3241  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3242    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3243    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3244    break 2
3245  fi
3246done
3247done
3248IFS=$as_save_IFS
3249
3250fi
3251fi
3252RANLIB=$ac_cv_prog_RANLIB
3253if test -n "$RANLIB"; then
3254  { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
3255$as_echo "$RANLIB" >&6; }
3256else
3257  { $as_echo "$as_me:$LINENO: result: no" >&5
3258$as_echo "no" >&6; }
3259fi
3260
3261
3262fi
3263if test -z "$ac_cv_prog_RANLIB"; then
3264  ac_ct_RANLIB=$RANLIB
3265  # Extract the first word of "ranlib", so it can be a program name with args.
3266set dummy ranlib; ac_word=$2
3267{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3268$as_echo_n "checking for $ac_word... " >&6; }
3269if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3270  $as_echo_n "(cached) " >&6
3271else
3272  if test -n "$ac_ct_RANLIB"; then
3273  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3274else
3275as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3276for as_dir in $PATH
3277do
3278  IFS=$as_save_IFS
3279  test -z "$as_dir" && as_dir=.
3280  for ac_exec_ext in '' $ac_executable_extensions; do
3281  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3282    ac_cv_prog_ac_ct_RANLIB="ranlib"
3283    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3284    break 2
3285  fi
3286done
3287done
3288IFS=$as_save_IFS
3289
3290fi
3291fi
3292ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3293if test -n "$ac_ct_RANLIB"; then
3294  { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3295$as_echo "$ac_ct_RANLIB" >&6; }
3296else
3297  { $as_echo "$as_me:$LINENO: result: no" >&5
3298$as_echo "no" >&6; }
3299fi
3300
3301  if test "x$ac_ct_RANLIB" = x; then
3302    RANLIB=":"
3303  else
3304    case $cross_compiling:$ac_tool_warned in
3305yes:)
3306{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3307whose name does not start with the host triplet.  If you think this
3308configuration is useful to you, please write to autoconf@gnu.org." >&5
3309$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3310whose name does not start with the host triplet.  If you think this
3311configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3312ac_tool_warned=yes ;;
3313esac
3314    RANLIB=$ac_ct_RANLIB
3315  fi
3316else
3317  RANLIB="$ac_cv_prog_RANLIB"
3318fi
3319
3320{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
3321$as_echo_n "checking whether ln -s works... " >&6; }
3322LN_S=$as_ln_s
3323if test "$LN_S" = "ln -s"; then
3324  { $as_echo "$as_me:$LINENO: result: yes" >&5
3325$as_echo "yes" >&6; }
3326else
3327  { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3328$as_echo "no, using $LN_S" >&6; }
3329fi
3330
3331
3332pgapack=pgapack
3333
3334if test "$srcdir" != "."; then
3335  rm -rf $pgapack
3336  echo "tar -C $srcdir -clf - $pgapack | tar -xpf -"
3337  tar -C $srcdir -clf - $pgapack | tar -xpf -
3338fi
3339host=linux
3340CFLAGS="-fPIC $CFLAGS"
3341(cd $pgapack ; ./configure -arch $host -f77 $F77 -cc $CC -cflags $CFLAGS -fflags $FFLAGS)
3342
3343ac_config_files="$ac_config_files Makefile"
3344
3345cat >confcache <<\_ACEOF
3346# This file is a shell script that caches the results of configure
3347# tests run on this system so they can be shared between configure
3348# scripts and configure runs, see configure's option --config-cache.
3349# It is not useful on other systems.  If it contains results you don't
3350# want to keep, you may remove or edit it.
3351#
3352# config.status only pays attention to the cache file if you give it
3353# the --recheck option to rerun configure.
3354#
3355# `ac_cv_env_foo' variables (set or unset) will be overridden when
3356# loading this file, other *unset* `ac_cv_foo' will be assigned the
3357# following values.
3358
3359_ACEOF
3360
3361# The following way of writing the cache mishandles newlines in values,
3362# but we know of no workaround that is simple, portable, and efficient.
3363# So, we kill variables containing newlines.
3364# Ultrix sh set writes to stderr and can't be redirected directly,
3365# and sets the high bit in the cache file unless we assign to the vars.
3366(
3367  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3368    eval ac_val=\$$ac_var
3369    case $ac_val in #(
3370    *${as_nl}*)
3371      case $ac_var in #(
3372      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
3373$as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
3374      esac
3375      case $ac_var in #(
3376      _ | IFS | as_nl) ;; #(
3377      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3378      *) $as_unset $ac_var ;;
3379      esac ;;
3380    esac
3381  done
3382
3383  (set) 2>&1 |
3384    case $as_nl`(ac_space=' '; set) 2>&1` in #(
3385    *${as_nl}ac_space=\ *)
3386      # `set' does not quote correctly, so add quotes (double-quote
3387      # substitution turns \\\\ into \\, and sed turns \\ into \).
3388      sed -n \
3389        "s/'/'\\\\''/g;
3390          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3391      ;; #(
3392    *)
3393      # `set' quotes correctly as required by POSIX, so do not add quotes.
3394      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3395      ;;
3396    esac |
3397    sort
3398) |
3399  sed '
3400     /^ac_cv_env_/b end
3401     t clear
3402     :clear
3403     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3404     t end
3405     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3406     :end' >>confcache
3407if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3408  if test -w "$cache_file"; then
3409    test "x$cache_file" != "x/dev/null" &&
3410      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
3411$as_echo "$as_me: updating cache $cache_file" >&6;}
3412    cat confcache >$cache_file
3413  else
3414    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
3415$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3416  fi
3417fi
3418rm -f confcache
3419
3420test "x$prefix" = xNONE && prefix=$ac_default_prefix
3421# Let make expand exec_prefix.
3422test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3423
3424# Transform confdefs.h into DEFS.
3425# Protect against shell expansion while executing Makefile rules.
3426# Protect against Makefile macro expansion.
3427#
3428# If the first sed substitution is executed (which looks for macros that
3429# take arguments), then branch to the quote section.  Otherwise,
3430# look for a macro that doesn't take arguments.
3431ac_script='
3432:mline
3433/\\$/{
3434 N
3435 s,\\\n,,
3436 b mline
3437}
3438t clear
3439:clear
3440s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
3441t quote
3442s/^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
3443t quote
3444b any
3445:quote
3446s/[      `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3447s/\[/\\&/g
3448s/\]/\\&/g
3449s/\$/$$/g
3450H
3451:any
3452${
3453        g
3454        s/^\n//
3455        s/\n/ /g
3456        p
3457}
3458'
3459DEFS=`sed -n "$ac_script" confdefs.h`
3460
3461
3462ac_libobjs=
3463ac_ltlibobjs=
3464for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3465  # 1. Remove the extension, and $U if already installed.
3466  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3467  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
3468  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
3469  #    will be set to the directory where LIBOBJS objects are built.
3470  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3471  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
3472done
3473LIBOBJS=$ac_libobjs
3474
3475LTLIBOBJS=$ac_ltlibobjs
3476
3477
3478
3479: ${CONFIG_STATUS=./config.status}
3480ac_write_fail=0
3481ac_clean_files_save=$ac_clean_files
3482ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3483{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3484$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3485cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3486#! $SHELL
3487# Generated by $as_me.
3488# Run this file to recreate the current configuration.
3489# Compiler output produced by configure, useful for debugging
3490# configure, is in config.log if it exists.
3491
3492debug=false
3493ac_cs_recheck=false
3494ac_cs_silent=false
3495SHELL=\${CONFIG_SHELL-$SHELL}
3496_ACEOF
3497
3498cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3499## --------------------- ##
3500## M4sh Initialization.  ##
3501## --------------------- ##
3502
3503# Be more Bourne compatible
3504DUALCASE=1; export DUALCASE # for MKS sh
3505if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3506  emulate sh
3507  NULLCMD=:
3508  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3509  # is contrary to our usage.  Disable this feature.
3510  alias -g '${1+"$@"}'='"$@"'
3511  setopt NO_GLOB_SUBST
3512else
3513  case `(set -o) 2>/dev/null` in
3514  *posix*) set -o posix ;;
3515esac
3516
3517fi
3518
3519
3520
3521
3522# PATH needs CR
3523# Avoid depending upon Character Ranges.
3524as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3525as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3526as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3527as_cr_digits='0123456789'
3528as_cr_alnum=$as_cr_Letters$as_cr_digits
3529
3530as_nl='
3531'
3532export as_nl
3533# Printing a long string crashes Solaris 7 /usr/bin/printf.
3534as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3535as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3536as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3537if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3538  as_echo='printf %s\n'
3539  as_echo_n='printf %s'
3540else
3541  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3542    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
3543    as_echo_n='/usr/ucb/echo -n'
3544  else
3545    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3546    as_echo_n_body='eval
3547      arg=$1;
3548      case $arg in
3549      *"$as_nl"*)
3550        expr "X$arg" : "X\\(.*\\)$as_nl";
3551        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3552      esac;
3553      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
3554    '
3555    export as_echo_n_body
3556    as_echo_n='sh -c $as_echo_n_body as_echo'
3557  fi
3558  export as_echo_body
3559  as_echo='sh -c $as_echo_body as_echo'
3560fi
3561
3562# The user is always right.
3563if test "${PATH_SEPARATOR+set}" != set; then
3564  PATH_SEPARATOR=:
3565  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3566    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3567      PATH_SEPARATOR=';'
3568  }
3569fi
3570
3571# Support unset when possible.
3572if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3573  as_unset=unset
3574else
3575  as_unset=false
3576fi
3577
3578
3579# IFS
3580# We need space, tab and new line, in precisely that order.  Quoting is
3581# there to prevent editors from complaining about space-tab.
3582# (If _AS_PATH_WALK were called with IFS unset, it would disable word
3583# splitting by setting IFS to empty value.)
3584IFS=" ""        $as_nl"
3585
3586# Find who we are.  Look in the path if we contain no directory separator.
3587case $0 in
3588  *[\\/]* ) as_myself=$0 ;;
3589  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3590for as_dir in $PATH
3591do
3592  IFS=$as_save_IFS
3593  test -z "$as_dir" && as_dir=.
3594  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3595done
3596IFS=$as_save_IFS
3597
3598     ;;
3599esac
3600# We did not find ourselves, most probably we were run as `sh COMMAND'
3601# in which case we are not to be found in the path.
3602if test "x$as_myself" = x; then
3603  as_myself=$0
3604fi
3605if test ! -f "$as_myself"; then
3606  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3607  { (exit 1); exit 1; }
3608fi
3609
3610# Work around bugs in pre-3.0 UWIN ksh.
3611for as_var in ENV MAIL MAILPATH
3612do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3613done
3614PS1='$ '
3615PS2='> '
3616PS4='+ '
3617
3618# NLS nuisances.
3619LC_ALL=C
3620export LC_ALL
3621LANGUAGE=C
3622export LANGUAGE
3623
3624# Required to use basename.
3625if expr a : '\(a\)' >/dev/null 2>&1 &&
3626   test "X`expr 00001 : '.*\(...\)'`" = X001; then
3627  as_expr=expr
3628else
3629  as_expr=false
3630fi
3631
3632if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3633  as_basename=basename
3634else
3635  as_basename=false
3636fi
3637
3638
3639# Name of the executable.
3640as_me=`$as_basename -- "$0" ||
3641$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3642         X"$0" : 'X\(//\)$' \| \
3643         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3644$as_echo X/"$0" |
3645    sed '/^.*\/\([^/][^/]*\)\/*$/{
3646            s//\1/
3647            q
3648          }
3649          /^X\/\(\/\/\)$/{
3650            s//\1/
3651            q
3652          }
3653          /^X\/\(\/\).*/{
3654            s//\1/
3655            q
3656          }
3657          s/.*/./; q'`
3658
3659# CDPATH.
3660$as_unset CDPATH
3661
3662
3663
3664  as_lineno_1=$LINENO
3665  as_lineno_2=$LINENO
3666  test "x$as_lineno_1" != "x$as_lineno_2" &&
3667  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
3668
3669  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3670  # uniformly replaced by the line number.  The first 'sed' inserts a
3671  # line-number line after each line using $LINENO; the second 'sed'
3672  # does the real work.  The second script uses 'N' to pair each
3673  # line-number line with the line containing $LINENO, and appends
3674  # trailing '-' during substitution so that $LINENO is not a special
3675  # case at line end.
3676  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3677  # scripts with optimization help from Paolo Bonzini.  Blame Lee
3678  # E. McMahon (1931-1989) for sed's syntax.  :-)
3679  sed -n '
3680    p
3681    /[$]LINENO/=
3682  ' <$as_myself |
3683    sed '
3684      s/[$]LINENO.*/&-/
3685      t lineno
3686      b
3687      :lineno
3688      N
3689      :loop
3690      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
3691      t loop
3692      s/-\n.*//
3693    ' >$as_me.lineno &&
3694  chmod +x "$as_me.lineno" ||
3695    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
3696   { (exit 1); exit 1; }; }
3697
3698  # Don't try to exec as it changes $[0], causing all sort of problems
3699  # (the dirname of $[0] is not the place where we might find the
3700  # original and so on.  Autoconf is especially sensitive to this).
3701  . "./$as_me.lineno"
3702  # Exit status is that of the last command.
3703  exit
3704}
3705
3706
3707if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3708  as_dirname=dirname
3709else
3710  as_dirname=false
3711fi
3712
3713ECHO_C= ECHO_N= ECHO_T=
3714case `echo -n x` in
3715-n*)
3716  case `echo 'x\c'` in
3717  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
3718  *)   ECHO_C='\c';;
3719  esac;;
3720*)
3721  ECHO_N='-n';;
3722esac
3723if expr a : '\(a\)' >/dev/null 2>&1 &&
3724   test "X`expr 00001 : '.*\(...\)'`" = X001; then
3725  as_expr=expr
3726else
3727  as_expr=false
3728fi
3729
3730rm -f conf$$ conf$$.exe conf$$.file
3731if test -d conf$$.dir; then
3732  rm -f conf$$.dir/conf$$.file
3733else
3734  rm -f conf$$.dir
3735  mkdir conf$$.dir 2>/dev/null
3736fi
3737if (echo >conf$$.file) 2>/dev/null; then
3738  if ln -s conf$$.file conf$$ 2>/dev/null; then
3739    as_ln_s='ln -s'
3740    # ... but there are two gotchas:
3741    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3742    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3743    # In both cases, we have to default to `cp -p'.
3744    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3745      as_ln_s='cp -p'
3746  elif ln conf$$.file conf$$ 2>/dev/null; then
3747    as_ln_s=ln
3748  else
3749    as_ln_s='cp -p'
3750  fi
3751else
3752  as_ln_s='cp -p'
3753fi
3754rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3755rmdir conf$$.dir 2>/dev/null
3756
3757if mkdir -p . 2>/dev/null; then
3758  as_mkdir_p=:
3759else
3760  test -d ./-p && rmdir ./-p
3761  as_mkdir_p=false
3762fi
3763
3764if test -x / >/dev/null 2>&1; then
3765  as_test_x='test -x'
3766else
3767  if ls -dL / >/dev/null 2>&1; then
3768    as_ls_L_option=L
3769  else
3770    as_ls_L_option=
3771  fi
3772  as_test_x='
3773    eval sh -c '\''
3774      if test -d "$1"; then
3775        test -d "$1/.";
3776      else
3777        case $1 in
3778        -*)set "./$1";;
3779        esac;
3780        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
3781        ???[sx]*):;;*)false;;esac;fi
3782    '\'' sh
3783  '
3784fi
3785as_executable_p=$as_test_x
3786
3787# Sed expression to map a string onto a valid CPP name.
3788as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3789
3790# Sed expression to map a string onto a valid variable name.
3791as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3792
3793
3794exec 6>&1
3795
3796# Save the log message, to keep $[0] and so on meaningful, and to
3797# report actual input values of CONFIG_FILES etc. instead of their
3798# values after options handling.
3799ac_log="
3800This file was extended by PGAPACK $as_me 1.1, which was
3801generated by GNU Autoconf 2.62.  Invocation command line was
3802
3803  CONFIG_FILES    = $CONFIG_FILES
3804  CONFIG_HEADERS  = $CONFIG_HEADERS
3805  CONFIG_LINKS    = $CONFIG_LINKS
3806  CONFIG_COMMANDS = $CONFIG_COMMANDS
3807  $ $0 $@
3808
3809on `(hostname || uname -n) 2>/dev/null | sed 1q`
3810"
3811
3812_ACEOF
3813
3814cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3815# Files that config.status was made for.
3816config_files="$ac_config_files"
3817
3818_ACEOF
3819
3820cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3821ac_cs_usage="\
3822\`$as_me' instantiates files from templates according to the
3823current configuration.
3824
3825Usage: $0 [OPTIONS] [FILE]...
3826
3827  -h, --help       print this help, then exit
3828  -V, --version    print version number and configuration settings, then exit
3829  -q, --quiet      do not print progress messages
3830  -d, --debug      don't remove temporary files
3831      --recheck    update $as_me by reconfiguring in the same conditions
3832  --file=FILE[:TEMPLATE]
3833                   instantiate the configuration file FILE
3834
3835Configuration files:
3836$config_files
3837
3838Report bugs to <bug-autoconf@gnu.org>."
3839
3840_ACEOF
3841cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3842ac_cs_version="\\
3843PGAPACK config.status 1.1
3844configured by $0, generated by GNU Autoconf 2.62,
3845  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
3846
3847Copyright (C) 2008 Free Software Foundation, Inc.
3848This config.status script is free software; the Free Software Foundation
3849gives unlimited permission to copy, distribute and modify it."
3850
3851ac_pwd='$ac_pwd'
3852srcdir='$srcdir'
3853INSTALL='$INSTALL'
3854test -n "\$AWK" || AWK=awk
3855_ACEOF
3856
3857cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3858# The default lists apply if the user does not specify any file.
3859ac_need_defaults=:
3860while test $# != 0
3861do
3862  case $1 in
3863  --*=*)
3864    ac_option=`expr "X$1" : 'X\([^=]*\)='`
3865    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3866    ac_shift=:
3867    ;;
3868  *)
3869    ac_option=$1
3870    ac_optarg=$2
3871    ac_shift=shift
3872    ;;
3873  esac
3874
3875  case $ac_option in
3876  # Handling of the options.
3877  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3878    ac_cs_recheck=: ;;
3879  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3880    $as_echo "$ac_cs_version"; exit ;;
3881  --debug | --debu | --deb | --de | --d | -d )
3882    debug=: ;;
3883  --file | --fil | --fi | --f )
3884    $ac_shift
3885    case $ac_optarg in
3886    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3887    esac
3888    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
3889    ac_need_defaults=false;;
3890  --he | --h |  --help | --hel | -h )
3891    $as_echo "$ac_cs_usage"; exit ;;
3892  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3893  | -silent | --silent | --silen | --sile | --sil | --si | --s)
3894    ac_cs_silent=: ;;
3895
3896  # This is an error.
3897  -*) { $as_echo "$as_me: error: unrecognized option: $1
3898Try \`$0 --help' for more information." >&2
3899   { (exit 1); exit 1; }; } ;;
3900
3901  *) ac_config_targets="$ac_config_targets $1"
3902     ac_need_defaults=false ;;
3903
3904  esac
3905  shift
3906done
3907
3908ac_configure_extra_args=
3909
3910if $ac_cs_silent; then
3911  exec 6>/dev/null
3912  ac_configure_extra_args="$ac_configure_extra_args --silent"
3913fi
3914
3915_ACEOF
3916cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3917if \$ac_cs_recheck; then
3918  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3919  shift
3920  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3921  CONFIG_SHELL='$SHELL'
3922  export CONFIG_SHELL
3923  exec "\$@"
3924fi
3925
3926_ACEOF
3927cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3928exec 5>>config.log
3929{
3930  echo
3931  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3932## Running $as_me. ##
3933_ASBOX
3934  $as_echo "$ac_log"
3935} >&5
3936
3937_ACEOF
3938cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3939_ACEOF
3940
3941cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3942
3943# Handling of arguments.
3944for ac_config_target in $ac_config_targets
3945do
3946  case $ac_config_target in
3947    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3948
3949  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3950$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3951   { (exit 1); exit 1; }; };;
3952  esac
3953done
3954
3955
3956# If the user did not use the arguments to specify the items to instantiate,
3957# then the envvar interface is used.  Set only those that are not.
3958# We use the long form for the default assignment because of an extremely
3959# bizarre bug on SunOS 4.1.3.
3960if $ac_need_defaults; then
3961  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3962fi
3963
3964# Have a temporary directory for convenience.  Make it in the build tree
3965# simply because there is no reason against having it here, and in addition,
3966# creating and moving files from /tmp can sometimes cause problems.
3967# Hook for its removal unless debugging.
3968# Note that there is a small window in which the directory will not be cleaned:
3969# after its creation but before its name has been assigned to `$tmp'.
3970$debug ||
3971{
3972  tmp=
3973  trap 'exit_status=$?
3974  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
3975' 0
3976  trap '{ (exit 1); exit 1; }' 1 2 13 15
3977}
3978# Create a (secure) tmp directory for tmp files.
3979
3980{
3981  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3982  test -n "$tmp" && test -d "$tmp"
3983}  ||
3984{
3985  tmp=./conf$$-$RANDOM
3986  (umask 077 && mkdir "$tmp")
3987} ||
3988{
3989   $as_echo "$as_me: cannot create a temporary directory in ." >&2
3990   { (exit 1); exit 1; }
3991}
3992
3993# Set up the scripts for CONFIG_FILES section.
3994# No need to generate them if there are no CONFIG_FILES.
3995# This happens for instance with `./config.status config.h'.
3996if test -n "$CONFIG_FILES"; then
3997
3998
3999ac_cr=' '
4000ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4001if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4002  ac_cs_awk_cr='\\r'
4003else
4004  ac_cs_awk_cr=$ac_cr
4005fi
4006
4007echo 'BEGIN {' >"$tmp/subs1.awk" &&
4008_ACEOF
4009
4010
4011{
4012  echo "cat >conf$$subs.awk <<_ACEOF" &&
4013  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4014  echo "_ACEOF"
4015} >conf$$subs.sh ||
4016  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
4017$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
4018   { (exit 1); exit 1; }; }
4019ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
4020ac_delim='%!_!# '
4021for ac_last_try in false false false false false :; do
4022  . ./conf$$subs.sh ||
4023    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
4024$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
4025   { (exit 1); exit 1; }; }
4026
4027  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` = $ac_delim_num; then
4028    break
4029  elif $ac_last_try; then
4030    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
4031$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
4032   { (exit 1); exit 1; }; }
4033  else
4034    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4035  fi
4036done
4037rm -f conf$$subs.sh
4038
4039cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4040cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
4041_ACEOF
4042sed -n '
4043h
4044s/^/S["/; s/!.*/"]=/
4045p
4046g
4047s/^[^!]*!//
4048:repl
4049t repl
4050s/'"$ac_delim"'$//
4051t delim
4052:nl
4053h
4054s/\(.\{148\}\).*/\1/
4055t more1
4056s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4057p
4058n
4059b repl
4060:more1
4061s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4062p
4063g
4064s/.\{148\}//
4065t nl
4066:delim
4067h
4068s/\(.\{148\}\).*/\1/
4069t more2
4070s/["\\]/\\&/g; s/^/"/; s/$/"/
4071p
4072b
4073:more2
4074s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4075p
4076g
4077s/.\{148\}//
4078t delim
4079' <conf$$subs.awk | sed '
4080/^[^""]/{
4081  N
4082  s/\n//
4083}
4084' >>$CONFIG_STATUS || ac_write_fail=1
4085rm -f conf$$subs.awk
4086cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4087_ACAWK
4088cat >>"\$tmp/subs1.awk" <<_ACAWK &&
4089  for (key in S) S_is_set[key] = 1
4090  FS = ""
4091
4092}
4093{
4094  line = $ 0
4095  nfields = split(line, field, "@")
4096  substed = 0
4097  len = length(field[1])
4098  for (i = 2; i < nfields; i++) {
4099    key = field[i]
4100    keylen = length(key)
4101    if (S_is_set[key]) {
4102      value = S[key]
4103      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4104      len += length(value) + length(field[++i])
4105      substed = 1
4106    } else
4107      len += 1 + keylen
4108  }
4109
4110  print line
4111}
4112
4113_ACAWK
4114_ACEOF
4115cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4116if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4117  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4118else
4119  cat
4120fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
4121  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
4122$as_echo "$as_me: error: could not setup config files machinery" >&2;}
4123   { (exit 1); exit 1; }; }
4124_ACEOF
4125
4126# VPATH may cause trouble with some makes, so we remove $(srcdir),
4127# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4128# trailing colons and then remove the whole line if VPATH becomes empty
4129# (actually we leave an empty line to preserve line numbers).
4130if test "x$srcdir" = x.; then
4131  ac_vpsub='/^[  ]*VPATH[        ]*=/{
4132s/:*\$(srcdir):*/:/
4133s/:*\${srcdir}:*/:/
4134s/:*@srcdir@:*/:/
4135s/^\([^=]*=[     ]*\):*/\1/
4136s/:*$//
4137s/^[^=]*=[       ]*$//
4138}'
4139fi
4140
4141cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4142fi # test -n "$CONFIG_FILES"
4143
4144
4145eval set X "  :F $CONFIG_FILES      "
4146shift
4147for ac_tag
4148do
4149  case $ac_tag in
4150  :[FHLC]) ac_mode=$ac_tag; continue;;
4151  esac
4152  case $ac_mode$ac_tag in
4153  :[FHL]*:*);;
4154  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
4155$as_echo "$as_me: error: Invalid tag $ac_tag." >&2;}
4156   { (exit 1); exit 1; }; };;
4157  :[FH]-) ac_tag=-:-;;
4158  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4159  esac
4160  ac_save_IFS=$IFS
4161  IFS=:
4162  set x $ac_tag
4163  IFS=$ac_save_IFS
4164  shift
4165  ac_file=$1
4166  shift
4167
4168  case $ac_mode in
4169  :L) ac_source=$1;;
4170  :[FH])
4171    ac_file_inputs=
4172    for ac_f
4173    do
4174      case $ac_f in
4175      -) ac_f="$tmp/stdin";;
4176      *) # Look for the file first in the build tree, then in the source tree
4177         # (if the path is not absolute).  The absolute path cannot be DOS-style,
4178         # because $ac_f cannot contain `:'.
4179         test -f "$ac_f" ||
4180           case $ac_f in
4181           [\\/$]*) false;;
4182           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4183           esac ||
4184           { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
4185$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
4186   { (exit 1); exit 1; }; };;
4187      esac
4188      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4189      ac_file_inputs="$ac_file_inputs '$ac_f'"
4190    done
4191
4192    # Let's still pretend it is `configure' which instantiates (i.e., don't
4193    # use $as_me), people would be surprised to read:
4194    #    /* config.h.  Generated by config.status.  */
4195    configure_input='Generated from '`
4196          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4197        `' by configure.'
4198    if test x"$ac_file" != x-; then
4199      configure_input="$ac_file.  $configure_input"
4200      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
4201$as_echo "$as_me: creating $ac_file" >&6;}
4202    fi
4203    # Neutralize special characters interpreted by sed in replacement strings.
4204    case $configure_input in #(
4205    *\&* | *\|* | *\\* )
4206       ac_sed_conf_input=`$as_echo "$configure_input" |
4207       sed 's/[\\\\&|]/\\\\&/g'`;; #(
4208    *) ac_sed_conf_input=$configure_input;;
4209    esac
4210
4211    case $ac_tag in
4212    *:-:* | *:-) cat >"$tmp/stdin" \
4213      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
4214$as_echo "$as_me: error: could not create $ac_file" >&2;}
4215   { (exit 1); exit 1; }; } ;;
4216    esac
4217    ;;
4218  esac
4219
4220  ac_dir=`$as_dirname -- "$ac_file" ||
4221$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4222         X"$ac_file" : 'X\(//\)[^/]' \| \
4223         X"$ac_file" : 'X\(//\)$' \| \
4224         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4225$as_echo X"$ac_file" |
4226    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4227            s//\1/
4228            q
4229          }
4230          /^X\(\/\/\)[^/].*/{
4231            s//\1/
4232            q
4233          }
4234          /^X\(\/\/\)$/{
4235            s//\1/
4236            q
4237          }
4238          /^X\(\/\).*/{
4239            s//\1/
4240            q
4241          }
4242          s/.*/./; q'`
4243  { as_dir="$ac_dir"
4244  case $as_dir in #(
4245  -*) as_dir=./$as_dir;;
4246  esac
4247  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
4248    as_dirs=
4249    while :; do
4250      case $as_dir in #(
4251      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4252      *) as_qdir=$as_dir;;
4253      esac
4254      as_dirs="'$as_qdir' $as_dirs"
4255      as_dir=`$as_dirname -- "$as_dir" ||
4256$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4257         X"$as_dir" : 'X\(//\)[^/]' \| \
4258         X"$as_dir" : 'X\(//\)$' \| \
4259         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4260$as_echo X"$as_dir" |
4261    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4262            s//\1/
4263            q
4264          }
4265          /^X\(\/\/\)[^/].*/{
4266            s//\1/
4267            q
4268          }
4269          /^X\(\/\/\)$/{
4270            s//\1/
4271            q
4272          }
4273          /^X\(\/\).*/{
4274            s//\1/
4275            q
4276          }
4277          s/.*/./; q'`
4278      test -d "$as_dir" && break
4279    done
4280    test -z "$as_dirs" || eval "mkdir $as_dirs"
4281  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
4282$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
4283   { (exit 1); exit 1; }; }; }
4284  ac_builddir=.
4285
4286case "$ac_dir" in
4287.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4288*)
4289  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4290  # A ".." for each directory in $ac_dir_suffix.
4291  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4292  case $ac_top_builddir_sub in
4293  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4294  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4295  esac ;;
4296esac
4297ac_abs_top_builddir=$ac_pwd
4298ac_abs_builddir=$ac_pwd$ac_dir_suffix
4299# for backward compatibility:
4300ac_top_builddir=$ac_top_build_prefix
4301
4302case $srcdir in
4303  .)  # We are building in place.
4304    ac_srcdir=.
4305    ac_top_srcdir=$ac_top_builddir_sub
4306    ac_abs_top_srcdir=$ac_pwd ;;
4307  [\\/]* | ?:[\\/]* )  # Absolute name.
4308    ac_srcdir=$srcdir$ac_dir_suffix;
4309    ac_top_srcdir=$srcdir
4310    ac_abs_top_srcdir=$srcdir ;;
4311  *) # Relative name.
4312    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4313    ac_top_srcdir=$ac_top_build_prefix$srcdir
4314    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4315esac
4316ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4317
4318
4319  case $ac_mode in
4320  :F)
4321  #
4322  # CONFIG_FILE
4323  #
4324
4325  case $INSTALL in
4326  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4327  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
4328  esac
4329_ACEOF
4330
4331cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4332# If the template does not know about datarootdir, expand it.
4333# FIXME: This hack should be removed a few years after 2.60.
4334ac_datarootdir_hack=; ac_datarootdir_seen=
4335
4336ac_sed_dataroot='
4337/datarootdir/ {
4338  p
4339  q
4340}
4341/@datadir@/p
4342/@docdir@/p
4343/@infodir@/p
4344/@localedir@/p
4345/@mandir@/p
4346'
4347case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
4348*datarootdir*) ac_datarootdir_seen=yes;;
4349*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4350  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4351$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4352_ACEOF
4353cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4354  ac_datarootdir_hack='
4355  s&@datadir@&$datadir&g
4356  s&@docdir@&$docdir&g
4357  s&@infodir@&$infodir&g
4358  s&@localedir@&$localedir&g
4359  s&@mandir@&$mandir&g
4360    s&\\\${datarootdir}&$datarootdir&g' ;;
4361esac
4362_ACEOF
4363
4364# Neutralize VPATH when `$srcdir' = `.'.
4365# Shell code in configure.ac might set extrasub.
4366# FIXME: do we really want to maintain this feature?
4367cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4368ac_sed_extra="$ac_vpsub
4369$extrasub
4370_ACEOF
4371cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4372:t
4373/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4374s|@configure_input@|$ac_sed_conf_input|;t t
4375s&@top_builddir@&$ac_top_builddir_sub&;t t
4376s&@top_build_prefix@&$ac_top_build_prefix&;t t
4377s&@srcdir@&$ac_srcdir&;t t
4378s&@abs_srcdir@&$ac_abs_srcdir&;t t
4379s&@top_srcdir@&$ac_top_srcdir&;t t
4380s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4381s&@builddir@&$ac_builddir&;t t
4382s&@abs_builddir@&$ac_abs_builddir&;t t
4383s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4384s&@INSTALL@&$ac_INSTALL&;t t
4385$ac_datarootdir_hack
4386"
4387eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
4388  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
4389$as_echo "$as_me: error: could not create $ac_file" >&2;}
4390   { (exit 1); exit 1; }; }
4391
4392test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4393  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
4394  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
4395  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4396which seems to be undefined.  Please make sure it is defined." >&5
4397$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4398which seems to be undefined.  Please make sure it is defined." >&2;}
4399
4400  rm -f "$tmp/stdin"
4401  case $ac_file in
4402  -) cat "$tmp/out" && rm -f "$tmp/out";;
4403  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
4404  esac \
4405  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
4406$as_echo "$as_me: error: could not create $ac_file" >&2;}
4407   { (exit 1); exit 1; }; }
4408 ;;
4409
4410
4411
4412  esac
4413
4414done # for ac_tag
4415
4416
4417{ (exit 0); exit 0; }
4418_ACEOF
4419chmod +x $CONFIG_STATUS
4420ac_clean_files=$ac_clean_files_save
4421
4422test $ac_write_fail = 0 ||
4423  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
4424$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
4425   { (exit 1); exit 1; }; }
4426
4427
4428# configure is writing to config.log, and then calls config.status.
4429# config.status does its own redirection, appending to config.log.
4430# Unfortunately, on DOS this fails, as config.log is still kept open
4431# by configure, so config.status won't be able to write to it; its
4432# output is simply discarded.  So we exec the FD to /dev/null,
4433# effectively closing config.log, so it can be properly (re)opened and
4434# appended to by config.status.  When coming back to configure, we
4435# need to make the FD available again.
4436if test "$no_create" != yes; then
4437  ac_cs_success=:
4438  ac_config_status_args=
4439  test "$silent" = yes &&
4440    ac_config_status_args="$ac_config_status_args --quiet"
4441  exec 5>/dev/null
4442  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4443  exec 5>>config.log
4444  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4445  # would make configure fail if this is the last instruction.
4446  $ac_cs_success || { (exit 1); exit 1; }
4447fi
4448if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
4449  { $as_echo "$as_me:$LINENO: WARNING: Unrecognized options: $ac_unrecognized_opts" >&5
4450$as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2;}
4451fi
4452
Note: See TracBrowser for help on using the repository browser.