Changeset 7338
- Timestamp:
- Jun 5, 2006, 11:50:52 AM (20 years ago)
- File:
-
- 1 edited
-
trunk/psphot/configure.ac (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/configure.ac
r6495 r7338 31 31 ) 32 32 33 AC_CHECK_LIB(jpeg,jpeg_CreateCompress,[],[AC_MSG_ERROR([jpeg library not found.])]) 33 dnl ------------------------------------------------------------ 34 dnl Find libjpeg. The library may not be in a well-known place, 35 dnl and AC_CHECK_LIB has no way of adding a library to the 36 dnl search path for the duration of the test 37 dnl 38 39 AC_ARG_WITH(libjpeg, 40 [AS_HELP_STRING(--with-libjpeg=DIR, Specify location of libjpg library)], 41 [JPEG_LIB="-L$withval"]) 42 SAVE_LIBS="${LIBS}" 43 LIBS="${LIBS=} $JPEG_LIB" 44 45 AC_CHECK_LIB(jpeg,jpeg_CreateCompress, 46 [LIBS="${SAVE_LIBS} $JPEG_LIB -ljpeg"], 47 [LIBS="${SAVE_LIBS}" 48 AC_MSG_ERROR([jpeg library not found.])]) 49 50 dnl ------------------------------------------------------------ 51 34 52 PKG_CHECK_MODULES(PSLIB, pslib >= 0.9.0) 35 53 PKG_CHECK_MODULES(PSMODULE, psmodule >= 0.0.0)
Note:
See TracChangeset
for help on using the changeset viewer.
