VirtualBox

Changeset 757 in vbox


Ignore:
Timestamp:
Feb 7, 2007 5:30:10 PM (18 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
18416
Message:

support Debian/sarge

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure

    r225 r757  
    4747LIBPTHREAD="-lpthread"
    4848LIBXCURSOR="-lXcursor"
    49 LIBX11="-lXext -lX11"
     49LIBX11="-L/usr/X11R6/lib -lXext -lX11"
    5050INCZ=""
    5151LIBZ="-lz"
     
    7575function cleanup()
    7676{
    77   rm -f .tmp_src.cc .tmp_src.c .tmp_out
     77  rm -f .tmp_src.cc .tmp_src.c .tmp_out .test_execute.log
    7878}
    7979
     
    176176{
    177177  echo "executing the binary" >> $LOG
    178   log=`./.tmp_out`
     178  ./.tmp_out > .test_execute.log
    179179  rc=$?
    180   echo $log | tee -a $LOG
     180  cat .test_execute.log | tee -a $LOG
    181181  if (($rc!=0)); then
    182182    fail $1
     
    430430  printf("found version %d.%d.%d",
    431431         XALAN_VERSION_MAJOR, XALAN_VERSION_MINOR, XALAN_VERSION_REVISION);
    432 #if _XALAN_VERSION >= 11000
     432#if _XALAN_VERSION >= 10800
    433433  printf(", OK.\n");
    434434  return 0;
    435435#else
    436   printf(", expected version 1.10.0 or higher\n");
     436  printf(", expected version 1.8.0 or higher\n");
    437437  return 1;
    438438#endif
     
    460460  printf("found version %d.%d.%d",
    461461         XERCES_VERSION_MAJOR, XERCES_VERSION_MINOR, XERCES_VERSION_REVISION);
    462 #if _XERCES_VERSION >= 20600
     462#if _XERCES_VERSION >= 20500
    463463  printf(", OK.\n");
    464464  return 0;
    465465#else
    466   printf(", expected version 2.6.0 or higher");
     466  printf(", expected version 2.5.0 or higher");
    467467  return 1;
    468468#endif
     
    656656# Check for pam, needed by VRDPAuth
    657657# Version 79 was introduced in 9/2005, do we support older versions?
     658# Debian/sarge uses 76
    658659#
    659660function check_pam()
     
    666667{
    667668  printf("found version %d", __LIBPAM_VERSION);
    668   if (__LIBPAM_VERSION >= 79)
     669  if (__LIBPAM_VERSION >= 76)
    669670  {
    670671    printf(", OK.\n");
     
    673674  else
    674675  {
    675     printf(", expected version 79 or higher\n");
     676    printf(", expected version 76 or higher\n");
    676677    return 1;
    677678  }
     
    725726#include <cstdio>
    726727#include <SDL/SDL_ttf.h>
     728#ifndef SDL_TTF_MAJOR_VERSION
     729#define SDL_TTF_MAJOR_VERSION TTF_MAJOR_VERSION
     730#define SDL_TTF_MINOR_VERSION TTF_MINOR_VERSION
     731#define SDL_TTF_PATCHLEVEL    TTF_PATCHLEVEL
     732#endif
    727733extern "C" int main(void)
    728734{
     
    823829    cat .tmp_src.cc >> $LOG
    824830    echo "using the following command line:" >> $LOG
    825     echo "$CXX -O -Wall -o .tmp_out .tmp_src.cc \"-I$q/include -L$q/lib -lqt-mt\"" >> $LOG
     831    echo "$CXX -O -Wall -o .tmp_out .tmp_src.cc -I$q/include -L$q/lib -lqt-mt" >> $LOG
    826832    $CXX -O -Wall -o .tmp_out .tmp_src.cc -I$q/include -L$q/lib -lqt-mt >> $LOG 2>&1
    827833    if (($?==0)); then
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette