--- configure.orig 2009-08-25 19:33:59.000000000 +0300 +++ configure 2009-10-15 17:47:07.000000000 +0300 @@ -7969,6 +7969,7 @@ hardcode_libdir_flag_spec='-R$libdir' hardcode_direct=yes hardcode_shlibpath_var=no + archive_cmds_need_lc=no ;; hpux9*) @@ -11675,7 +11676,7 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gdbm_gdbm_open" >&5 $as_echo "$ac_cv_lib_gdbm_gdbm_open" >&6; } if test "x$ac_cv_lib_gdbm_gdbm_open" = x""yes; then : - GDBM_LIBS="-lgdbm" + GDBM_LIBS="$LIBS -lgdbm" else as_fn_error "Cannot find GDBM library" "$LINENO" 5 fi