File: configure.ac

package info (click to toggle)
libdshconfig 0.20.13-1.2
  • links: PTS
  • area: main
  • in suites: buster, sid, stretch
  • size: 1,512 kB
  • ctags: 44
  • sloc: sh: 8,855; ansic: 230; makefile: 48
file content (36 lines) | stat: -rw-r--r-- 954 bytes parent folder | download | duplicates (3)
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
# Process this file with autoconf to produce a configure script.
m4_define(LIBDSHCONFIGVERSION,0.20.13)
AC_INIT(libdshconfig, LIBDSHCONFIGVERSION, dancer@debian.org)
AM_INIT_AUTOMAKE(libdshconfig, LIBDSHCONFIGVERSION)
AM_CONFIG_HEADER(config.h)
AM_MAINTAINER_MODE

AC_PROG_LIBTOOL

# Checks for programs.
AC_PROG_CC
AC_CHECK_PROGS([DOXYGEN], [doxygen], [false])
# Checks for libraries.

# Checks for header files.
AC_HEADER_STDC
AC_CHECK_HEADERS([stdlib.h string.h])

# Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST

# Checks for library functions.
AC_FUNC_MALLOC
AC_CHECK_FUNCS([strchr strdup getline])

vsymldflags=
AC_MSG_CHECKING([version script options])
AC_ARG_WITH([versioned-symbol],AC_HELP_STRING([--with-versioned-symbol],[Use versioned symbols]),[dnl
vsymldflags="-Wl,--version-script,dsh.ver -Wl,-O1"
])
AC_SUBST(vsymldflags)
AC_MSG_RESULT([${vsymldflags}])

AC_CONFIG_FILES([Makefile
libdshconfig.dox])
AC_OUTPUT