ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/hopm/trunk/configure
(Generate patch)

Comparing hopm/trunk/configure (file contents):
Revision 5214 by michael, Mon Dec 29 20:17:02 2014 UTC vs.
Revision 5264 by michael, Thu Jan 1 18:15:57 2015 UTC

# Line 630 | Line 630 | ac_includes_default="\
630   # include <unistd.h>
631   #endif"
632  
633 enable_option_checking=no
633   ac_subst_vars='am__EXEEXT_FALSE
634   am__EXEEXT_TRUE
635   LTLIBOBJS
636   LIBOBJS
638 subdirs
637   LEXLIB
638   LEX_OUTPUT_ROOT
639   LEX
# Line 782 | Line 780 | CPPFLAGS
780   CPP
781   YACC
782   YFLAGS'
783 < ac_subdirs_all='src/libopm'
783 >
784  
785   # Initialize some variables set by options.
786   ac_init_help=
# Line 12076 | Line 12074 | CC=$lt_save_CC
12074  
12075  
12076  
12077 < for ac_header in sys/poll.h
12080 < do :
12081 <  ac_fn_c_check_header_mongrel "$LINENO" "sys/poll.h" "ac_cv_header_sys_poll_h" "$ac_includes_default"
12082 < if test "x$ac_cv_header_sys_poll_h" = xyes; then :
12083 <  cat >>confdefs.h <<_ACEOF
12084 < #define HAVE_SYS_POLL_H 1
12085 < _ACEOF
12086 < have_poll_sys_h=yes
12087 < else
12088 <  have_sys_poll_h=no
12089 < fi
12090 <
12091 < done
12092 <
12093 <
12094 < for ac_header in fcntl.h sys/time.h unistd.h
12077 > for ac_header in sys/time.h
12078   do :
12079 <  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12080 < ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12098 < if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12079 >  ac_fn_c_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
12080 > if test "x$ac_cv_header_sys_time_h" = xyes; then :
12081    cat >>confdefs.h <<_ACEOF
12082 < #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12082 > #define HAVE_SYS_TIME_H 1
12083   _ACEOF
12084  
12085   fi
# Line 12140 | Line 12122 | $as_echo "#define TIME_WITH_SYS_TIME 1"
12122  
12123   fi
12124  
12143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
12144 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
12145 if ${ac_cv_struct_tm+:} false; then :
12146  $as_echo_n "(cached) " >&6
12147 else
12148  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12149 /* end confdefs.h.  */
12150 #include <sys/types.h>
12151 #include <time.h>
12152
12153 int
12154 main ()
12155 {
12156 struct tm tm;
12157                                     int *p = &tm.tm_sec;
12158                                     return !p;
12159  ;
12160  return 0;
12161 }
12162 _ACEOF
12163 if ac_fn_c_try_compile "$LINENO"; then :
12164  ac_cv_struct_tm=time.h
12165 else
12166  ac_cv_struct_tm=sys/time.h
12167 fi
12168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12169 fi
12170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
12171 $as_echo "$ac_cv_struct_tm" >&6; }
12172 if test $ac_cv_struct_tm = sys/time.h; then
12173
12174 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
12175
12176 fi
12177
12125  
12126  
12127   for ac_prog in 'bison -y' byacc
# Line 12567 | Line 12514 | fi
12514   fi
12515  
12516  
12517 < for ac_func in strlcpy strlcat socket
12517 > for ac_func in strlcpy strlcat
12518   do :
12519    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12520   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
# Line 12805 | Line 12752 | $as_echo "#define AC_APPLE_UNIVERSAL_BUI
12752   esac
12753  
12754  
12755 <
12809 <
12810 <
12811 < subdirs="$subdirs src/libopm"
12812 <
12813 <
12814 < ac_config_files="$ac_config_files Makefile doc/Makefile src/Makefile"
12755 > ac_config_files="$ac_config_files Makefile doc/Makefile src/Makefile src/libopm/Makefile src/libopm/src/Makefile"
12756  
12757   cat >confcache <<\_ACEOF
12758   # This file is a shell script that caches the results of configure
# Line 13830 | Line 13771 | do
13771      "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13772      "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
13773      "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
13774 +    "src/libopm/Makefile") CONFIG_FILES="$CONFIG_FILES src/libopm/Makefile" ;;
13775 +    "src/libopm/src/Makefile") CONFIG_FILES="$CONFIG_FILES src/libopm/src/Makefile" ;;
13776  
13777    *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13778    esac
# Line 15029 | Line 14972 | if test "$no_create" != yes; then
14972    # would make configure fail if this is the last instruction.
14973    $ac_cs_success || as_fn_exit 1
14974   fi
15032
15033 #
15034 # CONFIG_SUBDIRS section.
15035 #
15036 if test "$no_recursion" != yes; then
15037
15038  # Remove --cache-file, --srcdir, and --disable-option-checking arguments
15039  # so they do not pile up.
15040  ac_sub_configure_args=
15041  ac_prev=
15042  eval "set x $ac_configure_args"
15043  shift
15044  for ac_arg
15045  do
15046    if test -n "$ac_prev"; then
15047      ac_prev=
15048      continue
15049    fi
15050    case $ac_arg in
15051    -cache-file | --cache-file | --cache-fil | --cache-fi \
15052    | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
15053      ac_prev=cache_file ;;
15054    -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
15055    | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
15056    | --c=*)
15057      ;;
15058    --config-cache | -C)
15059      ;;
15060    -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
15061      ac_prev=srcdir ;;
15062    -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
15063      ;;
15064    -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
15065      ac_prev=prefix ;;
15066    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
15067      ;;
15068    --disable-option-checking)
15069      ;;
15070    *)
15071      case $ac_arg in
15072      *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
15073      esac
15074      as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
15075    esac
15076  done
15077
15078  # Always prepend --prefix to ensure using the same prefix
15079  # in subdir configurations.
15080  ac_arg="--prefix=$prefix"
15081  case $ac_arg in
15082  *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
15083  esac
15084  ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
15085
15086  # Pass --silent
15087  if test "$silent" = yes; then
15088    ac_sub_configure_args="--silent $ac_sub_configure_args"
15089  fi
15090
15091  # Always prepend --disable-option-checking to silence warnings, since
15092  # different subdirs can have different --enable and --with options.
15093  ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
15094
15095  ac_popdir=`pwd`
15096  for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
15097
15098    # Do not complain, so a configure script can configure whichever
15099    # parts of a large source tree are present.
15100    test -d "$srcdir/$ac_dir" || continue
15101
15102    ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
15103    $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
15104    $as_echo "$ac_msg" >&6
15105    as_dir="$ac_dir"; as_fn_mkdir_p
15106    ac_builddir=.
15107
15108 case "$ac_dir" in
15109 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15110 *)
15111  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15112  # A ".." for each directory in $ac_dir_suffix.
15113  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15114  case $ac_top_builddir_sub in
15115  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15116  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15117  esac ;;
15118 esac
15119 ac_abs_top_builddir=$ac_pwd
15120 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15121 # for backward compatibility:
15122 ac_top_builddir=$ac_top_build_prefix
15123
15124 case $srcdir in
15125  .)  # We are building in place.
15126    ac_srcdir=.
15127    ac_top_srcdir=$ac_top_builddir_sub
15128    ac_abs_top_srcdir=$ac_pwd ;;
15129  [\\/]* | ?:[\\/]* )  # Absolute name.
15130    ac_srcdir=$srcdir$ac_dir_suffix;
15131    ac_top_srcdir=$srcdir
15132    ac_abs_top_srcdir=$srcdir ;;
15133  *) # Relative name.
15134    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15135    ac_top_srcdir=$ac_top_build_prefix$srcdir
15136    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15137 esac
15138 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15139
15140
15141    cd "$ac_dir"
15142
15143    # Check for guested configure; otherwise get Cygnus style configure.
15144    if test -f "$ac_srcdir/configure.gnu"; then
15145      ac_sub_configure=$ac_srcdir/configure.gnu
15146    elif test -f "$ac_srcdir/configure"; then
15147      ac_sub_configure=$ac_srcdir/configure
15148    elif test -f "$ac_srcdir/configure.in"; then
15149      # This should be Cygnus configure.
15150      ac_sub_configure=$ac_aux_dir/configure
15151    else
15152      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
15153 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
15154      ac_sub_configure=
15155    fi
15156
15157    # The recursion is here.
15158    if test -n "$ac_sub_configure"; then
15159      # Make the cache file name correct relative to the subdirectory.
15160      case $cache_file in
15161      [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
15162      *) # Relative name.
15163        ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
15164      esac
15165
15166      { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
15167 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
15168      # The eval makes quoting arguments work.
15169      eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
15170           --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
15171        as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
15172    fi
15173
15174    cd "$ac_popdir"
15175  done
15176 fi
14975   if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
14976    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
14977   $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)