Re: Porting pam to Solaris, HP-UX, others

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

 



On Mon, 11 Dec 2000, Andrew Morgan wrote:

>   1. file a bug report for each logical change request - include a patch
> with that bug report.

And another...

Please could things like "-D_POSIX_SOURCE" be relegated to only those
particular systems which need it.  They can be counter-productive to
portability. 

So here it is:
====================== snip =======================
*** configure.in-	Tue Dec 12 18:04:40 2000
--- configure.in	Wed Dec 13 09:23:32 2000
***************
*** 230,236 ****
  if test "$GCC" = yes; then
  ###
  ### Non-Linux needs attention on per-OS basis
! 	OS_CFLAGS="-ansi -D_POSIX_SOURCE -pedantic"
  	WARNINGS="$GCC_WARNINGS"
  	PIC="-fPIC"
  #can/should we use LD=gcc ???
--- 230,236 ----
  if test "$GCC" = yes; then
  ###
  ### Non-Linux needs attention on per-OS basis
! 	OS_CFLAGS="-ansi -pedantic"
  	WARNINGS="$GCC_WARNINGS"
  	PIC="-fPIC"
  #can/should we use LD=gcc ???
====================== snip =======================

It should be selectively included only when explicitly needed by the
particular quirks of a particular OS.  (That is left as an exercise to a
user of such an OS with such quirks!) 

-- 

:  David Lee                                I.T. Service          :
:  Systems Programmer                       Computer Centre       :
:                                           University of Durham  :
:  http://www.dur.ac.uk/t.d.lee/            South Road            :
:                                           Durham                :
:  Phone: +44 191 374 2882                  U.K.                  :





[Index of Archives]     [Fedora Users]     [Kernel]     [Red Hat Install]     [Linux for the blind]     [Gimp]

  Powered by Linux