comparison configure.ac @ 46:b1969e1b310d

added skeleton clojure gb driver
author Robert McIntyre <rlm@mit.edu>
date Tue, 06 Mar 2012 23:43:52 -0600
parents f6ff410a87fd
children
comparison
equal deleted inserted replaced
45:f6ff410a87fd 46:b1969e1b310d
18 AC_PROG_RANLIB 18 AC_PROG_RANLIB
19 AC_PROG_CPP 19 AC_PROG_CPP
20 AC_PROG_MKDIR_P 20 AC_PROG_MKDIR_P
21 AC_PATH_PROG(NASM, nasm) 21 AC_PATH_PROG(NASM, nasm)
22 AC_PROG_LIBTOOL 22 AC_PROG_LIBTOOL
23
23 24
24 # Checks for libraries. 25 # Checks for libraries.
25 AC_CHECK_LIB(z, gzopen, 26 AC_CHECK_LIB(z, gzopen,
26 , AC_MSG_ERROR([*** Cannot compile without zlib.])) 27 , AC_MSG_ERROR([*** Cannot compile without zlib.]))
27 AC_CHECK_LIB(png, png_create_write_struct, 28 AC_CHECK_LIB(png, png_create_write_struct,
61 AC_FUNC_MKTIME 62 AC_FUNC_MKTIME
62 AC_FUNC_REALLOC 63 AC_FUNC_REALLOC
63 AC_FUNC_STRCOLL 64 AC_FUNC_STRCOLL
64 AC_CHECK_FUNCS([floor ftruncate gethostbyname gethostname inet_ntoa localeconv memchr memset modf pow setlocale socket sqrt strcasecmp strchr strcspn strdup strerror strpbrk strrchr strstr strtoul]) 65 AC_CHECK_FUNCS([floor ftruncate gethostbyname gethostname inet_ntoa localeconv memchr memset modf pow setlocale socket sqrt strcasecmp strchr strcspn strdup strerror strpbrk strrchr strstr strtoul])
65 66
67
68
69 # find JNI headers
70 AC_ARG_VAR([JAVA_INCLUDE_PATH], [The path to the jni.h])
71 AC_ARG_VAR([JAVA_INCLUDE_PATH2], [The path to jni_md.h])
72
73
74 if test "x$JAVA_INCLUDE_PATH" = "x"; then
75 echo "----------------------------------"
76 echo "you must have JAVA_INCLUDE_PATH defined."
77 echo "this is the path to jni.h"
78 echo "----------------------------------"
79 fi
80
81 if test "x$JAVA_INCLUDE_PATH2" = "x"; then
82 echo "----------------------------------"
83 echo "you must have JAVA_INCLUDE_PATH2 defined."
84 echo "this is the path to jni_md.h"
85 echo "----------------------------------"
86 fi
87
88 if test "x$JAVA_INCLUDE_PATH" = "x"; then
89 AC_MSG_ERROR([JAVA_INCLUDE_PATH not defined])
90 fi
91
92 if test "x$JAVA_INCLUDE_PATH2" = "x"; then
93 AC_MSG_ERROR([JAVA_INCLUDE_PATH2 not defined])
94 fi
95
96 #AC_SUBST(JAVA_INCLUDE_PATH)
97 #AC_SUBST(JAVA_INCLUDE_PATH2)
98
66 AC_CONFIG_FILES([Makefile 99 AC_CONFIG_FILES([Makefile
67 src/Makefile 100 src/Makefile
68 src/lua/Makefile 101 src/lua/Makefile
102 src/clojure/Makefile
69 src/gb/Makefile 103 src/gb/Makefile
70 src/gba/Makefile 104 src/gba/Makefile
71 src/common/Makefile 105 src/common/Makefile
72 src/SFMT/Makefile 106 src/SFMT/Makefile
73 src/filters/Makefile 107 src/filters/Makefile