build: Fix test for libgdbm_compat when building statically
authorTheodore Ts'o <tytso@mit.edu>
Wed, 13 Aug 2014 01:20:54 +0000 (11:20 +1000)
committerDave Chinner <david@fromorbit.com>
Wed, 13 Aug 2014 01:20:54 +0000 (11:20 +1000)
commit2345aae984e1163b33a60ef80f1a5437d87427fc
treee15160b0ef62cbd8b1d1e929e83c3382d215f8cf
parent12022071971df086195011bddf0f6dba1cb2be48
build: Fix test for libgdbm_compat when building statically

When building statically, -lgdbm_compat will not automatically pull in
-lgdbm.  So this needs to be specified explicitly in AC_CHECK_LIB and
in the list of libraries passed to the linker.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
m4/package_gdbmdev.m4