File: [local] / OpenXM / src / oxmgraph / configure.in (download)
Revision 1.1, Sun Feb 8 04:56:59 2009 UTC (15 years, 4 months ago) by takayama
Branch: MAIN
CVS Tags: RELEASE_1_2_3_12
The initial version of OpenXM grapher by Y.Mitou,
which is used with mt_graph.rr
|
dnl If you change this file, do not forget to run autoconf and rm .configure_done
AC_INIT(graph.c)
AC_PROG_CC
AC_PROG_RANLIB
AC_CHECK_HEADER(GL/glut.h,AC_SUBST(MYTARGET,["oxmgraph"]),AC_SUBST(MYTARGET,[""]))
AC_CHECK_HEADER(GL/glut.h,AC_SUBST(MYTARGET2,["install2"]),AC_SUBST(MYTARGET2,[""]))
AC_CANONICAL_SYSTEM
case $target_os in
darwin*)
AC_SUBST(CFLAG2,["-DMAC_OS_X"])
AC_SUBST(LFLAG2,["-framework GLUT -framework OpenGL"])
AC_SUBST(MYTARGET,["oxmgraph"])
AC_SUBST(MYTARGET2,["install2"])
;;
*)
AC_SUBST(CFLAG2,[""])
AC_SUBST(LFLAG2,["-lglut"])
;;
esac
AC_OUTPUT(Makefile)