Hi,
I have a libname with version number.
liballegro-4.9.14
I added this name to AC_CHECK_LIB. And it is found.
# Checks for libraries.
AC_CHECK_LIB([allegro-4.9.14], [al_create_display], [],
[AC_MSG_ERROR("allegro-4.9.14 not found")])
AC_CHECK_LIB([allegro_image-4.9.14], [al_load_bitmap], [],
[AC_MSG_ERROR("allegro_image-4.9.14 not found")])
# Checks for header files.
AC_CHECK_HEADERS([allegro5/allegro.h], [],
[AC_MSG_ERROR("allegro5/allegro.h not found)])
AC_CHECK_HEADERS([allegro5/allegro_image.h], [],
[AC_MSG_ERROR("allegro5/allegro_image.h not found")], [#include
<allegro5/allegro.h>])
But I want to have a configure.ac recognizing later versions up to
4.9.17, too.
How would I do this?
Thanks,
--
Martin Kalbfuß <[email protected]>