File ez-ipupdate-3.0.11b8-fix_autofoo.patch of Package ez-ipupdate
Index: configure.in
===================================================================
--- configure.in.orig 2003-04-17 19:32:34.000000000 +0200
+++ configure.in 2008-09-30 05:45:53.000000000 +0200
@@ -86,9 +86,7 @@ if test "$ac_cv_func_getopt" != yes; the
AC_MSG_ERROR(getopt is needed for this program to work)
fi
-AC_CHECK_FUNC(getpass, AC_DEFINE(HAVE_GETPASS),
- [EXTRASRC="$EXTRASRC \$(srcdir)/getpass.c"]
- [EXTRAOBJ="$EXTRAOBJ \$(srcdir)/getpass.o"] )
+AC_CHECK_FUNC(getpass, AC_DEFINE(HAVE_GETPASS), AC_MSG_ERROR(Your system does not define getpass, fix it))
dnl Get system canonical name
AC_CANONICAL_HOST
@@ -148,8 +146,6 @@ AC_ARG_ENABLE(md5,
[ AC_DEFINE(USE_MD5)
AC_MSG_RESULT(no) ] )
-AC_SUBST(EXTRASRC)
-AC_SUBST(EXTRAOBJ)
AC_OUTPUT(Makefile)
Index: Makefile.am
===================================================================
--- Makefile.am.orig 2001-07-07 23:19:35.000000000 +0200
+++ Makefile.am 2008-09-30 05:46:18.000000000 +0200
@@ -1,7 +1,6 @@
bin_PROGRAMS = ez-ipupdate
-ez_ipupdate_SOURCES = ez-ipupdate.c conf_file.c conf_file.h md5.c md5.h cache_file.c cache_file.h error.h pid_file.c pid_file.h dprintf.h @EXTRASRC@
-ez_ipupdate_LDADD = @EXTRAOBJ@
+ez_ipupdate_SOURCES = ez-ipupdate.c conf_file.c conf_file.h md5.c md5.h cache_file.c cache_file.h error.h pid_file.c pid_file.h dprintf.h
EXTRA_DIST = getpass.c ez-ipupdate.lsm example.conf example-pgpow.conf example-dhs.conf example-dyndns.conf example-ods.conf example-tzo.conf example-gnudip.conf example-easydns.conf example-justlinux.conf example-dyns.conf CHANGELOG mkbinary example-heipv6tb.conf