]> granicus.if.org Git - imagemagick/blobdiff - configure
Return non-linear gray for gray50
[imagemagick] / configure
index b4f20f491e6ac4e0fa15c9f68cd57bcfff9a98ab..a69b37033a85b845be484a94370125179eecc5c0 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.69 for ImageMagick 7.0.7-14.
+# Generated by GNU Autoconf 2.69 for ImageMagick 7.0.7-16.
 #
 # Report bugs to <https://github.com/ImageMagick/ImageMagick/issues>.
 #
@@ -590,8 +590,8 @@ MAKEFLAGS=
 # Identity of this package.
 PACKAGE_NAME='ImageMagick'
 PACKAGE_TARNAME='ImageMagick'
-PACKAGE_VERSION='7.0.7-14'
-PACKAGE_STRING='ImageMagick 7.0.7-14'
+PACKAGE_VERSION='7.0.7-16'
+PACKAGE_STRING='ImageMagick 7.0.7-16'
 PACKAGE_BUGREPORT='https://github.com/ImageMagick/ImageMagick/issues'
 PACKAGE_URL='https://www.imagemagick.org'
 
@@ -1844,7 +1844,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 ImageMagick 7.0.7-14 to adapt to many kinds of systems.
+\`configure' configures ImageMagick 7.0.7-16 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1919,7 +1919,7 @@ fi
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of ImageMagick 7.0.7-14:";;
+     short | recursive ) echo "Configuration of ImageMagick 7.0.7-16:";;
    esac
   cat <<\_ACEOF
 
@@ -2208,7 +2208,7 @@ fi
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-ImageMagick configure 7.0.7-14
+ImageMagick configure 7.0.7-16
 generated by GNU Autoconf 2.69
 
 Copyright (C) 2012 Free Software Foundation, Inc.
@@ -3259,7 +3259,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 ImageMagick $as_me 7.0.7-14, which was
+It was created by ImageMagick $as_me 7.0.7-16, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   $ $0 $@
@@ -4245,7 +4245,7 @@ fi
 
 # Define the identity of the package.
  PACKAGE='ImageMagick'
- VERSION='7.0.7-14'
+ VERSION='7.0.7-16'
 
 
 cat >>confdefs.h <<_ACEOF
@@ -4555,11 +4555,11 @@ MAGICK_MINOR_VERSION=0
 
 MAGICK_MICRO_VERSION=7
 
-MAGICK_PATCHLEVEL_VERSION=14
+MAGICK_PATCHLEVEL_VERSION=16
 
-MAGICK_VERSION=7.0.7-14
+MAGICK_VERSION=7.0.7-16
 
-MAGICK_GIT_REVISION=21841:d07e8d614:20171203
+MAGICK_GIT_REVISION=21928:7fe2ccc7c:20171216
 
 
 # Substitute library versioning
@@ -8926,8 +8926,10 @@ main ()
 
      int op = 0, level = 0, eax, ebx, ecx, edx;
      FILE *f;
-      __asm__ __volatile__ ("cpuid"
-        : "=a" (eax), "=b" (ebx), "=c" (ecx), "=d" (edx)
+      __asm__ __volatile__ ("xchg %%ebx, %1\n"
+        "cpuid\n"
+        "xchg %%ebx, %1\n"
+        : "=a" (eax), "=r" (ebx), "=c" (ecx), "=d" (edx)
         : "a" (op), "2" (level));
 
      f = fopen("conftest_cpuid", "w"); if (!f) return 1;
@@ -8983,8 +8985,10 @@ main ()
 
      int op = 1, level = 0, eax, ebx, ecx, edx;
      FILE *f;
-      __asm__ __volatile__ ("cpuid"
-        : "=a" (eax), "=b" (ebx), "=c" (ecx), "=d" (edx)
+      __asm__ __volatile__ ("xchg %%ebx, %1\n"
+        "cpuid\n"
+        "xchg %%ebx, %1\n"
+        : "=a" (eax), "=r" (ebx), "=c" (ecx), "=d" (edx)
         : "a" (op), "2" (level));
 
      f = fopen("conftest_cpuid", "w"); if (!f) return 1;
@@ -9168,6 +9172,28 @@ fi
      esac
      ax_gcc_arch="$ax_gcc_arch powerpc"
      ;;
+  aarch64)
+     cpuimpl=`grep 'CPU implementer' /proc/cpuinfo 2> /dev/null | cut -d: -f2 | tr -d " " | head -n 1`
+     cpuarch=`grep 'CPU architecture' /proc/cpuinfo 2> /dev/null | cut -d: -f2 | tr -d " " | head -n 1`
+     cpuvar=`grep 'CPU variant' /proc/cpuinfo 2> /dev/null | cut -d: -f2 | tr -d " " | head -n 1`
+     case $cpuimpl in
+       0x42) case $cpuarch in
+               8) case $cpuvar in
+                    0x0) ax_gcc_arch="thunderx2t99 vulcan armv8.1-a armv8-a+lse armv8-a native" ;;
+                  esac
+                  ;;
+             esac
+             ;;
+       0x43) case $cpuarch in
+               8) case $cpuvar in
+                    0x0) ax_gcc_arch="thunderx armv8-a native" ;;
+                    0x1) ax_gcc_arch="thunderx+lse armv8.1-a armv8-a+lse armv8-a native" ;;
+                  esac
+                  ;;
+             esac
+             ;;
+      esac
+      ;;
 esac
 fi # not cross-compiling
 fi # guess arch
   # Check whether --enable-ld-version-script was given.
 if test "${enable_ld_version_script+set}" = set; then :
   enableval=$enable_ld_version_script; have_ld_version_script=$enableval
-fi
-
-  if test -z "$have_ld_version_script"; then
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if LD -Wl,--version-script works" >&5
+else
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if LD -Wl,--version-script works" >&5
 $as_echo_n "checking if LD -Wl,--version-script works... " >&6; }
-    save_LDFLAGS="$LDFLAGS"
-    LDFLAGS="$LDFLAGS -Wl,--version-script=conftest.map"
-    cat > conftest.map <<EOF
-foo
-EOF
-    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+if ${gl_cv_sys_ld_version_script+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  gl_cv_sys_ld_version_script=no
+        save_LDFLAGS=$LDFLAGS
+        LDFLAGS="$LDFLAGS -Wl,--version-script=conftest.map"
+        echo foo >conftest.map
+        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 int
@@ -11139,14 +11165,9 @@ main ()
 }
 _ACEOF
 if ac_fn_c_try_link "$LINENO"; then :
-  accepts_syntax_errors=yes
+
 else
-  accepts_syntax_errors=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-    if test "$accepts_syntax_errors" = no; then
-      cat > conftest.map <<EOF
+  cat > conftest.map <<EOF
 VERS_1 {
         global: sym;
 };
@@ -11155,7 +11176,7 @@ VERS_2 {
         global: sym;
 } VERS_1;
 EOF
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 int
@@ -11167,21 +11188,22 @@ main ()
 }
 _ACEOF
 if ac_fn_c_try_link "$LINENO"; then :
-  have_ld_version_script=yes
-else
-  have_ld_version_script=no
+  gl_cv_sys_ld_version_script=yes
 fi
 rm -f core conftest.err conftest.$ac_objext \
     conftest$ac_exeext conftest.$ac_ext
-    else
-      have_ld_version_script=no
-    fi
-    rm -f conftest.map
-    LDFLAGS="$save_LDFLAGS"
-    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ld_version_script" >&5
-$as_echo "$have_ld_version_script" >&6; }
-  fi
-   if test "$have_ld_version_script" = "yes"; then
+fi
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
+        rm -f conftest.map
+        LDFLAGS=$save_LDFLAGS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_ld_version_script" >&5
+$as_echo "$gl_cv_sys_ld_version_script" >&6; }
+     have_ld_version_script=$gl_cv_sys_ld_version_script
+fi
+
+   if test "$have_ld_version_script" = yes; then
   HAVE_LD_VERSION_SCRIPT_TRUE=
   HAVE_LD_VERSION_SCRIPT_FALSE='#'
 else
@@ -31293,6 +31315,11 @@ $as_echo "no -- some components failed test" >&6; }
 
 $as_echo "#define LTDL_DELEGATE 1" >>confdefs.h
 
+
+cat >>confdefs.h <<_ACEOF
+#define LTDL_MODULE_EXT "${shrext_cmds}"
+_ACEOF
+
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 $as_echo "yes" >&6; }
       have_ltdl='yes'
@@ -39219,7 +39246,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 ImageMagick $as_me 7.0.7-14, which was
+This file was extended by ImageMagick $as_me 7.0.7-16, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -39286,7 +39313,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="\\
-ImageMagick config.status 7.0.7-14
+ImageMagick config.status 7.0.7-16
 configured by $0, generated by GNU Autoconf 2.69,
   with options \\"\$ac_cs_config\\"