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 5160 by michael, Fri Dec 26 17:23:48 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 761 | Line 759 | ac_user_opts='
759   enable_option_checking
760   enable_silent_rules
761   enable_maintainer_mode
764 with_extra_fascism
762   enable_dependency_tracking
763   enable_shared
764   enable_static
# Line 783 | 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 1419 | Line 1416 | Optional Features:
1416   Optional Packages:
1417    --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1418    --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1422  --with-extra-fascism    Add extra gcc3-specific warning flags
1419    --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1420                            both]
1421    --with-aix-soname=aix|svr4|both
# Line 2859 | Line 2855 | fi
2855  
2856  
2857  
2862
2863 # Check whether --with-extra-fascism was given.
2864 if test "${with_extra_fascism+set}" = set; then :
2865  withval=$with_extra_fascism; CFLAGS="$CFLAGS -g -O0 -W -Wall -Wfloat-equal -Wbad-function-cast -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs"
2866 fi
2867
2868
2869
2870
2871
2858   DEPDIR="${am__leading_dot}deps"
2859  
2860   ac_config_commands="$ac_config_commands depfiles"
# Line 12088 | Line 12074 | CC=$lt_save_CC
12074  
12075  
12076  
12077 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
12092 < $as_echo_n "checking for ANSI C header files... " >&6; }
12093 < if ${ac_cv_header_stdc+:} false; then :
12094 <  $as_echo_n "(cached) " >&6
12095 < else
12096 <  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12097 < /* end confdefs.h.  */
12098 < #include <stdlib.h>
12099 < #include <stdarg.h>
12100 < #include <string.h>
12101 < #include <float.h>
12102 <
12103 < int
12104 < main ()
12105 < {
12106 <
12107 <  ;
12108 <  return 0;
12109 < }
12110 < _ACEOF
12111 < if ac_fn_c_try_compile "$LINENO"; then :
12112 <  ac_cv_header_stdc=yes
12113 < else
12114 <  ac_cv_header_stdc=no
12115 < fi
12116 < rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12117 <
12118 < if test $ac_cv_header_stdc = yes; then
12119 <  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12120 <  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12121 < /* end confdefs.h.  */
12122 < #include <string.h>
12123 <
12124 < _ACEOF
12125 < if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12126 <  $EGREP "memchr" >/dev/null 2>&1; then :
12127 <
12128 < else
12129 <  ac_cv_header_stdc=no
12130 < fi
12131 < rm -f conftest*
12132 <
12133 < fi
12134 <
12135 < if test $ac_cv_header_stdc = yes; then
12136 <  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12137 <  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12138 < /* end confdefs.h.  */
12139 < #include <stdlib.h>
12140 <
12141 < _ACEOF
12142 < if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12143 <  $EGREP "free" >/dev/null 2>&1; then :
12144 <
12145 < else
12146 <  ac_cv_header_stdc=no
12147 < fi
12148 < rm -f conftest*
12149 <
12150 < fi
12151 <
12152 < if test $ac_cv_header_stdc = yes; then
12153 <  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12154 <  if test "$cross_compiling" = yes; then :
12155 <  :
12156 < else
12157 <  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12158 < /* end confdefs.h.  */
12159 < #include <ctype.h>
12160 < #include <stdlib.h>
12161 < #if ((' ' & 0x0FF) == 0x020)
12162 < # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12163 < # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12164 < #else
12165 < # define ISLOWER(c) \
12166 <                   (('a' <= (c) && (c) <= 'i') \
12167 <                     || ('j' <= (c) && (c) <= 'r') \
12168 <                     || ('s' <= (c) && (c) <= 'z'))
12169 < # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12170 < #endif
12171 <
12172 < #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12173 < int
12174 < main ()
12175 < {
12176 <  int i;
12177 <  for (i = 0; i < 256; i++)
12178 <    if (XOR (islower (i), ISLOWER (i))
12179 <        || toupper (i) != TOUPPER (i))
12180 <      return 2;
12181 <  return 0;
12182 < }
12183 < _ACEOF
12184 < if ac_fn_c_try_run "$LINENO"; then :
12185 <
12186 < else
12187 <  ac_cv_header_stdc=no
12188 < fi
12189 < rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12190 <  conftest.$ac_objext conftest.beam conftest.$ac_ext
12191 < fi
12192 <
12193 < fi
12194 < fi
12195 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
12196 < $as_echo "$ac_cv_header_stdc" >&6; }
12197 < if test $ac_cv_header_stdc = yes; then
12198 <
12199 < $as_echo "#define STDC_HEADERS 1" >>confdefs.h
12200 <
12201 < fi
12202 <
12203 <
12204 < for ac_header in sys/poll.h
12205 < do :
12206 <  ac_fn_c_check_header_mongrel "$LINENO" "sys/poll.h" "ac_cv_header_sys_poll_h" "$ac_includes_default"
12207 < if test "x$ac_cv_header_sys_poll_h" = xyes; then :
12208 <  cat >>confdefs.h <<_ACEOF
12209 < #define HAVE_SYS_POLL_H 1
12210 < _ACEOF
12211 < have_poll_sys_h=yes
12212 < else
12213 <  have_sys_poll_h=no
12214 < fi
12215 <
12216 < done
12217 <
12218 <
12219 < for ac_header in fcntl.h sys/time.h unistd.h strings.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"
12223 < 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 12265 | Line 12122 | $as_echo "#define TIME_WITH_SYS_TIME 1"
12122  
12123   fi
12124  
12268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
12269 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
12270 if ${ac_cv_struct_tm+:} false; then :
12271  $as_echo_n "(cached) " >&6
12272 else
12273  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12274 /* end confdefs.h.  */
12275 #include <sys/types.h>
12276 #include <time.h>
12277
12278 int
12279 main ()
12280 {
12281 struct tm tm;
12282                                     int *p = &tm.tm_sec;
12283                                     return !p;
12284  ;
12285  return 0;
12286 }
12287 _ACEOF
12288 if ac_fn_c_try_compile "$LINENO"; then :
12289  ac_cv_struct_tm=time.h
12290 else
12291  ac_cv_struct_tm=sys/time.h
12292 fi
12293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12294 fi
12295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
12296 $as_echo "$ac_cv_struct_tm" >&6; }
12297 if test $ac_cv_struct_tm = sys/time.h; then
12298
12299 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
12300
12301 fi
12302
12125  
12126  
12127   for ac_prog in 'bison -y' byacc
# Line 12692 | Line 12514 | fi
12514   fi
12515  
12516  
12517 < for ac_func in strlcpy strlcat inet_aton inet_pton socket strdup strstr
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 12705 | Line 12527 | fi
12527   done
12528  
12529  
12708 for ac_func in gethostbyname
12709 do :
12710  ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
12711 if test "x$ac_cv_func_gethostbyname" = xyes; then :
12712  cat >>confdefs.h <<_ACEOF
12713 #define HAVE_GETHOSTBYNAME 1
12714 _ACEOF
12715
12716 fi
12717 done
12718
12719
12530   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
12531   $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
12532   if ${ac_cv_c_bigendian+:} false; then :
# Line 12942 | Line 12752 | $as_echo "#define AC_APPLE_UNIVERSAL_BUI
12752   esac
12753  
12754  
12755 <
12946 <
12947 <
12948 < subdirs="$subdirs src/libopm"
12949 <
12950 <
12951 < 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 13967 | 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 15166 | 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
15169
15170 #
15171 # CONFIG_SUBDIRS section.
15172 #
15173 if test "$no_recursion" != yes; then
15174
15175  # Remove --cache-file, --srcdir, and --disable-option-checking arguments
15176  # so they do not pile up.
15177  ac_sub_configure_args=
15178  ac_prev=
15179  eval "set x $ac_configure_args"
15180  shift
15181  for ac_arg
15182  do
15183    if test -n "$ac_prev"; then
15184      ac_prev=
15185      continue
15186    fi
15187    case $ac_arg in
15188    -cache-file | --cache-file | --cache-fil | --cache-fi \
15189    | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
15190      ac_prev=cache_file ;;
15191    -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
15192    | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
15193    | --c=*)
15194      ;;
15195    --config-cache | -C)
15196      ;;
15197    -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
15198      ac_prev=srcdir ;;
15199    -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
15200      ;;
15201    -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
15202      ac_prev=prefix ;;
15203    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
15204      ;;
15205    --disable-option-checking)
15206      ;;
15207    *)
15208      case $ac_arg in
15209      *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
15210      esac
15211      as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
15212    esac
15213  done
15214
15215  # Always prepend --prefix to ensure using the same prefix
15216  # in subdir configurations.
15217  ac_arg="--prefix=$prefix"
15218  case $ac_arg in
15219  *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
15220  esac
15221  ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
15222
15223  # Pass --silent
15224  if test "$silent" = yes; then
15225    ac_sub_configure_args="--silent $ac_sub_configure_args"
15226  fi
15227
15228  # Always prepend --disable-option-checking to silence warnings, since
15229  # different subdirs can have different --enable and --with options.
15230  ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
15231
15232  ac_popdir=`pwd`
15233  for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
15234
15235    # Do not complain, so a configure script can configure whichever
15236    # parts of a large source tree are present.
15237    test -d "$srcdir/$ac_dir" || continue
15238
15239    ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
15240    $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
15241    $as_echo "$ac_msg" >&6
15242    as_dir="$ac_dir"; as_fn_mkdir_p
15243    ac_builddir=.
15244
15245 case "$ac_dir" in
15246 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15247 *)
15248  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15249  # A ".." for each directory in $ac_dir_suffix.
15250  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15251  case $ac_top_builddir_sub in
15252  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15253  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15254  esac ;;
15255 esac
15256 ac_abs_top_builddir=$ac_pwd
15257 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15258 # for backward compatibility:
15259 ac_top_builddir=$ac_top_build_prefix
15260
15261 case $srcdir in
15262  .)  # We are building in place.
15263    ac_srcdir=.
15264    ac_top_srcdir=$ac_top_builddir_sub
15265    ac_abs_top_srcdir=$ac_pwd ;;
15266  [\\/]* | ?:[\\/]* )  # Absolute name.
15267    ac_srcdir=$srcdir$ac_dir_suffix;
15268    ac_top_srcdir=$srcdir
15269    ac_abs_top_srcdir=$srcdir ;;
15270  *) # Relative name.
15271    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15272    ac_top_srcdir=$ac_top_build_prefix$srcdir
15273    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15274 esac
15275 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15276
15277
15278    cd "$ac_dir"
15279
15280    # Check for guested configure; otherwise get Cygnus style configure.
15281    if test -f "$ac_srcdir/configure.gnu"; then
15282      ac_sub_configure=$ac_srcdir/configure.gnu
15283    elif test -f "$ac_srcdir/configure"; then
15284      ac_sub_configure=$ac_srcdir/configure
15285    elif test -f "$ac_srcdir/configure.in"; then
15286      # This should be Cygnus configure.
15287      ac_sub_configure=$ac_aux_dir/configure
15288    else
15289      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
15290 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
15291      ac_sub_configure=
15292    fi
15293
15294    # The recursion is here.
15295    if test -n "$ac_sub_configure"; then
15296      # Make the cache file name correct relative to the subdirectory.
15297      case $cache_file in
15298      [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
15299      *) # Relative name.
15300        ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
15301      esac
15302
15303      { $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
15304 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
15305      # The eval makes quoting arguments work.
15306      eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
15307           --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
15308        as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
15309    fi
15310
15311    cd "$ac_popdir"
15312  done
15313 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)