Annotation of OpenXM/src/oxmgraph/configure.in, Revision 1.2
1.1 takayama 1: dnl If you change this file, do not forget to run autoconf and rm .configure_done
2:
1.2 ! ohara 3: AC_INIT
! 4: AC_PREREQ(2.61)
! 5: AC_CANONICAL_TARGET
1.1 takayama 6:
7: AC_PROG_CC
1.2 ! ohara 8: AC_PROG_INSTALL
! 9: AC_PROG_LN_S
! 10: AC_PATH_XTRA
! 11:
! 12: TARGET=oxmgraph
! 13: case "${host}" in
! 14: *-apple-darwin*)
! 15: LIBS="-framework GLUT -framework OpenGL"
! 16: ;;
1.1 takayama 17: *)
1.2 ! ohara 18: CPPFLAGS="${CPPFLAGS} -I /usr/local/include"
! 19: AC_CHECK_HEADER(GL/glut.h, [], [TARGET=""])
! 20: LIBS="-L /usr/local/lib -lglut"
! 21: ;;
1.1 takayama 22: esac
23:
1.2 ! ohara 24: AC_SUBST([TARGET])
! 25: AC_SUBST([LIBS])
! 26: AC_CONFIG_FILES([Makefile])
! 27: AC_OUTPUT
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>