Fix broken check for pppd header files
authorMarcel Holtmann <marcel@holtmann.org>
Thu, 1 Jan 2009 01:04:05 +0000 (02:04 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 1 Jan 2009 01:04:05 +0000 (02:04 +0100)
configure.ac

index a22b82a..ad37741 100644 (file)
@@ -49,7 +49,7 @@ AC_PATH_PROG(RESOLVCONF, [resolvconf], ,$PATH:/sbin:/usr/sbin)
 AC_PATH_PROG(WPASUPPLICANT, [wpa_supplicant], ,$PATH:/sbin:/usr/sbin)
 AC_PATH_PROG(PPPD, [pppd], ,$PATH:/sbin:/usr/sbin)
 
-AC_CHECK_HEADERS(pppd/pppd.h, pppd_found=no, pppd_found=yes)
+AC_CHECK_HEADERS(pppd/pppd.h, pppd_found=yes, pppd_found=no)
 AM_CONDITIONAL(PPPD, test "${pppd_found}" = "yes")
 
 AC_CHECK_LIB(dl, dlopen, dummy=yes,