diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2008-01-17 18:56:38 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2008-01-17 18:56:38 (GMT) |
commit | f1103ed882b5739e7f16cfd69527bde6d6d96dfa (patch) | |
tree | 05e55417a750c1275c9139b7952de6941db168dd /configure | |
parent | c9fcb1845bd7c5080abfee1be4070130bbdd38c2 (diff) | |
download | Doxygen-f1103ed882b5739e7f16cfd69527bde6d6d96dfa.zip Doxygen-f1103ed882b5739e7f16cfd69527bde6d6d96dfa.tar.gz Doxygen-f1103ed882b5739e7f16cfd69527bde6d6d96dfa.tar.bz2 |
Release-1.5.4-20080101
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 24 |
1 files changed, 18 insertions, 6 deletions
@@ -2,7 +2,7 @@ # # $Id$ # -# Copyright (C) 1997-2005 by Dimitri van Heesch. +# Copyright (C) 1997-2008 by Dimitri van Heesch. # # Permission to use, copy, modify, and distribute this software and its # documentation under the terms of the GNU General Public License is hereby @@ -20,7 +20,7 @@ doxygen_version_minor=5 doxygen_version_revision=4 #NOTE: Setting version_mmn to "NO" will omit mmn info from the package. -doxygen_version_mmn=NO +doxygen_version_mmn=20080101 bin_dirs=`echo $PATH | sed -e "s/:/ /g"` @@ -159,9 +159,6 @@ if test -z "$f_platform"; then if test "$f_insttool" = NO; then f_insttool=/usr/bin/install fi - if test -n "`ls /Developer/SDKs/MacOSX10.*u.sdk`"; then - f_platform=macosx-uni-c++ - fi ;; FreeBSD:*) f_platform=freebsd-g++ @@ -516,6 +513,21 @@ if test "$f_platform" = "hpux-g++"; then TMAKE_CXXFLAGS += -D_LARGEFILE_SOURCE EOF fi +if test "$f_platform" = "macosx-uni-c++"; then + if test -n "`ls /Developer/SDKs/MacOSX10.*.sdk`"; then + mac_sdk=MacOSX10.4u.sdk + fi + if test -n "`ls /Developer/SDKs/MacOSX10.5*.sdk`"; then + mac_sdk=MacOSX10.5.sdk + fi + if test -n $mac_sdk; then + cat >> .tmakeconfig <<EOF + TMAKE_CFLAGS += -isysroot /Developer/SDKs/$mac_sdk + TMAKE_CXXFLAGS += -isysroot /Developer/SDKs/$mac_sdk + TMAKE_LFLAGS += -Wl,-syslibroot,/Developer/SDKs/$mac_sdk +EOF + fi +fi if test "$f_wizard" = YES; then cat >> .tmakeconfig <<EOF TMAKE_MOC = $QTDIR/bin/moc @@ -597,7 +609,7 @@ fi echo -n " Generating src/lang_cfg.h..." echo $f_langs | $f_perl -e '@l=split(/,/,<STDIN>); chomp @l; - @allowed=(split(/,/,"NL,SE,CZ,FR,ID,IT,DE,JP,JE,ES,FI,RU,HR,PL,PT,HU,KR,KE,RO,SI,CN,NO,BR,DK,SK,UA,GR,TW,SR,CA,LT,ZA,AR,FA")); + @allowed=(split(/,/,"NL,SE,CZ,FR,ID,IT,DE,JP,JE,ES,FI,RU,HR,PL,PT,HU,KR,KE,RO,SI,CN,NO,MK,BR,DK,SK,UA,GR,TW,SR,CA,LT,ZA,AR,FA")); foreach my $elem (@l){ $elem =~ tr/a-z/A-Z/; $r=0; |