Changeset 1695
- Timestamp:
- 07/28/08 10:31:49 (5 months ago)
- Files:
-
- cherokee/trunk/ChangeLog (modified) (1 diff)
- cherokee/trunk/cget/main.c (modified) (1 diff)
- cherokee/trunk/cherokee/main.c (modified) (1 diff)
- cherokee/trunk/cherokee/main_guardian.c (modified) (1 diff)
- cherokee/trunk/cherokee/main_tweak.c (modified) (1 diff)
- cherokee/trunk/cherokee/util.c (modified) (1 diff)
- cherokee/trunk/configure.in (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
cherokee/trunk/ChangeLog
r1694 r1695 1 2008-07-28 Alvaro Lopez Ortega <alvaro@alobbs.com> 2 3 * configure.in, cherokee/util.c: Added a new entry to support IRIX 4 compilation. (Patch by BSDero <bsdero@gmail.com>) 5 6 * cherokee/main.c, cherokee/main_guardian.c, 7 cherokee/main_tweak.c, cget/main.c: Getopt inclusion has been 8 rewritten in order to easy compilation on system with no 9 getopt_long support. (Patch by BSDero <bsdero@gmail.com>) 10 1 11 2008-07-25 Alvaro Lopez Ortega <alvaro@alobbs.com> 2 12 cherokee/trunk/cget/main.c
r1491 r1695 41 41 #endif 42 42 43 #include <getopt.h> 43 #ifdef HAVE_GETOPT_LONG 44 # include <getopt.h> 45 #else 46 # include "getopt/getopt.h" 47 #endif 48 44 49 #include <stdio.h> 45 50 #include <stdlib.h> cherokee/trunk/cherokee/main.c
r1589 r1695 29 29 #include "info.h" 30 30 31 #ifdef HAVE_GETOPT_ H31 #ifdef HAVE_GETOPT_LONG 32 32 # include <getopt.h> 33 #else 34 # include "getopt/getopt.h" 33 35 #endif 34 36 cherokee/trunk/cherokee/main_guardian.c
r1693 r1695 31 31 #include "server.h" 32 32 33 #ifdef HAVE_GETOPT_ H33 #ifdef HAVE_GETOPT_LONG 34 34 # include <getopt.h> 35 #else 36 # include "getopt/getopt.h" 35 37 #endif 36 38 cherokee/trunk/cherokee/main_tweak.c
r1614 r1695 27 27 #endif 28 28 29 #ifdef HAVE_GETOPT_ H29 #ifdef HAVE_GETOPT_LONG 30 30 # include <getopt.h> 31 #else 32 # include "getopt/getopt.h" 31 33 #endif 32 34 cherokee/trunk/cherokee/util.c
r1614 r1695 676 676 677 677 678 # if def SOLARIS678 # if defined(SOLARIS) || defined(IRIX) 679 679 /* Solaris 10: 680 680 * struct hostent *gethostbyname_r cherokee/trunk/configure.in
r1692 r1695 110 110 ;; 111 111 *-*-hpux*) 112 libdl="-ldl" 113 ;; 114 *-*-irix6*) 115 AC_DEFINE(IRIX, 1, [It is SGI Irix]) 116 setenv_is_threadsafe="yes" 112 117 libdl="-ldl" 113 118 ;; … … 456 461 dnl Check for GNU getopt_long() 457 462 dnl 458 #AC_SEARCH_LIBS(getopt_long, [iberty gnugetopt])459 463 AC_CHECK_HEADERS(getopt.h) 460 464 AC_CHECK_FUNC(getopt_long, have_getopt_long="yes")