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 5070 by michael, Mon Dec 22 15:00:01 2014 UTC vs.
hopm/branches/1.0.x/configure (file contents), Revision 5144 by michael, Fri Dec 26 14:10:54 2014 UTC

# Line 12467 | Line 12467 | fi
12467   done
12468  
12469  
12470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
12471 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
12472 if ${ac_cv_c_const+:} false; then :
12473  $as_echo_n "(cached) " >&6
12474 else
12475  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12476 /* end confdefs.h.  */
12477
12478 int
12479 main ()
12480 {
12481
12482 #ifndef __cplusplus
12483  /* Ultrix mips cc rejects this sort of thing.  */
12484  typedef int charset[2];
12485  const charset cs = { 0, 0 };
12486  /* SunOS 4.1.1 cc rejects this.  */
12487  char const *const *pcpcc;
12488  char **ppc;
12489  /* NEC SVR4.0.2 mips cc rejects this.  */
12490  struct point {int x, y;};
12491  static struct point const zero = {0,0};
12492  /* AIX XL C 1.02.0.0 rejects this.
12493     It does not let you subtract one const X* pointer from another in
12494     an arm of an if-expression whose if-part is not a constant
12495     expression */
12496  const char *g = "string";
12497  pcpcc = &g + (g ? g-g : 0);
12498  /* HPUX 7.0 cc rejects these. */
12499  ++pcpcc;
12500  ppc = (char**) pcpcc;
12501  pcpcc = (char const *const *) ppc;
12502  { /* SCO 3.2v4 cc rejects this sort of thing.  */
12503    char tx;
12504    char *t = &tx;
12505    char const *s = 0 ? (char *) 0 : (char const *) 0;
12506
12507    *t++ = 0;
12508    if (s) return 0;
12509  }
12510  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
12511    int x[] = {25, 17};
12512    const int *foo = &x[0];
12513    ++foo;
12514  }
12515  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
12516    typedef const int *iptr;
12517    iptr p = 0;
12518    ++p;
12519  }
12520  { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
12521       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
12522    struct s { int j; const int *ap[3]; } bx;
12523    struct s *b = &bx; b->j = 5;
12524  }
12525  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
12526    const int foo = 10;
12527    if (!foo) return 0;
12528  }
12529  return !cs[0] && !zero.x;
12530 #endif
12531
12532  ;
12533  return 0;
12534 }
12535 _ACEOF
12536 if ac_fn_c_try_compile "$LINENO"; then :
12537  ac_cv_c_const=yes
12538 else
12539  ac_cv_c_const=no
12540 fi
12541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12542 fi
12543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
12544 $as_echo "$ac_cv_c_const" >&6; }
12545 if test $ac_cv_c_const = no; then
12546
12547 $as_echo "#define const /**/" >>confdefs.h
12548
12549 fi
12550
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 12630 | Line 12549 | $as_echo "#define TM_IN_SYS_TIME 1" >>co
12549   fi
12550  
12551  
12633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
12634 $as_echo_n "checking return type of signal handlers... " >&6; }
12635 if ${ac_cv_type_signal+:} false; then :
12636  $as_echo_n "(cached) " >&6
12637 else
12638  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12639 /* end confdefs.h.  */
12640 #include <sys/types.h>
12641 #include <signal.h>
12642
12643 int
12644 main ()
12645 {
12646 return *(signal (0, 0)) (0) == 1;
12647  ;
12648  return 0;
12649 }
12650 _ACEOF
12651 if ac_fn_c_try_compile "$LINENO"; then :
12652  ac_cv_type_signal=int
12653 else
12654  ac_cv_type_signal=void
12655 fi
12656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12657 fi
12658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
12659 $as_echo "$ac_cv_type_signal" >&6; }
12660
12661 cat >>confdefs.h <<_ACEOF
12662 #define RETSIGTYPE $ac_cv_type_signal
12663 _ACEOF
12664
12665
12666 for ac_func in strftime
12667 do :
12668  ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime"
12669 if test "x$ac_cv_func_strftime" = xyes; then :
12670  cat >>confdefs.h <<_ACEOF
12671 #define HAVE_STRFTIME 1
12672 _ACEOF
12673
12674 else
12675  # strftime is in -lintl on SCO UNIX.
12676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5
12677 $as_echo_n "checking for strftime in -lintl... " >&6; }
12678 if ${ac_cv_lib_intl_strftime+:} false; then :
12679  $as_echo_n "(cached) " >&6
12680 else
12681  ac_check_lib_save_LIBS=$LIBS
12682 LIBS="-lintl  $LIBS"
12683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12684 /* end confdefs.h.  */
12685
12686 /* Override any GCC internal prototype to avoid an error.
12687   Use char because int might match the return type of a GCC
12688   builtin and then its argument prototype would still apply.  */
12689 #ifdef __cplusplus
12690 extern "C"
12691 #endif
12692 char strftime ();
12693 int
12694 main ()
12695 {
12696 return strftime ();
12697  ;
12698  return 0;
12699 }
12700 _ACEOF
12701 if ac_fn_c_try_link "$LINENO"; then :
12702  ac_cv_lib_intl_strftime=yes
12703 else
12704  ac_cv_lib_intl_strftime=no
12705 fi
12706 rm -f core conftest.err conftest.$ac_objext \
12707    conftest$ac_exeext conftest.$ac_ext
12708 LIBS=$ac_check_lib_save_LIBS
12709 fi
12710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5
12711 $as_echo "$ac_cv_lib_intl_strftime" >&6; }
12712 if test "x$ac_cv_lib_intl_strftime" = xyes; then :
12713  $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h
12714
12715 LIBS="-lintl $LIBS"
12716 fi
12717
12718 fi
12719 done
12720
12721
12552  
12553   for ac_prog in 'bison -y' byacc
12554   do
# Line 13123 | 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"
13130 < 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 13565 | Line 13394 | DEFS=-DHAVE_CONFIG_H
13394  
13395   ac_libobjs=
13396   ac_ltlibobjs=
13397 + U=
13398   for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13399    # 1. Remove the extension, and $U if already installed.
13400    ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
# Line 15838 | Line 15668 | fi
15668  
15669  
15670  
15671 < echo "##############################################################################"
15672 < echo "Everything is now configured, but you can find some more (infrequently"
15843 < echo "changed) options in options.h.  To compile HOPM now, just type make.  It"
15844 < echo "requires GNU Make, which may be installed as gmake on your system."
15671 > echo "###############################################################################"
15672 > echo "Configuration complete.  Type make (or gmake on some *BSD machines) to compile."
15673   echo
15674 < echo "hopm will be installed in ${prefix}.  To change this, run:"
15674 > echo "HOPM will be installed in ${prefix}.  To change this, run:"
15675   echo "   ./configure --prefix=DIRECTORY"
15676 < echo "##############################################################################"
15676 > echo "###############################################################################"

Comparing:
hopm/trunk/configure (property svn:eol-style), Revision 5070 by michael, Mon Dec 22 15:00:01 2014 UTC vs.
hopm/branches/1.0.x/configure (property svn:eol-style), Revision 5144 by michael, Fri Dec 26 14:10:54 2014 UTC

# Line 0 | Line 1
1 + native

Comparing:
hopm/trunk/configure (property svn:keywords), Revision 5070 by michael, Mon Dec 22 15:00:01 2014 UTC vs.
hopm/branches/1.0.x/configure (property svn:keywords), Revision 5144 by michael, Fri Dec 26 14:10:54 2014 UTC

# Line 0 | Line 1
1 + Id

Diff Legend

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