test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
+for ac_prog in md5sum md5 gmd5sum
+do
+# Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+echo "configure:864: checking for $ac_word" >&5
+if eval "test \"`echo '$''{'ac_cv_prog_MD5SUM_SIMPLE'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+ if test -n "$MD5SUM_SIMPLE"; then
+ ac_cv_prog_MD5SUM_SIMPLE="$MD5SUM_SIMPLE" # Let the user override the test.
+else
+ IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
+ for ac_dir in $PATH; do
+ test -z "$ac_dir" && ac_dir=.
+ if test -f $ac_dir/$ac_word; then
+ ac_cv_prog_MD5SUM_SIMPLE="$ac_prog"
+ break
+ fi
+ done
+ IFS="$ac_save_ifs"
+fi
+fi
+MD5SUM_SIMPLE="$ac_cv_prog_MD5SUM_SIMPLE"
+if test -n "$MD5SUM_SIMPLE"; then
+ echo "$ac_t""$MD5SUM_SIMPLE" 1>&6
+else
+ echo "$ac_t""no" 1>&6
+fi
+
+test -n "$MD5SUM_SIMPLE" && break
+done
+
CFLAGS="$CFLAGS -D_GNU_SOURCE"
echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
-echo "configure:863: checking for socket in -lsocket" >&5
+echo "configure:896: checking for socket in -lsocket" >&5
ac_lib_var=`echo socket'_'socket | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
ac_save_LIBS="$LIBS"
LIBS="-lsocket $LIBS"
cat > conftest.$ac_ext <<EOF
-#line 871 "configure"
+#line 904 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
socket()
; return 0; }
EOF
-if { (eval echo configure:882: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+if { (eval echo configure:915: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
for ac_func in setenv
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:912: checking for $ac_func" >&5
+echo "configure:945: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 917 "configure"
+#line 950 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
; return 0; }
EOF
-if { (eval echo configure:940: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+if { (eval echo configure:973: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
echo $ac_n "checking for EPROTO""... $ac_c" 1>&6
-echo "configure:966: checking for EPROTO" >&5
+echo "configure:999: checking for EPROTO" >&5
if eval "test \"`echo '$''{'userv_cv_hdr_eproto'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 971 "configure"
+#line 1004 "configure"
#include "confdefs.h"
#include <errno.h>
fi
echo $ac_n "checking for LOG_AUTHPRIV""... $ac_c" 1>&6
-echo "configure:1002: checking for LOG_AUTHPRIV" >&5
+echo "configure:1035: checking for LOG_AUTHPRIV" >&5
if eval "test \"`echo '$''{'userv_cv_hdr_logauthpriv'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 1007 "configure"
+#line 1040 "configure"
#include "confdefs.h"
#include <syslog.h>
echo $ac_n "checking your C compiler""... $ac_c" 1>&6
-echo "configure:1048: checking your C compiler" >&5
+echo "configure:1081: checking your C compiler" >&5
if eval "test \"`echo '$''{'dpkg_cv_c_works'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 1054 "configure"
+#line 1087 "configure"
#include "confdefs.h"
#include <string.h>
int main() {
strcmp("a","b")
; return 0; }
EOF
-if { (eval echo configure:1061: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:1094: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
dpkg_cv_c_works=yes
else
echo $ac_n "checking __attribute__((,,))""... $ac_c" 1>&6
-echo "configure:1086: checking __attribute__((,,))" >&5
+echo "configure:1119: checking __attribute__((,,))" >&5
if eval "test \"`echo '$''{'dpkg_cv_c_attribute_supported'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 1092 "configure"
+#line 1125 "configure"
#include "confdefs.h"
int main() {
extern int testfunction(int x) __attribute__((,,))
; return 0; }
EOF
-if { (eval echo configure:1099: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:1132: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
dpkg_cv_c_attribute_supported=yes
else
echo $ac_n "checking __attribute__((noreturn))""... $ac_c" 1>&6
-echo "configure:1121: checking __attribute__((noreturn))" >&5
+echo "configure:1154: checking __attribute__((noreturn))" >&5
if eval "test \"`echo '$''{'dpkg_cv_c_attribute_noreturn'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 1127 "configure"
+#line 1160 "configure"
#include "confdefs.h"
int main() {
extern int testfunction(int x) __attribute__((noreturn))
; return 0; }
EOF
-if { (eval echo configure:1134: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:1167: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
dpkg_cv_c_attribute_noreturn=yes
else
echo $ac_n "checking __attribute__((unused))""... $ac_c" 1>&6
-echo "configure:1161: checking __attribute__((unused))" >&5
+echo "configure:1194: checking __attribute__((unused))" >&5
if eval "test \"`echo '$''{'dpkg_cv_c_attribute_unused'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 1167 "configure"
+#line 1200 "configure"
#include "confdefs.h"
int main() {
extern int testfunction(int x) __attribute__((unused))
; return 0; }
EOF
-if { (eval echo configure:1174: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:1207: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
dpkg_cv_c_attribute_unused=yes
else
echo $ac_n "checking __attribute__((format...))""... $ac_c" 1>&6
-echo "configure:1201: checking __attribute__((format...))" >&5
+echo "configure:1234: checking __attribute__((format...))" >&5
if eval "test \"`echo '$''{'dpkg_cv_attribute_format'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 1207 "configure"
+#line 1240 "configure"
#include "confdefs.h"
int main() {
extern int testfunction(char *y, ...) __attribute__((format(printf,1,2)))
; return 0; }
EOF
-if { (eval echo configure:1214: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:1247: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
dpkg_cv_attribute_format=yes
else
echo $ac_n "checking GCC warning flag(s) -Wall -Wno-implicit""... $ac_c" 1>&6
-echo "configure:1252: checking GCC warning flag(s) -Wall -Wno-implicit" >&5
+echo "configure:1285: checking GCC warning flag(s) -Wall -Wno-implicit" >&5
if test "${GCC-no}" = yes
then
if eval "test \"`echo '$''{'dpkg_cv_c_gcc_warn_all'+set}'`\" = set"; then
oldcflags="${CFLAGS-}"
CFLAGS="${CFLAGS-} ${CWARNS} -Wall -Wno-implicit -Werror"
cat > conftest.$ac_ext <<EOF
-#line 1262 "configure"
+#line 1295 "configure"
#include "confdefs.h"
#include <string.h>
; return 0; }
EOF
-if { (eval echo configure:1274: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:1307: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
dpkg_cv_c_gcc_warn_all=yes
else
echo $ac_n "checking GCC warning flag(s) -Wwrite-strings""... $ac_c" 1>&6
-echo "configure:1300: checking GCC warning flag(s) -Wwrite-strings" >&5
+echo "configure:1333: checking GCC warning flag(s) -Wwrite-strings" >&5
if test "${GCC-no}" = yes
then
if eval "test \"`echo '$''{'dpkg_cv_c_gcc_warn_writestrings'+set}'`\" = set"; then
oldcflags="${CFLAGS-}"
CFLAGS="${CFLAGS-} ${CWARNS} -Wwrite-strings -Werror"
cat > conftest.$ac_ext <<EOF
-#line 1310 "configure"
+#line 1343 "configure"
#include "confdefs.h"
#include <string.h>
; return 0; }
EOF
-if { (eval echo configure:1322: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:1355: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
dpkg_cv_c_gcc_warn_writestrings=yes
else
echo $ac_n "checking GCC warning flag(s) -Wpointer-arith""... $ac_c" 1>&6
-echo "configure:1348: checking GCC warning flag(s) -Wpointer-arith" >&5
+echo "configure:1381: checking GCC warning flag(s) -Wpointer-arith" >&5
if test "${GCC-no}" = yes
then
if eval "test \"`echo '$''{'dpkg_cv_c_gcc_warn_pointerarith'+set}'`\" = set"; then
oldcflags="${CFLAGS-}"
CFLAGS="${CFLAGS-} ${CWARNS} -Wpointer-arith -Werror"
cat > conftest.$ac_ext <<EOF
-#line 1358 "configure"
+#line 1391 "configure"
#include "confdefs.h"
#include <string.h>
; return 0; }
EOF
-if { (eval echo configure:1370: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:1403: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
dpkg_cv_c_gcc_warn_pointerarith=yes
else
echo $ac_n "checking GCC warning flag(s) -Wimplicit -Wnested-externs""... $ac_c" 1>&6
-echo "configure:1396: checking GCC warning flag(s) -Wimplicit -Wnested-externs" >&5
+echo "configure:1429: checking GCC warning flag(s) -Wimplicit -Wnested-externs" >&5
if test "${GCC-no}" = yes
then
if eval "test \"`echo '$''{'dpkg_cv_c_gcc_warn_implicit'+set}'`\" = set"; then
oldcflags="${CFLAGS-}"
CFLAGS="${CFLAGS-} ${CWARNS} -Wimplicit -Wnested-externs -Werror"
cat > conftest.$ac_ext <<EOF
-#line 1406 "configure"
+#line 1439 "configure"
#include "confdefs.h"
#include <string.h>
; return 0; }
EOF
-if { (eval echo configure:1418: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:1451: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
dpkg_cv_c_gcc_warn_implicit=yes
else
s%@CPP@%$CPP%g
s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
s%@INSTALL_DATA@%$INSTALL_DATA%g
+s%@MD5SUM_SIMPLE@%$MD5SUM_SIMPLE%g
s%@OPTIMISE@%$OPTIMISE%g
s%@CWARNS@%$CWARNS%g
s%@VERSION@%$VERSION%g