Imported Upstream version 8.2.2
[platform/upstream/harfbuzz.git] / configure
index 969a83a..589bc1a 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 HarfBuzz 3.4.0.
+# Generated by GNU Autoconf 2.69 for HarfBuzz 8.2.2.
 #
 # Report bugs to <https://github.com/harfbuzz/harfbuzz/issues/new>.
 #
@@ -590,8 +590,8 @@ MAKEFLAGS=
 # Identity of this package.
 PACKAGE_NAME='HarfBuzz'
 PACKAGE_TARNAME='harfbuzz'
-PACKAGE_VERSION='3.4.0'
-PACKAGE_STRING='HarfBuzz 3.4.0'
+PACKAGE_VERSION='8.2.2'
+PACKAGE_STRING='HarfBuzz 8.2.2'
 PACKAGE_BUGREPORT='https://github.com/harfbuzz/harfbuzz/issues/new'
 PACKAGE_URL='http://harfbuzz.org/'
 
@@ -636,14 +636,16 @@ ac_subst_vars='am__EXEEXT_FALSE
 am__EXEEXT_TRUE
 LTLIBOBJS
 LIBOBJS
+HAVE_WASM_FALSE
+HAVE_WASM_TRUE
+WASM_LIBS
+WASM_CFLAGS
 HAVE_CORETEXT_FALSE
 HAVE_CORETEXT_TRUE
 CORETEXT_LIBS
 CORETEXT_CFLAGS
 HAVE_DIRECTWRITE_FALSE
 HAVE_DIRECTWRITE_TRUE
-DIRECTWRITE_LIBS
-DIRECTWRITE_CXXFLAGS
 HAVE_GDI_FALSE
 HAVE_GDI_TRUE
 GDI_LIBS
@@ -911,6 +913,7 @@ with_uniscribe
 with_gdi
 with_directwrite
 with_coretext
+with_wasm
 '
       ac_precious_vars='build_alias
 host_alias
