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

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

version 1.1, 2003/09/03 07:11:20 version 1.3, 2004/12/06 14:25:47
Line 1906  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext 
Line 1906  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext 
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_c_compiler_gnu  ac_compiler_gnu=$ac_cv_c_compiler_gnu
   
   ac_aux_dir=
   for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
     if test -f $ac_dir/install-sh; then
       ac_aux_dir=$ac_dir
       ac_install_sh="$ac_aux_dir/install-sh -c"
       break
     elif test -f $ac_dir/install.sh; then
       ac_aux_dir=$ac_dir
       ac_install_sh="$ac_aux_dir/install.sh -c"
       break
     elif test -f $ac_dir/shtool; then
       ac_aux_dir=$ac_dir
       ac_install_sh="$ac_aux_dir/shtool install -c"
       break
     fi
   done
   if test -z "$ac_aux_dir"; then
     { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
   echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
      { (exit 1); exit 1; }; }
   fi
   ac_config_guess="$SHELL $ac_aux_dir/config.guess"
   ac_config_sub="$SHELL $ac_aux_dir/config.sub"
   ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
   
   # Find a good install program.  We prefer a C program (faster),
   # so one script is as good as another.  But avoid the broken or
   # incompatible versions:
   # SysV /etc/install, /usr/sbin/install
   # SunOS /usr/etc/install
   # IRIX /sbin/install
   # AIX /bin/install
   # AmigaOS /C/install, which installs bootblocks on floppy discs
   # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   # ./install, which can be erroneously created by make from ./install.sh.
   echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
   echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
   if test -z "$INSTALL"; then
   if test "${ac_cv_path_install+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   for as_dir in $PATH
   do
     IFS=$as_save_IFS
     test -z "$as_dir" && as_dir=.
     # Account for people who put trailing slashes in PATH elements.
   case $as_dir/ in
     ./ | .// | /cC/* | \
     /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
     /usr/ucb/* ) ;;
     *)
       # OSF1 and SCO ODT 3.0 have their own names for install.
       # Don't use installbsd from OSF since it installs stuff as root
       # by default.
       for ac_prog in ginstall scoinst install; do
         for ac_exec_ext in '' $ac_executable_extensions; do
           if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
             if test $ac_prog = install &&
               grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
               # AIX install.  It has an incompatible calling convention.
               :
             elif test $ac_prog = install &&
               grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
               # program-specific install script used by HP pwplus--don't use.
               :
             else
               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
               break 3
             fi
           fi
         done
       done
       ;;
   esac
   done
   
   
   fi
     if test "${ac_cv_path_install+set}" = set; then
       INSTALL=$ac_cv_path_install
     else
       # As a last resort, use the slow shell script.  We don't cache a
       # path for INSTALL within a source directory, because that will
       # break other packages using the cache if that directory is
       # removed, or if the path is relative.
       INSTALL=$ac_install_sh
     fi
   fi
   echo "$as_me:$LINENO: result: $INSTALL" >&5
   echo "${ECHO_T}$INSTALL" >&6
   
   # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   # It thinks the first close brace ends the variable substitution.
   test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   
   test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   
   test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   
   
 ac_ext=c  ac_ext=c
 ac_cpp='$CPP $CPPFLAGS'  ac_cpp='$CPP $CPPFLAGS'
 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
Line 3544  _ACEOF
Line 3646  _ACEOF
 fi  fi
   
 fi  fi
   echo "$as_me:$LINENO: checking for dlopen" >&5
   echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
   if test "${ac_cv_func_dlopen+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     cat >conftest.$ac_ext <<_ACEOF
   #line $LINENO "configure"
   #include "confdefs.h"
   /* System header to define __stub macros and hopefully few prototypes,
       which can conflict with char dlopen (); below.  */
   #include <assert.h>
   /* Override any gcc2 internal prototype to avoid an error.  */
   #ifdef __cplusplus
   extern "C"
   #endif
   /* We use char because int might match the return type of a gcc2
      builtin and then its argument prototype would still apply.  */
   char dlopen ();
   char (*f) ();
   
   #ifdef F77_DUMMY_MAIN
   #  ifdef __cplusplus
        extern "C"
   #  endif
      int F77_DUMMY_MAIN() { return 1; }
   #endif
   int
   main ()
   {
   /* The GNU C library defines this for functions which it implements
       to always fail with ENOSYS.  Some functions are actually named
       something starting with __ and the normal name is an alias.  */
   #if defined (__stub_dlopen) || defined (__stub___dlopen)
   choke me
   #else
   f = dlopen;
   #endif
   
     ;
     return 0;
   }
   _ACEOF
   rm -f conftest.$ac_objext 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='test -s 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_func_dlopen=yes
   else
     echo "$as_me: failed program was:" >&5
   cat conftest.$ac_ext >&5
   ac_cv_func_dlopen=no
   fi
   rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
   fi
   echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
   echo "${ECHO_T}$ac_cv_func_dlopen" >&6
   
   if test "$ac_cv_func_dlopen" = no ; then
   
   echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
   if test "${ac_cv_lib_dl_dlopen+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     ac_check_lib_save_LIBS=$LIBS
   LIBS="-ldl  $LIBS"
   cat >conftest.$ac_ext <<_ACEOF
   #line $LINENO "configure"
   #include "confdefs.h"
   
   /* Override any gcc2 internal prototype to avoid an error.  */
   #ifdef __cplusplus
   extern "C"
   #endif
   /* We use char because int might match the return type of a gcc2
      builtin and then its argument prototype would still apply.  */
   char dlopen ();
   #ifdef F77_DUMMY_MAIN
   #  ifdef __cplusplus
        extern "C"
   #  endif
      int F77_DUMMY_MAIN() { return 1; }
   #endif
   int
   main ()
   {
   dlopen ();
     ;
     return 0;
   }
   _ACEOF
   rm -f conftest.$ac_objext 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='test -s 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_lib_dl_dlopen=yes
   else
     echo "$as_me: failed program was:" >&5
   cat conftest.$ac_ext >&5
   ac_cv_lib_dl_dlopen=no
   fi
   rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
   LIBS=$ac_check_lib_save_LIBS
   fi
   echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
   if test $ac_cv_lib_dl_dlopen = yes; then
     cat >>confdefs.h <<_ACEOF
   #define HAVE_LIBDL 1
   _ACEOF
   
     LIBS="-ldl $LIBS"
   
   fi
   
   fi
   
 ac_config_files="$ac_config_files Makefile"  ac_config_files="$ac_config_files Makefile"
 cat >confcache <<\_ACEOF  cat >confcache <<\_ACEOF
 # This file is a shell script that caches the results of configure  # This file is a shell script that caches the results of configure
