[packages] orbit2:

- remove braindead AC_TRY_RUN test
	- remove private libtool copy
	- fake the GTK doc check macro


git-svn-id: svn://svn.openwrt.org/openwrt/packages@24354 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
jow
2010-12-08 18:30:29 +00:00
parent 9155006a61
commit 782535ee62
4 changed files with 6687 additions and 2 deletions

View File

@ -1,5 +1,3 @@
diff --git a/configure b/configure
index bd8d550..74c5330 100755
--- a/configure
+++ b/configure
@@ -24219,7 +24219,7 @@ if test "$cross_compiling" = yes; then
@ -11,3 +9,30 @@ index bd8d550..74c5330 100755
else
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
--- a/configure.in
+++ b/configure.in
@@ -196,24 +196,6 @@ dnl This generates warnings from autocon
AC_C_BIGENDIAN
-dnl
-dnl So many people with broken linking setups asked about this
-dnl it turned out to be necessary to check for this.
-dnl
-dofus_save_libs="$LIBS"
-LIBS="$ORBIT_LIBS $LIBS"
-AC_TRY_RUN([ #include <stdio.h>
- main ()
- {
- return 0;
- } ],,
- AC_MSG_ERROR([
-Linking is badly borked on your system. Please ensure your library path is correct
-Check config.log for details - check near the end of the log above 'failed program was'
-Alternatively ensure that your /etc/ld.so.conf (and/or LD_LIBRARY_PATH) includes the
-prefix you're compiling on: '${prefix}' ]))
-LIBS="$dofus_save_libs"
-
orig_CPPFLAGS=$CPPFLAGS
CPPFLAGS="$CPPFLAGS $ORBIT_CFLAGS"
AC_CHECK_ALIGNOF(CORBA_octet)