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)) |
25 |
AC_CHECK_HEADER(iconv.h, AC_DEFINE(HAVE_ICONV_H)) |
|
26 |
AC_CHECK_HEADER(unistd.h, AC_DEFINE(HAVE_UNISTD_H)) |
AC_CHECK_TOOL(STRIP, strip, :) |
27 |
|
|
28 |
rpath="" |
rpath="" |
29 |
|
|
286 |
if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi |
if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi |
287 |
done |
done |
288 |
]) |
]) |
289 |
|
AC_CHECK_HEADER(iconv.h, AC_DEFINE(HAVE_ICONV_H)) |
290 |
|
|
291 |
AC_CACHE_CHECK(for iconv, am_cv_func_iconv, [ |
AC_CACHE_CHECK(for iconv, am_cv_func_iconv, [ |
292 |
am_cv_func_iconv="no, consider installing GNU libiconv" |
am_cv_func_iconv="no, consider installing GNU libiconv" |
398 |
AC_CHECK_HEADERS(sys/statvfs.h) |
AC_CHECK_HEADERS(sys/statvfs.h) |
399 |
AC_CHECK_HEADERS(sys/statfs.h) |
AC_CHECK_HEADERS(sys/statfs.h) |
400 |
AC_CHECK_HEADERS(sys/param.h) |
AC_CHECK_HEADERS(sys/param.h) |
401 |
AC_CHECK_HEADERS(sys/mount.h) |
|
402 |
|
mount_includes="\ |
403 |
|
$ac_includes_default |
404 |
|
#if HAVE_SYS_PARAM_H |
405 |
|
# include <sys/param.h> |
406 |
|
#endif |
407 |
|
" |
408 |
|
|
409 |
|
AC_CHECK_HEADERS(sys/mount.h,,,[$mount_includes]) |
410 |
|
|
411 |
################################################# |
################################################# |
412 |
# these tests are taken from the GNU fileutils package |
# these tests are taken from the GNU fileutils package |
632 |
# |
# |
633 |
AC_ARG_WITH(ipv6, |
AC_ARG_WITH(ipv6, |
634 |
[ --with-ipv6 enable IPv6-support], |
[ --with-ipv6 enable IPv6-support], |
635 |
[ AC_DEFINE(IPv6) ]) |
[ |
636 |
|
if test $withval != "no"; |
637 |
|
then |
638 |
|
AC_DEFINE(IPv6,1) |
639 |
|
fi |
640 |
|
]) |
641 |
|
|
642 |
|
|
643 |
# |
# |
645 |
# |
# |
646 |
AC_ARG_WITH(debug, |
AC_ARG_WITH(debug, |
647 |
[ --with-debug enable protocol debugging output], |
[ --with-debug enable protocol debugging output], |
648 |
[ AC_DEFINE(WITH_DEBUG) ]) |
[ |
649 |
|
if test $withval != "no"; |
650 |
|
then |
651 |
|
AC_DEFINE(WITH_DEBUG,1) |
652 |
|
fi |
653 |
|
]) |
654 |
|
|
655 |
AC_ARG_WITH(debug-kbd, |
AC_ARG_WITH(debug-kbd, |
656 |
[ --with-debug-kbd enable debugging of keyboard handling], |
[ --with-debug-kbd enable debugging of keyboard handling], |
657 |
[ AC_DEFINE(WITH_DEBUG_KBD) ]) |
[ |
658 |
|
if test $withval != "no"; |
659 |
|
then |
660 |
|
AC_DEFINE(WITH_DEBUG_KBD,1) |
661 |
|
fi |
662 |
|
]) |
663 |
|
|
664 |
AC_ARG_WITH(debug-rdp5, |
AC_ARG_WITH(debug-rdp5, |
665 |
[ --with-debug-rdp5 enable debugging of RDP5 code], |
[ --with-debug-rdp5 enable debugging of RDP5 code], |
666 |
[ AC_DEFINE(WITH_DEBUG_RDP5) ]) |
[ |
667 |
|
if test $withval != "no"; |
668 |
|
then |
669 |
|
AC_DEFINE(WITH_DEBUG_RDP5,1) |
670 |
|
fi |
671 |
|
]) |
672 |
|
|
673 |
AC_ARG_WITH(debug-clipboard, |
AC_ARG_WITH(debug-clipboard, |
674 |
[ --with-debug-clipboard enable debugging of clipboard code], |
[ --with-debug-clipboard enable debugging of clipboard code], |
675 |
[ AC_DEFINE(WITH_DEBUG_CLIPBOARD) ]) |
[ |
676 |
|
if test $withval != "no"; |
677 |
|
then |
678 |
|
AC_DEFINE(WITH_DEBUG_CLIPBOARD,1) |
679 |
|
fi |
680 |
|
]) |
681 |
|
|
682 |
|
AC_ARG_WITH(debug-channel, |
683 |
|
[ --with-debug-channel enable debugging of virtual channel code], |
684 |
|
[ |
685 |
|
if test $withval != "no"; |
686 |
|
then |
687 |
|
AC_DEFINE(WITH_DEBUG_CHANNEL,1) |
688 |
|
fi |
689 |
|
]) |
690 |
|
|
691 |
|
|
692 |
# |
# |