bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 4/7] New module `libposix'.


From: Gary V. Vaughan
Subject: [PATCH 4/7] New module `libposix'.
Date: Tue, 12 Oct 2010 23:08:39 +0700

Making libposix into a module makes life considerably easier.  Later in the
series, the libposix bootstrap script performs a sanity check to determine
whether this module's dependencies are still in sync with the output of
posix-modules.

The alternative is to feed the output of posix-modules to sed for editing
to work as a coherent module (see changelog for the reasons for the
differences), and then feed the entire edited list to gnulib-tool.  With
this patch, it's a simple matter of "gnulib-tool --import <options> libposix".

* modules/libposix: New module to facilitate an installable
library of posix modules.
(Makefile.am): Use lib_LTLIBRARIES to mark libposix.la as
installable.
(Depends-On): List all the modules found by `posix-modules',
except `strdup' which is spurious, and with the addition of
`alloca' to satisfy an otherwise undefined LTALLOCA definition;
and `progname' to provide a non-extern program_name symbol so that
compilation with `-no-undefined' symbols can work.
---
 ChangeLog        |   11 ++
 modules/libposix |  318 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 329 insertions(+), 0 deletions(-)
 create mode 100644 modules/libposix

diff --git a/ChangeLog b/ChangeLog
index 00905b1..1f43a79 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,16 @@
 2010-10-12  Gary V. Vaughan  <address@hidden>
 
+       New module `libposix'.
+       * modules/libposix: New module to facilitate an installable
+       library of posix modules.
+       (Makefile.am): Use lib_LTLIBRARIES to mark libposix.la as
+       installable.
+       (Depends-On): List all the modules found by `posix-modules',
+       except `strdup' which is spurious, and with the addition of
+       `alloca' to satisfy an otherwise undefined LTALLOCA definition;
+       and `progname' to provide a non-extern program_name symbol so that
+       compilation with `-no-undefined' symbols can work.
+
        iconv_open: reduce not-trivial repetition of file-list
        * modules/iconv_open (iconv_headers): New make macro to hold list of
        iconv header files.
diff --git a/modules/libposix b/modules/libposix
new file mode 100644
index 0000000..f43874d
--- /dev/null
+++ b/modules/libposix
@@ -0,0 +1,318 @@
+Description:
+Wrap up all the posix modules into an installable libposix.la.
+
+Files:
+
+Depends-on:
+_Exit
+accept
+acos
+acosl
+alloca
+alphasort
+arpa_inet
+asin
+asinl
+atan
+atan2
+atanl
+atexit
+atoll
+bind
+btowc
+calloc-posix
+canonicalize-lgpl
+cbrt
+ceil
+ceilf
+ceill
+chown
+close
+connect
+copysign
+cos
+cosh
+cosl
+ctype
+dirent
+dirfd
+dprintf
+dprintf-posix
+dup2
+duplocale
+environ
+erf
+erfc
+errno
+exp
+expl
+extensions
+fabs
+faccessat
+fchdir
+fclose
+fcntl
+fcntl-h
+fdopendir
+fflush
+float
+floor
+floorf
+floorl
+fmod
+fnmatch
+fnmatch-posix
+fopen
+fprintf-posix
+free
+freopen
+frexp
+frexpl
+fseek
+fseeko
+fsync
+ftell
+ftello
+futimens
+getaddrinfo
+getcwd
+getdelim
+getgroups
+gethostname
+getline
+getlogin
+getlogin_r
+getopt-posix
+getpeername
+getsockname
+getsockopt
+getsubopt
+gettimeofday
+glob
+grantpt
+hypot
+iconv
+iconv_open
+iconv_open-utf
+imaxabs
+imaxdiv
+inet_ntop
+inet_pton
+inttypes
+ioctl
+isblank
+isfinite
+isinf
+isnan
+j0
+j1
+jn
+langinfo
+lchown
+ldexp
+ldexpl
+lgamma
+link
+linkat
+listen
+locale
+log
+log10
+log1p
+logb
+logl
+lseek
+lstat
+malloc-posix
+math
+mbrlen
+mbrtowc
+mbsinit
+mbsnrtowcs
+mbsrtowcs
+memchr
+memcmp
+memcpy
+memmove
+memset
+mkdir
+mkdtemp
+mkfifo
+mkfifoat
+mknod
+mkstemp
+mktime
+modf
+nanosleep
+netdb
+netinet_in
+nextafter
+nl_langinfo
+open
+openat
+perror
+poll
+poll-h
+popen
+posix_spawn
+posix_spawn_file_actions_addclose
+posix_spawn_file_actions_adddup2
+posix_spawn_file_actions_addopen
+posix_spawn_file_actions_destroy
+posix_spawn_file_actions_init
+posix_spawnattr_destroy
+posix_spawnattr_getflags
+posix_spawnattr_getpgroup
+posix_spawnattr_getschedparam
+posix_spawnattr_getschedpolicy
+posix_spawnattr_getsigdefault
+posix_spawnattr_getsigmask
+posix_spawnattr_init
+posix_spawnattr_setflags
+posix_spawnattr_setpgroup
+posix_spawnattr_setschedparam
+posix_spawnattr_setschedpolicy
+posix_spawnattr_setsigdefault
+posix_spawnattr_setsigmask
+posix_spawnp
+pow
+pread
+printf-posix
+progname
+ptsname
+pwrite
+raise
+readlink
+readlinkat
+realloc-posix
+recv
+recvfrom
+regex
+remainder
+remove
+rename
+renameat
+rint
+rmdir
+round
+roundf
+roundl
+scandir
+sched
+search
+select
+send
+sendto
+setenv
+setsockopt
+shutdown
+sigaction
+signal
+signbit
+sigpipe
+sigprocmask
+sin
+sinh
+sinl
+sleep
+snprintf
+snprintf-posix
+socket
+spawn
+sprintf-posix
+sqrt
+sqrtl
+stat
+stdarg
+stdbool
+stddef
+stdint
+stdio
+stdlib
+stpcpy
+stpncpy
+strcase
+strcspn
+strdup-posix
+strerror
+string
+strncat
+strndup
+strnlen
+strpbrk
+strptime
+strsignal
+strstr
+strstr-simple
+strtod
+strtoimax
+strtok_r
+strtol
+strtoll
+strtoul
+strtoull
+strtoumax
+symlink
+symlinkat
+sys_select
+sys_socket
+sys_stat
+sys_time
+sys_times
+sys_utsname
+sys_wait
+system-posix
+tan
+tanh
+tanl
+tcgetsid
+termios
+time
+time_r
+times
+tmpfile
+trunc
+truncf
+truncl
+tsearch
+ttyname_r
+tzset
+uname
+unistd
+unlink
+unlockpt
+unsetenv
+utimensat
+vdprintf
+vdprintf-posix
+vfprintf-posix
+vprintf-posix
+vsnprintf
+vsnprintf-posix
+vsprintf-posix
+waitpid
+wchar
+wcrtomb
+wcsnrtombs
+wcsrtombs
+wctob
+wctype
+wcwidth
+write
+y0
+y1
+yn
+
+configure.ac:
+
+Makefile.am:
+lib_LTLIBRARIES = libposix.la
+
+Include:
+
+License:
+LGPL
+
+Maintainer:
+Bruce Korb
+Gary V. Vaughan
-- 
1.7.3




reply via email to

[Prev in Thread] Current Thread [Next in Thread]