X-Git-Url: https://git.octo.it/?p=liboping.git;a=blobdiff_plain;f=configure.ac;fp=configure.ac;h=fcafad15b5a778b7ecbb76dc8578af6d3ee971fc;hp=60138fc5cd0e4f9582c3da00f5e4508908b3f5ca;hb=5e8f666c2abfbf455a284b54750dad19f97fe5fe;hpb=c355b05d6acf9aaba1b7d1a0a5cc47d5d4934bf1 diff --git a/configure.ac b/configure.ac index 60138fc..fcafad1 100644 --- a/configure.ac +++ b/configure.ac @@ -50,7 +50,8 @@ AC_ARG_VAR(PERL, [Perl interpreter command]) LT_INIT([dlopen]) # pkg-config interface -PKG_INSTALLDIR +# PKG_INSTALLDIR is only available for pkg-config >= 0.27 +m4_ifdef([PKG_INSTALLDIR], [PKG_INSTALLDIR], []) AC_ARG_WITH(pkgconfigdir, AC_HELP_STRING([--with-pkgconfigdir], [Use the specified pkgconfig dir (default is libdir/pkgconfig)]),