Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 114277
Collapse All | Expand All

(-)ocamlnet-2.2.4.orig/configure (-48 / +48 lines)
Lines 114-122 Link Here
114
		eval "$e"
114
		eval "$e"
115
		uopt=`echo $opt | sed -e 's/_/-/g'`
115
		uopt=`echo $opt | sed -e 's/_/-/g'`
116
		if [ $o -gt 0 ]; then
116
		if [ $o -gt 0 ]; then
117
			echo "    -enable-$uopt"
117
			echo "    --enable-$uopt"
118
		else
118
		else
119
			echo "    -disable-$uopt"
119
			echo "    --disable-$uopt"
120
		fi
120
		fi
121
	done
121
	done
122
	for opt in $woptions; do
122
	for opt in $woptions; do
Lines 124-153 Link Here
124
		eval "$e"
124
		eval "$e"
125
		uopt=`echo $opt | sed -e 's/_/-/g'`
125
		uopt=`echo $opt | sed -e 's/_/-/g'`
126
		if [ $o -gt 0 ]; then
126
		if [ $o -gt 0 ]; then
127
			echo "    -with-$uopt"
127
			echo "    --with-$uopt"
128
		else
128
		else
129
			echo "    -without-$uopt"
129
			echo "    --without-$uopt"
130
		fi
130
		fi
131
	done
131
	done
132
	echo "    -bindir $bindir"
132
	echo "    --bindir $bindir"
133
	echo "    -datadir $net_db_dir"
133
	echo "    --datadir $net_db_dir"
134
	if [ $enable_tcl -gt 0 ]; then
134
	if [ $enable_tcl -gt 0 ]; then
135
            echo "    -equeue-tcl-defs \"$tcl_defs\""
135
            echo "    --equeue-tcl-defs \"$tcl_defs\""
136
            echo "    -equeue-tcl-libs \"$tcl_libs\""
136
            echo "    --equeue-tcl-libs \"$tcl_libs\""
137
	fi
137
	fi
138
	if [ $with_rpc_auth_dh -gt 0 ]; then
138
	if [ $with_rpc_auth_dh -gt 0 ]; then
139
	    if [ -n "$adh_style" ]; then
139
	    if [ -n "$adh_style" ]; then
140
		echo "    -auth-dh-style $adh_style"
140
		echo "    --auth-dh-style $adh_style"
141
	    fi
141
	    fi
142
	fi
142
	fi
143
	if [ -n "$apxs" ]; then
143
	if [ -n "$apxs" ]; then
144
	    echo "    -apxs $apxs"
144
	    echo "    --apxs $apxs"
145
	fi
145
	fi
146
	if [ -n "$apache" ]; then
146
	if [ -n "$apache" ]; then
147
	    echo "    -apache $apache"
147
	    echo "    --apache $apache"
148
	fi
148
	fi
149
	if [ $prefer_netcgi2 -gt 0 ]; then
149
	if [ $prefer_netcgi2 -gt 0 ]; then
150
	    echo "    -prefer-netcgi2"
150
	    echo "    --prefer-netcgi2"
151
	fi
151
	fi
152
}
152
}
153
153
Lines 162-202 Link Here
162
		e="help=\$ehelp_$opt"
162
		e="help=\$ehelp_$opt"
163
		eval "$e"
163
		eval "$e"
164
		uopt=`echo $opt | sed -e 's/_/-/g'`
164
		uopt=`echo $opt | sed -e 's/_/-/g'`
165
		echo "-enable-$uopt:" >&2
165
		echo "--enable-$uopt:" >&2
166
		echo "-disable-$uopt:" >&2
166
		echo "--disable-$uopt:" >&2
167
		echo "        $help" >&2
167
		echo "        $help" >&2
168
	done
168
	done
169
	for opt in $woptions; do
169
	for opt in $woptions; do
170
		e="help=\$whelp_$opt"
170
		e="help=\$whelp_$opt"
171
		eval "$e"
171
		eval "$e"
172
		uopt=`echo $opt | sed -e 's/_/-/g'`
172
		uopt=`echo $opt | sed -e 's/_/-/g'`
173
		echo "-with-$uopt:" >&2
173
		echo "--with-$uopt:" >&2
174
		echo "-without-$uopt:" >&2
174
		echo "--without-$uopt:" >&2
175
		echo "        $help" >&2
175
		echo "        $help" >&2
176
	done
176
	done
177
	cat <<_EOF_ >&2
177
	cat <<_EOF_ >&2
178
-bindir dir
178
--bindir dir
179
        Install binaries into this directory
179
        Install binaries into this directory
180
180
181
-datadir dir
181
--datadir dir
182
        Install the run-time data file into this directory
182
        Install the run-time data file into this directory
183
183
184
-equeue-tcl-defs <opts>
184
--equeue-tcl-defs <opts>
185
        Set C compiler options to find tcl.h (for -enable-tcl)
185
        Set C compiler options to find tcl.h (for --enable-tcl)
186
186
187
-equeue-tcl-libs <opts>
187
--equeue-tcl-libs <opts>
188
        Set C compiler options to link against libtcl (for -enable-tcl)
188
        Set C compiler options to link against libtcl (for --enable-tcl)
189
189
190
-auth-dh-style (keyenvoy|unixdomain|tirpc)
190
--auth-dh-style (keyenvoy|unixdomain|tirpc)
191
        Set style of keyserv connector (see README.authdh)
191
        Set style of keyserv connector (see README.authdh)
192
192
193
-apxs /path/to/apxs
193
--apxs /path/to/apxs
194
        Set which apxs to use for -enable-modcaml
194
        Set which apxs to use for --enable-modcaml
195
195
196
-apache /path/to/apache
196
--apache /path/to/apache
197
        Set which apache executable to use for -enable-modcaml
197
        Set which apache executable to use for --enable-modcaml
198
198
199
-prefer-netcgi2
199
--prefer-netcgi2
200
        Use netcgi2 as default CGI implementation instead of netcgi1.
200
        Use netcgi2 as default CGI implementation instead of netcgi1.
201
        This affects nethttpd.
201
        This affects nethttpd.
202
202
Lines 234-307 Link Here
234
234
235
while [ "$#" -gt 0 ]; do
235
while [ "$#" -gt 0 ]; do
236
	case "$1" in
236
	case "$1" in
237
		-enable-*)
237
		--enable-*)
238
			opt=`echo "$1" | sed -e 's/-enable-//' -e 's/-/_/g'`
238
			opt=`echo "$1" | sed -e 's/--enable-//' -e 's/-/_/g'`
239
			check_eopt "$opt"
239
			check_eopt "$opt"
240
			eval "enable_$opt=2"
240
			eval "enable_$opt=2"
241
			shift
241
			shift
242
			;;
242
			;;
243
	        -disable-core)
243
	        --disable-core)
244
		        # Intentionally undocumented.
244
		        # Intentionally undocumented.
245
		        disable_core=1
245
		        disable_core=1
246
			shift
246
			shift
247
			;;
247
			;;
248
		-disable-*)
248
		--disable-*)
249
			opt=`echo "$1" | sed -e 's/-disable-//' -e 's/-/_/g'`
249
			opt=`echo "$1" | sed -e 's/--disable-//' -e 's/-/_/g'`
250
			check_eopt "$opt"
250
			check_eopt "$opt"
251
			eval "enable_$opt=-1"
251
			eval "enable_$opt=-1"
252
			shift
252
			shift
253
			;;
253
			;;
254
		-with-*)
254
		--with-*)
255
			opt=`echo "$1" | sed -e 's/-with-//' -e 's/-/_/g'`
255
			opt=`echo "$1" | sed -e 's/--with-//' -e 's/-/_/g'`
256
			check_wopt "$opt"
256
			check_wopt "$opt"
257
			eval "with_$opt=2"
257
			eval "with_$opt=2"
258
			shift
258
			shift
259
			;;
259
			;;
260
		-without-*)
260
		--without-*)
261
			opt=`echo "$1" | sed -e 's/-without-//' -e 's/-/_/g'`
261
			opt=`echo "$1" | sed -e 's/--without-//' -e 's/-/_/g'`
262
			check_wopt "$opt"
262
			check_wopt "$opt"
263
			eval "with_$opt=-1"
263
			eval "with_$opt=-1"
264
			shift
264
			shift
265
			;;
265
			;;
266
                -bindir)
266
                --bindir)
267
                        bindir="$2"
267
                        bindir="$2"
268
                        shift
268
                        shift
269
                        shift
269
                        shift
270
                        ;;
270
                        ;;
271
	        -datadir)
271
	        --datadir)
272
		        net_db_dir="$2"
272
		        net_db_dir="$2"
273
			net_db_dir_set=1
273
			net_db_dir_set=1
274
			shift; shift
274
			shift; shift
275
			;;
275
			;;
276
                -equeue-tcl-defs)
276
                --equeue-tcl-defs)
277
                        tcl_defs="$tcl_defs $2"
277
                        tcl_defs="$tcl_defs $2"
278
                        shift
278
                        shift
279
                        shift
279
                        shift
280
                        ;;
280
                        ;;
281
                -equeue-tcl-libs)
281
                --equeue-tcl-libs)
282
                        tcl_libs="$tcl_libs $2"
282
                        tcl_libs="$tcl_libs $2"
283
                        shift
283
                        shift
284
                        shift
284
                        shift
285
                        ;;
285
                        ;;
286
                -auth-dh-style)
286
                --auth-dh-style)
287
                        adh_style="$2"
287
                        adh_style="$2"
288
                        shift
288
                        shift
289
                        shift
289
                        shift
290
                        ;;
290
                        ;;
291
                -apxs)
291
                --apxs)
292
                        apxs="$2"
292
                        apxs="$2"
293
                        shift
293
                        shift
294
                        shift
294
                        shift
295
                        ;;
295
                        ;;
296
                -apache)
296
                --apache)
297
                        apache="$2"
297
                        apache="$2"
298
                        shift
298
                        shift
299
                        shift
299
                        shift
300
                        ;;
300
                        ;;
301
	        -prefer-netcgi2)
301
	        --prefer-netcgi2)
302
		        prefer_netcgi2=1
302
		        prefer_netcgi2=1
303
			shift ;;
303
			shift ;;
304
		-version)
304
		--version)
305
			echo "$version"
305
			echo "$version"
306
			exit 0
306
			exit 0
307
			;;
307
			;;
Lines 482-494 Link Here
482
        else
482
        else
483
            echo "not ok (check ldd output of tmp/t)"
483
            echo "not ok (check ldd output of tmp/t)"
484
            echo
484
            echo
485
            echo "Please check -equeue-tcl-libs!"
485
            echo "Please check --equeue-tcl-libs!"
486
            exit 1
486
            exit 1
487
        fi
487
        fi
488
    else
488
    else
489
        echo "not ok"
489
        echo "not ok"
490
        echo
490
        echo
491
        echo "Please check -equeue-tcl-libs!"
491
        echo "Please check --equeue-tcl-libs!"
492
        exit 1
492
        exit 1
493
    fi
493
    fi
494
494

Return to bug 114277