Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


Ignore:
Timestamp:
Dec 4, 2004, 6:05:54 PM (19 years ago)
Author:
bensch
Message:

orxonox/branches/images: ability to readIn jpg-files

File:
1 edited

Legend:

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

    r3084 r3086  
    203203AC_SUBST(MSBITFIELDS)
    204204
    205 
     205## checking for libjpeg
     206AC_CHECK_HEADERS(jpeglib.h ,,
     207        [AC_MSG_ERROR([cannot find jpeg headers]) ])
     208
     209AC_CHECK_LIB([jpeg], [main], FOUND_jpeg=yes)
     210    if test "$FOUND_jpeg" = "yes" ; then
     211      LIBS="$LIBS -ljpeg"
     212    else
     213         echo "------------------"
     214         echo "jpeg library not found."
     215         echo "please install the jpeg library from the Independent JPEG Group, which can be found at http://www.ijg.org"
     216         echo "------------------"
     217         exit -1
     218    fi   
    206219
    207220
Note: See TracChangeset for help on using the changeset viewer.