Guillem Jover
14524b545d
build: Set default compiler variables from configure
...
This centralizes the setting so there's no duplication anymore,
makes sure the user supplied variables are never overridden, and
are only set when using gcc.
Reported-by: Samuli Suominen <ssuominen@gentoo.org>
2012-06-03 07:46:00 +02:00
Guillem Jover
752997462a
Base getprogname() on program_invocation_short_name presence instead of glibc
2012-05-29 04:51:04 +02:00
Guillem Jover
d5d9186937
Base fpurge() implementation on __fpurge presence instead of glibc
2012-05-29 04:51:04 +02:00
Guillem Jover
f8e8063079
Base fgetln() implementation on getline presence instead of glibc
2012-05-29 04:51:04 +02:00
Guillem Jover
943939d0e5
Add new closefrom() function
...
Code taken from sudo, man page from FreeBSD.
2012-05-29 04:36:23 +02:00
Guillem Jover
8723226040
Use system __progname variable in progname module if available
2012-05-29 04:36:23 +02:00
Guillem Jover
b5cc17d664
Use getexecname() if available for getprogname()
...
This function is present on Solaris.
2012-05-29 04:36:23 +02:00
Guillem Jover
23973e2221
build: Add a test suite infrastructure
2012-05-29 04:36:23 +02:00
Guillem Jover
dcaa93d984
build: Switch to autotools
2012-05-29 04:35:55 +02:00