- fix build for png-1.4.1
This commit is contained in:
parent
c47b6e92c4
commit
c069ab0c68
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=251711
1 changed files with 53 additions and 0 deletions
|
@ -1,5 +1,58 @@
|
||||||
--- configure.orig Tue Apr 13 09:47:26 2004
|
--- configure.orig Tue Apr 13 09:47:26 2004
|
||||||
+++ configure Fri Apr 16 01:07:19 2004
|
+++ configure Fri Apr 16 01:07:19 2004
|
||||||
|
@@ -8687,9 +8687,9 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
-echo "$as_me:$LINENO: checking for png_libpng_ver in -lpng" >&5
|
||||||
|
-echo $ECHO_N "checking for png_libpng_ver in -lpng... $ECHO_C" >&6
|
||||||
|
-if test "${ac_cv_lib_png_png_libpng_ver+set}" = set; then
|
||||||
|
+echo "$as_me:$LINENO: checking for png_get_header_ver in -lpng" >&5
|
||||||
|
+echo $ECHO_N "checking for png_get_header_ver in -lpng... $ECHO_C" >&6
|
||||||
|
+if test "${ac_cv_lib_png_png_get_header_ver+set}" = set; then
|
||||||
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
||||||
|
else
|
||||||
|
ac_check_lib_save_LIBS=$LIBS
|
||||||
|
@@ -8707,11 +8707,11 @@
|
||||||
|
#endif
|
||||||
|
/* We use char because int might match the return type of a gcc2
|
||||||
|
builtin and then its argument prototype would still apply. */
|
||||||
|
-char png_libpng_ver ();
|
||||||
|
+char png_get_header_ver ();
|
||||||
|
int
|
||||||
|
main ()
|
||||||
|
{
|
||||||
|
-png_libpng_ver ();
|
||||||
|
+png_get_header_ver ();
|
||||||
|
;
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
@@ -8738,20 +8738,20 @@
|
||||||
|
ac_status=$?
|
||||||
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||||
|
(exit $ac_status); }; }; then
|
||||||
|
- ac_cv_lib_png_png_libpng_ver=yes
|
||||||
|
+ ac_cv_lib_png_png_get_header_ver=yes
|
||||||
|
else
|
||||||
|
echo "$as_me: failed program was:" >&5
|
||||||
|
sed 's/^/| /' conftest.$ac_ext >&5
|
||||||
|
|
||||||
|
-ac_cv_lib_png_png_libpng_ver=no
|
||||||
|
+ac_cv_lib_png_png_get_header_ver=no
|
||||||
|
fi
|
||||||
|
rm -f conftest.err conftest.$ac_objext \
|
||||||
|
conftest$ac_exeext conftest.$ac_ext
|
||||||
|
LIBS=$ac_check_lib_save_LIBS
|
||||||
|
fi
|
||||||
|
-echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_libpng_ver" >&5
|
||||||
|
-echo "${ECHO_T}$ac_cv_lib_png_png_libpng_ver" >&6
|
||||||
|
-if test $ac_cv_lib_png_png_libpng_ver = yes; then
|
||||||
|
+echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_get_header_ver" >&5
|
||||||
|
+echo "${ECHO_T}$ac_cv_lib_png_png_get_header_ver" >&6
|
||||||
|
+if test $ac_cv_lib_png_png_get_header_ver = yes; then
|
||||||
|
CFLAGS="$CFLAGS -DHAVE_LIBPNG" LDFLAGS="$LDFLAGS -lpng"
|
||||||
|
fi
|
||||||
|
|
||||||
@@ -8983,7 +8983,7 @@
|
@@ -8983,7 +8983,7 @@
|
||||||
echo $ECHO_N "(cached) $ECHO_C" >&6
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue