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

Comparing hopm/trunk/configure (file contents):
Revision 5062 by michael, Mon Dec 22 14:07:15 2014 UTC vs.
Revision 5122 by michael, Thu Dec 25 16:50:00 2014 UTC

# Line 771 | Line 771 | with_aix_soname
771   with_gnu_ld
772   with_sysroot
773   enable_libtool_lock
774 with_werror
774   '
775        ac_precious_vars='build_alias
776   host_alias
# Line 1429 | Line 1428 | Optional Packages:
1428    --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1429    --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
1430                            compiler's sysroot if not specified).
1432  --with-werror           use -Werror to abort compilation on any warning
1431  
1432   Some influential environment variables:
1433    CC          C compiler command
# Line 12469 | Line 12467 | fi
12467   done
12468  
12469  
12472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
12473 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
12474 if ${ac_cv_c_const+:} false; then :
12475  $as_echo_n "(cached) " >&6
12476 else
12477  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12478 /* end confdefs.h.  */
12479
12480 int
12481 main ()
12482 {
12483
12484 #ifndef __cplusplus
12485  /* Ultrix mips cc rejects this sort of thing.  */
12486  typedef int charset[2];
12487  const charset cs = { 0, 0 };
12488  /* SunOS 4.1.1 cc rejects this.  */
12489  char const *const *pcpcc;
12490  char **ppc;
12491  /* NEC SVR4.0.2 mips cc rejects this.  */
12492  struct point {int x, y;};
12493  static struct point const zero = {0,0};
12494  /* AIX XL C 1.02.0.0 rejects this.
12495     It does not let you subtract one const X* pointer from another in
12496     an arm of an if-expression whose if-part is not a constant
12497     expression */
12498  const char *g = "string";
12499  pcpcc = &g + (g ? g-g : 0);
12500  /* HPUX 7.0 cc rejects these. */
12501  ++pcpcc;
12502  ppc = (char**) pcpcc;
12503  pcpcc = (char const *const *) ppc;
12504  { /* SCO 3.2v4 cc rejects this sort of thing.  */
12505    char tx;
12506    char *t = &tx;
12507    char const *s = 0 ? (char *) 0 : (char const *) 0;
12508
12509    *t++ = 0;
12510    if (s) return 0;
12511  }
12512  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
12513    int x[] = {25, 17};
12514    const int *foo = &x[0];
12515    ++foo;
12516  }
12517  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
12518    typedef const int *iptr;
12519    iptr p = 0;
12520    ++p;
12521  }
12522  { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
12523       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
12524    struct s { int j; const int *ap[3]; } bx;
12525    struct s *b = &bx; b->j = 5;
12526  }
12527  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
12528    const int foo = 10;
12529    if (!foo) return 0;
12530  }
12531  return !cs[0] && !zero.x;
12532 #endif
12533
12534  ;
12535  return 0;
12536 }
12537 _ACEOF
12538 if ac_fn_c_try_compile "$LINENO"; then :
12539  ac_cv_c_const=yes
12540 else
12541  ac_cv_c_const=no
12542 fi
12543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12544 fi
12545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
12546 $as_echo "$ac_cv_c_const" >&6; }
12547 if test $ac_cv_c_const = no; then
12548
12549 $as_echo "#define const /**/" >>confdefs.h
12550
12551 fi
12552
12470   ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
12471   if test "x$ac_cv_type_size_t" = xyes; then :
12472  
# Line 12632 | Line 12549 | $as_echo "#define TM_IN_SYS_TIME 1" >>co
12549   fi
12550  
12551  
12635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
12636 $as_echo_n "checking return type of signal handlers... " >&6; }
12637 if ${ac_cv_type_signal+:} false; then :
12638  $as_echo_n "(cached) " >&6
12639 else
12640  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12641 /* end confdefs.h.  */
12642 #include <sys/types.h>
12643 #include <signal.h>
12644
12645 int
12646 main ()
12647 {
12648 return *(signal (0, 0)) (0) == 1;
12649  ;
12650  return 0;
12651 }
12652 _ACEOF
12653 if ac_fn_c_try_compile "$LINENO"; then :
12654  ac_cv_type_signal=int
12655 else
12656  ac_cv_type_signal=void
12657 fi
12658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12659 fi
12660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
12661 $as_echo "$ac_cv_type_signal" >&6; }
12662
12663 cat >>confdefs.h <<_ACEOF
12664 #define RETSIGTYPE $ac_cv_type_signal
12665 _ACEOF
12666
12667
12552   for ac_func in strftime
12553   do :
12554    ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime"
# Line 13112 | Line 12996 | fi
12996   fi
12997  
12998  
12999 < for ac_func in inet_aton inet_pton socket strdup strstr
12999 > for ac_func in strlcpy strlcat inet_aton inet_pton socket strdup strstr
13000   do :
13001    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13002   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
# Line 13125 | Line 13009 | fi
13009   done
13010  
13011  
13012 < for ac_func in gethostbyname gethostbyname2
13012 > for ac_func in gethostbyname
13013   do :
13014 <  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13015 < ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13132 < if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13014 >  ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
13015 > if test "x$ac_cv_func_gethostbyname" = xyes; then :
13016    cat >>confdefs.h <<_ACEOF
13017 < #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13017 > #define HAVE_GETHOSTBYNAME 1
13018   _ACEOF
13019  
13020   fi
# Line 13471 | Line 13354 | _ACEOF
13354   subdirs="$subdirs src/libopm"
13355  
13356  
13357 <
13475 < # Check whether --with-werror was given.
13476 < if test "${with_werror+set}" = set; then :
13477 <  withval=$with_werror; CFLAGS="$CFLAGS -Werror"
13478 < fi
13479 <
13480 <
13481 < ac_config_files="$ac_config_files Makefile src/Makefile"
13357 > ac_config_files="$ac_config_files Makefile doc/Makefile src/Makefile"
13358  
13359   cat >confcache <<\_ACEOF
13360   # This file is a shell script that caches the results of configure
# Line 14494 | Line 14370 | do
14370      "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
14371      "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
14372      "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14373 +    "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
14374      "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
14375  
14376    *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
# Line 15846 | Line 15723 | fi
15723  
15724  
15725  
15726 < echo "##############################################################################"
15727 < echo "Everything is now configured, but you can find some more (infrequently"
15851 < echo "changed) options in options.h.  To compile HOPM now, just type make.  It"
15852 < echo "requires GNU Make, which may be installed as gmake on your system."
15726 > echo "###############################################################################"
15727 > echo "Configuration complete.  Type make (or gmake on some *BSD machines) to compile."
15728   echo
15729 < echo "hopm will be installed in ${prefix}.  To change this, run:"
15729 > echo "HOPM will be installed in ${prefix}.  To change this, run:"
15730   echo "   ./configure --prefix=DIRECTORY"
15731 < echo "##############################################################################"
15731 > echo "###############################################################################"

Diff Legend

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