4840 |
|
|
4841 |
fi |
fi |
4842 |
|
|
4843 |
|
echo "$as_me:$LINENO: checking for obstacks" >&5 |
4844 |
|
echo $ECHO_N "checking for obstacks... $ECHO_C" >&6 |
4845 |
|
if test "${ac_cv_func_obstack+set}" = set; then |
4846 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4847 |
|
else |
4848 |
|
cat >conftest.$ac_ext <<_ACEOF |
4849 |
|
#line $LINENO "configure" |
4850 |
|
#include "confdefs.h" |
4851 |
|
#include "obstack.h" |
4852 |
|
#ifdef F77_DUMMY_MAIN |
4853 |
|
# ifdef __cplusplus |
4854 |
|
extern "C" |
4855 |
|
# endif |
4856 |
|
int F77_DUMMY_MAIN() { return 1; } |
4857 |
|
#endif |
4858 |
|
int |
4859 |
|
main () |
4860 |
|
{ |
4861 |
|
struct obstack *mem; obstack_free(mem,(char *) 0) |
4862 |
|
; |
4863 |
|
return 0; |
4864 |
|
} |
4865 |
|
_ACEOF |
4866 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
4867 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
4868 |
|
(eval $ac_link) 2>&5 |
4869 |
|
ac_status=$? |
4870 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4871 |
|
(exit $ac_status); } && |
4872 |
|
{ ac_try='test -s conftest$ac_exeext' |
4873 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4874 |
|
(eval $ac_try) 2>&5 |
4875 |
|
ac_status=$? |
4876 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4877 |
|
(exit $ac_status); }; }; then |
4878 |
|
ac_cv_func_obstack=yes |
4879 |
|
else |
4880 |
|
echo "$as_me: failed program was:" >&5 |
4881 |
|
cat conftest.$ac_ext >&5 |
4882 |
|
ac_cv_func_obstack=no |
4883 |
|
fi |
4884 |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
4885 |
|
fi |
4886 |
|
echo "$as_me:$LINENO: result: $ac_cv_func_obstack" >&5 |
4887 |
|
echo "${ECHO_T}$ac_cv_func_obstack" >&6 |
4888 |
|
if test $ac_cv_func_obstack = yes; then |
4889 |
|
|
4890 |
|
cat >>confdefs.h <<\_ACEOF |
4891 |
|
#define HAVE_OBSTACK 1 |
4892 |
|
_ACEOF |
4893 |
|
|
4894 |
|
else |
4895 |
|
LIBOBJS="$LIBOBJS obstack.$ac_objext" |
4896 |
|
fi |
4897 |
|
|
4898 |
|
echo "$as_me:$LINENO: checking for error_at_line" >&5 |
4899 |
|
echo $ECHO_N "checking for error_at_line... $ECHO_C" >&6 |
4900 |
|
if test "${ac_cv_lib_error_at_line+set}" = set; then |
4901 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4902 |
|
else |
4903 |
|
cat >conftest.$ac_ext <<_ACEOF |
4904 |
|
#line $LINENO "configure" |
4905 |
|
#include "confdefs.h" |
4906 |
|
|
4907 |
|
#ifdef F77_DUMMY_MAIN |
4908 |
|
# ifdef __cplusplus |
4909 |
|
extern "C" |
4910 |
|
# endif |
4911 |
|
int F77_DUMMY_MAIN() { return 1; } |
4912 |
|
#endif |
4913 |
|
int |
4914 |
|
main () |
4915 |
|
{ |
4916 |
|
error_at_line (0, 0, "", 0, ""); |
4917 |
|
; |
4918 |
|
return 0; |
4919 |
|
} |
4920 |
|
_ACEOF |
4921 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
4922 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
4923 |
|
(eval $ac_link) 2>&5 |
4924 |
|
ac_status=$? |
4925 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4926 |
|
(exit $ac_status); } && |
4927 |
|
{ ac_try='test -s conftest$ac_exeext' |
4928 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4929 |
|
(eval $ac_try) 2>&5 |
4930 |
|
ac_status=$? |
4931 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4932 |
|
(exit $ac_status); }; }; then |
4933 |
|
ac_cv_lib_error_at_line=yes |
4934 |
|
else |
4935 |
|
echo "$as_me: failed program was:" >&5 |
4936 |
|
cat conftest.$ac_ext >&5 |
4937 |
|
ac_cv_lib_error_at_line=no |
4938 |
|
fi |
4939 |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
4940 |
|
fi |
4941 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_error_at_line" >&5 |
4942 |
|
echo "${ECHO_T}$ac_cv_lib_error_at_line" >&6 |
4943 |
|
if test $ac_cv_lib_error_at_line = no; then |
4944 |
|
LIBOBJS="$LIBOBJS error.$ac_objext" |
4945 |
|
fi |
4946 |
|
|
4947 |
|
|
4948 |
|
|
4949 |
for ac_func in mkstemp setlocale |
for ac_func in mkstemp setlocale |