chiark / gitweb /
Build system: Break out SECNET_C_GETFUNC macro
[secnet] / aclocal.m4
index a963db916a2a577d6ba769e06f829c2b3711d248..13477dfdf8d3e2372f6efa46a29cc6b2679b0f45 100644 (file)
@@ -26,3 +26,10 @@ define(ADNS_C_GETFUNC,[
   ])
  ])
 ])
+
+define(SECNET_C_GETFUNC,[
+ ADNS_C_GETFUNC($1,$2,[
+  LIBS="-l$2 $LIBS";
+  AC_MSG_WARN([$1 is in lib$2, urgh.  Must use -l$2.])
+ ])
+])