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)
initializing = 1; /* mark that we are initializing */
-printf("0: argc=%d\n", argc);
{
int optct = optionProcess(
#ifdef SIM
argc -= optct;
argv += optct;
}
-printf("1: argc=%d\n", argc);
/* HMS: is this lame? Should we process -l first? */