Ticket #10304: qt3.patch

File qt3.patch, 896 bytes (added by mas@…, 18 years ago)

files/qt3.patch

  • m4/os.m4

     
    4242        AC_DEFINE(OS_BEOS,1,[if BeOS is used])
    4343        OS_TYPE="posix"
    4444        ;;
     45    *-darwin*)
     46        OSYSTEM="darwin"
     47        AC_DEFINE(OS_DARWIN,1,[if Darwin is used])
     48        OS_TYPE="posix"
     49        ;;
    4550    *-win32*)
    4651        OSYSTEM="windows"
    4752        AC_DEFINE(OS_WIN32,1,[if WIN32 is used])
  • m4/qt3.m4

    diff -ruN aqbanking-2.2.0/m4/qt3.m4 aqbanking-2.2.0-new/m4/qt3.m4
     
    149149fi
    150150
    151151# This is the name of the qt library to search for.
    152 qt_searchname="lib${qt_libname}${std_shrext}.3"
     152if test `uname -s` = "Darwin"; then
     153   qt_searchname="lib${qt_libname}.3.dylib"
     154else
     155   qt_searchname="lib${qt_libname}${std_shrext}.3"
     156fi
    153157
    154158if test -z "$qt3_libs"; then
    155159   AQ_SEARCH_FOR_PATH([$qt_searchname],[$local_qt3_libs])