]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
Control compilation of arlib/ via --with-arlib
authorHarlan Stenn <stenn@ntp.org>
Thu, 7 Mar 2002 08:40:34 +0000 (03:40 -0500)
committerHarlan Stenn <stenn@ntp.org>
Thu, 7 Mar 2002 08:40:34 +0000 (03:40 -0500)
bk: 3c872782V60SbleIn1ewFQnC0gITzA

configure.in

index 2df3093ba459062b1d7ba1dc820e98972a5bf16d..13a2bccdc496067264f5106a2694c532fc72e077 100644 (file)
@@ -3310,8 +3310,16 @@ 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)
+    AC_ARG_WITH(arlib,
+       AC_HELP_STRING([--with-arlib], [- Compile the async resolver library?]),
+    [ans=$withval], [ans=no])
+
+    case "$ans" in
+     yes)
+       ARLIB_DIR=arlib
+       AC_CONFIG_SUBDIRS(arlib)
+       ;;
+    esac
 fi
 
 # This is necessary so that .o files in LIBOBJS are also built via