83 lines
2.8 KiB
Text
83 lines
2.8 KiB
Text
$NetBSD: patch-aa,v 1.3 2010/08/30 20:30:28 wiz Exp $
|
|
|
|
--- configure.orig 2009-07-26 10:31:54.000000000 +0000
|
|
+++ configure
|
|
@@ -23623,7 +23623,8 @@ fi
|
|
echo "${ECHO_T}$ogre_cv_prog_compiler_supports_visibility" >&6; }
|
|
|
|
if test x"$ogre_cv_prog_compiler_supports_visibility" = xyes; then
|
|
- CFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden -DOGRE_GCC_VISIBILITY";
|
|
+# CFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden -DOGRE_GCC_VISIBILITY";
|
|
+ CFLAGS_VISIBILITY=""
|
|
case $target_cpu in
|
|
x86_64* )
|
|
if ! echo "$CFLAGS $CXXFLAGS" | grep -q "\-O"; then
|
|
@@ -25739,11 +25740,11 @@ fi
|
|
rm -f OgreMain/src/OgreConfigDialog.lo OgreMain/src/OgreErrorDialog.lo
|
|
|
|
# Prefer win32, then Xt. gtk is being phased out and must be explicitly specified.
|
|
- if test "x$with_gui" == "xauto" && test "x$OGRE_PLATFORM" == "xWIN32"; then
|
|
+ if test "x$with_gui" = "xauto" && test "x$OGRE_PLATFORM" = "xWIN32"; then
|
|
with_gui=win32
|
|
fi
|
|
|
|
- if test "x$with_gui" == "xgtk"; then
|
|
+ if test "x$with_gui" = "xgtk"; then
|
|
|
|
pkg_failed=no
|
|
{ echo "$as_me:$LINENO: checking for GTK" >&5
|
|
@@ -25825,15 +25826,15 @@ echo "${ECHO_T}yes" >&6; }
|
|
fi
|
|
fi
|
|
|
|
- if test "x$with_gui" == "xauto"; then
|
|
+ if test "x$with_gui" = "xauto"; then
|
|
with_gui=Xt
|
|
fi
|
|
|
|
- if test "x$with_gui" == "xwin32"; then
|
|
+ if test "x$with_gui" = "xwin32"; then
|
|
OGRE_GUI=WIN32
|
|
- elif test "x$with_gui" == "xgtk"; then
|
|
+ elif test "x$with_gui" = "xgtk"; then
|
|
OGRE_GUI=gtk
|
|
- elif test "x$with_gui" == "xXt"; then
|
|
+ elif test "x$with_gui" = "xXt"; then
|
|
OGRE_GUI=GLX
|
|
PLATFORM_LIBS="$PLATFORM_LIBS -lXt -lSM -lICE"
|
|
else
|
|
@@ -26708,14 +26709,14 @@ else
|
|
with_allocator=ned
|
|
fi
|
|
|
|
- if test "x$with_allocator" == "xstd"; then
|
|
+ if test "x$with_allocator" = "xstd"; then
|
|
|
|
cat >>confdefs.h <<\_ACEOF
|
|
#define OGRE_MEMORY_ALLOCATOR 1
|
|
_ACEOF
|
|
|
|
fi
|
|
- if test "x$with_allocator" == "xned"; then
|
|
+ if test "x$with_allocator" = "xned"; then
|
|
|
|
cat >>confdefs.h <<\_ACEOF
|
|
#define OGRE_MEMORY_ALLOCATOR 2
|
|
@@ -29358,7 +29361,7 @@ fi
|
|
|
|
|
|
ft_detected=yes
|
|
-test "x$no_ft" == "xyes" && ft_detected=no
|
|
+test "x$no_ft" = "xyes" && ft_detected=no
|
|
|
|
echo "--------=== Configuration summary ===--------"
|
|
echo " Target platform : $OGRE_PLATFORM"
|
|
@@ -29372,7 +29375,7 @@ echo " Use FreeType
|
|
echo " Use FreeImage : $build_freeimage"
|
|
echo " Use DevIL : $build_il"
|
|
echo " Build OGRE demos : $build_ogre_demos"
|
|
-test "x$build_ogre_demos" == "xyes" && \
|
|
+test "x$build_ogre_demos" = "xyes" && \
|
|
echo " Build CEGUI demos : $build_cegui_sample"
|
|
echo " Build the OpenEXR plugin : $build_exr"
|
|
echo " Build the Cg plugin : $build_cg"
|