OpenWrt – Diff between revs 2 and 3
?pathlinks?
Rev 2 | Rev 3 | |||
---|---|---|---|---|
Line 12... | Line 12... | |||
12 | - [LZ4_LIBS="-llz4"] # If this fails, we will do another test next. |
12 | - [LZ4_LIBS="-llz4"] # If this fails, we will do another test next. |
|
13 | - # We also add set LZ4_LIBS otherwise the |
13 | - # We also add set LZ4_LIBS otherwise the |
|
14 | - # linker will not know about the lz4 library |
14 | - # linker will not know about the lz4 library |
|
15 | - ) |
15 | - ) |
|
16 | - fi |
16 | - fi |
|
17 | |
17 | |
|
18 | saved_CFLAGS="${CFLAGS}" |
18 | saved_CFLAGS="${CFLAGS}" |
|
19 | saved_LIBS="${LIBS}" |
19 | saved_LIBS="${LIBS}" |
|
20 | CFLAGS="${CFLAGS} ${LZ4_CFLAGS}" |
20 | CFLAGS="${CFLAGS} ${LZ4_CFLAGS}" |
|
21 | LIBS="${LIBS} ${LZ4_LIBS}" |
21 | LIBS="${LIBS} ${LZ4_LIBS}" |
|
22 | |
22 | |
|
23 | - # If pkgconfig check failed or LZ4_CFLAGS/LZ4_LIBS env vars |
23 | - # If pkgconfig check failed or LZ4_CFLAGS/LZ4_LIBS env vars |
|
24 | - # are used, check the version directly in the LZ4 include file |
24 | - # are used, check the version directly in the LZ4 include file |
|
25 | - if test "${have_lz4}" != "yes"; then |
25 | - if test "${have_lz4}" != "yes"; then |
|
26 | - AC_CHECK_HEADERS([lz4.h], |
26 | - AC_CHECK_HEADERS([lz4.h], |
|
27 | - [have_lz4h="yes"], |
27 | - [have_lz4h="yes"], |