@@ -1497,7 +1500,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 HarfBuzz 3.4.0 to adapt to many kinds of systems.
+\`configure' configures HarfBuzz 8.2.2 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1568,7 +1571,7 @@ fi
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of HarfBuzz 3.4.0:";;
+     short | recursive ) echo "Configuration of HarfBuzz 8.2.2:";;
    esac
   cat <<\_ACEOF
 
@@ -1633,6 +1636,8 @@ Optional Packages:
                           [default=no]
   --with-coretext=[yes/no/auto]
                           Use CoreText [default=no]
+  --with-wasm=[yes/no/auto]
+                          Use the wasm-micro-runtime library [default=no]
 
 Some influential environment variables:
   CC          C compiler command
@@ -1751,7 +1756,7 @@ fi
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-HarfBuzz configure 3.4.0
+HarfBuzz configure 8.2.2
 generated by GNU Autoconf 2.69
 
 Copyright (C) 2012 Free Software Foundation, Inc.
@@ -2569,7 +2574,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 HarfBuzz $as_me 3.4.0, which was
+It was created by HarfBuzz $as_me 8.2.2, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   $ $0 $@
@@ -3438,7 +3443,7 @@ fi
 
 # Define the identity of the package.
  PACKAGE='harfbuzz'
- VERSION='3.4.0'
+ VERSION='8.2.2'
 
 
 # Some tools Automake needs.
@@ -19354,10 +19359,10 @@ GIT=${GIT-"${am_missing_run}git"}
 
 
 
-HB_VERSION_MAJOR=3
-HB_VERSION_MINOR=4
-HB_VERSION_MICRO=0
-HB_VERSION=3.4.0
+HB_VERSION_MAJOR=8
+HB_VERSION_MINOR=2
+HB_VERSION_MICRO=2
+HB_VERSION=8.2.2
 
 
 
@@ -19365,7 +19370,7 @@ HB_VERSION=3.4.0
 
 # Libtool version
 
-HB_LIBTOOL_VERSION_INFO=30400:0:30400
+HB_LIBTOOL_VERSION_INFO=60822:0:60822
 
 
 
@@ -19764,7 +19769,7 @@ fi
 
 
 # Functions and headers
-for ac_func in atexit mprotect sysconf getpagesize mmap isatty newlocale uselocale
+for ac_func in atexit mprotect sysconf getpagesize mmap isatty newlocale uselocale sincosf
 do :
   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
@@ -21035,6 +21040,20 @@ else
 $as_echo "yes" >&6; }
        have_cairo=true
 fi
+       save_libs=$LIBS
+       LIBS="$LIBS $CAIRO_LIBS"
+       for ac_func in cairo_user_font_face_set_render_color_glyph_func
+do :
+  ac_fn_c_check_func "$LINENO" "cairo_user_font_face_set_render_color_glyph_func" "ac_cv_func_cairo_user_font_face_set_render_color_glyph_func"
+if test "x$ac_cv_func_cairo_user_font_face_set_render_color_glyph_func" = xyes; then :
+  cat >>confdefs.h <<_ACEOF
+#define HAVE_CAIRO_USER_FONT_FACE_SET_RENDER_COLOR_GLYPH_FUNC 1
+_ACEOF
+
+fi
+done
+
+       LIBS=$save_libs
 fi
 if test "x$with_cairo" = "xyes" -a "x$have_cairo" != "xtrue"; then
        as_fn_error $? "cairo support requested but not found" "$LINENO" 5
@@ -21570,7 +21589,7 @@ $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
 
        save_libs=$LIBS
        LIBS="$LIBS $FREETYPE_LIBS"
-       for ac_func in FT_Get_Var_Blend_Coordinates FT_Set_Var_Blend_Coordinates FT_Done_MM_Var
+       for ac_func in FT_Get_Var_Blend_Coordinates FT_Set_Var_Blend_Coordinates FT_Done_MM_Var FT_Get_Transform
 do :
   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
@@ -21702,12 +21721,12 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
 if test "x$with_directwrite" = "xyes" -o "x$with_directwrite" = "xauto"; then
 
-for ac_header in dwrite.h
+for ac_header in dwrite_1.h
 do :
-  ac_fn_cxx_check_header_mongrel "$LINENO" "dwrite.h" "ac_cv_header_dwrite_h" "$ac_includes_default"
-if test "x$ac_cv_header_dwrite_h" = xyes; then :
+  ac_fn_cxx_check_header_mongrel "$LINENO" "dwrite_1.h" "ac_cv_header_dwrite_1_h" "$ac_includes_default"
+if test "x$ac_cv_header_dwrite_1_h" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_DWRITE_H 1
+#define HAVE_DWRITE_1_H 1
 _ACEOF
  have_directwrite=true
 fi
@@ -21725,10 +21744,6 @@ if test "x$with_directwrite" = "xyes" -a "x$have_directwrite" != "xtrue"; then
        as_fn_error $? "directwrite support requested but not found" "$LINENO" 5
 fi
 if $have_directwrite; then
-       DIRECTWRITE_CXXFLAGS=
-       DIRECTWRITE_LIBS=
-
-
 
 $as_echo "#define HAVE_DIRECTWRITE 1" >>confdefs.h
 
 
 
 
-ac_config_files="$ac_config_files Makefile src/Makefile src/harfbuzz-config.cmake util/Makefile test/Makefile test/api/Makefile test/fuzzing/Makefile test/shape/Makefile test/shape/data/Makefile test/shape/data/aots/Makefile test/shape/data/in-house/Makefile test/shape/data/text-rendering-tests/Makefile test/subset/Makefile test/subset/data/Makefile test/subset/data/repack_tests/Makefile docs/Makefile docs/version.xml"
+
+# Check whether --with-wasm was given.
+if test "${with_wasm+set}" = set; then :
+  withval=$with_wasm;
+else
+  with_wasm=no
+fi
+
+have_wasm=false
+if test "x$with_wasm" = "xyes" -o "x$with_wasm" = "xauto"; then
+       for ac_header in wasm_export.h
+do :
+  ac_fn_c_check_header_mongrel "$LINENO" "wasm_export.h" "ac_cv_header_wasm_export_h" "$ac_includes_default"
+if test "x$ac_cv_header_wasm_export_h" = xyes; then :
+  cat >>confdefs.h <<_ACEOF
+#define HAVE_WASM_EXPORT_H 1
+_ACEOF
+ have_wasm=true
+fi
+
+done
+
+fi
+if test "x$with_wasm" = "xyes" -a "x$have_wasm" != "xtrue"; then
+       as_fn_error $? "wasm support requested but not found" "$LINENO" 5
+fi
+if $have_wasm; then
+       WASM_CFLAGS=
+       WASM_LIBS="-liwasm"
+
+
+
+$as_echo "#define HAVE_WASM 1" >>confdefs.h
+
+fi
+ if $have_wasm; then
+  HAVE_WASM_TRUE=
+  HAVE_WASM_FALSE='#'
+else
+  HAVE_WASM_TRUE='#'
+  HAVE_WASM_FALSE=
+fi
+
+
+
+ac_config_files="$ac_config_files Makefile src/Makefile src/harfbuzz-config.cmake util/Makefile test/Makefile test/api/Makefile test/fuzzing/Makefile test/shape/Makefile test/shape/data/Makefile test/shape/data/aots/Makefile test/shape/data/in-house/Makefile test/shape/data/text-rendering-tests/Makefile test/subset/Makefile test/subset/data/Makefile test/subset/data/repack_tests/Makefile test/threads/Makefile perf/Makefile docs/Makefile docs/version.xml"
 
 
 cat >confcache <<\_ACEOF
@@ -22051,6 +22111,10 @@ if test -z "${HAVE_CORETEXT_TRUE}" && test -z "${HAVE_CORETEXT_FALSE}"; then
   as_fn_error $? "conditional \"HAVE_CORETEXT\" was never defined.
 Usually this means the macro was only invoked conditionally." "$LINENO" 5
 fi
+if test -z "${HAVE_WASM_TRUE}" && test -z "${HAVE_WASM_FALSE}"; then
+  as_fn_error $? "conditional \"HAVE_WASM\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
 
 : "${CONFIG_STATUS=./config.status}"
 ac_write_fail=0
@@ -22448,7 +22512,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 HarfBuzz $as_me 3.4.0, which was
+This file was extended by HarfBuzz $as_me 8.2.2, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -22515,7 +22579,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="\\
-HarfBuzz config.status 3.4.0
+HarfBuzz config.status 8.2.2
 configured by $0, generated by GNU Autoconf 2.69,
   with options \\"\$ac_cs_config\\"
 
@@ -23043,6 +23107,8 @@ do
     "test/subset/Makefile") CONFIG_FILES="$CONFIG_FILES test/subset/Makefile" ;;
     "test/subset/data/Makefile") CONFIG_FILES="$CONFIG_FILES test/subset/data/Makefile" ;;
     "test/subset/data/repack_tests/Makefile") CONFIG_FILES="$CONFIG_FILES test/subset/data/repack_tests/Makefile" ;;
+    "test/threads/Makefile") CONFIG_FILES="$CONFIG_FILES test/threads/Makefile" ;;
+    "perf/Makefile") CONFIG_FILES="$CONFIG_FILES perf/Makefile" ;;
     "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
     "docs/version.xml") CONFIG_FILES="$CONFIG_FILES docs/version.xml" ;;
 
@@ -24525,6 +24591,7 @@ Platform shapers (not normally needed):
        DirectWrite:            ${have_directwrite}
        GDI:                    ${have_gdi}
        Uniscribe:              ${have_uniscribe}
+       WebAssembly:            ${have_wasm}
 
 Other features:
        Documentation:          ${enable_gtk_doc}
@@ -24555,6 +24622,7 @@ Platform shapers (not normally needed):
        DirectWrite:            ${have_directwrite}
        GDI:                    ${have_gdi}
        Uniscribe:              ${have_uniscribe}
+       WebAssembly:            ${have_wasm}
 
 Other features:
        Documentation:          ${enable_gtk_doc}