Compilers and options – APC UPS control system User Manual
Page 40

./configure --prefix=/usr --sbindir=/sbin --enable-usb \
--enable-pthreads
and you can optionally build and install the CGI programs as follows:
./configure --prefix=/usr --sbindir=/sbin --enable-usb \
--enable-cgi --with-cgi-bin=/home/httpd/cgi-bin \
--enable-pthreads
Compilers and Options
Some systems require unusual options for compilation or linking that the
./configure
script does not know about. You can specify initial values for
variables by setting them in the environment. Using a Bourne-compatible
shell, you can do that on the command line like this:
CFLAGS="-O2 -Wall" LDFLAGS= ./configure
Or on systems that have the env program, you can do it like this:
env CPPFLAGS=-I/usr/local/include LDFLAGS=-s ./configure
Or for example on the Sun Solaris system, you can use:
setenv CFLAGS -O2
setenv LDFLAGS -O
./configure
You can get a listing of all available options by doing:
./configure --help
or simply see the previous section of this manual.
39
- ROCK MOUNT 2200 (2 pages)
- 990-1387A (15 pages)
- 1500 (21 pages)
- VS 100 (65 pages)
- SMART-UPS 230VAC (1 page)
- Smart-UPS RT SURTA48XLBP (12 pages)
- SMARTUPS Smart-UPS 3000 (60 pages)
- BK400EI (40 pages)
- 60-80kW (80 pages)
- Silcon DP300E Series (38 pages)
- 990-2902C (1 page)
- SILCON 990-4053 (76 pages)
- Step-Down Transformer AP9626 (10 pages)
- SMART-UPS 990-1841A (1 page)
- 600 (44 pages)
- 900XL (44 pages)
- 750VA (1 page)
- SMARTUPS Smart-UPS 2200 (2 pages)
- SMART-UPS 2200 (2 pages)
- SUA3000 (22 pages)
- 2200VA (25 pages)
- UPS (18 pages)
- SMART-UPS 990-7016B (2 pages)
- 208 Vac (24 pages)
- SU700RM2U (2 pages)
- Call-UPSII AP9208 (52 pages)
- ES 500 (2 pages)
- RS 500 (2 pages)
- 5000T (33 pages)
- Smart-UPS URTA48XLBPJ (12 pages)
- 420 (66 pages)
- SMART-UPS SUA2200 (22 pages)
- SYMMETRA SYCFXR9 (36 pages)
- SILCON 60-80KW 208/480V UPS (34 pages)
- MODULAR RACK-MOUNT POWER 990-3051C-001 (4 pages)
- SGI 15000 RAID (152 pages)
- Switched Rack Power Distribution Unit (PDU) (93 pages)
- SMART-UPS XL SUA48XLBP (9 pages)
- Smart-UPS VT (44 pages)
- 6000 VA (13 pages)
- NETBOTZ NBRK0200 (36 pages)
- GALAXY 5000 (68 pages)
- BC300 Series (38 pages)
- BR800I (2 pages)