From 309e1113c31518165937fe38f07dd17ca1ded6d5 Mon Sep 17 00:00:00 2001 From: Andrey Kiselev Date: Wed, 5 Jan 2005 20:38:18 +0000 Subject: [PATCH] Replace --disable-c++ with the --disable-cxx option as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=730 --- configure | 8 ++++---- configure.ac | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/configure b/configure index 1d8e22f4..b790a474 100755 --- a/configure +++ b/configure @@ -1060,7 +1060,7 @@ Optional Features: --enable-old-jpeg enable support for Old JPEG compresson (read contrib/ojpeg/README first! Compilation fails with unpatched IJG JPEG library) - --enable-c++ enable C++ stream API building (requires C++ + --enable-cxx enable C++ stream API building (requires C++ compiler) --disable-strip-chopping disable support for strip chopping (whether or not @@ -23715,9 +23715,9 @@ else fi -# Check whether --enable-c++ or --disable-c++ was given. -if test "${enable_c+++set}" = set; then - enableval="$enable_c++" +# Check whether --enable-cxx or --disable-cxx was given. +if test "${enable_cxx+set}" = set; then + enableval="$enable_cxx" HAVE_CXX=$enableval else HAVE_CXX=yes diff --git a/configure.ac b/configure.ac index 59b51370..5583a143 100644 --- a/configure.ac +++ b/configure.ac @@ -356,8 +356,8 @@ dnl --------------------------------------------------------------------------- dnl Check for C++. dnl --------------------------------------------------------------------------- -AC_ARG_ENABLE(c++, - AS_HELP_STRING([--enable-c++], +AC_ARG_ENABLE(cxx, + AS_HELP_STRING([--enable-cxx], [enable C++ stream API building (requires C++ compiler)]), [HAVE_CXX=$enableval], [HAVE_CXX=yes])