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

Comparing hopm/trunk/configure (file contents):
Revision 5061 by michael, Mon Dec 22 14:00:18 2014 UTC vs.
Revision 5135 by michael, Thu Dec 25 18:51:51 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
12668 for ac_func in strftime
12669 do :
12670  ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime"
12671 if test "x$ac_cv_func_strftime" = xyes; then :
12672  cat >>confdefs.h <<_ACEOF
12673 #define HAVE_STRFTIME 1
12674 _ACEOF
12675
12676 else
12677  # strftime is in -lintl on SCO UNIX.
12678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5
12679 $as_echo_n "checking for strftime in -lintl... " >&6; }
12680 if ${ac_cv_lib_intl_strftime+:} false; then :
12681  $as_echo_n "(cached) " >&6
12682 else
12683  ac_check_lib_save_LIBS=$LIBS
12684 LIBS="-lintl  $LIBS"
12685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12686 /* end confdefs.h.  */
12687
12688 /* Override any GCC internal prototype to avoid an error.
12689   Use char because int might match the return type of a GCC
12690   builtin and then its argument prototype would still apply.  */
12691 #ifdef __cplusplus
12692 extern "C"
12693 #endif
12694 char strftime ();
12695 int
12696 main ()
12697 {
12698 return strftime ();
12699  ;
12700  return 0;
12701 }
12702 _ACEOF
12703 if ac_fn_c_try_link "$LINENO"; then :
12704  ac_cv_lib_intl_strftime=yes
12705 else
12706  ac_cv_lib_intl_strftime=no
12707 fi
12708 rm -f core conftest.err conftest.$ac_objext \
12709    conftest$ac_exeext conftest.$ac_ext
12710 LIBS=$ac_check_lib_save_LIBS
12711 fi
12712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5
12713 $as_echo "$ac_cv_lib_intl_strftime" >&6; }
12714 if test "x$ac_cv_lib_intl_strftime" = xyes; then :
12715  $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h
12716
12717 LIBS="-lintl $LIBS"
12718 fi
12719
12720 fi
12721 done
12722
12723
12552  
12553   for ac_prog in 'bison -y' byacc
12554   do
# Line 12929 | Line 12757 | if test "$LEX" = :; then
12757    LEX=${am_missing_run}flex
12758   fi
12759  
12760 < ETR_SOCKET_NSL
12760 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
12761 > $as_echo_n "checking for library containing socket... " >&6; }
12762 > if ${ac_cv_search_socket+:} false; then :
12763 >  $as_echo_n "(cached) " >&6
12764 > else
12765 >  ac_func_search_save_LIBS=$LIBS
12766 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12767 > /* end confdefs.h.  */
12768 >
12769 > /* Override any GCC internal prototype to avoid an error.
12770 >   Use char because int might match the return type of a GCC
12771 >   builtin and then its argument prototype would still apply.  */
12772 > #ifdef __cplusplus
12773 > extern "C"
12774 > #endif
12775 > char socket ();
12776 > int
12777 > main ()
12778 > {
12779 > return socket ();
12780 >  ;
12781 >  return 0;
12782 > }
12783 > _ACEOF
12784 > for ac_lib in '' socket; do
12785 >  if test -z "$ac_lib"; then
12786 >    ac_res="none required"
12787 >  else
12788 >    ac_res=-l$ac_lib
12789 >    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
12790 >  fi
12791 >  if ac_fn_c_try_link "$LINENO"; then :
12792 >  ac_cv_search_socket=$ac_res
12793 > fi
12794 > rm -f core conftest.err conftest.$ac_objext \
12795 >    conftest$ac_exeext
12796 >  if ${ac_cv_search_socket+:} false; then :
12797 >  break
12798 > fi
12799 > done
12800 > if ${ac_cv_search_socket+:} false; then :
12801 >
12802 > else
12803 >  ac_cv_search_socket=no
12804 > fi
12805 > rm conftest.$ac_ext
12806 > LIBS=$ac_func_search_save_LIBS
12807 > fi
12808 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
12809 > $as_echo "$ac_cv_search_socket" >&6; }
12810 > ac_res=$ac_cv_search_socket
12811 > if test "$ac_res" != no; then :
12812 >  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12813 >
12814 > else
12815 >  as_fn_error $? "socket library not found" "$LINENO" 5
12816 > fi
12817 >
12818 > ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
12819 > if test "x$ac_cv_func_getaddrinfo" = xyes; then :
12820 >
12821 > else
12822 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getaddrinfo" >&5
12823 > $as_echo_n "checking for library containing getaddrinfo... " >&6; }
12824 > if ${ac_cv_search_getaddrinfo+:} false; then :
12825 >  $as_echo_n "(cached) " >&6
12826 > else
12827 >  ac_func_search_save_LIBS=$LIBS
12828 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12829 > /* end confdefs.h.  */
12830 >
12831 > /* Override any GCC internal prototype to avoid an error.
12832 >   Use char because int might match the return type of a GCC
12833 >   builtin and then its argument prototype would still apply.  */
12834 > #ifdef __cplusplus
12835 > extern "C"
12836 > #endif
12837 > char getaddrinfo ();
12838 > int
12839 > main ()
12840 > {
12841 > return getaddrinfo ();
12842 >  ;
12843 >  return 0;
12844 > }
12845 > _ACEOF
12846 > for ac_lib in '' nsl; do
12847 >  if test -z "$ac_lib"; then
12848 >    ac_res="none required"
12849 >  else
12850 >    ac_res=-l$ac_lib
12851 >    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
12852 >  fi
12853 >  if ac_fn_c_try_link "$LINENO"; then :
12854 >  ac_cv_search_getaddrinfo=$ac_res
12855 > fi
12856 > rm -f core conftest.err conftest.$ac_objext \
12857 >    conftest$ac_exeext
12858 >  if ${ac_cv_search_getaddrinfo+:} false; then :
12859 >  break
12860 > fi
12861 > done
12862 > if ${ac_cv_search_getaddrinfo+:} false; then :
12863 >
12864 > else
12865 >  ac_cv_search_getaddrinfo=no
12866 > fi
12867 > rm conftest.$ac_ext
12868 > LIBS=$ac_func_search_save_LIBS
12869 > fi
12870 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getaddrinfo" >&5
12871 > $as_echo "$ac_cv_search_getaddrinfo" >&6; }
12872 > ac_res=$ac_cv_search_getaddrinfo
12873 > if test "$ac_res" != no; then :
12874 >  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12875 >
12876 > fi
12877 >
12878 > fi
12879 >
12880 > ac_fn_c_check_func "$LINENO" "getnameinfo" "ac_cv_func_getnameinfo"
12881 > if test "x$ac_cv_func_getnameinfo" = xyes; then :
12882 >
12883 > else
12884 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getnameinfo" >&5
12885 > $as_echo_n "checking for library containing getnameinfo... " >&6; }
12886 > if ${ac_cv_search_getnameinfo+:} false; then :
12887 >  $as_echo_n "(cached) " >&6
12888 > else
12889 >  ac_func_search_save_LIBS=$LIBS
12890 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12891 > /* end confdefs.h.  */
12892  
12893 < for ac_func in inet_aton inet_pton socket strdup strstr
12893 > /* Override any GCC internal prototype to avoid an error.
12894 >   Use char because int might match the return type of a GCC
12895 >   builtin and then its argument prototype would still apply.  */
12896 > #ifdef __cplusplus
12897 > extern "C"
12898 > #endif
12899 > char getnameinfo ();
12900 > int
12901 > main ()
12902 > {
12903 > return getnameinfo ();
12904 >  ;
12905 >  return 0;
12906 > }
12907 > _ACEOF
12908 > for ac_lib in '' nsl; do
12909 >  if test -z "$ac_lib"; then
12910 >    ac_res="none required"
12911 >  else
12912 >    ac_res=-l$ac_lib
12913 >    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
12914 >  fi
12915 >  if ac_fn_c_try_link "$LINENO"; then :
12916 >  ac_cv_search_getnameinfo=$ac_res
12917 > fi
12918 > rm -f core conftest.err conftest.$ac_objext \
12919 >    conftest$ac_exeext
12920 >  if ${ac_cv_search_getnameinfo+:} false; then :
12921 >  break
12922 > fi
12923 > done
12924 > if ${ac_cv_search_getnameinfo+:} false; then :
12925 >
12926 > else
12927 >  ac_cv_search_getnameinfo=no
12928 > fi
12929 > rm conftest.$ac_ext
12930 > LIBS=$ac_func_search_save_LIBS
12931 > fi
12932 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getnameinfo" >&5
12933 > $as_echo "$ac_cv_search_getnameinfo" >&6; }
12934 > ac_res=$ac_cv_search_getnameinfo
12935 > if test "$ac_res" != no; then :
12936 >  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12937 >
12938 > fi
12939 >
12940 > fi
12941 >
12942 >
12943 > for ac_func in strlcpy strlcat inet_aton inet_pton socket strdup strstr
12944   do :
12945    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12946   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
# Line 12944 | Line 12953 | fi
12953   done
12954  
12955  
12956 < for ac_func in gethostbyname gethostbyname2
12956 > for ac_func in gethostbyname
12957   do :
12958 <  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12959 < ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12951 < if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12958 >  ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
12959 > if test "x$ac_cv_func_gethostbyname" = xyes; then :
12960    cat >>confdefs.h <<_ACEOF
12961 < #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12961 > #define HAVE_GETHOSTBYNAME 1
12962   _ACEOF
12963  
12964   fi
# Line 13290 | Line 13298 | _ACEOF
13298   subdirs="$subdirs src/libopm"
13299  
13300  
13301 <
13294 < # Check whether --with-werror was given.
13295 < if test "${with_werror+set}" = set; then :
13296 <  withval=$with_werror; CFLAGS="$CFLAGS -Werror"
13297 < fi
13298 <
13299 <
13300 < ac_config_files="$ac_config_files Makefile src/Makefile"
13301 > ac_config_files="$ac_config_files Makefile doc/Makefile src/Makefile"
13302  
13303   cat >confcache <<\_ACEOF
13304   # This file is a shell script that caches the results of configure
# Line 14313 | Line 14314 | do
14314      "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
14315      "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
14316      "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14317 +    "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
14318      "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
14319  
14320    *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
# Line 15665 | Line 15667 | fi
15667  
15668  
15669  
15670 < echo "##############################################################################"
15671 < echo "Everything is now configured, but you can find some more (infrequently"
15670 < echo "changed) options in options.h.  To compile HOPM now, just type make.  It"
15671 < echo "requires GNU Make, which may be installed as gmake on your system."
15670 > echo "###############################################################################"
15671 > echo "Configuration complete.  Type make (or gmake on some *BSD machines) to compile."
15672   echo
15673 < echo "hopm will be installed in ${prefix}.  To change this, run:"
15673 > echo "HOPM will be installed in ${prefix}.  To change this, run:"
15674   echo "   ./configure --prefix=DIRECTORY"
15675 < echo "##############################################################################"
15675 > echo "###############################################################################"

Comparing hopm/trunk/configure (property svn:eol-style):
Revision 5061 by michael, Mon Dec 22 14:00:18 2014 UTC vs.
Revision 5135 by michael, Thu Dec 25 18:51:51 2014 UTC

# Line 0 | Line 1
1 + native

Comparing hopm/trunk/configure (property svn:keywords):
Revision 5061 by michael, Mon Dec 22 14:00:18 2014 UTC vs.
Revision 5135 by michael, Thu Dec 25 18:51:51 2014 UTC

# Line 0 | Line 1
1 + Id

Diff Legend

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