From: Harlan Stenn Date: Mon, 4 Mar 2002 06:30:41 +0000 (-0500) Subject: Add in conditional support for building the async resolver library. X-Git-Tag: NTP_4_1_73~182^2~4 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b1ef3829770c0f73aa776a04e2f8d06a99fc8d2d;p=thirdparty%2Fntp.git Add in conditional support for building the async resolver library. We're not using this (yet). bk: 3c831491FD0dOS5lGHy4d3mP5o57jw --- diff --git a/Makefile.am b/Makefile.am index ee08b93e5e..199952b4be 100644 --- a/Makefile.am +++ b/Makefile.am @@ -5,6 +5,7 @@ SUBDIRS = \ scripts \ include \ ElectricFence \ + @ARLIB_DIR@ \ libntp \ libparse \ ntpd \ diff --git a/configure.in b/configure.in index a12d13628a..2df3093ba4 100644 --- a/configure.in +++ b/configure.in @@ -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])