kopia lustrzana https://github.com/Hamlib/Hamlib
* regenerated
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@355 7ae35d74-ebe9-4afe-98af-79ac388436b8Hamlib-1.1.1
rodzic
d76661f2c4
commit
83c509bb0c
|
@ -126,6 +126,94 @@ done<<>>dnl>>)
|
||||||
changequote([,]))])
|
changequote([,]))])
|
||||||
|
|
||||||
|
|
||||||
|
# serial 1
|
||||||
|
|
||||||
|
# @defmac AC_PROG_CC_STDC
|
||||||
|
# @maindex PROG_CC_STDC
|
||||||
|
# @ovindex CC
|
||||||
|
# If the C compiler in not in ANSI C mode by default, try to add an option
|
||||||
|
# to output variable @code{CC} to make it so. This macro tries various
|
||||||
|
# options that select ANSI C on some system or another. It considers the
|
||||||
|
# compiler to be in ANSI C mode if it handles function prototypes correctly.
|
||||||
|
#
|
||||||
|
# If you use this macro, you should check after calling it whether the C
|
||||||
|
# compiler has been set to accept ANSI C; if not, the shell variable
|
||||||
|
# @code{am_cv_prog_cc_stdc} is set to @samp{no}. If you wrote your source
|
||||||
|
# code in ANSI C, you can make an un-ANSIfied copy of it by using the
|
||||||
|
# program @code{ansi2knr}, which comes with Ghostscript.
|
||||||
|
# @end defmac
|
||||||
|
|
||||||
|
AC_DEFUN(AM_PROG_CC_STDC,
|
||||||
|
[AC_REQUIRE([AC_PROG_CC])
|
||||||
|
AC_BEFORE([$0], [AC_C_INLINE])
|
||||||
|
AC_BEFORE([$0], [AC_C_CONST])
|
||||||
|
dnl Force this before AC_PROG_CPP. Some cpp's, eg on HPUX, require
|
||||||
|
dnl a magic option to avoid problems with ANSI preprocessor commands
|
||||||
|
dnl like #elif.
|
||||||
|
dnl FIXME: can't do this because then AC_AIX won't work due to a
|
||||||
|
dnl circular dependency.
|
||||||
|
dnl AC_BEFORE([$0], [AC_PROG_CPP])
|
||||||
|
AC_MSG_CHECKING(for ${CC-cc} option to accept ANSI C)
|
||||||
|
AC_CACHE_VAL(am_cv_prog_cc_stdc,
|
||||||
|
[am_cv_prog_cc_stdc=no
|
||||||
|
ac_save_CC="$CC"
|
||||||
|
# Don't try gcc -ansi; that turns off useful extensions and
|
||||||
|
# breaks some systems' header files.
|
||||||
|
# AIX -qlanglvl=ansi
|
||||||
|
# Ultrix and OSF/1 -std1
|
||||||
|
# HP-UX -Aa -D_HPUX_SOURCE
|
||||||
|
# SVR4 -Xc -D__EXTENSIONS__
|
||||||
|
for ac_arg in "" -qlanglvl=ansi -std1 "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
|
||||||
|
do
|
||||||
|
CC="$ac_save_CC $ac_arg"
|
||||||
|
AC_TRY_COMPILE(
|
||||||
|
[#include <stdarg.h>
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <sys/types.h>
|
||||||
|
#include <sys/stat.h>
|
||||||
|
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
|
||||||
|
struct buf { int x; };
|
||||||
|
FILE * (*rcsopen) (struct buf *, struct stat *, int);
|
||||||
|
static char *e (p, i)
|
||||||
|
char **p;
|
||||||
|
int i;
|
||||||
|
{
|
||||||
|
return p[i];
|
||||||
|
}
|
||||||
|
static char *f (char * (*g) (char **, int), char **p, ...)
|
||||||
|
{
|
||||||
|
char *s;
|
||||||
|
va_list v;
|
||||||
|
va_start (v,p);
|
||||||
|
s = g (p, va_arg (v,int));
|
||||||
|
va_end (v);
|
||||||
|
return s;
|
||||||
|
}
|
||||||
|
int test (int i, double x);
|
||||||
|
struct s1 {int (*f) (int a);};
|
||||||
|
struct s2 {int (*f) (double a);};
|
||||||
|
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
|
||||||
|
int argc;
|
||||||
|
char **argv;
|
||||||
|
], [
|
||||||
|
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
|
||||||
|
],
|
||||||
|
[am_cv_prog_cc_stdc="$ac_arg"; break])
|
||||||
|
done
|
||||||
|
CC="$ac_save_CC"
|
||||||
|
])
|
||||||
|
if test -z "$am_cv_prog_cc_stdc"; then
|
||||||
|
AC_MSG_RESULT([none needed])
|
||||||
|
else
|
||||||
|
AC_MSG_RESULT($am_cv_prog_cc_stdc)
|
||||||
|
fi
|
||||||
|
case "x$am_cv_prog_cc_stdc" in
|
||||||
|
x|xno) ;;
|
||||||
|
*) CC="$CC $am_cv_prog_cc_stdc" ;;
|
||||||
|
esac
|
||||||
|
])
|
||||||
|
|
||||||
|
|
||||||
# serial 40 AC_PROG_LIBTOOL
|
# serial 40 AC_PROG_LIBTOOL
|
||||||
AC_DEFUN(AC_PROG_LIBTOOL,
|
AC_DEFUN(AC_PROG_LIBTOOL,
|
||||||
[AC_REQUIRE([AC_LIBTOOL_SETUP])dnl
|
[AC_REQUIRE([AC_LIBTOOL_SETUP])dnl
|
||||||
|
@ -139,7 +227,7 @@ LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
|
||||||
LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" \
|
LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" \
|
||||||
DLLTOOL="$DLLTOOL" AS="$AS" OBJDUMP="$OBJDUMP" \
|
DLLTOOL="$DLLTOOL" AS="$AS" OBJDUMP="$OBJDUMP" \
|
||||||
${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
|
${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
|
||||||
$libtool_flags --no-verify $ac_aux_dir/ltmain.sh $host \
|
$libtool_flags --no-verify $ac_aux_dir/ltmain.sh $lt_target \
|
||||||
|| AC_MSG_ERROR([libtool configure failed])
|
|| AC_MSG_ERROR([libtool configure failed])
|
||||||
|
|
||||||
# Reload cache, that may have been modified by ltconfig
|
# Reload cache, that may have been modified by ltconfig
|
||||||
|
@ -171,13 +259,13 @@ AC_REQUIRE([AC_PROG_NM])dnl
|
||||||
AC_REQUIRE([AC_PROG_LN_S])dnl
|
AC_REQUIRE([AC_PROG_LN_S])dnl
|
||||||
dnl
|
dnl
|
||||||
|
|
||||||
|
case "$target" in
|
||||||
|
NONE) lt_target="$host" ;;
|
||||||
|
*) lt_target="$target" ;;
|
||||||
|
esac
|
||||||
|
|
||||||
# Check for any special flags to pass to ltconfig.
|
# Check for any special flags to pass to ltconfig.
|
||||||
#
|
libtool_flags="--cache-file=$cache_file"
|
||||||
# the following will cause an existing older ltconfig to fail, so
|
|
||||||
# we ignore this at the expense of the cache file... Checking this
|
|
||||||
# will just take longer ... bummer!
|
|
||||||
#libtool_flags="--cache-file=$cache_file"
|
|
||||||
#
|
|
||||||
test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
|
test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
|
||||||
test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
|
test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
|
||||||
test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
|
test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
|
||||||
|
@ -194,7 +282,7 @@ test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
|
||||||
|
|
||||||
# Some flags need to be propagated to the compiler or linker for good
|
# Some flags need to be propagated to the compiler or linker for good
|
||||||
# libtool support.
|
# libtool support.
|
||||||
case "$host" in
|
case "$lt_target" in
|
||||||
*-*-irix6*)
|
*-*-irix6*)
|
||||||
# Find out which ABI we are using.
|
# Find out which ABI we are using.
|
||||||
echo '[#]line __oline__ "configure"' > conftest.$ac_ext
|
echo '[#]line __oline__ "configure"' > conftest.$ac_ext
|
||||||
|
@ -410,7 +498,6 @@ else
|
||||||
AC_MSG_RESULT(no)
|
AC_MSG_RESULT(no)
|
||||||
fi
|
fi
|
||||||
test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
|
test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
|
||||||
AC_SUBST(LD)
|
|
||||||
AC_PROG_LD_GNU
|
AC_PROG_LD_GNU
|
||||||
])
|
])
|
||||||
|
|
||||||
|
@ -456,14 +543,13 @@ else
|
||||||
fi])
|
fi])
|
||||||
NM="$ac_cv_path_NM"
|
NM="$ac_cv_path_NM"
|
||||||
AC_MSG_RESULT([$NM])
|
AC_MSG_RESULT([$NM])
|
||||||
AC_SUBST(NM)
|
|
||||||
])
|
])
|
||||||
|
|
||||||
# AC_CHECK_LIBM - check for math library
|
# AC_CHECK_LIBM - check for math library
|
||||||
AC_DEFUN(AC_CHECK_LIBM,
|
AC_DEFUN(AC_CHECK_LIBM,
|
||||||
[AC_REQUIRE([AC_CANONICAL_HOST])dnl
|
[AC_REQUIRE([AC_CANONICAL_HOST])dnl
|
||||||
LIBM=
|
LIBM=
|
||||||
case "$host" in
|
case "$lt_target" in
|
||||||
*-*-beos* | *-*-cygwin*)
|
*-*-beos* | *-*-cygwin*)
|
||||||
# These system don't have libm
|
# These system don't have libm
|
||||||
;;
|
;;
|
||||||
|
@ -478,31 +564,35 @@ esac
|
||||||
])
|
])
|
||||||
|
|
||||||
# AC_LIBLTDL_CONVENIENCE[(dir)] - sets LIBLTDL to the link flags for
|
# AC_LIBLTDL_CONVENIENCE[(dir)] - sets LIBLTDL to the link flags for
|
||||||
# the libltdl convenience library, adds --enable-ltdl-convenience to
|
# the libltdl convenience library and INCLTDL to the include flags for
|
||||||
# the configure arguments. Note that LIBLTDL is not AC_SUBSTed, nor
|
# the libltdl header and adds --enable-ltdl-convenience to the
|
||||||
# is AC_CONFIG_SUBDIRS called. If DIR is not provided, it is assumed
|
# configure arguments. Note that LIBLTDL and INCLTDL are not
|
||||||
# to be `${top_builddir}/libltdl'. Make sure you start DIR with
|
# AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called. If DIR is not
|
||||||
# '${top_builddir}/' (note the single quotes!) if your package is not
|
# provided, it is assumed to be `libltdl'. LIBLTDL will be prefixed
|
||||||
# flat, and, if you're not using automake, define top_builddir as
|
# with '${top_builddir}/' and INCLTDL will be prefixed with
|
||||||
# appropriate in the Makefiles.
|
# '${top_srcdir}/' (note the single quotes!). If your package is not
|
||||||
|
# flat and you're not using automake, define top_builddir and
|
||||||
|
# top_srcdir appropriately in the Makefiles.
|
||||||
AC_DEFUN(AC_LIBLTDL_CONVENIENCE, [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
|
AC_DEFUN(AC_LIBLTDL_CONVENIENCE, [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
|
||||||
case "$enable_ltdl_convenience" in
|
case "$enable_ltdl_convenience" in
|
||||||
no) AC_MSG_ERROR([this package needs a convenience libltdl]) ;;
|
no) AC_MSG_ERROR([this package needs a convenience libltdl]) ;;
|
||||||
"") enable_ltdl_convenience=yes
|
"") enable_ltdl_convenience=yes
|
||||||
ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
|
ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
|
||||||
esac
|
esac
|
||||||
LIBLTDL=ifelse($#,1,$1,['${top_builddir}/libltdl'])/libltdlc.la
|
LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdlc.la
|
||||||
INCLTDL=ifelse($#,1,-I$1,['-I${top_builddir}/libltdl'])
|
INCLTDL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
|
||||||
])
|
])
|
||||||
|
|
||||||
# AC_LIBLTDL_INSTALLABLE[(dir)] - sets LIBLTDL to the link flags for
|
# AC_LIBLTDL_INSTALLABLE[(dir)] - sets LIBLTDL to the link flags for
|
||||||
# the libltdl installable library, and adds --enable-ltdl-install to
|
# the libltdl installable library and INCLTDL to the include flags for
|
||||||
# the configure arguments. Note that LIBLTDL is not AC_SUBSTed, nor
|
# the libltdl header and adds --enable-ltdl-install to the configure
|
||||||
# is AC_CONFIG_SUBDIRS called. If DIR is not provided, it is assumed
|
# arguments. Note that LIBLTDL and INCLTDL are not AC_SUBSTed, nor is
|
||||||
# to be `${top_builddir}/libltdl'. Make sure you start DIR with
|
# AC_CONFIG_SUBDIRS called. If DIR is not provided and an installed
|
||||||
# '${top_builddir}/' (note the single quotes!) if your package is not
|
# libltdl is not found, it is assumed to be `libltdl'. LIBLTDL will
|
||||||
# flat, and, if you're not using automake, define top_builddir as
|
# be prefixed with '${top_builddir}/' and INCLTDL will be prefixed
|
||||||
# appropriate in the Makefiles.
|
# with '${top_srcdir}/' (note the single quotes!). If your package is
|
||||||
|
# not flat and you're not using automake, define top_builddir and
|
||||||
|
# top_srcdir appropriately in the Makefiles.
|
||||||
# In the future, this macro may have to be called after AC_PROG_LIBTOOL.
|
# In the future, this macro may have to be called after AC_PROG_LIBTOOL.
|
||||||
AC_DEFUN(AC_LIBLTDL_INSTALLABLE, [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
|
AC_DEFUN(AC_LIBLTDL_INSTALLABLE, [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
|
||||||
AC_CHECK_LIB(ltdl, main,
|
AC_CHECK_LIB(ltdl, main,
|
||||||
|
@ -515,8 +605,8 @@ AC_DEFUN(AC_LIBLTDL_INSTALLABLE, [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
|
||||||
])
|
])
|
||||||
if test x"$enable_ltdl_install" = x"yes"; then
|
if test x"$enable_ltdl_install" = x"yes"; then
|
||||||
ac_configure_args="$ac_configure_args --enable-ltdl-install"
|
ac_configure_args="$ac_configure_args --enable-ltdl-install"
|
||||||
LIBLTDL=ifelse($#,1,$1,['${top_builddir}/libltdl'])/libltdl.la
|
LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdl.la
|
||||||
INCLTDL=ifelse($#,1,-I$1,['-I${top_builddir}/libltdl'])
|
INCLTDL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
|
||||||
else
|
else
|
||||||
ac_configure_args="$ac_configure_args --enable-ltdl-install=no"
|
ac_configure_args="$ac_configure_args --enable-ltdl-install=no"
|
||||||
LIBLTDL="-lltdl"
|
LIBLTDL="-lltdl"
|
||||||
|
@ -536,3 +626,16 @@ AC_DEFUN(AM_PROG_NM, [indir([AC_PROG_NM])])dnl
|
||||||
dnl This is just to silence aclocal about the macro not being used
|
dnl This is just to silence aclocal about the macro not being used
|
||||||
ifelse([AC_DISABLE_FAST_INSTALL])dnl
|
ifelse([AC_DISABLE_FAST_INSTALL])dnl
|
||||||
|
|
||||||
|
# Define a conditional.
|
||||||
|
|
||||||
|
AC_DEFUN(AM_CONDITIONAL,
|
||||||
|
[AC_SUBST($1_TRUE)
|
||||||
|
AC_SUBST($1_FALSE)
|
||||||
|
if $2; then
|
||||||
|
$1_TRUE=
|
||||||
|
$1_FALSE='#'
|
||||||
|
else
|
||||||
|
$1_TRUE='#'
|
||||||
|
$1_FALSE=
|
||||||
|
fi])
|
||||||
|
|
||||||
|
|
Plik diff jest za duży
Load Diff
|
@ -68,6 +68,12 @@
|
||||||
/* Define if you have the <linradio/wrapi.h> header file. */
|
/* Define if you have the <linradio/wrapi.h> header file. */
|
||||||
#undef HAVE_LINRADIO_WRAPI_H
|
#undef HAVE_LINRADIO_WRAPI_H
|
||||||
|
|
||||||
|
/* Define if you have the <linux/ppdev.h> header file. */
|
||||||
|
#undef HAVE_LINUX_PPDEV_H
|
||||||
|
|
||||||
|
/* Define if you have the <sys/ioccom.h> header file. */
|
||||||
|
#undef HAVE_SYS_IOCCOM_H
|
||||||
|
|
||||||
/* Define if you have the <sys/ioctl.h> header file. */
|
/* Define if you have the <sys/ioctl.h> header file. */
|
||||||
#undef HAVE_SYS_IOCTL_H
|
#undef HAVE_SYS_IOCTL_H
|
||||||
|
|
||||||
|
@ -86,21 +92,15 @@
|
||||||
/* Define if you have the gd library (-lgd). */
|
/* Define if you have the gd library (-lgd). */
|
||||||
#undef HAVE_LIBGD
|
#undef HAVE_LIBGD
|
||||||
|
|
||||||
/* Define if you have the intl library (-lintl). */
|
|
||||||
#undef HAVE_LIBINTL
|
|
||||||
|
|
||||||
/* Define if you have the m library (-lm). */
|
/* Define if you have the m library (-lm). */
|
||||||
#undef HAVE_LIBM
|
#undef HAVE_LIBM
|
||||||
|
|
||||||
/* Define if you have the nsl library (-lnsl). */
|
|
||||||
#undef HAVE_LIBNSL
|
|
||||||
|
|
||||||
/* Define if you have the socket library (-lsocket). */
|
|
||||||
#undef HAVE_LIBSOCKET
|
|
||||||
|
|
||||||
/* Define if you have the syslog library (-lsyslog). */
|
/* Define if you have the syslog library (-lsyslog). */
|
||||||
#undef HAVE_LIBSYSLOG
|
#undef HAVE_LIBSYSLOG
|
||||||
|
|
||||||
|
/* Define if you have the z library (-lz). */
|
||||||
|
#undef HAVE_LIBZ
|
||||||
|
|
||||||
/* Name of package */
|
/* Name of package */
|
||||||
#undef PACKAGE
|
#undef PACKAGE
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue