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 5157 by michael, Fri Dec 26 17:16:28 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 1872 | Line 1868 | fi
1868    eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1869  
1870   } # ac_fn_c_check_header_mongrel
1875
1876 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1877 # -------------------------------------------
1878 # Tests whether TYPE exists after having included INCLUDES, setting cache
1879 # variable VAR accordingly.
1880 ac_fn_c_check_type ()
1881 {
1882  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1883  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1884 $as_echo_n "checking for $2... " >&6; }
1885 if eval \${$3+:} false; then :
1886  $as_echo_n "(cached) " >&6
1887 else
1888  eval "$3=no"
1889  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1890 /* end confdefs.h.  */
1891 $4
1892 int
1893 main ()
1894 {
1895 if (sizeof ($2))
1896         return 0;
1897  ;
1898  return 0;
1899 }
1900 _ACEOF
1901 if ac_fn_c_try_compile "$LINENO"; then :
1902  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1903 /* end confdefs.h.  */
1904 $4
1905 int
1906 main ()
1907 {
1908 if (sizeof (($2)))
1909            return 0;
1910  ;
1911  return 0;
1912 }
1913 _ACEOF
1914 if ac_fn_c_try_compile "$LINENO"; then :
1915
1916 else
1917  eval "$3=yes"
1918 fi
1919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1920 fi
1921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1922 fi
1923 eval ac_res=\$$3
1924               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1925 $as_echo "$ac_res" >&6; }
1926  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1927
1928 } # ac_fn_c_check_type
1871   cat >config.log <<_ACEOF
1872   This file contains any messages produced by compilers while
1873   running configure, to aid debugging if configure makes a mistake.
# Line 2913 | Line 2855 | fi
2855  
2856  
2857  
2916
2917 # Check whether --with-extra-fascism was given.
2918 if test "${with_extra_fascism+set}" = set; then :
2919  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"
2920 fi
2921
2922
2923
2924
2925
2858   DEPDIR="${am__leading_dot}deps"
2859  
2860   ac_config_commands="$ac_config_commands depfiles"
# Line 12142 | Line 12074 | CC=$lt_save_CC
12074  
12075  
12076  
12077 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
12146 < $as_echo_n "checking for ANSI C header files... " >&6; }
12147 < if ${ac_cv_header_stdc+:} false; then :
12148 <  $as_echo_n "(cached) " >&6
12149 < else
12150 <  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12151 < /* end confdefs.h.  */
12152 < #include <stdlib.h>
12153 < #include <stdarg.h>
12154 < #include <string.h>
12155 < #include <float.h>
12156 <
12157 < int
12158 < main ()
12159 < {
12160 <
12161 <  ;
12162 <  return 0;
12163 < }
12164 < _ACEOF
12165 < if ac_fn_c_try_compile "$LINENO"; then :
12166 <  ac_cv_header_stdc=yes
12167 < else
12168 <  ac_cv_header_stdc=no
12169 < fi
12170 < rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12171 <
12172 < if test $ac_cv_header_stdc = yes; then
12173 <  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12174 <  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12175 < /* end confdefs.h.  */
12176 < #include <string.h>
12177 <
12178 < _ACEOF
12179 < if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12180 <  $EGREP "memchr" >/dev/null 2>&1; then :
12181 <
12182 < else
12183 <  ac_cv_header_stdc=no
12184 < fi
12185 < rm -f conftest*
12186 <
12187 < fi
12188 <
12189 < if test $ac_cv_header_stdc = yes; then
12190 <  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12191 <  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12192 < /* end confdefs.h.  */
12193 < #include <stdlib.h>
12194 <
12195 < _ACEOF
12196 < if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12197 <  $EGREP "free" >/dev/null 2>&1; then :
12198 <
12199 < else
12200 <  ac_cv_header_stdc=no
12201 < fi
12202 < rm -f conftest*
12203 <
12204 < fi
12205 <
12206 < if test $ac_cv_header_stdc = yes; then
12207 <  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12208 <  if test "$cross_compiling" = yes; then :
12209 <  :
12210 < else
12211 <  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12212 < /* end confdefs.h.  */
12213 < #include <ctype.h>
12214 < #include <stdlib.h>
12215 < #if ((' ' & 0x0FF) == 0x020)
12216 < # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12217 < # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12218 < #else
12219 < # define ISLOWER(c) \
12220 <                   (('a' <= (c) && (c) <= 'i') \
12221 <                     || ('j' <= (c) && (c) <= 'r') \
12222 <                     || ('s' <= (c) && (c) <= 'z'))
12223 < # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12224 < #endif
12225 <
12226 < #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12227 < int
12228 < main ()
12229 < {
12230 <  int i;
12231 <  for (i = 0; i < 256; i++)
12232 <    if (XOR (islower (i), ISLOWER (i))
12233 <        || toupper (i) != TOUPPER (i))
12234 <      return 2;
12235 <  return 0;
12236 < }
12237 < _ACEOF
12238 < if ac_fn_c_try_run "$LINENO"; then :
12239 <
12240 < else
12241 <  ac_cv_header_stdc=no
12242 < fi
12243 < rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12244 <  conftest.$ac_objext conftest.beam conftest.$ac_ext
12245 < fi
12246 <
12247 < fi
12248 < fi
12249 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
12250 < $as_echo "$ac_cv_header_stdc" >&6; }
12251 < if test $ac_cv_header_stdc = yes; then
12252 <
12253 < $as_echo "#define STDC_HEADERS 1" >>confdefs.h
12254 <
12255 < fi
12256 <
12257 <
12258 < for ac_header in sys/poll.h
12077 > for ac_header in sys/time.h
12078   do :
12079 <  ac_fn_c_check_header_mongrel "$LINENO" "sys/poll.h" "ac_cv_header_sys_poll_h" "$ac_includes_default"
12080 < if test "x$ac_cv_header_sys_poll_h" = xyes; 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 HAVE_SYS_POLL_H 1
12264 < _ACEOF
12265 < have_poll_sys_h=yes
12266 < else
12267 <  have_sys_poll_h=no
12268 < fi
12269 <
12270 < done
12271 <
12272 <
12273 < for ac_header in fcntl.h sys/time.h unistd.h strings.h
12274 < do :
12275 <  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12276 < ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12277 < if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12278 <  cat >>confdefs.h <<_ACEOF
12279 < #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12082 > #define HAVE_SYS_TIME_H 1
12083   _ACEOF
12084  
12085   fi
# Line 12284 | Line 12087 | fi
12087   done
12088  
12089  
12287 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
12288 if test "x$ac_cv_type_size_t" = xyes; then :
12289
12290 else
12291
12292 cat >>confdefs.h <<_ACEOF
12293 #define size_t unsigned int
12294 _ACEOF
12295
12296 fi
12297
12090   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
12091   $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
12092   if ${ac_cv_header_time+:} false; then :
# Line 12330 | Line 12122 | $as_echo "#define TIME_WITH_SYS_TIME 1"
12122  
12123   fi
12124  
12333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
12334 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
12335 if ${ac_cv_struct_tm+:} false; then :
12336  $as_echo_n "(cached) " >&6
12337 else
12338  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12339 /* end confdefs.h.  */
12340 #include <sys/types.h>
12341 #include <time.h>
12342
12343 int
12344 main ()
12345 {
12346 struct tm tm;
12347                                     int *p = &tm.tm_sec;
12348                                     return !p;
12349  ;
12350  return 0;
12351 }
12352 _ACEOF
12353 if ac_fn_c_try_compile "$LINENO"; then :
12354  ac_cv_struct_tm=time.h
12355 else
12356  ac_cv_struct_tm=sys/time.h
12357 fi
12358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12359 fi
12360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
12361 $as_echo "$ac_cv_struct_tm" >&6; }
12362 if test $ac_cv_struct_tm = sys/time.h; then
12363
12364 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
12365
12366 fi
12367
12125  
12126  
12127   for ac_prog in 'bison -y' byacc
# Line 12757 | 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 12770 | Line 12527 | fi
12527   done
12528  
12529  
12773 for ac_func in gethostbyname
12774 do :
12775  ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
12776 if test "x$ac_cv_func_gethostbyname" = xyes; then :
12777  cat >>confdefs.h <<_ACEOF
12778 #define HAVE_GETHOSTBYNAME 1
12779 _ACEOF
12780
12781 fi
12782 done
12783
12784
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 13007 | Line 12752 | $as_echo "#define AC_APPLE_UNIVERSAL_BUI
12752   esac
12753  
12754  
12755 <
13011 <
13012 <
13013 < subdirs="$subdirs src/libopm"
13014 <
13015 <
13016 < 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 14032 | 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 15231 | 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
15234
15235 #
15236 # CONFIG_SUBDIRS section.
15237 #
15238 if test "$no_recursion" != yes; then
15239
15240  # Remove --cache-file, --srcdir, and --disable-option-checking arguments
15241  # so they do not pile up.
15242  ac_sub_configure_args=
15243  ac_prev=
15244  eval "set x $ac_configure_args"
15245  shift
15246  for ac_arg
15247  do
15248    if test -n "$ac_prev"; then
15249      ac_prev=
15250      continue
15251    fi
15252    case $ac_arg in
15253    -cache-file | --cache-file | --cache-fil | --cache-fi \
15254    | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
15255      ac_prev=cache_file ;;
15256    -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
15257    | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
15258    | --c=*)
15259      ;;
15260    --config-cache | -C)
15261      ;;
15262    -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
15263      ac_prev=srcdir ;;
15264    -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
15265      ;;
15266    -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
15267      ac_prev=prefix ;;
15268    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
15269      ;;
15270    --disable-option-checking)
15271      ;;
15272    *)
15273      case $ac_arg in
15274      *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
15275      esac
15276      as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
15277    esac
15278  done
15279
15280  # Always prepend --prefix to ensure using the same prefix
15281  # in subdir configurations.
15282  ac_arg="--prefix=$prefix"
15283  case $ac_arg in
15284  *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
15285  esac
15286  ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
15287
15288  # Pass --silent
15289  if test "$silent" = yes; then
15290    ac_sub_configure_args="--silent $ac_sub_configure_args"
15291  fi
15292
15293  # Always prepend --disable-option-checking to silence warnings, since
15294  # different subdirs can have different --enable and --with options.
15295  ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
15296
15297  ac_popdir=`pwd`
15298  for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
15299
15300    # Do not complain, so a configure script can configure whichever
15301    # parts of a large source tree are present.
15302    test -d "$srcdir/$ac_dir" || continue
15303
15304    ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
15305    $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
15306    $as_echo "$ac_msg" >&6
15307    as_dir="$ac_dir"; as_fn_mkdir_p
15308    ac_builddir=.
15309
15310 case "$ac_dir" in
15311 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15312 *)
15313  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15314  # A ".." for each directory in $ac_dir_suffix.
15315  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15316  case $ac_top_builddir_sub in
15317  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15318  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15319  esac ;;
15320 esac
15321 ac_abs_top_builddir=$ac_pwd
15322 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15323 # for backward compatibility:
15324 ac_top_builddir=$ac_top_build_prefix
15325
15326 case $srcdir in
15327  .)  # We are building in place.
15328    ac_srcdir=.
15329    ac_top_srcdir=$ac_top_builddir_sub
15330    ac_abs_top_srcdir=$ac_pwd ;;
15331  [\\/]* | ?:[\\/]* )  # Absolute name.
15332    ac_srcdir=$srcdir$ac_dir_suffix;
15333    ac_top_srcdir=$srcdir
15334    ac_abs_top_srcdir=$srcdir ;;
15335  *) # Relative name.
15336    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15337    ac_top_srcdir=$ac_top_build_prefix$srcdir
15338    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15339 esac
15340 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15341
15342
15343    cd "$ac_dir"
15344
15345    # Check for guested configure; otherwise get Cygnus style configure.
15346    if test -f "$ac_srcdir/configure.gnu"; then
15347      ac_sub_configure=$ac_srcdir/configure.gnu
15348    elif test -f "$ac_srcdir/configure"; then
15349      ac_sub_configure=$ac_srcdir/configure
15350    elif test -f "$ac_srcdir/configure.in"; then
15351      # This should be Cygnus configure.
15352      ac_sub_configure=$ac_aux_dir/configure
15353    else
15354      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
15355 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
15356      ac_sub_configure=
15357    fi
15358
15359    # The recursion is here.
15360    if test -n "$ac_sub_configure"; then
15361      # Make the cache file name correct relative to the subdirectory.
15362      case $cache_file in
15363      [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
15364      *) # Relative name.
15365        ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
15366      esac
15367
15368      { $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
15369 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
15370      # The eval makes quoting arguments work.
15371      eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
15372           --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
15373        as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
15374    fi
15375
15376    cd "$ac_popdir"
15377  done
15378 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)