summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorRunciter2024-10-24 23:43:52 +0800
committerRunciter2024-10-24 23:43:52 +0800
commit1bb276d2340eff428ff397dbd493646d880388c4 (patch)
tree2969506db461ce4cff264b1f13437004a08cc2e0 /configure.ac
downloadcc-cedict-1bb276d2340eff428ff397dbd493646d880388c4.tar.gz
A AUTHORS A COPYING A ChangeLog A INSTALL A Makefile.am A Makefile.in A NEWS A README A aclocal.m4 A configure A configure.ac A install-sh A missing A mkdict-cedict A raw/cedict_1_0_ts_utf-8_mdbg.txt.gz
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac11
1 files changed, 11 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
new file mode 100644
index 0000000..bd2d71f
--- /dev/null
+++ b/configure.ac
@@ -0,0 +1,11 @@
+AC_PREREQ([2.69])
+AC_INIT([cc-cedict], [0.1], [runciter@whispers-vpn.org])
+AM_INIT_AUTOMAKE([])
+
+AC_CHECK_PROG([dictfmt_found],[dictfmt],[yes],[no])
+
+AM_CONDITIONAL([FND_DF], [test "x$dictfmt_found" = xyes])
+AM_COND_IF([FND_DF],,[AC_MSG_ERROR([required program 'dictfmt' not found.])])
+
+AC_CONFIG_FILES([Makefile])
+AC_OUTPUT