]> granicus.if.org Git - php/commitdiff
Disable checking for library in ext skeleton
authorPeter Kokot <peterkokot@gmail.com>
Thu, 9 May 2019 22:21:09 +0000 (00:21 +0200)
committerPeter Kokot <peterkokot@gmail.com>
Thu, 9 May 2019 22:21:09 +0000 (00:21 +0200)
ext/skeleton/config.m4.in

index 29a77bbeee85724336882f98d1a6ae1ef07ed10f..663040a368930469be2f1414227e55eac18290c1 100644 (file)
@@ -64,14 +64,14 @@ if test "$PHP_%EXTNAMECAPS%" != "no"; then
 
   dnl If you need to check for a particular library function
   dnl and you are using pkg-config:
-  PHP_CHECK_LIBRARY($LIBNAME, $LIBSYMBOL,
-  [
-    PHP_EVAL_INCLINE($LIBFOO_CFLAGS)
-    PHP_EVAL_LIBLINE($LIBFOO_LIBS, %EXTNAMECAPS%_SHARED_LIBADD)
-    AC_DEFINE(HAVE_%EXTNAMECAPS%LIB, 1, [ ])
-  ],[
-    AC_MSG_ERROR([wrong %EXTNAME% lib version or lib not found])
-  ])
+  dnl PHP_CHECK_LIBRARY($LIBNAME, $LIBSYMBOL,
+  dnl [
+  dnl   PHP_EVAL_INCLINE($LIBFOO_CFLAGS)
+  dnl   PHP_EVAL_LIBLINE($LIBFOO_LIBS, %EXTNAMECAPS%_SHARED_LIBADD)
+  dnl   AC_DEFINE(HAVE_%EXTNAMECAPS%LIB, 1, [ ])
+  dnl ],[
+  dnl   AC_MSG_ERROR([wrong %EXTNAME% lib version or lib not found])
+  dnl ])
 
   dnl If you need to check for a particular library function
   dnl and you are not using pkg-config: