[BACK]Return to configure CVS log [TXT][DIR] Up to [local] / OpenXM / src / ox_ntl

Diff for /OpenXM/src/ox_ntl/configure between version 1.1 and 1.3

version 1.1, 2003/11/27 14:24:32 version 1.3, 2004/07/15 14:51:42
Line 1 
Line 1 
 #! /bin/sh  #! /bin/sh
   # From configure.in OpenXM: OpenXM/src/ox_ntl/configure.in.
 # Guess values for system-dependent variables and create Makefiles.  # Guess values for system-dependent variables and create Makefiles.
 # Generated by GNU Autoconf 2.53.  # Generated by GNU Autoconf 2.53.
 #  #
Line 1162  ac_config_headers="$ac_config_headers config.h"
Line 1163  ac_config_headers="$ac_config_headers config.h"
   
   
   
   
   
 echo "$as_me:$LINENO: checking if --enable-debug option secified" >&5  echo "$as_me:$LINENO: checking if --enable-debug option secified" >&5
 echo $ECHO_N "checking if --enable-debug option secified... $ECHO_C" >&6  echo $ECHO_N "checking if --enable-debug option secified... $ECHO_C" >&6
 # Check whether --enable-debug or --disable-debug was given.  # Check whether --enable-debug or --disable-debug was given.
