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 5070 by michael, Mon Dec 22 15:00:01 2014 UTC vs.
Revision 5260 by michael, Thu Jan 1 17:53:18 2015 UTC

# Line 630 | Line 630 | ac_includes_default="\
630   # include <unistd.h>
631   #endif"
632  
633 enable_option_checking=no
633   ac_subst_vars='am__EXEEXT_FALSE
634   am__EXEEXT_TRUE
635   LTLIBOBJS
636   LIBOBJS
638 subdirs
637   LEXLIB
638   LEX_OUTPUT_ROOT
639   LEX
# Line 761 | Line 759 | ac_user_opts='
759   enable_option_checking
760   enable_silent_rules
761   enable_maintainer_mode
764 with_extra_fascism
762   enable_dependency_tracking
763   enable_shared
764   enable_static
# Line 783 | Line 780 | CPPFLAGS
780   CPP
781   YACC
782   YFLAGS'
783 < ac_subdirs_all='src/libopm'
783 >
784  
785   # Initialize some variables set by options.
786   ac_init_help=
# Line 1419 | Line 1416 | Optional Features:
1416   Optional Packages:
1417    --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1418    --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1422  --with-extra-fascism    Add extra gcc3-specific warning flags
1419    --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1420                            both]
1421    --with-aix-soname=aix|svr4|both
# Line 1872 | Line 1868 | fi
1868    eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1869  
1870   } # ac_fn_c_check_header_mongrel
1875
1876 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1877 # -------------------------------------------
1878 # Tests whether TYPE exists after having included INCLUDES, setting cache
1879 # variable VAR accordingly.
1880 ac_fn_c_check_type ()
1881 {
1882  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1883  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1884 $as_echo_n "checking for $2... " >&6; }
1885 if eval \${$3+:} false; then :
1886  $as_echo_n "(cached) " >&6
1887 else
1888  eval "$3=no"
1889  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1890 /* end confdefs.h.  */
1891 $4
1892 int
1893 main ()
1894 {
1895 if (sizeof ($2))
1896         return 0;
1897  ;
1898  return 0;
1899 }
1900 _ACEOF
1901 if ac_fn_c_try_compile "$LINENO"; then :
1902  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1903 /* end confdefs.h.  */
1904 $4
1905 int
1906 main ()
1907 {
1908 if (sizeof (($2)))
1909            return 0;
1910  ;
1911  return 0;
1912 }
1913 _ACEOF
1914 if ac_fn_c_try_compile "$LINENO"; then :
1915
1916 else
1917  eval "$3=yes"
1918 fi
1919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1920 fi
1921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1922 fi
1923 eval ac_res=\$$3
1924               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1925 $as_echo "$ac_res" >&6; }
1926  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1927
1928 } # ac_fn_c_check_type
1929
1930 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1931 # --------------------------------------------
1932 # Tries to find the compile-time value of EXPR in a program that includes
1933 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1934 # computed
1935 ac_fn_c_compute_int ()
1936 {
1937  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1938  if test "$cross_compiling" = yes; then
1939    # Depending upon the size, compute the lo and hi bounds.
1940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1941 /* end confdefs.h.  */
1942 $4
1943 int
1944 main ()
1945 {
1946 static int test_array [1 - 2 * !(($2) >= 0)];
1947 test_array [0] = 0;
1948 return test_array [0];
1949
1950  ;
1951  return 0;
1952 }
1953 _ACEOF
1954 if ac_fn_c_try_compile "$LINENO"; then :
1955  ac_lo=0 ac_mid=0
1956  while :; do
1957    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1958 /* end confdefs.h.  */
1959 $4
1960 int
1961 main ()
1962 {
1963 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1964 test_array [0] = 0;
1965 return test_array [0];
1966
1967  ;
1968  return 0;
1969 }
1970 _ACEOF
1971 if ac_fn_c_try_compile "$LINENO"; then :
1972  ac_hi=$ac_mid; break
1973 else
1974  as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1975                        if test $ac_lo -le $ac_mid; then
1976                          ac_lo= ac_hi=
1977                          break
1978                        fi
1979                        as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
1980 fi
1981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1982  done
1983 else
1984  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1985 /* end confdefs.h.  */
1986 $4
1987 int
1988 main ()
1989 {
1990 static int test_array [1 - 2 * !(($2) < 0)];
1991 test_array [0] = 0;
1992 return test_array [0];
1993
1994  ;
1995  return 0;
1996 }
1997 _ACEOF
1998 if ac_fn_c_try_compile "$LINENO"; then :
1999  ac_hi=-1 ac_mid=-1
2000  while :; do
2001    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2002 /* end confdefs.h.  */
2003 $4
2004 int
2005 main ()
2006 {
2007 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2008 test_array [0] = 0;
2009 return test_array [0];
2010
2011  ;
2012  return 0;
2013 }
2014 _ACEOF
2015 if ac_fn_c_try_compile "$LINENO"; then :
2016  ac_lo=$ac_mid; break
2017 else
2018  as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2019                        if test $ac_mid -le $ac_hi; then
2020                          ac_lo= ac_hi=
2021                          break
2022                        fi
2023                        as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2024 fi
2025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2026  done
2027 else
2028  ac_lo= ac_hi=
2029 fi
2030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2031 fi
2032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2033 # Binary search between lo and hi bounds.
2034 while test "x$ac_lo" != "x$ac_hi"; do
2035  as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2036  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2037 /* end confdefs.h.  */
2038 $4
2039 int
2040 main ()
2041 {
2042 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2043 test_array [0] = 0;
2044 return test_array [0];
2045
2046  ;
2047  return 0;
2048 }
2049 _ACEOF
2050 if ac_fn_c_try_compile "$LINENO"; then :
2051  ac_hi=$ac_mid
2052 else
2053  as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2054 fi
2055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2056 done
2057 case $ac_lo in #((
2058 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2059 '') ac_retval=1 ;;
2060 esac
2061  else
2062    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2063 /* end confdefs.h.  */
2064 $4
2065 static long int longval () { return $2; }
2066 static unsigned long int ulongval () { return $2; }
2067 #include <stdio.h>
2068 #include <stdlib.h>
2069 int
2070 main ()
2071 {
2072
2073  FILE *f = fopen ("conftest.val", "w");
2074  if (! f)
2075    return 1;
2076  if (($2) < 0)
2077    {
2078      long int i = longval ();
2079      if (i != ($2))
2080        return 1;
2081      fprintf (f, "%ld", i);
2082    }
2083  else
2084    {
2085      unsigned long int i = ulongval ();
2086      if (i != ($2))
2087        return 1;
2088      fprintf (f, "%lu", i);
2089    }
2090  /* Do not output a trailing newline, as this causes \r\n confusion
2091     on some platforms.  */
2092  return ferror (f) || fclose (f) != 0;
2093
2094  ;
2095  return 0;
2096 }
2097 _ACEOF
2098 if ac_fn_c_try_run "$LINENO"; then :
2099  echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2100 else
2101  ac_retval=1
2102 fi
2103 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2104  conftest.$ac_objext conftest.beam conftest.$ac_ext
2105 rm -f conftest.val
2106
2107  fi
2108  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2109  as_fn_set_status $ac_retval
2110
2111 } # ac_fn_c_compute_int
1871   cat >config.log <<_ACEOF
1872   This file contains any messages produced by compilers while
1873   running configure, to aid debugging if configure makes a mistake.
# Line 3096 | Line 2855 | fi
2855  
2856  
2857  
3099
3100 # Check whether --with-extra-fascism was given.
3101 if test "${with_extra_fascism+set}" = set; then :
3102  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"
3103 fi
3104
3105
3106
3107
3108
2858   DEPDIR="${am__leading_dot}deps"
2859  
2860   ac_config_commands="$ac_config_commands depfiles"
# Line 12325 | Line 12074 | CC=$lt_save_CC
12074  
12075  
12076  
12077 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
12329 < $as_echo_n "checking for ANSI C header files... " >&6; }
12330 < if ${ac_cv_header_stdc+:} false; then :
12331 <  $as_echo_n "(cached) " >&6
12332 < else
12333 <  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12334 < /* end confdefs.h.  */
12335 < #include <stdlib.h>
12336 < #include <stdarg.h>
12337 < #include <string.h>
12338 < #include <float.h>
12339 <
12340 < int
12341 < main ()
12342 < {
12343 <
12344 <  ;
12345 <  return 0;
12346 < }
12347 < _ACEOF
12348 < if ac_fn_c_try_compile "$LINENO"; then :
12349 <  ac_cv_header_stdc=yes
12350 < else
12351 <  ac_cv_header_stdc=no
12352 < fi
12353 < rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12354 <
12355 < if test $ac_cv_header_stdc = yes; then
12356 <  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12357 <  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12358 < /* end confdefs.h.  */
12359 < #include <string.h>
12360 <
12361 < _ACEOF
12362 < if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12363 <  $EGREP "memchr" >/dev/null 2>&1; then :
12364 <
12365 < else
12366 <  ac_cv_header_stdc=no
12367 < fi
12368 < rm -f conftest*
12369 <
12370 < fi
12371 <
12372 < if test $ac_cv_header_stdc = yes; then
12373 <  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12374 <  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12375 < /* end confdefs.h.  */
12376 < #include <stdlib.h>
12377 <
12378 < _ACEOF
12379 < if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12380 <  $EGREP "free" >/dev/null 2>&1; then :
12381 <
12382 < else
12383 <  ac_cv_header_stdc=no
12384 < fi
12385 < rm -f conftest*
12386 <
12387 < fi
12388 <
12389 < if test $ac_cv_header_stdc = yes; then
12390 <  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12391 <  if test "$cross_compiling" = yes; then :
12392 <  :
12393 < else
12394 <  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12395 < /* end confdefs.h.  */
12396 < #include <ctype.h>
12397 < #include <stdlib.h>
12398 < #if ((' ' & 0x0FF) == 0x020)
12399 < # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12400 < # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12401 < #else
12402 < # define ISLOWER(c) \
12403 <                   (('a' <= (c) && (c) <= 'i') \
12404 <                     || ('j' <= (c) && (c) <= 'r') \
12405 <                     || ('s' <= (c) && (c) <= 'z'))
12406 < # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12407 < #endif
12408 <
12409 < #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12410 < int
12411 < main ()
12412 < {
12413 <  int i;
12414 <  for (i = 0; i < 256; i++)
12415 <    if (XOR (islower (i), ISLOWER (i))
12416 <        || toupper (i) != TOUPPER (i))
12417 <      return 2;
12418 <  return 0;
12419 < }
12420 < _ACEOF
12421 < if ac_fn_c_try_run "$LINENO"; then :
12422 <
12423 < else
12424 <  ac_cv_header_stdc=no
12425 < fi
12426 < rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12427 <  conftest.$ac_objext conftest.beam conftest.$ac_ext
12428 < fi
12429 <
12430 < fi
12431 < fi
12432 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
12433 < $as_echo "$ac_cv_header_stdc" >&6; }
12434 < if test $ac_cv_header_stdc = yes; then
12435 <
12436 < $as_echo "#define STDC_HEADERS 1" >>confdefs.h
12437 <
12438 < fi
12439 <
12440 <
12441 < for ac_header in sys/poll.h
12442 < do :
12443 <  ac_fn_c_check_header_mongrel "$LINENO" "sys/poll.h" "ac_cv_header_sys_poll_h" "$ac_includes_default"
12444 < if test "x$ac_cv_header_sys_poll_h" = xyes; then :
12445 <  cat >>confdefs.h <<_ACEOF
12446 < #define HAVE_SYS_POLL_H 1
12447 < _ACEOF
12448 < have_poll_sys_h=yes
12449 < else
12450 <  have_sys_poll_h=no
12451 < fi
12452 <
12453 < done
12454 <
12455 <
12456 < for ac_header in fcntl.h sys/time.h unistd.h strings.h
12077 > for ac_header in fcntl.h sys/time.h unistd.h
12078   do :
12079    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12080   ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
# Line 12467 | Line 12088 | fi
12088   done
12089  
12090  
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
12551 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
12552 if test "x$ac_cv_type_size_t" = xyes; then :
12553
12554 else
12555
12556 cat >>confdefs.h <<_ACEOF
12557 #define size_t unsigned int
12558 _ACEOF
12559
12560 fi
12561
12091   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
12092   $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
12093   if ${ac_cv_header_time+:} false; then :
# Line 12630 | Line 12159 | $as_echo "#define TM_IN_SYS_TIME 1" >>co
12159   fi
12160  
12161  
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
12162  
12163   for ac_prog in 'bison -y' byacc
12164   do
# Line 13110 | Line 12550 | fi
12550   fi
12551  
12552  
12553 < for ac_func in strlcpy strlcat inet_aton inet_pton socket strdup strstr
13114 < do :
13115 <  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13116 < ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13117 < if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13118 <  cat >>confdefs.h <<_ACEOF
13119 < #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13120 < _ACEOF
13121 <
13122 < fi
13123 < done
13124 <
13125 <
13126 < for ac_func in gethostbyname gethostbyname2
12553 > for ac_func in strlcpy strlcat socket
12554   do :
12555    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12556   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
# Line 13361 | Line 12788 | $as_echo "#define AC_APPLE_UNIVERSAL_BUI
12788   esac
12789  
12790  
12791 < # The cast to long int works around a bug in the HP C Compiler
13365 < # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13366 < # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13367 < # This bug is HP SR number 8606223364.
13368 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
13369 < $as_echo_n "checking size of int... " >&6; }
13370 < if ${ac_cv_sizeof_int+:} false; then :
13371 <  $as_echo_n "(cached) " >&6
13372 < else
13373 <  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
13374 <
13375 < else
13376 <  if test "$ac_cv_type_int" = yes; then
13377 <     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13378 < $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13379 < as_fn_error 77 "cannot compute sizeof (int)
13380 < See \`config.log' for more details" "$LINENO" 5; }
13381 <   else
13382 <     ac_cv_sizeof_int=0
13383 <   fi
13384 < fi
13385 <
13386 < fi
13387 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
13388 < $as_echo "$ac_cv_sizeof_int" >&6; }
13389 <
13390 <
13391 <
13392 < cat >>confdefs.h <<_ACEOF
13393 < #define SIZEOF_INT $ac_cv_sizeof_int
13394 < _ACEOF
13395 <
13396 <
13397 < # The cast to long int works around a bug in the HP C Compiler
13398 < # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13399 < # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13400 < # This bug is HP SR number 8606223364.
13401 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
13402 < $as_echo_n "checking size of short... " >&6; }
13403 < if ${ac_cv_sizeof_short+:} false; then :
13404 <  $as_echo_n "(cached) " >&6
13405 < else
13406 <  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short"        "$ac_includes_default"; then :
13407 <
13408 < else
13409 <  if test "$ac_cv_type_short" = yes; then
13410 <     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13411 < $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13412 < as_fn_error 77 "cannot compute sizeof (short)
13413 < See \`config.log' for more details" "$LINENO" 5; }
13414 <   else
13415 <     ac_cv_sizeof_short=0
13416 <   fi
13417 < fi
13418 <
13419 < fi
13420 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
13421 < $as_echo "$ac_cv_sizeof_short" >&6; }
13422 <
13423 <
13424 <
13425 < cat >>confdefs.h <<_ACEOF
13426 < #define SIZEOF_SHORT $ac_cv_sizeof_short
13427 < _ACEOF
13428 <
13429 <
13430 < # The cast to long int works around a bug in the HP C Compiler
13431 < # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13432 < # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13433 < # This bug is HP SR number 8606223364.
13434 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
13435 < $as_echo_n "checking size of long... " >&6; }
13436 < if ${ac_cv_sizeof_long+:} false; then :
13437 <  $as_echo_n "(cached) " >&6
13438 < else
13439 <  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
13440 <
13441 < else
13442 <  if test "$ac_cv_type_long" = yes; then
13443 <     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13444 < $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13445 < as_fn_error 77 "cannot compute sizeof (long)
13446 < See \`config.log' for more details" "$LINENO" 5; }
13447 <   else
13448 <     ac_cv_sizeof_long=0
13449 <   fi
13450 < fi
13451 <
13452 < fi
13453 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
13454 < $as_echo "$ac_cv_sizeof_long" >&6; }
13455 <
13456 <
13457 <
13458 < cat >>confdefs.h <<_ACEOF
13459 < #define SIZEOF_LONG $ac_cv_sizeof_long
13460 < _ACEOF
13461 <
13462 <
13463 <
13464 <
13465 <
13466 <
13467 <
13468 <
13469 < subdirs="$subdirs src/libopm"
13470 <
13471 <
13472 < ac_config_files="$ac_config_files Makefile doc/Makefile src/Makefile"
12791 > ac_config_files="$ac_config_files Makefile doc/Makefile src/Makefile src/libopm/Makefile src/libopm/src/Makefile"
12792  
12793   cat >confcache <<\_ACEOF
12794   # This file is a shell script that caches the results of configure
# Line 13565 | Line 12884 | DEFS=-DHAVE_CONFIG_H
12884  
12885   ac_libobjs=
12886   ac_ltlibobjs=
12887 + U=
12888   for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
12889    # 1. Remove the extension, and $U if already installed.
12890    ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
# Line 14487 | Line 13807 | do
13807      "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13808      "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
13809      "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
13810 +    "src/libopm/Makefile") CONFIG_FILES="$CONFIG_FILES src/libopm/Makefile" ;;
13811 +    "src/libopm/src/Makefile") CONFIG_FILES="$CONFIG_FILES src/libopm/src/Makefile" ;;
13812  
13813    *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13814    esac
# Line 15686 | Line 15008 | if test "$no_create" != yes; then
15008    # would make configure fail if this is the last instruction.
15009    $ac_cs_success || as_fn_exit 1
15010   fi
15689
15690 #
15691 # CONFIG_SUBDIRS section.
15692 #
15693 if test "$no_recursion" != yes; then
15694
15695  # Remove --cache-file, --srcdir, and --disable-option-checking arguments
15696  # so they do not pile up.
15697  ac_sub_configure_args=
15698  ac_prev=
15699  eval "set x $ac_configure_args"
15700  shift
15701  for ac_arg
15702  do
15703    if test -n "$ac_prev"; then
15704      ac_prev=
15705      continue
15706    fi
15707    case $ac_arg in
15708    -cache-file | --cache-file | --cache-fil | --cache-fi \
15709    | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
15710      ac_prev=cache_file ;;
15711    -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
15712    | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
15713    | --c=*)
15714      ;;
15715    --config-cache | -C)
15716      ;;
15717    -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
15718      ac_prev=srcdir ;;
15719    -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
15720      ;;
15721    -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
15722      ac_prev=prefix ;;
15723    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
15724      ;;
15725    --disable-option-checking)
15726      ;;
15727    *)
15728      case $ac_arg in
15729      *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
15730      esac
15731      as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
15732    esac
15733  done
15734
15735  # Always prepend --prefix to ensure using the same prefix
15736  # in subdir configurations.
15737  ac_arg="--prefix=$prefix"
15738  case $ac_arg in
15739  *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
15740  esac
15741  ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
15742
15743  # Pass --silent
15744  if test "$silent" = yes; then
15745    ac_sub_configure_args="--silent $ac_sub_configure_args"
15746  fi
15747
15748  # Always prepend --disable-option-checking to silence warnings, since
15749  # different subdirs can have different --enable and --with options.
15750  ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
15751
15752  ac_popdir=`pwd`
15753  for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
15754
15755    # Do not complain, so a configure script can configure whichever
15756    # parts of a large source tree are present.
15757    test -d "$srcdir/$ac_dir" || continue
15758
15759    ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
15760    $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
15761    $as_echo "$ac_msg" >&6
15762    as_dir="$ac_dir"; as_fn_mkdir_p
15763    ac_builddir=.
15764
15765 case "$ac_dir" in
15766 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15767 *)
15768  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15769  # A ".." for each directory in $ac_dir_suffix.
15770  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15771  case $ac_top_builddir_sub in
15772  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15773  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15774  esac ;;
15775 esac
15776 ac_abs_top_builddir=$ac_pwd
15777 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15778 # for backward compatibility:
15779 ac_top_builddir=$ac_top_build_prefix
15780
15781 case $srcdir in
15782  .)  # We are building in place.
15783    ac_srcdir=.
15784    ac_top_srcdir=$ac_top_builddir_sub
15785    ac_abs_top_srcdir=$ac_pwd ;;
15786  [\\/]* | ?:[\\/]* )  # Absolute name.
15787    ac_srcdir=$srcdir$ac_dir_suffix;
15788    ac_top_srcdir=$srcdir
15789    ac_abs_top_srcdir=$srcdir ;;
15790  *) # Relative name.
15791    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15792    ac_top_srcdir=$ac_top_build_prefix$srcdir
15793    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15794 esac
15795 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15796
15797
15798    cd "$ac_dir"
15799
15800    # Check for guested configure; otherwise get Cygnus style configure.
15801    if test -f "$ac_srcdir/configure.gnu"; then
15802      ac_sub_configure=$ac_srcdir/configure.gnu
15803    elif test -f "$ac_srcdir/configure"; then
15804      ac_sub_configure=$ac_srcdir/configure
15805    elif test -f "$ac_srcdir/configure.in"; then
15806      # This should be Cygnus configure.
15807      ac_sub_configure=$ac_aux_dir/configure
15808    else
15809      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
15810 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
15811      ac_sub_configure=
15812    fi
15813
15814    # The recursion is here.
15815    if test -n "$ac_sub_configure"; then
15816      # Make the cache file name correct relative to the subdirectory.
15817      case $cache_file in
15818      [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
15819      *) # Relative name.
15820        ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
15821      esac
15822
15823      { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
15824 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
15825      # The eval makes quoting arguments work.
15826      eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
15827           --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
15828        as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
15829    fi
15830
15831    cd "$ac_popdir"
15832  done
15833 fi
15011   if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15012    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15013   $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
# Line 15838 | Line 15015 | fi
15015  
15016  
15017  
15018 < echo "##############################################################################"
15019 < 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."
15018 > echo "###############################################################################"
15019 > echo "Configuration complete.  Type make (or gmake on some *BSD machines) to compile."
15020   echo
15021 < echo "hopm will be installed in ${prefix}.  To change this, run:"
15021 > echo "HOPM will be installed in ${prefix}.  To change this, run:"
15022   echo "   ./configure --prefix=DIRECTORY"
15023 < echo "##############################################################################"
15023 > echo "###############################################################################"

Comparing hopm/trunk/configure (property svn:eol-style):
Revision 5070 by michael, Mon Dec 22 15:00:01 2014 UTC vs.
Revision 5260 by michael, Thu Jan 1 17:53:18 2015 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.
Revision 5260 by michael, Thu Jan 1 17:53:18 2015 UTC

# Line 0 | Line 1
1 + Id

Diff Legend

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