/[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 1199 by astrand, Mon Mar 27 08:17:34 2006 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))
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    
# Line 286  AC_DEFUN([UTILS_FUNC_ICONV], Line 286  AC_DEFUN([UTILS_FUNC_ICONV],
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"
# Line 397  AC_CHECK_HEADERS(sys/vfs.h) Line 398  AC_CHECK_HEADERS(sys/vfs.h)
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
# Line 612  AC_CHECK_MEMBERS([struct statvfs.f_namem Line 621  AC_CHECK_MEMBERS([struct statvfs.f_namem
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))
# Line 623  AC_CHECK_FUNCS(setmntent) Line 637  AC_CHECK_FUNCS(setmntent)
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  #  #
# Line 631  AC_ARG_WITH(ipv6, Line 650  AC_ARG_WITH(ipv6,
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    AC_ARG_WITH(debug-channel,
688        [  --with-debug-channel  enable debugging of virtual channel code],
689        [
690            if test $withval != "no";
691            then
692                AC_DEFINE(WITH_DEBUG_CHANNEL,1)
693            fi
694        ])
695    
696    
697  #  #

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

  ViewVC Help
Powered by ViewVC 1.1.26