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 5173 by michael, Fri Dec 26 20:56:42 2014 UTC vs.
Revision 5213 by michael, Mon Dec 29 20:16:48 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 2859 | Line 2857 | fi
2857  
2858  
2859  
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
2860   DEPDIR="${am__leading_dot}deps"
2861  
2862   ac_config_commands="$ac_config_commands depfiles"
# Line 12088 | Line 12076 | CC=$lt_save_CC
12076  
12077  
12078  
12091 { $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
12079   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"
# Line 12216 | Line 12091 | fi
12091   done
12092  
12093  
12094 < for ac_header in fcntl.h sys/time.h unistd.h strings.h
12094 > for ac_header in fcntl.h sys/time.h unistd.h
12095   do :
12096    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12097   ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
# Line 12702 | Line 12577 | if eval test \"x\$"$as_ac_var"\" = x"yes
12577   _ACEOF
12578  
12579   fi
12705 done
12706
12707
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
12580   done
12581  
12582  

Diff Legend

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