/[rdesktop]/jpeg/rdesktop/trunk/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 /jpeg/rdesktop/trunk/configure.ac

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

revision 743 by stargo, Sun Aug 8 11:17:12 2004 UTC revision 1280 by stargo, Sun Oct 1 14:05:15 2006 UTC
# Line 1  Line 1 
1  AC_INIT(rdesktop, 1.3.1)  AC_INIT(rdesktop, 1.5.0)
2    
3  AC_CONFIG_SRCDIR([rdesktop.c])  AC_CONFIG_SRCDIR([rdesktop.c])
4    
# Line 16  AC_PATH_XTRA Line 16  AC_PATH_XTRA
16  AC_SEARCH_LIBS(socket, socket)  AC_SEARCH_LIBS(socket, socket)
17  AC_SEARCH_LIBS(inet_aton, resolv)  AC_SEARCH_LIBS(inet_aton, resolv)
18    
19    AC_CHECK_HEADER(sys/select.h, AC_DEFINE(HAVE_SYS_SELECT_H))
20    AC_CHECK_HEADER(sys/modem.h, AC_DEFINE(HAVE_SYS_MODEM_H))
21    AC_CHECK_HEADER(sys/filio.h, AC_DEFINE(HAVE_SYS_FILIO_H))
22    AC_CHECK_HEADER(sys/strtio.h, AC_DEFINE(HAVE_SYS_STRTIO_H))
23    AC_CHECK_HEADER(locale.h, AC_DEFINE(HAVE_LOCALE_H))
24    AC_CHECK_HEADER(langinfo.h, AC_DEFINE(HAVE_LANGINFO_H))
25    
26    AC_CHECK_TOOL(STRIP, strip, :)
27    
28  rpath=""  rpath=""
29    
30  #  #
# Line 130  AC_ARG_WITH(libvncserver, Line 139  AC_ARG_WITH(libvncserver,
139  #  #
140  # sound  # sound
141  #  #
142    AC_ARG_WITH(libao,
143        [  --with-libao=DIR        look for libao at DIR/include, DIR/lib],
144        [
145        CFLAGS="$CFLAGS -I$withval/include"
146        CPPFLAGS="$CPPFLAGS -I$withval/include"
147        LDFLAGS="$LDFLAGS -L$withval/lib"
148        rpath="$rpath:$withval/lib"
149        ]
150    )
151    
152    AC_ARG_WITH(libsamplerate,
153        [  --with-libsamplerate=DIR  look for libsamplerate at DIR/include, DIR/lib],
154        [
155        CFLAGS="$CFLAGS -I$withval/include"
156        CPPFLAGS="$CPPFLAGS -I$withval/include"
157        LDFLAGS="$LDFLAGS -L$withval/lib"
158        rpath="$rpath:$withval/lib"
159        ]
160    )
161    
162    AC_CHECK_HEADER(samplerate.h,
163        [
164        LIBS="$LIBS -lsamplerate"
165        AC_DEFINE(HAVE_LIBSAMPLERATE)
166        ]
167    )
168    
169  sound="yes"  sound="yes"
170  AC_ARG_WITH(sound,  AC_ARG_WITH(sound,
171      [  --with-sound            select sound system ("oss" or "sun") ],      [  --with-sound            select sound system ("oss", "sgi", "sun", "alsa" or "libao") ],
172      [      [
173      sound="$withval"      sound="$withval"
174      ])      ])
175  if test "$sound" = yes; then  if test "$sound" = yes; then
176      AC_CHECK_HEADER(sys/soundcard.h, [sound=oss])      AC_CHECK_HEADER(ao/ao.h,
177      AC_CHECK_HEADER(sys/audioio.h, [sound=sun])          [
178            sound=auto
179            SOUNDOBJ="$SOUNDOBJ rdpsnd_libao.o"
180            LIBS="$LIBS -lao"
181            AC_DEFINE(RDPSND_LIBAO)
182            ])
183        AC_CHECK_HEADER(sys/soundcard.h,
184            [
185            sound=auto
186            SOUNDOBJ="$SOUNDOBJ rdpsnd_oss.o"
187            AC_DEFINE(RDPSND_OSS)
188            ])
189        AC_CHECK_HEADER(dmedia/audio.h,
190            [
191            sound=auto
192            SOUNDOBJ="$SOUNDOBJ rdpsnd_sgi.o"
193            LIBS="$LIBS -laudio"
194            AC_DEFINE(RDPSND_SGI)
195            ])
196        AC_CHECK_HEADER(sys/audioio.h,
197            [
198            sound=auto
199            SOUNDOBJ="$SOUNDOBJ rdpsnd_sun.o"
200            AC_DEFINE(RDPSND_SUN)
201            ])
202        AC_CHECK_HEADER(alsa/asoundlib.h,
203            [
204            sound=auto
205            SOUNDOBJ="$SOUNDOBJ rdpsnd_alsa.o"
206            LIBS="$LIBS -lasound"
207            AC_DEFINE(RDPSND_ALSA)
208            ])
209  fi  fi
210    
211  if test "$sound" = no; then  if test "$sound" = no; then
212      break      break
213    elif test "$sound" = auto; then
214        SOUNDOBJ="$SOUNDOBJ rdpsnd.o rdpsnd_dsp.o"
215        AC_DEFINE(WITH_RDPSND)
216  elif test "$sound" = oss; then  elif test "$sound" = oss; then
217      SOUNDOBJ="rdpsnd.o rdpsnd_oss.o"      SOUNDOBJ="rdpsnd.o rdpsnd_dsp.o rdpsnd_oss.o"
218        AC_DEFINE(WITH_RDPSND)
219    elif test "$sound" = sgi; then
220        SOUNDOBJ="rdpsnd.o rdpsnd_dsp.o rdpsnd_sgi.o"
221        LDFLAGS="$LDFLAGS -laudio"
222    elif test "$sound" = yes; then
223        SOUNDOBJ="$SOUNDOBJ rdpsnd.o rdpsnd_dsp.o"
224      AC_DEFINE(WITH_RDPSND)      AC_DEFINE(WITH_RDPSND)
225  elif test "$sound" = sun; then  elif test "$sound" = sun; then
226      SOUNDOBJ="rdpsnd.o rdpsnd_sun.o"      SOUNDOBJ="rdpsnd.o rdpsnd_dsp.o rdpsnd_sun.o"
227      AC_DEFINE(WITH_RDPSND)      AC_DEFINE(WITH_RDPSND)
228    elif test "$sound" = libao; then
229        SOUNDOBJ="rdpsnd.o rdpsnd_dsp.o rdpsnd_libao.o"
230        LDFLAGS="$LDFLAGS -lao"
231        AC_DEFINE(RDPSND_SUN)
232    elif test "$sound" = alsa; then
233        SOUNDOBJ="rdpsnd.o rdpsnd_dsp.o rdpsnd_alsa.o"
234        LDFLAGS="$LDFLAGS -lasound"
235        AC_DEFINE(WITH_RDPSND)
236        AC_DEFINE(RDPSND_ALSA)
237  else  else
238     AC_MSG_WARN([sound support disabled (no sys/soundcard.h or sys/audioio.h)])     AC_MSG_WARN([sound support disabled])
239     AC_MSG_WARN([Currently supported systems are Open Sound System (oss) and Sun/BSD (sun)])     AC_MSG_WARN([Currently supported systems are Open Sound System (oss), SGI AL (sgi), Sun/BSD (sun), ALSA (alsa) and libao])
240  fi  fi
241  AC_SUBST(SOUNDOBJ)  AC_SUBST(SOUNDOBJ)
242    
# Line 238  AC_DEFUN([UTILS_FUNC_DIRFD], Line 324  AC_DEFUN([UTILS_FUNC_DIRFD],
324  UTILS_FUNC_DIRFD  UTILS_FUNC_DIRFD
325    
326  #  #
327    # iconv
328    #
329    
330    dnl This macros shamelessly stolen from
331    dnl http://gcc.gnu.org/ml/gcc-bugs/2001-06/msg01398.html.
332    dnl Written by Bruno Haible.
333    
334    AC_DEFUN([UTILS_FUNC_ICONV],
335    [
336      dnl Some systems have iconv in libc, some have it in libiconv (OSF/1 and
337      dnl those with the standalone portable GNU libiconv installed).
338    
339      AC_ARG_WITH([libiconv-prefix],
340    [  --with-libiconv-prefix=DIR  search for libiconv in DIR/include and DIR/lib], [
341        for dir in `echo "$withval" | tr : ' '`; do
342          if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
343          if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
344        done
345       ])
346      AC_CHECK_HEADER(iconv.h, AC_DEFINE(HAVE_ICONV_H))
347    
348      AC_CACHE_CHECK(for iconv, am_cv_func_iconv, [
349        am_cv_func_iconv="no, consider installing GNU libiconv"
350        am_cv_lib_iconv=no
351        AC_TRY_LINK([#include <stdlib.h>
352    #include <iconv.h>],
353          [iconv_t cd = iconv_open("","");
354           iconv(cd,NULL,NULL,NULL,NULL);
355           iconv_close(cd);],
356          am_cv_func_iconv=yes)
357        if test "$am_cv_func_iconv" != yes; then
358          am_save_LIBS="$LIBS"
359          LIBS="$LIBS -liconv"
360          AC_TRY_LINK([#include <stdlib.h>
361    #include <iconv.h>],
362            [iconv_t cd = iconv_open("","");
363             iconv(cd,NULL,NULL,NULL,NULL);
364             iconv_close(cd);],
365            am_cv_lib_iconv=yes
366            am_cv_func_iconv=yes)
367          LIBS="$am_save_LIBS"
368        fi
369      ])
370      if test "$am_cv_func_iconv" = yes; then
371        AC_DEFINE(HAVE_ICONV, 1, [Define if you have the iconv() function.])
372        AC_MSG_CHECKING([for iconv declaration])
373        AC_CACHE_VAL(am_cv_proto_iconv, [
374          AC_TRY_COMPILE([
375    #include <stdlib.h>
376    #include <iconv.h>
377    extern
378    #ifdef __cplusplus
379    "C"
380    #endif
381    #if defined(__STDC__) || defined(__cplusplus)
382    size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
383    #else
384    size_t iconv();
385    #endif
386    ], [], am_cv_proto_iconv_arg1="", am_cv_proto_iconv_arg1="const")
387          am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"])
388        am_cv_proto_iconv=`echo "[$]am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
389        AC_MSG_RESULT([$]{ac_t:-
390             }[$]am_cv_proto_iconv)
391        AC_DEFINE_UNQUOTED(ICONV_CONST, $am_cv_proto_iconv_arg1,
392          [Define as const if the declaration of iconv() needs const.])
393      fi
394      LIBICONV=
395      if test "$am_cv_lib_iconv" = yes; then
396        LIBICONV="-liconv"
397      fi
398      AC_SUBST(LIBICONV)
399    ])
400    
401    UTILS_FUNC_ICONV
402    LIBS="$LIBS $LIBICONV"
403    
404    #
405    # socklen_t
406    # from curl
407    
408    dnl Check for socklen_t: historically on BSD it is an int, and in
409    dnl POSIX 1g it is a type of its own, but some platforms use different
410    dnl types for the argument to getsockopt, getpeername, etc.  So we
411    dnl have to test to find something that will work.
412    AC_DEFUN([TYPE_SOCKLEN_T],
413    [
414       AC_CHECK_TYPE([socklen_t], ,[
415          AC_MSG_CHECKING([for socklen_t equivalent])
416          AC_CACHE_VAL([socklen_t_equiv],
417          [
418             # Systems have either "struct sockaddr *" or
419             # "void *" as the second argument to getpeername
420             socklen_t_equiv=
421             for arg2 in "struct sockaddr" void; do
422                for t in int size_t unsigned long "unsigned long"; do
423                   AC_TRY_COMPILE([
424                      #include <sys/types.h>
425                      #include <sys/socket.h>
426    
427                      int getpeername (int, $arg2 *, $t *);
428                   ],[
429                      $t len;
430                      getpeername(0,0,&len);
431                   ],[
432                      socklen_t_equiv="$t"
433                      break
434                   ])
435                done
436             done
437    
438             if test "x$socklen_t_equiv" = x; then
439                AC_MSG_ERROR([Cannot find a type to use in place of socklen_t])
440             fi
441          ])
442          AC_MSG_RESULT($socklen_t_equiv)
443          AC_DEFINE_UNQUOTED(socklen_t, $socklen_t_equiv,
444                            [type to use in place of socklen_t if not defined])],
445          [#include <sys/types.h>
446    #include <sys/socket.h>])
447    ])
448    
449    TYPE_SOCKLEN_T
450    
451    #
452    # statfs stuff
453    #
454    AC_CHECK_HEADERS(sys/vfs.h)
455    AC_CHECK_HEADERS(sys/statvfs.h)
456    AC_CHECK_HEADERS(sys/statfs.h)
457    AC_CHECK_HEADERS(sys/param.h)
458    
459    mount_includes="\
460      $ac_includes_default
461      #if HAVE_SYS_PARAM_H
462      # include <sys/param.h>
463      #endif
464      "
465    
466    AC_CHECK_HEADERS(sys/mount.h,,,[$mount_includes])
467    
468    #################################################
469    # these tests are taken from the GNU fileutils package
470    AC_CHECKING(how to get filesystem space usage)
471    space=no
472    
473    # Test for statvfs64.
474    if test $space = no; then
475      # SVR4
476      AC_CACHE_CHECK([statvfs64 function (SVR4)], fu_cv_sys_stat_statvfs64,
477      [AC_TRY_RUN([
478    #if defined(HAVE_UNISTD_H)
479    #include <unistd.h>
480    #endif
481    #include <sys/types.h>
482    #include <sys/statvfs.h>
483      main ()
484      {
485        struct statvfs64 fsd;
486        exit (statvfs64 (".", &fsd));
487      }],
488      fu_cv_sys_stat_statvfs64=yes,
489      fu_cv_sys_stat_statvfs64=no,
490      fu_cv_sys_stat_statvfs64=cross)])
491      if test $fu_cv_sys_stat_statvfs64 = yes; then
492        space=yes
493        AC_DEFINE(STAT_STATVFS64,1,[Whether statvfs64() is available])
494      fi
495    fi
496    
497    # Perform only the link test since it seems there are no variants of the
498    # statvfs function.  This check is more than just AC_CHECK_FUNCS(statvfs)
499    # because that got a false positive on SCO OSR5.  Adding the declaration
500    # of a `struct statvfs' causes this test to fail (as it should) on such
501    # systems.  That system is reported to work fine with STAT_STATFS4 which
502    # is what it gets when this test fails.
503    if test $space = no; then
504      # SVR4
505      AC_CACHE_CHECK([statvfs function (SVR4)], fu_cv_sys_stat_statvfs,
506                     [AC_TRY_LINK([#include <sys/types.h>
507    #include <sys/statvfs.h>],
508                                  [struct statvfs fsd; statvfs (0, &fsd);],
509                                  fu_cv_sys_stat_statvfs=yes,
510                                  fu_cv_sys_stat_statvfs=no)])
511      if test $fu_cv_sys_stat_statvfs = yes; then
512        space=yes
513        AC_DEFINE(STAT_STATVFS,1,[Whether statvfs() is available])
514      fi
515    fi
516    
517    if test $space = no; then
518      # DEC Alpha running OSF/1
519      AC_MSG_CHECKING([for 3-argument statfs function (DEC OSF/1)])
520      AC_CACHE_VAL(fu_cv_sys_stat_statfs3_osf1,
521      [AC_TRY_RUN([
522    #include <sys/param.h>
523    #include <sys/types.h>
524    #include <sys/mount.h>
525      main ()
526      {
527        struct statfs fsd;
528        fsd.f_fsize = 0;
529        exit (statfs (".", &fsd, sizeof (struct statfs)));
530      }],
531      fu_cv_sys_stat_statfs3_osf1=yes,
532      fu_cv_sys_stat_statfs3_osf1=no,
533      fu_cv_sys_stat_statfs3_osf1=no)])
534    
535    
536    #C_MSG_RESULT($fu_cv_sys_stat_statfs3_osf1)
537      if test $fu_cv_sys_stat_statfs3_osf1 = yes; then
538        space=yes
539        AC_DEFINE(STAT_STATFS3_OSF1,1,[Whether statfs requires 3 arguments])
540      fi
541    fi
542    
543    if test $space = no; then
544    # AIX
545      AC_MSG_CHECKING([for two-argument statfs with statfs.bsize dnl
546    member (AIX, 4.3BSD)])
547      AC_CACHE_VAL(fu_cv_sys_stat_statfs2_bsize,
548      [AC_TRY_RUN([
549    #ifdef HAVE_SYS_PARAM_H
550    #include <sys/param.h>
551    #endif
552    #ifdef HAVE_SYS_MOUNT_H
553    #include <sys/mount.h>
554    #endif
555    #ifdef HAVE_SYS_VFS_H
556    #include <sys/vfs.h>
557    #endif
558      main ()
559      {
560      struct statfs fsd;
561      fsd.f_bsize = 0;
562      exit (statfs (".", &fsd));
563      }],
564      fu_cv_sys_stat_statfs2_bsize=yes,
565      fu_cv_sys_stat_statfs2_bsize=no,
566      fu_cv_sys_stat_statfs2_bsize=no)])
567      AC_MSG_RESULT($fu_cv_sys_stat_statfs2_bsize)
568      if test $fu_cv_sys_stat_statfs2_bsize = yes; then
569        space=yes
570        AC_DEFINE(STAT_STATFS2_BSIZE,1,[Whether statfs requires two arguments and struct statfs has bsize property])
571      fi
572    fi
573    
574    if test $space = no; then
575    # SVR3
576      AC_MSG_CHECKING([for four-argument statfs (AIX-3.2.5, SVR3)])
577      AC_CACHE_VAL(fu_cv_sys_stat_statfs4,
578      [AC_TRY_RUN([#include <sys/types.h>
579    #include <sys/statfs.h>
580      main ()
581      {
582      struct statfs fsd;
583      exit (statfs (".", &fsd, sizeof fsd, 0));
584      }],
585        fu_cv_sys_stat_statfs4=yes,
586        fu_cv_sys_stat_statfs4=no,
587        fu_cv_sys_stat_statfs4=no)])
588      AC_MSG_RESULT($fu_cv_sys_stat_statfs4)
589      if test $fu_cv_sys_stat_statfs4 = yes; then
590        space=yes
591        AC_DEFINE(STAT_STATFS4,1,[Whether statfs requires 4 arguments])
592      fi
593    fi
594    
595    if test $space = no; then
596    # 4.4BSD and NetBSD
597      AC_MSG_CHECKING([for two-argument statfs with statfs.fsize dnl
598    member (4.4BSD and NetBSD)])
599      AC_CACHE_VAL(fu_cv_sys_stat_statfs2_fsize,
600      [AC_TRY_RUN([#include <sys/types.h>
601    #ifdef HAVE_SYS_PARAM_H
602    #include <sys/param.h>
603    #endif
604    #ifdef HAVE_SYS_MOUNT_H
605    #include <sys/mount.h>
606    #endif
607      main ()
608      {
609      struct statfs fsd;
610      fsd.f_fsize = 0;
611      exit (statfs (".", &fsd));
612      }],
613      fu_cv_sys_stat_statfs2_fsize=yes,
614      fu_cv_sys_stat_statfs2_fsize=no,
615      fu_cv_sys_stat_statfs2_fsize=no)])
616      AC_MSG_RESULT($fu_cv_sys_stat_statfs2_fsize)
617      if test $fu_cv_sys_stat_statfs2_fsize = yes; then
618        space=yes
619            AC_DEFINE(STAT_STATFS2_FSIZE,1,[Whether statfs requires 2 arguments and struct statfs has fsize])
620      fi
621    fi
622    
623    if test $space = no; then
624      # Ultrix
625      AC_MSG_CHECKING([for two-argument statfs with struct fs_data (Ultrix)])
626      AC_CACHE_VAL(fu_cv_sys_stat_fs_data,
627      [AC_TRY_RUN([#include <sys/types.h>
628    #ifdef HAVE_SYS_PARAM_H
629    #include <sys/param.h>
630    #endif
631    #ifdef HAVE_SYS_MOUNT_H
632    #include <sys/mount.h>
633    #endif
634    #ifdef HAVE_SYS_FS_TYPES_H
635    #include <sys/fs_types.h>
636    #endif
637      main ()
638      {
639      struct fs_data fsd;
640      /* Ultrix's statfs returns 1 for success,
641         0 for not mounted, -1 for failure.  */
642      exit (statfs (".", &fsd) != 1);
643      }],
644      fu_cv_sys_stat_fs_data=yes,
645      fu_cv_sys_stat_fs_data=no,
646      fu_cv_sys_stat_fs_data=no)])
647      AC_MSG_RESULT($fu_cv_sys_stat_fs_data)
648      if test $fu_cv_sys_stat_fs_data = yes; then
649        space=yes
650        AC_DEFINE(STAT_STATFS2_FS_DATA,1,[Whether statfs requires 2 arguments and struct fs_data is available])
651      fi
652    fi
653    
654      statxfs_includes="\
655    $ac_includes_default
656    #if HAVE_SYS_STATVFS_H
657    # include <sys/statvfs.h>
658    #endif
659    #if HAVE_SYS_VFS_H
660    # include <sys/vfs.h>
661    #endif
662    #if !HAVE_SYS_STATVFS_H && !HAVE_SYS_VFS_H
663    # if HAVE_SYS_MOUNT_H && HAVE_SYS_PARAM_H
664    /* NetBSD 1.5.2 needs these, for the declaration of struct statfs. */
665    #  include <sys/param.h>
666    #  include <sys/mount.h>
667    # elif HAVE_NETINET_IN_H && HAVE_NFS_NFS_CLNT_H && HAVE_NFS_VFS_H
668    /* Ultrix 4.4 needs these for the declaration of struct statfs.  */
669    #  include <netinet/in.h>
670    #  include <nfs/nfs_clnt.h>
671    #  include <nfs/vfs.h>
672    # endif
673    #endif
674    "
675    
676    AC_CHECK_MEMBERS([struct statfs.f_namemax],,,[$statxfs_includes])
677    AC_CHECK_MEMBERS([struct statvfs.f_namemax],,,[$statxfs_includes])
678    AC_CHECK_MEMBERS([struct statfs.f_namelen],,,[$statxfs_includes])
679    AC_CHECK_MEMBERS([struct statvfs.f_namelen],,,[$statxfs_includes])
680    
681    #
682    # Large file support
683    #
684    AC_SYS_LARGEFILE
685    
686    #
687    # mntent
688    #
689    AC_CHECK_HEADER(mntent.h, AC_DEFINE(HAVE_MNTENT_H))
690    AC_CHECK_FUNCS(setmntent)
691    
692    #
693    # IPv6
694    #
695    AC_ARG_WITH(ipv6,
696        [  --with-ipv6             enable IPv6-support],
697        [
698            if test $withval != "no";
699            then
700                AC_DEFINE(IPv6,1)
701            fi
702        ])
703    
704    
705    #
706  # debugging  # debugging
707  #  #
708  AC_ARG_WITH(debug,  AC_ARG_WITH(debug,
709      [  --with-debug            enable protocol debugging output],      [  --with-debug            enable protocol debugging output],
710      [ AC_DEFINE(WITH_DEBUG) ])      [
711            if test $withval != "no";
712            then
713                AC_DEFINE(WITH_DEBUG,1)
714            fi
715        ])
716    
717  AC_ARG_WITH(debug-kbd,  AC_ARG_WITH(debug-kbd,
718      [  --with-debug-kbd        enable debugging of keyboard handling],      [  --with-debug-kbd        enable debugging of keyboard handling],
719      [ AC_DEFINE(WITH_DEBUG_KBD) ])      [
720            if test $withval != "no";
721            then
722                AC_DEFINE(WITH_DEBUG_KBD,1)
723            fi
724        ])
725    
726  AC_ARG_WITH(debug-rdp5,  AC_ARG_WITH(debug-rdp5,
727      [  --with-debug-rdp5       enable debugging of RDP5 code],      [  --with-debug-rdp5       enable debugging of RDP5 code],
728      [ AC_DEFINE(WITH_DEBUG_RDP5) ])      [
729            if test $withval != "no";
730            then
731                AC_DEFINE(WITH_DEBUG_RDP5,1)
732            fi
733        ])
734    
735  AC_ARG_WITH(debug-clipboard,  AC_ARG_WITH(debug-clipboard,
736      [  --with-debug-clipboard  enable debugging of clipboard code],      [  --with-debug-clipboard  enable debugging of clipboard code],
737      [ AC_DEFINE(WITH_DEBUG_CLIPBOARD) ])      [
738            if test $withval != "no";
739            then
740                AC_DEFINE(WITH_DEBUG_CLIPBOARD,1)
741            fi
742        ])
743    
744    AC_ARG_WITH(debug-channel,
745        [  --with-debug-channel  enable debugging of virtual channel code],
746        [
747            if test $withval != "no";
748            then
749                AC_DEFINE(WITH_DEBUG_CHANNEL,1)
750            fi
751        ])
752    
753    
754  #  #
# Line 273  case "$host" in Line 767  case "$host" in
767  *-*-hpux*)  *-*-hpux*)
768      CFLAGS="$CFLAGS -D_XOPEN_SOURCE_EXTENDED"      CFLAGS="$CFLAGS -D_XOPEN_SOURCE_EXTENDED"
769      ;;      ;;
770    *-*-irix6.5*)
771        LIBS="$LIBS -L$ssldir/lib32 -lcrypto"
772        CFLAGS="$CFLAGS -D__SGI_IRIX__"
773        ;;
774  esac  esac
775    
776    

Legend:
Removed from v.743  
changed lines
  Added in v.1280

  ViewVC Help
Powered by ViewVC 1.1.26