Browse Source

Updates in manpage & autotools

Yann Weber 7 years ago
parent
commit
9586697f56
3 changed files with 52 additions and 13 deletions
  1. 0
    4
      configure.ac
  2. 6
    1
      docs/Makefile.am
  3. 46
    8
      src/include/config.h.in

+ 0
- 4
configure.ac View File

@@ -39,10 +39,6 @@ if test -z "$DOXYGEN";
39 39
 	then AC_MSG_WARN([Doxygen not found - continuing without Doxygen support])
40 40
 fi
41 41
 
42
-AC_CHECK_PROGS([DOXYGEN], [doxygen])
43
-if test -z "$DOXYGEN";
44
-	then AC_MSG_WARN([Doxygen not found - continuing without Doxygen support])
45
-fi
46 42
 AC_CHECK_PROGS([GIT], [git])
47 43
 if test -z "$DOXYGEN";
48 44
 	then AC_MSG_WARN([git not found - continuing without Doxygen support])

+ 6
- 1
docs/Makefile.am View File

@@ -1,7 +1,7 @@
1 1
 if HAVE_DOXYGEN
2 2
 CLEANFILES = doxyfile.stamp
3 3
 directory = $(top_srcdir)/docs/man/man3/
4
-dist_man_MANS = $(directory)/man_page_1.3 $(directory)/man_page_2.3
4
+dist_man_MANS= $(top_srcdir)/docs/man/man1/ttail.1
5 5
 
6 6
 $(directory)/man_page_1.3: doxyfile.stamp
7 7
 $(directory)/man_page_2.3: doxyfile.stamp
@@ -13,6 +13,11 @@ doxyfile.stamp:
13 13
 
14 14
 html-local: doxyfile.stamp
15 15
 
16
+$(top_srcdir)/docs/man/man1/ttail.1: doxyfile.stamp
17
+	-mkdir -p $(top_srcdir)/docs/man/man1;\
18
+	cp $(top_srcdir)/docs/man/man3/ttail.3 $(top_srcdir)/docs/man/man1/ttail.1;\
19
+	sed -i 's/^.TH "ttail" 3/.TH "ttail" 1/' $(top_srcdir)/docs/man/man1/ttail.1
20
+
16 21
 clean-local:
17 22
 	-rm -rf $(top_srcdir)/docs/html $(top_srcdir)/docs/man $(top_srcdir)/docs/doxygen_sqlite3.db
18 23
 endif

+ 46
- 8
src/include/config.h.in View File

@@ -1,10 +1,5 @@
1 1
 /* src/include/config.h.in.  Generated from configure.ac by autoheader.  */
2 2
 
3
-#define inline __inline__
4
-
5
-/* Define to 1 if you have the <dlfcn.h> header file. */
6
-#undef HAVE_DLFCN_H
7
-
8 3
 /* Define to 1 if you have the <inttypes.h> header file. */
9 4
 #undef HAVE_INTTYPES_H
10 5
 
@@ -40,9 +35,8 @@
40 35
 /* Define to 1 if you have the <unistd.h> header file. */
41 36
 #undef HAVE_UNISTD_H
42 37
 
43
-/* Define to the sub-directory in which libtool stores uninstalled libraries.
44
-   */
45
-#undef LT_OBJDIR
38
+/* Name of package */
39
+#undef PACKAGE
46 40
 
47 41
 /* Define to the address where bug reports for this package should be sent. */
48 42
 #undef PACKAGE_BUGREPORT
@@ -65,6 +59,50 @@
65 59
 /* Define to 1 if you have the ANSI C header files. */
66 60
 #undef STDC_HEADERS
67 61
 
62
+/* Enable extensions on AIX 3, Interix.  */
63
+#ifndef _ALL_SOURCE
64
+# undef _ALL_SOURCE
65
+#endif
66
+/* Enable GNU extensions on systems that have them.  */
67
+#ifndef _GNU_SOURCE
68
+# undef _GNU_SOURCE
69
+#endif
70
+/* Enable threading extensions on Solaris.  */
71
+#ifndef _POSIX_PTHREAD_SEMANTICS
72
+# undef _POSIX_PTHREAD_SEMANTICS
73
+#endif
74
+/* Enable extensions on HP NonStop.  */
75
+#ifndef _TANDEM_SOURCE
76
+# undef _TANDEM_SOURCE
77
+#endif
78
+/* Enable general extensions on Solaris.  */
79
+#ifndef __EXTENSIONS__
80
+# undef __EXTENSIONS__
81
+#endif
82
+
83
+
84
+/* Version number of package */
85
+#undef VERSION
86
+
87
+/* Define to 1 if on MINIX. */
88
+#undef _MINIX
89
+
90
+/* Define to 2 if the system does not provide POSIX.1 features except with
91
+   this defined. */
92
+#undef _POSIX_1_SOURCE
93
+
94
+/* Define to 1 if you need to in order for `stat' and other things to work. */
95
+#undef _POSIX_SOURCE
96
+
97
+/* Define to empty if `const' does not conform to ANSI C. */
98
+#undef const
99
+
100
+/* Define to `__inline__' or `__inline' if that's what the C compiler
101
+   calls it, or to nothing if 'inline' is not supported under any name.  */
102
+#ifndef __cplusplus
103
+#undef inline
104
+#endif
105
+
68 106
 /* Define to rpl_malloc if the replacement function should be used. */
69 107
 #undef malloc
70 108
 

Loading…
Cancel
Save