ports/65838: [NEW PORT] devel/monotone: The monotone distributed version control system

Mark A. Wicks mwicks at kettering.edu
Wed Apr 21 02:50:26 UTC 2004


>Number:         65838
>Category:       ports
>Synopsis:       [NEW PORT] devel/monotone: The monotone distributed version control system
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr 20 19:50:26 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Mark A. Wicks
>Release:        FreeBSD 5.2.1-RELEASE-p4 i386
>Organization:
Kettering University
>Environment:
System: FreeBSD gaspra.kettering.edu 5.2.1-RELEASE-p4 FreeBSD 5.2.1-RELEASE-p4 #4: Fri Apr 9 08:51:26 EDT 2004 mwicks at gaspra.kettering.edu:/usr/obj/usr/src/sys/gaspra-5.2 i386

>Description:
	This is an update to PR 62554.  It's a new port of monotone for version 0.11.
        PR 62554 was a port of monotone version 0.9.

        Monotone is a distributed version control system with an emphasis on digital certificates.
    	For a complete description see http://www.venge.net/monotone/

        Except for a broken configure script, Monotone version 0.11 compiles almost right out of the box.
        It's difficult to generate the correct configure script automatically in the Makeile, so I have
	included the new configure script as a patched file.

        Thanks go to Herve Quiroz for all his help.

>How-To-Repeat:
	
>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	monotone
#	monotone/files
#	monotone/files/patch-Makefile.in
#	monotone/files/patch-configure
#	monotone/files/patch-monotone.cc
#	monotone/files/patch-sanity.hh
#	monotone/pkg-plist
#	monotone/pkg-descr
#	monotone/distinfo
#	monotone/Makefile
#
echo c - monotone
mkdir -p monotone > /dev/null 2>&1
echo c - monotone/files
mkdir -p monotone/files > /dev/null 2>&1
echo x - monotone/files/patch-Makefile.in
sed 's/^X//' >monotone/files/patch-Makefile.in << 'END-of-monotone/files/patch-Makefile.in'
X--- Makefile.in.orig	Mon Mar  1 00:49:43 2004
X+++ Makefile.in	Sun Mar 21 22:49:58 2004
X@@ -1143,7 +1143,7 @@
X 	$(CXXLINK) $(depot_cgi_LDFLAGS) $(depot_cgi_OBJECTS) $(depot_cgi_LDADD) $(LIBS)
X monotone$(EXEEXT): $(monotone_OBJECTS) $(monotone_DEPENDENCIES) 
X 	@rm -f monotone$(EXEEXT)
X-	$(CXXLINK) $(monotone_LDFLAGS) $(monotone_OBJECTS) $(monotone_LDADD) $(LIBS)
X+	$(CXXLINK) $(monotone_LDFLAGS) $(monotone_OBJECTS) $(monotone_LDADD) $(LIBS) $(LTLIBINTL) $(LTLIBICONV)
X unit_tests$(EXEEXT): $(unit_tests_OBJECTS) $(unit_tests_DEPENDENCIES) 
X 	@rm -f unit_tests$(EXEEXT)
X 	$(CXXLINK) $(unit_tests_LDFLAGS) $(unit_tests_OBJECTS) $(unit_tests_LDADD) $(LIBS)
END-of-monotone/files/patch-Makefile.in
echo x - monotone/files/patch-configure
sed 's/^X//' >monotone/files/patch-configure << 'END-of-monotone/files/patch-configure'
X--- configure-orig	Mon Mar 29 21:59:19 2004
X+++ configure	Mon Mar 29 21:59:33 2004
X@@ -310,7 +310,7 @@
X # include <unistd.h>
X #endif"
X 
X-ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE RANLIB ac_ct_RANLIB MKINSTALLDIRS USE_NLS MSGFMT GMSGFMT XGETTEXT MSGMERGE build build_cpu build_vendor build_os host host_cpu host_vendor host_os LIBICONV LTLIBICONV INTLLIBS LIBINTL LTLIBIN
 T!
L POSUB CXXCPP acx_pthread_config PTHREAD_CC PTHREAD_LIBS PTHREAD_CFLAGS STATIC_BOOST_TRUE STATIC_BOOST_FALSE BOOST_LIBDIR BUNDLED_ADNS_TRUE BUNDLED_ADNS_FALSE BUNDLED_LUA_TRUE BUNDLED_LUA_FALSE BUNDLED_SQLITE_TRUE BUNDLED_SQLITE_FALSE LIBOBJS HAVE_INET_PTON_TRUE HAVE_INET_PTON_FALSE LTLIBOBJS'
X+ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CC CFLAGS ac_ct_CC CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE RANLIB ac_ct_RANLIB MKINSTALLDIRS USE_NLS MSGFMT GMSGFMT XGETTEXT MSGMERGE build build_cpu build_vendor build_os host host_cpu host_vendor host_os LIBICONV LTLIBICONV INTLLIBS LIBINTL LTLIBINTL POSUB C
 X!
