Annotation of embedaddon/ntp/sntp/libopts/m4/liboptschk.m4, revision 1.1
1.1 ! misho 1: # liboptschk.m4 serial 2 (autogen - 5.11.4)
! 2: dnl Copyright (c) 2005-2011 by Bruce Korb - all rights reserved
! 3: dnl
! 4: dnl This file is free software; the Free Software Foundation
! 5: dnl gives unlimited permission to copy and/or distribute it,
! 6: dnl with or without modifications, as long as this notice is preserved.
! 7: dnl
! 8: dnl Time-stamp: "2010-12-07 12:57:56 bkorb"
! 9: dnl
! 10: AC_DEFUN([ag_FIND_LIBOPTS],
! 11: [if test "X${ac_cv_header_autoopts_options_h}" = Xno
! 12: then :
! 13: else
! 14: f=`autoopts-config cflags` 2>/dev/null
! 15: if test X"${f}" = X
! 16: then
! 17: :
! 18: else
! 19: AC_DEFINE([HAVE_LIBOPTS],[1],[define if we can find libopts])
! 20: CFLAGS="${CFLAGS} ${f}"
! 21: ao_CFLAGS="${f}"
! 22: AC_SUBST(ao_CFLAGS)
! 23:
! 24: f=`autoopts-config ldflags` 2>/dev/null
! 25: LIBS="${LIBS} ${f}"
! 26: ao_LIBS="${f}"
! 27: AC_SUBST(ao_LIBS)
! 28: fi
! 29: fi])
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>