Merged 46226 from svn trunk (Note: CVS):

Add implementation of Objective-C class name uniquifying.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
David Elliott
2007-07-13 02:49:34 +00:00
parent 8729117682
commit 4084e91fe6
4 changed files with 358 additions and 9 deletions

64
configure vendored
View File

@@ -1,5 +1,5 @@
#! /bin/sh
# From configure.in Id: configure.in.
# From configure.in Id: configure.in 47389 2007-07-12 20:53:29Z RD .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.61 for wxWidgets 2.8.4.
#
@@ -1642,6 +1642,7 @@ Optional Features:
--enable-compat24 enable wxWidgets 2.4 compatibility
--disable-compat26 disable wxWidgets 2.6 compatibility
--disable-rpath disable use of rpath for uninstalled builds
--enable-objc_uniquifying enable Objective-C class name uniquifying
--enable-intl use internationalization system
--enable-config use wxConfig (and derived) classes
--enable-protocols use wxProtocol and derived classes
@@ -3337,6 +3338,8 @@ else
DEFAULT_wxUSE_GTK2=yes
fi
DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
@@ -5328,6 +5331,47 @@ echo "${ECHO_T}no" >&6; }
enablestring=
{ echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
no_cache=0
# Check whether --enable-objc_uniquifying was given.
if test "${enable_objc_uniquifying+set}" = set; then
enableval=$enable_objc_uniquifying;
if test "$enableval" = yes; then
ac_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
else
ac_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
fi
else
LINE=`grep "wxUSE_OBJC_UNIQUIFYING" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
no_cache=1
fi
ac_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING='$DEFAULT_wxUSE_OBJC_UNIQUIFYING
fi
eval "$ac_cv_use_objc_uniquifying"
if test "$no_cache" != 1; then
echo $ac_cv_use_objc_uniquifying >> ${wx_arg_cache_file}.tmp
fi
if test "$wxUSE_OBJC_UNIQUIFYING" = yes; then
{ echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6; }
else
{ echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
fi
enablestring=
@@ -22828,13 +22872,11 @@ _ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
#include <sys/types.h> /* for off_t */
#include <stdio.h>
#include <stdio.h>
int
main ()
{
int (*fp) (FILE *, off_t, int) = fseeko;
return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
return fseeko (stdin, 0, 0) && (fseeko) (stdin, 0, 0);
;
return 0;
}
@@ -22874,13 +22916,11 @@ cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
#define _LARGEFILE_SOURCE 1
#include <sys/types.h> /* for off_t */
#include <stdio.h>
#include <stdio.h>
int
main ()
{
int (*fp) (FILE *, off_t, int) = fseeko;
return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
return fseeko (stdin, 0, 0) && (fseeko) (stdin, 0, 0);
;
return 0;
}
@@ -42489,6 +42529,12 @@ _ACEOF
fi
if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
cat >>confdefs.h <<\_ACEOF
#define wxUSE_OBJC_UNIQUIFYING 1
_ACEOF
fi
if test "$wxUSE_DATETIME" = "yes"; then