Codebase list cciss-vol-status / 53bcbaa
Imported Upstream version 1.09 Christian Hofstaedtler 10 years ago
8 changed file(s) with 1482 addition(s) and 2889 deletion(s). Raw diff Collapse all Expand all
9595 * make it compile on freebsd
9696 * Fix a file descriptor leak
9797
98 Changes since 1.08:
99
100 2010/12/03 08:23:26
101 * Remove unused bogus variable declarations at the end of a function
102 that didn't compile on older gcc versions. (Thanks to Simon Matter)
103 * Print error information if sense bus parameters encounters a target
104 status.
105 * Remove bogus incorrect initialization of controller_lun_list (it's
106 done later down in the code correctly.)
107 * Make it compile with no warnings after "configure CFLAGS=-Wall"
108
109 Changes since 1.09:
110 * Clean up uninitialized variables detected by valgrind.
111 * Added some new smart array controllers to the list of known
112 controllers
113 * Replace the too specific is_hpsa() and is_hpahcisr() functions with
114 a more generic is_smart_array(). This was preventing -u option from
115 working with the hpsa driver.
116 * Remove inquiry_vendor_model_matches() function which is now no
117 longer used.
118 * Added -W and -Wall flags to gcc in linux_alternate_makefile.mk
119 and fixed up all the warnings that those found.
120 * Add -V (verbose) option which prints out extra information
121 about the controller (board ID, running firmware revision,
122 ROM firmware revision, and number of logical drives).
123 * Make the --verbose option print out more information about the
124 controllers and physical drives. For each controller, the board ID,
125 number of logical drives, currently running firmware revision and ROM
126 firmware revision are printed. For each physical drive, the location,
127 vendor, model, serial number, and firmware revision are printed.
128 * Added .gitignore and cvsignore files
129 * regenerated configure, aclocal.m4, and Makefile.in on RHEL6u2.
130 * Made -p shortcut for --persnickety actualy work.
0 # Makefile.in generated by automake 1.11.1 from Makefile.am.
0 # Makefile.in generated by automake 1.11 from Makefile.am.
11 # @configure_input@
22
33 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
136136 PACKAGE_NAME = @PACKAGE_NAME@
137137 PACKAGE_STRING = @PACKAGE_STRING@
138138 PACKAGE_TARNAME = @PACKAGE_TARNAME@
139 PACKAGE_URL = @PACKAGE_URL@
139140 PACKAGE_VERSION = @PACKAGE_VERSION@
140141 PATH_SEPARATOR = @PATH_SEPARATOR@
141142 SET_MAKE = @SET_MAKE@
437438 fi; \
438439 done
439440 -test -n "$(am__skip_mode_fix)" \
440 || find "$(distdir)" -type d ! -perm -755 \
441 -exec chmod u+rwx,go+rx {} \; -o \
441 || find "$(distdir)" -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
442442 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
443443 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
444444 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
482482 distcheck: dist
483483 case '$(DIST_ARCHIVES)' in \
484484 *.tar.gz*) \
485 GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
485 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
486486 *.tar.bz2*) \
487 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
487 bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
488488 *.tar.lzma*) \
489 lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
489 unlzma -c $(distdir).tar.lzma | $(am__untar) ;;\
490490 *.tar.xz*) \
491491 xz -dc $(distdir).tar.xz | $(am__untar) ;;\
492492 *.tar.Z*) \
493493 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
494494 *.shar.gz*) \
495 GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
495 GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
496496 *.zip*) \
497497 unzip $(distdir).zip ;;\
498498 esac
0 # generated automatically by aclocal 1.11.1 -*- Autoconf -*-
0 # generated automatically by aclocal 1.11 -*- Autoconf -*-
11
22 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
33 # 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
1212
1313 m4_ifndef([AC_AUTOCONF_VERSION],
1414 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
15 m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.63],,
16 [m4_warning([this file was generated for autoconf 2.63.
15 m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.64],,
16 [m4_warning([this file was generated for autoconf 2.64.
1717 You have another version of autoconf. It may work, but is not guaranteed to.
1818 If you have problems, you may need to regenerate the build system entirely.
1919 To do so, use the procedure documented by the package, typically `autoreconf'.])])
3333 [am__api_version='1.11'
3434 dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
3535 dnl require some minimum version. Point them to the right macro.
36 m4_if([$1], [1.11.1], [],
36 m4_if([$1], [1.11], [],
3737 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
3838 ])
3939
4949 # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
5050 # This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
5151 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
52 [AM_AUTOMAKE_VERSION([1.11.1])dnl
52 [AM_AUTOMAKE_VERSION([1.11])dnl
5353 m4_ifndef([AC_AUTOCONF_VERSION],
5454 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
5555 _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
0 .\" Copyright (C) 2006,2007,2012 Hewlett-Packard Development Company, L.P.
1 .\"
2 .\"
3 .\" Copyright 2006,2007,2012 Hewlett-Packard Development Company, L.P.
0 .\" Copyright (C) 2006,2007 Hewlett-Packard Development Company, L.P.
1 .\"
2 .\"
3 .\" Copyright 2006,2007 Hewlett-Packard Development Company, L.P.
44 .\"
55 .\" Author: Stephen M. Cameron
66 .\"
2020 .\" along with cciss_vol_status; if not, write to the Free Software
2121 .\" Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
2222 .\"
23 .TH CCISS_VOL_STATUS "8" "Aug 2012" "cciss_vol_status (ccissutils) " ""
23 .TH CCISS_VOL_STATUS "8" "Nov 2009" "cciss_vol_status (ccissutils) " ""
2424 .SH NAME
2525 cciss_vol_status \- show status of logical drives attached to HP Smartarray controllers
2626 .SH SYNOPSIS
7070 .TP
7171 \fB\-v, --version\fR
7272 Print the version number and exit.
73 .TP
74 \fB\-V, --verbose\fR
75 Print out more information about the controllers and physical drives.
76 For each controller, the board ID, number of logical drives, currently
77 running firmware revision and ROM firmware revision are printed. For
78 each physical drive, the location, vendor, model, serial number,
79 and firmware revision are printed.
8073 .TP
8174 \fB\-x, --exhaustive\fR
8275 Deprecated. Previously, it "exhaustively" searched for logical
171164 connector 2E box 1 bay 8 HP DF300BB6C3 3LM08AP700009713RXUT HPD3 S.M.A.R.T. predictive failure.
172165 /dev/cciss/c0d0: (Smart Array P800) Enclosure MSA60 (S/N: USP6340B3F) on Bus 2, Physical Port 2E status: OK.
173166
174
175
176 [root@localhost]# ./cciss_vol_status --verbose /dev/sg0
177 Controller: Smart Array P410
178 Board ID: 0x3243103c
179 Logical drives: 1
180 Running firmware: 5.70
181 ROM firmware: 5.70
182 /dev/sda: (Smart Array P410) RAID 0 Volume 0 status: OK.
183 Physical drives: 1
184 connector 2I box 1 bay 1 HP EG0146FAWHU 6SD1QH2X0000B117LGHR HPDE OK
185
186167 .DE
187168 .fi
188169 .SH DIAGNOSTICS
296277 0 - All configured logical drives queried have status of "OK."
297278 .TP
298279 1 - One or more configured logical drives queried have status other than "OK."
299 .SH BUGS
280 .SH AUTHOR
281 Written by Stephen M. Cameron
282 .SH "REPORTING BUGS"
300283 .P
301284 MSA500 G1 logical drive numbers may not be reported correctly.
302285 .P
303286 I've seen enclosure serial numbers contain garbage.
304287 .P
305 Some Smart Arrays support more than 128 physical drives on a single RAID
306 controller. cciss_vol_status does not.
307 .SH AUTHOR
308 Written by Stephen M. Cameron
309 .SH "REPORTING BUGS"
310 .P
311 Report bugs to <scameron@beardog.cce.hp.com>
288 Report bugs to <steve.cameron@hp.com>
312289 .SH COPYRIGHT
313290 Copyright \(co 2007 Hewlett-Packard Development Company, L.P.
314291 .br
4646 #else
4747 extern int errno; /* some systems #define this! */
4848 #endif /* HAVE_ERRNO_H */
49 #include <ctype.h>
5049
5150 #include <libgen.h>
5251 #include <sys/ioctl.h>
9089 int exhaustive_search = 0;
9190 int debug = 0;
9291 int check_smart_data = 0;
93 int verbose = 0;
9492
9593 #define MSA1000_ID 0xe0100e11
9694
136134 { 0xe0200e11, "HP MSA500 G2", 1, 0},
137135 { 0xe0300e11, "HP MSA20", 1, 0},
138136 { 0x3118103c, "HP B110i", 0, 1},
139 { 0x324A103C, "Smart Array P712m", 0, 1},
140 { 0x324B103C, "Smart Array P711m", 0, 1},
141 { 0x3350103C, "Smart Array P222", 0, 1},
142 { 0x3351103C, "Smart Array P420", 0, 1},
143 { 0x3352103C, "Smart Array P421", 0, 1},
144 { 0x3353103C, "Smart Array P822", 0, 1},
145 { 0x3354103C, "Smart Array P420i", 0, 1},
146 { 0x3355103C, "Smart Array P220i", 0, 1},
147 { 0x3356103C, "Smart Array P721m", 0, 1},
148
149137 #ifdef HAVE_SCSI_SG_H
150 { MSA1000_ID, "MSA1000", 1, 0},
138 { MSA1000_ID, "MSA1000", 1,},
151139 #else
152140 #warning Since <scsi/sg.h> is not around, MSA1000 support will not be compiled.
153141 #endif
154 { 0xFFFFFFFF, "Unknown Smart Array", 0, 1},
142 { 0xFFFFFFFF, "Unknown Smart Array", 0,},
155143 };
156144
157145 #define ARRAYSIZE(a) (sizeof((a)) / sizeof((a)[0]))
247235 struct identify_controller {
248236 unsigned char num_logical_drives;
249237 uint32_t signature;
250 unsigned char running_firm_rev[4];
238 uint32_t running_firm_rev;
251239 unsigned char rom_firm_rev[4];
252240 unsigned char hardware_rev;
253241 unsigned char reserved[4];
497485 fprintf(stderr, " (useful for brand new hardware.)\n");
498486 fprintf(stderr, " -s --smart Report S.M.A.R.T. predictive failures. \n");
499487 fprintf(stderr, " -v --version Print program version and exit.\n");
500 fprintf(stderr, " -V --verbose Print more info about controller and disks.\n");
501488 fprintf(stderr, " -C --copyright Print copyright notice first.\n");
502489 exit(-1);
503490 }
525512 *target = bmic_drive_number % drives_per_scsi_bus;
526513 }
527514
528 static void copy_drive_field(unsigned char *to, unsigned char *from, int limit)
529 {
530 int i;
531
532 for (i = 0; i < limit; i++) {
533 if (isprint(from[i]) || from[i] == '\0')
534 to[i] = from[i];
535 else
536 to[i] = '?';
537 }
538 to[limit] = '\0';
539 }
540
541515 static void format_phys_drive_location(char *location, int bus, int target,
542516 int ctlrtype, unsigned char *controller_lun, struct identify_physical_device *device_data)
543517 {
544518 char tail[300];
545 unsigned char model[sizeof(device_data->drive_model) + 1];
546 unsigned char serial_no[sizeof(device_data->drive_serial_no) + 1];
547 unsigned char fw_rev[sizeof(device_data->drive_fw_rev) + 1];
548519
549520 if (smartarray_id[ctlrtype].can_decode_drive_map && (device_data || !controller_lun))
550521 sprintf(location, " b%dt%d", bus, target);
551522 else
552523 sprintf(location, " ");
553524 if (device_data && controller_lun) {
554 copy_drive_field(model, device_data->drive_model, sizeof(device_data->drive_model));
555 copy_drive_field(serial_no, device_data->drive_serial_no, sizeof(device_data->drive_serial_no));
556 copy_drive_field(fw_rev, device_data->drive_fw_rev, sizeof(device_data->drive_fw_rev));
557525 sprintf(tail, " connector %c%c box %d bay %d %40s %40s %8s",
558526 device_data->phys_connector[0],
559527 device_data->phys_connector[1],
560528 device_data->phys_box_on_bus,
561529 device_data->phys_bay_in_box,
562 model, serial_no, fw_rev);
530 device_data->drive_model,
531 device_data->drive_serial_no,
532 device_data->drive_fw_rev);
563533 } else
564534 sprintf(tail, " connector ?? box ?? bay ?? %40s %40s %8s",
565535 "unknown-model",
575545 unsigned char or_val;
576546
577547 element = (bit / 8);
578
579 if (element >= bitstringlength) {
580 fprintf(stderr, "Bug detected at %s:%d\n", __FILE__, __LINE__);
581 abort();
582 }
583
584548 offset = bit % 8;
585549 or_val = (unsigned char) (1 << offset);
586550
913877 struct identify_logical_drive_status *vs, struct identify_controller *id,
914878 int tolerance_type, int certain)
915879 {
916 unsigned int spare_bit;
917 unsigned int i, j, failed_drive_count;
880 int spare_bit;
881 int i, j, failed_drive_count;
918882 char raid_level[100];
919883
920884 if (vs->status == 2) {/* This logical drive is not configured, so no status. */
1005969 return -1;
1006970 }
1007971
1008 static void print_bus_status(char *file, int ctlrtype,
972 static void print_bus_status(char *file, int ctlrtype, int controller_number,
1009973 int bus_number, sense_bus_param *bus_param)
1010974 {
1011975 int alarms;
12221186 return do_sg_io(fd, cdb, cdblen, buffer, size, direction);
12231187 }
12241188
1189 static int inquiry_vendor_model_matches(int fd, char *prod[])
1190 {
1191 int status;
1192 char std_inq[256];
1193 int i;
1194
1195 status = do_inquiry(fd, 0, (unsigned char *) std_inq, 255);
1196 if (status < 0)
1197 return 0;
1198 for (i = 0; prod[i] != NULL; i++) {
1199 if (strncmp(std_inq+8, prod[i], strlen(prod[i])) == 0)
1200 return 1;
1201 }
1202 return 0;
1203 }
1204
1205 static char *hpahcisr_prod[] = {
1206 "HP B110i",
1207 NULL,
1208 };
1209
1210 static char *hpsa_prod[] = {
1211 "HP P800",
1212 "HP P400",
1213 "HP P700M",
1214 "HP P212",
1215 "HP P410",
1216 "HP P410i",
1217 "HP P411",
1218 "HP P812",
1219 NULL,
1220 };
1221
1222 static inline int is_hpsa(int fd)
1223 {
1224 return inquiry_vendor_model_matches(fd, hpsa_prod);
1225 }
1226
1227 static inline int is_hpahcisr(int fd)
1228 {
1229 return inquiry_vendor_model_matches(fd, hpahcisr_prod);
1230 }
1231
12251232 static int is_msa1000(int fd)
12261233 {
12271234 int status;
12391246 return 0;
12401247 }
12411248
1242 static int is_smartarray_driver(int fd)
1243 {
1244 struct _cciss_pci_info_struct pciinfo;
1245
1246 /* If the CCISS_GETPCIINFO ioctl is known, we can presume
1247 * it's a Smart Array.
1248 *
1249 * This does rely on linux's ioctl numbers being unique
1250 * system wide. Should be the case on vmware and freebsd too.
1251 *
1252 * I memset the buffer to zero anyway just on the off chance that
1253 * this assumption turns out to be false in order to make the
1254 * program at least behave consistently by not passing
1255 * uninitialized stack data to an unknown ioctl.
1256 */
1257 memset(&pciinfo, 0, sizeof(pciinfo));
1258 return (ioctl(fd, CCISS_GETPCIINFO, &pciinfo) == 0);
1259 }
1260
12611249 #define MAX_CACHED_DEVICE_NODES 2048
12621250 static struct serial_number_map {
12631251 char *device_node;
12641252 char serial_no[16];
1265 } serial_no_map[MAX_CACHED_DEVICE_NODES];
1253 } serial_no_map[MAX_CACHED_DEVICE_NODES] = { { 0 } };
12661254 static int ncached_device_nodes = 0;
12671255
12681256 static char *lookup_cached_device_node(unsigned char *serial_no)
14451433
14461434 static int all_same(unsigned char *buf, unsigned int bufsize, unsigned char value)
14471435 {
1448 unsigned int i;
1449 int rc;
1436 int rc, i;
14501437
14511438 rc = 0;
14521439 for (i = 0; i < bufsize; i++) {
19491936 if (do_sense_bus_parameters(file, fd, controller_lun_list[i],
19501937 i, j, &bus_param) != 0)
19511938 continue;
1952 print_bus_status(file, ctlrtype, j, &bus_param);
1939 print_bus_status(file, ctlrtype, i, j, &bus_param);
19531940 }
19541941 }
19551942 }
21162103 struct identify_physical_device device_data;
21172104 char location[1000];
21182105 int ctlrtype;
2119 char status[100];
21202106
21212107 ctlrtype = lookup_controller(id->board_id);
21222108
21432129 return;
21442130 }
21452131
2146 find_bus_target(id, bmic_drive_number, &bus, &target);
2147 format_phys_drive_location(location, bus, target, ctlrtype,
2148 controller_lun, rc ? NULL : &device_data);
2149 sprintf(status, "OK");
21502132 /* Check S.M.A.R.T data */
2151
21522133 if (!(device_data.more_physical_drive_flags & 0x01)) /* supports S.M.A.R.T.? */
2153 goto print_data;
2134 return;
21542135 if (!(device_data.more_physical_drive_flags & 0x04)) /* S.M.A.R.T enabled? */
2155 goto print_data;
2136 return;
21562137 if (device_data.more_physical_drive_flags & 0x02) { /* S.M.A.R.T. predictive failure bit set? */
21572138 everything_hunky_dory = 0;
2158 sprintf(status, "S.M.A.R.T. predictive failure.");
2159 }
2160 print_data:
2161 if (strcmp(status, "OK") == 0 && !verbose)
2162 return;
2163 printf("%s %s\n", location, status);
2139 find_bus_target(id, bmic_drive_number, &bus, &target);
2140 format_phys_drive_location(location, bus, target, ctlrtype,
2141 controller_lun, rc ? NULL : &device_data);
2142 printf("%s S.M.A.R.T. predictive failure.\n", location);
2143 }
21642144 }
21652145
21662146 static void check_ctlr_physical_drives(char *file, int fd,
21682148 {
21692149 int i, rc;
21702150 struct identify_controller id;
2171 int physical_drive_count = 0;
21722151
21732152 rc = id_ctlr_fd(file, fd, controller_lun, &id);
21742153 if (rc != 0) {
21792158 everything_hunky_dory = 0;
21802159 return;
21812160 }
2182
2183 for (i = bmic_next_phy_disk(&id, -1); i != -1; i = bmic_next_phy_disk(&id, i))
2184 physical_drive_count++;
2185
2186 if (verbose)
2187 printf(" Physical drives: %d\n", physical_drive_count);
2188
21892161 /* For each physical disk i... */
21902162 for (i = bmic_next_phy_disk(&id, -1); i != -1; i = bmic_next_phy_disk(&id, i))
21912163 check_physical_drive(file, fd, controller_lun, &id, i);
21952167 {
21962168 int i;
21972169
2198 if (!check_smart_data && !verbose)
2170 if (!check_smart_data)
21992171 return;
22002172
22012173 for (i = 0; i < num_controllers; i++)
22022174 check_ctlr_physical_drives(file, fd, controller_lun_list[i]);
2203 }
2204
2205 static void print_controller_info(struct identify_controller *id, int ctlrtype)
2206 {
2207 if (!verbose)
2208 return;
2209
2210 printf("Controller: %s\n", smartarray_id[ctlrtype].board_name);
2211 printf(" Board ID: 0x%08x\n", id->board_id);
2212 printf(" Logical drives: %hu\n", id->usExtLogicalUnitCount);
2213 printf(" Running firmware: %c%c%c%c\n",
2214 id->running_firm_rev[0], id->running_firm_rev[1],
2215 id->running_firm_rev[2], id->running_firm_rev[3]);
2216 printf(" ROM firmware: %c%c%c%c\n",
2217 id->rom_firm_rev[0], id->rom_firm_rev[1],
2218 id->rom_firm_rev[2], id->rom_firm_rev[3]);
22192175 }
22202176
22212177 static int cciss_status(char *file)
22462202 if (is_msa1000(fd))
22472203 return msa1000_status(file, fd);
22482204
2249 if (!is_smartarray_driver(fd)) {
2205 if (!is_hpsa(fd) && !is_hpahcisr(fd)) {
22502206 fprintf(stderr, "%s: %s: Unknown SCSI device.\n", progname, file);
22512207 if (persnickety)
22522208 everything_hunky_dory = 0;
22752231 everything_hunky_dory = 0;
22762232 return -1;
22772233 }
2278
2279 print_controller_info(&id, ctlrtype);
22802234
22812235 /* Construct mapping of CISS LUN addresses to "the BMIC way" */
22822236 rc = init_cciss_to_bmic(file, fd);
23222276 { "exhaustive", 0, NULL, 'x'},
23232277 { "smart", 0, NULL, 's'},
23242278 { "copyright", 0, NULL, 'C'}, /* opposite of -q */
2325 { "verbose", 0, NULL, 'V'},
23262279 { NULL, 0, NULL, 0},
23272280 };
23282281
23322285
23332286 do {
23342287
2335 opt = getopt_long(argc, argv, "dpqusvVxC", longopts, NULL );
2288 opt = getopt_long(argc, argv, "dqusvxC", longopts, NULL );
23362289 switch (opt) {
23372290 case 'd': debug = 1;
23382291 continue;
23592312 case 'x' : exhaustive_search = 1;
23602313 /* exhaustive search doesn't really do anything anymore. */
23612314 continue;
2362 case 'V' : verbose = 1;
2363 continue;
23642315 case '?' :
23652316 case ':' :
23662317 usage(); /* usage calls exit(), so no fall thru */
7878 /* Define to the one symbol short name of this package. */
7979 #undef PACKAGE_TARNAME
8080
81 /* Define to the home page for this package. */
82 #undef PACKAGE_URL
83
8184 /* Define to the version of this package. */
8285 #undef PACKAGE_VERSION
8386
+1392
-2697
configure less more
00 #! /bin/sh
11 # Guess values for system-dependent variables and create Makefiles.
2 # Generated by GNU Autoconf 2.63 for cciss_vol_status 1.10.
2 # Generated by GNU Autoconf 2.64 for cciss_vol_status 1.09.
33 #
44 # Report bugs to <smcameron@users.sourceforge.net>.
55 #
66 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
8 # Foundation, Inc.
9 #
810 # This configure script is free software; the Free Software Foundation
911 # gives unlimited permission to copy, distribute and modify it.
10 ## --------------------- ##
11 ## M4sh Initialization. ##
12 ## --------------------- ##
12 ## -------------------- ##
13 ## M4sh Initialization. ##
14 ## -------------------- ##
1315
1416 # Be more Bourne compatible
1517 DUALCASE=1; export DUALCASE # for MKS sh
16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
1719 emulate sh
1820 NULLCMD=:
1921 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2123 alias -g '${1+"$@"}'='"$@"'
2224 setopt NO_GLOB_SUBST
2325 else
24 case `(set -o) 2>/dev/null` in
25 *posix*) set -o posix ;;
26 case `(set -o) 2>/dev/null` in #(
27 *posix*) :
28 set -o posix ;; #(
29 *) :
30 ;;
2631 esac
27
28 fi
29
30
31
32
33 # PATH needs CR
34 # Avoid depending upon Character Ranges.
35 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
36 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
37 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
38 as_cr_digits='0123456789'
39 as_cr_alnum=$as_cr_Letters$as_cr_digits
32 fi
33
4034
4135 as_nl='
4236 '
4539 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4640 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4741 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
48 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
42 # Prefer a ksh shell builtin over an external printf program on Solaris,
43 # but without wasting forks for bash or zsh.
44 if test -z "$BASH_VERSION$ZSH_VERSION" \
45 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo='print -r --'
47 as_echo_n='print -rn --'
48 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4949 as_echo='printf %s\n'
5050 as_echo_n='printf %s'
5151 else
5656 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5757 as_echo_n_body='eval
5858 arg=$1;
59 case $arg in
59 case $arg in #(
6060 *"$as_nl"*)
6161 expr "X$arg" : "X\\(.*\\)$as_nl";
6262 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
7979 }
8080 fi
8181
82 # Support unset when possible.
83 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
84 as_unset=unset
85 else
86 as_unset=false
87 fi
88
8982
9083 # IFS
9184 # We need space, tab and new line, in precisely that order. Quoting is
9588 IFS=" "" $as_nl"
9689
9790 # Find who we are. Look in the path if we contain no directory separator.
98 case $0 in
91 case $0 in #((
9992 *[\\/]* ) as_myself=$0 ;;
10093 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10194 for as_dir in $PATH
10295 do
10396 IFS=$as_save_IFS
10497 test -z "$as_dir" && as_dir=.
105 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 done
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
99 done
107100 IFS=$as_save_IFS
108101
109102 ;;
115108 fi
116109 if test ! -f "$as_myself"; then
117110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
118 { (exit 1); exit 1; }
119 fi
120
121 # Work around bugs in pre-3.0 UWIN ksh.
122 for as_var in ENV MAIL MAILPATH
123 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
111 exit 1
112 fi
113
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\${$as_var+set} = xset \
120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
124121 done
125122 PS1='$ '
126123 PS2='> '
132129 LANGUAGE=C
133130 export LANGUAGE
134131
135 # Required to use basename.
132 # CDPATH.
133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134
135 if test "x$CONFIG_SHELL" = x; then
136 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
137 emulate sh
138 NULLCMD=:
139 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
140 # is contrary to our usage. Disable this feature.
141 alias -g '\${1+\"\$@\"}'='\"\$@\"'
142 setopt NO_GLOB_SUBST
143 else
144 case \`(set -o) 2>/dev/null\` in #(
145 *posix*) :
146 set -o posix ;; #(
147 *) :
148 ;;
149 esac
150 fi
151 "
152 as_required="as_fn_return () { (exit \$1); }
153 as_fn_success () { as_fn_return 0; }
154 as_fn_failure () { as_fn_return 1; }
155 as_fn_ret_success () { return 0; }
156 as_fn_ret_failure () { return 1; }
157
158 exitcode=0
159 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
160 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
161 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
162 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
163 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
164
165 else
166 exitcode=1; echo positional parameters were not saved.
167 fi
168 test x\$exitcode = x0 || exit 1"
169 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
170 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
171 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
172 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
173 test \$(( 1 + 1 )) = 2 || exit 1"
174 if (eval "$as_required") 2>/dev/null; then :
175 as_have_required=yes
176 else
177 as_have_required=no
178 fi
179 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
180
181 else
182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
183 as_found=false
184 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
185 do
186 IFS=$as_save_IFS
187 test -z "$as_dir" && as_dir=.
188 as_found=:
189 case $as_dir in #(
190 /*)
191 for as_base in sh bash ksh sh5; do
192 # Try only shells that exist, to save several forks.
193 as_shell=$as_dir/$as_base
194 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
195 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
196 CONFIG_SHELL=$as_shell as_have_required=yes
197 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
198 break 2
199 fi
200 fi
201 done;;
202 esac
203 as_found=false
204 done
205 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
206 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
207 CONFIG_SHELL=$SHELL as_have_required=yes
208 fi; }
209 IFS=$as_save_IFS
210
211
212 if test "x$CONFIG_SHELL" != x; then :
213 # We cannot yet assume a decent shell, so we have to provide a
214 # neutralization value for shells without unset; and this also
215 # works around shells that cannot unset nonexistent variables.
216 BASH_ENV=/dev/null
217 ENV=/dev/null
218 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
219 export CONFIG_SHELL
220 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
221 fi
222
223 if test x$as_have_required = xno; then :
224 $as_echo "$0: This script requires a shell more modern than all"
225 $as_echo "$0: the shells that I found on your system."
226 if test x${ZSH_VERSION+set} = xset ; then
227 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
228 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
229 else
230 $as_echo "$0: Please tell bug-autoconf@gnu.org and
231 $0: smcameron@users.sourceforge.net about your system,
232 $0: including any error possibly output before this
233 $0: message. Then install a modern shell, or manually run
234 $0: the script under such a shell if you do have one."
235 fi
236 exit 1
237 fi
238 fi
239 fi
240 SHELL=${CONFIG_SHELL-/bin/sh}
241 export SHELL
242 # Unset more variables known to interfere with behavior of common tools.
243 CLICOLOR_FORCE= GREP_OPTIONS=
244 unset CLICOLOR_FORCE GREP_OPTIONS
245
246 ## --------------------- ##
247 ## M4sh Shell Functions. ##
248 ## --------------------- ##
249 # as_fn_unset VAR
250 # ---------------
251 # Portably unset VAR.
252 as_fn_unset ()
253 {
254 { eval $1=; unset $1;}
255 }
256 as_unset=as_fn_unset
257
258 # as_fn_set_status STATUS
259 # -----------------------
260 # Set $? to STATUS, without forking.
261 as_fn_set_status ()
262 {
263 return $1
264 } # as_fn_set_status
265
266 # as_fn_exit STATUS
267 # -----------------
268 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
269 as_fn_exit ()
270 {
271 set +e
272 as_fn_set_status $1
273 exit $1
274 } # as_fn_exit
275
276 # as_fn_mkdir_p
277 # -------------
278 # Create "$as_dir" as a directory, including parents if necessary.
279 as_fn_mkdir_p ()
280 {
281
282 case $as_dir in #(
283 -*) as_dir=./$as_dir;;
284 esac
285 test -d "$as_dir" || eval $as_mkdir_p || {
286 as_dirs=
287 while :; do
288 case $as_dir in #(
289 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
290 *) as_qdir=$as_dir;;
291 esac
292 as_dirs="'$as_qdir' $as_dirs"
293 as_dir=`$as_dirname -- "$as_dir" ||
294 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
295 X"$as_dir" : 'X\(//\)[^/]' \| \
296 X"$as_dir" : 'X\(//\)$' \| \
297 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
298 $as_echo X"$as_dir" |
299 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
300 s//\1/
301 q
302 }
303 /^X\(\/\/\)[^/].*/{
304 s//\1/
305 q
306 }
307 /^X\(\/\/\)$/{
308 s//\1/
309 q
310 }
311 /^X\(\/\).*/{
312 s//\1/
313 q
314 }
315 s/.*/./; q'`
316 test -d "$as_dir" && break
317 done
318 test -z "$as_dirs" || eval "mkdir $as_dirs"
319 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
320
321
322 } # as_fn_mkdir_p
323 # as_fn_append VAR VALUE
324 # ----------------------
325 # Append the text in VALUE to the end of the definition contained in VAR. Take
326 # advantage of any shell optimizations that allow amortized linear growth over
327 # repeated appends, instead of the typical quadratic growth present in naive
328 # implementations.
329 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
330 eval 'as_fn_append ()
331 {
332 eval $1+=\$2
333 }'
334 else
335 as_fn_append ()
336 {
337 eval $1=\$$1\$2
338 }
339 fi # as_fn_append
340
341 # as_fn_arith ARG...
342 # ------------------
343 # Perform arithmetic evaluation on the ARGs, and store the result in the
344 # global $as_val. Take advantage of shells that can avoid forks. The arguments
345 # must be portable across $(()) and expr.
346 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
347 eval 'as_fn_arith ()
348 {
349 as_val=$(( $* ))
350 }'
351 else
352 as_fn_arith ()
353 {
354 as_val=`expr "$@" || test $? -eq 1`
355 }
356 fi # as_fn_arith
357
358
359 # as_fn_error ERROR [LINENO LOG_FD]
360 # ---------------------------------
361 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
362 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
363 # script with status $?, using 1 if that was 0.
364 as_fn_error ()
365 {
366 as_status=$?; test $as_status -eq 0 && as_status=1
367 if test "$3"; then
368 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
369 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
370 fi
371 $as_echo "$as_me: error: $1" >&2
372 as_fn_exit $as_status
373 } # as_fn_error
374
136375 if expr a : '\(a\)' >/dev/null 2>&1 &&
137376 test "X`expr 00001 : '.*\(...\)'`" = X001; then
138377 as_expr=expr
146385 as_basename=false
147386 fi
148387
149
150 # Name of the executable.
388 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
389 as_dirname=dirname
390 else
391 as_dirname=false
392 fi
393
151394 as_me=`$as_basename -- "$0" ||
152395 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
153396 X"$0" : 'X\(//\)$' \| \
167410 }
168411 s/.*/./; q'`
169412
170 # CDPATH.
171 $as_unset CDPATH
172
173
174 if test "x$CONFIG_SHELL" = x; then
175 if (eval ":") 2>/dev/null; then
176 as_have_required=yes
177 else
178 as_have_required=no
179 fi
180
181 if test $as_have_required = yes && (eval ":
182 (as_func_return () {
183 (exit \$1)
184 }
185 as_func_success () {
186 as_func_return 0
187 }
188 as_func_failure () {
189 as_func_return 1
190 }
191 as_func_ret_success () {
192 return 0
193 }
194 as_func_ret_failure () {
195 return 1
196 }
197
198 exitcode=0
199 if as_func_success; then
200 :
201 else
202 exitcode=1
203 echo as_func_success failed.
204 fi
205
206 if as_func_failure; then
207 exitcode=1
208 echo as_func_failure succeeded.
209 fi
210
211 if as_func_ret_success; then
212 :
213 else
214 exitcode=1
215 echo as_func_ret_success failed.
216 fi
217
218 if as_func_ret_failure; then
219 exitcode=1
220 echo as_func_ret_failure succeeded.
221 fi
222
223 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
224 :
225 else
226 exitcode=1
227 echo positional parameters were not saved.
228 fi
229
230 test \$exitcode = 0) || { (exit 1); exit 1; }
231
232 (
233 as_lineno_1=\$LINENO
234 as_lineno_2=\$LINENO
235 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
236 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
237 ") 2> /dev/null; then
238 :
239 else
240 as_candidate_shells=
241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
242 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
243 do
244 IFS=$as_save_IFS
245 test -z "$as_dir" && as_dir=.
246 case $as_dir in
247 /*)
248 for as_base in sh bash ksh sh5; do
249 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
250 done;;
251 esac
252 done
253 IFS=$as_save_IFS
254
255
256 for as_shell in $as_candidate_shells $SHELL; do
257 # Try only shells that exist, to save several forks.
258 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
259 { ("$as_shell") 2> /dev/null <<\_ASEOF
260 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
261 emulate sh
262 NULLCMD=:
263 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
264 # is contrary to our usage. Disable this feature.
265 alias -g '${1+"$@"}'='"$@"'
266 setopt NO_GLOB_SUBST
267 else
268 case `(set -o) 2>/dev/null` in
269 *posix*) set -o posix ;;
270 esac
271
272 fi
273
274
275 :
276 _ASEOF
277 }; then
278 CONFIG_SHELL=$as_shell
279 as_have_required=yes
280 if { "$as_shell" 2> /dev/null <<\_ASEOF
281 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
282 emulate sh
283 NULLCMD=:
284 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
285 # is contrary to our usage. Disable this feature.
286 alias -g '${1+"$@"}'='"$@"'
287 setopt NO_GLOB_SUBST
288 else
289 case `(set -o) 2>/dev/null` in
290 *posix*) set -o posix ;;
291 esac
292
293 fi
294
295
296 :
297 (as_func_return () {
298 (exit $1)
299 }
300 as_func_success () {
301 as_func_return 0
302 }
303 as_func_failure () {
304 as_func_return 1
305 }
306 as_func_ret_success () {
307 return 0
308 }
309 as_func_ret_failure () {
310 return 1
311 }
312
313 exitcode=0
314 if as_func_success; then
315 :
316 else
317 exitcode=1
318 echo as_func_success failed.
319 fi
320
321 if as_func_failure; then
322 exitcode=1
323 echo as_func_failure succeeded.
324 fi
325
326 if as_func_ret_success; then
327 :
328 else
329 exitcode=1
330 echo as_func_ret_success failed.
331 fi
332
333 if as_func_ret_failure; then
334 exitcode=1
335 echo as_func_ret_failure succeeded.
336 fi
337
338 if ( set x; as_func_ret_success y && test x = "$1" ); then
339 :
340 else
341 exitcode=1
342 echo positional parameters were not saved.
343 fi
344
345 test $exitcode = 0) || { (exit 1); exit 1; }
346
347 (
348 as_lineno_1=$LINENO
349 as_lineno_2=$LINENO
350 test "x$as_lineno_1" != "x$as_lineno_2" &&
351 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
352
353 _ASEOF
354 }; then
355 break
356 fi
357
358 fi
359
360 done
361
362 if test "x$CONFIG_SHELL" != x; then
363 for as_var in BASH_ENV ENV
364 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
365 done
366 export CONFIG_SHELL
367 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
368 fi
369
370
371 if test $as_have_required = no; then
372 echo This script requires a shell more modern than all the
373 echo shells that I found on your system. Please install a
374 echo modern shell, or manually run the script under such a
375 echo shell if you do have one.
376 { (exit 1); exit 1; }
377 fi
378
379
380 fi
381
382 fi
383
384
385
386 (eval "as_func_return () {
387 (exit \$1)
388 }
389 as_func_success () {
390 as_func_return 0
391 }
392 as_func_failure () {
393 as_func_return 1
394 }
395 as_func_ret_success () {
396 return 0
397 }
398 as_func_ret_failure () {
399 return 1
400 }
401
402 exitcode=0
403 if as_func_success; then
404 :
405 else
406 exitcode=1
407 echo as_func_success failed.
408 fi
409
410 if as_func_failure; then
411 exitcode=1
412 echo as_func_failure succeeded.
413 fi
414
415 if as_func_ret_success; then
416 :
417 else
418 exitcode=1
419 echo as_func_ret_success failed.
420 fi
421
422 if as_func_ret_failure; then
423 exitcode=1
424 echo as_func_ret_failure succeeded.
425 fi
426
427 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
428 :
429 else
430 exitcode=1
431 echo positional parameters were not saved.
432 fi
433
434 test \$exitcode = 0") || {
435 echo No shell found that supports shell functions.
436 echo Please tell bug-autoconf@gnu.org about your system,
437 echo including any error possibly output before this message.
438 echo This can help us improve future autoconf versions.
439 echo Configuration will now proceed without shell functions.
440 }
441
442
443
444 as_lineno_1=$LINENO
445 as_lineno_2=$LINENO
446 test "x$as_lineno_1" != "x$as_lineno_2" &&
447 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
448
449 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
450 # uniformly replaced by the line number. The first 'sed' inserts a
451 # line-number line after each line using $LINENO; the second 'sed'
452 # does the real work. The second script uses 'N' to pair each
453 # line-number line with the line containing $LINENO, and appends
454 # trailing '-' during substitution so that $LINENO is not a special
455 # case at line end.
456 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
457 # scripts with optimization help from Paolo Bonzini. Blame Lee
458 # E. McMahon (1931-1989) for sed's syntax. :-)
413 # Avoid depending upon Character Ranges.
414 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
415 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
416 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
417 as_cr_digits='0123456789'
418 as_cr_alnum=$as_cr_Letters$as_cr_digits
419
420
421 as_lineno_1=$LINENO as_lineno_1a=$LINENO
422 as_lineno_2=$LINENO as_lineno_2a=$LINENO
423 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
424 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
425 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
459426 sed -n '
460427 p
461428 /[$]LINENO/=
472439 s/-\n.*//
473440 ' >$as_me.lineno &&
474441 chmod +x "$as_me.lineno" ||
475 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
476 { (exit 1); exit 1; }; }
442 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
477443
478444 # Don't try to exec as it changes $[0], causing all sort of problems
479445 # (the dirname of $[0] is not the place where we might find the
483449 exit
484450 }
485451
486
487 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
488 as_dirname=dirname
489 else
490 as_dirname=false
491 fi
492
493452 ECHO_C= ECHO_N= ECHO_T=
494 case `echo -n x` in
453 case `echo -n x` in #(((((
495454 -n*)
496 case `echo 'x\c'` in
455 case `echo 'xy\c'` in
497456 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
498 *) ECHO_C='\c';;
457 xy) ECHO_C='\c';;
458 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
459 ECHO_T=' ';;
499460 esac;;
500461 *)
501462 ECHO_N='-n';;
502463 esac
503 if expr a : '\(a\)' >/dev/null 2>&1 &&
504 test "X`expr 00001 : '.*\(...\)'`" = X001; then
505 as_expr=expr
506 else
507 as_expr=false
508 fi
509464
510465 rm -f conf$$ conf$$.exe conf$$.file
511466 if test -d conf$$.dir; then
535490 rmdir conf$$.dir 2>/dev/null
536491
537492 if mkdir -p . 2>/dev/null; then
538 as_mkdir_p=:
493 as_mkdir_p='mkdir -p "$as_dir"'
539494 else
540495 test -d ./-p && rmdir ./-p
541496 as_mkdir_p=false
554509 if test -d "$1"; then
555510 test -d "$1/.";
556511 else
557 case $1 in
512 case $1 in #(
558513 -*)set "./$1";;
559514 esac;
560 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
515 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
561516 ???[sx]*):;;*)false;;esac;fi
562517 '\'' sh
563518 '
569524
570525 # Sed expression to map a string onto a valid variable name.
571526 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
572
573527
574528
575529 exec 7<&0 </dev/null 6>&1
590544 subdirs=
591545 MFLAGS=
592546 MAKEFLAGS=
593 SHELL=${CONFIG_SHELL-/bin/sh}
594547
595548 # Identity of this package.
596549 PACKAGE_NAME='cciss_vol_status'
597550 PACKAGE_TARNAME='cciss_vol_status'
598 PACKAGE_VERSION='1.10'
599 PACKAGE_STRING='cciss_vol_status 1.10'
551 PACKAGE_VERSION='1.09'
552 PACKAGE_STRING='cciss_vol_status 1.09'
600553 PACKAGE_BUGREPORT='smcameron@users.sourceforge.net'
554 PACKAGE_URL=''
601555
602556 ac_unique_file="cciss_vol_status.c"
603557 # Factoring default headers for most tests.
712666 program_transform_name
713667 prefix
714668 exec_prefix
669 PACKAGE_URL
715670 PACKAGE_BUGREPORT
716671 PACKAGE_STRING
717672 PACKAGE_VERSION
841796 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
842797 # Reject names that are not valid shell variable names.
843798 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
844 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
845 { (exit 1); exit 1; }; }
799 as_fn_error "invalid feature name: $ac_useropt"
846800 ac_useropt_orig=$ac_useropt
847801 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
848802 case $ac_user_opts in
868822 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
869823 # Reject names that are not valid shell variable names.
870824 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
871 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
872 { (exit 1); exit 1; }; }
825 as_fn_error "invalid feature name: $ac_useropt"
873826 ac_useropt_orig=$ac_useropt
874827 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
875828 case $ac_user_opts in
10731026 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
10741027 # Reject names that are not valid shell variable names.
10751028 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1076 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1077 { (exit 1); exit 1; }; }
1029 as_fn_error "invalid package name: $ac_useropt"
10781030 ac_useropt_orig=$ac_useropt
10791031 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
10801032 case $ac_user_opts in
10901042 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
10911043 # Reject names that are not valid shell variable names.
10921044 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1093 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1094 { (exit 1); exit 1; }; }
1045 as_fn_error "invalid package name: $ac_useropt"
10951046 ac_useropt_orig=$ac_useropt
10961047 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
10971048 case $ac_user_opts in
11211072 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
11221073 x_libraries=$ac_optarg ;;
11231074
1124 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1125 Try \`$0 --help' for more information." >&2
1126 { (exit 1); exit 1; }; }
1075 -*) as_fn_error "unrecognized option: \`$ac_option'
1076 Try \`$0 --help' for more information."
11271077 ;;
11281078
11291079 *=*)
11301080 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
11311081 # Reject names that are not valid shell variable names.
1132 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1133 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1134 { (exit 1); exit 1; }; }
1082 case $ac_envvar in #(
1083 '' | [0-9]* | *[!_$as_cr_alnum]* )
1084 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1085 esac
11351086 eval $ac_envvar=\$ac_optarg
11361087 export $ac_envvar ;;
11371088
11481099
11491100 if test -n "$ac_prev"; then
11501101 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1151 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1152 { (exit 1); exit 1; }; }
1102 as_fn_error "missing argument to $ac_option"
11531103 fi
11541104
11551105 if test -n "$ac_unrecognized_opts"; then
11561106 case $enable_option_checking in
11571107 no) ;;
1158 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1159 { (exit 1); exit 1; }; } ;;
1108 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
11601109 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
11611110 esac
11621111 fi
11791128 [\\/$]* | ?:[\\/]* ) continue;;
11801129 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
11811130 esac
1182 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1183 { (exit 1); exit 1; }; }
1131 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
11841132 done
11851133
11861134 # There might be people who depend on the old broken behavior: `$host'
12101158 ac_pwd=`pwd` && test -n "$ac_pwd" &&
12111159 ac_ls_di=`ls -di .` &&
12121160 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1213 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1214 { (exit 1); exit 1; }; }
1161 as_fn_error "working directory cannot be determined"
12151162 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1216 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1217 { (exit 1); exit 1; }; }
1163 as_fn_error "pwd does not report name of working directory"
12181164
12191165
12201166 # Find the source files, if location was not specified.
12531199 fi
12541200 if test ! -r "$srcdir/$ac_unique_file"; then
12551201 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1256 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1257 { (exit 1); exit 1; }; }
1202 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
12581203 fi
12591204 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
12601205 ac_abs_confdir=`(
1261 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1262 { (exit 1); exit 1; }; }
1206 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
12631207 pwd)`
12641208 # When building in place, set srcdir=.
12651209 if test "$ac_abs_confdir" = "$ac_pwd"; then
12851229 # Omit some internal or obsolete options to make the list less imposing.
12861230 # This message is too long to be a string in the A/UX 3.1 sh.
12871231 cat <<_ACEOF
1288 \`configure' configures cciss_vol_status 1.10 to adapt to many kinds of systems.
1232 \`configure' configures cciss_vol_status 1.09 to adapt to many kinds of systems.
12891233
12901234 Usage: $0 [OPTION]... [VAR=VALUE]...
12911235
13521296
13531297 if test -n "$ac_init_help"; then
13541298 case $ac_init_help in
1355 short | recursive ) echo "Configuration of cciss_vol_status 1.10:";;
1299 short | recursive ) echo "Configuration of cciss_vol_status 1.09:";;
13561300 esac
13571301 cat <<\_ACEOF
13581302
14391383 test -n "$ac_init_help" && exit $ac_status
14401384 if $ac_init_version; then
14411385 cat <<\_ACEOF
1442 cciss_vol_status configure 1.10
1443 generated by GNU Autoconf 2.63
1444
1445 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1446 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1386 cciss_vol_status configure 1.09
1387 generated by GNU Autoconf 2.64
1388
1389 Copyright (C) 2009 Free Software Foundation, Inc.
14471390 This configure script is free software; the Free Software Foundation
14481391 gives unlimited permission to copy, distribute and modify it.
14491392 _ACEOF
14501393 exit
14511394 fi
1395
1396 ## ------------------------ ##
1397 ## Autoconf initialization. ##
1398 ## ------------------------ ##
1399
1400 # ac_fn_c_try_compile LINENO
1401 # --------------------------
1402 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1403 ac_fn_c_try_compile ()
1404 {
1405 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1406 rm -f conftest.$ac_objext
1407 if { { ac_try="$ac_compile"
1408 case "(($ac_try" in
1409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1410 *) ac_try_echo=$ac_try;;
1411 esac
1412 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1413 $as_echo "$ac_try_echo"; } >&5
1414 (eval "$ac_compile") 2>conftest.err
1415 ac_status=$?
1416 if test -s conftest.err; then
1417 grep -v '^ *+' conftest.err >conftest.er1
1418 cat conftest.er1 >&5
1419 mv -f conftest.er1 conftest.err
1420 fi
1421 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1422 test $ac_status = 0; } && {
1423 test -z "$ac_c_werror_flag" ||
1424 test ! -s conftest.err
1425 } && test -s conftest.$ac_objext; then :
1426 ac_retval=0
1427 else
1428 $as_echo "$as_me: failed program was:" >&5
1429 sed 's/^/| /' conftest.$ac_ext >&5
1430
1431 ac_retval=1
1432 fi
1433 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1434 return $ac_retval
1435
1436 } # ac_fn_c_try_compile
1437
1438 # ac_fn_c_try_cpp LINENO
1439 # ----------------------
1440 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1441 ac_fn_c_try_cpp ()
1442 {
1443 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1444 if { { ac_try="$ac_cpp conftest.$ac_ext"
1445 case "(($ac_try" in
1446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1447 *) ac_try_echo=$ac_try;;
1448 esac
1449 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1450 $as_echo "$ac_try_echo"; } >&5
1451 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1452 ac_status=$?
1453 if test -s conftest.err; then
1454 grep -v '^ *+' conftest.err >conftest.er1
1455 cat conftest.er1 >&5
1456 mv -f conftest.er1 conftest.err
1457 fi
1458 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1459 test $ac_status = 0; } >/dev/null && {
1460 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1461 test ! -s conftest.err
1462 }; then :
1463 ac_retval=0
1464 else
1465 $as_echo "$as_me: failed program was:" >&5
1466 sed 's/^/| /' conftest.$ac_ext >&5
1467
1468 ac_retval=1
1469 fi
1470 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1471 return $ac_retval
1472
1473 } # ac_fn_c_try_cpp
1474
1475 # ac_fn_c_try_run LINENO
1476 # ----------------------
1477 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1478 # that executables *can* be run.
1479 ac_fn_c_try_run ()
1480 {
1481 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1482 if { { ac_try="$ac_link"
1483 case "(($ac_try" in
1484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1485 *) ac_try_echo=$ac_try;;
1486 esac
1487 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1488 $as_echo "$ac_try_echo"; } >&5
1489 (eval "$ac_link") 2>&5
1490 ac_status=$?
1491 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1492 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1493 { { case "(($ac_try" in
1494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1495 *) ac_try_echo=$ac_try;;
1496 esac
1497 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1498 $as_echo "$ac_try_echo"; } >&5
1499 (eval "$ac_try") 2>&5
1500 ac_status=$?
1501 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1502 test $ac_status = 0; }; }; then :
1503 ac_retval=0
1504 else
1505 $as_echo "$as_me: program exited with status $ac_status" >&5
1506 $as_echo "$as_me: failed program was:" >&5
1507 sed 's/^/| /' conftest.$ac_ext >&5
1508
1509 ac_retval=$ac_status
1510 fi
1511 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1512 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1513 return $ac_retval
1514
1515 } # ac_fn_c_try_run
1516
1517 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1518 # -------------------------------------------------------
1519 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1520 # the include files in INCLUDES and setting the cache variable VAR
1521 # accordingly.
1522 ac_fn_c_check_header_mongrel ()
1523 {
1524 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1525 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1527 $as_echo_n "checking for $2... " >&6; }
1528 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1529 $as_echo_n "(cached) " >&6
1530 fi
1531 eval ac_res=\$$3
1532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1533 $as_echo "$ac_res" >&6; }
1534 else
1535 # Is the header compilable?
1536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1537 $as_echo_n "checking $2 usability... " >&6; }
1538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1539 /* end confdefs.h. */
1540 $4
1541 #include <$2>
1542 _ACEOF
1543 if ac_fn_c_try_compile "$LINENO"; then :
1544 ac_header_compiler=yes
1545 else
1546 ac_header_compiler=no
1547 fi
1548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1550 $as_echo "$ac_header_compiler" >&6; }
1551
1552 # Is the header present?
1553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1554 $as_echo_n "checking $2 presence... " >&6; }
1555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1556 /* end confdefs.h. */
1557 #include <$2>
1558 _ACEOF
1559 if ac_fn_c_try_cpp "$LINENO"; then :
1560 ac_header_preproc=yes
1561 else
1562 ac_header_preproc=no
1563 fi
1564 rm -f conftest.err conftest.$ac_ext
1565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1566 $as_echo "$ac_header_preproc" >&6; }
1567
1568 # So? What about this header?
1569 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1570 yes:no: )
1571 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1572 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1573 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1574 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1575 ;;
1576 no:yes:* )
1577 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1578 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1579 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1580 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1581 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1582 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1583 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1584 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1585 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1586 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1587 ( cat <<\_ASBOX
1588 ## ---------------------------------------------- ##
1589 ## Report this to smcameron@users.sourceforge.net ##
1590 ## ---------------------------------------------- ##
1591 _ASBOX
1592 ) | sed "s/^/$as_me: WARNING: /" >&2
1593 ;;
1594 esac
1595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1596 $as_echo_n "checking for $2... " >&6; }
1597 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1598 $as_echo_n "(cached) " >&6
1599 else
1600 eval "$3=\$ac_header_compiler"
1601 fi
1602 eval ac_res=\$$3
1603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1604 $as_echo "$ac_res" >&6; }
1605 fi
1606 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1607
1608 } # ac_fn_c_check_header_mongrel
1609
1610 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1611 # -------------------------------------------------------
1612 # Tests whether HEADER exists and can be compiled using the include files in
1613 # INCLUDES, setting the cache variable VAR accordingly.
1614 ac_fn_c_check_header_compile ()
1615 {
1616 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1618 $as_echo_n "checking for $2... " >&6; }
1619 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1620 $as_echo_n "(cached) " >&6
1621 else
1622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1623 /* end confdefs.h. */
1624 $4
1625 #include <$2>
1626 _ACEOF
1627 if ac_fn_c_try_compile "$LINENO"; then :
1628 eval "$3=yes"
1629 else
1630 eval "$3=no"
1631 fi
1632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1633 fi
1634 eval ac_res=\$$3
1635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1636 $as_echo "$ac_res" >&6; }
1637 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1638
1639 } # ac_fn_c_check_header_compile
1640
1641 # ac_fn_c_try_link LINENO
1642 # -----------------------
1643 # Try to link conftest.$ac_ext, and return whether this succeeded.
1644 ac_fn_c_try_link ()
1645 {
1646 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1647 rm -f conftest.$ac_objext conftest$ac_exeext
1648 if { { ac_try="$ac_link"
1649 case "(($ac_try" in
1650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1651 *) ac_try_echo=$ac_try;;
1652 esac
1653 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1654 $as_echo "$ac_try_echo"; } >&5
1655 (eval "$ac_link") 2>conftest.err
1656 ac_status=$?
1657 if test -s conftest.err; then
1658 grep -v '^ *+' conftest.err >conftest.er1
1659 cat conftest.er1 >&5
1660 mv -f conftest.er1 conftest.err
1661 fi
1662 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1663 test $ac_status = 0; } && {
1664 test -z "$ac_c_werror_flag" ||
1665 test ! -s conftest.err
1666 } && test -s conftest$ac_exeext && {
1667 test "$cross_compiling" = yes ||
1668 $as_test_x conftest$ac_exeext
1669 }; then :
1670 ac_retval=0
1671 else
1672 $as_echo "$as_me: failed program was:" >&5
1673 sed 's/^/| /' conftest.$ac_ext >&5
1674
1675 ac_retval=1
1676 fi
1677 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1678 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1679 # interfere with the next link command; also delete a directory that is
1680 # left behind by Apple's compiler. We do this before executing the actions.
1681 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1682 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1683 return $ac_retval
1684
1685 } # ac_fn_c_try_link
1686
1687 # ac_fn_c_check_func LINENO FUNC VAR
1688 # ----------------------------------
1689 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1690 ac_fn_c_check_func ()
1691 {
1692 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1694 $as_echo_n "checking for $2... " >&6; }
1695 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1696 $as_echo_n "(cached) " >&6
1697 else
1698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1699 /* end confdefs.h. */
1700 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1701 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1702 #define $2 innocuous_$2
1703
1704 /* System header to define __stub macros and hopefully few prototypes,
1705 which can conflict with char $2 (); below.
1706 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1707 <limits.h> exists even on freestanding compilers. */
1708
1709 #ifdef __STDC__
1710 # include <limits.h>
1711 #else
1712 # include <assert.h>
1713 #endif
1714
1715 #undef $2
1716
1717 /* Override any GCC internal prototype to avoid an error.
1718 Use char because int might match the return type of a GCC
1719 builtin and then its argument prototype would still apply. */
1720 #ifdef __cplusplus
1721 extern "C"
1722 #endif
1723 char $2 ();
1724 /* The GNU C library defines this for functions which it implements
1725 to always fail with ENOSYS. Some functions are actually named
1726 something starting with __ and the normal name is an alias. */
1727 #if defined __stub_$2 || defined __stub___$2
1728 choke me
1729 #endif
1730
1731 int
1732 main ()
1733 {
1734 return $2 ();
1735 ;
1736 return 0;
1737 }
1738 _ACEOF
1739 if ac_fn_c_try_link "$LINENO"; then :
1740 eval "$3=yes"
1741 else
1742 eval "$3=no"
1743 fi
1744 rm -f core conftest.err conftest.$ac_objext \
1745 conftest$ac_exeext conftest.$ac_ext
1746 fi
1747 eval ac_res=\$$3
1748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1749 $as_echo "$ac_res" >&6; }
1750 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1751
1752 } # ac_fn_c_check_func
14521753 cat >config.log <<_ACEOF
14531754 This file contains any messages produced by compilers while
14541755 running configure, to aid debugging if configure makes a mistake.
14551756
1456 It was created by cciss_vol_status $as_me 1.10, which was
1457 generated by GNU Autoconf 2.63. Invocation command line was
1757 It was created by cciss_vol_status $as_me 1.09, which was
1758 generated by GNU Autoconf 2.64. Invocation command line was
14581759
14591760 $ $0 $@
14601761
14901791 do
14911792 IFS=$as_save_IFS
14921793 test -z "$as_dir" && as_dir=.
1493 $as_echo "PATH: $as_dir"
1494 done
1794 $as_echo "PATH: $as_dir"
1795 done
14951796 IFS=$as_save_IFS
14961797
14971798 } >&5
15281829 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
15291830 esac
15301831 case $ac_pass in
1531 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1832 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
15321833 2)
1533 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1834 as_fn_append ac_configure_args1 " '$ac_arg'"
15341835 if test $ac_must_keep_next = true; then
15351836 ac_must_keep_next=false # Got value, back to normal.
15361837 else
15461847 -* ) ac_must_keep_next=true ;;
15471848 esac
15481849 fi
1549 ac_configure_args="$ac_configure_args '$ac_arg'"
1850 as_fn_append ac_configure_args " '$ac_arg'"
15501851 ;;
15511852 esac
15521853 done
15531854 done
1554 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1555 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1855 { ac_configure_args0=; unset ac_configure_args0;}
1856 { ac_configure_args1=; unset ac_configure_args1;}
15561857
15571858 # When interrupted or exit'd, cleanup temporary files, and complete
15581859 # config.log. We remove comments because anyway the quotes in there
15771878 case $ac_val in #(
15781879 *${as_nl}*)
15791880 case $ac_var in #(
1580 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1881 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15811882 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15821883 esac
15831884 case $ac_var in #(
15841885 _ | IFS | as_nl) ;; #(
15851886 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1586 *) $as_unset $ac_var ;;
1887 *) { eval $ac_var=; unset $ac_var;} ;;
15871888 esac ;;
15881889 esac
15891890 done
16551956 exit $exit_status
16561957 ' 0
16571958 for ac_signal in 1 2 13 15; do
1658 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1959 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
16591960 done
16601961 ac_signal=0
16611962
16621963 # confdefs.h avoids OS command line length limits that DEFS can exceed.
16631964 rm -f -r conftest* confdefs.h
16641965
1966 $as_echo "/* confdefs.h */" > confdefs.h
1967
16651968 # Predefined preprocessor variables.
16661969
16671970 cat >>confdefs.h <<_ACEOF
16681971 #define PACKAGE_NAME "$PACKAGE_NAME"
16691972 _ACEOF
16701973
1671
16721974 cat >>confdefs.h <<_ACEOF
16731975 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
16741976 _ACEOF
16751977
1676
16771978 cat >>confdefs.h <<_ACEOF
16781979 #define PACKAGE_VERSION "$PACKAGE_VERSION"
16791980 _ACEOF
16801981
1681
16821982 cat >>confdefs.h <<_ACEOF
16831983 #define PACKAGE_STRING "$PACKAGE_STRING"
16841984 _ACEOF
16851985
1686
16871986 cat >>confdefs.h <<_ACEOF
16881987 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1988 _ACEOF
1989
1990 cat >>confdefs.h <<_ACEOF
1991 #define PACKAGE_URL "$PACKAGE_URL"
16891992 _ACEOF
16901993
16911994
17062009 do
17072010 test "x$ac_site_file" = xNONE && continue
17082011 if test -r "$ac_site_file"; then
1709 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2012 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
17102013 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
17112014 sed 's/^/| /' "$ac_site_file" >&5
17122015 . "$ac_site_file"
17172020 # Some versions of bash will fail to source /dev/null (special
17182021 # files actually), so we avoid doing that.
17192022 if test -f "$cache_file"; then
1720 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
2023 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
17212024 $as_echo "$as_me: loading cache $cache_file" >&6;}
17222025 case $cache_file in
17232026 [\\/]* | ?:[\\/]* ) . "$cache_file";;
17252028 esac
17262029 fi
17272030 else
1728 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
2031 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
17292032 $as_echo "$as_me: creating cache $cache_file" >&6;}
17302033 >$cache_file
17312034 fi
17402043 eval ac_new_val=\$ac_env_${ac_var}_value
17412044 case $ac_old_set,$ac_new_set in
17422045 set,)
1743 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2046 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
17442047 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
17452048 ac_cache_corrupted=: ;;
17462049 ,set)
1747 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2050 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
17482051 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
17492052 ac_cache_corrupted=: ;;
17502053 ,);;
17542057 ac_old_val_w=`echo x $ac_old_val`
17552058 ac_new_val_w=`echo x $ac_new_val`
17562059 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1757 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2060 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
17582061 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
17592062 ac_cache_corrupted=:
17602063 else
1761 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2064 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
17622065 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
17632066 eval $ac_var=\$ac_old_val
17642067 fi
1765 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
2068 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
17662069 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1767 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
2070 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
17682071 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
17692072 fi;;
17702073 esac
17762079 esac
17772080 case " $ac_configure_args " in
17782081 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1779 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2082 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
17802083 esac
17812084 fi
17822085 done
17832086 if $ac_cache_corrupted; then
1784 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2087 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17852088 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1786 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2089 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
17872090 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1788 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1789 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1790 { (exit 1); exit 1; }; }
1791 fi
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
2091 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2092 fi
2093 ## -------------------- ##
2094 ## Main body of script. ##
2095 ## -------------------- ##
18162096
18172097 ac_ext=c
18182098 ac_cpp='$CPP $CPPFLAGS'
18292109
18302110 ac_aux_dir=
18312111 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1832 if test -f "$ac_dir/install-sh"; then
1833 ac_aux_dir=$ac_dir
1834 ac_install_sh="$ac_aux_dir/install-sh -c"
1835 break
1836 elif test -f "$ac_dir/install.sh"; then
1837 ac_aux_dir=$ac_dir
1838 ac_install_sh="$ac_aux_dir/install.sh -c"
1839 break
1840 elif test -f "$ac_dir/shtool"; then
1841 ac_aux_dir=$ac_dir
1842 ac_install_sh="$ac_aux_dir/shtool install -c"
1843 break
1844 fi
2112 for ac_t in install-sh install.sh shtool; do
2113 if test -f "$ac_dir/$ac_t"; then
2114 ac_aux_dir=$ac_dir
2115 ac_install_sh="$ac_aux_dir/$ac_t -c"
2116 break 2
2117 fi
2118 done
18452119 done
18462120 if test -z "$ac_aux_dir"; then
1847 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1848 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1849 { (exit 1); exit 1; }; }
2121 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
18502122 fi
18512123
18522124 # These three variables are undocumented and unsupported,
18722144 # OS/2's system install, which has a completely different semantic
18732145 # ./install, which can be erroneously created by make from ./install.sh.
18742146 # Reject install programs that cannot install multiple files.
1875 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
18762148 $as_echo_n "checking for a BSD-compatible install... " >&6; }
18772149 if test -z "$INSTALL"; then
1878 if test "${ac_cv_path_install+set}" = set; then
2150 if test "${ac_cv_path_install+set}" = set; then :
18792151 $as_echo_n "(cached) " >&6
18802152 else
18812153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18832155 do
18842156 IFS=$as_save_IFS
18852157 test -z "$as_dir" && as_dir=.
1886 # Account for people who put trailing slashes in PATH elements.
1887 case $as_dir/ in
1888 ./ | .// | /cC/* | \
2158 # Account for people who put trailing slashes in PATH elements.
2159 case $as_dir/ in #((
2160 ./ | .// | /[cC]/* | \
18892161 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1890 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2162 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
18912163 /usr/ucb/* ) ;;
18922164 *)
18932165 # OSF1 and SCO ODT 3.0 have their own names for install.
19242196 ;;
19252197 esac
19262198
1927 done
2199 done
19282200 IFS=$as_save_IFS
19292201
19302202 rm -rf conftest.one conftest.two conftest.dir
19402212 INSTALL=$ac_install_sh
19412213 fi
19422214 fi
1943 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
2215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
19442216 $as_echo "$INSTALL" >&6; }
19452217
19462218 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
19512223
19522224 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
19532225
1954 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
19552227 $as_echo_n "checking whether build environment is sane... " >&6; }
19562228 # Just in case
19572229 sleep 1
19622234 '
19632235 case `pwd` in
19642236 *[\\\"\#\$\&\'\`$am_lf]*)
1965 { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
1966 $as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
1967 { (exit 1); exit 1; }; };;
2237 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
19682238 esac
19692239 case $srcdir in
19702240 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
1971 { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
1972 $as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
1973 { (exit 1); exit 1; }; };;
2241 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
19742242 esac
19752243
19762244 # Do `set' in a subshell so we don't clobber the current shell's
19922260 # if, for instance, CONFIG_SHELL is bash and it inherits a
19932261 # broken ls alias from the environment. This has actually
19942262 # happened. Such a system could not be considered "sane".
1995 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1996 alias in your environment" >&5
1997 $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1998 alias in your environment" >&2;}
1999 { (exit 1); exit 1; }; }
2263 as_fn_error "ls -t appears to fail. Make sure there is not a broken
2264 alias in your environment" "$LINENO" 5
20002265 fi
20012266
20022267 test "$2" = conftest.file
20052270 # Ok.
20062271 :
20072272 else
2008 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2009 Check your system clock" >&5
2010 $as_echo "$as_me: error: newly created file is older than distributed files!
2011 Check your system clock" >&2;}
2012 { (exit 1); exit 1; }; }
2013 fi
2014 { $as_echo "$as_me:$LINENO: result: yes" >&5
2273 as_fn_error "newly created file is older than distributed files!
2274 Check your system clock" "$LINENO" 5
2275 fi
2276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20152277 $as_echo "yes" >&6; }
20162278 test "$program_prefix" != NONE &&
20172279 program_transform_name="s&^&$program_prefix&;$program_transform_name"
20392301 am_missing_run="$MISSING --run "
20402302 else
20412303 am_missing_run=
2042 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2304 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
20432305 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
20442306 fi
20452307
20602322 if test -n "$ac_tool_prefix"; then
20612323 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
20622324 set dummy ${ac_tool_prefix}strip; ac_word=$2
2063 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20642326 $as_echo_n "checking for $ac_word... " >&6; }
2065 if test "${ac_cv_prog_STRIP+set}" = set; then
2327 if test "${ac_cv_prog_STRIP+set}" = set; then :
20662328 $as_echo_n "(cached) " >&6
20672329 else
20682330 if test -n "$STRIP"; then
20732335 do
20742336 IFS=$as_save_IFS
20752337 test -z "$as_dir" && as_dir=.
2076 for ac_exec_ext in '' $ac_executable_extensions; do
2338 for ac_exec_ext in '' $ac_executable_extensions; do
20772339 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20782340 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2079 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2341 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20802342 break 2
20812343 fi
20822344 done
2083 done
2345 done
20842346 IFS=$as_save_IFS
20852347
20862348 fi
20872349 fi
20882350 STRIP=$ac_cv_prog_STRIP
20892351 if test -n "$STRIP"; then
2090 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
20912353 $as_echo "$STRIP" >&6; }
20922354 else
2093 { $as_echo "$as_me:$LINENO: result: no" >&5
2355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20942356 $as_echo "no" >&6; }
20952357 fi
20962358
21002362 ac_ct_STRIP=$STRIP
21012363 # Extract the first word of "strip", so it can be a program name with args.
21022364 set dummy strip; ac_word=$2
2103 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21042366 $as_echo_n "checking for $ac_word... " >&6; }
2105 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2367 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
21062368 $as_echo_n "(cached) " >&6
21072369 else
21082370 if test -n "$ac_ct_STRIP"; then
21132375 do
21142376 IFS=$as_save_IFS
21152377 test -z "$as_dir" && as_dir=.
2116 for ac_exec_ext in '' $ac_executable_extensions; do
2378 for ac_exec_ext in '' $ac_executable_extensions; do
21172379 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21182380 ac_cv_prog_ac_ct_STRIP="strip"
2119 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2381 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21202382 break 2
21212383 fi
21222384 done
2123 done
2385 done
21242386 IFS=$as_save_IFS
21252387
21262388 fi
21272389 fi
21282390 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
21292391 if test -n "$ac_ct_STRIP"; then
2130 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
21312393 $as_echo "$ac_ct_STRIP" >&6; }
21322394 else
2133 { $as_echo "$as_me:$LINENO: result: no" >&5
2395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21342396 $as_echo "no" >&6; }
21352397 fi
21362398
21392401 else
21402402 case $cross_compiling:$ac_tool_warned in
21412403 yes:)
2142 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2404 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
21432405 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
21442406 ac_tool_warned=yes ;;
21452407 esac
21522414 fi
21532415 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
21542416
2155 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
21562418 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
21572419 if test -z "$MKDIR_P"; then
2158 if test "${ac_cv_path_mkdir+set}" = set; then
2420 if test "${ac_cv_path_mkdir+set}" = set; then :
21592421 $as_echo_n "(cached) " >&6
21602422 else
21612423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21632425 do
21642426 IFS=$as_save_IFS
21652427 test -z "$as_dir" && as_dir=.
2166 for ac_prog in mkdir gmkdir; do
2428 for ac_prog in mkdir gmkdir; do
21672429 for ac_exec_ext in '' $ac_executable_extensions; do
21682430 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
21692431 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
21752437 esac
21762438 done
21772439 done
2178 done
2440 done
21792441 IFS=$as_save_IFS
21802442
21812443 fi
21912453 MKDIR_P="$ac_install_sh -d"
21922454 fi
21932455 fi
2194 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
21952457 $as_echo "$MKDIR_P" >&6; }
21962458
21972459 mkdir_p="$MKDIR_P"
22042466 do
22052467 # Extract the first word of "$ac_prog", so it can be a program name with args.
22062468 set dummy $ac_prog; ac_word=$2
2207 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22082470 $as_echo_n "checking for $ac_word... " >&6; }
2209 if test "${ac_cv_prog_AWK+set}" = set; then
2471 if test "${ac_cv_prog_AWK+set}" = set; then :
22102472 $as_echo_n "(cached) " >&6
22112473 else
22122474 if test -n "$AWK"; then
22172479 do
22182480 IFS=$as_save_IFS
22192481 test -z "$as_dir" && as_dir=.
2220 for ac_exec_ext in '' $ac_executable_extensions; do
2482 for ac_exec_ext in '' $ac_executable_extensions; do
22212483 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22222484 ac_cv_prog_AWK="$ac_prog"
2223 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2485 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22242486 break 2
22252487 fi
22262488 done
2227 done
2489 done
22282490 IFS=$as_save_IFS
22292491
22302492 fi
22312493 fi
22322494 AWK=$ac_cv_prog_AWK
22332495 if test -n "$AWK"; then
2234 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
22352497 $as_echo "$AWK" >&6; }
22362498 else
2237 { $as_echo "$as_me:$LINENO: result: no" >&5
2499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22382500 $as_echo "no" >&6; }
22392501 fi
22402502
22422504 test -n "$AWK" && break
22432505 done
22442506
2245 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
22462508 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
22472509 set x ${MAKE-make}
22482510 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2249 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2511 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
22502512 $as_echo_n "(cached) " >&6
22512513 else
22522514 cat >conftest.make <<\_ACEOF
22642526 rm -f conftest.make
22652527 fi
22662528 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2267 { $as_echo "$as_me:$LINENO: result: yes" >&5
2529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22682530 $as_echo "yes" >&6; }
22692531 SET_MAKE=
22702532 else
2271 { $as_echo "$as_me:$LINENO: result: no" >&5
2533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22722534 $as_echo "no" >&6; }
22732535 SET_MAKE="MAKE=${MAKE-make}"
22742536 fi
22882550 am__isrc=' -I$(srcdir)'
22892551 # test to see if srcdir already configured
22902552 if test -f $srcdir/config.status; then
2291 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2292 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2293 { (exit 1); exit 1; }; }
2553 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
22942554 fi
22952555 fi
22962556
23062566
23072567 # Define the identity of the package.
23082568 PACKAGE='cciss_vol_status'
2309 VERSION='1.10'
2569 VERSION='1.09'
23102570
23112571
23122572 cat >>confdefs.h <<_ACEOF
23552615 if test -n "$ac_tool_prefix"; then
23562616 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
23572617 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2358 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23592619 $as_echo_n "checking for $ac_word... " >&6; }
2360 if test "${ac_cv_prog_CC+set}" = set; then
2620 if test "${ac_cv_prog_CC+set}" = set; then :
23612621 $as_echo_n "(cached) " >&6
23622622 else
23632623 if test -n "$CC"; then
23682628 do
23692629 IFS=$as_save_IFS
23702630 test -z "$as_dir" && as_dir=.
2371 for ac_exec_ext in '' $ac_executable_extensions; do
2631 for ac_exec_ext in '' $ac_executable_extensions; do
23722632 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23732633 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2374 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2634 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23752635 break 2
23762636 fi
23772637 done
2378 done
2638 done
23792639 IFS=$as_save_IFS
23802640
23812641 fi
23822642 fi
23832643 CC=$ac_cv_prog_CC
23842644 if test -n "$CC"; then
2385 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
23862646 $as_echo "$CC" >&6; }
23872647 else
2388 { $as_echo "$as_me:$LINENO: result: no" >&5
2648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23892649 $as_echo "no" >&6; }
23902650 fi
23912651
23952655 ac_ct_CC=$CC
23962656 # Extract the first word of "gcc", so it can be a program name with args.
23972657 set dummy gcc; ac_word=$2
2398 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23992659 $as_echo_n "checking for $ac_word... " >&6; }
2400 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2660 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
24012661 $as_echo_n "(cached) " >&6
24022662 else
24032663 if test -n "$ac_ct_CC"; then
24082668 do
24092669 IFS=$as_save_IFS
24102670 test -z "$as_dir" && as_dir=.
2411 for ac_exec_ext in '' $ac_executable_extensions; do
2671 for ac_exec_ext in '' $ac_executable_extensions; do
24122672 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24132673 ac_cv_prog_ac_ct_CC="gcc"
2414 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2674 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24152675 break 2
24162676 fi
24172677 done
2418 done
2678 done
24192679 IFS=$as_save_IFS
24202680
24212681 fi
24222682 fi
24232683 ac_ct_CC=$ac_cv_prog_ac_ct_CC
24242684 if test -n "$ac_ct_CC"; then
2425 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
24262686 $as_echo "$ac_ct_CC" >&6; }
24272687 else
2428 { $as_echo "$as_me:$LINENO: result: no" >&5
2688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24292689 $as_echo "no" >&6; }
24302690 fi
24312691
24342694 else
24352695 case $cross_compiling:$ac_tool_warned in
24362696 yes:)
2437 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2697 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
24382698 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
24392699 ac_tool_warned=yes ;;
24402700 esac
24482708 if test -n "$ac_tool_prefix"; then
24492709 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
24502710 set dummy ${ac_tool_prefix}cc; ac_word=$2
2451 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24522712 $as_echo_n "checking for $ac_word... " >&6; }
2453 if test "${ac_cv_prog_CC+set}" = set; then
2713 if test "${ac_cv_prog_CC+set}" = set; then :
24542714 $as_echo_n "(cached) " >&6
24552715 else
24562716 if test -n "$CC"; then
24612721 do
24622722 IFS=$as_save_IFS
24632723 test -z "$as_dir" && as_dir=.
2464 for ac_exec_ext in '' $ac_executable_extensions; do
2724 for ac_exec_ext in '' $ac_executable_extensions; do
24652725 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24662726 ac_cv_prog_CC="${ac_tool_prefix}cc"
2467 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2727 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24682728 break 2
24692729 fi
24702730 done
2471 done
2731 done
24722732 IFS=$as_save_IFS
24732733
24742734 fi
24752735 fi
24762736 CC=$ac_cv_prog_CC
24772737 if test -n "$CC"; then
2478 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
24792739 $as_echo "$CC" >&6; }
24802740 else
2481 { $as_echo "$as_me:$LINENO: result: no" >&5
2741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24822742 $as_echo "no" >&6; }
24832743 fi
24842744
24882748 if test -z "$CC"; then
24892749 # Extract the first word of "cc", so it can be a program name with args.
24902750 set dummy cc; ac_word=$2
2491 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24922752 $as_echo_n "checking for $ac_word... " >&6; }
2493 if test "${ac_cv_prog_CC+set}" = set; then
2753 if test "${ac_cv_prog_CC+set}" = set; then :
24942754 $as_echo_n "(cached) " >&6
24952755 else
24962756 if test -n "$CC"; then
25022762 do
25032763 IFS=$as_save_IFS
25042764 test -z "$as_dir" && as_dir=.
2505 for ac_exec_ext in '' $ac_executable_extensions; do
2765 for ac_exec_ext in '' $ac_executable_extensions; do
25062766 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25072767 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
25082768 ac_prog_rejected=yes
25092769 continue
25102770 fi
25112771 ac_cv_prog_CC="cc"
2512 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2772 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25132773 break 2
25142774 fi
25152775 done
2516 done
2776 done
25172777 IFS=$as_save_IFS
25182778
25192779 if test $ac_prog_rejected = yes; then
25322792 fi
25332793 CC=$ac_cv_prog_CC
25342794 if test -n "$CC"; then
2535 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
25362796 $as_echo "$CC" >&6; }
25372797 else
2538 { $as_echo "$as_me:$LINENO: result: no" >&5
2798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25392799 $as_echo "no" >&6; }
25402800 fi
25412801
25472807 do
25482808 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
25492809 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2550 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25512811 $as_echo_n "checking for $ac_word... " >&6; }
2552 if test "${ac_cv_prog_CC+set}" = set; then
2812 if test "${ac_cv_prog_CC+set}" = set; then :
25532813 $as_echo_n "(cached) " >&6
25542814 else
25552815 if test -n "$CC"; then
25602820 do
25612821 IFS=$as_save_IFS
25622822 test -z "$as_dir" && as_dir=.
2563 for ac_exec_ext in '' $ac_executable_extensions; do
2823 for ac_exec_ext in '' $ac_executable_extensions; do
25642824 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25652825 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2566 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2826 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25672827 break 2
25682828 fi
25692829 done
2570 done
2830 done
25712831 IFS=$as_save_IFS
25722832
25732833 fi
25742834 fi
25752835 CC=$ac_cv_prog_CC
25762836 if test -n "$CC"; then
2577 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
25782838 $as_echo "$CC" >&6; }
25792839 else
2580 { $as_echo "$as_me:$LINENO: result: no" >&5
2840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25812841 $as_echo "no" >&6; }
25822842 fi
25832843
25912851 do
25922852 # Extract the first word of "$ac_prog", so it can be a program name with args.
25932853 set dummy $ac_prog; ac_word=$2
2594 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25952855 $as_echo_n "checking for $ac_word... " >&6; }
2596 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2856 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
25972857 $as_echo_n "(cached) " >&6
25982858 else
25992859 if test -n "$ac_ct_CC"; then
26042864 do
26052865 IFS=$as_save_IFS
26062866 test -z "$as_dir" && as_dir=.
2607 for ac_exec_ext in '' $ac_executable_extensions; do
2867 for ac_exec_ext in '' $ac_executable_extensions; do
26082868 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26092869 ac_cv_prog_ac_ct_CC="$ac_prog"
2610 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2870 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26112871 break 2
26122872 fi
26132873 done
2614 done
2874 done
26152875 IFS=$as_save_IFS
26162876
26172877 fi
26182878 fi
26192879 ac_ct_CC=$ac_cv_prog_ac_ct_CC
26202880 if test -n "$ac_ct_CC"; then
2621 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
26222882 $as_echo "$ac_ct_CC" >&6; }
26232883 else
2624 { $as_echo "$as_me:$LINENO: result: no" >&5
2884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26252885 $as_echo "no" >&6; }
26262886 fi
26272887
26342894 else
26352895 case $cross_compiling:$ac_tool_warned in
26362896 yes:)
2637 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2897 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
26382898 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
26392899 ac_tool_warned=yes ;;
26402900 esac
26452905 fi
26462906
26472907
2648 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2908 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26492909 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2650 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2651 See \`config.log' for more details." >&5
2652 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2653 See \`config.log' for more details." >&2;}
2654 { (exit 1); exit 1; }; }; }
2910 as_fn_error "no acceptable C compiler found in \$PATH
2911 See \`config.log' for more details." "$LINENO" 5; }
26552912
26562913 # Provide some information about the compiler.
2657 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2914 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
26582915 set X $ac_compile
26592916 ac_compiler=$2
2660 { (ac_try="$ac_compiler --version >&5"
2917 for ac_option in --version -v -V -qversion; do
2918 { { ac_try="$ac_compiler $ac_option >&5"
26612919 case "(($ac_try" in
26622920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26632921 *) ac_try_echo=$ac_try;;
26642922 esac
2665 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2666 $as_echo "$ac_try_echo") >&5
2667 (eval "$ac_compiler --version >&5") 2>&5
2923 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2924 $as_echo "$ac_try_echo"; } >&5
2925 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
26682926 ac_status=$?
2669 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2670 (exit $ac_status); }
2671 { (ac_try="$ac_compiler -v >&5"
2672 case "(($ac_try" in
2673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2674 *) ac_try_echo=$ac_try;;
2675 esac
2676 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2677 $as_echo "$ac_try_echo") >&5
2678 (eval "$ac_compiler -v >&5") 2>&5
2679 ac_status=$?
2680 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2681 (exit $ac_status); }
2682 { (ac_try="$ac_compiler -V >&5"
2683 case "(($ac_try" in
2684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2685 *) ac_try_echo=$ac_try;;
2686 esac
2687 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2688 $as_echo "$ac_try_echo") >&5
2689 (eval "$ac_compiler -V >&5") 2>&5
2690 ac_status=$?
2691 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2692 (exit $ac_status); }
2693
2694 cat >conftest.$ac_ext <<_ACEOF
2695 /* confdefs.h. */
2696 _ACEOF
2697 cat confdefs.h >>conftest.$ac_ext
2698 cat >>conftest.$ac_ext <<_ACEOF
2927 if test -s conftest.err; then
2928 sed '10a\
2929 ... rest of stderr output deleted ...
2930 10q' conftest.err >conftest.er1
2931 cat conftest.er1 >&5
2932 rm -f conftest.er1 conftest.err
2933 fi
2934 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2935 test $ac_status = 0; }
2936 done
2937
2938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26992939 /* end confdefs.h. */
2700
2940 #include <stdio.h>
27012941 int
27022942 main ()
27032943 {
2944 FILE *f = fopen ("conftest.out", "w");
2945 return ferror (f) || fclose (f) != 0;
27042946
27052947 ;
27062948 return 0;
27072949 }
27082950 _ACEOF
27092951 ac_clean_files_save=$ac_clean_files
2710 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2952 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
27112953 # Try to create an executable without -o first, disregard a.out.
27122954 # It will help us diagnose broken compilers, and finding out an intuition
27132955 # of exeext.
2714 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
27152957 $as_echo_n "checking for C compiler default output file name... " >&6; }
27162958 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
27172959
27282970 done
27292971 rm -f $ac_rmfiles
27302972
2731 if { (ac_try="$ac_link_default"
2973 if { { ac_try="$ac_link_default"
27322974 case "(($ac_try" in
27332975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27342976 *) ac_try_echo=$ac_try;;
27352977 esac
2736 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2737 $as_echo "$ac_try_echo") >&5
2978 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2979 $as_echo "$ac_try_echo"; } >&5
27382980 (eval "$ac_link_default") 2>&5
27392981 ac_status=$?
2740 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2741 (exit $ac_status); }; then
2982 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2983 test $ac_status = 0; }; then :
27422984 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
27432985 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
27442986 # in a Makefile. We should not override ac_cv_exeext if it was cached,
27552997 # certainly right.
27562998 break;;
27572999 *.* )
2758 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3000 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
27593001 then :; else
27603002 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
27613003 fi
27743016 else
27753017 ac_file=''
27763018 fi
2777
2778 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
3019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
27793020 $as_echo "$ac_file" >&6; }
2780 if test -z "$ac_file"; then
3021 if test -z "$ac_file"; then :
27813022 $as_echo "$as_me: failed program was:" >&5
27823023 sed 's/^/| /' conftest.$ac_ext >&5
27833024
2784 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3025 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
27853026 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2786 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2787 See \`config.log' for more details." >&5
2788 $as_echo "$as_me: error: C compiler cannot create executables
2789 See \`config.log' for more details." >&2;}
2790 { (exit 77); exit 77; }; }; }
2791 fi
2792
3027 { as_fn_set_status 77
3028 as_fn_error "C compiler cannot create executables
3029 See \`config.log' for more details." "$LINENO" 5; }; }
3030 fi
27933031 ac_exeext=$ac_cv_exeext
27943032
27953033 # Check that the compiler produces executables we can run. If not, either
27963034 # the compiler is broken, or we cross compile.
2797 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
27983036 $as_echo_n "checking whether the C compiler works... " >&6; }
2799 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
28003037 # If not cross compiling, check that we can run a simple program.
28013038 if test "$cross_compiling" != yes; then
28023039 if { ac_try='./$ac_file'
2803 { (case "(($ac_try" in
3040 { { case "(($ac_try" in
28043041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28053042 *) ac_try_echo=$ac_try;;
28063043 esac
2807 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2808 $as_echo "$ac_try_echo") >&5
3044 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3045 $as_echo "$ac_try_echo"; } >&5
28093046 (eval "$ac_try") 2>&5
28103047 ac_status=$?
2811 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2812 (exit $ac_status); }; }; then
3048 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3049 test $ac_status = 0; }; }; then
28133050 cross_compiling=no
28143051 else
28153052 if test "$cross_compiling" = maybe; then
28163053 cross_compiling=yes
28173054 else
2818 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3055 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28193056 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2820 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
3057 as_fn_error "cannot run C compiled programs.
28213058 If you meant to cross compile, use \`--host'.
2822 See \`config.log' for more details." >&5
2823 $as_echo "$as_me: error: cannot run C compiled programs.
2824 If you meant to cross compile, use \`--host'.
2825 See \`config.log' for more details." >&2;}
2826 { (exit 1); exit 1; }; }; }
3059 See \`config.log' for more details." "$LINENO" 5; }
28273060 fi
28283061 fi
28293062 fi
2830 { $as_echo "$as_me:$LINENO: result: yes" >&5
3063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28313064 $as_echo "yes" >&6; }
28323065
2833 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3066 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
28343067 ac_clean_files=$ac_clean_files_save
28353068 # Check that the compiler produces executables we can run. If not, either
28363069 # the compiler is broken, or we cross compile.
2837 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
28383071 $as_echo_n "checking whether we are cross compiling... " >&6; }
2839 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
28403073 $as_echo "$cross_compiling" >&6; }
28413074
2842 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
3075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
28433076 $as_echo_n "checking for suffix of executables... " >&6; }
2844 if { (ac_try="$ac_link"
3077 if { { ac_try="$ac_link"
28453078 case "(($ac_try" in
28463079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28473080 *) ac_try_echo=$ac_try;;
28483081 esac
2849 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2850 $as_echo "$ac_try_echo") >&5
3082 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3083 $as_echo "$ac_try_echo"; } >&5
28513084 (eval "$ac_link") 2>&5
28523085 ac_status=$?
2853 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2854 (exit $ac_status); }; then
3086 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3087 test $ac_status = 0; }; then :
28553088 # If both `conftest.exe' and `conftest' are `present' (well, observable)
28563089 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
28573090 # work properly (i.e., refer to `conftest.exe'), while it won't with
28663099 esac
28673100 done
28683101 else
2869 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3102 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28703103 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2871 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2872 See \`config.log' for more details." >&5
2873 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2874 See \`config.log' for more details." >&2;}
2875 { (exit 1); exit 1; }; }; }
2876 fi
2877
3104 as_fn_error "cannot compute suffix of executables: cannot compile and link
3105 See \`config.log' for more details." "$LINENO" 5; }
3106 fi
28783107 rm -f conftest$ac_cv_exeext
2879 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
28803109 $as_echo "$ac_cv_exeext" >&6; }
28813110
28823111 rm -f conftest.$ac_ext
28833112 EXEEXT=$ac_cv_exeext
28843113 ac_exeext=$EXEEXT
2885 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
3114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
28863115 $as_echo_n "checking for suffix of object files... " >&6; }
2887 if test "${ac_cv_objext+set}" = set; then
3116 if test "${ac_cv_objext+set}" = set; then :
28883117 $as_echo_n "(cached) " >&6
28893118 else
2890 cat >conftest.$ac_ext <<_ACEOF
2891 /* confdefs.h. */
2892 _ACEOF
2893 cat confdefs.h >>conftest.$ac_ext
2894 cat >>conftest.$ac_ext <<_ACEOF
3119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28953120 /* end confdefs.h. */
28963121
28973122 int
29033128 }
29043129 _ACEOF
29053130 rm -f conftest.o conftest.obj
2906 if { (ac_try="$ac_compile"
3131 if { { ac_try="$ac_compile"
29073132 case "(($ac_try" in
29083133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29093134 *) ac_try_echo=$ac_try;;
29103135 esac
2911 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2912 $as_echo "$ac_try_echo") >&5
3136 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3137 $as_echo "$ac_try_echo"; } >&5
29133138 (eval "$ac_compile") 2>&5
29143139 ac_status=$?
2915 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2916 (exit $ac_status); }; then
3140 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3141 test $ac_status = 0; }; then :
29173142 for ac_file in conftest.o conftest.obj conftest.*; do
29183143 test -f "$ac_file" || continue;
29193144 case $ac_file in
29263151 $as_echo "$as_me: failed program was:" >&5
29273152 sed 's/^/| /' conftest.$ac_ext >&5
29283153
2929 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3154 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
29303155 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2931 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2932 See \`config.log' for more details." >&5
2933 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2934 See \`config.log' for more details." >&2;}
2935 { (exit 1); exit 1; }; }; }
2936 fi
2937
3156 as_fn_error "cannot compute suffix of object files: cannot compile
3157 See \`config.log' for more details." "$LINENO" 5; }
3158 fi
29383159 rm -f conftest.$ac_cv_objext conftest.$ac_ext
29393160 fi
2940 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
29413162 $as_echo "$ac_cv_objext" >&6; }
29423163 OBJEXT=$ac_cv_objext
29433164 ac_objext=$OBJEXT
2944 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
29453166 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2946 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3167 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
29473168 $as_echo_n "(cached) " >&6
29483169 else
2949 cat >conftest.$ac_ext <<_ACEOF
2950 /* confdefs.h. */
2951 _ACEOF
2952 cat confdefs.h >>conftest.$ac_ext
2953 cat >>conftest.$ac_ext <<_ACEOF
3170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29543171 /* end confdefs.h. */
29553172
29563173 int
29643181 return 0;
29653182 }
29663183 _ACEOF
2967 rm -f conftest.$ac_objext
2968 if { (ac_try="$ac_compile"
2969 case "(($ac_try" in
2970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2971 *) ac_try_echo=$ac_try;;
2972 esac
2973 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2974 $as_echo "$ac_try_echo") >&5
2975 (eval "$ac_compile") 2>conftest.er1
2976 ac_status=$?
2977 grep -v '^ *+' conftest.er1 >conftest.err
2978 rm -f conftest.er1
2979 cat conftest.err >&5
2980 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2981 (exit $ac_status); } && {
2982 test -z "$ac_c_werror_flag" ||
2983 test ! -s conftest.err
2984 } && test -s conftest.$ac_objext; then
3184 if ac_fn_c_try_compile "$LINENO"; then :
29853185 ac_compiler_gnu=yes
29863186 else
2987 $as_echo "$as_me: failed program was:" >&5
2988 sed 's/^/| /' conftest.$ac_ext >&5
2989
2990 ac_compiler_gnu=no
2991 fi
2992
3187 ac_compiler_gnu=no
3188 fi
29933189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29943190 ac_cv_c_compiler_gnu=$ac_compiler_gnu
29953191
29963192 fi
2997 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
29983194 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
29993195 if test $ac_compiler_gnu = yes; then
30003196 GCC=yes
30033199 fi
30043200 ac_test_CFLAGS=${CFLAGS+set}
30053201 ac_save_CFLAGS=$CFLAGS
3006 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
30073203 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3008 if test "${ac_cv_prog_cc_g+set}" = set; then
3204 if test "${ac_cv_prog_cc_g+set}" = set; then :
30093205 $as_echo_n "(cached) " >&6
30103206 else
30113207 ac_save_c_werror_flag=$ac_c_werror_flag
30123208 ac_c_werror_flag=yes
30133209 ac_cv_prog_cc_g=no
30143210 CFLAGS="-g"
3015 cat >conftest.$ac_ext <<_ACEOF
3016 /* confdefs.h. */
3017 _ACEOF
3018 cat confdefs.h >>conftest.$ac_ext
3019 cat >>conftest.$ac_ext <<_ACEOF
3211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30203212 /* end confdefs.h. */
30213213
30223214 int
30273219 return 0;
30283220 }
30293221 _ACEOF
3030 rm -f conftest.$ac_objext
3031 if { (ac_try="$ac_compile"
3032 case "(($ac_try" in
3033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3034 *) ac_try_echo=$ac_try;;
3035 esac
3036 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3037 $as_echo "$ac_try_echo") >&5
3038 (eval "$ac_compile") 2>conftest.er1
3039 ac_status=$?
3040 grep -v '^ *+' conftest.er1 >conftest.err
3041 rm -f conftest.er1
3042 cat conftest.err >&5
3043 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3044 (exit $ac_status); } && {
3045 test -z "$ac_c_werror_flag" ||
3046 test ! -s conftest.err
3047 } && test -s conftest.$ac_objext; then
3222 if ac_fn_c_try_compile "$LINENO"; then :
30483223 ac_cv_prog_cc_g=yes
30493224 else
3050 $as_echo "$as_me: failed program was:" >&5
3051 sed 's/^/| /' conftest.$ac_ext >&5
3052
3053 CFLAGS=""
3054 cat >conftest.$ac_ext <<_ACEOF
3055 /* confdefs.h. */
3056 _ACEOF
3057 cat confdefs.h >>conftest.$ac_ext
3058 cat >>conftest.$ac_ext <<_ACEOF
3225 CFLAGS=""
3226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30593227 /* end confdefs.h. */
30603228
30613229 int
30663234 return 0;
30673235 }
30683236 _ACEOF
3069 rm -f conftest.$ac_objext
3070 if { (ac_try="$ac_compile"
3071 case "(($ac_try" in
3072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3073 *) ac_try_echo=$ac_try;;
3074 esac
3075 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3076 $as_echo "$ac_try_echo") >&5
3077 (eval "$ac_compile") 2>conftest.er1
3078 ac_status=$?
3079 grep -v '^ *+' conftest.er1 >conftest.err
3080 rm -f conftest.er1
3081 cat conftest.err >&5
3082 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3083 (exit $ac_status); } && {
3084 test -z "$ac_c_werror_flag" ||
3085 test ! -s conftest.err
3086 } && test -s conftest.$ac_objext; then
3087 :
3088 else
3089 $as_echo "$as_me: failed program was:" >&5
3090 sed 's/^/| /' conftest.$ac_ext >&5
3091
3092 ac_c_werror_flag=$ac_save_c_werror_flag
3237 if ac_fn_c_try_compile "$LINENO"; then :
3238
3239 else
3240 ac_c_werror_flag=$ac_save_c_werror_flag
30933241 CFLAGS="-g"
3094 cat >conftest.$ac_ext <<_ACEOF
3095 /* confdefs.h. */
3096 _ACEOF
3097 cat confdefs.h >>conftest.$ac_ext
3098 cat >>conftest.$ac_ext <<_ACEOF
3242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30993243 /* end confdefs.h. */
31003244
31013245 int
31063250 return 0;
31073251 }
31083252 _ACEOF
3109 rm -f conftest.$ac_objext
3110 if { (ac_try="$ac_compile"
3111 case "(($ac_try" in
3112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3113 *) ac_try_echo=$ac_try;;
3114 esac
3115 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3116 $as_echo "$ac_try_echo") >&5
3117 (eval "$ac_compile") 2>conftest.er1
3118 ac_status=$?
3119 grep -v '^ *+' conftest.er1 >conftest.err
3120 rm -f conftest.er1
3121 cat conftest.err >&5
3122 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3123 (exit $ac_status); } && {
3124 test -z "$ac_c_werror_flag" ||
3125 test ! -s conftest.err
3126 } && test -s conftest.$ac_objext; then
3253 if ac_fn_c_try_compile "$LINENO"; then :
31273254 ac_cv_prog_cc_g=yes
3128 else
3129 $as_echo "$as_me: failed program was:" >&5
3130 sed 's/^/| /' conftest.$ac_ext >&5
3131
3132
3133 fi
3134
3255 fi
31353256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31363257 fi
3137
31383258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31393259 fi
3140
31413260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31423261 ac_c_werror_flag=$ac_save_c_werror_flag
31433262 fi
3144 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
31453264 $as_echo "$ac_cv_prog_cc_g" >&6; }
31463265 if test "$ac_test_CFLAGS" = set; then
31473266 CFLAGS=$ac_save_CFLAGS
31583277 CFLAGS=
31593278 fi
31603279 fi
3161 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
31623281 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3163 if test "${ac_cv_prog_cc_c89+set}" = set; then
3282 if test "${ac_cv_prog_cc_c89+set}" = set; then :
31643283 $as_echo_n "(cached) " >&6
31653284 else
31663285 ac_cv_prog_cc_c89=no
31673286 ac_save_CC=$CC
3168 cat >conftest.$ac_ext <<_ACEOF
3169 /* confdefs.h. */
3170 _ACEOF
3171 cat confdefs.h >>conftest.$ac_ext
3172 cat >>conftest.$ac_ext <<_ACEOF
3287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31733288 /* end confdefs.h. */
31743289 #include <stdarg.h>
31753290 #include <stdio.h>
32263341 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
32273342 do
32283343 CC="$ac_save_CC $ac_arg"
3229 rm -f conftest.$ac_objext
3230 if { (ac_try="$ac_compile"
3231 case "(($ac_try" in
3232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3233 *) ac_try_echo=$ac_try;;
3234 esac
3235 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3236 $as_echo "$ac_try_echo") >&5
3237 (eval "$ac_compile") 2>conftest.er1
3238 ac_status=$?
3239 grep -v '^ *+' conftest.er1 >conftest.err
3240 rm -f conftest.er1
3241 cat conftest.err >&5
3242 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3243 (exit $ac_status); } && {
3244 test -z "$ac_c_werror_flag" ||
3245 test ! -s conftest.err
3246 } && test -s conftest.$ac_objext; then
3344 if ac_fn_c_try_compile "$LINENO"; then :
32473345 ac_cv_prog_cc_c89=$ac_arg
3248 else
3249 $as_echo "$as_me: failed program was:" >&5
3250 sed 's/^/| /' conftest.$ac_ext >&5
3251
3252
3253 fi
3254
3346 fi
32553347 rm -f core conftest.err conftest.$ac_objext
32563348 test "x$ac_cv_prog_cc_c89" != "xno" && break
32573349 done
32623354 # AC_CACHE_VAL
32633355 case "x$ac_cv_prog_cc_c89" in
32643356 x)
3265 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
32663358 $as_echo "none needed" >&6; } ;;
32673359 xno)
3268 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
32693361 $as_echo "unsupported" >&6; } ;;
32703362 *)
32713363 CC="$CC $ac_cv_prog_cc_c89"
3272 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
32733365 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
32743366 esac
3275
3367 if test "x$ac_cv_prog_cc_c89" != xno; then :
3368
3369 fi
32763370
32773371 ac_ext=c
32783372 ac_cpp='$CPP $CPPFLAGS'
32913385 .PHONY: am__doit
32923386 END
32933387 # If we don't find an include directive, just comment out the code.
3294 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
32953389 $as_echo_n "checking for style of include used by $am_make... " >&6; }
32963390 am__include="#"
32973391 am__quote=
33193413 fi
33203414
33213415
3322 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
3416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
33233417 $as_echo "$_am_result" >&6; }
33243418 rm -f confinc confmf
33253419
33263420 # Check whether --enable-dependency-tracking was given.
3327 if test "${enable_dependency_tracking+set}" = set; then
3421 if test "${enable_dependency_tracking+set}" = set; then :
33283422 enableval=$enable_dependency_tracking;
33293423 fi
33303424
33443438
33453439 depcc="$CC" am_compiler_list=
33463440
3347 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
33483442 $as_echo_n "checking dependency style of $depcc... " >&6; }
3349 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3443 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
33503444 $as_echo_n "(cached) " >&6
33513445 else
33523446 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
34543548 fi
34553549
34563550 fi
3457 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
34583552 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
34593553 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
34603554
34793573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34803574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34813575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3482 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
34833577 $as_echo_n "checking how to run the C preprocessor... " >&6; }
34843578 # On Suns, sometimes $CPP names a directory.
34853579 if test -n "$CPP" && test -d "$CPP"; then
34863580 CPP=
34873581 fi
34883582 if test -z "$CPP"; then
3489 if test "${ac_cv_prog_CPP+set}" = set; then
3583 if test "${ac_cv_prog_CPP+set}" = set; then :
34903584 $as_echo_n "(cached) " >&6
34913585 else
34923586 # Double quotes because CPP needs to be expanded
35013595 # <limits.h> exists even on freestanding compilers.
35023596 # On the NeXT, cc -E runs the code through the compiler's parser,
35033597 # not just through cpp. "Syntax error" is here to catch this case.
3504 cat >conftest.$ac_ext <<_ACEOF
3505 /* confdefs.h. */
3506 _ACEOF
3507 cat confdefs.h >>conftest.$ac_ext
3508 cat >>conftest.$ac_ext <<_ACEOF
3598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35093599 /* end confdefs.h. */
35103600 #ifdef __STDC__
35113601 # include <limits.h>
35143604 #endif
35153605 Syntax error
35163606 _ACEOF
3517 if { (ac_try="$ac_cpp conftest.$ac_ext"
3518 case "(($ac_try" in
3519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3520 *) ac_try_echo=$ac_try;;
3521 esac
3522 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3523 $as_echo "$ac_try_echo") >&5
3524 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3525 ac_status=$?
3526 grep -v '^ *+' conftest.er1 >conftest.err
3527 rm -f conftest.er1
3528 cat conftest.err >&5
3529 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3530 (exit $ac_status); } >/dev/null && {
3531 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3532 test ! -s conftest.err
3533 }; then
3534 :
3535 else
3536 $as_echo "$as_me: failed program was:" >&5
3537 sed 's/^/| /' conftest.$ac_ext >&5
3538
3607 if ac_fn_c_try_cpp "$LINENO"; then :
3608
3609 else
35393610 # Broken: fails on valid input.
35403611 continue
35413612 fi
3542
35433613 rm -f conftest.err conftest.$ac_ext
35443614
35453615 # OK, works on sane cases. Now check whether nonexistent headers
35463616 # can be detected and how.
3547 cat >conftest.$ac_ext <<_ACEOF
3548 /* confdefs.h. */
3549 _ACEOF
3550 cat confdefs.h >>conftest.$ac_ext
3551 cat >>conftest.$ac_ext <<_ACEOF
3617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35523618 /* end confdefs.h. */
35533619 #include <ac_nonexistent.h>
35543620 _ACEOF
3555 if { (ac_try="$ac_cpp conftest.$ac_ext"
3556 case "(($ac_try" in
3557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3558 *) ac_try_echo=$ac_try;;
3559 esac
3560 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3561 $as_echo "$ac_try_echo") >&5
3562 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3563 ac_status=$?
3564 grep -v '^ *+' conftest.er1 >conftest.err
3565 rm -f conftest.er1
3566 cat conftest.err >&5
3567 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3568 (exit $ac_status); } >/dev/null && {
3569 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3570 test ! -s conftest.err
3571 }; then
3621 if ac_fn_c_try_cpp "$LINENO"; then :
35723622 # Broken: success on invalid input.
35733623 continue
35743624 else
3575 $as_echo "$as_me: failed program was:" >&5
3576 sed 's/^/| /' conftest.$ac_ext >&5
3577
35783625 # Passes both tests.
35793626 ac_preproc_ok=:
35803627 break
35813628 fi
3582
35833629 rm -f conftest.err conftest.$ac_ext
35843630
35853631 done
35863632 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
35873633 rm -f conftest.err conftest.$ac_ext
3588 if $ac_preproc_ok; then
3634 if $ac_preproc_ok; then :
35893635 break
35903636 fi
35913637
35973643 else
35983644 ac_cv_prog_CPP=$CPP
35993645 fi
3600 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
3646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
36013647 $as_echo "$CPP" >&6; }
36023648 ac_preproc_ok=false
36033649 for ac_c_preproc_warn_flag in '' yes
36083654 # <limits.h> exists even on freestanding compilers.
36093655 # On the NeXT, cc -E runs the code through the compiler's parser,
36103656 # not just through cpp. "Syntax error" is here to catch this case.
3611 cat >conftest.$ac_ext <<_ACEOF
3612 /* confdefs.h. */
3613 _ACEOF
3614 cat confdefs.h >>conftest.$ac_ext
3615 cat >>conftest.$ac_ext <<_ACEOF
3657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36163658 /* end confdefs.h. */
36173659 #ifdef __STDC__
36183660 # include <limits.h>
36213663 #endif
36223664 Syntax error
36233665 _ACEOF
3624 if { (ac_try="$ac_cpp conftest.$ac_ext"
3625 case "(($ac_try" in
3626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3627 *) ac_try_echo=$ac_try;;
3628 esac
3629 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3630 $as_echo "$ac_try_echo") >&5
3631 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3632 ac_status=$?
3633 grep -v '^ *+' conftest.er1 >conftest.err
3634 rm -f conftest.er1
3635 cat conftest.err >&5
3636 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3637 (exit $ac_status); } >/dev/null && {
3638 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3639 test ! -s conftest.err
3640 }; then
3641 :
3642 else
3643 $as_echo "$as_me: failed program was:" >&5
3644 sed 's/^/| /' conftest.$ac_ext >&5
3645
3666 if ac_fn_c_try_cpp "$LINENO"; then :
3667
3668 else
36463669 # Broken: fails on valid input.
36473670 continue
36483671 fi
3649
36503672 rm -f conftest.err conftest.$ac_ext
36513673
36523674 # OK, works on sane cases. Now check whether nonexistent headers
36533675 # can be detected and how.
3654 cat >conftest.$ac_ext <<_ACEOF
3655 /* confdefs.h. */
3656 _ACEOF
3657 cat confdefs.h >>conftest.$ac_ext
3658 cat >>conftest.$ac_ext <<_ACEOF
3676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36593677 /* end confdefs.h. */
36603678 #include <ac_nonexistent.h>
36613679 _ACEOF
3662 if { (ac_try="$ac_cpp conftest.$ac_ext"
3663 case "(($ac_try" in
3664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3665 *) ac_try_echo=$ac_try;;
3666 esac
3667 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3668 $as_echo "$ac_try_echo") >&5
3669 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3670 ac_status=$?
3671 grep -v '^ *+' conftest.er1 >conftest.err
3672 rm -f conftest.er1
3673 cat conftest.err >&5
3674 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3675 (exit $ac_status); } >/dev/null && {
3676 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3677 test ! -s conftest.err
3678 }; then
3680 if ac_fn_c_try_cpp "$LINENO"; then :
36793681 # Broken: success on invalid input.
36803682 continue
36813683 else
3682 $as_echo "$as_me: failed program was:" >&5
3683 sed 's/^/| /' conftest.$ac_ext >&5
3684
36853684 # Passes both tests.
36863685 ac_preproc_ok=:
36873686 break
36883687 fi
3689
36903688 rm -f conftest.err conftest.$ac_ext
36913689
36923690 done
36933691 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
36943692 rm -f conftest.err conftest.$ac_ext
3695 if $ac_preproc_ok; then
3696 :
3697 else
3698 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3693 if $ac_preproc_ok; then :
3694
3695 else
3696 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
36993697 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3700 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3701 See \`config.log' for more details." >&5
3702 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3703 See \`config.log' for more details." >&2;}
3704 { (exit 1); exit 1; }; }; }
3698 as_fn_error "C preprocessor \"$CPP\" fails sanity check
3699 See \`config.log' for more details." "$LINENO" 5; }
37053700 fi
37063701
37073702 ac_ext=c
37113706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37123707
37133708
3714 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
37153710 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3716 if test "${ac_cv_path_GREP+set}" = set; then
3711 if test "${ac_cv_path_GREP+set}" = set; then :
37173712 $as_echo_n "(cached) " >&6
37183713 else
37193714 if test -z "$GREP"; then
37243719 do
37253720 IFS=$as_save_IFS
37263721 test -z "$as_dir" && as_dir=.
3727 for ac_prog in grep ggrep; do
3722 for ac_prog in grep ggrep; do
37283723 for ac_exec_ext in '' $ac_executable_extensions; do
37293724 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
37303725 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
37443739 $as_echo 'GREP' >> "conftest.nl"
37453740 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
37463741 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3747 ac_count=`expr $ac_count + 1`
3742 as_fn_arith $ac_count + 1 && ac_count=$as_val
37483743 if test $ac_count -gt ${ac_path_GREP_max-0}; then
37493744 # Best one so far, save it but keep looking for a better one
37503745 ac_cv_path_GREP="$ac_path_GREP"
37593754 $ac_path_GREP_found && break 3
37603755 done
37613756 done
3762 done
3757 done
37633758 IFS=$as_save_IFS
37643759 if test -z "$ac_cv_path_GREP"; then
3765 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3766 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3767 { (exit 1); exit 1; }; }
3760 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
37683761 fi
37693762 else
37703763 ac_cv_path_GREP=$GREP
37713764 fi
37723765
37733766 fi
3774 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
37753768 $as_echo "$ac_cv_path_GREP" >&6; }
37763769 GREP="$ac_cv_path_GREP"
37773770
37783771
3779 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
3772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
37803773 $as_echo_n "checking for egrep... " >&6; }
3781 if test "${ac_cv_path_EGREP+set}" = set; then
3774 if test "${ac_cv_path_EGREP+set}" = set; then :
37823775 $as_echo_n "(cached) " >&6
37833776 else
37843777 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
37923785 do
37933786 IFS=$as_save_IFS
37943787 test -z "$as_dir" && as_dir=.
3795 for ac_prog in egrep; do
3788 for ac_prog in egrep; do
37963789 for ac_exec_ext in '' $ac_executable_extensions; do
37973790 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
37983791 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
38123805 $as_echo 'EGREP' >> "conftest.nl"
38133806 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
38143807 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3815 ac_count=`expr $ac_count + 1`
3808 as_fn_arith $ac_count + 1 && ac_count=$as_val
38163809 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
38173810 # Best one so far, save it but keep looking for a better one
38183811 ac_cv_path_EGREP="$ac_path_EGREP"
38273820 $ac_path_EGREP_found && break 3
38283821 done
38293822 done
3830 done
3823 done
38313824 IFS=$as_save_IFS
38323825 if test -z "$ac_cv_path_EGREP"; then
3833 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3834 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3835 { (exit 1); exit 1; }; }
3826 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
38363827 fi
38373828 else
38383829 ac_cv_path_EGREP=$EGREP
38403831
38413832 fi
38423833 fi
3843 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
38443835 $as_echo "$ac_cv_path_EGREP" >&6; }
38453836 EGREP="$ac_cv_path_EGREP"
38463837
38473838
3848 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
38493840 $as_echo_n "checking for ANSI C header files... " >&6; }
3850 if test "${ac_cv_header_stdc+set}" = set; then
3841 if test "${ac_cv_header_stdc+set}" = set; then :
38513842 $as_echo_n "(cached) " >&6
38523843 else
3853 cat >conftest.$ac_ext <<_ACEOF
3854 /* confdefs.h. */
3855 _ACEOF
3856 cat confdefs.h >>conftest.$ac_ext
3857 cat >>conftest.$ac_ext <<_ACEOF
3844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38583845 /* end confdefs.h. */
38593846 #include <stdlib.h>
38603847 #include <stdarg.h>
38693856 return 0;
38703857 }
38713858 _ACEOF
3872 rm -f conftest.$ac_objext
3873 if { (ac_try="$ac_compile"
3874 case "(($ac_try" in
3875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3876 *) ac_try_echo=$ac_try;;
3877 esac
3878 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3879 $as_echo "$ac_try_echo") >&5
3880 (eval "$ac_compile") 2>conftest.er1
3881 ac_status=$?
3882 grep -v '^ *+' conftest.er1 >conftest.err
3883 rm -f conftest.er1
3884 cat conftest.err >&5
3885 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3886 (exit $ac_status); } && {
3887 test -z "$ac_c_werror_flag" ||
3888 test ! -s conftest.err
3889 } && test -s conftest.$ac_objext; then
3859 if ac_fn_c_try_compile "$LINENO"; then :
38903860 ac_cv_header_stdc=yes
38913861 else
3892 $as_echo "$as_me: failed program was:" >&5
3893 sed 's/^/| /' conftest.$ac_ext >&5
3894
3895 ac_cv_header_stdc=no
3896 fi
3897
3862 ac_cv_header_stdc=no
3863 fi
38983864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38993865
39003866 if test $ac_cv_header_stdc = yes; then
39013867 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3902 cat >conftest.$ac_ext <<_ACEOF
3903 /* confdefs.h. */
3904 _ACEOF
3905 cat confdefs.h >>conftest.$ac_ext
3906 cat >>conftest.$ac_ext <<_ACEOF
3868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39073869 /* end confdefs.h. */
39083870 #include <string.h>
39093871
39103872 _ACEOF
39113873 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3912 $EGREP "memchr" >/dev/null 2>&1; then
3913 :
3874 $EGREP "memchr" >/dev/null 2>&1; then :
3875
39143876 else
39153877 ac_cv_header_stdc=no
39163878 fi
39203882
39213883 if test $ac_cv_header_stdc = yes; then
39223884 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3923 cat >conftest.$ac_ext <<_ACEOF
3924 /* confdefs.h. */
3925 _ACEOF
3926 cat confdefs.h >>conftest.$ac_ext
3927 cat >>conftest.$ac_ext <<_ACEOF
3885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39283886 /* end confdefs.h. */
39293887 #include <stdlib.h>
39303888
39313889 _ACEOF
39323890 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3933 $EGREP "free" >/dev/null 2>&1; then
3934 :
3891 $EGREP "free" >/dev/null 2>&1; then :
3892
39353893 else
39363894 ac_cv_header_stdc=no
39373895 fi
39413899
39423900 if test $ac_cv_header_stdc = yes; then
39433901 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3944 if test "$cross_compiling" = yes; then
3902 if test "$cross_compiling" = yes; then :
39453903 :
39463904 else
3947 cat >conftest.$ac_ext <<_ACEOF
3948 /* confdefs.h. */
3949 _ACEOF
3950 cat confdefs.h >>conftest.$ac_ext
3951 cat >>conftest.$ac_ext <<_ACEOF
3905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39523906 /* end confdefs.h. */
39533907 #include <ctype.h>
39543908 #include <stdlib.h>
39753929 return 0;
39763930 }
39773931 _ACEOF
3978 rm -f conftest$ac_exeext
3979 if { (ac_try="$ac_link"
3980 case "(($ac_try" in
3981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3982 *) ac_try_echo=$ac_try;;
3983 esac
3984 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3985 $as_echo "$ac_try_echo") >&5
3986 (eval "$ac_link") 2>&5
3987 ac_status=$?
3988 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3989 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3990 { (case "(($ac_try" in
3991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3992 *) ac_try_echo=$ac_try;;
3993 esac
3994 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3995 $as_echo "$ac_try_echo") >&5
3996 (eval "$ac_try") 2>&5
3997 ac_status=$?
3998 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3999 (exit $ac_status); }; }; then
4000 :
4001 else
4002 $as_echo "$as_me: program exited with status $ac_status" >&5
4003 $as_echo "$as_me: failed program was:" >&5
4004 sed 's/^/| /' conftest.$ac_ext >&5
4005
4006 ( exit $ac_status )
4007 ac_cv_header_stdc=no
4008 fi
4009 rm -rf conftest.dSYM
4010 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4011 fi
4012
4013
4014 fi
4015 fi
4016 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3932 if ac_fn_c_try_run "$LINENO"; then :
3933
3934 else
3935 ac_cv_header_stdc=no
3936 fi
3937 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3938 conftest.$ac_objext conftest.beam conftest.$ac_ext
3939 fi
3940
3941 fi
3942 fi
3943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
40173944 $as_echo "$ac_cv_header_stdc" >&6; }
40183945 if test $ac_cv_header_stdc = yes; then
40193946
4020 cat >>confdefs.h <<\_ACEOF
4021 #define STDC_HEADERS 1
4022 _ACEOF
3947 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
40233948
40243949 fi
40253950
40263951 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4027
4028
4029
4030
4031
4032
4033
4034
4035
40363952 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
40373953 inttypes.h stdint.h unistd.h
4038 do
4039 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4040 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4041 $as_echo_n "checking for $ac_header... " >&6; }
4042 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4043 $as_echo_n "(cached) " >&6
4044 else
4045 cat >conftest.$ac_ext <<_ACEOF
4046 /* confdefs.h. */
4047 _ACEOF
4048 cat confdefs.h >>conftest.$ac_ext
4049 cat >>conftest.$ac_ext <<_ACEOF
4050 /* end confdefs.h. */
4051 $ac_includes_default
4052
4053 #include <$ac_header>
4054 _ACEOF
4055 rm -f conftest.$ac_objext
4056 if { (ac_try="$ac_compile"
4057 case "(($ac_try" in
4058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4059 *) ac_try_echo=$ac_try;;
4060 esac
4061 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4062 $as_echo "$ac_try_echo") >&5
4063 (eval "$ac_compile") 2>conftest.er1
4064 ac_status=$?
4065 grep -v '^ *+' conftest.er1 >conftest.err
4066 rm -f conftest.er1
4067 cat conftest.err >&5
4068 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4069 (exit $ac_status); } && {
4070 test -z "$ac_c_werror_flag" ||
4071 test ! -s conftest.err
4072 } && test -s conftest.$ac_objext; then
4073 eval "$as_ac_Header=yes"
4074 else
4075 $as_echo "$as_me: failed program was:" >&5
4076 sed 's/^/| /' conftest.$ac_ext >&5
4077
4078 eval "$as_ac_Header=no"
4079 fi
4080
4081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4082 fi
4083 ac_res=`eval 'as_val=${'$as_ac_Header'}
4084 $as_echo "$as_val"'`
4085 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4086 $as_echo "$ac_res" >&6; }
4087 as_val=`eval 'as_val=${'$as_ac_Header'}
4088 $as_echo "$as_val"'`
4089 if test "x$as_val" = x""yes; then
3954 do :
3955 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3956 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3957 "
3958 eval as_val=\$$as_ac_Header
3959 if test "x$as_val" = x""yes; then :
40903960 cat >>confdefs.h <<_ACEOF
40913961 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
40923962 _ACEOF
40963966 done
40973967
40983968
4099
4100
4101
4102
4103
4104
4105
4106
41073969 for ac_header in errno.h fcntl.h inttypes.h netinet/in.h stdlib.h string.h sys/ioctl.h unistd.h
4108 do
4109 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4110 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4111 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4112 $as_echo_n "checking for $ac_header... " >&6; }
4113 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4114 $as_echo_n "(cached) " >&6
4115 fi
4116 ac_res=`eval 'as_val=${'$as_ac_Header'}
4117 $as_echo "$as_val"'`
4118 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4119 $as_echo "$ac_res" >&6; }
4120 else
4121 # Is the header compilable?
4122 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
4123 $as_echo_n "checking $ac_header usability... " >&6; }
4124 cat >conftest.$ac_ext <<_ACEOF
4125 /* confdefs.h. */
4126 _ACEOF
4127 cat confdefs.h >>conftest.$ac_ext
4128 cat >>conftest.$ac_ext <<_ACEOF
4129 /* end confdefs.h. */
4130 $ac_includes_default
4131 #include <$ac_header>
4132 _ACEOF
4133 rm -f conftest.$ac_objext
4134 if { (ac_try="$ac_compile"
4135 case "(($ac_try" in
4136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4137 *) ac_try_echo=$ac_try;;
4138 esac
4139 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4140 $as_echo "$ac_try_echo") >&5
4141 (eval "$ac_compile") 2>conftest.er1
4142 ac_status=$?
4143 grep -v '^ *+' conftest.er1 >conftest.err
4144 rm -f conftest.er1
4145 cat conftest.err >&5
4146 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4147 (exit $ac_status); } && {
4148 test -z "$ac_c_werror_flag" ||
4149 test ! -s conftest.err
4150 } && test -s conftest.$ac_objext; then
4151 ac_header_compiler=yes
4152 else
4153 $as_echo "$as_me: failed program was:" >&5
4154 sed 's/^/| /' conftest.$ac_ext >&5
4155
4156 ac_header_compiler=no
4157 fi
4158
4159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4160 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4161 $as_echo "$ac_header_compiler" >&6; }
4162
4163 # Is the header present?
4164 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
4165 $as_echo_n "checking $ac_header presence... " >&6; }
4166 cat >conftest.$ac_ext <<_ACEOF
4167 /* confdefs.h. */
4168 _ACEOF
4169 cat confdefs.h >>conftest.$ac_ext
4170 cat >>conftest.$ac_ext <<_ACEOF
4171 /* end confdefs.h. */
4172 #include <$ac_header>
4173 _ACEOF
4174 if { (ac_try="$ac_cpp conftest.$ac_ext"
4175 case "(($ac_try" in
4176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4177 *) ac_try_echo=$ac_try;;
4178 esac
4179 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4180 $as_echo "$ac_try_echo") >&5
4181 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4182 ac_status=$?
4183 grep -v '^ *+' conftest.er1 >conftest.err
4184 rm -f conftest.er1
4185 cat conftest.err >&5
4186 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4187 (exit $ac_status); } >/dev/null && {
4188 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4189 test ! -s conftest.err
4190 }; then
4191 ac_header_preproc=yes
4192 else
4193 $as_echo "$as_me: failed program was:" >&5
4194 sed 's/^/| /' conftest.$ac_ext >&5
4195
4196 ac_header_preproc=no
4197 fi
4198
4199 rm -f conftest.err conftest.$ac_ext
4200 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4201 $as_echo "$ac_header_preproc" >&6; }
4202
4203 # So? What about this header?
4204 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4205 yes:no: )
4206 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4207 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4208 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4209 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4210 ac_header_preproc=yes
4211 ;;
4212 no:yes:* )
4213 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4214 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4215 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4216 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4217 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4218 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4219 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4220 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4221 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4222 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4223 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4224 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4225 ( cat <<\_ASBOX
4226 ## ---------------------------------------------- ##
4227 ## Report this to smcameron@users.sourceforge.net ##
4228 ## ---------------------------------------------- ##
4229 _ASBOX
4230 ) | sed "s/^/$as_me: WARNING: /" >&2
4231 ;;
4232 esac
4233 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4234 $as_echo_n "checking for $ac_header... " >&6; }
4235 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4236 $as_echo_n "(cached) " >&6
4237 else
4238 eval "$as_ac_Header=\$ac_header_preproc"
4239 fi
4240 ac_res=`eval 'as_val=${'$as_ac_Header'}
4241 $as_echo "$as_val"'`
4242 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4243 $as_echo "$ac_res" >&6; }
4244
4245 fi
4246 as_val=`eval 'as_val=${'$as_ac_Header'}
4247 $as_echo "$as_val"'`
4248 if test "x$as_val" = x""yes; then
3970 do :
3971 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3972 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
3973 eval as_val=\$$as_ac_Header
3974 if test "x$as_val" = x""yes; then :
42493975 cat >>confdefs.h <<_ACEOF
42503976 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
42513977 _ACEOF
42543980
42553981 done
42563982
4257 if test "${ac_cv_header_scsi_sg_h+set}" = set; then
4258 { $as_echo "$as_me:$LINENO: checking for scsi/sg.h" >&5
4259 $as_echo_n "checking for scsi/sg.h... " >&6; }
4260 if test "${ac_cv_header_scsi_sg_h+set}" = set; then
3983 ac_fn_c_check_header_mongrel "$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
3984 if test "x$ac_cv_header_scsi_sg_h" = x""yes; then :
3985
3986 $as_echo "#define HAVE_SCSI_SG_H 1" >>confdefs.h
3987
3988 else
3989 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: scsi/sg.h not found so MSA1000 support will not be compiled." >&5
3990 $as_echo "$as_me: WARNING: scsi/sg.h not found so MSA1000 support will not be compiled." >&2;}
3991 fi
3992
3993
3994 ac_fn_c_check_header_mongrel "$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
3995 if test "x$ac_cv_header_scsi_scsi_h" = x""yes; then :
3996
3997 $as_echo "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
3998
3999 fi
4000
4001
4002 ac_fn_c_check_header_mongrel "$LINENO" "linux/cciss_ioctl.h" "ac_cv_header_linux_cciss_ioctl_h" "$ac_includes_default"
4003 if test "x$ac_cv_header_linux_cciss_ioctl_h" = x""yes; then :
4004
4005 $as_echo "#define HAVE_LINUX_CCISS_IOCTL_H 1" >>confdefs.h
4006
4007 fi
4008
4009
4010 ac_fn_c_check_header_mongrel "$LINENO" "/usr/src/sys/dev/ciss/cissio.h" "ac_cv_header__usr_src_sys_dev_ciss_cissio_h" "$ac_includes_default"
4011 if test "x$ac_cv_header__usr_src_sys_dev_ciss_cissio_h" = x""yes; then :
4012
4013 $as_echo "#define HAVE_CISSIO_H 1" >>confdefs.h
4014
4015 fi
4016
4017
4018
4019 # Checks for typedefs, structures, and compiler characteristics.
4020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
4021 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
4022 if test "${ac_cv_c_const+set}" = set; then :
42614023 $as_echo_n "(cached) " >&6
4262 fi
4263 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_scsi_sg_h" >&5
4264 $as_echo "$ac_cv_header_scsi_sg_h" >&6; }
4265 else
4266 # Is the header compilable?
4267 { $as_echo "$as_me:$LINENO: checking scsi/sg.h usability" >&5
4268 $as_echo_n "checking scsi/sg.h usability... " >&6; }
4269 cat >conftest.$ac_ext <<_ACEOF
4270 /* confdefs.h. */
4271 _ACEOF
4272 cat confdefs.h >>conftest.$ac_ext
4273 cat >>conftest.$ac_ext <<_ACEOF
4274 /* end confdefs.h. */
4275 $ac_includes_default
4276 #include <scsi/sg.h>
4277 _ACEOF
4278 rm -f conftest.$ac_objext
4279 if { (ac_try="$ac_compile"
4280 case "(($ac_try" in
4281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4282 *) ac_try_echo=$ac_try;;
4283 esac
4284 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4285 $as_echo "$ac_try_echo") >&5
4286 (eval "$ac_compile") 2>conftest.er1
4287 ac_status=$?
4288 grep -v '^ *+' conftest.er1 >conftest.err
4289 rm -f conftest.er1
4290 cat conftest.err >&5
4291 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4292 (exit $ac_status); } && {
4293 test -z "$ac_c_werror_flag" ||
4294 test ! -s conftest.err
4295 } && test -s conftest.$ac_objext; then
4296 ac_header_compiler=yes
4297 else
4298 $as_echo "$as_me: failed program was:" >&5
4299 sed 's/^/| /' conftest.$ac_ext >&5
4300
4301 ac_header_compiler=no
4302 fi
4303
4304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4305 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4306 $as_echo "$ac_header_compiler" >&6; }
4307
4308 # Is the header present?
4309 { $as_echo "$as_me:$LINENO: checking scsi/sg.h presence" >&5
4310 $as_echo_n "checking scsi/sg.h presence... " >&6; }
4311 cat >conftest.$ac_ext <<_ACEOF
4312 /* confdefs.h. */
4313 _ACEOF
4314 cat confdefs.h >>conftest.$ac_ext
4315 cat >>conftest.$ac_ext <<_ACEOF
4316 /* end confdefs.h. */
4317 #include <scsi/sg.h>
4318 _ACEOF
4319 if { (ac_try="$ac_cpp conftest.$ac_ext"
4320 case "(($ac_try" in
4321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4322 *) ac_try_echo=$ac_try;;
4323 esac
4324 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4325 $as_echo "$ac_try_echo") >&5
4326 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4327 ac_status=$?
4328 grep -v '^ *+' conftest.er1 >conftest.err
4329 rm -f conftest.er1
4330 cat conftest.err >&5
4331 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4332 (exit $ac_status); } >/dev/null && {
4333 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4334 test ! -s conftest.err
4335 }; then
4336 ac_header_preproc=yes
4337 else
4338 $as_echo "$as_me: failed program was:" >&5
4339 sed 's/^/| /' conftest.$ac_ext >&5
4340
4341 ac_header_preproc=no
4342 fi
4343
4344 rm -f conftest.err conftest.$ac_ext
4345 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4346 $as_echo "$ac_header_preproc" >&6; }
4347
4348 # So? What about this header?
4349 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4350 yes:no: )
4351 { $as_echo "$as_me:$LINENO: WARNING: scsi/sg.h: accepted by the compiler, rejected by the preprocessor!" >&5
4352 $as_echo "$as_me: WARNING: scsi/sg.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4353 { $as_echo "$as_me:$LINENO: WARNING: scsi/sg.h: proceeding with the compiler's result" >&5
4354 $as_echo "$as_me: WARNING: scsi/sg.h: proceeding with the compiler's result" >&2;}
4355 ac_header_preproc=yes
4356 ;;
4357 no:yes:* )
4358 { $as_echo "$as_me:$LINENO: WARNING: scsi/sg.h: present but cannot be compiled" >&5
4359 $as_echo "$as_me: WARNING: scsi/sg.h: present but cannot be compiled" >&2;}
4360 { $as_echo "$as_me:$LINENO: WARNING: scsi/sg.h: check for missing prerequisite headers?" >&5
4361 $as_echo "$as_me: WARNING: scsi/sg.h: check for missing prerequisite headers?" >&2;}
4362 { $as_echo "$as_me:$LINENO: WARNING: scsi/sg.h: see the Autoconf documentation" >&5
4363 $as_echo "$as_me: WARNING: scsi/sg.h: see the Autoconf documentation" >&2;}
4364 { $as_echo "$as_me:$LINENO: WARNING: scsi/sg.h: section \"Present But Cannot Be Compiled\"" >&5
4365 $as_echo "$as_me: WARNING: scsi/sg.h: section \"Present But Cannot Be Compiled\"" >&2;}
4366 { $as_echo "$as_me:$LINENO: WARNING: scsi/sg.h: proceeding with the preprocessor's result" >&5
4367 $as_echo "$as_me: WARNING: scsi/sg.h: proceeding with the preprocessor's result" >&2;}
4368 { $as_echo "$as_me:$LINENO: WARNING: scsi/sg.h: in the future, the compiler will take precedence" >&5
4369 $as_echo "$as_me: WARNING: scsi/sg.h: in the future, the compiler will take precedence" >&2;}
4370 ( cat <<\_ASBOX
4371 ## ---------------------------------------------- ##
4372 ## Report this to smcameron@users.sourceforge.net ##
4373 ## ---------------------------------------------- ##
4374 _ASBOX
4375 ) | sed "s/^/$as_me: WARNING: /" >&2
4376 ;;
4377 esac
4378 { $as_echo "$as_me:$LINENO: checking for scsi/sg.h" >&5
4379 $as_echo_n "checking for scsi/sg.h... " >&6; }
4380 if test "${ac_cv_header_scsi_sg_h+set}" = set; then
4381 $as_echo_n "(cached) " >&6
4382 else
4383 ac_cv_header_scsi_sg_h=$ac_header_preproc
4384 fi
4385 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_scsi_sg_h" >&5
4386 $as_echo "$ac_cv_header_scsi_sg_h" >&6; }
4387
4388 fi
4389 if test "x$ac_cv_header_scsi_sg_h" = x""yes; then
4390
4391 cat >>confdefs.h <<\_ACEOF
4392 #define HAVE_SCSI_SG_H 1
4393 _ACEOF
4394
4395 else
4396 { $as_echo "$as_me:$LINENO: WARNING: scsi/sg.h not found so MSA1000 support will not be compiled." >&5
4397 $as_echo "$as_me: WARNING: scsi/sg.h not found so MSA1000 support will not be compiled." >&2;}
4398 fi
4399
4400
4401 if test "${ac_cv_header_scsi_scsi_h+set}" = set; then
4402 { $as_echo "$as_me:$LINENO: checking for scsi/scsi.h" >&5
4403 $as_echo_n "checking for scsi/scsi.h... " >&6; }
4404 if test "${ac_cv_header_scsi_scsi_h+set}" = set; then
4405 $as_echo_n "(cached) " >&6
4406 fi
4407 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_scsi_scsi_h" >&5
4408 $as_echo "$ac_cv_header_scsi_scsi_h" >&6; }
4409 else
4410 # Is the header compilable?
4411 { $as_echo "$as_me:$LINENO: checking scsi/scsi.h usability" >&5
4412 $as_echo_n "checking scsi/scsi.h usability... " >&6; }
4413 cat >conftest.$ac_ext <<_ACEOF
4414 /* confdefs.h. */
4415 _ACEOF
4416 cat confdefs.h >>conftest.$ac_ext
4417 cat >>conftest.$ac_ext <<_ACEOF
4418 /* end confdefs.h. */
4419 $ac_includes_default
4420 #include <scsi/scsi.h>
4421 _ACEOF
4422 rm -f conftest.$ac_objext
4423 if { (ac_try="$ac_compile"
4424 case "(($ac_try" in
4425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4426 *) ac_try_echo=$ac_try;;
4427 esac
4428 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4429 $as_echo "$ac_try_echo") >&5
4430 (eval "$ac_compile") 2>conftest.er1
4431 ac_status=$?
4432 grep -v '^ *+' conftest.er1 >conftest.err
4433 rm -f conftest.er1
4434 cat conftest.err >&5
4435 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4436 (exit $ac_status); } && {
4437 test -z "$ac_c_werror_flag" ||
4438 test ! -s conftest.err
4439 } && test -s conftest.$ac_objext; then
4440 ac_header_compiler=yes
4441 else
4442 $as_echo "$as_me: failed program was:" >&5
4443 sed 's/^/| /' conftest.$ac_ext >&5
4444
4445 ac_header_compiler=no
4446 fi
4447
4448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4449 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4450 $as_echo "$ac_header_compiler" >&6; }
4451
4452 # Is the header present?
4453 { $as_echo "$as_me:$LINENO: checking scsi/scsi.h presence" >&5
4454 $as_echo_n "checking scsi/scsi.h presence... " >&6; }
4455 cat >conftest.$ac_ext <<_ACEOF
4456 /* confdefs.h. */
4457 _ACEOF
4458 cat confdefs.h >>conftest.$ac_ext
4459 cat >>conftest.$ac_ext <<_ACEOF
4460 /* end confdefs.h. */
4461 #include <scsi/scsi.h>
4462 _ACEOF
4463 if { (ac_try="$ac_cpp conftest.$ac_ext"
4464 case "(($ac_try" in
4465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4466 *) ac_try_echo=$ac_try;;
4467 esac
4468 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4469 $as_echo "$ac_try_echo") >&5
4470 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4471 ac_status=$?
4472 grep -v '^ *+' conftest.er1 >conftest.err
4473 rm -f conftest.er1
4474 cat conftest.err >&5
4475 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4476 (exit $ac_status); } >/dev/null && {
4477 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4478 test ! -s conftest.err
4479 }; then
4480 ac_header_preproc=yes
4481 else
4482 $as_echo "$as_me: failed program was:" >&5
4483 sed 's/^/| /' conftest.$ac_ext >&5
4484
4485 ac_header_preproc=no
4486 fi
4487
4488 rm -f conftest.err conftest.$ac_ext
4489 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4490 $as_echo "$ac_header_preproc" >&6; }
4491
4492 # So? What about this header?
4493 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4494 yes:no: )
4495 { $as_echo "$as_me:$LINENO: WARNING: scsi/scsi.h: accepted by the compiler, rejected by the preprocessor!" >&5
4496 $as_echo "$as_me: WARNING: scsi/scsi.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4497 { $as_echo "$as_me:$LINENO: WARNING: scsi/scsi.h: proceeding with the compiler's result" >&5
4498 $as_echo "$as_me: WARNING: scsi/scsi.h: proceeding with the compiler's result" >&2;}
4499 ac_header_preproc=yes
4500 ;;
4501 no:yes:* )
4502 { $as_echo "$as_me:$LINENO: WARNING: scsi/scsi.h: present but cannot be compiled" >&5
4503 $as_echo "$as_me: WARNING: scsi/scsi.h: present but cannot be compiled" >&2;}
4504 { $as_echo "$as_me:$LINENO: WARNING: scsi/scsi.h: check for missing prerequisite headers?" >&5
4505 $as_echo "$as_me: WARNING: scsi/scsi.h: check for missing prerequisite headers?" >&2;}
4506 { $as_echo "$as_me:$LINENO: WARNING: scsi/scsi.h: see the Autoconf documentation" >&5
4507 $as_echo "$as_me: WARNING: scsi/scsi.h: see the Autoconf documentation" >&2;}
4508 { $as_echo "$as_me:$LINENO: WARNING: scsi/scsi.h: section \"Present But Cannot Be Compiled\"" >&5
4509 $as_echo "$as_me: WARNING: scsi/scsi.h: section \"Present But Cannot Be Compiled\"" >&2;}
4510 { $as_echo "$as_me:$LINENO: WARNING: scsi/scsi.h: proceeding with the preprocessor's result" >&5
4511 $as_echo "$as_me: WARNING: scsi/scsi.h: proceeding with the preprocessor's result" >&2;}
4512 { $as_echo "$as_me:$LINENO: WARNING: scsi/scsi.h: in the future, the compiler will take precedence" >&5
4513 $as_echo "$as_me: WARNING: scsi/scsi.h: in the future, the compiler will take precedence" >&2;}
4514 ( cat <<\_ASBOX
4515 ## ---------------------------------------------- ##
4516 ## Report this to smcameron@users.sourceforge.net ##
4517 ## ---------------------------------------------- ##
4518 _ASBOX
4519 ) | sed "s/^/$as_me: WARNING: /" >&2
4520 ;;
4521 esac
4522 { $as_echo "$as_me:$LINENO: checking for scsi/scsi.h" >&5
4523 $as_echo_n "checking for scsi/scsi.h... " >&6; }
4524 if test "${ac_cv_header_scsi_scsi_h+set}" = set; then
4525 $as_echo_n "(cached) " >&6
4526 else
4527 ac_cv_header_scsi_scsi_h=$ac_header_preproc
4528 fi
4529 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_scsi_scsi_h" >&5
4530 $as_echo "$ac_cv_header_scsi_scsi_h" >&6; }
4531
4532 fi
4533 if test "x$ac_cv_header_scsi_scsi_h" = x""yes; then
4534
4535 cat >>confdefs.h <<\_ACEOF
4536 #define HAVE_SCSI_SCSI_H 1
4537 _ACEOF
4538
4539 fi
4540
4541
4542 if test "${ac_cv_header_linux_cciss_ioctl_h+set}" = set; then
4543 { $as_echo "$as_me:$LINENO: checking for linux/cciss_ioctl.h" >&5
4544 $as_echo_n "checking for linux/cciss_ioctl.h... " >&6; }
4545 if test "${ac_cv_header_linux_cciss_ioctl_h+set}" = set; then
4546 $as_echo_n "(cached) " >&6
4547 fi
4548 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_linux_cciss_ioctl_h" >&5
4549 $as_echo "$ac_cv_header_linux_cciss_ioctl_h" >&6; }
4550 else
4551 # Is the header compilable?
4552 { $as_echo "$as_me:$LINENO: checking linux/cciss_ioctl.h usability" >&5
4553 $as_echo_n "checking linux/cciss_ioctl.h usability... " >&6; }
4554 cat >conftest.$ac_ext <<_ACEOF
4555 /* confdefs.h. */
4556 _ACEOF
4557 cat confdefs.h >>conftest.$ac_ext
4558 cat >>conftest.$ac_ext <<_ACEOF
4559 /* end confdefs.h. */
4560 $ac_includes_default
4561 #include <linux/cciss_ioctl.h>
4562 _ACEOF
4563 rm -f conftest.$ac_objext
4564 if { (ac_try="$ac_compile"
4565 case "(($ac_try" in
4566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4567 *) ac_try_echo=$ac_try;;
4568 esac
4569 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4570 $as_echo "$ac_try_echo") >&5
4571 (eval "$ac_compile") 2>conftest.er1
4572 ac_status=$?
4573 grep -v '^ *+' conftest.er1 >conftest.err
4574 rm -f conftest.er1
4575 cat conftest.err >&5
4576 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4577 (exit $ac_status); } && {
4578 test -z "$ac_c_werror_flag" ||
4579 test ! -s conftest.err
4580 } && test -s conftest.$ac_objext; then
4581 ac_header_compiler=yes
4582 else
4583 $as_echo "$as_me: failed program was:" >&5
4584 sed 's/^/| /' conftest.$ac_ext >&5
4585
4586 ac_header_compiler=no
4587 fi
4588
4589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4590 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4591 $as_echo "$ac_header_compiler" >&6; }
4592
4593 # Is the header present?
4594 { $as_echo "$as_me:$LINENO: checking linux/cciss_ioctl.h presence" >&5
4595 $as_echo_n "checking linux/cciss_ioctl.h presence... " >&6; }
4596 cat >conftest.$ac_ext <<_ACEOF
4597 /* confdefs.h. */
4598 _ACEOF
4599 cat confdefs.h >>conftest.$ac_ext
4600 cat >>conftest.$ac_ext <<_ACEOF
4601 /* end confdefs.h. */
4602 #include <linux/cciss_ioctl.h>
4603 _ACEOF
4604 if { (ac_try="$ac_cpp conftest.$ac_ext"
4605 case "(($ac_try" in
4606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4607 *) ac_try_echo=$ac_try;;
4608 esac
4609 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4610 $as_echo "$ac_try_echo") >&5
4611 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4612 ac_status=$?
4613 grep -v '^ *+' conftest.er1 >conftest.err
4614 rm -f conftest.er1
4615 cat conftest.err >&5
4616 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4617 (exit $ac_status); } >/dev/null && {
4618 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4619 test ! -s conftest.err
4620 }; then
4621 ac_header_preproc=yes
4622 else
4623 $as_echo "$as_me: failed program was:" >&5
4624 sed 's/^/| /' conftest.$ac_ext >&5
4625
4626 ac_header_preproc=no
4627 fi
4628
4629 rm -f conftest.err conftest.$ac_ext
4630 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4631 $as_echo "$ac_header_preproc" >&6; }
4632
4633 # So? What about this header?
4634 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4635 yes:no: )
4636 { $as_echo "$as_me:$LINENO: WARNING: linux/cciss_ioctl.h: accepted by the compiler, rejected by the preprocessor!" >&5
4637 $as_echo "$as_me: WARNING: linux/cciss_ioctl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4638 { $as_echo "$as_me:$LINENO: WARNING: linux/cciss_ioctl.h: proceeding with the compiler's result" >&5
4639 $as_echo "$as_me: WARNING: linux/cciss_ioctl.h: proceeding with the compiler's result" >&2;}
4640 ac_header_preproc=yes
4641 ;;
4642 no:yes:* )
4643 { $as_echo "$as_me:$LINENO: WARNING: linux/cciss_ioctl.h: present but cannot be compiled" >&5
4644 $as_echo "$as_me: WARNING: linux/cciss_ioctl.h: present but cannot be compiled" >&2;}
4645 { $as_echo "$as_me:$LINENO: WARNING: linux/cciss_ioctl.h: check for missing prerequisite headers?" >&5
4646 $as_echo "$as_me: WARNING: linux/cciss_ioctl.h: check for missing prerequisite headers?" >&2;}
4647 { $as_echo "$as_me:$LINENO: WARNING: linux/cciss_ioctl.h: see the Autoconf documentation" >&5
4648 $as_echo "$as_me: WARNING: linux/cciss_ioctl.h: see the Autoconf documentation" >&2;}
4649 { $as_echo "$as_me:$LINENO: WARNING: linux/cciss_ioctl.h: section \"Present But Cannot Be Compiled\"" >&5
4650 $as_echo "$as_me: WARNING: linux/cciss_ioctl.h: section \"Present But Cannot Be Compiled\"" >&2;}
4651 { $as_echo "$as_me:$LINENO: WARNING: linux/cciss_ioctl.h: proceeding with the preprocessor's result" >&5
4652 $as_echo "$as_me: WARNING: linux/cciss_ioctl.h: proceeding with the preprocessor's result" >&2;}
4653 { $as_echo "$as_me:$LINENO: WARNING: linux/cciss_ioctl.h: in the future, the compiler will take precedence" >&5
4654 $as_echo "$as_me: WARNING: linux/cciss_ioctl.h: in the future, the compiler will take precedence" >&2;}
4655 ( cat <<\_ASBOX
4656 ## ---------------------------------------------- ##
4657 ## Report this to smcameron@users.sourceforge.net ##
4658 ## ---------------------------------------------- ##
4659 _ASBOX
4660 ) | sed "s/^/$as_me: WARNING: /" >&2
4661 ;;
4662 esac
4663 { $as_echo "$as_me:$LINENO: checking for linux/cciss_ioctl.h" >&5
4664 $as_echo_n "checking for linux/cciss_ioctl.h... " >&6; }
4665 if test "${ac_cv_header_linux_cciss_ioctl_h+set}" = set; then
4666 $as_echo_n "(cached) " >&6
4667 else
4668 ac_cv_header_linux_cciss_ioctl_h=$ac_header_preproc
4669 fi
4670 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_linux_cciss_ioctl_h" >&5
4671 $as_echo "$ac_cv_header_linux_cciss_ioctl_h" >&6; }
4672
4673 fi
4674 if test "x$ac_cv_header_linux_cciss_ioctl_h" = x""yes; then
4675
4676 cat >>confdefs.h <<\_ACEOF
4677 #define HAVE_LINUX_CCISS_IOCTL_H 1
4678 _ACEOF
4679
4680 fi
4681
4682
4683 if test "${ac_cv_header__usr_src_sys_dev_ciss_cissio_h+set}" = set; then
4684 { $as_echo "$as_me:$LINENO: checking for /usr/src/sys/dev/ciss/cissio.h" >&5
4685 $as_echo_n "checking for /usr/src/sys/dev/ciss/cissio.h... " >&6; }
4686 if test "${ac_cv_header__usr_src_sys_dev_ciss_cissio_h+set}" = set; then
4687 $as_echo_n "(cached) " >&6
4688 fi
4689 { $as_echo "$as_me:$LINENO: result: $ac_cv_header__usr_src_sys_dev_ciss_cissio_h" >&5
4690 $as_echo "$ac_cv_header__usr_src_sys_dev_ciss_cissio_h" >&6; }
4691 else
4692 # Is the header compilable?
4693 { $as_echo "$as_me:$LINENO: checking /usr/src/sys/dev/ciss/cissio.h usability" >&5
4694 $as_echo_n "checking /usr/src/sys/dev/ciss/cissio.h usability... " >&6; }
4695 cat >conftest.$ac_ext <<_ACEOF
4696 /* confdefs.h. */
4697 _ACEOF
4698 cat confdefs.h >>conftest.$ac_ext
4699 cat >>conftest.$ac_ext <<_ACEOF
4700 /* end confdefs.h. */
4701 $ac_includes_default
4702 #include </usr/src/sys/dev/ciss/cissio.h>
4703 _ACEOF
4704 rm -f conftest.$ac_objext
4705 if { (ac_try="$ac_compile"
4706 case "(($ac_try" in
4707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4708 *) ac_try_echo=$ac_try;;
4709 esac
4710 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4711 $as_echo "$ac_try_echo") >&5
4712 (eval "$ac_compile") 2>conftest.er1
4713 ac_status=$?
4714 grep -v '^ *+' conftest.er1 >conftest.err
4715 rm -f conftest.er1
4716 cat conftest.err >&5
4717 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4718 (exit $ac_status); } && {
4719 test -z "$ac_c_werror_flag" ||
4720 test ! -s conftest.err
4721 } && test -s conftest.$ac_objext; then
4722 ac_header_compiler=yes
4723 else
4724 $as_echo "$as_me: failed program was:" >&5
4725 sed 's/^/| /' conftest.$ac_ext >&5
4726
4727 ac_header_compiler=no
4728 fi
4729
4730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4731 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4732 $as_echo "$ac_header_compiler" >&6; }
4733
4734 # Is the header present?
4735 { $as_echo "$as_me:$LINENO: checking /usr/src/sys/dev/ciss/cissio.h presence" >&5
4736 $as_echo_n "checking /usr/src/sys/dev/ciss/cissio.h presence... " >&6; }
4737 cat >conftest.$ac_ext <<_ACEOF
4738 /* confdefs.h. */
4739 _ACEOF
4740 cat confdefs.h >>conftest.$ac_ext
4741 cat >>conftest.$ac_ext <<_ACEOF
4742 /* end confdefs.h. */
4743 #include </usr/src/sys/dev/ciss/cissio.h>
4744 _ACEOF
4745 if { (ac_try="$ac_cpp conftest.$ac_ext"
4746 case "(($ac_try" in
4747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4748 *) ac_try_echo=$ac_try;;
4749 esac
4750 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4751 $as_echo "$ac_try_echo") >&5
4752 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4753 ac_status=$?
4754 grep -v '^ *+' conftest.er1 >conftest.err
4755 rm -f conftest.er1
4756 cat conftest.err >&5
4757 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4758 (exit $ac_status); } >/dev/null && {
4759 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4760 test ! -s conftest.err
4761 }; then
4762 ac_header_preproc=yes
4763 else
4764 $as_echo "$as_me: failed program was:" >&5
4765 sed 's/^/| /' conftest.$ac_ext >&5
4766
4767 ac_header_preproc=no
4768 fi
4769
4770 rm -f conftest.err conftest.$ac_ext
4771 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4772 $as_echo "$ac_header_preproc" >&6; }
4773
4774 # So? What about this header?
4775 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4776 yes:no: )
4777 { $as_echo "$as_me:$LINENO: WARNING: /usr/src/sys/dev/ciss/cissio.h: accepted by the compiler, rejected by the preprocessor!" >&5
4778 $as_echo "$as_me: WARNING: /usr/src/sys/dev/ciss/cissio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4779 { $as_echo "$as_me:$LINENO: WARNING: /usr/src/sys/dev/ciss/cissio.h: proceeding with the compiler's result" >&5
4780 $as_echo "$as_me: WARNING: /usr/src/sys/dev/ciss/cissio.h: proceeding with the compiler's result" >&2;}
4781 ac_header_preproc=yes
4782 ;;
4783 no:yes:* )
4784 { $as_echo "$as_me:$LINENO: WARNING: /usr/src/sys/dev/ciss/cissio.h: present but cannot be compiled" >&5
4785 $as_echo "$as_me: WARNING: /usr/src/sys/dev/ciss/cissio.h: present but cannot be compiled" >&2;}
4786 { $as_echo "$as_me:$LINENO: WARNING: /usr/src/sys/dev/ciss/cissio.h: check for missing prerequisite headers?" >&5
4787 $as_echo "$as_me: WARNING: /usr/src/sys/dev/ciss/cissio.h: check for missing prerequisite headers?" >&2;}
4788 { $as_echo "$as_me:$LINENO: WARNING: /usr/src/sys/dev/ciss/cissio.h: see the Autoconf documentation" >&5
4789 $as_echo "$as_me: WARNING: /usr/src/sys/dev/ciss/cissio.h: see the Autoconf documentation" >&2;}
4790 { $as_echo "$as_me:$LINENO: WARNING: /usr/src/sys/dev/ciss/cissio.h: section \"Present But Cannot Be Compiled\"" >&5
4791 $as_echo "$as_me: WARNING: /usr/src/sys/dev/ciss/cissio.h: section \"Present But Cannot Be Compiled\"" >&2;}
4792 { $as_echo "$as_me:$LINENO: WARNING: /usr/src/sys/dev/ciss/cissio.h: proceeding with the preprocessor's result" >&5
4793 $as_echo "$as_me: WARNING: /usr/src/sys/dev/ciss/cissio.h: proceeding with the preprocessor's result" >&2;}
4794 { $as_echo "$as_me:$LINENO: WARNING: /usr/src/sys/dev/ciss/cissio.h: in the future, the compiler will take precedence" >&5
4795 $as_echo "$as_me: WARNING: /usr/src/sys/dev/ciss/cissio.h: in the future, the compiler will take precedence" >&2;}
4796 ( cat <<\_ASBOX
4797 ## ---------------------------------------------- ##
4798 ## Report this to smcameron@users.sourceforge.net ##
4799 ## ---------------------------------------------- ##
4800 _ASBOX
4801 ) | sed "s/^/$as_me: WARNING: /" >&2
4802 ;;
4803 esac
4804 { $as_echo "$as_me:$LINENO: checking for /usr/src/sys/dev/ciss/cissio.h" >&5
4805 $as_echo_n "checking for /usr/src/sys/dev/ciss/cissio.h... " >&6; }
4806 if test "${ac_cv_header__usr_src_sys_dev_ciss_cissio_h+set}" = set; then
4807 $as_echo_n "(cached) " >&6
4808 else
4809 ac_cv_header__usr_src_sys_dev_ciss_cissio_h=$ac_header_preproc
4810 fi
4811 { $as_echo "$as_me:$LINENO: result: $ac_cv_header__usr_src_sys_dev_ciss_cissio_h" >&5
4812 $as_echo "$ac_cv_header__usr_src_sys_dev_ciss_cissio_h" >&6; }
4813
4814 fi
4815 if test "x$ac_cv_header__usr_src_sys_dev_ciss_cissio_h" = x""yes; then
4816
4817 cat >>confdefs.h <<\_ACEOF
4818 #define HAVE_CISSIO_H 1
4819 _ACEOF
4820
4821 fi
4822
4823
4824
4825 # Checks for typedefs, structures, and compiler characteristics.
4826 { $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
4827 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
4828 if test "${ac_cv_c_const+set}" = set; then
4829 $as_echo_n "(cached) " >&6
4830 else
4831 cat >conftest.$ac_ext <<_ACEOF
4832 /* confdefs.h. */
4833 _ACEOF
4834 cat confdefs.h >>conftest.$ac_ext
4835 cat >>conftest.$ac_ext <<_ACEOF
4024 else
4025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48364026 /* end confdefs.h. */
48374027
48384028 int
48924082 return 0;
48934083 }
48944084 _ACEOF
4895 rm -f conftest.$ac_objext
4896 if { (ac_try="$ac_compile"
4897 case "(($ac_try" in
4898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4899 *) ac_try_echo=$ac_try;;
4900 esac
4901 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4902 $as_echo "$ac_try_echo") >&5
4903 (eval "$ac_compile") 2>conftest.er1
4904 ac_status=$?
4905 grep -v '^ *+' conftest.er1 >conftest.err
4906 rm -f conftest.er1
4907 cat conftest.err >&5
4908 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4909 (exit $ac_status); } && {
4910 test -z "$ac_c_werror_flag" ||
4911 test ! -s conftest.err
4912 } && test -s conftest.$ac_objext; then
4085 if ac_fn_c_try_compile "$LINENO"; then :
49134086 ac_cv_c_const=yes
49144087 else
4915 $as_echo "$as_me: failed program was:" >&5
4916 sed 's/^/| /' conftest.$ac_ext >&5
4917
4918 ac_cv_c_const=no
4919 fi
4920
4088 ac_cv_c_const=no
4089 fi
49214090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49224091 fi
4923 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
4092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
49244093 $as_echo "$ac_cv_c_const" >&6; }
49254094 if test $ac_cv_c_const = no; then
49264095
4927 cat >>confdefs.h <<\_ACEOF
4928 #define const /**/
4929 _ACEOF
4096 $as_echo "#define const /**/" >>confdefs.h
49304097
49314098 fi
49324099
49334100
49344101 # Checks for library functions.
49354102 if test $ac_cv_c_compiler_gnu = yes; then
4936 { $as_echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
4103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
49374104 $as_echo_n "checking whether $CC needs -traditional... " >&6; }
4938 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
4105 if test "${ac_cv_prog_gcc_traditional+set}" = set; then :
49394106 $as_echo_n "(cached) " >&6
49404107 else
49414108 ac_pattern="Autoconf.*'x'"
4942 cat >conftest.$ac_ext <<_ACEOF
4943 /* confdefs.h. */
4944 _ACEOF
4945 cat confdefs.h >>conftest.$ac_ext
4946 cat >>conftest.$ac_ext <<_ACEOF
4109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49474110 /* end confdefs.h. */
49484111 #include <sgtty.h>
49494112 Autoconf TIOCGETP
49504113 _ACEOF
49514114 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4952 $EGREP "$ac_pattern" >/dev/null 2>&1; then
4115 $EGREP "$ac_pattern" >/dev/null 2>&1; then :
49534116 ac_cv_prog_gcc_traditional=yes
49544117 else
49554118 ac_cv_prog_gcc_traditional=no
49584121
49594122
49604123 if test $ac_cv_prog_gcc_traditional = no; then
4961 cat >conftest.$ac_ext <<_ACEOF
4962 /* confdefs.h. */
4963 _ACEOF
4964 cat confdefs.h >>conftest.$ac_ext
4965 cat >>conftest.$ac_ext <<_ACEOF
4124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49664125 /* end confdefs.h. */
49674126 #include <termio.h>
49684127 Autoconf TCGETA
49694128 _ACEOF
49704129 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4971 $EGREP "$ac_pattern" >/dev/null 2>&1; then
4130 $EGREP "$ac_pattern" >/dev/null 2>&1; then :
49724131 ac_cv_prog_gcc_traditional=yes
49734132 fi
49744133 rm -f conftest*
49754134
49764135 fi
49774136 fi
4978 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
4137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
49794138 $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
49804139 if test $ac_cv_prog_gcc_traditional = yes; then
49814140 CC="$CC -traditional"
49824141 fi
49834142 fi
49844143
4985
49864144 for ac_header in stdlib.h
4987 do
4988 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4989 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4990 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4991 $as_echo_n "checking for $ac_header... " >&6; }
4992 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4145 do :
4146 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
4147 if test "x$ac_cv_header_stdlib_h" = x""yes; then :
4148 cat >>confdefs.h <<_ACEOF
4149 #define HAVE_STDLIB_H 1
4150 _ACEOF
4151
4152 fi
4153
4154 done
4155
4156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
4157 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
4158 if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then :
49934159 $as_echo_n "(cached) " >&6
4994 fi
4995 ac_res=`eval 'as_val=${'$as_ac_Header'}
4996 $as_echo "$as_val"'`
4997 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4998 $as_echo "$ac_res" >&6; }
4999 else
5000 # Is the header compilable?
5001 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5002 $as_echo_n "checking $ac_header usability... " >&6; }
5003 cat >conftest.$ac_ext <<_ACEOF
5004 /* confdefs.h. */
5005 _ACEOF
5006 cat confdefs.h >>conftest.$ac_ext
5007 cat >>conftest.$ac_ext <<_ACEOF
5008 /* end confdefs.h. */
5009 $ac_includes_default
5010 #include <$ac_header>
5011 _ACEOF
5012 rm -f conftest.$ac_objext
5013 if { (ac_try="$ac_compile"
5014 case "(($ac_try" in
5015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5016 *) ac_try_echo=$ac_try;;
5017 esac
5018 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5019 $as_echo "$ac_try_echo") >&5
5020 (eval "$ac_compile") 2>conftest.er1
5021 ac_status=$?
5022 grep -v '^ *+' conftest.er1 >conftest.err
5023 rm -f conftest.er1
5024 cat conftest.err >&5
5025 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5026 (exit $ac_status); } && {
5027 test -z "$ac_c_werror_flag" ||
5028 test ! -s conftest.err
5029 } && test -s conftest.$ac_objext; then
5030 ac_header_compiler=yes
5031 else
5032 $as_echo "$as_me: failed program was:" >&5
5033 sed 's/^/| /' conftest.$ac_ext >&5
5034
5035 ac_header_compiler=no
5036 fi
5037
5038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5039 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5040 $as_echo "$ac_header_compiler" >&6; }
5041
5042 # Is the header present?
5043 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5044 $as_echo_n "checking $ac_header presence... " >&6; }
5045 cat >conftest.$ac_ext <<_ACEOF
5046 /* confdefs.h. */
5047 _ACEOF
5048 cat confdefs.h >>conftest.$ac_ext
5049 cat >>conftest.$ac_ext <<_ACEOF
5050 /* end confdefs.h. */
5051 #include <$ac_header>
5052 _ACEOF
5053 if { (ac_try="$ac_cpp conftest.$ac_ext"
5054 case "(($ac_try" in
5055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5056 *) ac_try_echo=$ac_try;;
5057 esac
5058 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5059 $as_echo "$ac_try_echo") >&5
5060 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5061 ac_status=$?
5062 grep -v '^ *+' conftest.er1 >conftest.err
5063 rm -f conftest.er1
5064 cat conftest.err >&5
5065 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5066 (exit $ac_status); } >/dev/null && {
5067 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5068 test ! -s conftest.err
5069 }; then
5070 ac_header_preproc=yes
5071 else
5072 $as_echo "$as_me: failed program was:" >&5
5073 sed 's/^/| /' conftest.$ac_ext >&5
5074
5075 ac_header_preproc=no
5076 fi
5077
5078 rm -f conftest.err conftest.$ac_ext
5079 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5080 $as_echo "$ac_header_preproc" >&6; }
5081
5082 # So? What about this header?
5083 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5084 yes:no: )
5085 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5086 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5087 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5088 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5089 ac_header_preproc=yes
5090 ;;
5091 no:yes:* )
5092 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5093 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5094 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5095 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5096 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5097 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5098 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5099 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5100 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5101 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5102 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5103 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5104 ( cat <<\_ASBOX
5105 ## ---------------------------------------------- ##
5106 ## Report this to smcameron@users.sourceforge.net ##
5107 ## ---------------------------------------------- ##
5108 _ASBOX
5109 ) | sed "s/^/$as_me: WARNING: /" >&2
5110 ;;
5111 esac
5112 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5113 $as_echo_n "checking for $ac_header... " >&6; }
5114 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5115 $as_echo_n "(cached) " >&6
5116 else
5117 eval "$as_ac_Header=\$ac_header_preproc"
5118 fi
5119 ac_res=`eval 'as_val=${'$as_ac_Header'}
5120 $as_echo "$as_val"'`
5121 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5122 $as_echo "$ac_res" >&6; }
5123
5124 fi
5125 as_val=`eval 'as_val=${'$as_ac_Header'}
5126 $as_echo "$as_val"'`
5127 if test "x$as_val" = x""yes; then
5128 cat >>confdefs.h <<_ACEOF
5129 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5130 _ACEOF
5131
5132 fi
5133
5134 done
5135
5136 { $as_echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5
5137 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
5138 if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then
5139 $as_echo_n "(cached) " >&6
5140 else
5141 if test "$cross_compiling" = yes; then
4160 else
4161 if test "$cross_compiling" = yes; then :
51424162 ac_cv_func_malloc_0_nonnull=no
51434163 else
5144 cat >conftest.$ac_ext <<_ACEOF
5145 /* confdefs.h. */
5146 _ACEOF
5147 cat confdefs.h >>conftest.$ac_ext
5148 cat >>conftest.$ac_ext <<_ACEOF
4164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51494165 /* end confdefs.h. */
51504166 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
51514167 # include <stdlib.h>
51614177 return 0;
51624178 }
51634179 _ACEOF
5164 rm -f conftest$ac_exeext
5165 if { (ac_try="$ac_link"
5166 case "(($ac_try" in
5167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5168 *) ac_try_echo=$ac_try;;
5169 esac
5170 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5171 $as_echo "$ac_try_echo") >&5
5172 (eval "$ac_link") 2>&5
5173 ac_status=$?
5174 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5175 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5176 { (case "(($ac_try" in
5177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5178 *) ac_try_echo=$ac_try;;
5179 esac
5180 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5181 $as_echo "$ac_try_echo") >&5
5182 (eval "$ac_try") 2>&5
5183 ac_status=$?
5184 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5185 (exit $ac_status); }; }; then
4180 if ac_fn_c_try_run "$LINENO"; then :
51864181 ac_cv_func_malloc_0_nonnull=yes
51874182 else
5188 $as_echo "$as_me: program exited with status $ac_status" >&5
5189 $as_echo "$as_me: failed program was:" >&5
5190 sed 's/^/| /' conftest.$ac_ext >&5
5191
5192 ( exit $ac_status )
5193 ac_cv_func_malloc_0_nonnull=no
5194 fi
5195 rm -rf conftest.dSYM
5196 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5197 fi
5198
5199
5200 fi
5201 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5
4183 ac_cv_func_malloc_0_nonnull=no
4184 fi
4185 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4186 conftest.$ac_objext conftest.beam conftest.$ac_ext
4187 fi
4188
4189 fi
4190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
52024191 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
5203 if test $ac_cv_func_malloc_0_nonnull = yes; then
5204
5205 cat >>confdefs.h <<\_ACEOF
5206 #define HAVE_MALLOC 1
5207 _ACEOF
5208
5209 else
5210 cat >>confdefs.h <<\_ACEOF
5211 #define HAVE_MALLOC 0
5212 _ACEOF
4192 if test $ac_cv_func_malloc_0_nonnull = yes; then :
4193
4194 $as_echo "#define HAVE_MALLOC 1" >>confdefs.h
4195
4196 else
4197 $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
52134198
52144199 case " $LIBOBJS " in
52154200 *" malloc.$ac_objext "* ) ;;
52184203 esac
52194204
52204205
5221 cat >>confdefs.h <<\_ACEOF
5222 #define malloc rpl_malloc
5223 _ACEOF
5224
5225 fi
5226
5227
5228
5229 { $as_echo "$as_me:$LINENO: checking for getopt" >&5
5230 $as_echo_n "checking for getopt... " >&6; }
5231 if test "${ac_cv_func_getopt+set}" = set; then
5232 $as_echo_n "(cached) " >&6
5233 else
5234 cat >conftest.$ac_ext <<_ACEOF
5235 /* confdefs.h. */
5236 _ACEOF
5237 cat confdefs.h >>conftest.$ac_ext
5238 cat >>conftest.$ac_ext <<_ACEOF
5239 /* end confdefs.h. */
5240 /* Define getopt to an innocuous variant, in case <limits.h> declares getopt.
5241 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5242 #define getopt innocuous_getopt
5243
5244 /* System header to define __stub macros and hopefully few prototypes,
5245 which can conflict with char getopt (); below.
5246 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5247 <limits.h> exists even on freestanding compilers. */
5248
5249 #ifdef __STDC__
5250 # include <limits.h>
5251 #else
5252 # include <assert.h>
5253 #endif
5254
5255 #undef getopt
5256
5257 /* Override any GCC internal prototype to avoid an error.
5258 Use char because int might match the return type of a GCC
5259 builtin and then its argument prototype would still apply. */
5260 #ifdef __cplusplus
5261 extern "C"
5262 #endif
5263 char getopt ();
5264 /* The GNU C library defines this for functions which it implements
5265 to always fail with ENOSYS. Some functions are actually named
5266 something starting with __ and the normal name is an alias. */
5267 #if defined __stub_getopt || defined __stub___getopt
5268 choke me
5269 #endif
5270
5271 int
5272 main ()
5273 {
5274 return getopt ();
5275 ;
5276 return 0;
5277 }
5278 _ACEOF
5279 rm -f conftest.$ac_objext conftest$ac_exeext
5280 if { (ac_try="$ac_link"
5281 case "(($ac_try" in
5282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5283 *) ac_try_echo=$ac_try;;
5284 esac
5285 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5286 $as_echo "$ac_try_echo") >&5
5287 (eval "$ac_link") 2>conftest.er1
5288 ac_status=$?
5289 grep -v '^ *+' conftest.er1 >conftest.err
5290 rm -f conftest.er1
5291 cat conftest.err >&5
5292 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5293 (exit $ac_status); } && {
5294 test -z "$ac_c_werror_flag" ||
5295 test ! -s conftest.err
5296 } && test -s conftest$ac_exeext && {
5297 test "$cross_compiling" = yes ||
5298 $as_test_x conftest$ac_exeext
5299 }; then
5300 ac_cv_func_getopt=yes
5301 else
5302 $as_echo "$as_me: failed program was:" >&5
5303 sed 's/^/| /' conftest.$ac_ext >&5
5304
5305 ac_cv_func_getopt=no
5306 fi
5307
5308 rm -rf conftest.dSYM
5309 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5310 conftest$ac_exeext conftest.$ac_ext
5311 fi
5312 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_getopt" >&5
5313 $as_echo "$ac_cv_func_getopt" >&6; }
5314
5315 { $as_echo "$as_me:$LINENO: checking for getopt_long" >&5
5316 $as_echo_n "checking for getopt_long... " >&6; }
5317 if test "${ac_cv_func_getopt_long+set}" = set; then
5318 $as_echo_n "(cached) " >&6
5319 else
5320 cat >conftest.$ac_ext <<_ACEOF
5321 /* confdefs.h. */
5322 _ACEOF
5323 cat confdefs.h >>conftest.$ac_ext
5324 cat >>conftest.$ac_ext <<_ACEOF
5325 /* end confdefs.h. */
5326 /* Define getopt_long to an innocuous variant, in case <limits.h> declares getopt_long.
5327 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5328 #define getopt_long innocuous_getopt_long
5329
5330 /* System header to define __stub macros and hopefully few prototypes,
5331 which can conflict with char getopt_long (); below.
5332 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5333 <limits.h> exists even on freestanding compilers. */
5334
5335 #ifdef __STDC__
5336 # include <limits.h>
5337 #else
5338 # include <assert.h>
5339 #endif
5340
5341 #undef getopt_long
5342
5343 /* Override any GCC internal prototype to avoid an error.
5344 Use char because int might match the return type of a GCC
5345 builtin and then its argument prototype would still apply. */
5346 #ifdef __cplusplus
5347 extern "C"
5348 #endif
5349 char getopt_long ();
5350 /* The GNU C library defines this for functions which it implements
5351 to always fail with ENOSYS. Some functions are actually named
5352 something starting with __ and the normal name is an alias. */
5353 #if defined __stub_getopt_long || defined __stub___getopt_long
5354 choke me
5355 #endif
5356
5357 int
5358 main ()
5359 {
5360 return getopt_long ();
5361 ;
5362 return 0;
5363 }
5364 _ACEOF
5365 rm -f conftest.$ac_objext conftest$ac_exeext
5366 if { (ac_try="$ac_link"
5367 case "(($ac_try" in
5368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5369 *) ac_try_echo=$ac_try;;
5370 esac
5371 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5372 $as_echo "$ac_try_echo") >&5
5373 (eval "$ac_link") 2>conftest.er1
5374 ac_status=$?
5375 grep -v '^ *+' conftest.er1 >conftest.err
5376 rm -f conftest.er1
5377 cat conftest.err >&5
5378 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5379 (exit $ac_status); } && {
5380 test -z "$ac_c_werror_flag" ||
5381 test ! -s conftest.err
5382 } && test -s conftest$ac_exeext && {
5383 test "$cross_compiling" = yes ||
5384 $as_test_x conftest$ac_exeext
5385 }; then
5386 ac_cv_func_getopt_long=yes
5387 else
5388 $as_echo "$as_me: failed program was:" >&5
5389 sed 's/^/| /' conftest.$ac_ext >&5
5390
5391 ac_cv_func_getopt_long=no
5392 fi
5393
5394 rm -rf conftest.dSYM
5395 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5396 conftest$ac_exeext conftest.$ac_ext
5397 fi
5398 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_getopt_long" >&5
5399 $as_echo "$ac_cv_func_getopt_long" >&6; }
5400
5401
5402
4206 $as_echo "#define malloc rpl_malloc" >>confdefs.h
4207
4208 fi
4209
4210
4211 ac_fn_c_check_func "$LINENO" "getopt" "ac_cv_func_getopt"
4212 if test "x$ac_cv_func_getopt" = x""yes; then :
4213
4214 fi
4215
4216 ac_fn_c_check_func "$LINENO" "getopt_long" "ac_cv_func_getopt_long"
4217 if test "x$ac_cv_func_getopt_long" = x""yes; then :
4218
4219 fi
54034220
54044221 for ac_func in memset strerror strstr
5405 do
5406 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5407 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
5408 $as_echo_n "checking for $ac_func... " >&6; }
5409 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5410 $as_echo_n "(cached) " >&6
5411 else
5412 cat >conftest.$ac_ext <<_ACEOF
5413 /* confdefs.h. */
5414 _ACEOF
5415 cat confdefs.h >>conftest.$ac_ext
5416 cat >>conftest.$ac_ext <<_ACEOF
5417 /* end confdefs.h. */
5418 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5419 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5420 #define $ac_func innocuous_$ac_func
5421
5422 /* System header to define __stub macros and hopefully few prototypes,
5423 which can conflict with char $ac_func (); below.
5424 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5425 <limits.h> exists even on freestanding compilers. */
5426
5427 #ifdef __STDC__
5428 # include <limits.h>
5429 #else
5430 # include <assert.h>
5431 #endif
5432
5433 #undef $ac_func
5434
5435 /* Override any GCC internal prototype to avoid an error.
5436 Use char because int might match the return type of a GCC
5437 builtin and then its argument prototype would still apply. */
5438 #ifdef __cplusplus
5439 extern "C"
5440 #endif
5441 char $ac_func ();
5442 /* The GNU C library defines this for functions which it implements
5443 to always fail with ENOSYS. Some functions are actually named
5444 something starting with __ and the normal name is an alias. */
5445 #if defined __stub_$ac_func || defined __stub___$ac_func
5446 choke me
5447 #endif
5448
5449 int
5450 main ()
5451 {
5452 return $ac_func ();
5453 ;
5454 return 0;
5455 }
5456 _ACEOF
5457 rm -f conftest.$ac_objext conftest$ac_exeext
5458 if { (ac_try="$ac_link"
5459 case "(($ac_try" in
5460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5461 *) ac_try_echo=$ac_try;;
5462 esac
5463 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5464 $as_echo "$ac_try_echo") >&5
5465 (eval "$ac_link") 2>conftest.er1
5466 ac_status=$?
5467 grep -v '^ *+' conftest.er1 >conftest.err
5468 rm -f conftest.er1
5469 cat conftest.err >&5
5470 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5471 (exit $ac_status); } && {
5472 test -z "$ac_c_werror_flag" ||
5473 test ! -s conftest.err
5474 } && test -s conftest$ac_exeext && {
5475 test "$cross_compiling" = yes ||
5476 $as_test_x conftest$ac_exeext
5477 }; then
5478 eval "$as_ac_var=yes"
5479 else
5480 $as_echo "$as_me: failed program was:" >&5
5481 sed 's/^/| /' conftest.$ac_ext >&5
5482
5483 eval "$as_ac_var=no"
5484 fi
5485
5486 rm -rf conftest.dSYM
5487 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5488 conftest$ac_exeext conftest.$ac_ext
5489 fi
5490 ac_res=`eval 'as_val=${'$as_ac_var'}
5491 $as_echo "$as_val"'`
5492 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5493 $as_echo "$ac_res" >&6; }
5494 as_val=`eval 'as_val=${'$as_ac_var'}
5495 $as_echo "$as_val"'`
5496 if test "x$as_val" = x""yes; then
4222 do :
4223 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4224 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
4225 eval as_val=\$$as_ac_var
4226 if test "x$as_val" = x""yes; then :
54974227 cat >>confdefs.h <<_ACEOF
54984228 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54994229 _ACEOF
55314261 case $ac_val in #(
55324262 *${as_nl}*)
55334263 case $ac_var in #(
5534 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
4264 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
55354265 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
55364266 esac
55374267 case $ac_var in #(
55384268 _ | IFS | as_nl) ;; #(
55394269 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5540 *) $as_unset $ac_var ;;
4270 *) { eval $ac_var=; unset $ac_var;} ;;
55414271 esac ;;
55424272 esac
55434273 done
55454275 (set) 2>&1 |
55464276 case $as_nl`(ac_space=' '; set) 2>&1` in #(
55474277 *${as_nl}ac_space=\ *)
5548 # `set' does not quote correctly, so add quotes (double-quote
5549 # substitution turns \\\\ into \\, and sed turns \\ into \).
4278 # `set' does not quote correctly, so add quotes: double-quote
4279 # substitution turns \\\\ into \\, and sed turns \\ into \.
55504280 sed -n \
55514281 "s/'/'\\\\''/g;
55524282 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
55694299 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
55704300 if test -w "$cache_file"; then
55714301 test "x$cache_file" != "x/dev/null" &&
5572 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
4302 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
55734303 $as_echo "$as_me: updating cache $cache_file" >&6;}
55744304 cat confcache >$cache_file
55754305 else
5576 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
4306 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
55774307 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
55784308 fi
55794309 fi
55934323 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
55944324 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
55954325 # will be set to the directory where LIBOBJS objects are built.
5596 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5597 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
4326 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4327 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
55984328 done
55994329 LIBOBJS=$ac_libobjs
56004330
56104340 fi
56114341
56124342 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5613 { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
5614 Usually this means the macro was only invoked conditionally." >&5
5615 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
5616 Usually this means the macro was only invoked conditionally." >&2;}
5617 { (exit 1); exit 1; }; }
4343 as_fn_error "conditional \"AMDEP\" was never defined.
4344 Usually this means the macro was only invoked conditionally." "$LINENO" 5
56184345 fi
56194346 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5620 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5621 Usually this means the macro was only invoked conditionally." >&5
5622 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
5623 Usually this means the macro was only invoked conditionally." >&2;}
5624 { (exit 1); exit 1; }; }
4347 as_fn_error "conditional \"am__fastdepCC\" was never defined.
4348 Usually this means the macro was only invoked conditionally." "$LINENO" 5
56254349 fi
56264350
56274351 : ${CONFIG_STATUS=./config.status}
56284352 ac_write_fail=0
56294353 ac_clean_files_save=$ac_clean_files
56304354 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5631 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4355 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
56324356 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5633 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4357 as_write_fail=0
4358 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
56344359 #! $SHELL
56354360 # Generated by $as_me.
56364361 # Run this file to recreate the current configuration.
56404365 debug=false
56414366 ac_cs_recheck=false
56424367 ac_cs_silent=false
4368
56434369 SHELL=\${CONFIG_SHELL-$SHELL}
5644 _ACEOF
5645
5646 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5647 ## --------------------- ##
5648 ## M4sh Initialization. ##
5649 ## --------------------- ##
4370 export SHELL
4371 _ASEOF
4372 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4373 ## -------------------- ##
4374 ## M4sh Initialization. ##
4375 ## -------------------- ##
56504376
56514377 # Be more Bourne compatible
56524378 DUALCASE=1; export DUALCASE # for MKS sh
5653 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4379 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
56544380 emulate sh
56554381 NULLCMD=:
56564382 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
56584384 alias -g '${1+"$@"}'='"$@"'
56594385 setopt NO_GLOB_SUBST
56604386 else
5661 case `(set -o) 2>/dev/null` in
5662 *posix*) set -o posix ;;
4387 case `(set -o) 2>/dev/null` in #(
4388 *posix*) :
4389 set -o posix ;; #(
4390 *) :
4391 ;;
56634392 esac
5664
5665 fi
5666
5667
5668
5669
5670 # PATH needs CR
5671 # Avoid depending upon Character Ranges.
5672 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5673 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5674 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5675 as_cr_digits='0123456789'
5676 as_cr_alnum=$as_cr_Letters$as_cr_digits
4393 fi
4394
56774395
56784396 as_nl='
56794397 '
56824400 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
56834401 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
56844402 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5685 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4403 # Prefer a ksh shell builtin over an external printf program on Solaris,
4404 # but without wasting forks for bash or zsh.
4405 if test -z "$BASH_VERSION$ZSH_VERSION" \
4406 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4407 as_echo='print -r --'
4408 as_echo_n='print -rn --'
4409 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
56864410 as_echo='printf %s\n'
56874411 as_echo_n='printf %s'
56884412 else
56934417 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56944418 as_echo_n_body='eval
56954419 arg=$1;
5696 case $arg in
4420 case $arg in #(
56974421 *"$as_nl"*)
56984422 expr "X$arg" : "X\\(.*\\)$as_nl";
56994423 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
57164440 }
57174441 fi
57184442
5719 # Support unset when possible.
5720 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5721 as_unset=unset
5722 else
5723 as_unset=false
5724 fi
5725
57264443
57274444 # IFS
57284445 # We need space, tab and new line, in precisely that order. Quoting is
57324449 IFS=" "" $as_nl"
57334450
57344451 # Find who we are. Look in the path if we contain no directory separator.
5735 case $0 in
4452 case $0 in #((
57364453 *[\\/]* ) as_myself=$0 ;;
57374454 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
57384455 for as_dir in $PATH
57394456 do
57404457 IFS=$as_save_IFS
57414458 test -z "$as_dir" && as_dir=.
5742 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5743 done
4459 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4460 done
57444461 IFS=$as_save_IFS
57454462
57464463 ;;
57524469 fi
57534470 if test ! -f "$as_myself"; then
57544471 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5755 { (exit 1); exit 1; }
5756 fi
5757
5758 # Work around bugs in pre-3.0 UWIN ksh.
5759 for as_var in ENV MAIL MAILPATH
5760 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
4472 exit 1
4473 fi
4474
4475 # Unset variables that we do not need and which cause bugs (e.g. in
4476 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4477 # suppresses any "Segmentation fault" message there. '((' could
4478 # trigger a bug in pdksh 5.2.14.
4479 for as_var in BASH_ENV ENV MAIL MAILPATH
4480 do eval test x\${$as_var+set} = xset \
4481 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
57614482 done
57624483 PS1='$ '
57634484 PS2='> '
57694490 LANGUAGE=C
57704491 export LANGUAGE
57714492
5772 # Required to use basename.
4493 # CDPATH.
4494 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4495
4496
4497 # as_fn_error ERROR [LINENO LOG_FD]
4498 # ---------------------------------
4499 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4500 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4501 # script with status $?, using 1 if that was 0.
4502 as_fn_error ()
4503 {
4504 as_status=$?; test $as_status -eq 0 && as_status=1
4505 if test "$3"; then
4506 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4507 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
4508 fi
4509 $as_echo "$as_me: error: $1" >&2
4510 as_fn_exit $as_status
4511 } # as_fn_error
4512
4513
4514 # as_fn_set_status STATUS
4515 # -----------------------
4516 # Set $? to STATUS, without forking.
4517 as_fn_set_status ()
4518 {
4519 return $1
4520 } # as_fn_set_status
4521
4522 # as_fn_exit STATUS
4523 # -----------------
4524 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4525 as_fn_exit ()
4526 {
4527 set +e
4528 as_fn_set_status $1
4529 exit $1
4530 } # as_fn_exit
4531
4532 # as_fn_unset VAR
4533 # ---------------
4534 # Portably unset VAR.
4535 as_fn_unset ()
4536 {
4537 { eval $1=; unset $1;}
4538 }
4539 as_unset=as_fn_unset
4540 # as_fn_append VAR VALUE
4541 # ----------------------
4542 # Append the text in VALUE to the end of the definition contained in VAR. Take
4543 # advantage of any shell optimizations that allow amortized linear growth over
4544 # repeated appends, instead of the typical quadratic growth present in naive
4545 # implementations.
4546 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4547 eval 'as_fn_append ()
4548 {
4549 eval $1+=\$2
4550 }'
4551 else
4552 as_fn_append ()
4553 {
4554 eval $1=\$$1\$2
4555 }
4556 fi # as_fn_append
4557
4558 # as_fn_arith ARG...
4559 # ------------------
4560 # Perform arithmetic evaluation on the ARGs, and store the result in the
4561 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4562 # must be portable across $(()) and expr.
4563 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4564 eval 'as_fn_arith ()
4565 {
4566 as_val=$(( $* ))
4567 }'
4568 else
4569 as_fn_arith ()
4570 {
4571 as_val=`expr "$@" || test $? -eq 1`
4572 }
4573 fi # as_fn_arith
4574
4575
57734576 if expr a : '\(a\)' >/dev/null 2>&1 &&
57744577 test "X`expr 00001 : '.*\(...\)'`" = X001; then
57754578 as_expr=expr
57834586 as_basename=false
57844587 fi
57854588
5786
5787 # Name of the executable.
4589 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4590 as_dirname=dirname
4591 else
4592 as_dirname=false
4593 fi
4594
57884595 as_me=`$as_basename -- "$0" ||
57894596 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
57904597 X"$0" : 'X\(//\)$' \| \
58044611 }
58054612 s/.*/./; q'`
58064613
5807 # CDPATH.
5808 $as_unset CDPATH
5809
5810
5811
5812 as_lineno_1=$LINENO
5813 as_lineno_2=$LINENO
5814 test "x$as_lineno_1" != "x$as_lineno_2" &&
5815 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
5816
5817 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5818 # uniformly replaced by the line number. The first 'sed' inserts a
5819 # line-number line after each line using $LINENO; the second 'sed'
5820 # does the real work. The second script uses 'N' to pair each
5821 # line-number line with the line containing $LINENO, and appends
5822 # trailing '-' during substitution so that $LINENO is not a special
5823 # case at line end.
5824 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5825 # scripts with optimization help from Paolo Bonzini. Blame Lee
5826 # E. McMahon (1931-1989) for sed's syntax. :-)
5827 sed -n '
5828 p
5829 /[$]LINENO/=
5830 ' <$as_myself |
5831 sed '
5832 s/[$]LINENO.*/&-/
5833 t lineno
5834 b
5835 :lineno
5836 N
5837 :loop
5838 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
5839 t loop
5840 s/-\n.*//
5841 ' >$as_me.lineno &&
5842 chmod +x "$as_me.lineno" ||
5843 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
5844 { (exit 1); exit 1; }; }
5845
5846 # Don't try to exec as it changes $[0], causing all sort of problems
5847 # (the dirname of $[0] is not the place where we might find the
5848 # original and so on. Autoconf is especially sensitive to this).
5849 . "./$as_me.lineno"
5850 # Exit status is that of the last command.
5851 exit
5852 }
5853
5854
5855 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5856 as_dirname=dirname
5857 else
5858 as_dirname=false
5859 fi
4614 # Avoid depending upon Character Ranges.
4615 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4616 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4617 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4618 as_cr_digits='0123456789'
4619 as_cr_alnum=$as_cr_Letters$as_cr_digits
58604620
58614621 ECHO_C= ECHO_N= ECHO_T=
5862 case `echo -n x` in
4622 case `echo -n x` in #(((((
58634623 -n*)
5864 case `echo 'x\c'` in
4624 case `echo 'xy\c'` in
58654625 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5866 *) ECHO_C='\c';;
4626 xy) ECHO_C='\c';;
4627 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
4628 ECHO_T=' ';;
58674629 esac;;
58684630 *)
58694631 ECHO_N='-n';;
58704632 esac
5871 if expr a : '\(a\)' >/dev/null 2>&1 &&
5872 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5873 as_expr=expr
5874 else
5875 as_expr=false
5876 fi
58774633
58784634 rm -f conf$$ conf$$.exe conf$$.file
58794635 if test -d conf$$.dir; then
59024658 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
59034659 rmdir conf$$.dir 2>/dev/null
59044660
4661
4662 # as_fn_mkdir_p
4663 # -------------
4664 # Create "$as_dir" as a directory, including parents if necessary.
4665 as_fn_mkdir_p ()
4666 {
4667
4668 case $as_dir in #(
4669 -*) as_dir=./$as_dir;;
4670 esac
4671 test -d "$as_dir" || eval $as_mkdir_p || {
4672 as_dirs=
4673 while :; do
4674 case $as_dir in #(
4675 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4676 *) as_qdir=$as_dir;;
4677 esac
4678 as_dirs="'$as_qdir' $as_dirs"
4679 as_dir=`$as_dirname -- "$as_dir" ||
4680 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4681 X"$as_dir" : 'X\(//\)[^/]' \| \
4682 X"$as_dir" : 'X\(//\)$' \| \
4683 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4684 $as_echo X"$as_dir" |
4685 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4686 s//\1/
4687 q
4688 }
4689 /^X\(\/\/\)[^/].*/{
4690 s//\1/
4691 q
4692 }
4693 /^X\(\/\/\)$/{
4694 s//\1/
4695 q
4696 }
4697 /^X\(\/\).*/{
4698 s//\1/
4699 q
4700 }
4701 s/.*/./; q'`
4702 test -d "$as_dir" && break
4703 done
4704 test -z "$as_dirs" || eval "mkdir $as_dirs"
4705 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
4706
4707
4708 } # as_fn_mkdir_p
59054709 if mkdir -p . 2>/dev/null; then
5906 as_mkdir_p=:
4710 as_mkdir_p='mkdir -p "$as_dir"'
59074711 else
59084712 test -d ./-p && rmdir ./-p
59094713 as_mkdir_p=false
59224726 if test -d "$1"; then
59234727 test -d "$1/.";
59244728 else
5925 case $1 in
4729 case $1 in #(
59264730 -*)set "./$1";;
59274731 esac;
5928 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
4732 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
59294733 ???[sx]*):;;*)false;;esac;fi
59304734 '\'' sh
59314735 '
59404744
59414745
59424746 exec 6>&1
5943
5944 # Save the log message, to keep $[0] and so on meaningful, and to
4747 ## ----------------------------------- ##
4748 ## Main body of $CONFIG_STATUS script. ##
4749 ## ----------------------------------- ##
4750 _ASEOF
4751 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4752
4753 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4754 # Save the log message, to keep $0 and so on meaningful, and to
59454755 # report actual input values of CONFIG_FILES etc. instead of their
59464756 # values after options handling.
59474757 ac_log="
5948 This file was extended by cciss_vol_status $as_me 1.10, which was
5949 generated by GNU Autoconf 2.63. Invocation command line was
4758 This file was extended by cciss_vol_status $as_me 1.09, which was
4759 generated by GNU Autoconf 2.64. Invocation command line was
59504760
59514761 CONFIG_FILES = $CONFIG_FILES
59524762 CONFIG_HEADERS = $CONFIG_HEADERS
59784788
59794789 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
59804790 ac_cs_usage="\
5981 \`$as_me' instantiates files from templates according to the
5982 current configuration.
5983
5984 Usage: $0 [OPTION]... [FILE]...
4791 \`$as_me' instantiates files and other configuration actions
4792 from templates according to the current configuration. Unless the files
4793 and actions are specified as TAGs, all are instantiated by default.
4794
4795 Usage: $0 [OPTION]... [TAG]...
59854796
59864797 -h, --help print this help, then exit
59874798 -V, --version print version number and configuration settings, then exit
60034814 Configuration commands:
60044815 $config_commands
60054816
6006 Report bugs to <bug-autoconf@gnu.org>."
4817 Report bugs to <smcameron@users.sourceforge.net>."
60074818
60084819 _ACEOF
60094820 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60104821 ac_cs_version="\\
6011 cciss_vol_status config.status 1.10
6012 configured by $0, generated by GNU Autoconf 2.63,
4822 cciss_vol_status config.status 1.09
4823 configured by $0, generated by GNU Autoconf 2.64,
60134824 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
60144825
6015 Copyright (C) 2008 Free Software Foundation, Inc.
4826 Copyright (C) 2009 Free Software Foundation, Inc.
60164827 This config.status script is free software; the Free Software Foundation
60174828 gives unlimited permission to copy, distribute and modify it."
60184829
60554866 case $ac_optarg in
60564867 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
60574868 esac
6058 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
4869 as_fn_append CONFIG_FILES " '$ac_optarg'"
60594870 ac_need_defaults=false;;
60604871 --header | --heade | --head | --hea )
60614872 $ac_shift
60624873 case $ac_optarg in
60634874 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
60644875 esac
6065 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
4876 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
60664877 ac_need_defaults=false;;
60674878 --he | --h)
60684879 # Conflict between --help and --header
6069 { $as_echo "$as_me: error: ambiguous option: $1
6070 Try \`$0 --help' for more information." >&2
6071 { (exit 1); exit 1; }; };;
4880 as_fn_error "ambiguous option: \`$1'
4881 Try \`$0 --help' for more information.";;
60724882 --help | --hel | -h )
60734883 $as_echo "$ac_cs_usage"; exit ;;
60744884 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
60764886 ac_cs_silent=: ;;
60774887
60784888 # This is an error.
6079 -*) { $as_echo "$as_me: error: unrecognized option: $1
6080 Try \`$0 --help' for more information." >&2
6081 { (exit 1); exit 1; }; } ;;
6082
6083 *) ac_config_targets="$ac_config_targets $1"
4889 -*) as_fn_error "unrecognized option: \`$1'
4890 Try \`$0 --help' for more information." ;;
4891
4892 *) as_fn_append ac_config_targets " $1"
60844893 ac_need_defaults=false ;;
60854894
60864895 esac
61354944 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
61364945 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
61374946
6138 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6139 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6140 { (exit 1); exit 1; }; };;
4947 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
61414948 esac
61424949 done
61434950
61644971 trap 'exit_status=$?
61654972 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
61664973 ' 0
6167 trap '{ (exit 1); exit 1; }' 1 2 13 15
4974 trap 'as_fn_exit 1' 1 2 13 15
61684975 }
61694976 # Create a (secure) tmp directory for tmp files.
61704977
61754982 {
61764983 tmp=./conf$$-$RANDOM
61774984 (umask 077 && mkdir "$tmp")
6178 } ||
6179 {
6180 $as_echo "$as_me: cannot create a temporary directory in ." >&2
6181 { (exit 1); exit 1; }
6182 }
4985 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
61834986
61844987 # Set up the scripts for CONFIG_FILES section.
61854988 # No need to generate them if there are no CONFIG_FILES.
61874990 if test -n "$CONFIG_FILES"; then
61884991
61894992
6190 ac_cr='
6191 '
4993 ac_cr=`echo X | tr X '\015'`
4994 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4995 # But we know of no other shell where ac_cr would be empty at this
4996 # point, so we can use a bashism as a fallback.
4997 if test "x$ac_cr" = x; then
4998 eval ac_cr=\$\'\\r\'
4999 fi
61925000 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
61935001 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6194 ac_cs_awk_cr='\\r'
5002 ac_cs_awk_cr='\r'
61955003 else
61965004 ac_cs_awk_cr=$ac_cr
61975005 fi
62055013 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
62065014 echo "_ACEOF"
62075015 } >conf$$subs.sh ||
6208 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
6209 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
6210 { (exit 1); exit 1; }; }
5016 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
62115017 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
62125018 ac_delim='%!_!# '
62135019 for ac_last_try in false false false false false :; do
62145020 . ./conf$$subs.sh ||
6215 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
6216 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
6217 { (exit 1); exit 1; }; }
5021 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
62185022
62195023 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
62205024 if test $ac_delim_n = $ac_delim_num; then
62215025 break
62225026 elif $ac_last_try; then
6223 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
6224 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
6225 { (exit 1); exit 1; }; }
5027 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
62265028 else
62275029 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
62285030 fi
63115113 else
63125114 cat
63135115 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
6314 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
6315 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
6316 { (exit 1); exit 1; }; }
5116 || as_fn_error "could not setup config files machinery" "$LINENO" 5
63175117 _ACEOF
63185118
63195119 # VPATH may cause trouble with some makes, so we remove $(srcdir),
63545154 if test -z "$ac_t"; then
63555155 break
63565156 elif $ac_last_try; then
6357 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
6358 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
6359 { (exit 1); exit 1; }; }
5157 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
63605158 else
63615159 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
63625160 fi
64415239 _ACAWK
64425240 _ACEOF
64435241 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6444 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
6445 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
6446 { (exit 1); exit 1; }; }
5242 as_fn_error "could not setup config headers machinery" "$LINENO" 5
64475243 fi # test -n "$CONFIG_HEADERS"
64485244
64495245
64565252 esac
64575253 case $ac_mode$ac_tag in
64585254 :[FHL]*:*);;
6459 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
6460 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
6461 { (exit 1); exit 1; }; };;
5255 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
64625256 :[FH]-) ac_tag=-:-;;
64635257 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
64645258 esac
64865280 [\\/$]*) false;;
64875281 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
64885282 esac ||
6489 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
6490 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
6491 { (exit 1); exit 1; }; };;
5283 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
64925284 esac
64935285 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6494 ac_file_inputs="$ac_file_inputs '$ac_f'"
5286 as_fn_append ac_file_inputs " '$ac_f'"
64955287 done
64965288
64975289 # Let's still pretend it is `configure' which instantiates (i.e., don't
65025294 `' by configure.'
65035295 if test x"$ac_file" != x-; then
65045296 configure_input="$ac_file. $configure_input"
6505 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
65065298 $as_echo "$as_me: creating $ac_file" >&6;}
65075299 fi
65085300 # Neutralize special characters interpreted by sed in replacement strings.
65155307
65165308 case $ac_tag in
65175309 *:-:* | *:-) cat >"$tmp/stdin" \
6518 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6519 $as_echo "$as_me: error: could not create $ac_file" >&2;}
6520 { (exit 1); exit 1; }; } ;;
5310 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
65215311 esac
65225312 ;;
65235313 esac
65455335 q
65465336 }
65475337 s/.*/./; q'`
6548 { as_dir="$ac_dir"
6549 case $as_dir in #(
6550 -*) as_dir=./$as_dir;;
6551 esac
6552 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
6553 as_dirs=
6554 while :; do
6555 case $as_dir in #(
6556 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6557 *) as_qdir=$as_dir;;
6558 esac
6559 as_dirs="'$as_qdir' $as_dirs"
6560 as_dir=`$as_dirname -- "$as_dir" ||
6561 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6562 X"$as_dir" : 'X\(//\)[^/]' \| \
6563 X"$as_dir" : 'X\(//\)$' \| \
6564 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6565 $as_echo X"$as_dir" |
6566 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6567 s//\1/
6568 q
6569 }
6570 /^X\(\/\/\)[^/].*/{
6571 s//\1/
6572 q
6573 }
6574 /^X\(\/\/\)$/{
6575 s//\1/
6576 q
6577 }
6578 /^X\(\/\).*/{
6579 s//\1/
6580 q
6581 }
6582 s/.*/./; q'`
6583 test -d "$as_dir" && break
6584 done
6585 test -z "$as_dirs" || eval "mkdir $as_dirs"
6586 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
6587 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
6588 { (exit 1); exit 1; }; }; }
5338 as_dir="$ac_dir"; as_fn_mkdir_p
65895339 ac_builddir=.
65905340
65915341 case "$ac_dir" in
66425392 # If the template does not know about datarootdir, expand it.
66435393 # FIXME: This hack should be removed a few years after 2.60.
66445394 ac_datarootdir_hack=; ac_datarootdir_seen=
6645
66465395 ac_sed_dataroot='
66475396 /datarootdir/ {
66485397 p
66525401 /@docdir@/p
66535402 /@infodir@/p
66545403 /@localedir@/p
6655 /@mandir@/p
6656 '
5404 /@mandir@/p'
66575405 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
66585406 *datarootdir*) ac_datarootdir_seen=yes;;
66595407 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6660 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5408 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
66615409 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
66625410 _ACEOF
66635411 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
66675415 s&@infodir@&$infodir&g
66685416 s&@localedir@&$localedir&g
66695417 s&@mandir@&$mandir&g
6670 s&\\\${datarootdir}&$datarootdir&g' ;;
5418 s&\\\${datarootdir}&$datarootdir&g' ;;
66715419 esac
66725420 _ACEOF
66735421
66965444 $ac_datarootdir_hack
66975445 "
66985446 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
6699 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6700 $as_echo "$as_me: error: could not create $ac_file" >&2;}
6701 { (exit 1); exit 1; }; }
5447 || as_fn_error "could not create $ac_file" "$LINENO" 5
67025448
67035449 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
67045450 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
67055451 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
6706 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5452 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
67075453 which seems to be undefined. Please make sure it is defined." >&5
67085454 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
67095455 which seems to be undefined. Please make sure it is defined." >&2;}
67135459 -) cat "$tmp/out" && rm -f "$tmp/out";;
67145460 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
67155461 esac \
6716 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6717 $as_echo "$as_me: error: could not create $ac_file" >&2;}
6718 { (exit 1); exit 1; }; }
5462 || as_fn_error "could not create $ac_file" "$LINENO" 5
67195463 ;;
67205464 :H)
67215465 #
67265470 $as_echo "/* $configure_input */" \
67275471 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
67285472 } >"$tmp/config.h" \
6729 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6730 $as_echo "$as_me: error: could not create $ac_file" >&2;}
6731 { (exit 1); exit 1; }; }
5473 || as_fn_error "could not create $ac_file" "$LINENO" 5
67325474 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
6733 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
5475 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
67345476 $as_echo "$as_me: $ac_file is unchanged" >&6;}
67355477 else
67365478 rm -f "$ac_file"
67375479 mv "$tmp/config.h" "$ac_file" \
6738 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6739 $as_echo "$as_me: error: could not create $ac_file" >&2;}
6740 { (exit 1); exit 1; }; }
5480 || as_fn_error "could not create $ac_file" "$LINENO" 5
67415481 fi
67425482 else
67435483 $as_echo "/* $configure_input */" \
67445484 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
6745 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
6746 $as_echo "$as_me: error: could not create -" >&2;}
6747 { (exit 1); exit 1; }; }
5485 || as_fn_error "could not create -" "$LINENO" 5
67485486 fi
67495487 # Compute "$ac_file"'s index in $config_headers.
67505488 _am_arg="$ac_file"
67825520 s/.*/./; q'`/stamp-h$_am_stamp_count
67835521 ;;
67845522
6785 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
5523 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
67865524 $as_echo "$as_me: executing $ac_file commands" >&6;}
67875525 ;;
67885526 esac
68775615 q
68785616 }
68795617 s/.*/./; q'`
6880 { as_dir=$dirpart/$fdir
6881 case $as_dir in #(
6882 -*) as_dir=./$as_dir;;
6883 esac
6884 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
6885 as_dirs=
6886 while :; do
6887 case $as_dir in #(
6888 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6889 *) as_qdir=$as_dir;;
6890 esac
6891 as_dirs="'$as_qdir' $as_dirs"
6892 as_dir=`$as_dirname -- "$as_dir" ||
6893 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6894 X"$as_dir" : 'X\(//\)[^/]' \| \
6895 X"$as_dir" : 'X\(//\)$' \| \
6896 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6897 $as_echo X"$as_dir" |
6898 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6899 s//\1/
6900 q
6901 }
6902 /^X\(\/\/\)[^/].*/{
6903 s//\1/
6904 q
6905 }
6906 /^X\(\/\/\)$/{
6907 s//\1/
6908 q
6909 }
6910 /^X\(\/\).*/{
6911 s//\1/
6912 q
6913 }
6914 s/.*/./; q'`
6915 test -d "$as_dir" && break
6916 done
6917 test -z "$as_dirs" || eval "mkdir $as_dirs"
6918 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
6919 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
6920 { (exit 1); exit 1; }; }; }
5618 as_dir=$dirpart/$fdir; as_fn_mkdir_p
69215619 # echo "creating $dirpart/$file"
69225620 echo '# dummy' > "$dirpart/$file"
69235621 done
69295627 done # for ac_tag
69305628
69315629
6932 { (exit 0); exit 0; }
6933 _ACEOF
6934 chmod +x $CONFIG_STATUS
5630 as_fn_exit 0
5631 _ACEOF
69355632 ac_clean_files=$ac_clean_files_save
69365633
69375634 test $ac_write_fail = 0 ||
6938 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
6939 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
6940 { (exit 1); exit 1; }; }
5635 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
69415636
69425637
69435638 # configure is writing to config.log, and then calls config.status.
69585653 exec 5>>config.log
69595654 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
69605655 # would make configure fail if this is the last instruction.
6961 $ac_cs_success || { (exit 1); exit 1; }
5656 $ac_cs_success || as_fn_exit $?
69625657 fi
69635658 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6964 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5659 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
69655660 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
69665661 fi
69675662
11 # Process this file with autoconf to produce a configure script.
22
33 AC_PREREQ(2.59)
4 AC_INIT(cciss_vol_status, 1.10, smcameron@users.sourceforge.net)
4 AC_INIT(cciss_vol_status, 1.09, smcameron@users.sourceforge.net)
55 AC_CONFIG_SRCDIR([cciss_vol_status.c])
66 AC_CONFIG_HEADER([config.h])
77