Changeset 14425
- Timestamp:
- Aug 7, 2007, 4:30:00 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/psconfig/psconfig.csh (modified) (11 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psconfig/psconfig.csh
r14349 r14425 6 6 set show_libs = 0 7 7 set show_bin = 0 8 set show_man = 0 8 9 set show_arch = 0 9 10 set show_path = 0 11 set show_cpath = 0 10 12 set show_include = 0 11 13 set show_configure = 0 … … 16 18 set show_psversion = 0 17 19 set show_psconfdir = 0 20 set show_library_path = 0 18 21 set show_ld_library_path = 0 19 22 set show_pkg_config_path = 0 … … 37 40 set show_bin = 1 38 41 breaksw 42 case --man 43 set show_man = 1 44 breaksw 39 45 case --include 40 46 set show_include = 1 … … 64 70 set show_ld_library_path = 1 65 71 breaksw; 72 case --library_path 73 set show_library_path = 1 74 breaksw; 66 75 case --pkg_config_path 67 76 set show_pkg_config_path = 1 … … 72 81 case --path 73 82 set show_path = 1 83 breaksw; 84 case --cpath 85 set show_cpath = 1 74 86 breaksw; 75 87 case --aclocal_flags … … 104 116 105 117 if ($?CPATH == 0) setenv CPATH 118 if ($?LIBRARY_PATH == 0) setenv LIBRARY_PATH 106 119 if ($?LD_LIBRARY_PATH == 0) setenv LD_LIBRARY_PATH 107 120 if ($?PKG_CONFIG_PATH == 0) setenv PKG_CONFIG_PATH … … 191 204 endif 192 205 193 set mandir = {$PSCONFDIR}/ man206 set mandir = {$PSCONFDIR}/{$PSCONFIG}/man 194 207 set newpath = "" 195 208 set pathlist = `echo $MANPATH | tr ':' '\n'` … … 344 357 # list selected environment variables 345 358 if ($show_prefix) then 346 echo $PSCONFDIR/$PS VERSION.$ARCH359 echo $PSCONFDIR/$PSCONFIG 347 360 exit 0 348 361 endif 349 362 if ($show_libs) then 350 echo $ PSCONFDIR/$PSVERSION.$ARCH/lib363 echo $libdir 351 364 exit 0 352 365 endif 353 366 if ($show_bin) then 354 echo $PSCONFDIR/$PSVERSION.$ARCH/bin 367 echo $bindir 368 exit 0 369 endif 370 if ($show_man) then 371 echo $mandir 355 372 exit 0 356 373 endif 357 374 if ($show_include) then 358 echo $ PSCONFDIR/$PSVERSION.$ARCH/include375 echo $incdir 359 376 exit 0 360 377 endif … … 403 420 endif 404 421 422 if ($show_library_path) then 423 echo $LIBRARY_PATH 424 exit 0 425 endif 426 405 427 if ($show_pkg_config_path) then 406 428 echo $PKG_CONFIG_PATH … … 415 437 if ($show_path) then 416 438 echo $PATH 439 exit 0 440 endif 441 442 if ($show_cpath) then 443 echo $CPATH 417 444 exit 0 418 445 endif … … 450 477 echo " psconfig --psversion" 451 478 echo " psconfig --psconfdir" 479 echo " psconfig --library_path" 452 480 echo " psconfig --ld_library_path" 453 481 echo " psconfig --pkg_config_path" 454 482 echo " psconfig --arch" 455 483 echo " psconfig --path" 484 echo " psconfig --cpath" 456 485 echo " psconfig --aclocal_flags" 457 486 echo
Note:
See TracChangeset
for help on using the changeset viewer.
