=================================================================== RCS file: /home/cvs/OpenXM_contrib2/asir2000/configure.in,v retrieving revision 1.5 retrieving revision 1.7 diff -u -p -r1.5 -r1.7 --- OpenXM_contrib2/asir2000/configure.in 2003/03/07 05:40:16 1.5 +++ OpenXM_contrib2/asir2000/configure.in 2003/03/09 14:12:03 1.7 @@ -1,4 +1,4 @@ -dnl $OpenXM: OpenXM_contrib2/asir2000/configure.in,v 1.4 2003/03/07 05:19:53 noro Exp $ +dnl $OpenXM: OpenXM_contrib2/asir2000/configure.in,v 1.6 2003/03/07 08:49:12 ohara Exp $ AC_INIT([LICENSE]) AC_PREREQ(2.53) @@ -25,7 +25,13 @@ if test "${enable_shared:=no}" != no ; then true fi -CFLAGS="-g -O" +if test "${ac_test_CFLAGS}" != set -a "${GCC}" = yes ; then + if test "${ac_cv_prog_cc_g}" = yes; then + CFLAGS="-g -O" + else + CFLAGS="-O" + fi +fi libasir_postfix="" AC_ARG_WITH([pari], @@ -50,6 +56,7 @@ fi AC_SUBST([PARIINC]) AC_SUBST([PARILIB]) +AC_CHECK_TYPES([unsigned long long]) AC_CHECK_SIZEOF(long) if test SIZEOF_LONG = 8; then AC_DEFINE([LONG_IS_64BIT])