# Add here whatever m4 macros you want to define for your package
#
+#--------------------------------------------------------------------
+# TEA_ENABLE_INET6
+#
+# Check for Internet Protocol v6 support.
+#
+# Adds a --enable-ipv6 option to the configure program and
+# may define a new macro USE_INET6
+#
+#--------------------------------------------------------------------
+
+AC_DEFUN(TEA_ENABLE_INET6, [
+ AC_MSG_CHECKING([for INET6 support])
+ AC_ARG_ENABLE(inet6, [ --enable-ipv6 build with ipv6],
+ [inet6_ok=$enableval], [inet6_ok=no])
+ AC_DEFINE(USE_INET6)
+ if test "$inet6_ok" = "yes"
+ then
+ AC_MSG_RESULT([yes])
+ USE_INET6=1
+
+ AC_CHECK_LIB(c,getaddrinfo,[inet6_ok=yes],[inet6_ok=no])
+ if test "$inet6_ok" = "yes"
+ then
+ #CFLAGS="$CFLAGS -DUSE_INET6"
+ TEA_ADD_CFLAGS([-DUSE_INET6])
+ else
+ USE_INET6=no
+ AC_MSG_ERROR([Cannot find getaddrinfo() - inet6 support disabled])
+ fi
+
+ else
+ USE_INET6=0
+ AC_MSG_RESULT([no (default)])
+ fi
+
+ AC_SUBST(USE_INET6)
+])
+
#-------------------------------------------------------------------------
# TEA_PROG_DTPLITE
+#
# Do we have a usable dtplite program to use in document generation?
#
# Results
#-------------------------------------------------------------------------
AC_DEFUN(TEA_PROG_DTPLITE, [
- AC_MSG_CHECKING([for dtplite])
- prog="`which dtplite`"
- if test -x $prog; then
- DTPLITE=$prog
- AC_MSG_RESULT($DTPLITE)
- else
- AC_MSG_ERROR([No dtplite program found])
- fi
- AC_SUBST(DTPLITE)
-])
\ No newline at end of file
+ AC_PATH_TOOL([DTPLITE], [dtplite], [:])
+])
+
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.59 for udp 1.0.7.
+# Generated by GNU Autoconf 2.59 for udp 1.0.8.
#
# Copyright (C) 2003 Free Software Foundation, Inc.
# This configure script is free software; the Free Software Foundation
# Identity of this package.
PACKAGE_NAME='udp'
PACKAGE_TARNAME='udp'
-PACKAGE_VERSION='1.0.7'
-PACKAGE_STRING='udp 1.0.7'
+PACKAGE_VERSION='1.0.8'
+PACKAGE_STRING='udp 1.0.8'
PACKAGE_BUGREPORT=''
# Factoring default headers for most tests.
# include <unistd.h>
#endif"
-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 CYGPATH EXEEXT PKG_LIB_FILE PKG_STUB_LIB_FILE PKG_STUB_SOURCES PKG_STUB_OBJECTS PKG_TCL_SOURCES PKG_HEADERS PKG_INCLUDES PKG_LIBS PKG_CFLAGS TCL_VERSION TCL_BIN_DIR TCL_SRC_DIR TCL_LIB_FILE TCL_LIB_FLAG TCL_LIB_SPEC TCL_STUB_LIB_FILE TCL_STUB_LIB_FLAG TCL_STUB_LIB_SPEC TCL_LIBS TCL_DEFS TCL_EXTRA_CFLAGS TCL_LD_FLAGS TCL_SHLIB_LD_LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC OBJEXT CPP INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA SET_MAKE RANLIB ac_ct_RANLIB EGREP MATH_LIBS PKG_SOURCES PKG_OBJECTS CLEANFILES TCL_INCLUDES TCL_THREADS SHARED_BUILD AR TCLSH_PROG CELIB_DIR LIBOBJS DL_LIBS CFLAGS_DEBUG CFLAGS_OPTIMIZE CFLAGS_WARNING STLIB_LD SHLIB_LD SHLIB_CFLAGS SHLIB_LD_LIBS LDFLAGS_DEBUG LDFLAGS_OPTIMIZE LD_LIBRARY_PATH_VAR TCL_DBGX CFLAGS_DEFAULT LDFLAGS_DEFAULT MAKE_LIB MAKE_SHARED_LIB MAKE_STATIC_LIB MAKE_STUB_LIB RANLIB_STUB DTPLITE LTLIBOBJS'
+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 CYGPATH EXEEXT PKG_LIB_FILE PKG_STUB_LIB_FILE PKG_STUB_SOURCES PKG_STUB_OBJECTS PKG_TCL_SOURCES PKG_HEADERS PKG_INCLUDES PKG_LIBS PKG_CFLAGS TCL_VERSION TCL_BIN_DIR TCL_SRC_DIR TCL_LIB_FILE TCL_LIB_FLAG TCL_LIB_SPEC TCL_STUB_LIB_FILE TCL_STUB_LIB_FLAG TCL_STUB_LIB_SPEC TCL_LIBS TCL_DEFS TCL_EXTRA_CFLAGS TCL_LD_FLAGS TCL_SHLIB_LD_LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC OBJEXT CPP INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA SET_MAKE RANLIB ac_ct_RANLIB EGREP MATH_LIBS PKG_SOURCES PKG_OBJECTS CLEANFILES TCL_INCLUDES TCL_THREADS SHARED_BUILD AR TCLSH_PROG CELIB_DIR LIBOBJS DL_LIBS CFLAGS_DEBUG CFLAGS_OPTIMIZE CFLAGS_WARNING STLIB_LD SHLIB_LD SHLIB_CFLAGS SHLIB_LD_LIBS LDFLAGS_DEBUG LDFLAGS_OPTIMIZE LD_LIBRARY_PATH_VAR TCL_DBGX CFLAGS_DEFAULT LDFLAGS_DEFAULT MAKE_LIB MAKE_SHARED_LIB MAKE_STATIC_LIB MAKE_STUB_LIB RANLIB_STUB DTPLITE ac_pt_DTPLITE LTLIBOBJS'
ac_subst_files=''
# Initialize some variables set by options.
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures udp 1.0.7 to adapt to many kinds of systems.
+\`configure' configures udp 1.0.8 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of udp 1.0.7:";;
+ short | recursive ) echo "Configuration of udp 1.0.8:";;
esac
cat <<\_ACEOF
test -n "$ac_init_help" && exit 0
if $ac_init_version; then
cat <<\_ACEOF
-udp configure 1.0.7
+udp configure 1.0.8
generated by GNU Autoconf 2.59
Copyright (C) 2003 Free Software Foundation, Inc.
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by udp $as_me 1.0.7, which was
+It was created by udp $as_me 1.0.8, which was
generated by GNU Autoconf 2.59. Invocation command line was
$ $0 $@
# -------------------------------------------------------------------
- echo "$as_me:$LINENO: checking for dtplite" >&5
-echo $ECHO_N "checking for dtplite... $ECHO_C" >&6
- prog="`which dtplite`"
- if test -x $prog; then
- DTPLITE=$prog
- echo "$as_me:$LINENO: result: $DTPLITE" >&5
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}dtplite", so it can be a program name with args.
+set dummy ${ac_tool_prefix}dtplite; ac_word=$2
+echo "$as_me:$LINENO: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+if test "${ac_cv_path_DTPLITE+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ case $DTPLITE in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_DTPLITE="$DTPLITE" # Let the user override the test with a path.
+ ;;
+ *)
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_path_DTPLITE="$as_dir/$ac_word$ac_exec_ext"
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+done
+
+ ;;
+esac
+fi
+DTPLITE=$ac_cv_path_DTPLITE
+
+if test -n "$DTPLITE"; then
+ echo "$as_me:$LINENO: result: $DTPLITE" >&5
echo "${ECHO_T}$DTPLITE" >&6
- else
- { { echo "$as_me:$LINENO: error: No dtplite program found" >&5
-echo "$as_me: error: No dtplite program found" >&2;}
- { (exit 1); exit 1; }; }
- fi
+else
+ echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6
+fi
+
+fi
+if test -z "$ac_cv_path_DTPLITE"; then
+ ac_pt_DTPLITE=$DTPLITE
+ # Extract the first word of "dtplite", so it can be a program name with args.
+set dummy dtplite; ac_word=$2
+echo "$as_me:$LINENO: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+if test "${ac_cv_path_ac_pt_DTPLITE+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ case $ac_pt_DTPLITE in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_ac_pt_DTPLITE="$ac_pt_DTPLITE" # Let the user override the test with a path.
+ ;;
+ *)
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_path_ac_pt_DTPLITE="$as_dir/$ac_word$ac_exec_ext"
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+done
+
+ test -z "$ac_cv_path_ac_pt_DTPLITE" && ac_cv_path_ac_pt_DTPLITE=":"
+ ;;
+esac
+fi
+ac_pt_DTPLITE=$ac_cv_path_ac_pt_DTPLITE
+
+if test -n "$ac_pt_DTPLITE"; then
+ echo "$as_me:$LINENO: result: $ac_pt_DTPLITE" >&5
+echo "${ECHO_T}$ac_pt_DTPLITE" >&6
+else
+ echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6
+fi
+
+ DTPLITE=$ac_pt_DTPLITE
+else
+ DTPLITE="$ac_cv_path_DTPLITE"
+fi
} >&5
cat >&5 <<_CSEOF
-This file was extended by udp $as_me 1.0.7, which was
+This file was extended by udp $as_me 1.0.8, which was
generated by GNU Autoconf 2.59. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
cat >>$CONFIG_STATUS <<_ACEOF
ac_cs_version="\\
-udp config.status 1.0.7
+udp config.status 1.0.8
configured by $0, generated by GNU Autoconf 2.59,
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
s,@MAKE_STUB_LIB@,$MAKE_STUB_LIB,;t t
s,@RANLIB_STUB@,$RANLIB_STUB,;t t
s,@DTPLITE@,$DTPLITE,;t t
+s,@ac_pt_DTPLITE@,$ac_pt_DTPLITE,;t t
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
CEOF