| 8508 |
|
OPENBABEL_OLD_CPPFLAGS=$CPPFLAGS |
| 8509 |
|
LDFLAGS="$LDFLAGS -L${OPENBABEL_HOME}/lib -lopenbabel" |
| 8510 |
|
CPPFLAGS="$CPPFLAGS -I${OPENBABEL_HOME}/include/openbabel-2.0" |
| 8511 |
< |
if test "${ac_cv_header_openbabel_2_0_openbabel_babelconfig_h+set}" = set; then |
| 8512 |
< |
{ echo "$as_me:$LINENO: checking for openbabel-2.0/openbabel/babelconfig.h" >&5 |
| 8513 |
< |
echo $ECHO_N "checking for openbabel-2.0/openbabel/babelconfig.h... $ECHO_C" >&6; } |
| 8514 |
< |
if test "${ac_cv_header_openbabel_2_0_openbabel_babelconfig_h+set}" = set; then |
| 8511 |
> |
if test "${ac_cv_header_openbabel_babelconfig_h+set}" = set; then |
| 8512 |
> |
{ echo "$as_me:$LINENO: checking for openbabel/babelconfig.h" >&5 |
| 8513 |
> |
echo $ECHO_N "checking for openbabel/babelconfig.h... $ECHO_C" >&6; } |
| 8514 |
> |
if test "${ac_cv_header_openbabel_babelconfig_h+set}" = set; then |
| 8515 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 8516 |
|
fi |
| 8517 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_header_openbabel_2_0_openbabel_babelconfig_h" >&5 |
| 8518 |
< |
echo "${ECHO_T}$ac_cv_header_openbabel_2_0_openbabel_babelconfig_h" >&6; } |
| 8517 |
> |
{ echo "$as_me:$LINENO: result: $ac_cv_header_openbabel_babelconfig_h" >&5 |
| 8518 |
> |
echo "${ECHO_T}$ac_cv_header_openbabel_babelconfig_h" >&6; } |
| 8519 |
|
else |
| 8520 |
|
# Is the header compilable? |
| 8521 |
< |
{ echo "$as_me:$LINENO: checking openbabel-2.0/openbabel/babelconfig.h usability" >&5 |
| 8522 |
< |
echo $ECHO_N "checking openbabel-2.0/openbabel/babelconfig.h usability... $ECHO_C" >&6; } |
| 8521 |
> |
{ echo "$as_me:$LINENO: checking openbabel/babelconfig.h usability" >&5 |
| 8522 |
> |
echo $ECHO_N "checking openbabel/babelconfig.h usability... $ECHO_C" >&6; } |
| 8523 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 8524 |
|
/* confdefs.h. */ |
| 8525 |
|
_ACEOF |
| 8527 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 8528 |
|
/* end confdefs.h. */ |
| 8529 |
|
$ac_includes_default |
| 8530 |
< |
#include <openbabel-2.0/openbabel/babelconfig.h> |
| 8530 |
> |
#include <openbabel/babelconfig.h> |
| 8531 |
|
_ACEOF |
| 8532 |
|
rm -f conftest.$ac_objext |
| 8533 |
|
if { (ac_try="$ac_compile" |
| 8559 |
|
echo "${ECHO_T}$ac_header_compiler" >&6; } |
| 8560 |
|
|
| 8561 |
|
# Is the header present? |
| 8562 |
< |
{ echo "$as_me:$LINENO: checking openbabel-2.0/openbabel/babelconfig.h presence" >&5 |
| 8563 |
< |
echo $ECHO_N "checking openbabel-2.0/openbabel/babelconfig.h presence... $ECHO_C" >&6; } |
| 8562 |
> |
{ echo "$as_me:$LINENO: checking openbabel/babelconfig.h presence" >&5 |
| 8563 |
> |
echo $ECHO_N "checking openbabel/babelconfig.h presence... $ECHO_C" >&6; } |
| 8564 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 8565 |
|
/* confdefs.h. */ |
| 8566 |
|
_ACEOF |
| 8567 |
|
cat confdefs.h >>conftest.$ac_ext |
| 8568 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 8569 |
|
/* end confdefs.h. */ |
| 8570 |
< |
#include <openbabel-2.0/openbabel/babelconfig.h> |
| 8570 |
> |
#include <openbabel/babelconfig.h> |
| 8571 |
|
_ACEOF |
| 8572 |
|
if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 8573 |
|
case "(($ac_try" in |
| 8600 |
|
# So? What about this header? |
| 8601 |
|
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
| 8602 |
|
yes:no: ) |
| 8603 |
< |
{ echo "$as_me:$LINENO: WARNING: openbabel-2.0/openbabel/babelconfig.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
| 8604 |
< |
echo "$as_me: WARNING: openbabel-2.0/openbabel/babelconfig.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
| 8605 |
< |
{ echo "$as_me:$LINENO: WARNING: openbabel-2.0/openbabel/babelconfig.h: proceeding with the compiler's result" >&5 |
| 8606 |
< |
echo "$as_me: WARNING: openbabel-2.0/openbabel/babelconfig.h: proceeding with the compiler's result" >&2;} |
| 8603 |
> |
{ echo "$as_me:$LINENO: WARNING: openbabel/babelconfig.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
| 8604 |
> |
echo "$as_me: WARNING: openbabel/babelconfig.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
| 8605 |
> |
{ echo "$as_me:$LINENO: WARNING: openbabel/babelconfig.h: proceeding with the compiler's result" >&5 |
| 8606 |
> |
echo "$as_me: WARNING: openbabel/babelconfig.h: proceeding with the compiler's result" >&2;} |
| 8607 |
|
ac_header_preproc=yes |
| 8608 |
|
;; |
| 8609 |
|
no:yes:* ) |
| 8610 |
< |
{ echo "$as_me:$LINENO: WARNING: openbabel-2.0/openbabel/babelconfig.h: present but cannot be compiled" >&5 |
| 8611 |
< |
echo "$as_me: WARNING: openbabel-2.0/openbabel/babelconfig.h: present but cannot be compiled" >&2;} |
| 8612 |
< |
{ echo "$as_me:$LINENO: WARNING: openbabel-2.0/openbabel/babelconfig.h: check for missing prerequisite headers?" >&5 |
| 8613 |
< |
echo "$as_me: WARNING: openbabel-2.0/openbabel/babelconfig.h: check for missing prerequisite headers?" >&2;} |
| 8614 |
< |
{ echo "$as_me:$LINENO: WARNING: openbabel-2.0/openbabel/babelconfig.h: see the Autoconf documentation" >&5 |
| 8615 |
< |
echo "$as_me: WARNING: openbabel-2.0/openbabel/babelconfig.h: see the Autoconf documentation" >&2;} |
| 8616 |
< |
{ echo "$as_me:$LINENO: WARNING: openbabel-2.0/openbabel/babelconfig.h: section \"Present But Cannot Be Compiled\"" >&5 |
| 8617 |
< |
echo "$as_me: WARNING: openbabel-2.0/openbabel/babelconfig.h: section \"Present But Cannot Be Compiled\"" >&2;} |
| 8618 |
< |
{ echo "$as_me:$LINENO: WARNING: openbabel-2.0/openbabel/babelconfig.h: proceeding with the preprocessor's result" >&5 |
| 8619 |
< |
echo "$as_me: WARNING: openbabel-2.0/openbabel/babelconfig.h: proceeding with the preprocessor's result" >&2;} |
| 8620 |
< |
{ echo "$as_me:$LINENO: WARNING: openbabel-2.0/openbabel/babelconfig.h: in the future, the compiler will take precedence" >&5 |
| 8621 |
< |
echo "$as_me: WARNING: openbabel-2.0/openbabel/babelconfig.h: in the future, the compiler will take precedence" >&2;} |
| 8610 |
> |
{ echo "$as_me:$LINENO: WARNING: openbabel/babelconfig.h: present but cannot be compiled" >&5 |
| 8611 |
> |
echo "$as_me: WARNING: openbabel/babelconfig.h: present but cannot be compiled" >&2;} |
| 8612 |
> |
{ echo "$as_me:$LINENO: WARNING: openbabel/babelconfig.h: check for missing prerequisite headers?" >&5 |
| 8613 |
> |
echo "$as_me: WARNING: openbabel/babelconfig.h: check for missing prerequisite headers?" >&2;} |
| 8614 |
> |
{ echo "$as_me:$LINENO: WARNING: openbabel/babelconfig.h: see the Autoconf documentation" >&5 |
| 8615 |
> |
echo "$as_me: WARNING: openbabel/babelconfig.h: see the Autoconf documentation" >&2;} |
| 8616 |
> |
{ echo "$as_me:$LINENO: WARNING: openbabel/babelconfig.h: section \"Present But Cannot Be Compiled\"" >&5 |
| 8617 |
> |
echo "$as_me: WARNING: openbabel/babelconfig.h: section \"Present But Cannot Be Compiled\"" >&2;} |
| 8618 |
> |
{ echo "$as_me:$LINENO: WARNING: openbabel/babelconfig.h: proceeding with the preprocessor's result" >&5 |
| 8619 |
> |
echo "$as_me: WARNING: openbabel/babelconfig.h: proceeding with the preprocessor's result" >&2;} |
| 8620 |
> |
{ echo "$as_me:$LINENO: WARNING: openbabel/babelconfig.h: in the future, the compiler will take precedence" >&5 |
| 8621 |
> |
echo "$as_me: WARNING: openbabel/babelconfig.h: in the future, the compiler will take precedence" >&2;} |
| 8622 |
|
( cat <<\_ASBOX |
| 8623 |
|
## ------------------------------ ## |
| 8624 |
|
## Report this to gezelter@nd.edu ## |
| 8627 |
|
) | sed "s/^/$as_me: WARNING: /" >&2 |
| 8628 |
|
;; |
| 8629 |
|
esac |
| 8630 |
< |
{ echo "$as_me:$LINENO: checking for openbabel-2.0/openbabel/babelconfig.h" >&5 |
| 8631 |
< |
echo $ECHO_N "checking for openbabel-2.0/openbabel/babelconfig.h... $ECHO_C" >&6; } |
| 8632 |
< |
if test "${ac_cv_header_openbabel_2_0_openbabel_babelconfig_h+set}" = set; then |
| 8630 |
> |
{ echo "$as_me:$LINENO: checking for openbabel/babelconfig.h" >&5 |
| 8631 |
> |
echo $ECHO_N "checking for openbabel/babelconfig.h... $ECHO_C" >&6; } |
| 8632 |
> |
if test "${ac_cv_header_openbabel_babelconfig_h+set}" = set; then |
| 8633 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 8634 |
|
else |
| 8635 |
< |
ac_cv_header_openbabel_2_0_openbabel_babelconfig_h=$ac_header_preproc |
| 8635 |
> |
ac_cv_header_openbabel_babelconfig_h=$ac_header_preproc |
| 8636 |
|
fi |
| 8637 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_header_openbabel_2_0_openbabel_babelconfig_h" >&5 |
| 8638 |
< |
echo "${ECHO_T}$ac_cv_header_openbabel_2_0_openbabel_babelconfig_h" >&6; } |
| 8637 |
> |
{ echo "$as_me:$LINENO: result: $ac_cv_header_openbabel_babelconfig_h" >&5 |
| 8638 |
> |
echo "${ECHO_T}$ac_cv_header_openbabel_babelconfig_h" >&6; } |
| 8639 |
|
|
| 8640 |
|
fi |
| 8641 |
< |
if test $ac_cv_header_openbabel_2_0_openbabel_babelconfig_h = yes; then |
| 8641 |
> |
if test $ac_cv_header_openbabel_babelconfig_h = yes; then |
| 8642 |
|
openbabel_cv_openbabel_h=yes |
| 8643 |
|
else |
| 8644 |
|
openbabel_cv_openbabel_h=no |
| 8645 |
|
fi |
| 8646 |
|
|
| 8647 |
|
|
| 8648 |
< |
if test "${ac_cv_header_openbabel_2_0_openbabel_obconversion_h+set}" = set; then |
| 8649 |
< |
{ echo "$as_me:$LINENO: checking for openbabel-2.0/openbabel/obconversion.h" >&5 |
| 8650 |
< |
echo $ECHO_N "checking for openbabel-2.0/openbabel/obconversion.h... $ECHO_C" >&6; } |
| 8651 |
< |
if test "${ac_cv_header_openbabel_2_0_openbabel_obconversion_h+set}" = set; then |
| 8648 |
> |
if test "${ac_cv_header_openbabel_obconversion_h+set}" = set; then |
| 8649 |
> |
{ echo "$as_me:$LINENO: checking for openbabel/obconversion.h" >&5 |
| 8650 |
> |
echo $ECHO_N "checking for openbabel/obconversion.h... $ECHO_C" >&6; } |
| 8651 |
> |
if test "${ac_cv_header_openbabel_obconversion_h+set}" = set; then |
| 8652 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 8653 |
|
fi |
| 8654 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_header_openbabel_2_0_openbabel_obconversion_h" >&5 |
| 8655 |
< |
echo "${ECHO_T}$ac_cv_header_openbabel_2_0_openbabel_obconversion_h" >&6; } |
| 8654 |
> |
{ echo "$as_me:$LINENO: result: $ac_cv_header_openbabel_obconversion_h" >&5 |
| 8655 |
> |
echo "${ECHO_T}$ac_cv_header_openbabel_obconversion_h" >&6; } |
| 8656 |
|
else |
| 8657 |
|
# Is the header compilable? |
| 8658 |
< |
{ echo "$as_me:$LINENO: checking openbabel-2.0/openbabel/obconversion.h usability" >&5 |
| 8659 |
< |
echo $ECHO_N "checking openbabel-2.0/openbabel/obconversion.h usability... $ECHO_C" >&6; } |
| 8658 |
> |
{ echo "$as_me:$LINENO: checking openbabel/obconversion.h usability" >&5 |
| 8659 |
> |
echo $ECHO_N "checking openbabel/obconversion.h usability... $ECHO_C" >&6; } |
| 8660 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 8661 |
|
/* confdefs.h. */ |
| 8662 |
|
_ACEOF |
| 8664 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 8665 |
|
/* end confdefs.h. */ |
| 8666 |
|
$ac_includes_default |
| 8667 |
< |
#include <openbabel-2.0/openbabel/obconversion.h> |
| 8667 |
> |
#include <openbabel/obconversion.h> |
| 8668 |
|
_ACEOF |
| 8669 |
|
rm -f conftest.$ac_objext |
| 8670 |
|
if { (ac_try="$ac_compile" |
| 8696 |
|
echo "${ECHO_T}$ac_header_compiler" >&6; } |
| 8697 |
|
|
| 8698 |
|
# Is the header present? |
| 8699 |
< |
{ echo "$as_me:$LINENO: checking openbabel-2.0/openbabel/obconversion.h presence" >&5 |
| 8700 |
< |
echo $ECHO_N "checking openbabel-2.0/openbabel/obconversion.h presence... $ECHO_C" >&6; } |
| 8699 |
> |
{ echo "$as_me:$LINENO: checking openbabel/obconversion.h presence" >&5 |
| 8700 |
> |
echo $ECHO_N "checking openbabel/obconversion.h presence... $ECHO_C" >&6; } |
| 8701 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 8702 |
|
/* confdefs.h. */ |
| 8703 |
|
_ACEOF |
| 8704 |
|
cat confdefs.h >>conftest.$ac_ext |
| 8705 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 8706 |
|
/* end confdefs.h. */ |
| 8707 |
< |
#include <openbabel-2.0/openbabel/obconversion.h> |
| 8707 |
> |
#include <openbabel/obconversion.h> |
| 8708 |
|
_ACEOF |
| 8709 |
|
if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 8710 |
|
case "(($ac_try" in |
| 8737 |
|
# So? What about this header? |
| 8738 |
|
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
| 8739 |
|
yes:no: ) |
| 8740 |
< |
{ echo "$as_me:$LINENO: WARNING: openbabel-2.0/openbabel/obconversion.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
| 8741 |
< |
echo "$as_me: WARNING: openbabel-2.0/openbabel/obconversion.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
| 8742 |
< |
{ echo "$as_me:$LINENO: WARNING: openbabel-2.0/openbabel/obconversion.h: proceeding with the compiler's result" >&5 |
| 8743 |
< |
echo "$as_me: WARNING: openbabel-2.0/openbabel/obconversion.h: proceeding with the compiler's result" >&2;} |
| 8740 |
> |
{ echo "$as_me:$LINENO: WARNING: openbabel/obconversion.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
| 8741 |
> |
echo "$as_me: WARNING: openbabel/obconversion.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
| 8742 |
> |
{ echo "$as_me:$LINENO: WARNING: openbabel/obconversion.h: proceeding with the compiler's result" >&5 |
| 8743 |
> |
echo "$as_me: WARNING: openbabel/obconversion.h: proceeding with the compiler's result" >&2;} |
| 8744 |
|
ac_header_preproc=yes |
| 8745 |
|
;; |
| 8746 |
|
no:yes:* ) |
| 8747 |
< |
{ echo "$as_me:$LINENO: WARNING: openbabel-2.0/openbabel/obconversion.h: present but cannot be compiled" >&5 |
| 8748 |
< |
echo "$as_me: WARNING: openbabel-2.0/openbabel/obconversion.h: present but cannot be compiled" >&2;} |
| 8749 |
< |
{ echo "$as_me:$LINENO: WARNING: openbabel-2.0/openbabel/obconversion.h: check for missing prerequisite headers?" >&5 |
| 8750 |
< |
echo "$as_me: WARNING: openbabel-2.0/openbabel/obconversion.h: check for missing prerequisite headers?" >&2;} |
| 8751 |
< |
{ echo "$as_me:$LINENO: WARNING: openbabel-2.0/openbabel/obconversion.h: see the Autoconf documentation" >&5 |
| 8752 |
< |
echo "$as_me: WARNING: openbabel-2.0/openbabel/obconversion.h: see the Autoconf documentation" >&2;} |
| 8753 |
< |
{ echo "$as_me:$LINENO: WARNING: openbabel-2.0/openbabel/obconversion.h: section \"Present But Cannot Be Compiled\"" >&5 |
| 8754 |
< |
echo "$as_me: WARNING: openbabel-2.0/openbabel/obconversion.h: section \"Present But Cannot Be Compiled\"" >&2;} |
| 8755 |
< |
{ echo "$as_me:$LINENO: WARNING: openbabel-2.0/openbabel/obconversion.h: proceeding with the preprocessor's result" >&5 |
| 8756 |
< |
echo "$as_me: WARNING: openbabel-2.0/openbabel/obconversion.h: proceeding with the preprocessor's result" >&2;} |
| 8757 |
< |
{ echo "$as_me:$LINENO: WARNING: openbabel-2.0/openbabel/obconversion.h: in the future, the compiler will take precedence" >&5 |
| 8758 |
< |
echo "$as_me: WARNING: openbabel-2.0/openbabel/obconversion.h: in the future, the compiler will take precedence" >&2;} |
| 8747 |
> |
{ echo "$as_me:$LINENO: WARNING: openbabel/obconversion.h: present but cannot be compiled" >&5 |
| 8748 |
> |
echo "$as_me: WARNING: openbabel/obconversion.h: present but cannot be compiled" >&2;} |
| 8749 |
> |
{ echo "$as_me:$LINENO: WARNING: openbabel/obconversion.h: check for missing prerequisite headers?" >&5 |
| 8750 |
> |
echo "$as_me: WARNING: openbabel/obconversion.h: check for missing prerequisite headers?" >&2;} |
| 8751 |
> |
{ echo "$as_me:$LINENO: WARNING: openbabel/obconversion.h: see the Autoconf documentation" >&5 |
| 8752 |
> |
echo "$as_me: WARNING: openbabel/obconversion.h: see the Autoconf documentation" >&2;} |
| 8753 |
> |
{ echo "$as_me:$LINENO: WARNING: openbabel/obconversion.h: section \"Present But Cannot Be Compiled\"" >&5 |
| 8754 |
> |
echo "$as_me: WARNING: openbabel/obconversion.h: section \"Present But Cannot Be Compiled\"" >&2;} |
| 8755 |
> |
{ echo "$as_me:$LINENO: WARNING: openbabel/obconversion.h: proceeding with the preprocessor's result" >&5 |
| 8756 |
> |
echo "$as_me: WARNING: openbabel/obconversion.h: proceeding with the preprocessor's result" >&2;} |
| 8757 |
> |
{ echo "$as_me:$LINENO: WARNING: openbabel/obconversion.h: in the future, the compiler will take precedence" >&5 |
| 8758 |
> |
echo "$as_me: WARNING: openbabel/obconversion.h: in the future, the compiler will take precedence" >&2;} |
| 8759 |
|
( cat <<\_ASBOX |
| 8760 |
|
## ------------------------------ ## |
| 8761 |
|
## Report this to gezelter@nd.edu ## |
| 8764 |
|
) | sed "s/^/$as_me: WARNING: /" >&2 |
| 8765 |
|
;; |
| 8766 |
|
esac |
| 8767 |
< |
{ echo "$as_me:$LINENO: checking for openbabel-2.0/openbabel/obconversion.h" >&5 |
| 8768 |
< |
echo $ECHO_N "checking for openbabel-2.0/openbabel/obconversion.h... $ECHO_C" >&6; } |
| 8769 |
< |
if test "${ac_cv_header_openbabel_2_0_openbabel_obconversion_h+set}" = set; then |
| 8767 |
> |
{ echo "$as_me:$LINENO: checking for openbabel/obconversion.h" >&5 |
| 8768 |
> |
echo $ECHO_N "checking for openbabel/obconversion.h... $ECHO_C" >&6; } |
| 8769 |
> |
if test "${ac_cv_header_openbabel_obconversion_h+set}" = set; then |
| 8770 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 8771 |
|
else |
| 8772 |
< |
ac_cv_header_openbabel_2_0_openbabel_obconversion_h=$ac_header_preproc |
| 8772 |
> |
ac_cv_header_openbabel_obconversion_h=$ac_header_preproc |
| 8773 |
|
fi |
| 8774 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_header_openbabel_2_0_openbabel_obconversion_h" >&5 |
| 8775 |
< |
echo "${ECHO_T}$ac_cv_header_openbabel_2_0_openbabel_obconversion_h" >&6; } |
| 8774 |
> |
{ echo "$as_me:$LINENO: result: $ac_cv_header_openbabel_obconversion_h" >&5 |
| 8775 |
> |
echo "${ECHO_T}$ac_cv_header_openbabel_obconversion_h" >&6; } |
| 8776 |
|
|
| 8777 |
|
fi |
| 8778 |
< |
if test $ac_cv_header_openbabel_2_0_openbabel_obconversion_h = yes; then |
| 8778 |
> |
if test $ac_cv_header_openbabel_obconversion_h = yes; then |
| 8779 |
|
openbabel_cv_obconversion_h=yes |
| 8780 |
|
else |
| 8781 |
|
openbabel_cv_obconversion_h=no |