From 33080eb21898b4c339e100335b4d59cd8433bf85 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Sun, 15 Jan 2006 21:23:31 +0000 Subject: [PATCH] withval needs to be enableval git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@8495 67ed7778-7388-44ab-90cf-0a291f65f57c --- libgphoto2_port/m4/gp-check-popt.m4 | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/libgphoto2_port/m4/gp-check-popt.m4 b/libgphoto2_port/m4/gp-check-popt.m4 index fed18bfdf..683d41936 100644 --- a/libgphoto2_port/m4/gp-check-popt.m4 +++ b/libgphoto2_port/m4/gp-check-popt.m4 @@ -29,15 +29,15 @@ try_popt=auto require_popt=no AC_ARG_ENABLE([popt], [AS_HELP_STRING([--$1-popt],[Do not use popt])], -[ if test "x$withval" = no \ - || test "x$withval" = off \ - || test "x$withval" = false; +[ if test "x$enableval" = no \ + || test "x$enableval" = off \ + || test "x$enableval" = false; then try_popt=no require_popt=no - elif test "x$withval" = yes \ - || test "x$withval" = on \ - || test "x$withval" = true + elif test "x$enableval" = yes \ + || test "x$enableval" = on \ + || test "x$enableval" = true then try_popt=yes require_popt=yes