Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f581db1

Browse files
committed
Remove test for getlogin_r(); the interface is not clearly defined, at
least on Solaris (sometimes it's Unix98, sometimes it conforms to an early draft). Properly generate config.h.in using autoheader instead of editing it manually; thanks, Guido!
1 parent 3bb3e57 commit f581db1

3 files changed

Lines changed: 120 additions & 125 deletions

File tree

config.h.in

Lines changed: 14 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,9 @@
215215
/* Define if you have the clock function. */
216216
#undef HAVE_CLOCK
217217

218+
/* Define if you have the confstr function. */
219+
#undef HAVE_CONFSTR
220+
218221
/* Define if you have the ctermid function. */
219222
#undef HAVE_CTERMID
220223

@@ -239,6 +242,9 @@
239242
/* Define if you have the fork function. */
240243
#undef HAVE_FORK
241244

245+
/* Define if you have the fpathconf function. */
246+
#undef HAVE_FPATHCONF
247+
242248
/* Define if you have the fseek64 function. */
243249
#undef HAVE_FSEEK64
244250

@@ -266,17 +272,14 @@
266272
/* Define if you have the getcwd function. */
267273
#undef HAVE_GETCWD
268274

269-
/* Define if you have the getpeername function. */
270-
#undef HAVE_GETPEERNAME
271-
272275
/* Define if you have the getgroups function. */
273276
#undef HAVE_GETGROUPS
274277

275278
/* Define if you have the getlogin function. */
276279
#undef HAVE_GETLOGIN
277280

278-
/* Define if you have the getlogin_r function. */
279-
#undef HAVE_GETLOGIN_R
281+
/* Define if you have the getpeername function. */
282+
#undef HAVE_GETPEERNAME
280283

281284
/* Define if you have the getpgrp function. */
282285
#undef HAVE_GETPGRP
@@ -293,18 +296,6 @@
293296
/* Define if you have the getwd function. */
294297
#undef HAVE_GETWD
295298

296-
/* Define if you have the fpathconf function. */
297-
#undef HAVE_FPATHCONF
298-
299-
/* Define if you have the pathconf function. */
300-
#undef HAVE_PATHCONF
301-
302-
/* Define if you have the confstr function. */
303-
#undef HAVE_CONFSTR
304-
305-
/* Define if you have the sysconf function. */
306-
#undef HAVE_SYSCONF
307-
308299
/* Define if you have the hypot function. */
309300
#undef HAVE_HYPOT
310301

@@ -329,6 +320,9 @@
329320
/* Define if you have the nice function. */
330321
#undef HAVE_NICE
331322

323+
/* Define if you have the pathconf function. */
324+
#undef HAVE_PATHCONF
325+
332326
/* Define if you have the pause function. */
333327
#undef HAVE_PAUSE
334328

@@ -395,6 +389,9 @@
395389
/* Define if you have the symlink function. */
396390
#undef HAVE_SYMLINK
397391

392+
/* Define if you have the sysconf function. */
393+
#undef HAVE_SYSCONF
394+
398395
/* Define if you have the tcgetpgrp function. */
399396
#undef HAVE_TCGETPGRP
400397

0 commit comments

Comments
 (0)