File: acinclude.m4

package info (click to toggle)
mailfilter 0.6.2-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 4,240 kB
  • ctags: 2,088
  • sloc: ansic: 6,502; sh: 4,388; cpp: 2,169; makefile: 463; yacc: 426; lex: 171; perl: 106; sed: 16
file content (13 lines) | stat: -rw-r--r-- 389 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
AC_DEFUN([PETI_ENABLED_DYNAMIC_LINKING], [
AC_MSG_CHECKING(whether what binaries we shall create)
AC_ARG_ENABLE(dynamic-link,
[  --enable-dynamic-link   Create dynamically linked binaries (default)],
if test "$enableval" = "yes"; then
    AC_MSG_RESULT(dynamically linked)
else
    LDFLAGS="$LDFLAGS -static"
    AC_MSG_RESULT(statically linked)
fi,
AC_MSG_RESULT(dynamically linked))
])