tmpfile: new module to create and keep track of temporary files.

* src/misc/tmpfile.cc, src/misc/tmpfile.hh: New files.
* src/misc/Makefile.am: Add them
* src/Makefile.am: Link with gnulib for mkstemp and mkstemps.
This commit is contained in:
Alexandre Duret-Lutz 2013-07-17 00:03:50 +02:00
parent ab3a4f54c2
commit e7d09f4fd0
4 changed files with 277 additions and 2 deletions

View file

@ -50,7 +50,8 @@ libspot_la_LIBADD = \
ta/libta.la \
tgbaalgos/libtgbaalgos.la \
tgba/libtgba.la \
tgbaparse/libtgbaparse.la
tgbaparse/libtgbaparse.la \
../lib/libgnu.la
# Dummy C++ source to cause C++ linking.
nodist_EXTRA_libspot_la_SOURCES = _.cc