Line 2817  cat >>confdefs.h <<\_ACEOF
Line 2820  cat >>confdefs.h <<\_ACEOF
 _ACEOF  _ACEOF
   
 fi  fi
   
   echo "$as_me:$LINENO: checking for inline" >&5
   echo $ECHO_N "checking for inline... $ECHO_C" >&6
   if test "${ac_cv_c_inline+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     ac_cv_c_inline=no
   for ac_kw in inline __inline__ __inline; do
     cat >conftest.$ac_ext <<_ACEOF
   #line $LINENO "configure"
   #include "confdefs.h"
   #ifndef __cplusplus
   static $ac_kw int static_foo () {return 0; }
   $ac_kw int foo () {return 0; }
   #endif
   
   _ACEOF
   rm -f conftest.$ac_objext
   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     (eval $ac_compile) 2>&5
     ac_status=$?
     echo "$as_me:$LINENO: \$? = $ac_status" >&5
     (exit $ac_status); } &&
            { ac_try='test -s conftest.$ac_objext'
     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
     echo "$as_me:$LINENO: \$? = $ac_status" >&5
     (exit $ac_status); }; }; then
     ac_cv_c_inline=$ac_kw; break
   else
     echo "$as_me: failed program was:" >&5
   cat conftest.$ac_ext >&5
   fi
   rm -f conftest.$ac_objext conftest.$ac_ext
   done
   
   fi
   echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
   echo "${ECHO_T}$ac_cv_c_inline" >&6
   case $ac_cv_c_inline in
     inline | yes) ;;
     no)
   cat >>confdefs.h <<\_ACEOF
   #define inline
   _ACEOF
    ;;
     *)  cat >>confdefs.h <<_ACEOF
   #define inline $ac_cv_c_inline
   _ACEOF
    ;;
   esac
   
   echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
   echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
   if test "${ac_cv_c_bigendian+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     # See if sys/param.h defines the BYTE_ORDER macro.
   cat >conftest.$ac_ext <<_ACEOF
   #line $LINENO "configure"
   #include "confdefs.h"
   #include <sys/types.h>
   #include <sys/param.h>
   
   #ifdef F77_DUMMY_MAIN
   #  ifdef __cplusplus
        extern "C"
   #  endif
      int F77_DUMMY_MAIN() { return 1; }
   #endif
   int
   main ()
   {
   #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
    bogus endian macros
   #endif
   
     ;
     return 0;
   }
   _ACEOF
   rm -f conftest.$ac_objext
   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     (eval $ac_compile) 2>&5
     ac_status=$?
     echo "$as_me:$LINENO: \$? = $ac_status" >&5
     (exit $ac_status); } &&
            { ac_try='test -s conftest.$ac_objext'
     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
     echo "$as_me:$LINENO: \$? = $ac_status" >&5
     (exit $ac_status); }; }; then
     # It does; now see whether it defined to BIG_ENDIAN or not.
   cat >conftest.$ac_ext <<_ACEOF
   #line $LINENO "configure"
   #include "confdefs.h"
   #include <sys/types.h>
   #include <sys/param.h>
   
   #ifdef F77_DUMMY_MAIN
   #  ifdef __cplusplus
        extern "C"
   #  endif
      int F77_DUMMY_MAIN() { return 1; }
   #endif
   int
   main ()
   {
   #if BYTE_ORDER != BIG_ENDIAN
    not big endian
   #endif
   
     ;
     return 0;
   }
   _ACEOF
   rm -f conftest.$ac_objext
   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     (eval $ac_compile) 2>&5
     ac_status=$?
     echo "$as_me:$LINENO: \$? = $ac_status" >&5
     (exit $ac_status); } &&
            { ac_try='test -s conftest.$ac_objext'
     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
     echo "$as_me:$LINENO: \$? = $ac_status" >&5
     (exit $ac_status); }; }; then
     ac_cv_c_bigendian=yes
   else
     echo "$as_me: failed program was:" >&5
   cat conftest.$ac_ext >&5
   ac_cv_c_bigendian=no
   fi
   rm -f conftest.$ac_objext conftest.$ac_ext
   else
     echo "$as_me: failed program was:" >&5
   cat conftest.$ac_ext >&5
   # It does not; compile a test program.
   if test "$cross_compiling" = yes; then
     # try to guess the endianess by grep'ing values into an object file
     ac_cv_c_bigendian=unknown
     cat >conftest.$ac_ext <<_ACEOF
   #line $LINENO "configure"
   #include "confdefs.h"
   short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
   short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
   void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
   short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
   short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
   void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
   #ifdef F77_DUMMY_MAIN
   #  ifdef __cplusplus
        extern "C"
   #  endif
      int F77_DUMMY_MAIN() { return 1; }
   #endif
   int
   main ()
   {
    _ascii (); _ebcdic ();
     ;
     return 0;
   }
   _ACEOF
   rm -f conftest.$ac_objext
   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     (eval $ac_compile) 2>&5
     ac_status=$?
     echo "$as_me:$LINENO: \$? = $ac_status" >&5
     (exit $ac_status); } &&
            { ac_try='test -s conftest.$ac_objext'
     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
     echo "$as_me:$LINENO: \$? = $ac_status" >&5
     (exit $ac_status); }; }; then
     if fgrep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
     ac_cv_c_bigendian=yes
   fi
   if fgrep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
     if test "$ac_cv_c_bigendian" = unknown; then
       ac_cv_c_bigendian=no
     else
       # finding both strings is unlikely to happen, but who knows?
       ac_cv_c_bigendian=unknown
     fi
   fi
   else
     echo "$as_me: failed program was:" >&5
   cat conftest.$ac_ext >&5
   fi
   rm -f conftest.$ac_objext conftest.$ac_ext
   else
     cat >conftest.$ac_ext <<_ACEOF
   #line $LINENO "configure"
   #include "confdefs.h"
   int
   main ()
   {
     /* Are we little or big endian?  From Harbison&Steele.  */
     union
     {
       long l;
       char c[sizeof (long)];
     } u;
     u.l = 1;
     exit (u.c[sizeof (long) - 1] == 1);
   }
   _ACEOF
   rm -f conftest$ac_exeext
   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     (eval $ac_link) 2>&5
     ac_status=$?
     echo "$as_me:$LINENO: \$? = $ac_status" >&5
     (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
     echo "$as_me:$LINENO: \$? = $ac_status" >&5
     (exit $ac_status); }; }; then
     ac_cv_c_bigendian=no
   else
     echo "$as_me: program exited with status $ac_status" >&5
   echo "$as_me: failed program was:" >&5
   cat conftest.$ac_ext >&5
   ( exit $ac_status )
   ac_cv_c_bigendian=yes
   fi
   rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   fi
   fi
   rm -f conftest.$ac_objext conftest.$ac_ext
   fi
   echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
   echo "${ECHO_T}$ac_cv_c_bigendian" >&6
   case $ac_cv_c_bigendian in
     yes)
   
   cat >>confdefs.h <<\_ACEOF
   #define WORDS_BIGENDIAN 1
   _ACEOF
    ;;
     no)
        ;;
     *)
       { { echo "$as_me:$LINENO: error: unknown endianess
   presetting ac_cv_c_bigendian=no (or yes) will help" >&5
   echo "$as_me: error: unknown endianess
   presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
      { (exit 1); exit 1; }; } ;;
   esac
   
   
   

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.3

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>