(--enable-libio): Set $stdio based on $enableval, not always to yes.
authorroland <roland>
Thu, 23 Nov 1995 23:26:38 +0000 (23:26 +0000)
committerroland <roland>
Thu, 23 Nov 1995 23:26:38 +0000 (23:26 +0000)
configure.in

index e35769a..891859c 100644 (file)
@@ -55,7 +55,12 @@ AC_ARG_WITH(weak-symbols, dnl
 
 AC_ARG_ENABLE(libio, dnl
 [  --enable-libio          build in GNU libio instead of GNU stdio],
-             stdio=libio, stdio=default)
+             [if test $enableval = yes; then
+                stdio=libio
+              else
+                stdio=stdio
+              fi],
+             stdio=default)
 
 dnl Arguments to enable or disable building the shared, profiled, and
 dnl -fomit-frame-pointer libraries.