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

Comparing hopm/trunk/configure (file contents):
Revision 5064 by michael, Mon Dec 22 14:21:48 2014 UTC vs.
Revision 5110 by michael, Wed Dec 24 13:37:32 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 13125 | Line 13042 | fi
13042   done
13043  
13044  
13045 < for ac_func in gethostbyname gethostbyname2
13045 > for ac_func in gethostbyname
13046   do :
13047 <  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13048 < ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13132 < if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13047 >  ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
13048 > if test "x$ac_cv_func_gethostbyname" = xyes; then :
13049    cat >>confdefs.h <<_ACEOF
13050 < #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13050 > #define HAVE_GETHOSTBYNAME 1
13051   _ACEOF
13052  
13053   fi
# Line 13471 | Line 13387 | _ACEOF
13387   subdirs="$subdirs src/libopm"
13388  
13389  
13390 <
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"
13390 > ac_config_files="$ac_config_files Makefile doc/Makefile src/Makefile"
13391  
13392   cat >confcache <<\_ACEOF
13393   # This file is a shell script that caches the results of configure
# Line 14494 | Line 14403 | do
14403      "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
14404      "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
14405      "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14406 +    "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
14407      "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
14408  
14409    *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
# Line 15846 | Line 15756 | fi
15756  
15757  
15758  
15759 < echo "##############################################################################"
15760 < 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."
15759 > echo "###############################################################################"
15760 > echo "Configuration complete.  Type make (or gmake on some *BSD machines) to compile."
15761   echo
15762 < echo "hopm will be installed in ${prefix}.  To change this, run:"
15762 > echo "HOPM will be installed in ${prefix}.  To change this, run:"
15763   echo "   ./configure --prefix=DIRECTORY"
15764 < echo "##############################################################################"
15764 > echo "###############################################################################"

Diff Legend

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