Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 211781 Details for
Bug 293899
Problem compiling poppler 0.12.1
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
the patch i made
poppler-0.12.1-configure.patch (text/plain), 30.09 KB, created by
Michael
on 2009-12-02 16:27:05 UTC
(
hide
)
Description:
the patch i made
Filename:
MIME Type:
Creator:
Michael
Created:
2009-12-02 16:27:05 UTC
Size:
30.09 KB
patch
obsolete
>--- configure >+++ configure >@@ -782,12 +782,20 @@ > BUILD_WITH_GDK_TRUE > GDK_LIBS > GDK_CFLAGS >+GTK_DOC_USE_REBASE_FALSE >+GTK_DOC_USE_REBASE_TRUE > GTK_DOC_USE_LIBTOOL_FALSE > GTK_DOC_USE_LIBTOOL_TRUE >+GTK_DOC_BUILD_PDF_FALSE >+GTK_DOC_BUILD_PDF_TRUE >+GTK_DOC_BUILD_HTML_FALSE >+GTK_DOC_BUILD_HTML_TRUE > ENABLE_GTK_DOC_FALSE > ENABLE_GTK_DOC_TRUE >-GTKDOC_CHECK > HTML_DIR >+GTKDOC_MKPDF >+GTKDOC_REBASE >+GTKDOC_CHECK > BUILD_POPPLER_GLIB_FALSE > BUILD_POPPLER_GLIB_TRUE > GLIB_MKENUMS >@@ -813,12 +821,12 @@ > BUILD_LIBJPEG_FALSE > BUILD_LIBJPEG_TRUE > LIBJPEG_LIBS >-BUILD_LIBOPENJPEG_FALSE >-BUILD_LIBOPENJPEG_TRUE >-LIBOPENJPEG_LIBS > BUILD_ZLIB_FALSE > BUILD_ZLIB_TRUE > ZLIB_LIBS >+BUILD_LIBOPENJPEG_FALSE >+BUILD_LIBOPENJPEG_TRUE >+LIBOPENJPEG_LIBS > X_EXTRA_LIBS > X_LIBS > X_PRE_LIBS >@@ -966,9 +974,9 @@ > enable_fixedpoint > with_x > enable_exceptions >+enable_libopenjpeg > enable_largefile > enable_zlib >-enable_libopenjpeg > enable_libjpeg > enable_libpng > enable_splash_output >@@ -976,6 +984,8 @@ > enable_poppler_glib > with_html_dir > enable_gtk_doc >+enable_gtk_doc_html >+enable_gtk_doc_pdf > enable_gdk > enable_poppler_qt > enable_poppler_qt4 >@@ -1655,15 +1665,17 @@ > --enable-xpdf-headers Install unsupported xpdf headers. > --enable-fixedpoint use fixed point (instead of floating point) arithmetic > --enable-exceptions use C++ exceptions >+ --disable-libopenjpeg Don't build against libopenjpeg. > --disable-largefile omit support for large files > --enable-zlib Build with zlib >- --disable-libopenjpeg Don't build against libopenjpeg. > --disable-libjpeg Don't build against libjpeg. > --disable-libpng Don't build against libpng. > --disable-splash-output Don't build the Splash graphics backend. > --disable-cairo-output Don't build the cairo graphics backend. > --disable-poppler-glib Don't compile poppler glib wrapper. > --enable-gtk-doc use gtk-doc to build documentation [default=no] >+ --enable-gtk-doc-html build documentation in html format [default=yes] >+ --enable-gtk-doc-pdf build documentation in pdf format [default=no] > --disable-gdk Compile without gdk. > --disable-poppler-qt Don't compile poppler qt wrapper. > --disable-poppler-qt4 Don't compile poppler Qt4 wrapper. >@@ -2264,6 +2276,99 @@ > > } # ac_fn_cxx_check_func > >+# ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES >+# --------------------------------------------------------- >+# Tests whether HEADER exists, giving a warning if it cannot be compiled using >+# the include files in INCLUDES and setting the cache variable VAR >+# accordingly. >+ac_fn_cxx_check_header_mongrel () >+{ >+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack >+ if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : >+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 >+$as_echo_n "checking for $2... " >&6; } >+if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : >+ $as_echo_n "(cached) " >&6 >+fi >+eval ac_res=\$$3 >+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 >+$as_echo "$ac_res" >&6; } >+else >+ # Is the header compilable? >+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 >+$as_echo_n "checking $2 usability... " >&6; } >+cat confdefs.h - <<_ACEOF >conftest.$ac_ext >+/* end confdefs.h. */ >+$4 >+#include <$2> >+_ACEOF >+if ac_fn_cxx_try_compile "$LINENO"; then : >+ ac_header_compiler=yes >+else >+ ac_header_compiler=no >+fi >+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext >+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 >+$as_echo "$ac_header_compiler" >&6; } >+ >+# Is the header present? >+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 >+$as_echo_n "checking $2 presence... " >&6; } >+cat confdefs.h - <<_ACEOF >conftest.$ac_ext >+/* end confdefs.h. */ >+#include <$2> >+_ACEOF >+if ac_fn_cxx_try_cpp "$LINENO"; then : >+ ac_header_preproc=yes >+else >+ ac_header_preproc=no >+fi >+rm -f conftest.err conftest.$ac_ext >+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 >+$as_echo "$ac_header_preproc" >&6; } >+ >+# So? What about this header? >+case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #(( >+ yes:no: ) >+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 >+$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} >+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 >+$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} >+ ;; >+ no:yes:* ) >+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 >+$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} >+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 >+$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} >+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 >+$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} >+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 >+$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} >+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 >+$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} >+( cat <<\_ASBOX >+## ------------------------------------------------------------------------- ## >+## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=poppler ## >+## ------------------------------------------------------------------------- ## >+_ASBOX >+ ) | sed "s/^/$as_me: WARNING: /" >&2 >+ ;; >+esac >+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 >+$as_echo_n "checking for $2... " >&6; } >+if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : >+ $as_echo_n "(cached) " >&6 >+else >+ eval "$3=\$ac_header_compiler" >+fi >+eval ac_res=\$$3 >+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 >+$as_echo "$ac_res" >&6; } >+fi >+ eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} >+ >+} # ac_fn_cxx_check_header_mongrel >+ > # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES > # ------------------------------------------------------- > # Tests whether HEADER exists, giving a warning if it cannot be compiled using >@@ -5166,13 +5271,13 @@ > else > lt_cv_nm_interface="BSD nm" > echo "int some_variable = 0;" > conftest.$ac_ext >- (eval echo "\"\$as_me:5169: $ac_compile\"" >&5) >+ (eval echo "\"\$as_me:5274: $ac_compile\"" >&5) > (eval "$ac_compile" 2>conftest.err) > cat conftest.err >&5 >- (eval echo "\"\$as_me:5172: $NM \\\"conftest.$ac_objext\\\"\"" >&5) >+ (eval echo "\"\$as_me:5277: $NM \\\"conftest.$ac_objext\\\"\"" >&5) > (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) > cat conftest.err >&5 >- (eval echo "\"\$as_me:5175: output\"" >&5) >+ (eval echo "\"\$as_me:5280: output\"" >&5) > cat conftest.out >&5 > if $GREP 'External.*some_variable' conftest.out > /dev/null; then > lt_cv_nm_interface="MS dumpbin" >@@ -6375,7 +6480,7 @@ > ;; > *-*-irix6*) > # Find out which ABI we are using. >- echo '#line 6378 "configure"' > conftest.$ac_ext >+ echo '#line 6483 "configure"' > conftest.$ac_ext > if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 > (eval $ac_compile) 2>&5 > ac_status=$? >@@ -7903,11 +8008,11 @@ > -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ > -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ > -e 's:$: $lt_compiler_flag:'` >- (eval echo "\"\$as_me:7906: $lt_compile\"" >&5) >+ (eval echo "\"\$as_me:8011: $lt_compile\"" >&5) > (eval "$lt_compile" 2>conftest.err) > ac_status=$? > cat conftest.err >&5 >- echo "$as_me:7910: \$? = $ac_status" >&5 >+ echo "$as_me:8015: \$? = $ac_status" >&5 > if (exit $ac_status) && test -s "$ac_outfile"; then > # The compiler can only warn and ignore the option if not recognized > # So say no if there are warnings other than the usual output. >@@ -8242,11 +8347,11 @@ > -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ > -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ > -e 's:$: $lt_compiler_flag:'` >- (eval echo "\"\$as_me:8245: $lt_compile\"" >&5) >+ (eval echo "\"\$as_me:8350: $lt_compile\"" >&5) > (eval "$lt_compile" 2>conftest.err) > ac_status=$? > cat conftest.err >&5 >- echo "$as_me:8249: \$? = $ac_status" >&5 >+ echo "$as_me:8354: \$? = $ac_status" >&5 > if (exit $ac_status) && test -s "$ac_outfile"; then > # The compiler can only warn and ignore the option if not recognized > # So say no if there are warnings other than the usual output. >@@ -8347,11 +8452,11 @@ > -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ > -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ > -e 's:$: $lt_compiler_flag:'` >- (eval echo "\"\$as_me:8350: $lt_compile\"" >&5) >+ (eval echo "\"\$as_me:8455: $lt_compile\"" >&5) > (eval "$lt_compile" 2>out/conftest.err) > ac_status=$? > cat out/conftest.err >&5 >- echo "$as_me:8354: \$? = $ac_status" >&5 >+ echo "$as_me:8459: \$? = $ac_status" >&5 > if (exit $ac_status) && test -s out/conftest2.$ac_objext > then > # The compiler can only warn and ignore the option if not recognized >@@ -8402,11 +8507,11 @@ > -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ > -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ > -e 's:$: $lt_compiler_flag:'` >- (eval echo "\"\$as_me:8405: $lt_compile\"" >&5) >+ (eval echo "\"\$as_me:8510: $lt_compile\"" >&5) > (eval "$lt_compile" 2>out/conftest.err) > ac_status=$? > cat out/conftest.err >&5 >- echo "$as_me:8409: \$? = $ac_status" >&5 >+ echo "$as_me:8514: \$? = $ac_status" >&5 > if (exit $ac_status) && test -s out/conftest2.$ac_objext > then > # The compiler can only warn and ignore the option if not recognized >@@ -10785,7 +10890,7 @@ > lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 > lt_status=$lt_dlunknown > cat > conftest.$ac_ext <<_LT_EOF >-#line 10788 "configure" >+#line 10893 "configure" > #include "confdefs.h" > > #if HAVE_DLFCN_H >@@ -10881,7 +10986,7 @@ > lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 > lt_status=$lt_dlunknown > cat > conftest.$ac_ext <<_LT_EOF >-#line 10884 "configure" >+#line 10989 "configure" > #include "confdefs.h" > > #if HAVE_DLFCN_H >@@ -14435,11 +14540,11 @@ > -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ > -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ > -e 's:$: $lt_compiler_flag:'` >- (eval echo "\"\$as_me:14438: $lt_compile\"" >&5) >+ (eval echo "\"\$as_me:14543: $lt_compile\"" >&5) > (eval "$lt_compile" 2>conftest.err) > ac_status=$? > cat conftest.err >&5 >- echo "$as_me:14442: \$? = $ac_status" >&5 >+ echo "$as_me:14547: \$? = $ac_status" >&5 > if (exit $ac_status) && test -s "$ac_outfile"; then > # The compiler can only warn and ignore the option if not recognized > # So say no if there are warnings other than the usual output. >@@ -14534,11 +14639,11 @@ > -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ > -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ > -e 's:$: $lt_compiler_flag:'` >- (eval echo "\"\$as_me:14537: $lt_compile\"" >&5) >+ (eval echo "\"\$as_me:14642: $lt_compile\"" >&5) > (eval "$lt_compile" 2>out/conftest.err) > ac_status=$? > cat out/conftest.err >&5 >- echo "$as_me:14541: \$? = $ac_status" >&5 >+ echo "$as_me:14646: \$? = $ac_status" >&5 > if (exit $ac_status) && test -s out/conftest2.$ac_objext > then > # The compiler can only warn and ignore the option if not recognized >@@ -14586,11 +14691,11 @@ > -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ > -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ > -e 's:$: $lt_compiler_flag:'` >- (eval echo "\"\$as_me:14589: $lt_compile\"" >&5) >+ (eval echo "\"\$as_me:14694: $lt_compile\"" >&5) > (eval "$lt_compile" 2>out/conftest.err) > ac_status=$? > cat out/conftest.err >&5 >- echo "$as_me:14593: \$? = $ac_status" >&5 >+ echo "$as_me:14698: \$? = $ac_status" >&5 > if (exit $ac_status) && test -s out/conftest2.$ac_objext > then > # The compiler can only warn and ignore the option if not recognized >@@ -17841,6 +17946,152 @@ > done > > >+# Check whether --enable-libopenjpeg was given. >+if test "${enable_libopenjpeg+set}" = set; then : >+ enableval=$enable_libopenjpeg; enable_libopenjpeg=$enableval >+else >+ enable_libopenjpeg="try" >+fi >+ >+if test x$enable_libopenjpeg = xyes; then >+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for opj_cio_open in -lopenjpeg" >&5 >+$as_echo_n "checking for opj_cio_open in -lopenjpeg... " >&6; } >+if test "${ac_cv_lib_openjpeg_opj_cio_open+set}" = set; then : >+ $as_echo_n "(cached) " >&6 >+else >+ ac_check_lib_save_LIBS=$LIBS >+LIBS="-lopenjpeg $LIBS" >+cat confdefs.h - <<_ACEOF >conftest.$ac_ext >+/* end confdefs.h. */ >+ >+/* Override any GCC internal prototype to avoid an error. >+ Use char because int might match the return type of a GCC >+ builtin and then its argument prototype would still apply. */ >+#ifdef __cplusplus >+extern "C" >+#endif >+char opj_cio_open (); >+int >+main () >+{ >+return opj_cio_open (); >+ ; >+ return 0; >+} >+_ACEOF >+if ac_fn_cxx_try_link "$LINENO"; then : >+ ac_cv_lib_openjpeg_opj_cio_open=yes >+else >+ ac_cv_lib_openjpeg_opj_cio_open=no >+fi >+rm -f core conftest.err conftest.$ac_objext \ >+ conftest$ac_exeext conftest.$ac_ext >+LIBS=$ac_check_lib_save_LIBS >+fi >+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_openjpeg_opj_cio_open" >&5 >+$as_echo "$ac_cv_lib_openjpeg_opj_cio_open" >&6; } >+if test "x$ac_cv_lib_openjpeg_opj_cio_open" = x""yes; then : >+ cat >>confdefs.h <<_ACEOF >+#define HAVE_LIBOPENJPEG 1 >+_ACEOF >+ >+ LIBS="-lopenjpeg $LIBS" >+ >+else >+ as_fn_error "\"*** libopenjpeg library not found ***\"" "$LINENO" 5 >+fi >+ >+ >+for ac_header in openjpeg.h >+do : >+ ac_fn_cxx_check_header_mongrel "$LINENO" "openjpeg.h" "ac_cv_header_openjpeg_h" "$ac_includes_default" >+if test "x$ac_cv_header_openjpeg_h" = x""yes; then : >+ cat >>confdefs.h <<_ACEOF >+#define HAVE_OPENJPEG_H 1 >+_ACEOF >+ >+else >+ as_fn_error "\"*** libopenjpeg headers not found ***\"" "$LINENO" 5 >+fi >+ >+done >+ >+elif test x$enable_libopenjpeg = xtry; then >+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for opj_cio_open in -lopenjpeg" >&5 >+$as_echo_n "checking for opj_cio_open in -lopenjpeg... " >&6; } >+if test "${ac_cv_lib_openjpeg_opj_cio_open+set}" = set; then : >+ $as_echo_n "(cached) " >&6 >+else >+ ac_check_lib_save_LIBS=$LIBS >+LIBS="-lopenjpeg $LIBS" >+cat confdefs.h - <<_ACEOF >conftest.$ac_ext >+/* end confdefs.h. */ >+ >+/* Override any GCC internal prototype to avoid an error. >+ Use char because int might match the return type of a GCC >+ builtin and then its argument prototype would still apply. */ >+#ifdef __cplusplus >+extern "C" >+#endif >+char opj_cio_open (); >+int >+main () >+{ >+return opj_cio_open (); >+ ; >+ return 0; >+} >+_ACEOF >+if ac_fn_cxx_try_link "$LINENO"; then : >+ ac_cv_lib_openjpeg_opj_cio_open=yes >+else >+ ac_cv_lib_openjpeg_opj_cio_open=no >+fi >+rm -f core conftest.err conftest.$ac_objext \ >+ conftest$ac_exeext conftest.$ac_ext >+LIBS=$ac_check_lib_save_LIBS >+fi >+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_openjpeg_opj_cio_open" >&5 >+$as_echo "$ac_cv_lib_openjpeg_opj_cio_open" >&6; } >+if test "x$ac_cv_lib_openjpeg_opj_cio_open" = x""yes; then : >+ enable_libopenjpeg="yes" >+else >+ enable_libopenjpeg="no" >+fi >+ >+ for ac_header in openjpeg.h >+do : >+ ac_fn_cxx_check_header_mongrel "$LINENO" "openjpeg.h" "ac_cv_header_openjpeg_h" "$ac_includes_default" >+if test "x$ac_cv_header_openjpeg_h" = x""yes; then : >+ cat >>confdefs.h <<_ACEOF >+#define HAVE_OPENJPEG_H 1 >+_ACEOF >+ >+else >+ enable_libopenjpeg="no" >+fi >+ >+done >+ >+fi >+ >+if test x$enable_libopenjpeg = xyes; then >+ LIBOPENJPEG_LIBS="-lopenjpeg" >+ >+ $as_echo "#define ENABLE_LIBOPENJPEG 1" >>confdefs.h >+ >+fi >+ >+ if test x$enable_libopenjpeg = xyes; then >+ BUILD_LIBOPENJPEG_TRUE= >+ BUILD_LIBOPENJPEG_FALSE='#' >+else >+ BUILD_LIBOPENJPEG_TRUE='#' >+ BUILD_LIBOPENJPEG_FALSE= >+fi >+ >+ >+ > ac_ext=c > ac_cpp='$CPP $CPPFLAGS' > ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' >@@ -18291,153 +18542,6 @@ > > > >-# Check whether --enable-libopenjpeg was given. >-if test "${enable_libopenjpeg+set}" = set; then : >- enableval=$enable_libopenjpeg; enable_libopenjpeg=$enableval >-else >- enable_libopenjpeg="try" >-fi >- >-if test x$enable_libopenjpeg = xyes; then >- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for opj_cio_open in -lopenjpeg" >&5 >-$as_echo_n "checking for opj_cio_open in -lopenjpeg... " >&6; } >-if test "${ac_cv_lib_openjpeg_opj_cio_open+set}" = set; then : >- $as_echo_n "(cached) " >&6 >-else >- ac_check_lib_save_LIBS=$LIBS >-LIBS="-lopenjpeg $LIBS" >-cat confdefs.h - <<_ACEOF >conftest.$ac_ext >-/* end confdefs.h. */ >- >-/* Override any GCC internal prototype to avoid an error. >- Use char because int might match the return type of a GCC >- builtin and then its argument prototype would still apply. */ >-#ifdef __cplusplus >-extern "C" >-#endif >-char opj_cio_open (); >-int >-main () >-{ >-return opj_cio_open (); >- ; >- return 0; >-} >-_ACEOF >-if ac_fn_c_try_link "$LINENO"; then : >- ac_cv_lib_openjpeg_opj_cio_open=yes >-else >- ac_cv_lib_openjpeg_opj_cio_open=no >-fi >-rm -f core conftest.err conftest.$ac_objext \ >- conftest$ac_exeext conftest.$ac_ext >-LIBS=$ac_check_lib_save_LIBS >-fi >-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_openjpeg_opj_cio_open" >&5 >-$as_echo "$ac_cv_lib_openjpeg_opj_cio_open" >&6; } >-if test "x$ac_cv_lib_openjpeg_opj_cio_open" = x""yes; then : >- cat >>confdefs.h <<_ACEOF >-#define HAVE_LIBOPENJPEG 1 >-_ACEOF >- >- LIBS="-lopenjpeg $LIBS" >- >-else >- as_fn_error "\"*** libopenjpeg library not found ***\"" "$LINENO" 5 >-fi >- >- for ac_header in openjpeg.h >-do : >- ac_fn_c_check_header_mongrel "$LINENO" "openjpeg.h" "ac_cv_header_openjpeg_h" "$ac_includes_default" >-if test "x$ac_cv_header_openjpeg_h" = x""yes; then : >- cat >>confdefs.h <<_ACEOF >-#define HAVE_OPENJPEG_H 1 >-_ACEOF >- >-else >- as_fn_error "\"*** libopenjpeg headers not found ***\"" "$LINENO" 5 >-fi >- >-done >- >-elif test x$enable_libopenjpeg = xtry; then >- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for opj_cio_open in -lopenjpeg" >&5 >-$as_echo_n "checking for opj_cio_open in -lopenjpeg... " >&6; } >-if test "${ac_cv_lib_openjpeg_opj_cio_open+set}" = set; then : >- $as_echo_n "(cached) " >&6 >-else >- ac_check_lib_save_LIBS=$LIBS >-LIBS="-lopenjpeg $LIBS" >-cat confdefs.h - <<_ACEOF >conftest.$ac_ext >-/* end confdefs.h. */ >- >-/* Override any GCC internal prototype to avoid an error. >- Use char because int might match the return type of a GCC >- builtin and then its argument prototype would still apply. */ >-#ifdef __cplusplus >-extern "C" >-#endif >-char opj_cio_open (); >-int >-main () >-{ >-return opj_cio_open (); >- ; >- return 0; >-} >-_ACEOF >-if ac_fn_c_try_link "$LINENO"; then : >- ac_cv_lib_openjpeg_opj_cio_open=yes >-else >- ac_cv_lib_openjpeg_opj_cio_open=no >-fi >-rm -f core conftest.err conftest.$ac_objext \ >- conftest$ac_exeext conftest.$ac_ext >-LIBS=$ac_check_lib_save_LIBS >-fi >-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_openjpeg_opj_cio_open" >&5 >-$as_echo "$ac_cv_lib_openjpeg_opj_cio_open" >&6; } >-if test "x$ac_cv_lib_openjpeg_opj_cio_open" = x""yes; then : >- enable_libopenjpeg="yes" >-else >- enable_libopenjpeg="no" >-fi >- >- for ac_header in openjpeg.h >-do : >- ac_fn_c_check_header_mongrel "$LINENO" "openjpeg.h" "ac_cv_header_openjpeg_h" "$ac_includes_default" >-if test "x$ac_cv_header_openjpeg_h" = x""yes; then : >- cat >>confdefs.h <<_ACEOF >-#define HAVE_OPENJPEG_H 1 >-_ACEOF >- >-else >- enable_libopenjpeg="no" >-fi >- >-done >- >-fi >- >-if test x$enable_libopenjpeg = xyes; then >- LIBOPENJPEG_LIBS="-lopenjpeg" >- >- $as_echo "#define ENABLE_LIBOPENJPEG 1" >>confdefs.h >- >-fi >- >- if test x$enable_libopenjpeg = xyes; then >- BUILD_LIBOPENJPEG_TRUE= >- BUILD_LIBOPENJPEG_FALSE='#' >-else >- BUILD_LIBOPENJPEG_TRUE='#' >- BUILD_LIBOPENJPEG_FALSE= >-fi >- >- >- >- >- > # Check whether --enable-libjpeg was given. > if test "${enable_libjpeg+set}" = set; then : > enableval=$enable_libjpeg; enable_libjpeg=$enableval >@@ -18740,7 +18844,7 @@ > do > for j in png.h; > do >- echo "configure: 18743: $i/$j" >&5 >+ echo "configure: 18847: $i/$j" >&5 > if test -r "$i/$j"; then > echo "taking that" >&5 > png_incdir=$i >@@ -19537,54 +19641,58 @@ > > > >-# Check whether --with-html-dir was given. >-if test "${with_html_dir+set}" = set; then : >- withval=$with_html_dir; >+ # Extract the first word of "gtkdoc-check", so it can be a program name with args. >+set dummy gtkdoc-check; ac_word=$2 >+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 >+$as_echo_n "checking for $ac_word... " >&6; } >+if test "${ac_cv_path_GTKDOC_CHECK+set}" = set; then : >+ $as_echo_n "(cached) " >&6 > else >- with_html_dir='${datadir}/gtk-doc/html' >-fi >- >- HTML_DIR="$with_html_dir" >- >+ case $GTKDOC_CHECK in >+ [\\/]* | ?:[\\/]*) >+ ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path. >+ ;; >+ *) >+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR >+for as_dir in $PATH >+do >+ IFS=$as_save_IFS >+ test -z "$as_dir" && as_dir=. >+ for ac_exec_ext in '' $ac_executable_extensions; do >+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then >+ ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext" >+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 >+ break 2 >+ fi >+done >+ done >+IFS=$as_save_IFS > >- # Check whether --enable-gtk-doc was given. >-if test "${enable_gtk_doc+set}" = set; then : >- enableval=$enable_gtk_doc; >-else >- enable_gtk_doc=no >+ ;; >+esac > fi >- >- >- if test x$enable_gtk_doc = xyes; then >- if test -n "$PKG_CONFIG" && \ >- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.0\""; } >&5 >- ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.0") 2>&5 >- ac_status=$? >- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 >- test $ac_status = 0; }; then >- : >+GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK >+if test -n "$GTKDOC_CHECK"; then >+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5 >+$as_echo "$GTKDOC_CHECK" >&6; } > else >- as_fn_error "You need to have gtk-doc >= 1.0 installed to build gtk-doc" "$LINENO" 5 >+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 >+$as_echo "no" >&6; } > fi >- fi > >- { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5 >-$as_echo_n "checking whether to build gtk-doc documentation... " >&6; } >- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5 >-$as_echo "$enable_gtk_doc" >&6; } > >- for ac_prog in gtkdoc-check >+ for ac_prog in gtkdoc-rebase > do > # Extract the first word of "$ac_prog", so it can be a program name with args. > set dummy $ac_prog; ac_word=$2 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 > $as_echo_n "checking for $ac_word... " >&6; } >-if test "${ac_cv_path_GTKDOC_CHECK+set}" = set; then : >+if test "${ac_cv_path_GTKDOC_REBASE+set}" = set; then : > $as_echo_n "(cached) " >&6 > else >- case $GTKDOC_CHECK in >+ case $GTKDOC_REBASE in > [\\/]* | ?:[\\/]*) >- ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path. >+ ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path. > ;; > *) > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR >@@ -19594,7 +19702,7 @@ > test -z "$as_dir" && as_dir=. > for ac_exec_ext in '' $ac_executable_extensions; do > if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then >- ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext" >+ ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext" > $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 > break 2 > fi >@@ -19605,18 +19713,116 @@ > ;; > esac > fi >-GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK >-if test -n "$GTKDOC_CHECK"; then >- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5 >-$as_echo "$GTKDOC_CHECK" >&6; } >+GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE >+if test -n "$GTKDOC_REBASE"; then >+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5 >+$as_echo "$GTKDOC_REBASE" >&6; } > else > { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 > $as_echo "no" >&6; } > fi > > >- test -n "$GTKDOC_CHECK" && break >+ test -n "$GTKDOC_REBASE" && break > done >+test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true" >+ >+ # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args. >+set dummy gtkdoc-mkpdf; ac_word=$2 >+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 >+$as_echo_n "checking for $ac_word... " >&6; } >+if test "${ac_cv_path_GTKDOC_MKPDF+set}" = set; then : >+ $as_echo_n "(cached) " >&6 >+else >+ case $GTKDOC_MKPDF in >+ [\\/]* | ?:[\\/]*) >+ ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path. >+ ;; >+ *) >+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR >+for as_dir in $PATH >+do >+ IFS=$as_save_IFS >+ test -z "$as_dir" && as_dir=. >+ for ac_exec_ext in '' $ac_executable_extensions; do >+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then >+ ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext" >+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 >+ break 2 >+ fi >+done >+ done >+IFS=$as_save_IFS >+ >+ ;; >+esac >+fi >+GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF >+if test -n "$GTKDOC_MKPDF"; then >+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5 >+$as_echo "$GTKDOC_MKPDF" >&6; } >+else >+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 >+$as_echo "no" >&6; } >+fi >+ >+ >+ >+ >+# Check whether --with-html-dir was given. >+if test "${with_html_dir+set}" = set; then : >+ withval=$with_html_dir; >+else >+ with_html_dir='${datadir}/gtk-doc/html' >+fi >+ >+ HTML_DIR="$with_html_dir" >+ >+ >+ # Check whether --enable-gtk-doc was given. >+if test "${enable_gtk_doc+set}" = set; then : >+ enableval=$enable_gtk_doc; >+else >+ enable_gtk_doc=no >+fi >+ >+ >+ if test x$enable_gtk_doc = xyes; then >+ if test -n "$PKG_CONFIG" && \ >+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.0\""; } >&5 >+ ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.0") 2>&5 >+ ac_status=$? >+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 >+ test $ac_status = 0; }; then >+ : >+else >+ as_fn_error "You need to have gtk-doc >= 1.0 installed to build $PACKAGE_NAME" "$LINENO" 5 >+fi >+ fi >+ >+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5 >+$as_echo_n "checking whether to build gtk-doc documentation... " >&6; } >+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5 >+$as_echo "$enable_gtk_doc" >&6; } >+ >+ # Check whether --enable-gtk-doc-html was given. >+if test "${enable_gtk_doc_html+set}" = set; then : >+ enableval=$enable_gtk_doc_html; >+else >+ enable_gtk_doc_html=yes >+fi >+ >+ # Check whether --enable-gtk-doc-pdf was given. >+if test "${enable_gtk_doc_pdf+set}" = set; then : >+ enableval=$enable_gtk_doc_pdf; >+else >+ enable_gtk_doc_pdf=no >+fi >+ >+ >+ if test -n "$GTKDOC_MKPDF"; then >+ enable_gtk_doc_pdf=no >+ fi > > > if test x$enable_gtk_doc = xyes; then >@@ -19627,6 +19833,22 @@ > ENABLE_GTK_DOC_FALSE= > fi > >+ if test x$enable_gtk_doc_html = xyes; then >+ GTK_DOC_BUILD_HTML_TRUE= >+ GTK_DOC_BUILD_HTML_FALSE='#' >+else >+ GTK_DOC_BUILD_HTML_TRUE='#' >+ GTK_DOC_BUILD_HTML_FALSE= >+fi >+ >+ if test x$enable_gtk_doc_pdf = xyes; then >+ GTK_DOC_BUILD_PDF_TRUE= >+ GTK_DOC_BUILD_PDF_FALSE='#' >+else >+ GTK_DOC_BUILD_PDF_TRUE='#' >+ GTK_DOC_BUILD_PDF_FALSE= >+fi >+ > if test -n "$LIBTOOL"; then > GTK_DOC_USE_LIBTOOL_TRUE= > GTK_DOC_USE_LIBTOOL_FALSE='#' >@@ -19635,6 +19857,14 @@ > GTK_DOC_USE_LIBTOOL_FALSE= > fi > >+ if test -n "$GTKDOC_REBASE"; then >+ GTK_DOC_USE_REBASE_TRUE= >+ GTK_DOC_USE_REBASE_FALSE='#' >+else >+ GTK_DOC_USE_REBASE_TRUE='#' >+ GTK_DOC_USE_REBASE_FALSE= >+fi >+ > > > # Check whether --enable-gdk was given. >@@ -21415,14 +21645,14 @@ > as_fn_error "conditional \"ENABLE_XPDF_HEADERS\" was never defined. > Usually this means the macro was only invoked conditionally." "$LINENO" 5 > fi >-if test -z "${BUILD_ZLIB_TRUE}" && test -z "${BUILD_ZLIB_FALSE}"; then >- as_fn_error "conditional \"BUILD_ZLIB\" was never defined. >-Usually this means the macro was only invoked conditionally." "$LINENO" 5 >-fi > if test -z "${BUILD_LIBOPENJPEG_TRUE}" && test -z "${BUILD_LIBOPENJPEG_FALSE}"; then > as_fn_error "conditional \"BUILD_LIBOPENJPEG\" was never defined. > Usually this means the macro was only invoked conditionally." "$LINENO" 5 > fi >+if test -z "${BUILD_ZLIB_TRUE}" && test -z "${BUILD_ZLIB_FALSE}"; then >+ as_fn_error "conditional \"BUILD_ZLIB\" was never defined. >+Usually this means the macro was only invoked conditionally." "$LINENO" 5 >+fi > if test -z "${BUILD_LIBJPEG_TRUE}" && test -z "${BUILD_LIBJPEG_FALSE}"; then > as_fn_error "conditional \"BUILD_LIBJPEG\" was never defined. > Usually this means the macro was only invoked conditionally." "$LINENO" 5 >@@ -21447,10 +21677,22 @@ > as_fn_error "conditional \"ENABLE_GTK_DOC\" was never defined. > Usually this means the macro was only invoked conditionally." "$LINENO" 5 > fi >+if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then >+ as_fn_error "conditional \"GTK_DOC_BUILD_HTML\" was never defined. >+Usually this means the macro was only invoked conditionally." "$LINENO" 5 >+fi >+if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then >+ as_fn_error "conditional \"GTK_DOC_BUILD_PDF\" was never defined. >+Usually this means the macro was only invoked conditionally." "$LINENO" 5 >+fi > if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then > as_fn_error "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined. > Usually this means the macro was only invoked conditionally." "$LINENO" 5 > fi >+if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then >+ as_fn_error "conditional \"GTK_DOC_USE_REBASE\" was never defined. >+Usually this means the macro was only invoked conditionally." "$LINENO" 5 >+fi > if test -z "${BUILD_WITH_GDK_TRUE}" && test -z "${BUILD_WITH_GDK_FALSE}"; then > as_fn_error "conditional \"BUILD_WITH_GDK\" was never defined. > Usually this means the macro was only invoked conditionally." "$LINENO" 5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 293899
:
211780
| 211781 |
215018
|
215020