*** ./configure.ORIG	Thu Mar  1 22:02:04 2012
--- ./configure	Thu Mar  1 22:39:20 2012
***************
*** 560,565 ****
--- 560,570 ----
  if test "$f_platform" = "hpux-g++" -o "$f_platform" = "linux-g++"; then
    cat >> .tmakeconfig <<EOF
      TMAKE_CXXFLAGS += -D_LARGEFILE_SOURCE
+ EOF
+ fi
+ if test "$f_platform" = "aix-g++"; then
+   cat >> .tmakeconfig <<EOF
+     TMAKE_LFLAGS += -Wl,-blibpath:/opt/freeware/lib:/usr/lib:/lib -Wl,-bmaxdata:0x80000000
  EOF
  fi
  if test "$f_platform" = "macosx-uni-c++"; then
*** ./src/doxygen.pro.in.ORIG	Fri May 24 09:03:31 2013
--- ./src/doxygen.pro.in	Fri May 24 09:04:02 2013
***************
*** 18,24 ****
  CONFIG       =	console warn_on $extraopts
  HEADERS      =	doxygen.h 
  SOURCES      =	main.cpp 
! unix:LIBS                  += -L../lib -ldoxygen -ldoxycfg -lqtools -lmd5 -lpthread %%SQLITE3_LIBS%% %%LIBCLANG_LIBS%%
  win32:INCLUDEPATH          += .
  win32-mingw:LIBS           += -L../lib -ldoxygen -ldoxycfg -lqtools -lmd5 -lpthread %%SQLITE3_LIBS%% %%LIBCLANG_LIBS%%
  win32-msvc:LIBS            += qtools.lib md5.lib doxygen.lib doxycfg.lib shell32.lib iconv.lib
--- 18,24 ----
  CONFIG       =	console warn_on $extraopts
  HEADERS      =	doxygen.h 
  SOURCES      =	main.cpp 
! unix:LIBS                  += -L../lib -ldoxygen -ldoxycfg -lqtools -lmd5 -lpthread %%SQLITE3_LIBS%% %%LIBCLANG_LIBS%% -liconv
  win32:INCLUDEPATH          += .
  win32-mingw:LIBS           += -L../lib -ldoxygen -ldoxycfg -lqtools -lmd5 -lpthread %%SQLITE3_LIBS%% %%LIBCLANG_LIBS%%
  win32-msvc:LIBS            += qtools.lib md5.lib doxygen.lib doxycfg.lib shell32.lib iconv.lib
*** ./src/objcache.cpp.ORIG	Mon Aug 26 16:28:03 2013
--- ./src/objcache.cpp	Mon Aug 26 16:29:04 2013
***************
*** 20,26 ****
--- 20,30 ----
  #include <qglobal.h>
  #include "objcache.h"
  #if !defined(_OS_WIN32_) || defined(__MINGW32__)
+ #if defined(_AIX) && !defined(_AIX52)
+ #include <inttypes.h>
+ #else
  #include <stdint.h>
+ #endif
  #endif
  
  //----------------------------------------------------------------------
*** ./qtools/qcstring.h.ORIG	Mon Aug 26 16:29:52 2013
--- ./qtools/qcstring.h	Mon Aug 26 16:30:32 2013
***************
*** 47,53 ****
--- 47,57 ----
  #include <string.h>
  
  #if !defined(_OS_WIN32_) || defined(__MINGW32__)
+ #if defined(_AIX) && !defined(_AIX52)
+ #include <inttypes.h>
+ #else
  #include <stdint.h>
+ #endif
  #endif
  
  #if defined(_OS_SUN_) && defined(_CC_GNU_)
