r22610: fix build with included popt
[garming/samba-autobuild/.git] / source / lib / popt / samba.m4
index 86a79f1c6a216e12212f0f1016c1175a1c5f0166..b6e939f5a0421e56fe5ec494476ba52b436a62f1 100644 (file)
@@ -1,6 +1,6 @@
 m4_include(lib/popt/libpopt.m4)
 
-if test x"$POPTOBJ" = "x"; then
+if test x"$POPT_OBJ" = "x"; then
        SMB_EXT_LIB(LIBPOPT, [${POPT_LIBS}])
        SMB_ENABLE(LIBPOPT,YES)
 else