Changeset 191 for trunk/configure.ac
- Timestamp:
- Nov 7, 2008, 10:01:47 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/configure.ac
r188 r191 1 2 1 dnl We want to override the standard _AC_INIT_PARSE_ARGS 3 2 dnl … … 2147 2146 fi 2148 2147 else 2149 AC_MSG_ WARN([--with-gpg: cannot find GnuPG PATH=${withval}])2148 AC_MSG_ERROR([--with-gpg: cannot find GnuPG PATH=${withval}]) 2150 2149 fi 2151 2150 fi … … 2154 2153 AC_SUBST(mygpg) 2155 2154 fi 2155 ] 2156 ) 2157 2158 AC_ARG_WITH(keyid, 2159 [ --with-keyid=KEYID specify KeyID (0x...) for GPG/PGP functions [[none]]], 2160 [ 2161 if test "x${withval}" != "x"; then 2162 echo "${withval}" | awk '{if((length($0)==10)||(length($0)==18)){exit 2}else{exit 0}}' && 2163 AC_MSG_ERROR([--with-keyid:${withval} must be "0x" + 8|16 hex digits]) 2164 echo "${withval}" | grep ['[^0][^x][^0123456789ABCDEFabcdef]'] >/dev/null 2>&1 && 2165 AC_MSG_ERROR([--with-keyid:${withval} must be "0x" + 8|16 hex digits]) 2166 mykeyid="$withval" 2167 mykeytag="--default-key" 2168 else 2169 mykeyid="" 2170 mykeytag="" 2171 fi 2172 AC_SUBST(mykeyid) 2173 AC_SUBST(mykeytag) 2156 2174 ] 2157 2175 ) … … 2602 2620 echo " Log file: ${mylogfile}" 2603 2621 echo " Base key: ${mykeybase}" 2622 if test x"$mykeyid" != x 2623 then 2624 echo " target GPG/PGP key: ${mykeyid}" 2625 fi 2604 2626 echo 2605 2627 if test x"$mytclient" = x"-DSH_WITH_SERVER"
Note:
See TracChangeset
for help on using the changeset viewer.