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 |
621 |
AC_CHECK_MEMBERS([struct statfs.f_namelen],,,[$statxfs_includes]) |
AC_CHECK_MEMBERS([struct statfs.f_namelen],,,[$statxfs_includes]) |
622 |
AC_CHECK_MEMBERS([struct statvfs.f_namelen],,,[$statxfs_includes]) |
AC_CHECK_MEMBERS([struct statvfs.f_namelen],,,[$statxfs_includes]) |
623 |
|
|
624 |
|
# |
625 |
|
# Large file support |
626 |
|
# |
627 |
|
AC_SYS_LARGEFILE |
628 |
|
|
629 |
|
# |
630 |
# mntent |
# mntent |
631 |
# |
# |
632 |
AC_CHECK_HEADER(mntent.h, AC_DEFINE(HAVE_MNTENT_H)) |
AC_CHECK_HEADER(mntent.h, AC_DEFINE(HAVE_MNTENT_H)) |
637 |
# |
# |
638 |
AC_ARG_WITH(ipv6, |
AC_ARG_WITH(ipv6, |
639 |
[ --with-ipv6 enable IPv6-support], |
[ --with-ipv6 enable IPv6-support], |
640 |
[ AC_DEFINE(IPv6) ]) |
[ |
641 |
|
if test $withval != "no"; |
642 |
|
then |
643 |
|
AC_DEFINE(IPv6,1) |
644 |
|
fi |
645 |
|
]) |
646 |
|
|
647 |
|
|
648 |
# |
# |
650 |
# |
# |
651 |
AC_ARG_WITH(debug, |
AC_ARG_WITH(debug, |
652 |
[ --with-debug enable protocol debugging output], |
[ --with-debug enable protocol debugging output], |
653 |
[ AC_DEFINE(WITH_DEBUG) ]) |
[ |
654 |
|
if test $withval != "no"; |
655 |
|
then |
656 |
|
AC_DEFINE(WITH_DEBUG,1) |
657 |
|
fi |
658 |
|
]) |
659 |
|
|
660 |
AC_ARG_WITH(debug-kbd, |
AC_ARG_WITH(debug-kbd, |
661 |
[ --with-debug-kbd enable debugging of keyboard handling], |
[ --with-debug-kbd enable debugging of keyboard handling], |
662 |
[ AC_DEFINE(WITH_DEBUG_KBD) ]) |
[ |
663 |
|
if test $withval != "no"; |
664 |
|
then |
665 |
|
AC_DEFINE(WITH_DEBUG_KBD,1) |
666 |
|
fi |
667 |
|
]) |
668 |
|
|
669 |
AC_ARG_WITH(debug-rdp5, |
AC_ARG_WITH(debug-rdp5, |
670 |
[ --with-debug-rdp5 enable debugging of RDP5 code], |
[ --with-debug-rdp5 enable debugging of RDP5 code], |
671 |
[ AC_DEFINE(WITH_DEBUG_RDP5) ]) |
[ |
672 |
|
if test $withval != "no"; |
673 |
|
then |
674 |
|
AC_DEFINE(WITH_DEBUG_RDP5,1) |
675 |
|
fi |
676 |
|
]) |
677 |
|
|
678 |
AC_ARG_WITH(debug-clipboard, |
AC_ARG_WITH(debug-clipboard, |
679 |
[ --with-debug-clipboard enable debugging of clipboard code], |
[ --with-debug-clipboard enable debugging of clipboard code], |
680 |
[ AC_DEFINE(WITH_DEBUG_CLIPBOARD) ]) |
[ |
681 |
|
if test $withval != "no"; |
682 |
|
then |
683 |
|
AC_DEFINE(WITH_DEBUG_CLIPBOARD,1) |
684 |
|
fi |
685 |
|
]) |
686 |
|
|
687 |
|
|
688 |
# |
# |