XCPP EGREP acx_pthread_config PTHREAD_CC PTHREAD_LIBS PTHREAD_CFLAGS STATIC_BOOST_TRUE STATIC_BOOST_FALSE BOOST_LIBDIR BUNDLED_ADNS_TRUE BUNDLED_ADNS_FALSE BUNDLED_LUA_TRUE BUNDLED_LUA_FALSE BUNDLED_SQLITE_TRUE BUNDLED_SQLITE_FALSE LIBOBJS HAVE_INET_PTON_TRUE HAVE_INET_PTON_FALSE LTLIBOBJS'
X ac_subst_files=''
X 
X # Initialize some variables set by options.
X@@ -751,26 +751,6 @@
X ac_env_target_alias_value=$target_alias
X ac_cv_env_target_alias_set=${target_alias+set}
X ac_cv_env_target_alias_value=$target_alias
X-ac_env_CC_set=${CC+set}
X-ac_env_CC_value=$CC
X-ac_cv_env_CC_set=${CC+set}
X-ac_cv_env_CC_value=$CC
X-ac_env_CFLAGS_set=${CFLAGS+set}
X-ac_env_CFLAGS_value=$CFLAGS
X-ac_cv_env_CFLAGS_set=${CFLAGS+set}
X-ac_cv_env_CFLAGS_value=$CFLAGS
X-ac_env_LDFLAGS_set=${LDFLAGS+set}
X-ac_env_LDFLAGS_value=$LDFLAGS
X-ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
X-ac_cv_env_LDFLAGS_value=$LDFLAGS
X-ac_env_CPPFLAGS_set=${CPPFLAGS+set}
X-ac_env_CPPFLAGS_value=$CPPFLAGS
X-ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
X-ac_cv_env_CPPFLAGS_value=$CPPFLAGS
X-ac_env_CPP_set=${CPP+set}
X-ac_env_CPP_value=$CPP
X-ac_cv_env_CPP_set=${CPP+set}
X-ac_cv_env_CPP_value=$CPP
X ac_env_CXX_set=${CXX+set}
X ac_env_CXX_value=$CXX
X ac_cv_env_CXX_set=${CXX+set}
X@@ -779,6 +759,22 @@
X ac_env_CXXFLAGS_value=$CXXFLAGS
X ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
X ac_cv_env_CXXFLAGS_value=$CXXFLAGS
X+ac_env_LDFLAGS_set=${LDFLAGS+set}
X+ac_env_LDFLAGS_value=$LDFLAGS
X+ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
X+ac_cv_env_LDFLAGS_value=$LDFLAGS
X+ac_env_CPPFLAGS_set=${CPPFLAGS+set}
X+ac_env_CPPFLAGS_value=$CPPFLAGS
X+ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
X+ac_cv_env_CPPFLAGS_value=$CPPFLAGS
X+ac_env_CC_set=${CC+set}
X+ac_env_CC_value=$CC
X+ac_cv_env_CC_set=${CC+set}
X+ac_cv_env_CC_value=$CC
X+ac_env_CFLAGS_set=${CFLAGS+set}
X+ac_env_CFLAGS_value=$CFLAGS
X+ac_cv_env_CFLAGS_set=${CFLAGS+set}
X+ac_cv_env_CFLAGS_value=$CFLAGS
X ac_env_CXXCPP_set=${CXXCPP+set}
X ac_env_CXXCPP_value=$CXXCPP
X ac_cv_env_CXXCPP_set=${CXXCPP+set}
X@@ -883,15 +879,14 @@
X   --with-bundled-sqlite   Force use of bundled version of sqlite (default=no)
X 
X Some influential environment variables:
X-  CC          C compiler command
X-  CFLAGS      C compiler flags
X+  CXX         C++ compiler command
X+  CXXFLAGS    C++ compiler flags
X   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
X               nonstandard directory <lib dir>
X   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
X               headers in a nonstandard directory <include dir>
X-  CPP         C preprocessor
X-  CXX         C++ compiler command
X-  CXXFLAGS    C++ compiler flags
X+  CC          C compiler command
X+  CFLAGS      C compiler flags
X   CXXCPP      C++ preprocessor
X 
X Use these variables to override the choices made by `configure' or to help
X@@ -1725,88 +1720,28 @@
X if test "z$CXXFLAGS" = "z"
X then
X 	CXXFLAGS="-O2 -fno-strict-aliasing"
X-	# we have some sse2 code in cryptopp which is worth
X-	# enabling if we're on a system which can build it
X-	DEPDIR="${am__leading_dot}deps"
X-
X-          ac_config_commands="$ac_config_commands depfiles"
X-
X-
X-am_make=${MAKE-make}
X-cat > confinc << 'END'
X-am__doit:
X-	@echo done
X-.PHONY: am__doit
X-END
X-# If we don't find an include directive, just comment out the code.
X-echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
X-echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
X-am__include="#"
X-am__quote=
X-_am_result=none
X-# First try GNU make style include.
X-echo "include confinc" > confmf
X-# We grep out `Entering directory' and `Leaving directory'
X-# messages which can occur if `w' ends up in MAKEFLAGS.
X-# In particular we don't look at `^make:' because GNU make might
X-# be invoked under some other name (usually "gmake"), in which
X-# case it prints its new name instead of `make'.
X-if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
X-   am__include=include
X-   am__quote=
X-   _am_result=GNU
X-fi
X-# Now try BSD make style include.
X-if test "$am__include" = "#"; then
X-   echo '.include "confinc"' > confmf
X-   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
X-      am__include=.include
X-      am__quote="\""
X-      _am_result=BSD
X-   fi
X-fi
X-
X-
X-echo "$as_me:$LINENO: result: $_am_result" >&5
X-echo "${ECHO_T}$_am_result" >&6
X-rm -f confinc confmf
X-
X-# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
X-if test "${enable_dependency_tracking+set}" = set; then
X-  enableval="$enable_dependency_tracking"
X-
X-fi;
X-if test "x$enable_dependency_tracking" != xno; then
X-  am_depcomp="$ac_aux_dir/depcomp"
X-  AMDEPBACKSLASH='\'
X-fi
X-
X-
X-if test "x$enable_dependency_tracking" != xno; then
X-  AMDEP_TRUE=
X-  AMDEP_FALSE='#'
X-else
X-  AMDEP_TRUE='#'
X-  AMDEP_FALSE=
X fi
X 
X+test "z$CFLAGS" = "z" && CFLAGS="-O2 -fno-strict-aliasing"
X 
X-
X-ac_ext=c
X-ac_cpp='$CPP $CPPFLAGS'
X-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
X-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
X-ac_compiler_gnu=$ac_cv_c_compiler_gnu
X+# Checks for programs.
X+ac_ext=cc
X+ac_cpp='$CXXCPP $CPPFLAGS'
X+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
X+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
X+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
X if test -n "$ac_tool_prefix"; then
X-  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
X-set dummy ${ac_tool_prefix}gcc; ac_word=$2
X+  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
X+  do
X+    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
X+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
X echo "$as_me:$LINENO: checking for $ac_word" >&5
X echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
X-if test "${ac_cv_prog_CC+set}" = set; then
X+if test "${ac_cv_prog_CXX+set}" = set; then
X   echo $ECHO_N "(cached) $ECHO_C" >&6
X else
X-  if test -n "$CC"; then
X-  ac_cv_prog_CC="$CC" # Let the user override the test.
X+  if test -n "$CXX"; then
X+  ac_cv_prog_CXX="$CXX" # Let the user override the test.
X else
X as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
X for as_dir in $PATH
X@@ -1815,7 +1750,7 @@
X   test -z "$as_dir" && as_dir=.
X   for ac_exec_ext in '' $ac_executable_extensions; do
X   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
X-    ac_cv_prog_CC="${ac_tool_prefix}gcc"
X+    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
X     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
X     break 2
X   fi
X@@ -1824,69 +1759,31 @@
X 
X fi
X fi
X-CC=$ac_cv_prog_CC
X-if test -n "$CC"; then
X-  echo "$as_me:$LINENO: result: $CC" >&5
X-echo "${ECHO_T}$CC" >&6
X+CXX=$ac_cv_prog_CXX
X+if test -n "$CXX"; then
X+  echo "$as_me:$LINENO: result: $CXX" >&5
X+echo "${ECHO_T}$CXX" >&6
X else
X   echo "$as_me:$LINENO: result: no" >&5
X echo "${ECHO_T}no" >&6
X fi
X 
X+    test -n "$CXX" && break
X+  done
X fi
X-if test -z "$ac_cv_prog_CC"; then
X-  ac_ct_CC=$CC
X-  # Extract the first word of "gcc", so it can be a program name with args.
X-set dummy gcc; ac_word=$2
X-echo "$as_me:$LINENO: checking for $ac_word" >&5
X-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
X-if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
X-  echo $ECHO_N "(cached) $ECHO_C" >&6
X-else
X-  if test -n "$ac_ct_CC"; then
X-  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
X-else
X-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
X-for as_dir in $PATH
X+if test -z "$CXX"; then
X+  ac_ct_CXX=$CXX
X+  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
X do
X-  IFS=$as_save_IFS
X-  test -z "$as_dir" && as_dir=.
X-  for ac_exec_ext in '' $ac_executable_extensions; do
X-  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
X-    ac_cv_prog_ac_ct_CC="gcc"
X-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
X-    break 2
X-  fi
X-done
X-done
X-
X-fi
X-fi
X-ac_ct_CC=$ac_cv_prog_ac_ct_CC
X-if test -n "$ac_ct_CC"; then
X-  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
X-echo "${ECHO_T}$ac_ct_CC" >&6
X-else
X-  echo "$as_me:$LINENO: result: no" >&5
X-echo "${ECHO_T}no" >&6
X-fi
X-
X-  CC=$ac_ct_CC
X-else
X-  CC="$ac_cv_prog_CC"
X-fi
X-
X-if test -z "$CC"; then
X-  if test -n "$ac_tool_prefix"; then
X-  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
X-set dummy ${ac_tool_prefix}cc; ac_word=$2
X+  # Extract the first word of "$ac_prog", so it can be a program name with args.
X+set dummy $ac_prog; ac_word=$2
X echo "$as_me:$LINENO: checking for $ac_word" >&5
X echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
X-if test "${ac_cv_prog_CC+set}" = set; then
X+if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
X   echo $ECHO_N "(cached) $ECHO_C" >&6
X else
X-  if test -n "$CC"; then
X-  ac_cv_prog_CC="$CC" # Let the user override the test.
X+  if test -n "$ac_ct_CXX"; then
X+  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
X else
X as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
X for as_dir in $PATH
X@@ -1895,7 +1792,7 @@
X   test -z "$as_dir" && as_dir=.
X   for ac_exec_ext in '' $ac_executable_extensions; do
X   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
X-    ac_cv_prog_CC="${ac_tool_prefix}cc"
X+    ac_cv_prog_ac_ct_CXX="$ac_prog"
X     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
X     break 2
X   fi
X@@ -1904,212 +1801,26 @@
X 
X fi
X fi
X-CC=$ac_cv_prog_CC
X-if test -n "$CC"; then
X-  echo "$as_me:$LINENO: result: $CC" >&5
X-echo "${ECHO_T}$CC" >&6
X+ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
X+if test -n "$ac_ct_CXX"; then
X+  echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
X+echo "${ECHO_T}$ac_ct_CXX" >&6
X else
X   echo "$as_me:$LINENO: result: no" >&5
X echo "${ECHO_T}no" >&6
X fi
X 
X-fi
X-if test -z "$ac_cv_prog_CC"; then
X-  ac_ct_CC=$CC
X-  # Extract the first word of "cc", so it can be a program name with args.
X-set dummy cc; ac_word=$2
X-echo "$as_me:$LINENO: checking for $ac_word" >&5
X-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
X-if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
X-  echo $ECHO_N "(cached) $ECHO_C" >&6
X-else
X-  if test -n "$ac_ct_CC"; then
X-  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
X-else
X-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
X-for as_dir in $PATH
X-do
X-  IFS=$as_save_IFS
X-  test -z "$as_dir" && as_dir=.
X-  for ac_exec_ext in '' $ac_executable_extensions; do
X-  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
X-    ac_cv_prog_ac_ct_CC="cc"
X-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
X-    break 2
X-  fi
X-done
X+  test -n "$ac_ct_CXX" && break
X done
X+test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
X 
X-fi
X-fi
X-ac_ct_CC=$ac_cv_prog_ac_ct_CC
X-if test -n "$ac_ct_CC"; then
X-  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
X-echo "${ECHO_T}$ac_ct_CC" >&6
X-else
X-  echo "$as_me:$LINENO: result: no" >&5
X-echo "${ECHO_T}no" >&6
X+  CXX=$ac_ct_CXX
X fi
X 
X-  CC=$ac_ct_CC
X-else
X-  CC="$ac_cv_prog_CC"
X-fi
X-
X-fi
X-if test -z "$CC"; then
X-  # Extract the first word of "cc", so it can be a program name with args.
X-set dummy cc; ac_word=$2
X-echo "$as_me:$LINENO: checking for $ac_word" >&5
X-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
X-if test "${ac_cv_prog_CC+set}" = set; then
X-  echo $ECHO_N "(cached) $ECHO_C" >&6
X-else
X-  if test -n "$CC"; then
X-  ac_cv_prog_CC="$CC" # Let the user override the test.
X-else
X-  ac_prog_rejected=no
X-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
X-for as_dir in $PATH
X-do
X-  IFS=$as_save_IFS
X-  test -z "$as_dir" && as_dir=.
X-  for ac_exec_ext in '' $ac_executable_extensions; do
X-  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
X-    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
X-       ac_prog_rejected=yes
X-       continue
X-     fi
X-    ac_cv_prog_CC="cc"
X-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
X-    break 2
X-  fi
X-done
X-done
X-
X-if test $ac_prog_rejected = yes; then
X-  # We found a bogon in the path, so make sure we never use it.
X-  set dummy $ac_cv_prog_CC
X-  shift
X-  if test $# != 0; then
X-    # We chose a different compiler from the bogus one.
X-    # However, it has the same basename, so the bogon will be chosen
X-    # first if we set CC to just the basename; use the full file name.
X-    shift
X-    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
X-  fi
X-fi
X-fi
X-fi
X-CC=$ac_cv_prog_CC
X-if test -n "$CC"; then
X-  echo "$as_me:$LINENO: result: $CC" >&5
X-echo "${ECHO_T}$CC" >&6
X-else
X-  echo "$as_me:$LINENO: result: no" >&5
X-echo "${ECHO_T}no" >&6
X-fi
X-
X-fi
X-if test -z "$CC"; then
X-  if test -n "$ac_tool_prefix"; then
X-  for ac_prog in cl
X-  do
X-    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
X-set dummy $ac_tool_prefix$ac_prog; ac_word=$2
X-echo "$as_me:$LINENO: checking for $ac_word" >&5
X-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
X-if test "${ac_cv_prog_CC+set}" = set; then
X-  echo $ECHO_N "(cached) $ECHO_C" >&6
X-else
X-  if test -n "$CC"; then
X-  ac_cv_prog_CC="$CC" # Let the user override the test.
X-else
X-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
X-for as_dir in $PATH
X-do
X-  IFS=$as_save_IFS
X-  test -z "$as_dir" && as_dir=.
X-  for ac_exec_ext in '' $ac_executable_extensions; do
X-  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
X-    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
X-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
X-    break 2
X-  fi
X-done
X-done
X-
X-fi
X-fi
X-CC=$ac_cv_prog_CC
X-if test -n "$CC"; then
X-  echo "$as_me:$LINENO: result: $CC" >&5
X-echo "${ECHO_T}$CC" >&6
X-else
X-  echo "$as_me:$LINENO: result: no" >&5
X-echo "${ECHO_T}no" >&6
X-fi
X-
X-    test -n "$CC" && break
X-  done
X-fi
X-if test -z "$CC"; then
X-  ac_ct_CC=$CC
X-  for ac_prog in cl
X-do
X-  # Extract the first word of "$ac_prog", so it can be a program name with args.
X-set dummy $ac_prog; ac_word=$2
X-echo "$as_me:$LINENO: checking for $ac_word" >&5
X-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
X-if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
X-  echo $ECHO_N "(cached) $ECHO_C" >&6
X-else
X-  if test -n "$ac_ct_CC"; then
X-  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
X-else
X-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
X-for as_dir in $PATH
X-do
X-  IFS=$as_save_IFS
X-  test -z "$as_dir" && as_dir=.
X-  for ac_exec_ext in '' $ac_executable_extensions; do
X-  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
X-    ac_cv_prog_ac_ct_CC="$ac_prog"
X-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
X-    break 2
X-  fi
X-done
X-done
X-
X-fi
X-fi
X-ac_ct_CC=$ac_cv_prog_ac_ct_CC
X-if test -n "$ac_ct_CC"; then
X-  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
X-echo "${ECHO_T}$ac_ct_CC" >&6
X-else
X-  echo "$as_me:$LINENO: result: no" >&5
X-echo "${ECHO_T}no" >&6
X-fi
X-
X-  test -n "$ac_ct_CC" && break
X-done
X-
X-  CC=$ac_ct_CC
X-fi
X-
X-fi
X-
X-
X-test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
X-See \`config.log' for more details." >&5
X-echo "$as_me: error: no acceptable C compiler found in \$PATH
X-See \`config.log' for more details." >&2;}
X-   { (exit 1); exit 1; }; }
X 
X # Provide some information about the compiler.
X echo "$as_me:$LINENO:" \
X-     "checking for C compiler version" >&5
X+     "checking for C++ compiler version" >&5
X ac_compiler=`set X $ac_compile; echo $2`
X { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
X   (eval $ac_compiler --version </dev/null >&5) 2>&5
X@@ -2148,8 +1859,8 @@
X # Try to create an executable without -o first, disregard a.out.
X # It will help us diagnose broken compilers, and finding out an intuition
X # of exeext.
X-echo "$as_me:$LINENO: checking for C compiler default output" >&5
X-echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
X+echo "$as_me:$LINENO: checking for C++ compiler default output" >&5
X+echo $ECHO_N "checking for C++ compiler default output... $ECHO_C" >&6
X ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
X if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
X   (eval $ac_link_default) 2>&5
X@@ -2192,9 +1903,9 @@
X   echo "$as_me: failed program was:" >&5
X sed 's/^/| /' conftest.$ac_ext >&5
X 
X-{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
X+{ { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
X See \`config.log' for more details." >&5
X-echo "$as_me: error: C compiler cannot create executables
X+echo "$as_me: error: C++ compiler cannot create executables
X See \`config.log' for more details." >&2;}
X    { (exit 77); exit 77; }; }
X fi
X@@ -2205,8 +1916,8 @@
X 
X # Check the compiler produces executables we can run.  If not, either
X # the compiler is broken, or we cross compile.
X-echo "$as_me:$LINENO: checking whether the C compiler works" >&5
X-echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
X+echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
X+echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
X # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
X # If not cross compiling, check that we can run a simple program.
X if test "$cross_compiling" != yes; then
X@@ -2221,10 +1932,10 @@
X     if test "$cross_compiling" = maybe; then
X 	cross_compiling=yes
X     else
X-	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
X+	{ { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
X If you meant to cross compile, use \`--host'.
X See \`config.log' for more details." >&5
X-echo "$as_me: error: cannot run C compiled programs.
X+echo "$as_me: error: cannot run C++ compiled programs.
X If you meant to cross compile, use \`--host'.
X See \`config.log' for more details." >&2;}
X    { (exit 1); exit 1; }; }
X@@ -2259,1243 +1970,77 @@
X   case $ac_file in
X     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
X     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
X-          export ac_cv_exeext
X-          break;;
X-    * ) break;;
X-  esac
X-done
X-else
X-  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
X-See \`config.log' for more details." >&5
X-echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
X-See \`config.log' for more details." >&2;}
X-   { (exit 1); exit 1; }; }
X-fi
X-
X-rm -f conftest$ac_cv_exeext
X-echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
X-echo "${ECHO_T}$ac_cv_exeext" >&6
X-
X-rm -f conftest.$ac_ext
X-EXEEXT=$ac_cv_exeext
X-ac_exeext=$EXEEXT
X-echo "$as_me:$LINENO: checking for suffix of object files" >&5
X-echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
X-if test "${ac_cv_objext+set}" = set; then
X-  echo $ECHO_N "(cached) $ECHO_C" >&6
X-else
X-  cat >conftest.$ac_ext <<_ACEOF
X-#line $LINENO "configure"
X-/* confdefs.h.  */
X-_ACEOF
X-cat confdefs.h >>conftest.$ac_ext
X-cat >>conftest.$ac_ext <<_ACEOF
X-/* end confdefs.h.  */
X-
X-int
X-main ()
X-{
X-
X-  ;
X-  return 0;
X-}
X-_ACEOF
X-rm -f conftest.o conftest.obj
X-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
X-  (eval $ac_compile) 2>&5
X-  ac_status=$?
X-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
X-  (exit $ac_status); }; then
X-  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
X-  case $ac_file in
X-    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
X-    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
X-       break;;
X-  esac
X-done
X-else
X-  echo "$as_me: failed program was:" >&5
X-sed 's/^/| /' conftest.$ac_ext >&5
X-
X-{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
X-See \`config.log' for more details." >&5
X-echo "$as_me: error: cannot compute suffix of object files: cannot compile
X-See \`config.log' for more details." >&2;}
X-   { (exit 1); exit 1; }; }
X-fi
X-
X-rm -f conftest.$ac_cv_objext conftest.$ac_ext
X-fi
X-echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
X-echo "${ECHO_T}$ac_cv_objext" >&6
X-OBJEXT=$ac_cv_objext
X-ac_objext=$OBJEXT
X-echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
X-echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
X-if test "${ac_cv_c_compiler_gnu+set}" = set; then
X-  echo $ECHO_N "(cached) $ECHO_C" >&6
X-else
X-  cat >conftest.$ac_ext <<_ACEOF
X-#line $LINENO "configure"
X-/* confdefs.h.  */
X-_ACEOF
X-cat confdefs.h >>conftest.$ac_ext
X-cat >>conftest.$ac_ext <<_ACEOF
X-/* end confdefs.h.  */
X-
X-int
X-main ()
X-{
X-#ifndef __GNUC__
X-       choke me
X-#endif
X-
X-  ;
X-  return 0;
X-}
X-_ACEOF
X-rm -f conftest.$ac_objext
X-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
X-  (eval $ac_compile) 2>&5
X-  ac_status=$?
X-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
X-  (exit $ac_status); } &&
X-         { ac_try='test -s conftest.$ac_objext'
X-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
X-  (eval $ac_try) 2>&5
X-  ac_status=$?
X-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
X-  (exit $ac_status); }; }; then
X-  ac_compiler_gnu=yes
X-else
X-  echo "$as_me: failed program was:" >&5
X-sed 's/^/| /' conftest.$ac_ext >&5
X-
X-ac_compiler_gnu=no
X-fi
X-rm -f conftest.$ac_objext conftest.$ac_ext
X-ac_cv_c_compiler_gnu=$ac_compiler_gnu
X-
X-fi
X-echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
X-echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
X-GCC=`test $ac_compiler_gnu = yes && echo yes`
X-ac_test_CFLAGS=${CFLAGS+set}
X-ac_save_CFLAGS=$CFLAGS
X-CFLAGS="-g"
X-echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
X-echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
X-if test "${ac_cv_prog_cc_g+set}" = set; then
X-  echo $ECHO_N "(cached) $ECHO_C" >&6
X-else
X-  cat >conftest.$ac_ext <<_ACEOF
X-#line $LINENO "configure"
X-/* confdefs.h.  */
X-_ACEOF
X-cat confdefs.h >>conftest.$ac_ext
X-cat >>conftest.$ac_ext <<_ACEOF
X-/* end confdefs.h.  */
X-
X-int
X-main ()
X-{
X-
X-  ;
X-  return 0;
X-}
X-_ACEOF
X-rm -f conftest.$ac_objext
X-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
X-  (eval $ac_compile) 2>&5
X-  ac_status=$?
X-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
X-  (exit $ac_status); } &&
X-         { ac_try='test -s conftest.$ac_objext'
X-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
X-  (eval $ac_try) 2>&5
X-  ac_status=$?
X-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
X-  (exit $ac_status); }; }; then
X-  ac_cv_prog_cc_g=yes
X-else
X-  echo "$as_me: failed program was:" >&5
X-sed 's/^/| /' conftest.$ac_ext >&5
X-
X-ac_cv_prog_cc_g=no
X-fi
X-rm -f conftest.$ac_objext conftest.$ac_ext
X-fi
X-echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
X-echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
X-if test "$ac_test_CFLAGS" = set; then
X-  CFLAGS=$ac_save_CFLAGS
X-elif test $ac_cv_prog_cc_g = yes; then
X-  if test "$GCC" = yes; then
X-    CFLAGS="-g -O2"
X-  else
X-    CFLAGS="-g"
X-  fi
X-else
X-  if test "$GCC" = yes; then
X-    CFLAGS="-O2"
X-  else
X-    CFLAGS=
X-  fi
X-fi
X-echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
X-echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
X-if test "${ac_cv_prog_cc_stdc+set}" = set; then
X-  echo $ECHO_N "(cached) $ECHO_C" >&6
X-else
X-  ac_cv_prog_cc_stdc=no
X-ac_save_CC=$CC
X-cat >conftest.$ac_ext <<_ACEOF
X-#line $LINENO "configure"
X-/* confdefs.h.  */
X-_ACEOF
X-cat confdefs.h >>conftest.$ac_ext
X-cat >>conftest.$ac_ext <<_ACEOF
X-/* end confdefs.h.  */
X-#include <stdarg.h>
X-#include <stdio.h>
X-#include <sys/types.h>
X-#include <sys/stat.h>
X-/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
X-struct buf { int x; };
X-FILE * (*rcsopen) (struct buf *, struct stat *, int);
X-static char *e (p, i)
X-     char **p;
X-     int i;
X-{
X-  return p[i];
X-}
X-static char *f (char * (*g) (char **, int), char **p, ...)
X-{
X-  char *s;
X-  va_list v;
X-  va_start (v,p);
X-  s = g (p, va_arg (v,int));
X-  va_end (v);
X-  return s;
X-}
X-int test (int i, double x);
X-struct s1 {int (*f) (int a);};
X-struct s2 {int (*f) (double a);};
X-int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
X-int argc;
X-char **argv;
X-int
X-main ()
X-{
X-return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
X-  ;
X-  return 0;
X-}
X-_ACEOF
X-# Don't try gcc -ansi; that turns off useful extensions and
X-# breaks some systems' header files.
X-# AIX			-qlanglvl=ansi
X-# Ultrix and OSF/1	-std1
X-# HP-UX 10.20 and later	-Ae
X-# HP-UX older versions	-Aa -D_HPUX_SOURCE
X-# SVR4			-Xc -D__EXTENSIONS__
X-for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
X-do
X-  CC="$ac_save_CC $ac_arg"
X-  rm -f conftest.$ac_objext
X-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
X-  (eval $ac_compile) 2>&5
X-  ac_status=$?
X-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
X-  (exit $ac_status); } &&
X-         { ac_try='test -s conftest.$ac_objext'
X-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
X-  (eval $ac_try) 2>&5
X-  ac_status=$?
X-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
X-  (exit $ac_status); }; }; then
X-  ac_cv_prog_cc_stdc=$ac_arg
X-break
X-else
X-  echo "$as_me: failed program was:" >&5
X-sed 's/^/| /' conftest.$ac_ext >&5
X-
X-fi
X-rm -f conftest.$ac_objext
X-done
X-rm -f conftest.$ac_ext conftest.$ac_objext
X-CC=$ac_save_CC
X-
X-fi
X-
X-case "x$ac_cv_prog_cc_stdc" in
X-  x|xno)
X-    echo "$as_me:$LINENO: result: none needed" >&5
X-echo "${ECHO_T}none needed" >&6 ;;
X-  *)
X-    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
X-echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
X-    CC="$CC $ac_cv_prog_cc_stdc" ;;
X-esac
X-
X-# Some people use a C++ compiler to compile C.  Since we use `exit',
X-# in C++ we need to declare it.  In case someone uses the same compiler
X-# for both compiling C and C++ we need to have the C++ compiler decide
X-# the declaration of exit, since it's the most demanding environment.
X-cat >conftest.$ac_ext <<_ACEOF
X-#ifndef __cplusplus
X-  choke me
X-#endif
X-_ACEOF
X-rm -f conftest.$ac_objext
X-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
X-  (eval $ac_compile) 2>&5
X-  ac_status=$?
X-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
X-  (exit $ac_status); } &&
X-         { ac_try='test -s conftest.$ac_objext'
X-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
X-  (eval $ac_try) 2>&5
X-  ac_status=$?
X-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
X-  (exit $ac_status); }; }; then
X-  for ac_declaration in \
X-   ''\
X-   '#include <stdlib.h>' \
X-   'extern "C" void std::exit (int) throw (); using std::exit;' \
X-   'extern "C" void std::exit (int); using std::exit;' \
X-   'extern "C" void exit (int) throw ();' \
X-   'extern "C" void exit (int);' \
X-   'void exit (int);'
X-do
X-  cat >conftest.$ac_ext <<_ACEOF
X-#line $LINENO "configure"
X-/* confdefs.h.  */
X-_ACEOF
X-cat confdefs.h >>conftest.$ac_ext
X-cat >>conftest.$ac_ext <<_ACEOF
X-/* end confdefs.h.  */
X-#include <stdlib.h>
X-$ac_declaration
X-int
X-main ()
X-{
X-exit (42);
X-  ;
X-  return 0;
X-}
X-_ACEOF
X-rm -f conftest.$ac_objext
X-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
X-  (eval $ac_compile) 2>&5
X-  ac_status=$?
X-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
X-  (exit $ac_status); } &&
X-         { ac_try='test -s conftest.$ac_objext'
X-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
X-  (eval $ac_try) 2>&5
X-  ac_status=$?
X-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
X-  (exit $ac_status); }; }; then
X-  :
X-else
X-  echo "$as_me: failed program was:" >&5
X-sed 's/^/| /' conftest.$ac_ext >&5
X-
X-continue
X-fi
X-rm -f conftest.$ac_objext conftest.$ac_ext
X-  cat >conftest.$ac_ext <<_ACEOF
X-#line $LINENO "configure"
X-/* confdefs.h.  */
X-_ACEOF
X-cat confdefs.h >>conftest.$ac_ext
X-cat >>conftest.$ac_ext <<_ACEOF
X-/* end confdefs.h.  */
X-$ac_declaration
X-int
X-main ()
X-{
X-exit (42);
X-  ;
X-  return 0;
X-}
X-_ACEOF
X-rm -f conftest.$ac_objext
X-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
X-  (eval $ac_compile) 2>&5
X-  ac_status=$?
X-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
X-  (exit $ac_status); } &&
X-         { ac_try='test -s conftest.$ac_objext'
X-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
X-  (eval $ac_try) 2>&5
X-  ac_status=$?
X-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
X-  (exit $ac_status); }; }; then
X-  break
X-else
X-  echo "$as_me: failed program was:" >&5
X-sed 's/^/| /' conftest.$ac_ext >&5
X-
X-fi
X-rm -f conftest.$ac_objext conftest.$ac_ext
X-done
X-rm -f conftest*
X-if test -n "$ac_declaration"; then
X-  echo '#ifdef __cplusplus' >>confdefs.h
X-  echo $ac_declaration      >>confdefs.h
X-  echo '#endif'             >>confdefs.h
X-fi
X-
X-else
X-  echo "$as_me: failed program was:" >&5
X-sed 's/^/| /' conftest.$ac_ext >&5
X-
X-fi
X-rm -f conftest.$ac_objext conftest.$ac_ext
X-ac_ext=c
X-ac_cpp='$CPP $CPPFLAGS'
X-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
X-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
X-ac_compiler_gnu=$ac_cv_c_compiler_gnu
X-
X-depcc="$CC"   am_compiler_list=
X-
X-echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
X-echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
X-if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
X-  echo $ECHO_N "(cached) $ECHO_C" >&6
X-else
X-  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
X-  # We make a subdir and do the tests there.  Otherwise we can end up
X-  # making bogus files that we don't know about and never remove.  For
X-  # instance it was reported that on HP-UX the gcc test will end up
X-  # making a dummy file named `D' -- because `-MD' means `put the output
X-  # in D'.
X-  mkdir conftest.dir
X-  # Copy depcomp to subdir because otherwise we won't find it if we're
X-  # using a relative directory.
X-  cp "$am_depcomp" conftest.dir
X-  cd conftest.dir
X-  # We will build objects and dependencies in a subdirectory because
X-  # it helps to detect inapplicable dependency modes.  For instance
X-  # both Tru64's cc and ICC support -MD to output dependencies as a
X-  # side effect of compilation, but ICC will put the dependencies in
X-  # the current directory while Tru64 will put them in the object
X-  # directory.
X-  mkdir sub
X-
X-  am_cv_CC_dependencies_compiler_type=none
X-  if test "$am_compiler_list" = ""; then
X-     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
X-  fi
X-  for depmode in $am_compiler_list; do
X-    # Setup a source with many dependencies, because some compilers
X-    # like to wrap large dependency lists on column 80 (with \), and
X-    # we should not choose a depcomp mode which is confused by this.
X-    #
X-    # We need to recreate these files for each test, as the compiler may
X-    # overwrite some of them when testing with obscure command lines.
X-    # This happens at least with the AIX C compiler.
X-    : > sub/conftest.c
X-    for i in 1 2 3 4 5 6; do
X-      echo '#include "conftst'$i'.h"' >> sub/conftest.c
X-      : > sub/conftst$i.h
X-    done
X-    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
X-
X-    case $depmode in
X-    nosideeffect)
X-      # after this tag, mechanisms are not by side-effect, so they'll
X-      # only be used when explicitly requested
X-      if test "x$enable_dependency_tracking" = xyes; then
X-	continue
X-      else
X-	break
X-      fi
X-      ;;
X-    none) break ;;
X-    esac
X-    # We check with `-c' and `-o' for the sake of the "dashmstdout"
X-    # mode.  It turns out that the SunPro C++ compiler does not properly
X-    # handle `-M -o', and we need to detect this.
X-    if depmode=$depmode \
X-       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
X-       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
X-       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
X-         >/dev/null 2>conftest.err &&
X-       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
X-       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
X-       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
X-      # icc doesn't choke on unknown options, it will just issue warnings
X-      # (even with -Werror).  So we grep stderr for any message
X-      # that says an option was ignored.
X-      if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
X-        am_cv_CC_dependencies_compiler_type=$depmode
X-        break
X-      fi
X-    fi
X-  done
X-
X-  cd ..
X-  rm -rf conftest.dir
X-else
X-  am_cv_CC_dependencies_compiler_type=none
X-fi
X-
X-fi
X-echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
X-echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
X-CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
X-
X-
X-
X-if
X-  test "x$enable_dependency_tracking" != xno \
X-  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
X-  am__fastdepCC_TRUE=
X-  am__fastdepCC_FALSE='#'
X-else
X-  am__fastdepCC_TRUE='#'
X-  am__fastdepCC_FALSE=
X-fi
X-
X-
X-
X-ac_ext=c
X-ac_cpp='$CPP $CPPFLAGS'
X-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
X-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
X-ac_compiler_gnu=$ac_cv_c_compiler_gnu
X-echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
X-echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
X-# On Suns, sometimes $CPP names a directory.
X-if test -n "$CPP" && test -d "$CPP"; then
X-  CPP=
X-fi
X-if test -z "$CPP"; then
X-  if test "${ac_cv_prog_CPP+set}" = set; then
X-  echo $ECHO_N "(cached) $ECHO_C" >&6
X-else
X-      # Double quotes because CPP needs to be expanded
X-    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
X-    do
X-      ac_preproc_ok=false
X-for ac_c_preproc_warn_flag in '' yes
X-do
X-  # Use a header file that comes with gcc, so configuring glibc
X-  # with a fresh cross-compiler works.
X-  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
X-  # <limits.h> exists even on freestanding compilers.
X-  # On the NeXT, cc -E runs the code through the compiler's parser,
X-  # not just through cpp. "Syntax error" is here to catch this case.
X-  cat >conftest.$ac_ext <<_ACEOF
X-#line $LINENO "configure"
X-/* confdefs.h.  */
X-_ACEOF
X-cat confdefs.h >>conftest.$ac_ext
X-cat >>conftest.$ac_ext <<_ACEOF
X-/* end confdefs.h.  */
X-#ifdef __STDC__
X-# include <limits.h>
X-#else
X-# include <assert.h>
X-#endif
X-                     Syntax error
X-_ACEOF
X-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
X-  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
X-  ac_status=$?
X-  grep -v '^ *+' conftest.er1 >conftest.err
X-  rm -f conftest.er1
X-  cat conftest.err >&5
X-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
X-  (exit $ac_status); } >/dev/null; then
X-  if test -s conftest.err; then
X-    ac_cpp_err=$ac_c_preproc_warn_flag
X-  else
X-    ac_cpp_err=
X-  fi
X-else
X-  ac_cpp_err=yes
X-fi
X-if test -z "$ac_cpp_err"; then
X-  :
X-else
X-  echo "$as_me: failed program was:" >&5
X-sed 's/^/| /' conftest.$ac_ext >&5
X-
X-  # Broken: fails on valid input.
X-continue
X-fi
X-rm -f conftest.err conftest.$ac_ext
X-
X-  # OK, works on sane cases.  Now check whether non-existent headers
X-  # can be detected and how.
X-  cat >conftest.$ac_ext <<_ACEOF
X-#line $LINENO "configure"
X-/* confdefs.h.  */
X-_ACEOF
X-cat confdefs.h >>conftest.$ac_ext
X-cat >>conftest.$ac_ext <<_ACEOF
X-/* end confdefs.h.  */
X-#include <ac_nonexistent.h>
X-_ACEOF
X-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
X-  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
X-  ac_status=$?
X-  grep -v '^ *+' conftest.er1 >conftest.err
X-  rm -f conftest.er1
X-  cat conftest.err >&5
X-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
X-  (exit $ac_status); } >/dev/null; then
X-  if test -s conftest.err; then
X-    ac_cpp_err=$ac_c_preproc_warn_flag
X-  else
X-    ac_cpp_err=
X-  fi
X-else
X-  ac_cpp_err=yes
X-fi
X-if test -z "$ac_cpp_err"; then
X-  # Broken: success on invalid input.
X-continue
X-else
X-  echo "$as_me: failed program was:" >&5
X-sed 's/^/| /' conftest.$ac_ext >&5
X-
X-  # Passes both tests.
X-ac_preproc_ok=:
X-break
X-fi
X-rm -f conftest.err conftest.$ac_ext
X-
X-done
X-# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
X-rm -f conftest.err conftest.$ac_ext
X-if $ac_preproc_ok; then
X-  break
X-fi
X-
X-    done
X-    ac_cv_prog_CPP=$CPP
X-
X-fi
X-  CPP=$ac_cv_prog_CPP
X-else
X-  ac_cv_prog_CPP=$CPP
X-fi
X-echo "$as_me:$LINENO: result: $CPP" >&5
X-echo "${ECHO_T}$CPP" >&6
X-ac_preproc_ok=false
X-for ac_c_preproc_warn_flag in '' yes
X-do
X-  # Use a header file that comes with gcc, so configuring glibc
X-  # with a fresh cross-compiler works.
X-  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
X-  # <limits.h> exists even on freestanding compilers.
X-  # On the NeXT, cc -E runs the code through the compiler's parser,
X-  # not just through cpp. "Syntax error" is here to catch this case.
X-  cat >conftest.$ac_ext <<_ACEOF
X-#line $LINENO "configure"
X-/* confdefs.h.  */
X-_ACEOF
X-cat confdefs.h >>conftest.$ac_ext
X-cat >>conftest.$ac_ext <<_ACEOF
X-/* end confdefs.h.  */
X-#ifdef __STDC__
X-# include <limits.h>
X-#else
X-# include <assert.h>
X-#endif
X-                     Syntax error
X-_ACEOF
X-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
X-  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
X-  ac_status=$?
X-  grep -v '^ *+' conftest.er1 >conftest.err
X-  rm -f conftest.er1
X-  cat conftest.err >&5
X-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
X-  (exit $ac_status); } >/dev/null; then
X-  if test -s conftest.err; then
X-    ac_cpp_err=$ac_c_preproc_warn_flag
X-  else
X-    ac_cpp_err=
X-  fi
X-else
X-  ac_cpp_err=yes
X-fi
X-if test -z "$ac_cpp_err"; then
X-  :
X-else
X-  echo "$as_me: failed program was:" >&5
X-sed 's/^/| /' conftest.$ac_ext >&5
X-
X-  # Broken: fails on valid input.
X-continue
X-fi
X-rm -f conftest.err conftest.$ac_ext
X-
X-  # OK, works on sane cases.  Now check whether non-existent headers
X-  # can be detected and how.
X-  cat >conftest.$ac_ext <<_ACEOF
X-#line $LINENO "configure"
X-/* confdefs.h.  */
X-_ACEOF
X-cat confdefs.h >>conftest.$ac_ext
X-cat >>conftest.$ac_ext <<_ACEOF
X-/* end confdefs.h.  */
X-#include <ac_nonexistent.h>
X-_ACEOF
X-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
X-  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
X-  ac_status=$?
X-  grep -v '^ *+' conftest.er1 >conftest.err
X-  rm -f conftest.er1
X-  cat conftest.err >&5
X-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
X-  (exit $ac_status); } >/dev/null; then
X-  if test -s conftest.err; then
X-    ac_cpp_err=$ac_c_preproc_warn_flag
X-  else
X-    ac_cpp_err=
X-  fi
X-else
X-  ac_cpp_err=yes
X-fi
X-if test -z "$ac_cpp_err"; then
X-  # Broken: success on invalid input.
X-continue
X-else
X-  echo "$as_me: failed program was:" >&5
X-sed 's/^/| /' conftest.$ac_ext >&5
X-
X-  # Passes both tests.
X-ac_preproc_ok=:
X-break
X-fi
X-rm -f conftest.err conftest.$ac_ext
X-
X-done
X-# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
X-rm -f conftest.err conftest.$ac_ext
X-if $ac_preproc_ok; then
X-  :
X-else
X-  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
X-See \`config.log' for more details." >&5
X-echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
X-See \`config.log' for more details." >&2;}
X-   { (exit 1); exit 1; }; }
X-fi
X-
X-ac_ext=c
X-ac_cpp='$CPP $CPPFLAGS'
X-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
X-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
X-ac_compiler_gnu=$ac_cv_c_compiler_gnu
X-
X-
X-echo "$as_me:$LINENO: checking for egrep" >&5
X-echo $ECHO_N "checking for egrep... $ECHO_C" >&6
X-if test "${ac_cv_prog_egrep+set}" = set; then
X-  echo $ECHO_N "(cached) $ECHO_C" >&6
X-else
X-  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
X-    then ac_cv_prog_egrep='grep -E'
X-    else ac_cv_prog_egrep='egrep'
X-    fi
X-fi
X-echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
X-echo "${ECHO_T}$ac_cv_prog_egrep" >&6
X- EGREP=$ac_cv_prog_egrep
X-
X-
X-echo "$as_me:$LINENO: checking for ANSI C header files" >&5
X-echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
X-if test "${ac_cv_header_stdc+set}" = set; then
X-  echo $ECHO_N "(cached) $ECHO_C" >&6
X-else
X-  cat >conftest.$ac_ext <<_ACEOF
X-#line $LINENO "configure"
X-/* confdefs.h.  */
X-_ACEOF
X-cat confdefs.h >>conftest.$ac_ext
X-cat >>conftest.$ac_ext <<_ACEOF
X-/* end confdefs.h.  */
X-#include <stdlib.h>
X-#include <stdarg.h>
X-#include <string.h>
X-#include <float.h>
X-
X-int
X-main ()
X-{
X-
X-  ;
X-  return 0;
X-}
X-_ACEOF
X-rm -f conftest.$ac_objext
X-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
X-  (eval $ac_compile) 2>&5
X-  ac_status=$?
X-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
X-  (exit $ac_status); } &&
X-         { ac_try='test -s conftest.$ac_objext'
X-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
X-  (eval $ac_try) 2>&5
X-  ac_status=$?
X-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
X-  (exit $ac_status); }; }; then
X-  ac_cv_header_stdc=yes
X-else
X-  echo "$as_me: failed program was:" >&5
X-sed 's/^/| /' conftest.$ac_ext >&5
X-
X-ac_cv_header_stdc=no
X-fi
X-rm -f conftest.$ac_objext conftest.$ac_ext
X-
X-if test $ac_cv_header_stdc = yes; then
X-  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
X-  cat >conftest.$ac_ext <<_ACEOF
X-#line $LINENO "configure"
X-/* confdefs.h.  */
X-_ACEOF
X-cat confdefs.h >>conftest.$ac_ext
X-cat >>conftest.$ac_ext <<_ACEOF
X-/* end confdefs.h.  */
X-#include <string.h>
X-
X-_ACEOF
X-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
X-  $EGREP "memchr" >/dev/null 2>&1; then
X-  :
X-else
X-  ac_cv_header_stdc=no
X-fi
X-rm -f conftest*
X-
X-fi
X-
X-if test $ac_cv_header_stdc = yes; then
X-  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
X-  cat >conftest.$ac_ext <<_ACEOF
X-#line $LINENO "configure"
X-/* confdefs.h.  */
X-_ACEOF
X-cat confdefs.h >>conftest.$ac_ext
X-cat >>conftest.$ac_ext <<_ACEOF
X-/* end confdefs.h.  */
X-#include <stdlib.h>
X-
X-_ACEOF
X-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
X-  $EGREP "free" >/dev/null 2>&1; then
X-  :
X-else
X-  ac_cv_header_stdc=no
X-fi
X-rm -f conftest*
X-
X-fi
X-
X-if test $ac_cv_header_stdc = yes; then
X-  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
X-  if test "$cross_compiling" = yes; then
X-  :
X-else
X-  cat >conftest.$ac_ext <<_ACEOF
X-#line $LINENO "configure"
X-/* confdefs.h.  */
X-_ACEOF
X-cat confdefs.h >>conftest.$ac_ext
X-cat >>conftest.$ac_ext <<_ACEOF
X-/* end confdefs.h.  */
X-#include <ctype.h>
X-#if ((' ' & 0x0FF) == 0x020)
X-# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
X-# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
X-#else
X-# define ISLOWER(c) \
X-                   (('a' <= (c) && (c) <= 'i') \
X-                     || ('j' <= (c) && (c) <= 'r') \
X-                     || ('s' <= (c) && (c) <= 'z'))
X-# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
X-#endif
X-
X-#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
X-int
X-main ()
X-{
X-  int i;
X-  for (i = 0; i < 256; i++)
X-    if (XOR (islower (i), ISLOWER (i))
X-        || toupper (i) != TOUPPER (i))
X-      exit(2);
X-  exit (0);
X-}
X-_ACEOF
X-rm -f conftest$ac_exeext
X-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
X-  (eval $ac_link) 2>&5
X-  ac_status=$?
X-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
X-  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
X-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
X-  (eval $ac_try) 2>&5
X-  ac_status=$?
X-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
X-  (exit $ac_status); }; }; then
X-  :
X-else
X-  echo "$as_me: program exited with status $ac_status" >&5
X-echo "$as_me: failed program was:" >&5
X-sed 's/^/| /' conftest.$ac_ext >&5
X-
X-( exit $ac_status )
X-ac_cv_header_stdc=no
X-fi
X-rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
X-fi
X-fi
X-fi
X-echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
X-echo "${ECHO_T}$ac_cv_header_stdc" >&6
X-if test $ac_cv_header_stdc = yes; then
X-
X-cat >>confdefs.h <<\_ACEOF
X-#define STDC_HEADERS 1
X-_ACEOF
X-
X-fi
X-
X-# On IRIX 5.3, sys/types and inttypes.h are conflicting.
X-
X-
X-
X-
X-
X-
X-
X-
X-
X-for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
X-                  inttypes.h stdint.h unistd.h
X-do
X-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
X-echo "$as_me:$LINENO: checking for $ac_header" >&5
X-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
X-if eval "test \"\${$as_ac_Header+set}\" = set"; then
X-  echo $ECHO_N "(cached) $ECHO_C" >&6
X-else
X-  cat >conftest.$ac_ext <<_ACEOF
X-#line $LINENO "configure"
X-/* confdefs.h.  */
X-_ACEOF
X-cat confdefs.h >>conftest.$ac_ext
X-cat >>conftest.$ac_ext <<_ACEOF
X-/* end confdefs.h.  */
X-$ac_includes_default
X-
X-#include <$ac_header>
X-_ACEOF
X-rm -f conftest.$ac_objext
X-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
X-  (eval $ac_compile) 2>&5
X-  ac_status=$?
X-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
X-  (exit $ac_status); } &&
X-         { ac_try='test -s conftest.$ac_objext'
X-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
X-  (eval $ac_try) 2>&5
X-  ac_status=$?
X-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
X-  (exit $ac_status); }; }; then
X-  eval "$as_ac_Header=yes"
X-else
X-  echo "$as_me: failed program was:" >&5
X-sed 's/^/| /' conftest.$ac_ext >&5
X-
X-eval "$as_ac_Header=no"
X-fi
X-rm -f conftest.$ac_objext conftest.$ac_ext
X-fi
X-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
X-echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
X-if test `eval echo '${'$as_ac_Header'}'` = yes; then
X-  cat >>confdefs.h <<_ACEOF
X-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
X-_ACEOF
X-
X-fi
X-
X-done
X-
X-
X-
X-for ac_header in emmintrin.h
X-do
X-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
X-if eval "test \"\${$as_ac_Header+set}\" = set"; then
X-  echo "$as_me:$LINENO: checking for $ac_header" >&5
X-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
X-if eval "test \"\${$as_ac_Header+set}\" = set"; then
X-  echo $ECHO_N "(cached) $ECHO_C" >&6
X-fi
X-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
X-echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
X-else
X-  # Is the header compilable?
X-echo "$as_me:$LINENO: checking $ac_header usability" >&5
X-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
X-cat >conftest.$ac_ext <<_ACEOF
X-#line $LINENO "configure"
X-/* confdefs.h.  */
X-_ACEOF
X-cat confdefs.h >>conftest.$ac_ext
X-cat >>conftest.$ac_ext <<_ACEOF
X-/* end confdefs.h.  */
X-$ac_includes_default
X-#include <$ac_header>
X-_ACEOF
X-rm -f conftest.$ac_objext
X-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
X-  (eval $ac_compile) 2>&5
X-  ac_status=$?
X-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
X-  (exit $ac_status); } &&
X-         { ac_try='test -s conftest.$ac_objext'
X-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
X-  (eval $ac_try) 2>&5
X-  ac_status=$?
X-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
X-  (exit $ac_status); }; }; then
X-  ac_header_compiler=yes
X-else
X-  echo "$as_me: failed program was:" >&5
X-sed 's/^/| /' conftest.$ac_ext >&5
X-
X-ac_header_compiler=no
X-fi
X-rm -f conftest.$ac_objext conftest.$ac_ext
X-echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
X-echo "${ECHO_T}$ac_header_compiler" >&6
X-
X-# Is the header present?
X-echo "$as_me:$LINENO: checking $ac_header presence" >&5
X-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
X-cat >conftest.$ac_ext <<_ACEOF
X-#line $LINENO "configure"
X-/* confdefs.h.  */
X-_ACEOF
X-cat confdefs.h >>conftest.$ac_ext
X-cat >>conftest.$ac_ext <<_ACEOF
X-/* end confdefs.h.  */
X-#include <$ac_header>
X-_ACEOF
X-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
X-  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
X-  ac_status=$?
X-  grep -v '^ *+' conftest.er1 >conftest.err
X-  rm -f conftest.er1
X-  cat conftest.err >&5
X-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
X-  (exit $ac_status); } >/dev/null; then
X-  if test -s conftest.err; then
X-    ac_cpp_err=$ac_c_preproc_warn_flag
X-  else
X-    ac_cpp_err=
X-  fi
X-else
X-  ac_cpp_err=yes
X-fi
X-if test -z "$ac_cpp_err"; then
X-  ac_header_preproc=yes
X-else
X-  echo "$as_me: failed program was:" >&5
X-sed 's/^/| /' conftest.$ac_ext >&5
X-
X-  ac_header_preproc=no
X-fi
X-rm -f conftest.err conftest.$ac_ext
X-echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
X-echo "${ECHO_T}$ac_header_preproc" >&6
X-
X-# So?  What about this header?
X-case $ac_header_compiler:$ac_header_preproc in
X-  yes:no )
X-    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
X-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
X-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
X-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
X-    (
X-      cat <<\_ASBOX
X-## ------------------------------------ ##
X-## Report this to bug-autoconf at gnu.org. ##
X-## ------------------------------------ ##
X-_ASBOX
X-    ) |
X-      sed "s/^/$as_me: WARNING:     /" >&2
X-    ;;
X-  no:yes )
X-    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
X-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
X-    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
X-echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
X-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
X-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
X-    (
X-      cat <<\_ASBOX
X-## ------------------------------------ ##
X-## Report this to bug-autoconf at gnu.org. ##
X-## ------------------------------------ ##
X-_ASBOX
X-    ) |
X-      sed "s/^/$as_me: WARNING:     /" >&2
X-    ;;
X-esac
X-echo "$as_me:$LINENO: checking for $ac_header" >&5
X-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
X-if eval "test \"\${$as_ac_Header+set}\" = set"; then
X-  echo $ECHO_N "(cached) $ECHO_C" >&6
X-else
X-  eval "$as_ac_Header=$ac_header_preproc"
X-fi
X-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
X-echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
X-
X-fi
X-if test `eval echo '${'$as_ac_Header'}'` = yes; then
X-  cat >>confdefs.h <<_ACEOF
X-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
X-_ACEOF
X- CXXFLAGS="$CXXFLAGS -msse2"
X-fi
X-
X-done
X-
X-fi
X-
X-test "z$CFLAGS" = "z" && CFLAGS="-O2 -fno-strict-aliasing"
X-
X-# Checks for programs.
X-ac_ext=cc
X-ac_cpp='$CXXCPP $CPPFLAGS'
X-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
X-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
X-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
X-if test -n "$ac_tool_prefix"; then
X-  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
X-  do
X-    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
X-set dummy $ac_tool_prefix$ac_prog; ac_word=$2
X-echo "$as_me:$LINENO: checking for $ac_word" >&5
X-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
X-if test "${ac_cv_prog_CXX+set}" = set; then
X-  echo $ECHO_N "(cached) $ECHO_C" >&6
X-else
X-  if test -n "$CXX"; then
X-  ac_cv_prog_CXX="$CXX" # Let the user override the test.
X-else
X-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
X-for as_dir in $PATH
X-do
X-  IFS=$as_save_IFS
X-  test -z "$as_dir" && as_dir=.
X-  for ac_exec_ext in '' $ac_executable_extensions; do
X-  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
X-    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
X-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
X-    break 2
X-  fi
X-done
X-done
X-
X-fi
X-fi
X-CXX=$ac_cv_prog_CXX
X-if test -n "$CXX"; then
X-  echo "$as_me:$LINENO: result: $CXX" >&5
X-echo "${ECHO_T}$CXX" >&6
X-else
X-  echo "$as_me:$LINENO: result: no" >&5
X-echo "${ECHO_T}no" >&6
X-fi
X-
X-    test -n "$CXX" && break
X-  done
X-fi
X-if test -z "$CXX"; then
X-  ac_ct_CXX=$CXX
X-  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
X-do
X-  # Extract the first word of "$ac_prog", so it can be a program name with args.
X-set dummy $ac_prog; ac_word=$2
X-echo "$as_me:$LINENO: checking for $ac_word" >&5
X-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
X-if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
X-  echo $ECHO_N "(cached) $ECHO_C" >&6
X-else
X-  if test -n "$ac_ct_CXX"; then
X-  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
X-else
X-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
X-for as_dir in $PATH
X-do
X-  IFS=$as_save_IFS
X-  test -z "$as_dir" && as_dir=.
X-  for ac_exec_ext in '' $ac_executable_extensions; do
X-  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
X-    ac_cv_prog_ac_ct_CXX="$ac_prog"
X-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
X-    break 2
X-  fi
X-done
X-done
X-
X-fi
X-fi
X-ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
X-if test -n "$ac_ct_CXX"; then
X-  echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
X-echo "${ECHO_T}$ac_ct_CXX" >&6
X+          export ac_cv_exeext
X+          break;;
X+    * ) break;;
X+  esac
X+done
X else
X-  echo "$as_me:$LINENO: result: no" >&5
X-echo "${ECHO_T}no" >&6
X+  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
X+See \`config.log' for more details." >&5
X+echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
X+See \`config.log' for more details." >&2;}
X+   { (exit 1); exit 1; }; }
X fi
X 
X-  test -n "$ac_ct_CXX" && break
X-done
X-test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
X+rm -f conftest$ac_cv_exeext
X+echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
X+echo "${ECHO_T}$ac_cv_exeext" >&6
X 
X-  CXX=$ac_ct_CXX
X-fi
X+rm -f conftest.$ac_ext
X+EXEEXT=$ac_cv_exeext
X+ac_exeext=$EXEEXT
X+echo "$as_me:$LINENO: checking for suffix of object files" >&5
X+echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
X+if test "${ac_cv_objext+set}" = set; then
X+  echo $ECHO_N "(cached) $ECHO_C" >&6
X+else
X+  cat >conftest.$ac_ext <<_ACEOF
X+#line $LINENO "configure"
X+/* confdefs.h.  */
X+_ACEOF
X+cat confdefs.h >>conftest.$ac_ext
X+cat >>conftest.$ac_ext <<_ACEOF
X+/* end confdefs.h.  */
X 
X+int
X+main ()
X+{
X 
X-# Provide some information about the compiler.
X-echo "$as_me:$LINENO:" \
X-     "checking for C++ compiler version" >&5
X-ac_compiler=`set X $ac_compile; echo $2`
X-{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
X-  (eval $ac_compiler --version </dev/null >&5) 2>&5
X-  ac_status=$?
X-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
X-  (exit $ac_status); }
X-{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
X-  (eval $ac_compiler -v </dev/null >&5) 2>&5
X-  ac_status=$?
X-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
X-  (exit $ac_status); }
X-{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
X-  (eval $ac_compiler -V </dev/null >&5) 2>&5
X+  ;
X+  return 0;
X+}
X+_ACEOF
X+rm -f conftest.o conftest.obj
X+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
X+  (eval $ac_compile) 2>&5
X   ac_status=$?
X   echo "$as_me:$LINENO: \$? = $ac_status" >&5
X-  (exit $ac_status); }
X+  (exit $ac_status); }; then
X+  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
X+  case $ac_file in
X+    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
X+    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
X+       break;;
X+  esac
X+done
X+else
X+  echo "$as_me: failed program was:" >&5
X+sed 's/^/| /' conftest.$ac_ext >&5
X+
X+{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
X+See \`config.log' for more details." >&5
X+echo "$as_me: error: cannot compute suffix of object files: cannot compile
X+See \`config.log' for more details." >&2;}
X+   { (exit 1); exit 1; }; }
X+fi
X 
X+rm -f conftest.$ac_cv_objext conftest.$ac_ext
X+fi
X+echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
X+echo "${ECHO_T}$ac_cv_objext" >&6
X+OBJEXT=$ac_cv_objext
X+ac_objext=$OBJEXT
X echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
X echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
X if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
X@@ -3702,6 +2247,71 @@
X ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
X ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
X ac_compiler_gnu=$ac_cv_c_compiler_gnu
X+DEPDIR="${am__leading_dot}deps"
X+
X+          ac_config_commands="$ac_config_commands depfiles"
X+
X+
X+am_make=${MAKE-make}
X+cat > confinc << 'END'
X+am__doit:
X+	@echo done
X+.PHONY: am__doit
X+END
X+# If we don't find an include directive, just comment out the code.
X+echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
X+echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
X+am__include="#"
X+am__quote=
X+_am_result=none
X+# First try GNU make style include.
X+echo "include confinc" > confmf
X+# We grep out `Entering directory' and `Leaving directory'
X+# messages which can occur if `w' ends up in MAKEFLAGS.
X+# In particular we don't look at `^make:' because GNU make might
X+# be invoked under some other name (usually "gmake"), in which
X+# case it prints its new name instead of `make'.
X+if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
X+   am__include=include
X+   am__quote=
X+   _am_result=GNU
X+fi
X+# Now try BSD make style include.
X+if test "$am__include" = "#"; then
X+   echo '.include "confinc"' > confmf
X+   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
X+      am__include=.include
X+      am__quote="\""
X+      _am_result=BSD
X+   fi
X+fi
X+
X+
X+echo "$as_me:$LINENO: result: $_am_result" >&5
X+echo "${ECHO_T}$_am_result" >&6
X+rm -f confinc confmf
X+
X+# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
X+if test "${enable_dependency_tracking+set}" = set; then
X+  enableval="$enable_dependency_tracking"
X+
X+fi;
X+if test "x$enable_dependency_tracking" != xno; then
X+  am_depcomp="$ac_aux_dir/depcomp"
X+  AMDEPBACKSLASH='\'
X+fi
X+
X+
X+if test "x$enable_dependency_tracking" != xno; then
X+  AMDEP_TRUE=
X+  AMDEP_FALSE='#'
X+else
X+  AMDEP_TRUE='#'
X+  AMDEP_FALSE=
X+fi
X+
X+
X+
X 
X depcc="$CXX"  am_compiler_list=
X 
X@@ -6943,6 +5553,21 @@
X ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
X 
X 
X+echo "$as_me:$LINENO: checking for egrep" >&5
X+echo $ECHO_N "checking for egrep... $ECHO_C" >&6
X+if test "${ac_cv_prog_egrep+set}" = set; then
X+  echo $ECHO_N "(cached) $ECHO_C" >&6
X+else
X+  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
X+    then ac_cv_prog_egrep='grep -E'
X+    else ac_cv_prog_egrep='egrep'
X+    fi
X+fi
X+echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
X+echo "${ECHO_T}$ac_cv_prog_egrep" >&6
X+ EGREP=$ac_cv_prog_egrep
X+
X+
X echo "$as_me:$LINENO: checking for ANSI C header files" >&5
X echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
X if test "${ac_cv_header_stdc+set}" = set; then
X@@ -7103,6 +5728,69 @@
X 
X fi
X 
X+# On IRIX 5.3, sys/types and inttypes.h are conflicting.
X+
X+
X+
X+
X+
X+
X+
X+
X+
X+for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
X+                  inttypes.h stdint.h unistd.h
X+do
X+as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
X+echo "$as_me:$LINENO: checking for $ac_header" >&5
X+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
X+if eval "test \"\${$as_ac_Header+set}\" = set"; then
X+  echo $ECHO_N "(cached) $ECHO_C" >&6
X+else
X+  cat >conftest.$ac_ext <<_ACEOF
X+#line $LINENO "configure"
X+/* confdefs.h.  */
X+_ACEOF
X+cat confdefs.h >>conftest.$ac_ext
X+cat >>conftest.$ac_ext <<_ACEOF
X+/* end confdefs.h.  */
X+$ac_includes_default
X+
X+#include <$ac_header>
X+_ACEOF
X+rm -f conftest.$ac_objext
X+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
X+  (eval $ac_compile) 2>&5
X+  ac_status=$?
X+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
X+  (exit $ac_status); } &&
X+         { ac_try='test -s conftest.$ac_objext'
X+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
X+  (eval $ac_try) 2>&5
X+  ac_status=$?
X+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
X+  (exit $ac_status); }; }; then
X+  eval "$as_ac_Header=yes"
X+else
X+  echo "$as_me: failed program was:" >&5
X+sed 's/^/| /' conftest.$ac_ext >&5
X+
X+eval "$as_ac_Header=no"
X+fi
X+rm -f conftest.$ac_objext conftest.$ac_ext
X+fi
X+echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
X+echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
X+if test `eval echo '${'$as_ac_Header'}'` = yes; then
X+  cat >>confdefs.h <<_ACEOF
X+#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
X+_ACEOF
X+
X+fi
X+
X+done
X+
X+
X 
X 
X for ac_header in unistd.h errno.h
X@@ -8306,6 +6994,7 @@
X # We don't use threads, but some Boost libraries make locking calls
X # anyway.  So we need to ensure that these symbols are available.  But
X # It's okay if they're just stubs.
X+
X echo "$as_me:$LINENO: checking for pthread_mutex_lock" >&5
X echo $ECHO_N "checking for pthread_mutex_lock... $ECHO_C" >&6
X if test "${ac_cv_func_pthread_mutex_lock+set}" = set; then
X@@ -11429,13 +10118,6 @@
X Usually this means the macro was only invoked conditionally." >&2;}
X    { (exit 1); exit 1; }; }
X fi
X-if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
X-  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
X-Usually this means the macro was only invoked conditionally." >&5
X-echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
X-Usually this means the macro was only invoked conditionally." >&2;}
X-   { (exit 1); exit 1; }; }
X-fi
X if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
X   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
X Usually this means the macro was only invoked conditionally." >&5
X@@ -12072,11 +10754,11 @@
X s, at AWK@,$AWK,;t t
X s, at SET_MAKE@,$SET_MAKE,;t t
X s, at am__leading_dot@,$am__leading_dot,;t t
X-s, at CC@,$CC,;t t
X-s, at CFLAGS@,$CFLAGS,;t t
X+s, at CXX@,$CXX,;t t
X+s, at CXXFLAGS@,$CXXFLAGS,;t t
X s, at LDFLAGS@,$LDFLAGS,;t t
X s, at CPPFLAGS@,$CPPFLAGS,;t t
X-s, at ac_ct_CC@,$ac_ct_CC,;t t
X+s, at ac_ct_CXX@,$ac_ct_CXX,;t t
X s, at EXEEXT@,$EXEEXT,;t t
X s, at OBJEXT@,$OBJEXT,;t t
X s, at DEPDIR@,$DEPDIR,;t t
X@@ -12085,17 +10767,15 @@
X s, at AMDEP_TRUE@,$AMDEP_TRUE,;t t
X s, at AMDEP_FALSE@,$AMDEP_FALSE,;t t
X s, at AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
X-s, at CCDEPMODE@,$CCDEPMODE,;t t
X-s, at am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
X-s, at am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
X-s, at CPP@,$CPP,;t t
X-s, at EGREP@,$EGREP,;t t
X-s, at CXX@,$CXX,;t t
X-s, at CXXFLAGS@,$CXXFLAGS,;t t
X-s, at ac_ct_CXX@,$ac_ct_CXX,;t t
X s, at CXXDEPMODE@,$CXXDEPMODE,;t t
X s, at am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
X s, at am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
X+s, at CC@,$CC,;t t
X+s, at CFLAGS@,$CFLAGS,;t t
X+s, at ac_ct_CC@,$ac_ct_CC,;t t
X+s, at CCDEPMODE@,$CCDEPMODE,;t t
X+s, at am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
X+s, at am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
X s, at RANLIB@,$RANLIB,;t t
X s, at ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
X s, at MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
X@@ -12119,6 +10799,7 @@
X s, at LTLIBINTL@,$LTLIBINTL,;t t
X s, at POSUB@,$POSUB,;t t
X s, at CXXCPP@,$CXXCPP,;t t
X+s, at EGREP@,$EGREP,;t t
X s, at acx_pthread_config@,$acx_pthread_config,;t t
X s, at PTHREAD_CC@,$PTHREAD_CC,;t t
X s, at PTHREAD_LIBS@,$PTHREAD_LIBS,;t t
END-of-monotone/files/patch-configure
echo x - monotone/files/patch-monotone.cc
sed 's/^X//' >monotone/files/patch-monotone.cc << 'END-of-monotone/files/patch-monotone.cc'
X--- monotone.cc.orig	Wed Jan  7 13:11:47 2004
X+++ monotone.cc	Sun Mar 21 22:49:59 2004
X@@ -129,8 +129,11 @@
X 
X   setlocale(LC_CTYPE, "");
X   setlocale(LC_MESSAGES, "");
X+
X+#ifdef ENABLE_NLS
X   bindtextdomain(PACKAGE, LOCALEDIR);
X   textdomain(PACKAGE);
X+#endif
X 
X   // decode all argv values into a UTF-8 array
X 
END-of-monotone/files/patch-monotone.cc
echo x - monotone/files/patch-sanity.hh
sed 's/^X//' >monotone/files/patch-sanity.hh << 'END-of-monotone/files/patch-sanity.hh'
X--- sanity.hh.orig	Wed Jan  7 13:11:48 2004
X+++ sanity.hh	Sun Mar 21 22:49:59 2004
X@@ -58,7 +58,11 @@
X extern sanity global_sanity;
X 
X // F is for when you want to build a boost formatter
X+#ifdef ENABLE_NLS
X #define F(str) boost::format(gettext(str))
X+#else
X+#define F(str) boost::format((str))
X+#endif
X 
X // L is for logging, you can log all you want
X #define L(fmt) global_sanity.log(fmt)
END-of-monotone/files/patch-sanity.hh
echo x - monotone/pkg-plist
sed 's/^X//' >monotone/pkg-plist << 'END-of-monotone/pkg-plist'
Xbin/depot.cgi
Xbin/monotone
END-of-monotone/pkg-plist
echo x - monotone/pkg-descr
sed 's/^X//' >monotone/pkg-descr << 'END-of-monotone/pkg-descr'
XMonotone is a distributed version control tool. It can help automate
Xmany tedious and error-prone tasks in group software development.
X
X    * Store multiple versions of files you are working on efficiently.
X    * Transmit changes to files between you and your colleagues.
X    * Merge changes you make with those your colleagues make.
X    * Make notes about your opinion of the quality of versions of files.
X    * Make decisions about using or ignoring versions, depending on
X       the notes you receive from others.
END-of-monotone/pkg-descr
echo x - monotone/distinfo
sed 's/^X//' >monotone/distinfo << 'END-of-monotone/distinfo'
XMD5 (monotone-0.11.tar.gz) = 126d792c5e9a4387db5f547c33b3fe5a
XSIZE (monotone-0.11.tar.gz) = 1861996
END-of-monotone/distinfo
echo x - monotone/Makefile
sed 's/^X//' >monotone/Makefile << 'END-of-monotone/Makefile'
X# New ports collection makefile for:   monotone
X# Date created:                05 Feb 2004
X# Whom:                        Mark A. Wicks <mwicks at kettering.edu>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	monotone
XPORTVERSION=	0.11
XCATEGORIES=	devel
XMASTER_SITES=	http://www.venge.net/monotone/  \
X		http://norton.kettering.edu/freebsd/
X
XMAINTAINER=	mwicks at kettering.edu
XCOMMENT=	A distributed version control system with digital signatures
X
XBUILD_DEPENDS=	${LOCALBASE}/include/boost/any.hpp:${PORTSDIR}/devel/boost
XLIB_DEPENDS=	popt.0:${PORTSDIR}/devel/popt
XRUN_DEPENDS=	${LOCALBASE}/lib/libboost_regex.so:${PORTSDIR}/devel/boost
X
XUSE_ICONV=	yes
X.if !defined(WITHOUT_NLS)
XUSE_GETTEXT=    yes
X.endif
XUSE_GMAKE=	yes
X
XGNU_CONFIGURE=	yes
XLDFLAGS+=	-L${LOCALBASE}/lib
XCFLAGS+=	-I${LOCALBASE}/include
XCXXFLAGS+=      -I${LOCALBASE}/include -L${LOCALBASE}/lib
X
XINFO=		monotone
XMAN1=		monotone.1
X
X.if defined(WITHOUT_NLS)
XCONFIGURE_ARGS=	--disable-nls
X.endif
X
Xpost-patch:
X	${TOUCH} ${WRKDIR}/${DISTNAME}/configure
X	${TOUCH} ${WRKDIR}/${DISTNAME}/*.in
X
X.include <bsd.port.mk>
END-of-monotone/Makefile
exit

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list