]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
Add in conditional support for building the async resolver library.
authorHarlan Stenn <stenn@ntp.org>
Mon, 4 Mar 2002 06:30:41 +0000 (01:30 -0500)
committerHarlan Stenn <stenn@ntp.org>
Mon, 4 Mar 2002 06:30:41 +0000 (01:30 -0500)
We're not using this (yet).

bk: 3c831491FD0dOS5lGHy4d3mP5o57jw

Makefile.am
configure.in

index ee08b93e5ef570ed968fa7573b2f982c902db6ea..199952b4be4887838a8e43855a3997c2e347872c 100644 (file)
@@ -5,6 +5,7 @@ SUBDIRS = \
        scripts \
        include \
        ElectricFence   \
+       @ARLIB_DIR@ \
        libntp  \
        libparse        \
        ntpd    \
index a12d13628ad66d2fe621a1291066b4f5beebfdd7..2df3093ba459062b1d7ba1dc820e98972a5bf16d 100644 (file)
@@ -3307,17 +3307,24 @@ esac
 
 AC_DEFINE_DIR(NTP_KEYSDIR, sysconfdir, [Default location of crypto key info])
 
+AC_SUBST(ARLIB_DIR)
+if test -d $srcdir/arlib
+then
+    ARLIB_DIR=arlib
+    AC_CONFIG_SUBDIRS(arlib)
+fi
+
 # This is necessary so that .o files in LIBOBJS are also built via
 # the ANSI2KNR-filtering rules.
 LIBOBJS=`echo $LIBOBJS|sed 's/\.o /\$U.o /g;s/\.o$/\$U.o/'`
 
 AC_CONFIG_FILES(Makefile adjtimed/Makefile clockstuff/Makefile \
-ElectricFence/Makefile include/Makefile kernel/Makefile kernel/sys/Makefile \
-libntp/Makefile libparse/Makefile ntpd/Makefile ntpdc/Makefile \
-ntpdate/Makefile ntpq/Makefile ntptrace/Makefile parseutil/Makefile \
-scripts/Makefile scripts/calc_tickadj scripts/checktime scripts/freq_adj \
-scripts/mkver scripts/ntp-wait scripts/ntpsweep scripts/ntpver \
-scripts/plot_summary scripts/summary util/Makefile)
+ ElectricFence/Makefile include/Makefile kernel/Makefile kernel/sys/Makefile \
+ libntp/Makefile libparse/Makefile ntpd/Makefile ntpdc/Makefile \
+ ntpdate/Makefile ntpq/Makefile ntptrace/Makefile parseutil/Makefile \
+ scripts/Makefile scripts/calc_tickadj scripts/checktime scripts/freq_adj \
+ scripts/mkver scripts/ntp-wait scripts/ntpsweep scripts/ntpver \
+ scripts/plot_summary scripts/summary util/Makefile)
 AC_CONFIG_COMMANDS(default, [[chmod +x scripts/calc_tickadj scripts/checktime scripts/freq_adj scripts/mkver scripts/ntp-wait scripts/ntpsweep scripts/ntpver scripts/plot_summary scripts/summary]], [])
 AC_OUTPUT
 #test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h])