From: Harlan Stenn Date: Tue, 6 Jun 2006 07:06:10 +0000 (-0400) Subject: re-enable auto-gen X-Git-Tag: NTP_4_2_3~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a955aceb7292c0584a497df93e070de1af217011;p=thirdparty%2Fntp.git re-enable auto-gen bk: 44852962y51PYtPa3MbJxXT6hz9AAA --- diff --git a/bootstrap b/bootstrap index 24eede6f6..4367abbd8 100755 --- a/bootstrap +++ b/bootstrap @@ -33,24 +33,24 @@ AUTORECONF=${AUTORECONF:-autoreconf} scripts/genver -#rm -rf sntp/libopts* -#gunzip -c $(autoopts-config --libsrc) | ( -# cd sntp -# tar -xvf - -# mv libopts-*.*.* libopts ) +rm -rf sntp/libopts* +gunzip -c $(autoopts-config --libsrc) | ( + cd sntp + tar -xvf - + mv libopts-*.*.* libopts ) -#prog_opt_files=$( -# egrep -l '^prog.name' $( -# find * -type f -name *.def|fgrep -v /SCCS/)) +prog_opt_files=$( + egrep -l '^prog.name' $( + find * -type f -name *.def|fgrep -v /SCCS/)) incdir=${PWD}/include -#for f in ${prog_opt_files} -#do -# ( cd $(dirname ${f}) -# echo "Running autogen on $f..." -# autogen -L${incdir} $(basename ${f}) ) -#done +for f in ${prog_opt_files} +do + ( cd $(dirname ${f}) + echo "Running autogen on $f..." + autogen -L${incdir} $(basename ${f}) ) +done (cd sntp && ${AUTORECONF} -i -v) diff --git a/ntpd/ntpd.c b/ntpd/ntpd.c index 01209c093..5f295a8ce 100644 --- a/ntpd/ntpd.c +++ b/ntpd/ntpd.c @@ -464,7 +464,6 @@ ntpdmain( initializing = 1; /* mark that we are initializing */ -printf("0: argc=%d\n", argc); { int optct = optionProcess( #ifdef SIM @@ -476,7 +475,6 @@ printf("0: argc=%d\n", argc); argc -= optct; argv += optct; } -printf("1: argc=%d\n", argc); /* HMS: is this lame? Should we process -l first? */