Imported Upstream version 3.3.3
[debian/amanda] / configure
index c0e7761bf1cbc47f661c17e6b25a053d4fb9e2f6..9576e594d52696a4c51840241a80925df65c1463 100755 (executable)
--- a/configure
+++ b/configure
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.68 for amanda 3.3.2.
+# Generated by GNU Autoconf 2.68 for amanda 3.3.3.
 #
 #
 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
@@ -567,8 +567,8 @@ MAKEFLAGS=
 # Identity of this package.
 PACKAGE_NAME='amanda'
 PACKAGE_TARNAME='amanda'
-PACKAGE_VERSION='3.3.2'
-PACKAGE_STRING='amanda 3.3.2'
+PACKAGE_VERSION='3.3.3'
+PACKAGE_STRING='amanda 3.3.3'
 PACKAGE_BUGREPORT=''
 PACKAGE_URL=''
 
@@ -1391,6 +1391,7 @@ RANLIB
 am__fastdepCC_FALSE
 am__fastdepCC_TRUE
 CCDEPMODE
+am__nodep
 AMDEPBACKSLASH
 AMDEP_FALSE
 AMDEP_TRUE
@@ -2149,7 +2150,7 @@ if test "$ac_init_help" = "long"; then
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures amanda 3.3.2 to adapt to many kinds of systems.
+\`configure' configures amanda 3.3.3 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -2219,7 +2220,7 @@ fi
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of amanda 3.3.2:";;
+     short | recursive ) echo "Configuration of amanda 3.3.3:";;
    esac
   cat <<\_ACEOF
 
@@ -2495,7 +2496,7 @@ fi
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-amanda configure 3.3.2
+amanda configure 3.3.3
 generated by GNU Autoconf 2.68
 
 Copyright (C) 2010 Free Software Foundation, Inc.
@@ -3195,7 +3196,7 @@ cat >config.log <<_ACEOF
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by amanda $as_me 3.3.2, which was
+It was created by amanda $as_me 3.3.3, which was
 generated by GNU Autoconf 2.68.  Invocation command line was
 
   $ $0 $@
@@ -4330,7 +4331,7 @@ fi
 
 # Define the identity of the package.
  PACKAGE='amanda'
- VERSION='3.3.2'
+ VERSION='3.3.3'
 
 
 cat >>confdefs.h <<_ACEOF
@@ -4360,9 +4361,9 @@ MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
 
 # We need awk for the "check" target.  The system "awk" is bad on
 # some platforms.
-# Always define AMTAR for backward compatibility.
-
-AMTAR=${AMTAR-"${am_missing_run}tar"}
+# Always define AMTAR for backward compatibility.  Yes, it's still used
+# in the wild :-(  We should find a proper way to deprecate it ...
+AMTAR='$${TAR-tar}'
 
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
@@ -5374,6 +5375,7 @@ fi
 if test "x$enable_dependency_tracking" != xno; then
   am_depcomp="$ac_aux_dir/depcomp"
   AMDEPBACKSLASH='\'
+  am__nodep='_no'
 fi
  if test "x$enable_dependency_tracking" != xno; then
   AMDEP_TRUE=
@@ -5398,6 +5400,7 @@ else
   # instance it was reported that on HP-UX the gcc test will end up
   # making a dummy file named `D' -- because `-MD' means `put the output
   # in D'.
+  rm -rf conftest.dir
   mkdir conftest.dir
   # Copy depcomp to subdir because otherwise we won't find it if we're
   # using a relative directory.
@@ -5457,7 +5460,7 @@ else
        break
       fi
       ;;
-    msvisualcpp | msvcmsys)
+    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
       # This compiler won't grok `-c -o', but also, the minuso test has
       # not run yet.  These depmodes are late enough in the game, and
       # so weak that their functioning should not be impacted.
@@ -29448,7 +29451,7 @@ if test "${enable_swig_error+set}" = set; then :
   enableval=$enable_swig_error;
            case "$enableval" in
            "" | y | ye | yes)
-               AMANDA_SWIG_PERL_CFLAGS=-Werror
+               AMANDA_SWIG_PERL_CFLAGS=-Werror -Wno-deprecated-declarations
                ;;
            *n | no)
                AMANDA_SWIG_PERL_CFLAGS=
@@ -38261,6 +38264,45 @@ rm -f core conftest.err conftest.$ac_objext \
         fi
     fi
 
+    # remove deprecated warning for newer version
+    if $PKG_CONFIG --atleast-version 2.30.0 glib-2.0; then
+
+    # test for -W'warning', then add the 'no-' version.
+
+
+
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc flag -Wdeprecated-declarations" >&5
+$as_echo_n "checking for gcc flag -Wdeprecated-declarations... " >&6; }
+    if test "x$GCC" = "xyes"; then
+               (gcc --help={target,optimizers,warnings,undocumented,params,c} 2>&1 ||
+           $CC -v --help 2>&1) |
+         $EGREP -- '[^[:alnum:]]-Wdeprecated-declarations[^[:alnum:]-]' 2>&1 > /dev/null
+               if test $? -eq 0; then
+           found_warning=yes
+           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+       else
+           found_warning=no
+           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+       fi
+    else
+       found_warning=no
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (not using gcc)" >&5
+$as_echo "no (not using gcc)" >&6; }
+    fi
+
+    if test x"$found_warning" = x"yes"; then
+       AMANDA_WARNING_CFLAGS="$AMANDA_WARNING_CFLAGS -Wno-deprecated-declarations"
+
+
+    else
+       :
+    fi
+
+
+    fi
+
     # GLIB_CPPFLAGS is not set by autoconf, yet GLIB_CFLAGS contains what GLIB_CPPFLAGS should contain.
     CPPFLAGS="$CPPFLAGS $GLIB_CFLAGS"
 
@@ -45737,7 +45779,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by amanda $as_me 3.3.2, which was
+This file was extended by amanda $as_me 3.3.3, which was
 generated by GNU Autoconf 2.68.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -45803,7 +45845,7 @@ _ACEOF
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
 ac_cs_version="\\
-amanda config.status 3.3.2
+amanda config.status 3.3.3
 configured by $0, generated by GNU Autoconf 2.68,
   with options \\"\$ac_cs_config\\"