Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3098 in orxonox.OLD for orxonox/branches/images/configure.ac


Ignore:
Timestamp:
Dec 5, 2004, 4:05:57 AM (20 years ago)
Author:
bensch
Message:

orxonox/branches/images: libPNG included, and also a routine to read it, but this one is not the best i Could find.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/images/configure.ac

    r3086 r3098  
    219219
    220220
     221## checking for libpng
     222AC_CHECK_HEADERS(png.h ,,
     223        [AC_MSG_ERROR([cannot find jpeg headers]) ])
     224
     225AC_CHECK_LIB([png], [main], FOUND_png=yes)
     226    if test "$FOUND_png" = "yes" ; then
     227      LIBS="$LIBS -lpng"
     228    else
     229         echo "------------------"
     230         echo "png library not found."
     231         echo "please install the png library, which can be found at http://libpng.org/pub/png/libpng.html"
     232         echo "------------------"
     233         exit -1
     234    fi   
     235
     236
    221237## checking for GTK
    222238PKG_CHECK_MODULES(GTK2, gtk+-2.0 >= 2.0.3 gthread-2.0 >= 2.0.3, have_gtk2=yes, have_gtk2=no)
Note: See TracChangeset for help on using the changeset viewer.