Revision 80f2b368e3011f2676f42c66e989504772338554 authored by Eh Tan on 16 October 2013, 05:09:46 UTC, committed by Eh Tan on 16 October 2013, 05:09:46 UTC
1 parent 90690a9
cit_proj4.m4
# -*- Autoconf -*-
# ======================================================================
# Autoconf macros for Proj4.
# ======================================================================
# ----------------------------------------------------------------------
# CIT_PROJ4_HEADER
# ----------------------------------------------------------------------
AC_DEFUN([CIT_PROJ4_HEADER], [
AC_LANG(C)
AC_CHECK_HEADER([proj_api.h], [], [
AC_MSG_ERROR([Proj4 header not found; try CPPFLAGS="-I<Proj4 include dir>"])
])dnl
])dnl CIT_PROJ4_HEADER
# ----------------------------------------------------------------------
# CIT_PROJ4_LIB
# ----------------------------------------------------------------------
AC_DEFUN([CIT_PROJ4_LIB], [
AC_LANG(C)
AC_CHECK_LIB(proj, pj_init_plus, [],[
AC_MSG_ERROR([Proj4 library not found; try LDFLAGS="-L<Proj4 lib dir>"])
])dnl
])dnl CIT_PROJ4_LIB
dnl end of file

Computing file changes ...