diff options
| author | Fabien Costantini <fabien@onepost.net> | 2008-11-10 22:03:55 +0000 |
|---|---|---|
| committer | Fabien Costantini <fabien@onepost.net> | 2008-11-10 22:03:55 +0000 |
| commit | 250090b3f017ac3be12f4bcce9ea3cdecc59618d (patch) | |
| tree | f4fc305a593aaa6e852ab22d76e6037931ea04c9 /configure.in | |
| parent | 6c279f990996aeb7a0994433cd6acb183299d4d6 (diff) | |
More optimisation and cleanup for the PNG lib handling in configure.in. Also reordered the variables the same way in the main if test code so that differences now are obvious between the two modes
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6515 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'configure.in')
| -rw-r--r-- | configure.in | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/configure.in b/configure.in index b1d44f72c..7ccc9a056 100644 --- a/configure.in +++ b/configure.in @@ -595,23 +595,18 @@ if test x$enable_localpng != xyes ; then syspnginc_ok=yes) if test x$syspnginc_ok = xyes; then syspnglib_ok=yes - else - syspnglib_ok=no fi]) fi -#AC_MSG_WARN("*** USING LIB OK : $syspnglib_ok") # The following is executed if the lib was not found usable or if local lib is required explicitly if test x$enable_localpng = xyes -o x$syspnglib_ok = xno ; then -# ac_cv_lib_png_png_set_tRNS_to_alpha=yes + PNGINC="-I../png" + PNG="png" + IMAGELIBS="-lfltk_png $IMAGELIBS" AC_DEFINE(HAVE_LIBPNG) AC_DEFINE(HAVE_PNG_H) AC_DEFINE(HAVE_PNG_GET_VALID) AC_DEFINE(HAVE_PNG_SET_TRNS_TO_ALPHA) - PNGINC="-I../png" - PNG="png" - IMAGELIBS="-lfltk_png $IMAGELIBS" -# AC_MSG_WARN("*** USING PNG LOCAL SETUP") else PNGINC="" PNG="" @@ -619,7 +614,6 @@ else AC_DEFINE(HAVE_LIBPNG) AC_CHECK_LIB(png,png_get_valid, AC_DEFINE(HAVE_PNG_GET_VALID)) AC_CHECK_LIB(png,png_set_tRNS_to_alpha, AC_DEFINE(HAVE_PNG_SET_TRNS_TO_ALPHA)) -# AC_MSG_WARN("*** USING PNG LIB SETUP") fi AC_SUBST(JPEG) |
