1 |
AC_INIT(rdesktop, 1.4.0) |
AC_INIT(rdesktop, 1.4.1) |
2 |
|
|
3 |
AC_CONFIG_SRCDIR([rdesktop.c]) |
AC_CONFIG_SRCDIR([rdesktop.c]) |
4 |
|
|
22 |
AC_CHECK_HEADER(sys/strtio.h, AC_DEFINE(HAVE_SYS_STRTIO_H)) |
AC_CHECK_HEADER(sys/strtio.h, AC_DEFINE(HAVE_SYS_STRTIO_H)) |
23 |
AC_CHECK_HEADER(locale.h, AC_DEFINE(HAVE_LOCALE_H)) |
AC_CHECK_HEADER(locale.h, AC_DEFINE(HAVE_LOCALE_H)) |
24 |
AC_CHECK_HEADER(langinfo.h, AC_DEFINE(HAVE_LANGINFO_H)) |
AC_CHECK_HEADER(langinfo.h, AC_DEFINE(HAVE_LANGINFO_H)) |
|
AC_CHECK_HEADER(iconv.h, AC_DEFINE(HAVE_ICONV_H)) |
|
|
AC_CHECK_HEADER(unistd.h, AC_DEFINE(HAVE_UNISTD_H)) |
|
25 |
|
|
26 |
rpath="" |
rpath="" |
27 |
|
|
284 |
if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi |
if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi |
285 |
done |
done |
286 |
]) |
]) |
287 |
|
AC_CHECK_HEADER(iconv.h, AC_DEFINE(HAVE_ICONV_H)) |
288 |
|
|
289 |
AC_CACHE_CHECK(for iconv, am_cv_func_iconv, [ |
AC_CACHE_CHECK(for iconv, am_cv_func_iconv, [ |
290 |
am_cv_func_iconv="no, consider installing GNU libiconv" |
am_cv_func_iconv="no, consider installing GNU libiconv" |
396 |
AC_CHECK_HEADERS(sys/statvfs.h) |
AC_CHECK_HEADERS(sys/statvfs.h) |
397 |
AC_CHECK_HEADERS(sys/statfs.h) |
AC_CHECK_HEADERS(sys/statfs.h) |
398 |
AC_CHECK_HEADERS(sys/param.h) |
AC_CHECK_HEADERS(sys/param.h) |
399 |
AC_CHECK_HEADERS(sys/mount.h) |
|
400 |
|
mount_includes="\ |
401 |
|
$ac_includes_default |
402 |
|
#if HAVE_SYS_PARAM_H |
403 |
|
# include <sys/param.h> |
404 |
|
#endif |
405 |
|
" |
406 |
|
|
407 |
|
AC_CHECK_HEADERS(sys/mount.h,,,[$mount_includes]) |
408 |
|
|
409 |
################################################# |
################################################# |
410 |
# these tests are taken from the GNU fileutils package |
# these tests are taken from the GNU fileutils package |
630 |
# |
# |
631 |
AC_ARG_WITH(ipv6, |
AC_ARG_WITH(ipv6, |
632 |
[ --with-ipv6 enable IPv6-support], |
[ --with-ipv6 enable IPv6-support], |
633 |
[ AC_DEFINE(IPv6) ]) |
[ |
634 |
|
if test $withval != "no"; |
635 |
|
then |
636 |
|
AC_DEFINE(IPv6,1) |
637 |
|
fi |
638 |
|
]) |
639 |
|
|
640 |
|
|
641 |
# |
# |
643 |
# |
# |
644 |
AC_ARG_WITH(debug, |
AC_ARG_WITH(debug, |
645 |
[ --with-debug enable protocol debugging output], |
[ --with-debug enable protocol debugging output], |
646 |
[ AC_DEFINE(WITH_DEBUG) ]) |
[ |
647 |
|
if test $withval != "no"; |
648 |
|
then |
649 |
|
AC_DEFINE(WITH_DEBUG,1) |
650 |
|
fi |
651 |
|
]) |
652 |
|
|
653 |
AC_ARG_WITH(debug-kbd, |
AC_ARG_WITH(debug-kbd, |
654 |
[ --with-debug-kbd enable debugging of keyboard handling], |
[ --with-debug-kbd enable debugging of keyboard handling], |
655 |
[ AC_DEFINE(WITH_DEBUG_KBD) ]) |
[ |
656 |
|
if test $withval != "no"; |
657 |
|
then |
658 |
|
AC_DEFINE(WITH_DEBUG_KBD,1) |
659 |
|
fi |
660 |
|
]) |
661 |
|
|
662 |
AC_ARG_WITH(debug-rdp5, |
AC_ARG_WITH(debug-rdp5, |
663 |
[ --with-debug-rdp5 enable debugging of RDP5 code], |
[ --with-debug-rdp5 enable debugging of RDP5 code], |
664 |
[ AC_DEFINE(WITH_DEBUG_RDP5) ]) |
[ |
665 |
|
if test $withval != "no"; |
666 |
|
then |
667 |
|
AC_DEFINE(WITH_DEBUG_RDP5,1) |
668 |
|
fi |
669 |
|
]) |
670 |
|
|
671 |
AC_ARG_WITH(debug-clipboard, |
AC_ARG_WITH(debug-clipboard, |
672 |
[ --with-debug-clipboard enable debugging of clipboard code], |
[ --with-debug-clipboard enable debugging of clipboard code], |
673 |
[ AC_DEFINE(WITH_DEBUG_CLIPBOARD) ]) |
[ |
674 |
|
if test $withval != "no"; |
675 |
|
then |
676 |
|
AC_DEFINE(WITH_DEBUG_CLIPBOARD,1) |
677 |
|
fi |
678 |
|
]) |
679 |
|
|
680 |
|
|
681 |
# |
# |