From: "Aleksi Niemelä" Date: 2000-07-28T18:37:20+02:00 Subject: [ruby-talk:04254] patch: path trimming in configure Configure handles path literally at least for --prefix and appends it's relative path as '/include', not plain 'include'. Thus I thought to say --prefix=/home/my_home/test_bed, but then I though about root dir and decided the path should be /home/my_home/test_bed/ so that root is specified as --prefix=/. Trailing '/' causes ruby to -I (nclude) and install to /home/my_home/test_bed//bin. This causes no problems (dunno why unix allows this), but seems quite ackward, so I made following patch which removes trailing slash from prefix option. Same kind of thing should probably be applied to all path options, but I haven't used them, so I thought I should not mess up. - Aleksi --- configure~ Thu Jun 22 06:47:46 2000 +++ configure Fri Jul 28 18:27:47 2000 @@ -269,7 +269,7 @@ -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) ac_prev=prefix ;; -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) - prefix="$ac_optarg" ;; + prefix=`echo $ac_optarg|sed -e 's/\/$//'` ;; -program-prefix | --program-prefix | --program-prefi | --program-pref \ | --program-pre | --program-pr | --program-p)