Richard Marian Thomaiyar | 14fddef | 2018-07-13 23:55:56 +0530 | [diff] [blame^] | 1 | Remove the hardcoded lib and include dirs |
| 2 | |
| 3 | Upstream-Status: Inappropriate [cross compile specific] |
| 4 | |
| 5 | written by: Amy Fong <amy.fong@windriver.com> |
| 6 | Signed-off-by: Jackie Huang <jackie.huang@windriver.com> |
| 7 | |
| 8 | --- keynote-2.3/configure.in.orig 2010-05-24 04:44:16.000000000 -0700 |
| 9 | +++ keynote-2.3/configure.in 2010-05-24 04:44:55.000000000 -0700 |
| 10 | @@ -21,27 +21,16 @@ |
| 11 | AC_PATH_PROG(ECHO, echo, /bin/echo) |
| 12 | AC_PATH_PROG(SED, sed, /usr/bin/sed) |
| 13 | |
| 14 | -dnl Checks for libraries. |
| 15 | -LIBS="-L/usr/lib -L/usr/local/lib -L/usr/ssl/lib -L/usr/openssl/lib\ |
| 16 | - -L/usr/local/ssl/lib -L/usr/local/openssl/lib -L/usr/pkg/lib -L/pkg/lib" |
| 17 | - |
| 18 | AC_CHECK_LIB(m, floor, LIBS="$LIBS -lm") |
| 19 | AC_CHECK_LIB(rsaref, RSAPrivateDecrypt, LIBS="$LIBS -lrsaref") |
| 20 | AC_CHECK_LIB(crypto, i2a_ASN1_STRING, LIBS="$LIBS -lcrypto") |
| 21 | AC_CHECK_LIB(RSAglue, RSA_ref_private_encrypt, LIBS="$LIBS -lRSAglue") |
| 22 | |
| 23 | -dnl Checks for header files. |
| 24 | -CPPFLAGS="-I/usr/include -I/usr/local/include -I/usr/ssl/include\ |
| 25 | - -I/usr/local/ssl/include -I/usr/openssl/include -I/usr/pkg/include\ |
| 26 | - -I/usr/local/openssl/include -I/pkg/include" |
| 27 | - |
| 28 | AC_HEADER_STDC |
| 29 | AC_HEADER_TIME |
| 30 | AC_CHECK_HEADERS(fcntl.h limits.h unistd.h regex.h sys/time.h io.h) |
| 31 | AC_CHECK_HEADERS(ssl/crypto.h openssl/crypto.h crypto.h memory.h) |
| 32 | |
| 33 | -dnl Checks for other files |
| 34 | - |
| 35 | dnl Checks for typedefs, structures, and compiler characteristics. |
| 36 | AC_C_CONST |
| 37 | AC_CHECK_TYPE(u_int, unsigned int) |