1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63
|
Description: add autoconf files
Author: أحمد المحمودي (Ahmed El-Mahmoudy) <aelmahmoudy@users.sourceforge.net>
Index: itools/Makefile.am
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
+++ itools/Makefile.am 2017-10-31 03:37:40.861896846 +0100
@@ -0,0 +1,11 @@
+bin_PROGRAMS = ical idate ipraytime
+ical_LDADD= -litl -lm
+ical_SOURCES = ical.c
+idate_LDADD= -litl -lm
+idate_SOURCES = idate.c
+ipraytime_LDADD= -litl -lm
+ipraytime_SOURCES = ipraytime.c
+
+bin_SCRIPTS=ireminder
+
+man_MANS=doc/ical.1 doc/idate.1 doc/ipraytime.1 doc/ireminder.1
Index: itools/configure.ac
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
+++ itools/configure.ac 2017-10-31 03:38:43.158146266 +0100
@@ -0,0 +1,33 @@
+# -*- Autoconf -*-
+# Process this file with autoconf to produce a configure script.
+
+AC_PREREQ([2.69])
+AC_INIT([itools], [1.0], [https://github.com/arabeyes-org/ITL-programs/issues/new])
+AM_INIT_AUTOMAKE()
+AC_CONFIG_SRCDIR([ipraytime.c])
+AC_CONFIG_HEADERS([config.h])
+
+# Checks for programs.
+AC_PROG_CC
+#AC_PROG_INSTALL
+AC_PROG_MAKE_SET
+
+# Checks for libraries.
+AC_CHECK_LIB([itl], [getNorthQibla])
+AC_CHECK_LIB([m], [pow])
+
+# Checks for header files.
+AC_CHECK_HEADERS([stdlib.h string.h sys/time.h unistd.h])
+
+# Checks for typedefs, structures, and compiler characteristics.
+AC_CHECK_HEADER_STDBOOL
+AC_TYPE_UID_T
+
+# Checks for library functions.
+AC_FUNC_ERROR_AT_LINE
+AC_FUNC_MALLOC
+AC_FUNC_MKTIME
+AC_CHECK_FUNCS([strcasecmp])
+
+AC_CONFIG_FILES([Makefile])
+AC_OUTPUT
Index: itools/ChangeLog
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
+++ itools/ChangeLog 2017-10-31 03:39:58.654448536 +0100
@@ -0,0 +1 @@
+See NEWS
|