* configure.ac:
[scdataviz] / configure.ac
index 6a306b3..b5df70c 100644 (file)
@@ -28,6 +28,11 @@ AC_ARG_ENABLE([debug],
 esac],[debug=false])
 AM_CONDITIONAL([DEBUG], [test x$debug = xtrue])
 
+AC_ARG_ENABLE([matdbfile],
+[  --enable-matdbfile=location Specify matdb location],
+[CFLAGS="$CFLAGS -DMATDBFILE=${enableval}"],
+[CFLAGS="$CFLAGS -DMATDBFILE=matdb.txt"])
+
 AC_ARG_ENABLE([maemo],
 [  --enable-maemo=device Enable maemo build],
 [case "${enableval}" in