Mercurial > hg > octave-jordi > gnulib-hg
diff m4/fwriting.m4 @ 8720:367787d55c9c
Implement freading and fwriting.
* lib/freading.c: New file.
* lib/freading.h: Likewise.
* m4/freading.m4: Likewise.
* modules/freading: Likewise.
* modules/freading-tests: Likewise.
* tests/test-freading.c: Likewise.
* lib/fwriting.c: New file.
* lib/fwriting.h: Likewise.
* m4/fwriting.m4: Likewise.
* modules/fwriting: Likewise.
* modules/fwriting-tests: Likewise.
* tests/test-fwriting.c: Likewise.
* MODULES.html.sh (File stream based Input/Output): Mention them.
author | Eric Blake <ebb9@byu.net> |
---|---|
date | Thu, 26 Apr 2007 13:16:50 +0000 |
parents | |
children | b5e42ef33b49 |
line wrap: on
line diff
new file mode 100644 --- /dev/null +++ b/m4/fwriting.m4 @@ -0,0 +1,13 @@ +# fwriting.m4 serial 1 +dnl Copyright (C) 2007 Free Software Foundation, Inc. +dnl This file is free software; the Free Software Foundation +dnl gives unlimited permission to copy and/or distribute it, +dnl with or without modifications, as long as this notice is preserved. + +AC_DEFUN([gl_FUNC_FWRITING], +[ + AC_CHECK_FUNCS_ONCE([__fwriting]) + if test $ac_cv_func___fwriting = no; then + AC_LIBOBJ([fwriting]) + fi +])