ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/freemol/trunk/src/pdb2pqr/src/configure.mingw
Revision: 54
Committed: Mon Sep 29 23:37:10 2008 UTC (12 years, 8 months ago) by tjod
File size: 153658 byte(s)
Log Message:
changes for mingw

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