Line 3965  Free Software Foundation, Inc.
Line 4199  Free Software Foundation, Inc.
 This config.status script is free software; the Free Software Foundation  This config.status script is free software; the Free Software Foundation
 gives unlimited permission to copy, distribute and modify it."  gives unlimited permission to copy, distribute and modify it."
 srcdir=$srcdir  srcdir=$srcdir
   INSTALL="$INSTALL"
 _ACEOF  _ACEOF
   
 cat >>$CONFIG_STATUS <<\_ACEOF  cat >>$CONFIG_STATUS <<\_ACEOF
Line 4130  s,@CPPFLAGS@,$CPPFLAGS,;t t
Line 4365  s,@CPPFLAGS@,$CPPFLAGS,;t t
 s,@ac_ct_CC@,$ac_ct_CC,;t t  s,@ac_ct_CC@,$ac_ct_CC,;t t
 s,@EXEEXT@,$EXEEXT,;t t  s,@EXEEXT@,$EXEEXT,;t t
 s,@OBJEXT@,$OBJEXT,;t t  s,@OBJEXT@,$OBJEXT,;t t
   s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
   s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
   s,@INSTALL_DATA@,$INSTALL_DATA,;t t
 s,@CPP@,$CPP,;t t  s,@CPP@,$CPP,;t t
 s,@X_CFLAGS@,$X_CFLAGS,;t t  s,@X_CFLAGS@,$X_CFLAGS,;t t
 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t  s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
Line 4258  ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
Line 4496  ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`  ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
   
   
     case $INSTALL in
     [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
     *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
     esac
   
   if test x"$ac_file" != x-; then    if test x"$ac_file" != x-; then
     { echo "$as_me:$LINENO: creating $ac_file" >&5      { echo "$as_me:$LINENO: creating $ac_file" >&5
Line 4319  s,@builddir@,$ac_builddir,;t t
Line 4561  s,@builddir@,$ac_builddir,;t t
 s,@abs_builddir@,$ac_abs_builddir,;t t  s,@abs_builddir@,$ac_abs_builddir,;t t
 s,@top_builddir@,$ac_top_builddir,;t t  s,@top_builddir@,$ac_top_builddir,;t t
 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t  s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
   s,@INSTALL@,$ac_INSTALL,;t t
 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out  " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
   rm -f $tmp/stdin    rm -f $tmp/stdin
   if test x"$ac_file" != x-; then    if test x"$ac_file" != x-; then

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

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