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

Comparing hopm/branches/1.0.x/configure (file contents):
Revision 5156 by michael, Fri Dec 26 17:16:15 2014 UTC vs.
Revision 5229 by michael, Wed Dec 31 14:46:11 2014 UTC

# Line 761 | Line 761 | ac_user_opts='
761   enable_option_checking
762   enable_silent_rules
763   enable_maintainer_mode
764 with_extra_fascism
764   enable_dependency_tracking
765   enable_shared
766   enable_static
# Line 1419 | Line 1418 | Optional Features:
1418   Optional Packages:
1419    --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1420    --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1422  --with-extra-fascism    Add extra gcc3-specific warning flags
1421    --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1422                            both]
1423    --with-aix-soname=aix|svr4|both
# Line 1872 | Line 1870 | fi
1870    eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1871  
1872   } # 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
1873   cat >config.log <<_ACEOF
1874   This file contains any messages produced by compilers while
1875   running configure, to aid debugging if configure makes a mistake.
# Line 2913 | Line 2857 | fi
2857  
2858  
2859  
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
2860   DEPDIR="${am__leading_dot}deps"
2861  
2862   ac_config_commands="$ac_config_commands depfiles"
# Line 12142 | Line 12076 | CC=$lt_save_CC
12076  
12077  
12078  
12079 < { $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
12259 < do :
12260 <  ac_fn_c_check_header_mongrel "$LINENO" "sys/poll.h" "ac_cv_header_sys_poll_h" "$ac_includes_default"
12261 < if test "x$ac_cv_header_sys_poll_h" = xyes; then :
12262 <  cat >>confdefs.h <<_ACEOF
12263 < #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
12079 > for ac_header in fcntl.h sys/time.h unistd.h
12080   do :
12081    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12082   ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
# Line 12284 | Line 12090 | fi
12090   done
12091  
12092  
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
12093   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
12094   $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
12095   if ${ac_cv_header_time+:} false; then :
# Line 12757 | Line 12552 | fi
12552   fi
12553  
12554  
12555 < for ac_func in strlcpy strlcat inet_aton inet_pton socket strdup strstr
12555 > for ac_func in strlcpy strlcat socket
12556   do :
12557    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12558   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
# Line 12767 | Line 12562 | if eval test \"x\$"$as_ac_var"\" = x"yes
12562   _ACEOF
12563  
12564   fi
12770 done
12771
12772
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
12565   done
12566  
12567  

Diff Legend

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