~ubuntu-branches/ubuntu/trusty/fldigi/trusty

« back to all changes in this revision

Viewing changes to m4/static.m4

  • Committer: Bazaar Package Importer
  • Author(s): Joop Stakenborg
  • Date: 2008-11-17 19:40:43 UTC
  • mfrom: (1.1.6 upstream) (2.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20081117194043-sfe108e41ppsyhxr
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
AC_DEFUN([AC_FLDIGI_STATIC], [
2
2
  AC_ARG_ENABLE([static],
3
 
                AC_HELP_STRING([--enable-static], [enable static linking]),
 
3
                AC_HELP_STRING([--enable-static], [enable static linking for some libraries]),
4
4
                [case "${enableval}" in
5
5
                    yes|no) ac_cv_static="${enableval}" ;;
6
6
                    *)      AC_MSG_ERROR([bad value ${enableval} for --enable-static]) ;;
7
7
                 esac],
8
8
                 [ac_cv_static=no])
9
 
  if test "x$ac_cv_static" = "xyes"; then
10
 
      AC_CHECK_LIB([rt], [clock_gettime], [RTLIB=-lrt])
11
 
  fi
12
 
  AC_SUBST([RTLIB])
13
9
])