/[rdesktop]/sourceforge.net/trunk/rdesktop/configure.ac
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /sourceforge.net/trunk/rdesktop/configure.ac

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 873 by stargo, Sat Apr 2 17:31:27 2005 UTC revision 908 by stargo, Mon Jun 6 14:14:45 2005 UTC
# Line 1  Line 1 
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    
# Line 22  AC_CHECK_HEADER(sys/filio.h, AC_DEFINE(H Line 22  AC_CHECK_HEADER(sys/filio.h, AC_DEFINE(H
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    
# Line 286  AC_DEFUN([UTILS_FUNC_ICONV], Line 284  AC_DEFUN([UTILS_FUNC_ICONV],
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"
# Line 397  AC_CHECK_HEADERS(sys/vfs.h) Line 396  AC_CHECK_HEADERS(sys/vfs.h)
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
# Line 623  AC_CHECK_FUNCS(setmntent) Line 630  AC_CHECK_FUNCS(setmntent)
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  #  #
# Line 631  AC_ARG_WITH(ipv6, Line 643  AC_ARG_WITH(ipv6,
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  #  #

Legend:
Removed from v.873  
changed lines
  Added in v.908

  ViewVC Help
Powered by ViewVC 1.1.26