comparison configure.in @ 1865:98ef1fb7f4e8

configure.in: replace obsolete AC_ERROR with AC_MSG_ERROR.
author Jeremy Henty <onepoint@starurchin.org>
date Sat, 08 Jan 2011 17:55:36 +0000
parents ece02d1a09cc
children 086b5a6137ce
comparison
equal deleted inserted replaced
1864:ece02d1a09cc 1865:98ef1fb7f4e8
151 then AC_MSG_RESULT(yes) 151 then AC_MSG_RESULT(yes)
152 LIBFLTK_CXXFLAGS=`fltk2-config --cxxflags` 152 LIBFLTK_CXXFLAGS=`fltk2-config --cxxflags`
153 LIBFLTK_CFLAGS=`fltk2-config --cflags` 153 LIBFLTK_CFLAGS=`fltk2-config --cflags`
154 LIBFLTK_LIBS=`fltk2-config --ldflags` 154 LIBFLTK_LIBS=`fltk2-config --ldflags`
155 else AC_MSG_RESULT(no) 155 else AC_MSG_RESULT(no)
156 AC_ERROR(FLTK2 must be installed!) 156 AC_MSG_ERROR(FLTK2 must be installed!)
157 fi 157 fi
158 158
159 159
160 dnl ---------------- 160 dnl ----------------
161 dnl Test for libjpeg 161 dnl Test for libjpeg
200 fi 200 fi
201 201
202 if test "x$libz_ok" = xyes; then 202 if test "x$libz_ok" = xyes; then
203 LIBZ_LIBS="-lz" 203 LIBZ_LIBS="-lz"
204 else 204 else
205 AC_ERROR(zlib must be installed!) 205 AC_MSG_ERROR(zlib must be installed!)
206 fi 206 fi
207 207
208 dnl --------------- 208 dnl ---------------
209 dnl Test for libpng 209 dnl Test for libpng
210 dnl --------------- 210 dnl ---------------
325 LIBICONV_LIBS="-liconv" 325 LIBICONV_LIBS="-liconv"
326 fi 326 fi
327 fi 327 fi
328 328
329 if test "x$iconv_ok" = "xno"; then 329 if test "x$iconv_ok" = "xno"; then
330 AC_ERROR(libiconv must be installed!) 330 AC_MSG_ERROR(libiconv must be installed!)
331 fi 331 fi
332 332
333 dnl ---------------------- 333 dnl ----------------------
334 dnl Check if we need to 334 dnl Check if we need to
335 dnl support the old 335 dnl support the old