Geometries involving affine connections and general linear connections