X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-psi;a=blobdiff_plain;f=m4%2Fposix%2Fndbm.m4;fp=m4%2Fposix%2Fndbm.m4;h=0000000000000000000000000000000000000000;hp=9cbd6484333a0edf8262c04f175d287c72dd609f;hb=4174d499fe105c6d8bd76d265e28e07f0db08b55;hpb=f090ccb51eb2ecc92a6cca8325c77d688cbbb61d diff --git a/m4/posix/ndbm.m4 b/m4/posix/ndbm.m4 deleted file mode 100644 index 9cbd648..0000000 --- a/m4/posix/ndbm.m4 +++ /dev/null @@ -1,27 +0,0 @@ -PSI_CHECK_NDBM() { - - PSI_STRUCT(datum, [ - void *dptr, - int dsize] - ) - - PSI_OPAQUE_TYPE(DBM) - - PSI_CONST(DBM_INSERT, int) - PSI_CONST(DBM_REPLACE, int) - - PSI_DECL(void dbm_clearerr, [(DBM *db)], [], [-lqdbm -lgdbm_compat]) - PSI_DECL(void dbm_close, [(DBM *db)], [], [-lqdbm -lgdbm_compat]) - PSI_DECL(int dbm_delete, [(DBM *db, datum key)], [], [-lqdbm -lgdbm_compat]) - PSI_DECL(int dbm_error, [(DBM *db)], [], [-lqdbm -lgdbm_compat]) - PSI_DECL(datum dbm_fetch, [(DBM *db, datum key)], [], [-lqdbm -lgdbm_compat]) - PSI_DECL(datum dbm_firstkey, [(DBM *db)], [], [-lqdbm -lgdbm_compat]) - PSI_DECL(datum dbm_nextkey, [(DBM *db)], [], [-lqdbm -lgdbm_compat]) - PSI_DECL(DBM *dbm_open, [(char *file, int open_flags, mode_t file_mode)], [], [-lqdbm -lgdbm_compat]) - PSI_DECL(int dbm_store, [(DBM *db, datum key, datum content, int store_mode)], [], [-lqdbm -lgdbm_compat]) - - # See http://www.gnu.org.ua/software/gdbm/manual/html_section/gdbm_19.html - if expr X"$LIBS" : "X.*-lgdbm_compat" >/dev/null; then - LIBS="-lgdbm $LIBS" - fi -} \ No newline at end of file